]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Type checking for `define-widget'
[gnu-emacs] / lisp / ChangeLog
1 2015-03-14 Daniel Colascione <dancol@dancol.org>
2
3 * widget.el (define-widget): Check that documentation is a string
4 or nil; prevent wailing and gnashing of teeth when users forget to
5 pass a docstring and wonder why their properties don't work.
6
7 * startup.el (command-line): Process "--no-x-resources".
8
9 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
10
11 info-look fixes for Texinfo 5
12 * info-look.el (c-mode, bison-mode, makefile-mode)
13 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
14 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode): Match
15 `foo' and 'foo' and ‘foo’ for @item and similar.
16 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
17 suffix regexp.
18
19 2015-03-12 Juri Linkov <juri@linkov.net>
20
21 * simple.el (next-line-or-history-element)
22 (previous-line-or-history-element): Remember the goal column of
23 possibly multi-line input, and restore it afterwards. (Bug#19824)
24
25 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
26
27 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
28 files (bug#19335).
29
30 2015-03-12 Eli Zaretskii <eliz@gnu.org>
31
32 * international/fontset.el (script-representative-chars): Add a
33 representative character for 'vai'.
34
35 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * international/quail.el (quail-input-method):
38 Use with-silent-modifications.
39
40 * simple.el (goto-history-element): Don't burp on t history.
41
42 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
43
44 Prefer "initialize" to "initialise"
45 * progmodes/js.el (js-indent-first-init):
46 Rename from js-indent-first-initialiser, to avoid worrying about
47 American vs British spelling. All uses changed.
48
49 2015-03-10 Glenn Morris <rgm@gnu.org>
50
51 * progmodes/js.el (js-indent-first-initialiser):
52 Fix doc, type, version.
53
54 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
55
56 * progmodes/js.el (js-indent-first-initialiser): New option.
57 (js--maybe-goto-declaration-keyword-end): New function.
58 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
59
60 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
61
62 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
63 from RFC2798 Section 9.1.1. (Bug#8983)
64
65 2015-03-09 Nicolas Petton <nicolas@petton.fr>
66
67 * emacs-lisp/seq.el (seq-into): New function.
68 Bump seq.el version to 1.3.
69
70 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
71
72 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
73 `=' a part of symbol when followed by `>'. (Bug#18644)
74 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
75 (Bug#19285)
76
77 2015-03-09 Eli Zaretskii <eliz@gnu.org>
78
79 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
80
81 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
82 Thomas Fitzsimmons <fitzsim@fitzsim.org>
83
84 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
85 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
86 (eudc-bbdb-format-record-as-result): Likewise.
87
88 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
89
90 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
91 Use `font-lock-constant-face' for nil, true and false.
92 Highlight `self' as a keyword. (Bug#17733)
93
94 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
95
96 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
97 Expect beginning of regexp also after open brace or vertical bar.
98 (Bug#20026)
99
100 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * battery.el (battery-echo-area-format): Simplify default.
103 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
104 for AC adapter.
105
106 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
107 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
108 do it.
109
110 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
111
112 * net/browse-url.el (browse-url-firefox): Remove outdated
113 MS-Windows limitations.
114
115 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
116
117 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
118 obsolete.
119 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
120 Don't clean up postal addresses if ldap-ignore-attribute-codings
121 is set. Combine mail addresses into one field. (Bug#17720)
122 (eudc-ldap-simple-query-internal):
123 Call eudc-ldap-cleanup-record-filtering-addresses instead of
124 eudc-ldap-cleanup-record-simple.
125 (eudc-ldap-get-field-list): Likewise.
126
127 2015-03-05 Ivan Shmakov <ivan@siamics.net>
128
129 * net/eww.el (eww-html-p): New function (bug#20009).
130 (eww-render): Use it.
131
132 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
133
134 * desktop.el (desktop-buffer-info): Write docstring.
135 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
136 unquote lamda.
137
138 * emacs-lisp/package.el (package-refresh-contents): Update doc.
139
140 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
141
142 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
143
144 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 Replace *-function vars with generic functions in cl-generic.
147 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
148 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
149 (cl--generic-t-generalizer): New const.
150 (cl--generic-make-method): Rename from `cl--generic-method-make'.
151 (cl--generic-make): Change calling convention.
152 (cl--generic): Add `options' field.
153 (cl-generic-function-options): New function.
154 (cl-defgeneric): Rewrite handling of options. Add support for :method
155 options and allow the use of a default body.
156 (cl-generic-define): Save options in the corresponding new field.
157 (cl-defmethod): Fix ordering of qualifiers.
158 (cl-generic-define-method): Use cl-generic-generalizers.
159 (cl--generic-get-dispatcher): Change calling convention, and change
160 calling convention of the returned function as well so as to take the
161 list of methods separately from the generic function object, so that it
162 can receive the original generic function object.
163 (cl--generic-make-next-function): New function, extracted from
164 cl--generic-make-function.
165 (cl--generic-make-function): Use it.
166 (cl-generic-method-combination-function): Remove.
167 (cl--generic-cyclic-definition): New error.
168 (cl-generic-call-method): Take a generic function object rather than
169 its name.
170 (cl-method-qualifiers): New alias.
171 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
172 don't segregate by qualifiers here any more.
173 (cl--generic-standard-method-combination): Segregate by qualifiers
174 here instead. Add support for the `:extra' qualifier.
175 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
176 (cl-generic-generalizers, cl-generic-combine-methods):
177 New generic functions.
178 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
179 Use the new "default method in defgeneric" functionality, change
180 calling convention to receive a generic function object.
181 (cl--generic-head-used): New var.
182 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
183 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
184 New consts.
185 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
186 (eieio--generic-subclass-generalizer): New consts.
187 (cl-generic-generalizers): New methods.
188 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
189 (eieio--generic-static-object-generalizer): New consts.
190 (cl-generic-generalizers) <(head eieio--static)>: New method.
191 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
192 Unfold closures like lambdas.
193
194 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
195
196 * autorevert.el (auto-revert-notify-add-watch):
197 Fix handler installation. (Bug#20000)
198
199 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
200
201 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
202 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
203 (eww): Do not end error messages with a period.
204
205 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
206
207 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
208 New user option.
209 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
210 names starting with a space.
211 (tramp-methods): Add `tramp-default-port' for "adb".
212 (tramp-adb-parse-device-names): Add traces. Return device names
213 with port, if present.
214 (tramp-adb-handle-directory-files-and-attributes): Quote all
215 remote file names.
216 (tramp-adb-get-device): New defun.
217 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
218 Use it.
219 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
220 variables. Remove checks for listed devices.
221
222 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
223
224 * net/tramp.el (tramp): Add :link property.
225 (tramp-login-prompt-regexp): Allow also "user", as required by
226 Fritz!Box telnet.
227 (tramp-autoload-file-name-handler): Use "/".
228 (tramp-handle-unhandled-file-name-directory): Return nil when
229 required by the spec.
230
231 * net/tramp-cache.el (tramp-dump-connection-properties):
232 Use `with-temp-file'.
233
234 * net/tramp-sh.el (tramp-perl-file-attributes)
235 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
236 file names.
237 (tramp-do-file-attributes-with-stat): Quote file name.
238 (tramp-sh-handle-directory-files-and-attributes): Fall back to
239 `tramp-handle-directory-files-and-attributes' in case of problems.
240 (tramp-do-directory-files-and-attributes-with-stat)
241 (tramp-sh-handle-file-name-all-completions)
242 (tramp-sh-handle-delete-directory)
243 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
244 Normalize use of "cd".
245 (tramp-do-directory-files-and-attributes-with-stat): Use the
246 `quoting-style' arg of `ls' if possible. Make it also working for
247 file names with apostrophes.
248 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
249 in proper order.
250 (tramp-do-copy-or-rename-file-via-buffer)
251 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
252 (tramp-get-remote-locale): Accept also \r in output.
253 (tramp-get-ls-command-with-quoting-style): New defun.
254 (tramp-get-inline-coding): Set `default-directory' to a local
255 directory. Sporadically, `call-process-region' does not handle a
256 remote default directory properly.
257
258 * net/trampver.el: Update release number.
259
260 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
261
262 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
263 .dat files for aspell dicts are also searched for in location
264 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
265 variable.
266
267 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
268
269 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
270 (ispell-hunspell-fill-dictionary-entry)
271 (ispell-find-hunspell-dictionaries)
272 (ispell-set-spellchecker-params): New generic name for
273 `ispell-hunspell-dictionary-equivs-alist'.
274 (ispell-aspell-add-aliases): Also use
275 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
276 standard dict names.
277
278 2015-03-03 Glenn Morris <rgm@gnu.org>
279
280 * net/browse-url.el (browse-url-firefox-startup-arguments):
281 Make obsolete.
282 (browse-url-firefox): Doc fix. Remove -remote, which no longer
283 exists in Firefox 36. (Bug#19921)
284 (browse-url-firefox-sentinel): Remove function.
285
286 2015-03-03 Eli Zaretskii <eliz@gnu.org>
287
288 * frame.el (blink-cursor-timer-function): Don't increment
289 blink-cursor-blinks-done counter when a menu is active on a w32
290 frame. (Bug#19925)
291
292 2015-03-03 Juri Linkov <juri@linkov.net>
293
294 * comint.el (comint-line-beginning-position): Revert searching for
295 the prompt when comint-use-prompt-regexp is non-nil because it
296 doesn't distinguish input from output. Check the field property
297 `output' for the case when comint-use-prompt-regexp is nil.
298 (Bug#19710)
299
300 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
301
302 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
303 with PAGER=cat. (Bug#19870)
304
305 2015-03-03 Glenn Morris <rgm@gnu.org>
306
307 * textmodes/flyspell.el (flyspell-duplicate-distance):
308 Bump :version.
309
310 2015-03-03 Eli Zaretskii <eliz@gnu.org>
311
312 * textmodes/text-mode.el (text-mode-syntax-table): Make some
313 punctuation character behave as word-constituent, for more
314 compatibility with Unicode.
315
316 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
317
318 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
319
320 Improve string search in `flyspell-word-search-*`. (Bug#16800)
321 * textmodes/flyspell.el (flyspell-duplicate-distance):
322 Limit default search distance for duplicated words to 40000.
323 (flyspell-word-search-backward, flyspell-word-search-forward):
324 Search as full word with defined casechars, not as substring.
325
326 2015-03-03 Juri Linkov <juri@linkov.net>
327
328 Better support for the case of typing RET on the prompt in comint.
329 * comint.el (comint-get-old-input-default): Go to the field end
330 when comint-use-prompt-regexp is nil.
331 (comint-line-beginning-position): Check if point is already
332 on the prompt before searching for the prompt when
333 comint-use-prompt-regexp is non-nil. (Bug#19710)
334
335 2015-03-03 Eli Zaretskii <eliz@gnu.org>
336
337 * frame.el (frame-notice-user-settings): Refresh the value of
338 frame parameters after calling tty-handle-reverse-video.
339 Call face-set-after-frame-default with the actual parameters, to avoid
340 resetting colors back to unspecified.
341 (set-background-color, set-foreground-color): Pass the foreground
342 and background colors to face-set-after-frame-default. (Bug#19802)
343
344 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
345
346 * net/network-stream.el (network-stream-open-tls): Respect the
347 :end-of-capability setting.
348
349 2015-03-03 Juri Linkov <juri@linkov.net>
350
351 Revert the previous change of comint-line-beginning-position callers,
352 and modify comint-line-beginning-position instead.
353
354 * comint.el (comint-history-isearch-search)
355 (comint-history-isearch-message, comint-history-isearch-wrap):
356 Use comint-line-beginning-position instead of field-beginning.
357 (comint-send-input): Use either end-of-line or field-end
358 depending on comint-use-prompt-regexp.
359 (comint-line-beginning-position): Search backward
360 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
361 Use field-beginning instead of line-beginning-position
362 if comint-use-prompt-regexp is nil. (Bug#19710)
363
364 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
365
366 * calendar/todo-mode.el (todo-item-done): When done items are
367 hidden, restore point to its location prior to invoking this
368 command. (Bug#19727)
369
370 2015-03-03 Eli Zaretskii <eliz@gnu.org>
371
372 * textmodes/artist.el (artist-ellipse-compute-fill-info):
373 Use mapcar, not mapc, to create the other half of fill-info.
374 (Bug#19763)
375
376 2015-03-03 Nicolas Petton <nicolas@petton.fr>
377
378 * emacs-lisp/authors.el (authors-ignored-files)
379 (authors-renamed-files-alist): Additions.
380
381 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
382
383 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
384 tempfile for ControlPath. (Bug#19702)
385
386 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
387
388 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
389 ControlPath if possible. (Bug#19702)
390
391 2015-03-03 Glenn Morris <rgm@gnu.org>
392
393 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
394 (authors-valid-file-names, authors-renamed-files-alist): Additions.
395
396 2015-03-03 Alan Mackenzie <acm@muc.de>
397
398 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
399 * progmodes/cc-mode.el (c-font-lock-init):
400 Set font-lock-extend-region-functions to nil.
401
402 2015-03-03 Daniel Colascione <dancol@dancol.org>
403
404 * emacs-lisp/generator.el: Make globals conform to elisp
405 style throughout. Use more efficient font-lock patterns.
406 (cps-inhibit-atomic-optimization): Rename from
407 `cps-disable-atomic-optimization'.
408 (cps--gensym): New macro; replaces `cl-gensym' throughout.
409 (cps-generate-evaluator): Move the `iter-yield' local macro
410 definition here
411 (iter-defun, iter-lambda): from here.
412
413 (iter-defun): Use `macroexp-parse-body'.
414
415 2015-03-03 Daniel Colascione <dancol@dancol.org>
416
417 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 * progmodes/gud.el: Use lexical-binding (bug#19966).
420
421 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
422
423 2015-03-03 Daniel Colascione <dancol@dancol.org>
424
425 * emacs-lisp/generator.el: Make globals conform to elisp
426 style throughout. Use more efficient font-lock patterns.
427 (cps-inhibit-atomic-optimization): Rename from
428 `cps-disable-atomic-optimization'.
429 (cps--gensym): New macro; replaces `cl-gensym' throughout.
430 (cps-generate-evaluator): Move the `iter-yield' local macro
431 definition here...
432 (iter-defun, iter-lambda): ...from here.
433
434 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
435
436 * emacs-lisp/package.el (package-autoremove): Fix if logic.
437
438 2015-03-03 Martin Rudalics <rudalics@gmx.at>
439
440 * window.el (window--dump-frame): For pixel height return total
441 number of frame's lines.
442
443 2015-03-03 Daniel Colascione <dancol@dancol.org>
444
445 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
446
447 * emacs-lisp/generator.el (iter-defun): Correctly propagate
448 docstrings and declarations to underlying function.
449
450 2015-03-02 Daniel Colascione <dancol@dancol.org>
451
452 * emacs-lisp/generator.el: New file.
453
454 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
455 `vc-responsible-backend'.
456
457 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
458
459 * vc/vc-hooks.el (vc-state, vc-working-revision):
460 Use `vc-responsible-backend' in order to support unregistered files.
461
462 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
463
464 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
465 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
466 master name.
467
468 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
469
470 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
471
472 * net/shr.el (shr-insert): Remove soft hyphens.
473 (shr-insert): Also remove soft hypens from non-folded text.
474
475 2015-02-28 Eli Zaretskii <eliz@gnu.org>
476
477 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
478 when the charset is only given by the HTML <head>, and allow to
479 specify the encoding with "C-x RET c".
480
481 2015-02-27 Mark Laws <mdl@60hz.org>
482
483 Support daemon mode on MS-Windows (bug#19688)
484 * server.el (server-process-filter): Force GUI frames on
485 MS-Windows in daemon mode, even if a TTY frame was requested.
486
487 * frameset.el (frameset-keep-original-display-p): Don't assume
488 windows-nt cannot be in daemon mode.
489
490 * frame.el (window-system-for-display): Don't assume windows-nt
491 cannot be in daemon mode.
492
493 2015-02-26 Ivan Shmakov <ivan@siamics.net>
494
495 * faces.el (face-list-p): Split from face-at-point.
496 (face-at-point): Use it.
497 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
498
499 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
500
501 * vc/vc.el (vc-annotate-switches): New defcustom.
502 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
503 (vc-bzr-annotate-command): Use vc-switches.
504 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
505 (vc-cvs-annotate-command): Use vc-switches.
506 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
507 (vc-git-annotate-command): Use vc-switches.
508 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
509 (vc-hg-annotate-command): Use vc-switches.
510 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
511 (vc-mtn-annotate-command): Use vc-switches.
512 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
513 (vc-svn-annotate-command): Use vc-switches.
514
515 2015-02-26 Alan Mackenzie <acm@muc.de>
516
517 Handle "#" operator properly inside macro. Fix coding bug.
518
519 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
520 On finding a "#" which looks like the start of a macro, check it
521 isn't already inside a macro.
522
523 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
524 "safe" position into the list of them when this is beyond our
525 current position.
526
527 2015-02-26 Martin Rudalics <rudalics@gmx.at>
528
529 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
530 the menu frame is dead. (Bug#19728)
531
532 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
533
534 python.el: Handle tabs in python-indent-dedent-line.
535 * progmodes/python.el (python-indent-dedent-line): Fixes for
536 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
537
538 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
539
540 * progmodes/python.el (python-indent-context): Respect user
541 indentation after comment.
542
543 2015-02-26 Tassilo Horn <tsdh@gnu.org>
544
545 * textmodes/reftex-vars.el (featurep): Conditionalize value of
546 reftex-label-regexps in order to stay compatible with XEmacs 21.5
547 which has no explicitly numbered groups in regexps (bug#19714).
548
549 2015-02-26 Daiki Ueno <ueno@gnu.org>
550
551 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
552 integer before comparison.
553
554 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
555
556 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
557
558 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
559
560 * emacs-lisp/check-declare.el (check-declare-warn):
561 Use compilation-style warnings.
562 (check-declare-files): Make sure that
563 `check-declare-warning-buffer' is in `compilation-mode'.
564
565 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
566
567 * emacs-lisp/check-declare.el (check-declare-ext-errors):
568 New defcustom.
569 (check-declare): New defgroup.
570 (check-declare-verify): When `check-declare-ext-errors' is
571 non-nil, warn about an unfound function, instead of saying
572 "skipping external file".
573
574 2015-02-25 Tassilo Horn <tsdh@gnu.org>
575
576 * textmodes/reftex-vars.el (reftex-include-file-commands):
577 Call reftex-set-dirty on changes.
578
579 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
582 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
583 save-excursion.
584
585 2015-02-24 Glenn Morris <rgm@gnu.org>
586
587 * mail/rmailsum.el (rmail-summary-previous-all)
588 (rmail-summary-previous-msg): Simplify.
589
590 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
591
592 * simple.el (region-active-p): Fix doc to say non-nil.
593
594 2015-02-24 Samer Masterson <nosefrog@gmail.com>
595
596 * eshell/em-hist.el (eshell-hist-parse-word-designator):
597 Return args joined with " ".
598 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
599 (eshell-hist-parse-modifier): Pass mod a list instead of a string
600 (bug#18960).
601
602 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
603
604 * comint.el (comint-mode-map): Fix obvious typo.
605
606 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
607
608 * filecache.el (file-cache-filter-regexps):
609 Add lock files. (Bug#19516)
610
611 2015-02-24 Glenn Morris <rgm@gnu.org>
612
613 * mail/rmailsum.el (rmail-summary-next-all)
614 (rmail-summary-previous-all, rmail-summary-next-msg):
615 Fix handling of optional argument. (Bug#19916)
616
617 * progmodes/f90.el (f90-beginning-of-subprogram)
618 (f90-end-of-subprogram, f90-match-end):
619 Handle continued strings where the continuation does not start
620 with "&" and happens to match our regexp. (Bug#19809)
621
622 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
623
624 * comint.el (comint-clear-buffer): New command.
625 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
626
627 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
628
629 Use ${EXEEXT} more uniformly in makefiles
630 * Makefile.in (EMACS): Append ${EXEEXT}.
631
632 2015-02-23 Sam Steingold <sds@gnu.org>
633
634 * files.el (recover-session): Handle `auto-save-list-file-prefix'
635 being a directory (empty non-directory part).
636
637 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
638
639 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
640 instead of sasl-scram-sha-1, as the former is the name that can be
641 required.
642
643 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
644 (sasl-scram-sha-1-client-final-message)
645 (sasl-scram-sha-1-authenticate-server): Move to end of file.
646
647 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
648
649 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
650 (Bug#19826)
651
652 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
655 and :documentation. Change return value format accordingly.
656 * emacs-lisp/cl-generic.el (cl--generic-lambda):
657 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
658 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
659
660 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
661
662 Introduce `xref-etags-mode'.
663 * progmodes/xref.el (xref-etags-mode--saved): New variable.
664 (xref-etags-mode): New minor mode. (Bug#19466)
665
666 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
667
668 * dom.el (dom-previous-sibling): New function.
669
670 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
671
672 * bindings.el (ctl-x-map): There is no 'C-;'.
673 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
674 Perhaps some other binding should be chosen. (Bug#19826)
675
676 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
677
678 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
679
680 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
681
682 * autorevert.el (auto-revert-notify-add-watch)
683 (auto-revert-notify-handler, auto-revert-buffers): Handle also
684 buffers without an associated file, like dired buffers. (Bug#16112)
685
686 2015-02-21 Dima Kogan <dima@secretsauce.net>
687
688 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
689 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
690 wrappers. Call (auto-revert-buffers) consequently in order to
691 install handlers.
692
693 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
694
695 Sync with upstream verilog-mode revision 0d6420b.
696 * progmodes/verilog-mode.el (verilog-mode-version): Update.
697 (vector-skip-list): Remove.
698 (verilog-auto-inst-port, verilog-auto-inst-port-list)
699 (verilog-auto-inst, verilog-auto-inst-param):
700 Use arguments rather than vector-skip.
701 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
702 modport if signal attachment is itself a modport.
703 Reported by Matthew Lovell.
704
705 2015-02-21 Reto Zimmermann <reto@gnu.org>
706
707 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
708 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
709 (vhdl-doc-release-notes): Update.
710 (vhdl-standard): Add VHDL'08 option.
711 (vhdl-sensitivity-list-all): New option.
712 (vhdl-directive-keywords): Add psl.
713 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
714 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
715 (vhdl-imenu-generic-expression): Add context, directive.
716 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
717 (vhdl-template-map-init): Add vhdl-template-context.
718 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
719 (vhdl-create-mode-menu): Add some entries.
720 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
721 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
722 New constants.
723 (vhdl-directives): New variable.
724 (vhdl-words-init, vhdl-template-process)
725 (vhdl-template-replace-header-keywords): Support VHDL'08.
726 (vhdl-abbrev-list-init): Add vhdl-directives.
727 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
728 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
729 (vhdl-lineup-comment): Handle block comments and directives.
730 (vhdl-beginning-of-directive, vhdl-template-context)
731 (vhdl-template-context-hook): New functions.
732 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
733 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
734 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
735 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
736 (vhdl-scan-context-clause): Add context.
737
738 2015-02-20 Glenn Morris <rgm@gnu.org>
739
740 * calendar/solar.el (solar-sunrise-sunset-string):
741 Shorten message a little.
742 (sunrise-sunset): Use message rather than a window. (Bug#19859)
743
744 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
745 (f90-font-lock-keywords-2): Some F2008 additions.
746
747 2015-02-19 Dima Kogan <dima@secretsauce.net>
748
749 * autorevert.el (auto-revert-buffers-counter)
750 (auto-revert-buffers-counter-lockedout): New variables.
751 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
752 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
753 suppressed by lockout. (Bug#18958)
754
755 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
758 returns classes, not class names (bug#19891).
759
760 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
761
762 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
763
764 2015-02-18 Kelly Dean <kelly@prtime.org>
765
766 * register.el (jump-to-register):
767 * emacs-lisp/lisp.el (check-parens):
768 Push mark before goto-char so user doesn't lose his previous place.
769
770 2015-02-18 Kelly Dean <kelly@prtime.org>
771
772 * rect.el (rectangle-mark-mode):
773 Suppress superfluous "Mark set" message from push-mark.
774
775 2015-02-18 Kelly Dean <kelly@prtime.org>
776
777 * help-mode.el (help-go-back, help-go-forward, help-follow):
778 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
779 * winner.el (winner-redo):
780 * windmove.el (windmove-do-window-select):
781 * register.el (jump-to-register, increment-register, insert-register)
782 (append-to-register, prepend-to-register):
783 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
784 (set-visited-file-name):
785 * emacs-lisp/lisp.el (kill-backward-up-list):
786 Use user-error instead of error. (Bug#14480)
787
788 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
791 assumptions about window ordering.
792
793 2015-02-16 Kelly Dean <kelly@prtime.org>
794
795 * files.el (insert-file-contents-literally): Fix docstring typo.
796
797 2015-02-16 Kelly Dean <kelly@prtime.org>
798
799 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
800 arguments correctly. (Bug#19685)
801 (define-minor-mode): Clarify docstring.
802 Clarify mode switch messages for minor modes. (Bug#19690)
803
804 2015-02-16 Kelly Dean <kelly@prtime.org>
805
806 * emacs-lisp/package-x.el (package-upload-buffer-internal):
807 Create valid tar files. (Bug#19536)
808
809 2015-02-16 Kelly Dean <kelly@prtime.org>
810
811 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
812 (Bug#19059)
813
814 2015-02-16 Kelly Dean <kelly@prtime.org>
815
816 * help-mode.el (help-do-xref): Prevent duplicated display of Info
817 buffer, and prevent interference with existing buffer. (Bug#13190)
818
819 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
820
821 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
822
823 * progmodes/python.el (python-shell-font-lock-post-command-hook):
824 Do not deactivate mark on fontification.
825
826 2015-02-16 Ivan Shmakov <ivan@siamics.net>
827
828 * net/eww.el: Fix desktop support. (Bug#19226)
829 (eww-mode): Add autoload cookie.
830 (eww-restore-desktop): Use inhibit-read-only.
831
832 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
833 add-hook works correctly even if the file is not yet loaded.
834
835 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
838 eieio-constructor.
839 (set-slot-value): Mark as obsolete.
840 (eieio-object-class-name): Improve call to eieio-class-name.
841 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
842 (object-slots): Use it. Declare obsolete.
843 (eieio-constructor): Merge it with `make-instance'.
844 (initialize-instance): Use `dolist'.
845 (eieio-override-prin1, eieio-edebug-prin1-to-string):
846 Use eieio--class-print-name.
847
848 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
849 (eieio-class-name): Make it do what the docstring claims.
850 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
851 (eieio--slot-name-index): Simplify accordingly.
852 (eieio-barf-if-slot-unbound): Pass the class object rather than its
853 name to `slot-unbound'.
854
855 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
856 than on eieio-constructor.
857
858 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
861 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
862 about relationship between `type', `named', and `slots'.
863 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
864 value of `cl-struct-type' property.
865
866 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
867
868 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
869 with PAGER=cat. (Bug#19870)
870
871 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
872
873 * emacs-lisp/package.el (package-read-all-archive-contents):
874 Don't build the compatibility table.
875 (package-refresh-contents, package-initialize): Do build the
876 compatibility table.
877 (package--build-compatibility-table): New function.
878 (describe-package-1): Describe why a package is incompatible.
879
880 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
883 of the parent.
884 (cl--assertion-failed): New function.
885 (cl-assertion-failed): Move in from cl-lib.el.
886
887 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
888 as children of its parents.
889 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
890 (cl-typep): Reimplement using define-inline.
891 (cl-assert): Use cl--assertion-failed.
892 (cl-struct-slot-value): Use define-inline.
893
894 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
895
896 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
897 (flyspell-generic-check-word-p): Mark as obsolete.
898
899 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
900
901 * emacs-lisp/package.el (package--compatibility-table): New var.
902 (package--add-to-compatibility-table): New function.
903 (package-read-all-archive-contents): Populate compatibility table.
904 (package--incompatible-p): Also look in dependencies.
905 (describe-package-1): Fix "incompat" handling.
906
907 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
908
909 * net/rfc2104.el: Moved here from lisp/gnus.
910
911 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
912
913 * net/sasl-scram-rfc.el: New file.
914
915 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
916 Add SCRAM-SHA-1 first.
917 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
918 entry (bug#17636).
919
920 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
921
922 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
923 <ul>.
924
925 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
926
927 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
928 (gdb-inferior-filter): Don't pop up the buried output buffer when
929 `gdb-display-io-nopopup' is non-nil.
930
931 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
932
933 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
934
935 * progmodes/python.el (python-shell-font-lock-kill-buffer):
936 Don't require a running process.
937 (python-shell-font-lock-post-command-hook): Fontify only if the
938 shell process is running.
939
940 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * hi-lock.el (hi-lock-unface-buffer): Don't call
943 font-lock-remove-keywords if not needed (bug#19796).
944
945 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
946
947 * emacs-lisp/package.el (package-install): Invert the second
948 argument, for better backwards compatibility.
949 (package-install-button-action, package-reinstall)
950 (package-menu-execute): Account for the change.
951
952 2015-02-11 Nicolas Petton <nicolas@petton.fr>
953
954 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
955 version of seq-reverse that works on sequences in Emacs 24.
956 Bump seq.el version to 1.2.
957
958 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
959
960 * emacs-lisp/package.el (package--incompatible-p): New function.
961 Return non-nil if PKG has no chance of being installable.
962 (package--emacs-version-list): New variable.
963 (describe-package-1, package-desc-status)
964 (package-menu--print-info, package-menu--status-predicate):
965 Account for the "incompat" status.
966
967 2015-02-11 Martin Rudalics <rudalics@gmx.at>
968
969 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
970 Rename frame parameter `maximized' to `fullscreen-restore'.
971 Restore fullwidth/-height after fullboth state. Update doc-strings.
972
973 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
974
975 * net/shr.el (shr-insert): Make sure the space inserted has the
976 right font (for width).
977 (shr-fill-line): Preserve background colours when indenting/folding.
978 (shr-ensure-paragraph): Don't insert a new paragraph as the first
979 item in a <li>.
980
981 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
982
983 * net/shr.el (shr-use-fonts): New variable.
984 (shr-fill-text): Rename from "fold".
985 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
986 New functions.
987 (shr-insert): Just insert, don't fill the text. Filling is now
988 done afterwards per display unit.
989 (shr-fill-lines, shr-fill-line): New functions to fill text on a
990 per-unit base.
991 (shr-find-fill-point): Take a "beginning" parameter.
992 (shr-indent): Indent using the :width display parameter when using
993 fonts.
994 (shr-parse-style): Ignore "inherit" values, since we already do that.
995 (shr-tag-img): Remove the insertion states.
996 (shr-tag-blockquote): New-style filling.
997 (shr-tag-dd): Ditto.
998 (shr-tag-li): Ditto.
999 (shr-mark-fill): New function to mark lines that need filling.
1000 (shr-tag-h1): Use a larger font.
1001 (shr-tag-table-1): Get the natural and suggested widths in one
1002 rendering.
1003 (shr-tag-table): Create the "fixed" version of the table only once
1004 so that we can cache data in the table.
1005 (shr-insert-table): Get colspan calculations right by having
1006 zero-width columns after colspan ones.
1007 (shr-expand-alignments): New function to make :align-to specs work
1008 right when rendered in one buffer and displayed in another one.
1009 (shr-insert-table-ruler): Use :align-to to get the widths right.
1010 (shr-make-table): Cache more.
1011 (shr-make-table-1): Use the new <td> data layout.
1012 (shr-pixel-buffer-width): New function.
1013 (shr-render-td): Add a caching layer.
1014 (shr-dom-max-natural-width): New function.
1015 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1016 (shr-tag-tt): New function.
1017 (shr-tag-hr): Compute the right length when using fonts.
1018 (shr-table-widths): Off-by-one error in width computation.
1019 (shr-expand-newlines): Remove dead code.
1020 (shr-insert-table): Extend background colors to the end of the column.
1021 (shr-insert-table): Only copy the background, not underline and
1022 the like.
1023 (shr-face-background): New function.
1024
1025 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1026
1027 python.el: Improved shell font lock respecting markers. (Bug#19650)
1028
1029 * progmodes/python.el
1030 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1031 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1032 (python-shell-font-lock-post-command-hook): Fontify by copying text
1033 properties from fontified buffer to shell, keeping markers unchanged.
1034 (python-shell-font-lock-turn-off): Fix typo.
1035 (python-util-text-properties-replace-name): Delete function.
1036
1037 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1038
1039 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1040 return sequence elements in correct order.
1041
1042 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1043
1044 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1045
1046 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1049
1050 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1051 case where the default value would be re-interpreted as a form!
1052
1053 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1054
1055 * help-fns.el (help-fns--signature): Keep doc for keymap.
1056
1057 2015-02-09 Kelly Dean <kelly@prtime.org>
1058
1059 * desktop.el: Save mark-ring less verbosely.
1060 (desktop-var-serdes-funs): New var.
1061 (desktop-buffer-info, desktop-create-buffer): Use it.
1062 (desktop-file-version): Update to 208.
1063
1064 2015-02-09 Leo Liu <sdl.web@gmail.com>
1065
1066 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1067
1068 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1069
1070 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1071
1072 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1073
1074 Port to platforms lacking test -a and -o
1075 * Makefile.in (compile-clean):
1076 * net/tramp-sh.el (tramp-find-executable):
1077 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1078
1079 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1080
1081 * newcomment.el (comment-line): Fix missing paren.
1082
1083 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1084
1085 * play/gamegrid.el: Update comment to reflect that the
1086 'update-game-score' helper program is now setgid by default.
1087
1088 2015-02-08 David Kastrup <dak@gnu.org>
1089
1090 * subr.el (apply-partially): Use lexical binding here.
1091
1092 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1093
1094 * newcomment.el (comment-line): New command.
1095
1096 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1097
1098 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1099
1100 * outline.el (outline-show-entry): Fix one invisible char for the
1101 file's last outline. (Bug#19493)
1102
1103 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * subr.el (indirect-function): Change advertised calling convention.
1106
1107 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1108
1109 python.el: Fix completion-at-point. (Bug#19667)
1110
1111 * progmodes/python.el
1112 (python-shell-completion-native-get-completions): Force process buffer.
1113 (python-shell-completion-at-point): Handle case where call is not
1114 in a shell buffer.
1115
1116 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1117
1118 python.el: Fix shell font-lock multiline input. (Bug#19744)
1119
1120 * progmodes/python.el
1121 (python-shell-font-lock-post-command-hook): Handle multiline input.
1122
1123 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1124
1125 python.el: Make shell font-lock respect markers. (Bug#19650)
1126
1127 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1128 Use `erase-buffer`.
1129 (python-shell-font-lock-comint-output-filter-function):
1130 Handle newlines.
1131 (python-shell-font-lock-post-command-hook): Respect markers on
1132 text fontification.
1133
1134 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1135
1136 python.el: Keep eldoc visible while typing args. (Bug#19637)
1137 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1138 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1139 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1140
1141 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1142
1143 Fix hideshow integration. (Bug#19761)
1144 * progmodes/python.el
1145 (python-hideshow-forward-sexp-function): New function based on
1146 Carlos Pita <carlosjosepita@gmail.com> patch.
1147 (python-mode): Make `hs-special-modes-alist` use it and initialize
1148 the end regexp with the empty string to avoid skipping parens.
1149
1150 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1151
1152 * progmodes/python.el (python-check-custom-command): Do not use
1153 defvar-local for compat with Emacs<24.3.
1154
1155 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1156
1157 * frame.el (frame-notice-user-settings):
1158 Update `frame-size-history'.
1159 (make-frame): Update `frame-size-history'.
1160 Call `frame-after-make-frame'.
1161 * faces.el (face-set-after-frame-default): Remove call to
1162 frame-can-run-window-configuration-change-hook.
1163
1164 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1165
1166 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1167 `vc-cvs-command' (bug#19732).
1168
1169 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1170
1171 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1172 New functions.
1173 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1174 (seq--drop-list, seq--take-list, seq--take-while-list):
1175 Better docstring.
1176
1177 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1178
1179 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1180 `image-kill-buffer' instead.
1181
1182 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1183
1184 * net/ldap.el (ldap-search-internal): Fix docstring.
1185
1186 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1187
1188 * subr.el (define-error): The error conditions may be constant
1189 lists, so use `append' to concatenate them.
1190
1191 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1192
1193 * net/network-stream.el (network-stream-open-tls): Respect the
1194 :end-of-capability setting.
1195
1196 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1197
1198 * emacs-lisp/package.el (package--sort-by-dependence):
1199 New function. Return PACKAGE-LIST sorted by dependencies.
1200 (package-menu-execute): Use it to delete packages in order.
1201 (package--sort-deps-in-alist): New function.
1202 (package-menu-mark-install): Can mark dependencies.
1203 (package--newest-p): New function.
1204 (package-delete): Don't deselect when deleting an older version of
1205 an upgraded package.
1206
1207 * emacs-lisp/package.el: Add missing (require 'subr-x)
1208
1209 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1212 hyphenated (bug#19263).
1213
1214 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1215 of variable interpolation (bug#19751).
1216
1217 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1218
1219 * json.el (json-end-of-file): New error (bug#19768).
1220 (json-pop, json-read): Use it.
1221
1222 2015-02-05 Kelly Dean <kelly@prtime.org>
1223
1224 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1225 `describe-variable'.
1226
1227 * help-fns.el (describe-function-or-variable): New function.
1228
1229 * help.el (help-map): Bind `describe-function-or-variable' to o.
1230 (help-for-help-internal): Document o key.
1231
1232 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1235 special (:documentation ...) feature.
1236 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1237 (eieio-make-child-predicate): Same.
1238 (eieio-copy-parents-into-subclass): Remove unused arg.
1239 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1240 `pname' var.
1241 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1242 callers accordingly.
1243
1244 * emacs-lisp/cconv.el (cconv--convert-function):
1245 Add `docstring' argument.
1246 (cconv-convert): Use it to handle the new (:documentation ...) form.
1247 (cconv-analyze-form): Handle the new (:documentation ...) form.
1248
1249 * emacs-lisp/bytecomp.el:
1250 (byte-compile-initial-macro-environment): Use macroexp-progn.
1251 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1252 (byte-compile-file-form-defvar-function): Rename from
1253 byte-compile-file-form-define-abbrev-table.
1254 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1255 (byte-compile): Use byte-compile-top-level rather than
1256 byte-compile-lambda so we can compile non-values.
1257 (byte-compile-form): Add warnings for failed uses of lexical vars via
1258 quoted symbols.
1259 (byte-compile-unfold-bcf): Improve message for failed inlining.
1260 (byte-compile-make-closure): Handle new format of internal-make-closure
1261 for dynamically-generated docstrings.
1262
1263 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1264 (open-line): Delete like all other commands, instead of killing.
1265 (delete-active-region): Don't define any return any value.
1266
1267 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1268 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1269 default.
1270
1271 2015-02-04 Sam Steingold <sds@gnu.org>
1272
1273 * progmodes/python.el (python-indent-calculate-indentation):
1274 Avoid the error when computing top-level indentation.
1275
1276 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1279
1280 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1281 (mail-mode-flyspell-verify): Fix last change.
1282 (flyspell-external-point-words, flyspell-large-region):
1283 Avoid add-to-list on local vars.
1284
1285 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1286
1287 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1288 void-variable error.
1289
1290 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1291
1292 * image-mode.el (image-kill-buffer): New command.
1293 (image-mode-map): Bind it to k.
1294
1295 * emacs-lisp/package.el (package-delete): Remove package from
1296 `package-selected-packages' even if it can't be deleted.
1297 (package-installed-p): Accept package-desc objects.
1298 (package-install): Can be used to mark dependencies as
1299 selected. When given a package-desc object which is already
1300 installed, the package is not downloaded again, but it is marked
1301 as selected (if it wasn't already).
1302 (package-reinstall): Accept package-desc objects.
1303
1304 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1305
1306 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1307 (package--get-deps): delete-dups when ONLY is nil.
1308 (package-autoremove): Warn the user if `package-selected-packages'
1309 is empty.
1310
1311 (package--user-selected-p): New function.
1312 (package-delete, package-install, package-install-from-buffer):
1313 Use it
1314 (package-selected-packages): Mention it.
1315
1316 (package-initialize): Don't populate `package-selected-packages'.
1317 (package-install-user-selected-packages, package-autoremove):
1318 Special handling for empty `package-selected-packages'.
1319 (package-install): Fix when PKG is a package-desc.
1320
1321 (package-desc-status): Add "dependency" status to the Package
1322 Menu.
1323 (package-menu--status-predicate, package-menu--print-info)
1324 (package-menu-mark-delete, package-menu--find-upgrades)
1325 (package-menu--status-predicate, describe-package-1): Use it
1326
1327 (package--removable-packages): New function.
1328 (package-autoremove): Use it.
1329 (package-menu-execute): Offer to remove unneeded packages.
1330
1331 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1332 tar-desc.
1333
1334 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1335
1336 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1337 (package-delete): New NOSAVE argument.
1338
1339 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1340
1341 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1342 (tramp-open-shell, tramp-maybe-open-connection): Set also
1343 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1344
1345 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1346
1347 * emacs-lisp/package.el (package--find-non-dependencies):
1348 New function.
1349 (package-initialize): Use it to populate `package-selected-packages'.
1350 (package-menu-execute): Clean unnecessary `and'.
1351 (package--get-deps): Fix returning duplicates.
1352
1353 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1354
1355 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1356 Use it as default.
1357 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1358 (Bug#19731)
1359
1360 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1361
1362 * emacs-lisp/package.el (package-delete): Remove package from
1363 package-selected-packages.
1364 (package-autoremove): Remove unneeded variable.
1365
1366 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1367
1368 * emacs-lisp/package.el (package-selected-packages): Fix :type
1369 (package-install): Rename ARG to MARK-SELECTED.
1370 (package--get-deps): Fix for indirect dependencies.
1371 (package-used-elsewhere-p): Rename to
1372 (package--used-elsewhere-p): New function.
1373 (package-reinstall, package-user-selected-packages-install)
1374 (package-autoremove): Use sharp-quote.
1375 (package-user-selected-packages-install): Reindent and rename to
1376 (package-install-user-selected-packages): New function.
1377
1378 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1379
1380 * emacs-lisp/package.el: Don't allow deleting dependencies.
1381
1382 (package-used-elsewhere-p): New function.
1383 (package-delete): Use it, return now an error when trying to
1384 delete a package used as dependency by another package.
1385
1386 Add a reinstall package command.
1387 (package-reinstall): New function.
1388
1389 Add a package-autoremove command.
1390 (package-selected-packages): New user var.
1391 (package-install): Add an optional arg to notify interactive use.
1392 Fix docstring. Save installed package to
1393 packages-installed-directly.
1394 (package-install-from-buffer): Same.
1395 (package-user-selected-packages-install): Allow installing all
1396 packages in packages-installed-directly at once.
1397 (package--get-deps): New function.
1398 (package-autoremove): New function.
1399 (package-install-button-action): Call package-install with
1400 interactive arg.
1401 (package-menu-execute): Same but only for only for not installed
1402 packages.
1403
1404 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1407 and eieio-make-child-predicate.
1408 (eieio-class-parents): Use eieio--class-object.
1409 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1410 (slot-exists-p): Use find-class.
1411
1412 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1413 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1414 convention for eieio-class-def.
1415 (eieio-build-class-list): Remove function, unused.
1416 (eieio-method-def): Remove button type, unused.
1417 (eieio-class-def): Inherit from help-function-def.
1418 (eieio--defclass-regexp): New constant.
1419 (find-function-regexp-alist): Use it.
1420 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1421 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1422 Remove functions.
1423
1424 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1425 Use cl-check-type everywhere instead.
1426 (eieio-class-object): Remove, use find-class instead when needed.
1427 (class-p): Don't inline.
1428 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1429 such as eieio classes, as objects. Don't inline.
1430 (object-p): Mark as obsolete.
1431 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1432 (eieio--generic-tagcode): Avoid `class-p'.
1433 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1434 (eieio-defclass-internal): Use current-load-list rather than
1435 `class-location'.
1436
1437 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1438
1439 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1442 since it may be "equivalent" in some sense, yet different (bug#19734).
1443
1444 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1445
1446 * outline.el (outline-font-lock-face): Add docstring.
1447 (outline-invisible-p): Improve docstring.
1448 (outline-invent-heading): Add docstring.
1449 (outline-promote): Improve docstring.
1450 (outline-demote): Improve docstring.
1451 (outline-head-from-level): Improve docstring.
1452 (outline-end-of-heading): Add docstring.
1453 (outline-next-visible-heading): Improve docstring.
1454 (outline-previous-visible-heading): Improve docstring.
1455 (outline-hide-region-body): Improve docstring.
1456 (outline-flag-subtree): Add docstring.
1457 (outline-end-of-subtree): Add docstring.
1458 (outline-headers-as-kill): Improve docstring.
1459
1460 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1461
1462 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1463 (hide-entry): Declare as obsolete.
1464 (outline-show-entry): Rename from `show-entry'.
1465 (show-entry): Declare as obsolete.
1466 (outline-hide-body): Rename from `hide-body'.
1467 (hide-body): Declare as obsolete.
1468 (outline-hide-region-body): Rename from `hide-region-body'.
1469 (hide-region-body): Declare as obsolete.
1470 (outline-show-all): Rename from `show-all'.
1471 (show-all): Declare as obsolete.
1472 (outline-hide-subtree): Rename from `hide-subtree'.
1473 (hide-subtree): Declare as obsolete.
1474 (outline-hide-leaves): Rename from `hide-leaves'.
1475 (hide-leaves): Declare as obsolete.
1476 (outline-show-subtree): Rename from `show-subtree'.
1477 (show-subtree): Declare as obsolete.
1478 (outline-hide-sublevels): Rename from `hide-sublevels'.
1479 (hide-sublevels): Declare as obsolete.
1480 (outline-hide-other): Rename from `hide-other'.
1481 (hide-other): Declare as obsolete.
1482 (outline-show-children): Rename from `show-children'.
1483 (show-children): Declare as obsolete.
1484 (outline-show-branches): Rename from `show-branches'.
1485 (show-branches): Declare as obsolete.
1486
1487 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1488
1489 * outline.el (outline-mode): Clean up docstring.
1490 (font-lock-warning-face): Remove obsolete declaration.
1491 (outline-font-lock-face): Remove obsolete comment.
1492
1493 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1494
1495 * lisp/custom.el (defface): Set `indent' to 1.
1496
1497 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1498
1499 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1500
1501 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1502
1503 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1504 is set, but user has just been asked whether they really want to
1505 kill Emacs (for example with a ‘Modified buffers exist; exit
1506 anyway?’ prompt), do not ask them for another confirmation.
1507
1508 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1509
1510 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
1511 (calc-convert-units): Check for missing units.
1512 (math-consistent-units-p): Strengthen the test for consistent units.
1513
1514 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
1515 `calc-convert-exact-units' and assign it a keybinding.
1516
1517 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
1518 "un" keybinding.
1519
1520 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1523
1524 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1525
1526 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1527 punctuation syntax since to allow bibtex fields with values such
1528 as {Test 1) and 2)} (bug#19205, bug#19707).
1529 (reftex--prepare-syntax-tables): New function.
1530 (reftex-mode): Use it.
1531
1532 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1533
1534 python.el: New non-global state dependent indentation engine.
1535 (Bug#18319, Bug#19595)
1536 * progmodes/python.el (python-syntax-comment-or-string-p):
1537 Accept PPSS as argument.
1538 (python-syntax-closing-paren-p): New function.
1539 (python-indent-current-level)
1540 (python-indent-levels): Mark obsolete.
1541 (python-indent-context): Return more context cases.
1542 (python-indent--calculate-indentation)
1543 (python-indent--calculate-levels): New functions.
1544 (python-indent-calculate-levels): Use them.
1545 (python-indent-calculate-indentation, python-indent-line):
1546 (python-indent-line-function): Rewritten to use new API.
1547 (python-indent-dedent-line): Simplify logic.
1548 (python-indent-dedent-line-backspace): Use `unless`.
1549 (python-indent-toggle-levels): Delete function.
1550
1551 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1552
1553 * subr.el (posnp): Correct docstring of `posnp'.
1554 (posn-col-row): Make it work with all mouse position objects.
1555 * textmodes/artist.el (artist-mouse-draw-continously):
1556 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1557
1558 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1559
1560 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1561
1562 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1563
1564 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1565 Adapt docstring.
1566 (file-notify--descriptor): New defun.
1567 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1568 Adapt docstring. Handle multiple values for
1569 `file-notify-descriptors' entries. (Bug#18880)
1570
1571 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1572 `file-notify-descriptors', the implementation has been changed.
1573
1574 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1575
1576 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1577 On MS-Windows, bind coding-system-for-read to the console output
1578 codepage. (Bug#19458)
1579
1580 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1581
1582 Unbreak `mouse-action' property in text buttons.
1583 * button.el (push-button): Fix regression from 2012-12-06.
1584
1585 2015-01-28 Glenn Morris <rgm@gnu.org>
1586
1587 * progmodes/sh-script.el (sh-mode): Doc fix.
1588 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1589
1590 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1591
1592 Fix dired quoting bug with "Hit`N`Hide".
1593 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1594
1595 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1596
1597 Tighten up the tagcode used for eieio and cl-struct objects.
1598 * loadup.el: Load cl-preloaded.
1599 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1600 slot of the tag symbol to :quick-object-witness-check.
1601 (eieio-object-p): Use :quick-object-witness-check.
1602 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1603 * emacs-lisp/cl-preloaded.el: New file.
1604 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1605 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1606 (cl--make-usage-args): Strip away &aux args.
1607 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1608 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1609 (cl-defstruct): Use `declare' and cl-struct-define.
1610 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1611 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1612
1613 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1614
1615 * emacs-lisp/cl.el (cl--function-convert):
1616 Merge cache that cl--labels-convert adds (bug#19699).
1617
1618 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1619
1620 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1621 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1622 (tar-header-serialize): New functions.
1623 (tar-current-position): Split from tar-current-descriptor.
1624 (tar-current-descriptor): Use it.
1625 (tar-new-entry): New command.
1626 (tar-mode-map): Bind it.
1627
1628 2015-01-27 Sam Steingold <sds@gnu.org>
1629
1630 * progmodes/python.el (python-check-custom-command): Buffer local
1631 because it usually includes the buffer name.
1632 (python-check-command): Set to epylint when pyflakes is not available.
1633
1634 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1635
1636 * isearch.el (isearch-process-search-char): Add docstring.
1637
1638 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1639
1640 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1641
1642 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1643
1644 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1645 for the case cl-flet or cl-labels form is wrapped with lexical-let
1646 (bug#19613).
1647
1648 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1651 (cl--generic): The method-table is now a (list-of cl--generic-method).
1652 (cl--generic-member-method): New function.
1653 (cl-generic-define-method): Use it.
1654 (cl--generic-build-combined-method, cl--generic-cache-miss):
1655 Adapt to new method-table.
1656 (cl--generic-no-next-method-function): Add `method' argument.
1657 (cl-generic-call-method): Adapt to new method representation.
1658 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1659 (cl-find-method, cl-method-qualifiers): New functions.
1660 (cl--generic-method-info): Adapt to new method representation.
1661 Return a string for the qualifiers.
1662 (cl--generic-describe):
1663 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1664 (eieio-all-generic-functions, eieio-method-documentation):
1665 Adjust to new method representation.
1666
1667 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1668
1669 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1672 (cl-generic-method-combination-function): New var.
1673 (cl--generic-lambda): Remove `with-cnm' arg.
1674 (cl-defmethod): Change accordingly.
1675 (cl-generic-define-method): Don't check qualifiers validity.
1676 Preserve all qualifiers in `method-table'.
1677 (cl-generic-call-method): New function.
1678 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1679 (cl--generic-build-combined-method): Adjust to new format of method-table
1680 and use cl-generic-method-combination-function.
1681 (cl--generic-standard-method-combination): New function, extracted from
1682 cl--generic-build-combined-method.
1683 (cl--generic-cnm-sample): Adjust to new format of method-table.
1684
1685 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1686 instead of :primary.
1687
1688 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1689 Remove obsolete function.
1690
1691 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1692
1693 * net/shr.el (shr-make-table-1): Fix colspan typo.
1694 (shr-make-table-1): Add comments.
1695 (shr-make-table-1): Make colspan display more sensibly.
1696
1697 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1698 slightly.
1699
1700 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1703 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1704 (bug#19672).
1705 (cl--generic-typeof-types): Add support for `sequence'.
1706 (cl-defmethod): Add non-keywords in the qualifiers.
1707
1708 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
1709
1710 * emacs-lisp/find-func.el (find-function-regexp): Don't match
1711 `defgroup' (regression from the previous change here).
1712
1713 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1714
1715 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
1716 credentials error message.
1717
1718 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1719
1720 * net/ldap.el (ldap-password-read): Validate password before
1721 caching it.
1722 (ldap-search-internal): Handle ldapsearch error conditions.
1723
1724 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1725
1726 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
1727
1728 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1729
1730 * net/eudc.el (eudc-expand-inline): Always restore former server
1731 and protocol.
1732
1733 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1734
1735 * net/eudcb-ldap.el: Don't nag the user in case a default base is
1736 provided by the LDAP system configuration file.
1737
1738 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1739
1740 * net/eudc.el (eudc-format-query): Preserve the
1741 eudc-inline-query-format ordering of attributes in the returned list.
1742 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
1743 Append the LDAP wildcard character to the last attribute value.
1744
1745 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1746
1747 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
1748 Downcase field names of LDAP results.
1749 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
1750
1751 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1752
1753 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
1754 (ldap-search-internal): Send password to ldapsearch through a pipe
1755 instead of via the command line.
1756
1757 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1758
1759 * net/ldap.el: Require password-cache.
1760 (ldap-password-read): New function.
1761 (ldap-search-internal): Call ldap-password-read when it is
1762 configured to be called.
1763
1764 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1765
1766 * net/eudc-vars.el (eudc-expansion-overwrites-query):
1767 Change default to nil.
1768
1769 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1770
1771 * net/eudc.el (eudc-expand-inline): Ignore text properties of
1772 string-to-expand.
1773
1774 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1775
1776 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
1777 format that includes first name and surname.
1778
1779 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1780
1781 * net/eudc-vars.el (eudc-inline-query-format): Change default to
1782 query email and first name instead of surname.
1783
1784 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1785
1786 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
1787
1788 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1789
1790 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
1791 eudc-server-hotlist.
1792 (eudc-server-hotlist): Move from eudc.el and make defcustom.
1793 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
1794 (eudc-set-server): Allow setting protocol to nil.
1795 (eudc-expand-inline): Support hotlist-only expansions when server
1796 is not set.
1797
1798 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1799
1800 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
1801 (cl--generic-build-combined-method): Use it.
1802
1803 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
1804
1805 Don't downcase system diagnostics' first letters
1806 * emacs-lisp/bytecomp.el (byte-compile-file):
1807 * ffap.el (find-file-at-point):
1808 * files.el (insert-file-1):
1809 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
1810 (ange-ftp-copy-file-internal):
1811 * progmodes/etags.el (visit-tags-table):
1812 Keep diagnostics consistent with system's.
1813 * ffap.el (ffap-machine-p):
1814 Ignore case while comparing diagnostics.
1815
1816 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
1819 arg (bug#19645).
1820 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
1821 body with a docstring.
1822
1823 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
1824
1825 * progmodes/xref.el (xref-location-marker, xref-location-group):
1826 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
1827 counterparts.
1828
1829 * progmodes/etags.el (xref-location-marker): Same.
1830
1831 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
1832 (xref--inhibit-mark-current): Rename from
1833 `xref--inhibit-mark-selected'. Update the usages.
1834 (xref-quit): Reword the docstring. Kill buffers after quitting
1835 windows instead of before.
1836 (xref--insert-xrefs): Tweak help-echo.
1837 (xref--read-identifier-history, xref--read-pattern-history):
1838 New variables.
1839 (xref--read-identifier, xref-find-apropos): Use them.
1840
1841 2015-01-21 Ulrich Müller <ulm@gentoo.org>
1842
1843 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1844 Allow the 'update-game-score' helper program to run suid or sgid.
1845
1846 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * emacs-lisp/eieio.el: Use cl-defmethod.
1849 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
1850 (eieio-object-name-string): Declare as obsolete.
1851
1852 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
1853 (eieio--specializers-apply-to-class-p): New function.
1854 (eieio-all-generic-functions): Use it.
1855 (eieio-method-documentation): Use it as well as cl--generic-method-info.
1856 Change format of return value.
1857 (eieio-help-class): Adapt accordingly.
1858
1859 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
1860 errors when there's a `before' but no `primary' (bug#19645).
1861 (next-method-p): Return nil rather than signal an error.
1862 (eieio-defgeneric): Remove bogus (fboundp 'method).
1863
1864 * emacs-lisp/eieio-speedbar.el:
1865 * emacs-lisp/eieio-datadebug.el:
1866 * emacs-lisp/eieio-custom.el:
1867 * emacs-lisp/eieio-base.el: Use cl-defmethod.
1868
1869 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
1870 (cl--generic-setf-rewrite): Setup the setf expander right away.
1871 (cl-defmethod): Make sure the setf expander is setup before we expand
1872 the body.
1873 (cl-defmethod): Silence byte-compiler warnings.
1874 (cl-generic-define-method): Shuffle code to change return value.
1875 (cl--generic-method-info): New function, extracted from
1876 cl--generic-describe.
1877 (cl--generic-describe): Use it.
1878
1879 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
1880
1881 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
1882 the major mode. Remap `quit-window' to `xref-quit'.
1883 (xref--xref-buffer-mode): Inherit from special-mode.
1884
1885 xref: Keep track of temporary buffers (bug#19466).
1886 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
1887 (xref--inhibit-mark-selected): New variables.
1888 (xref--mark-selected): New function.
1889 (xref--show-location): Maybe add the buffer to
1890 `xref--temporary-buffers', add `xref--mark-selected' to
1891 `buffer-list-update-hook' there.
1892 (xref--window): Add docstring.
1893 (xref-quit): Rename from `xref--quit'. Update both references.
1894 Add KILL argument. When it's non-nil, kill the temporary buffers
1895 that haven't been selected by the user.
1896 (xref--show-xref-buffer): Change the second argument to alist,
1897 extract the values for `xref--window' and
1898 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
1899 `buffer-list-update-hook' to each buffer in the list.
1900 (xref--show-xrefs): Move the logic of calling `xref-find-function'
1901 here. Save the difference between buffer lists before and after
1902 it's called as "temporary buffers", and `pass it to
1903 `xref-show-xrefs-function'.
1904 (xref--find-definitions, xref-find-references)
1905 (xref-find-apropos): Update accordingly.
1906
1907 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
1908
1909 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
1910
1911 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * emacs-lisp/eieio-generic.el: Remove.
1914 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
1915 * emacs-lisp/eieio-compat.el: New file.
1916 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
1917 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
1918 Remove unused function.
1919 (eieio-defclass): Move to eieio-compat.el.
1920 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
1921 (macroexp--expand-all): Use it.
1922 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
1923
1924 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1925
1926 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
1927 major modes should use `add-function' to alter value of the variable.
1928 * hexl.el (hexl-mode):
1929 * ielm.el (inferior-emacs-lisp-mode):
1930 * progmodes/cfengine.el (cfengine3-mode):
1931 * progmodes/elisp-mode (emacs-lisp-mode):
1932 * progmodes/octave.el (octave-mode):
1933 * progmodes/python.el (python-mode):
1934 * simple.el (read--expression): Set `eldoc-documentation-function'
1935 using `add-function' so the default value is always used.
1936
1937 * descr-text.el (describe-char-eldoc): New function returning
1938 basic Unicode codepoint information (e.g. name) about character
1939 at point. It is meant to be used as a default value of the
1940 `eldoc-documentation-function' variable.
1941 (describe-char-eldoc--format, describe-char-eldoc--truncate):
1942 New helper functions for `describe-char-eldoc' function.
1943
1944 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1945
1946 * textmodes/paragraphs.el (sentence-end-base): Include an
1947 ellipsis (…) and interrobang (‽) characters as end of a sentence,
1948 and a closing single quote (’) as an end of a quote.
1949
1950 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1951
1952 * textmodes/tildify.el (tildify-double-space-undos): A new
1953 variable specifying whether pressing space in `tildify-mode' after
1954 a space has been replaced with hard space undos the substitution.
1955 (tildify-space): Add code branch for handling `tildify-doule-space'.
1956
1957 * textmodes/tildify.el (tildify-space): A new function
1958 which can be used as a `post-self-insert-hook' to automatically
1959 convert spaces into hard spaces.
1960 (tildify-space-pattern): A new variable specifying pattern where
1961 `tildify-space' should take effect.
1962 (tildify-space-predicates): A new variable specifying list of
1963 predicate functions that all must return non-nil for
1964 `tildify-space' to take effect.
1965 (tildify-space-region-predicate): A new functions meant to be
1966 used as a predicate in `tildify-space-predicates' list.
1967 (tildify-mode): A new minor mode enabling `tildify-space' as a
1968 `post-self-insert-hook'
1969
1970 2015-01-20 Daniel Colascione <dancol@dancol.org>
1971
1972 * vc/vc-dir.el (vc-dir): Default to repository root, not
1973 default-directory.
1974
1975 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
1976
1977 * progmodes/etags.el (xref-etags-location): New class.
1978 (xref-make-etags-location): New function.
1979 (etags--xref-find-definitions): Use it.
1980 (xref-location-marker): New method implementation.
1981
1982 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
1983 (xref--insert-xrefs): Expand help-echo string.
1984
1985 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1986
1987 * ido.el: Update Customization instructions.
1988
1989 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
1990
1991 Define Ido keymaps once (bug#17000).
1992 * ido.el (ido-common-completion-map)
1993 (ido-file-dir-completion-map)
1994 (ido-file-completion-map, ido-buffer-completion-map): Set up key
1995 bindings when each variable is defined.
1996 (ido-completion-map): Move definition.
1997 (ido-init-completion-maps): Noop.
1998 (ido-common-initialization): Don't call it.
1999 (ido-setup-completion-map): Improve doc-string, cleanup.
2000
2001 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2002
2003 * cus-dep.el (custom-make-dependencies): Ensure that
2004 default-directory is interpreted as a directory (see bug#19140.)
2005
2006 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2007
2008 * progmodes/xref.el (xref--display-position):
2009 Set `other-window-scroll-buffer'.
2010 (xref-goto-xref): Use `user-error'.
2011
2012 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2013
2014 * progmodes/xref.el (xref--display-history): New variable.
2015 (xref--window-configuration): Remove.
2016 (xref--save-to-history): New function.
2017 (xref--display-position): Use it. Add new argument.
2018 (xref--restore-window-configuration): Remove.
2019 (xref--show-location, xref-show-location-at-point):
2020 Update accordingly.
2021 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2022 (xref--quit): New command.
2023 (xref-goto-xref): Use it.
2024 (xref--xref-buffer-mode-map): Bind `q' to it.
2025
2026 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2029 indentation or at eol.
2030
2031 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2034 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2035 New functions.
2036 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2037
2038 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2039 `newname' argument.
2040
2041 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2042 introduction of a new dispatch argument.
2043 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2044 considered as dispatchable for this method.
2045 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2046 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2047
2048 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2049
2050 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2051
2052 * emacs-lisp/package.el (package--append-to-alist): Rename from
2053 `package--add-to-alist'
2054 Updated docstring due to new name.
2055
2056 2015-01-18 Leo Liu <sdl.web@gmail.com>
2057
2058 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2059 multiple evaluation. (Bug#19519)
2060
2061 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2062 error. (Bug#19434)
2063
2064 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2067 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2068 New functions.
2069 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2070
2071 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2072 or print is nil.
2073 (cl-struct-type-p): New function.
2074
2075 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2076 (cl-defmethod): Add edebug spec.
2077 (cl--generic-build-combined-method): Fix call to
2078 cl-no-applicable-method.
2079 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2080 (cl--generic-isnot-nnm-p): New function.
2081 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2082 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2083 (cl-next-method-p): New function.
2084
2085 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2086
2087 * version.el (emacs-repository-get-version): Update docstring.
2088
2089 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2090
2091 * files.el (find-file-other-window, find-file-other-frame):
2092 Use mapc instead of mapcar. (Bug#18175)
2093
2094 * files.el (dir-locals-collect-variables): Use default-directory
2095 in place of the file name while working on non-file buffers, just
2096 like hack-dir-local-variables already does. (Bug#19140)
2097
2098 * textmodes/enriched.el (enriched-encode):
2099 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2100 (Bug#18246)
2101
2102 * desktop.el (desktop-read): Do not call desktop-clear when no
2103 desktop file is found. (Bug#18371)
2104
2105 * misearch.el (multi-isearch-unload-function): New function.
2106 (misearch-unload-function): New alias. (Bug#19566)
2107
2108 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2111 class-constructor, and make it an alias for `identity'.
2112 Update all callers.
2113
2114 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2115 argument here (bug#19620)...
2116 (defclass): ...instead of in the constructor here.
2117
2118 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2119
2120 * emacs-lisp/package.el (package-archive-priorities):
2121 Specify correct type.
2122
2123 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2124
2125 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2126 Remove.
2127 (emacs-repository-get-version): Discard the Bazaar case.
2128 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2129 emacs-bzr-version-dirstate and move from version.el to here.
2130 (vc-bzr-working-revision): Use it.
2131
2132 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2135 eieio--scoped-class any more.
2136
2137 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2138 (eieio--scoped-class): Remove function.
2139 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2140 (eieio--slot-name-index): Don't check the :protection anymore.
2141 (eieio-initializing-object): Remove var.
2142 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2143
2144 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 Improve handling of doc-strings and describe-function for cl-generic.
2147
2148 * help-mode.el (help-function-def): Add optional arg `type'.
2149
2150 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2151 as it's a symbol.
2152 (help-fns-short-filename): New function.
2153 (describe-function-1): Use it. Use autoload-do-load.
2154
2155 * emacs-lisp/find-func.el: Use lexical-binding.
2156 (find-function-regexp): Don't rule out `defgeneric'.
2157 (find-function-regexp-alist): Document new possibility of including
2158 a function instead of a regexp.
2159 (find-function-search-for-symbol): Implement that new possibility.
2160 (find-function-library): Don't assume that `function' is a symbol.
2161 (find-function-do-it): Remove unused var `orig-buf'.
2162
2163 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2164 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2165 (eieio--method-optimize-primary): Don't mess with the docstring.
2166 (defgeneric): Keep the `args' in the docstring.
2167 (defmethod): Don't use the method's docstring for the generic
2168 function's docstring.
2169
2170 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2171 (eieio-defclass-autoload): Don't record the superclasses any more.
2172 (eieio-defclass-internal): Reuse the old class object if it was just an
2173 autoload stub.
2174 (eieio--class-precedence-list): Load the class if it's autoloaded.
2175
2176 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2177 override an autoload.
2178 (cl-generic-current-method-specializers): Replace dyn-bind variable
2179 with a lexically-scoped macro.
2180 (cl--generic-lambda): Update accordingly.
2181 (cl-generic-define-method): Record manually in the load-history with
2182 type `cl-defmethod'.
2183 (cl--generic-get-dispatcher): Minor optimization.
2184 (cl--generic-search-method): New function.
2185 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2186 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2187 specializers and the function's arguments.
2188
2189 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2190
2191 * emacs-lisp/package.el (package--read-pkg-desc):
2192 New function. Read a `define-package' form in current buffer.
2193 Return the pkg-desc, with desc-kind set to KIND.
2194 (package-dir-info): New function. Find package information for a
2195 directory. The return result is a `package-desc'.
2196 (package-install-from-buffer): Install packages from dired buffer.
2197 (package-install-file): Install packages from directory.
2198 (package-desc-suffix)
2199 (package-install-from-archive)
2200 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2201 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2202 value.
2203
2204 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2205
2206 * emacs-lisp/package.el: Provide repository priorities.
2207 (package-archive-priorities): New variable.
2208 (package--add-to-alist): New function.
2209 (package--add-to-archive-contents): Use it.
2210 (package-menu--find-upgrades): Use it as well. Small clean up to
2211 make the use of the package name here explicit.
2212 (package-archive-priority): New function.
2213 (package-desc-priority-version): New function.
2214
2215 2015-01-16 Daniel Colascione <dancol@dancol.org>
2216
2217 * cus-start.el (all): Make `ring-bell-function' customizable.
2218
2219 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2220
2221 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2222 vc-svn-after-dir-status's second argument. (Bug#19429)
2223
2224 2015-01-16 Samer Masterson <samer@samertm.com>
2225
2226 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2227 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2228
2229 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2230
2231 * dom.el (dom-strings): New function.
2232
2233 * files.el (directory-files-recursively): Don't use the word
2234 "path" for a file name.
2235
2236 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2237
2238 * calc/calc-units.el (math-units-in-expr-p)
2239 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2240 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2241
2242 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2245 (cl--labels-convert): Use it to ask the macro what is its replacement
2246 in the #'f case.
2247
2248 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2249 Return the value of the primary rather than the after method.
2250
2251 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2252 (eieio--generic-tagcode): New function.
2253 (cl-generic-tagcode-function): Use it.
2254 (eieio--generic-tag-types): New function.
2255 (cl-generic-tag-types-function): Use it.
2256 (eieio-object-p): Tighten up the test.
2257
2258 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2259
2260 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * emacs-lisp/cl-generic.el: New file.
2263
2264 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2265 (cl-load-time-value, cl-labels): Use closures rather than
2266 backquoted lambdas.
2267 (cl-macrolet): Use `eval' to create the function value, and support CL
2268 style arguments in for the defined macros.
2269
2270 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * net/eww.el: Use lexical-binding.
2273 (eww-links-at-point): Remove unused arg.
2274 (eww-mode-map): Inherit from special-mode-map.
2275 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2276
2277 2015-01-13 Alan Mackenzie <acm@muc.de>
2278
2279 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2280 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2281 New function which walks the stack to discover whether we're compiling
2282 or loading.
2283 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2284 (cc-bytecomp-is-loading): New defsubst.
2285 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2286 Use the above defsubsts.
2287 (cc-require-when-compile, cc-bytecomp-defvar)
2288 (cc-bytecomp-defun): Simplify conditionals.
2289 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2290 "Borrow" this function from cc-bytecomp.el.
2291 (c-get-current-file): Reformulate using the above.
2292 (c-lang-defconst): Prevent duplicate entries of file names in a
2293 symbol's 'source property.
2294 (c-lang-const): Use cc-bytecomp-is-compiling.
2295 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2296 Use cc-bytecomp-is-compiling.
2297
2298 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2301 (bug#19552).
2302
2303 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2304
2305 * menu-bar.el (menu-bar-goto-menu): Before calling
2306 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2307 (Bug#19554)
2308
2309 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2310
2311 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2312 cookie (Bug#19554).
2313
2314 * frame.el (frame-notice-user-settings): Remove code dealing with
2315 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2316 only if `window-system-frame-alist' or `default-frame-alist' ask
2317 for it.
2318 (make-frame): Update frame-adjust-size-history if needed.
2319
2320 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2321
2322 Have 'make' output better GEN names
2323 * Makefile.in (PHONY_EXTRAS): New macro.
2324 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2325 relevant files' time stamps are ignored.
2326 (custom-deps, $(lisp)/cus-load.el, finder-data)
2327 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2328 (custom-deps, $(lisp)/cus-load.el, finder-data)
2329 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2330 ($(lisp)/subdirs.el, update-subdirs):
2331 Output more-accurate destination names with GEN.
2332
2333 Say "ELC foo.elc" instead of "GEN foo.elc"
2334 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2335 New macros.
2336 ($(THEFILE)c, .el.elc): Use them.
2337
2338 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2339
2340 * files.el (directory-files-recursively): Do not include
2341 superfluous remote file names.
2342
2343 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2344
2345 * net/eww.el (eww): Interpret anything that looks like a protocol
2346 designator as a full URL.
2347
2348 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2349
2350 * net/shr.el (shr-urlify): Don't bother the user about
2351 invalidly-encoded display strings.
2352
2353 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2354
2355 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2356 (bug#19555).
2357
2358 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2359
2360 * net/eww.el (eww): Always interpret URLs that start with https?:
2361 as plain URLs, even if they have spaces in them (bug#19556).
2362 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2363 software" as an URL.
2364 (eww): Don't interpret "org/foo" as an URL.
2365 (eww): Clear the title when loading so that we don't display
2366 misleading information.
2367
2368 2015-01-10 Daniel Colascione <dancol@dancol.org>
2369
2370 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2371 by analogy with dired.
2372
2373 2015-01-09 Daniel Colascione <dancol@dancol.org>
2374
2375 * progmodes/js.el (js--function-heading-1-re)
2376 (js--function-prologue-beginning): Parse ES6 generator function
2377 declarations. (That is, "function* name()").
2378
2379 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2380
2381 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2382 that creates functions, and most of the sanity checks.
2383 Mark as obsolete the <class>-child-p function.
2384 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2385 (eieio--class, eieio--object): Use cl-defstruct.
2386 (eieio--object-num-slots): Define manually.
2387 (eieio-defclass-autoload): Use eieio--class-make.
2388 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2389 `(lambda...) definitions and most of the sanity checks to `defclass'.
2390 Mark as obsolete the <class>-list-p function, the <class> variable and
2391 the <initarg> variables. Use pcase-dolist.
2392 (eieio-defclass): New compatibility function.
2393 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2394 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2395
2396 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * emacs-lisp/eieio-generic.el: New file.
2399 * emacs-lisp/eieio-core.el: Move all generic function code to
2400 eieio-generic.el.
2401 (eieio--defmethod): Declare.
2402
2403 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2404 function code to eieio-generic.el.
2405 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2406 eieio-generic.el.
2407 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2408 to eieio--generic-call.
2409 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2410 <class>-child type.
2411
2412 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2415 Don't use <class> as a variable.
2416
2417 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2418 (call-next-method): Simplify.
2419 (clone): Obey eieio-backward-compatibility.
2420
2421 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2422 (eieio-read-generic): Use `generic-p' instead.
2423
2424 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2425 (eieio-defclass-autoload): Obey it.
2426 (eieio--class-object): Improve error behavior.
2427 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2428 every use site.
2429 (eieio--defgeneric-form-primary-only): Rename from
2430 eieio-defgeneric-form-primary-only; update all callers.
2431 (eieio--defgeneric-form-primary-only-one): Rename from
2432 eieio-defgeneric-form-primary-only-one; update all callers.
2433 (eieio-defgeneric-reset-generic-form)
2434 (eieio-defgeneric-reset-generic-form-primary-only)
2435 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2436 (eieio--method-optimize-primary): New function to replace them.
2437 (eieio--defmethod, eieio-defmethod): Use it.
2438 (eieio--perform-slot-validation): Rename from
2439 eieio-perform-slot-validation; update all callers.
2440 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2441 Change `class' to be a class object. Update all callers.
2442 (eieio--validate-class-slot-value): Rename from
2443 eieio-validate-class-slot-value. Change `class' to be a class object.
2444 Update all callers.
2445 (eieio-oset-default): Accept class object as well.
2446 (eieio--generic-call-primary-only): Rename from
2447 eieio-generic-call-primary-only. Update all callers.
2448
2449 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2450 Improve error messages.
2451 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2452 well as user-defined types. Emit errors for legacy types like
2453 <class>-child and <class>-list, if not eieio-backward-compatibility.
2454
2455 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2458 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2459 Change `class' arg to be a class object. Update all callers.
2460 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2461 (eieio-default-superclass): Set var to the class object.
2462 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2463 Change print behavior to affect class objects rather than
2464 class symbols.
2465
2466 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2467 (eieio-class-parents-fast): Remove macro.
2468 (eieio--class-option-assoc): Rename from class-option-assoc.
2469 Update all callers.
2470 (eieio--class-option): Rename from class-option. Change `class' arg to
2471 be a class object. Update all callers.
2472 (eieio--class-method-invocation-order): Rename from
2473 class-method-invocation-order. Change `class' arg to be a class
2474 object. Update all callers.
2475 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2476 a list of class objects rather than names.
2477 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2478 for accessors to class allocated slots.
2479 (eieio--perform-slot-validation-for-default): Rename from
2480 eieio-perform-slot-validation-for-default. Update all callers.
2481 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2482 Update all callers. Use push.
2483 (eieio-copy-parents-into-subclass): Adjust to new content of
2484 `parent' field. Use dolist.
2485 (eieio-oref): Remove support for providing a class rather than
2486 an object.
2487 (eieio-oref-default): Prefer class objects over class names.
2488 (eieio--slot-originating-class-p): Rename from
2489 eieio-slot-originating-class-p. Update all callers. Use `or'.
2490 (eieio--slot-name-index): Turn check into assertion.
2491 (eieio--class-slot-name-index): Rename from
2492 eieio-class-slot-name-index. Change `class' arg to be a class object.
2493 Update all callers.
2494 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2495 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2496 Update all callers.
2497 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2498 Update all callers.
2499 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2500 Update all callers.
2501 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2502 Update all callers.
2503 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2504 Update all callers. Adjust to new `parent' content.
2505 (eieio--class-precedence-list): Rename from -class-precedence-list.
2506 Update all callers.
2507 (eieio-generic-call): Use autoloadp and autoload-do-load.
2508 Slight simplification.
2509 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2510 return value of `eieio-generic-form'.
2511 (eieiomt-add): Index the hashtable with class objects rather than
2512 class names.
2513 (eieio-generic-form): Accept class objects as well.
2514
2515 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2516 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2517 (eieio-persistent-validate/fix-slot-value):
2518 Change `class' arg to be a class object. Update all callers.
2519
2520 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2523 additionally to class names.
2524
2525 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2526 (object): Remove first (constant) slot; rename second to `class-tag'.
2527 (eieio--object-class-object, eieio--object-class-name): New funs
2528 to replace eieio--object-class.
2529 (eieio--class-object, eieio--class-p): New functions.
2530 (same-class-fast-p): Make it a defsubst, change its implementation
2531 to check the class objects rather than their names.
2532 (eieio-object-p): Rewrite.
2533 (eieio-defclass): Adjust the object initialization according to the new
2534 object layout.
2535 (eieio--scoped-class): Declare it returns a class object (not a class
2536 name any more). Adjust calls accordingly (along with calls to
2537 eieio--with-scoped-class).
2538 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2539 its class arg to be a class object. Adjust callers accordingly.
2540 (eieio-slot-originating-class-p): Make its start-class arg a class
2541 object. Adjust all callers.
2542 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2543 Make its `class' arg a class object. Adjust all callers.
2544
2545 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2546 Use eieio--slot-name-index rather than eieio-slot-name-index.
2547
2548 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2551 name argument.
2552 (eieio-object-name): Use eieio-object-name-string.
2553 (eieio--object-names): New const.
2554 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2555 using a hashtable rather than a built-in slot.
2556 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2557 (clone): Don't mess with the object's "name".
2558
2559 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2560 (eieio-object-value-get): Use eieio-object-set-name-string.
2561
2562 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2563 (eieio--object): Remove `name' field.
2564 (eieio-defclass): Adjust to new convention where constructors don't
2565 take an "object name" any more.
2566 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2567 (eieio-validate-slot-value, eieio-oset-default)
2568 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2569 (eieio-generic-call-primary-only): Simplify.
2570
2571 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2572 Use call-next-method.
2573 (eieio-constructor): Rename from `constructor'.
2574 (eieio-persistent-convert-list-to-object): Drop objname.
2575 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2576 eieio--object-num-slots.
2577 (eieio-named): Use a normal slot.
2578 (slot-missing) <eieio-named>: Remove.
2579 (eieio-object-name-string, eieio-object-set-name-string, clone)
2580 <eieio-named>: New methods.
2581
2582 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2585 (method-*): Add a "eieio--" prefix to those constants.
2586
2587 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2588
2589 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2590
2591 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2594 `eieio-default-superclass'.
2595
2596 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2597
2598 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2599 (eieio-object-value-to-abstract): Simplify.
2600
2601 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2602 (eieio-build-class-alist): Use dolist.
2603 (eieio-all-generic-functions): Adjust to use of hashtables.
2604
2605 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2606 symbol-hashtable. It contains a hashtable instead of an obarray.
2607 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2608 `eieio-method-obarray'.
2609 (generic-primary-only-p, generic-primary-only-one-p):
2610 Slight optimization.
2611 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2612 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2613 (eieio-class-un-autoload): Use autoload-do-load.
2614 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2615 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2616 Don't hardcode the value of eieio--object-num-slots.
2617 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2618 Use a closure rather than a backquoted lambda.
2619 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2620 function-documentation property.
2621 (eieio-slot-originating-class-p, eieio-slot-name-index)
2622 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2623 (eieio-generic-form): Adjust to use of hashtables.
2624 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2625 additional class argument.
2626 (eieio-generic-call-methodname): Remove, unused.
2627
2628 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2629 Prefer \' to $.
2630
2631 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2632
2633 * simple.el (line-move-visual): When converting X pixel coordinate
2634 to temporary-goal-column, adjust the value for right-to-left
2635 screen lines. This fixes vertical-motion, next/prev-line, etc.
2636
2637 2015-01-08 Glenn Morris <rgm@gnu.org>
2638
2639 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2640
2641 2015-01-07 K. Handa <handa@gnu.org>
2642
2643 * international/ccl.el (define-ccl-program): Improve the docstring.
2644
2645 2015-01-06 Sam Steingold <sds@gnu.org>
2646
2647 * shell.el (shell-display-buffer-actions): Remove,
2648 use `display-buffer-alist' instead.
2649
2650 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2651
2652 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2653 to the references.
2654
2655 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * minibuffer.el (completion-category-defaults): New var.
2658 Set unicode-name to use substring completion.
2659 (completion-category-defaults): Set it to nil.
2660
2661 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2662
2663 Add mouse interaction to xref.
2664 * progmodes/xref.el (xref--button-map): New variable.
2665 (xref--mouse-2): New command.
2666 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2667 the inserted references.
2668
2669 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2670
2671 Less 'make' chatter for lisp dir
2672 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2673 to make it clearer that the caller must specify it.
2674 (compile-onefile): Remove, replacing by ...
2675 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2676 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2677 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2678 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2679 Use AM_V_GEN to lessen 'make' chatter.
2680 (.el.elc): Omit duplicate comment.
2681
2682 Less 'make' chatter in batch mode
2683 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2684 * emacs-lisp/bytecomp.el (byte-compile-file):
2685 * files.el (save-buffer, basic-save-buffer):
2686 * international/quail.el (quail-update-leim-list-file):
2687 Don't output messages like "Generating ..." in batch mode.
2688
2689 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2690
2691 Unbreak `mouse-action' property in text buttons.
2692 * button.el (push-button): Fix regression from 2012-12-06.
2693
2694 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2695
2696 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2697
2698 * menu-bar.el (menu-bar-goto-menu): Use it.
2699
2700 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2701
2702 * progmodes/xref.el (xref--window-configuration): New variable.
2703 (xref-show-location-at-point): New command.
2704 (xref--restore-window-configuration): New function.
2705 (xref-next-line, xref-prev-line): Delegate to
2706 `xref-show-location-at-point'.
2707 (xref--location-at-point): Don't signal the error.
2708 (xref-goto-xref): Do that here instead.
2709 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
2710 to `pre-command-hook'.
2711 (xref--xref-buffer-mode-map): Don't remap `next-line' and
2712 `previous-line'. Additionally bind `xref-next-line' and
2713 `xref-prev-line' to `n' and `p' respectively.
2714 Bind `xref-show-location-at-point' to `C-o'.
2715
2716 2015-01-01 Eli Zaretskii <eliz@gnu.org>
2717
2718 * tool-bar.el (tool-bar-local-item)
2719 (tool-bar-local-item-from-menu): Call force-mode-line-update to
2720 make sure the tool-bar changes show on display.
2721
2722 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
2723
2724 Sync with Tramp 2.2.11.
2725
2726 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
2727 Make an alias for `default-toplevel-value' if it doesn't exist.
2728
2729 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2730 Use `tramp-compat-delete-directory'.
2731
2732 * net/trampver.el: Update release number.
2733
2734 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
2735
2736 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
2737 for remote files. (Bug#19449)
2738
2739 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
2740
2741 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
2742
2743 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
2744
2745 Less 'make' chatter in lisp directory
2746 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
2747 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
2748 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
2749
2750 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
2751
2752 * info.el (info-display-manual): Limit the completion alternatives
2753 to currently visited manuals if prefix argument is non-nil.
2754
2755 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
2756
2757 * Makefile.in (semantic): Simplify.
2758
2759 2014-12-30 Juri Linkov <juri@linkov.net>
2760
2761 * net/eww.el (eww-isearch-next-buffer): New function.
2762 (eww-mode): Set multi-isearch-next-buffer-function to it.
2763
2764 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
2765
2766 * progmodes/xref.el (xref-find-definitions): Mention "no
2767 identifier at point" case in the docstring.
2768
2769 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
2770 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
2771 and `separator-tag-file' items.
2772
2773 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
2774
2775 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
2776 This is instead of system-name, which is both wrong here and obsolete.
2777 * desktop.el (desktop-save-frameset):
2778 * dnd.el (dnd-get-local-file-uri):
2779 * nxml/rng-uri.el (rng-uri-file-name-1):
2780 Prefer (system-name) to system-name, and avoid naming
2781 locals 'system-name'.
2782 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
2783
2784 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2785
2786 * menu-bar.el (menu-bar-next-tag-other-window)
2787 (menu-bar-next-tag): Remove.
2788
2789 2014-12-29 K. Handa <handa@gnu.org>
2790
2791 * international/mule.el (make-translation-table-from-alist):
2792 Accept nil or zero-length vector for FROM and TO.
2793
2794 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2795
2796 * net/eww.el (eww-mode): Truncate overlong lines for prettier
2797 display when resizing.
2798
2799 * net/shr.el (shr-width): Default to using the window width when
2800 rendering.
2801
2802 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2803
2804 Unbreak jumping to an alias's definition.
2805 * emacs-lisp/find-func.el (find-function-library): Return a pair
2806 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
2807 (find-function-noselect): Use it.
2808 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
2809 `elisp--xref-identifier-location', incorporate logic from
2810 `elisp--xref-find-definitions', use the changed
2811 `find-function-library' return value.
2812
2813 2014-12-29 Juri Linkov <juri@linkov.net>
2814
2815 * comint.el (comint-history-isearch-message): Use field-beginning
2816 instead of comint-line-beginning-position - that's more fixes for
2817 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2818 (comint-history-isearch-message): Fix args of isearch-message-prefix.
2819
2820 2014-12-29 Juri Linkov <juri@linkov.net>
2821
2822 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
2823 (vc-dir-mode-map): Bind it to "\C-o".
2824 (vc-dir-menu-map): Add it to menu.
2825
2826 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2827
2828 * progmodes/etags.el (find-tag-other-window)
2829 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
2830 (tags-apropos): Declare obsolete.
2831
2832 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
2833 with xref ones.
2834
2835 2014-12-28 Eli Zaretskii <eliz@gnu.org>
2836
2837 * international/mule.el (define-coding-system): Fix typos in the
2838 doc string.
2839
2840 2014-12-28 Kenichi Handa <handa@gnu.org>
2841
2842 * international/mule.el (define-coding-system): Improve the doc
2843 string.
2844
2845 2014-12-28 Ivan Shmakov <ivan@siamics.net>
2846
2847 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
2848 elements in tables (bug#19444).
2849
2850 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
2851 (bug#19445).
2852
2853 2014-12-28 Juri Linkov <juri@linkov.net>
2854
2855 * vc/compare-w.el: Require diff-mode for diff faces.
2856 (compare-windows-removed, compare-windows-added): New faces
2857 inheriting from diff faces.
2858 (compare-windows): Define obsolete face alias.
2859 (compare-windows-highlight): Replace face `compare-windows' with
2860 new faces `compare-windows-added' and `compare-windows-removed'
2861 (bug#19451).
2862 (compare-windows-get-recent-window): Signal an error when
2863 no other window is found (bug#19170).
2864
2865 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2866
2867 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
2868 Skip features that have no sources.
2869
2870 * simple.el (execute-extended-command):
2871 When `suggest-key-bindings' is nil, don't.
2872
2873 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2874
2875 python.el: Native readline completion.
2876 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
2877 (python-shell-completion-native-enable)
2878 (python-shell-completion-native-output-timeout): New defcustoms.
2879 (python-shell-completion-native-interpreter-disabled-p)
2880 (python-shell-completion-native-try)
2881 (python-shell-completion-native-setup)
2882 (python-shell-completion-native-turn-off)
2883 (python-shell-completion-native-turn-on)
2884 (python-shell-completion-native-turn-on-maybe)
2885 (python-shell-completion-native-turn-on-maybe-with-msg)
2886 (python-shell-completion-native-toggle): New functions.
2887 (python-shell-completion-native-get-completions): New function.
2888 (python-shell-completion-at-point): Use it.
2889
2890 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2891
2892 python.el: Enhance shell user interaction and deprecate
2893 python-shell-get-or-create-process.
2894 * progmodes/python.el (python-shell-get-process-or-error):
2895 New function.
2896 (python-shell-with-shell-buffer): Use it.
2897 (python-shell-send-string, python-shell-send-region)
2898 (python-shell-send-buffer, python-shell-send-defun)
2899 (python-shell-send-file, python-shell-switch-to-shell): Use it.
2900 Add argument MSG to display user-friendly message when no process
2901 is running.
2902 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
2903 (python-shell-make-comint): Rename argument SHOW from POP.
2904 Use display-buffer instead of pop-to-buffer.
2905 (run-python): Doc fix. Return process.
2906 (python-shell-get-or-create-process): Make obsolete.
2907
2908 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2909
2910 * progmodes/python.el (python-shell-buffer-substring):
2911 Handle cornercase when region sent starts at point-min.
2912
2913 2014-12-27 Eli Zaretskii <eliz@gnu.org>
2914
2915 * language/misc-lang.el (composition-function-table): Add Syriac
2916 characters and also ZWJ/ZWNJ.
2917 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
2918 for the details.
2919
2920 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2921
2922 python.el: Fix message when sending region.
2923 * progmodes/python.el (python-shell-send-region): Rename argument
2924 send-main from nomain. Fix message.
2925 (python-shell-send-buffer): Rename argument send-main from arg.
2926
2927 python.el: Cleanup temp files even with eval errors.
2928 * progmodes/python.el (python-shell-send-file): Make file-name
2929 mandatory. Fix temp file removal in the majority of cases.
2930
2931 python.el: Handle file encoding for shell.
2932 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
2933 (python-shell--save-temp-file): Write file with proper encoding.
2934 (python-shell-buffer-substring): Add coding cookie for detected
2935 encoding to generated content. Fix blank lines when removing
2936 if-name-main block.
2937 (python-shell-send-file): Handle file encoding.
2938 (python-info-encoding-from-cookie)
2939 (python-info-encoding): New functions.
2940
2941 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2942
2943 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2944 Use `tramp-rsh-end-of-line', it ought to be more robust.
2945
2946 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
2949 (bug#19397).
2950
2951 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
2954
2955 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
2956 as end-of-line delimeter for passwords, when running on MS Windows.
2957
2958 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
2961 of indent-line-function (bug#19433).
2962
2963 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2964
2965 Fix line numbers on Python shell.
2966 * progmodes/python.el (python-shell--save-temp-file): Do not
2967 append coding cookie.
2968 (python-shell-send-string): Generalize for
2969 python-shell-send-region.
2970 (python--use-fake-loc): Delete var.
2971 (python-shell-buffer-substring): Cleanup fake-loc logic.
2972 (python-shell-send-region): Remove fake-loc logic, simplify.
2973
2974 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2975
2976 * progmodes/python.el (python-indent-post-self-insert-function):
2977 Make colon to re-indent only for dedenters, handling
2978 multiline-statements gracefully.
2979
2980 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2981
2982 * net/tramp.el (tramp-handle-insert-file-contents):
2983 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
2984
2985 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2986
2987 * net/tramp-sh.el (tramp-send-command-and-read): New optional
2988 arg MARKER.
2989 (tramp-get-remote-path): Use it.
2990
2991 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * subr.el (redisplay-dont-pause): Mark as obsolete.
2994
2995 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2996
2997 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
2998 (tramp-accept-process-output): Use nil as argument for
2999 `accept-process-output', when there is a gateway prepended.
3000
3001 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3002 wrong debug buffer.
3003 (tramp-gw-open-connection): Set process coding system 'binary.
3004 (tramp-gw-open-network-stream): Handle HTTP error 403.
3005
3006 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3007 wrong debug buffer.
3008 (tramp-maybe-open-connection): Set connection property "gateway".
3009
3010 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * subr.el (sit-for): Tweak docstring (bug#19381).
3013
3014 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3015
3016 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3017 stage to after `diff-index' (bug#19386).
3018
3019 2014-12-27 João Távora <joaotavora@gmail.com>
3020
3021 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3022 `electric-pair-mode' (bug#19356).
3023
3024 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3025
3026 elisp-xref-find: Don't create buffers eagerly.
3027
3028 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3029 into `elisp--company-location'.
3030 (elisp--identifier-completion-table): Rename to
3031 `elisp--identifier-completion-table', and do not include just any
3032 symbols with a property list.
3033 (elisp-completion-at-point): Revert the 2014-12-25 change.
3034 (elisp--xref-identifier-file): New function.
3035 (elisp--xref-find-definitions): Use it.
3036
3037 * emacs-lisp/find-func.el (find-function-library): New function,
3038 extracted from `find-function-noselect'.
3039
3040 * progmodes/xref.el (xref-elisp-location): New class.
3041 (xref-make-elisp-location): New function.
3042 (xref-location-marker): New implementation.
3043
3044 2014-12-27 Juri Linkov <juri@linkov.net>
3045
3046 * minibuffer.el (minibuffer-completion-help):
3047 Use shrink-window-if-larger-than-buffer in window-height
3048 when temp-buffer-resize-mode is nil.
3049
3050 * window.el (with-displayed-buffer-window): Remove window-height
3051 from the action alist in the temp-buffer-window-show call
3052 when window-height is handled explicitly afterwards (bug#19355).
3053
3054 2014-12-27 Juri Linkov <juri@linkov.net>
3055
3056 Support subdirectories when saving places in dired.
3057 * saveplace.el (toggle-save-place, save-place-to-alist)
3058 (save-places-to-alist, save-place-dired-hook):
3059 Use dired-current-directory instead of dired-directory (bug#19436).
3060 (save-place-dired-hook): Add check for alist to make the new
3061 format future-proof to allow other possible formats.
3062
3063 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3064
3065 python.el: Generate clearer shell buffer names.
3066 * progmodes/python.el (python-shell-get-process-name)
3067 (python-shell-internal-get-process-name): Use `buffer-name`.
3068 (python-shell-internal-get-or-create-process): Simplify.
3069
3070 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3071
3072 Add basic xref apropos implementation to elisp-mode.
3073
3074 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3075 Filter out nil results.
3076 (elisp--xref-find-apropos): New function.
3077 (elisp-xref-find): Use it.
3078
3079 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3080
3081 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3082
3083 * dired-aux.el (dired-maybe-insert-subdir):
3084 Make dired-maybe-insert-subdir always skip trivial files.
3085
3086 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3087 Dmitry Gutov <dgutov@yandex.ru>
3088
3089 Consolidate cross-referencing commands.
3090
3091 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3092 `C-x 5 .' from etags.el to xref.el.
3093
3094 * progmodes/xref.el: New file.
3095
3096 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3097 (elisp--identifier-location): New function, extracted from
3098 `elisp--company-location'.
3099 (elisp--company-location): Use it.
3100 (elisp--identifier-completion-table): New variable.
3101 (elisp-completion-at-point): Use it.
3102 (emacs-lisp-mode): Set the local values of `xref-find-function'
3103 and `xref-identifier-completion-table-function'.
3104 (elisp-xref-find, elisp--xref-find-definitions)
3105 (elisp--xref-identifier-completion-table): New functions.
3106
3107 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3108 favor of `xref--marker-ring'.
3109 (tags-lazy-completion-table): Autoload.
3110 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3111 (find-tag-noselect): Use `xref-push-marker-stack'.
3112 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3113 (etags--xref-limit): New constant.
3114 (etags-xref-find, etags--xref-find-definitions): New functions.
3115
3116 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3117
3118 * cus-start.el (resize-mini-windows): Make it customizable.
3119
3120 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3121
3122 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3123 to (info "(emacs)Contributing"). (Bug#19299)
3124
3125 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3126
3127 * window.el (mouse-autoselect-window-position-1): New variable.
3128 (mouse-autoselect-window-cancel)
3129 (mouse-autoselect-window-select, handle-select-window):
3130 With delayed autoselection select window only if mouse moves after
3131 selecting its frame.
3132
3133 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3136 remote file names. (Bug#18782)
3137
3138 2014-12-23 Sam Steingold <sds@gnu.org>
3139
3140 * shell.el (shell-display-buffer-actions): New user option.
3141 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3142 `pop-to-buffer-same-window'.
3143
3144 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3147 (js-syntax-propertize-regexp): Use it to recognize "slash in
3148 a character class" (bug#19397).
3149
3150 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3151
3152 * completion.el: Use post-self-insert-hook (bug#19400).
3153 (completion-separator-self-insert-command)
3154 (completion-separator-self-insert-autofilling): Remove.
3155 (completion-separator-chars): New var.
3156 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3157 of changing the keymap.
3158 (completion--post-self-insert): New function.
3159 (dynamic-completion-mode): Use it instead of rebinding keys.
3160 (cmpl--completion-string): Rename from completion-string.
3161 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3162
3163 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3164
3165 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3166 by leveraging `syntax-ppss'.
3167
3168 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3169
3170 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3171
3172 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3173
3174 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3175
3176 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3177
3178 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3179
3180 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3181
3182 * let-alist.el (let-alist): Enable access to deeper alists by
3183 using dots inside the dotted symbols.
3184
3185 2014-12-19 Alan Mackenzie <acm@muc.de>
3186
3187 Make C++11 uniform init syntax work.
3188 New keywords "final" and "override".
3189 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3190 New function.
3191 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3192 new function.
3193 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3194 carefully for "are we at a declarator?" using
3195 c-back-over-member-initializers.
3196 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3197 and "override" in the C++ value.
3198
3199 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3200
3201 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3202
3203 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3204
3205 * net/nsm.el (nsm-save-host): Don't save the host name twice
3206 (bug#19269).
3207
3208 2014-12-18 Sam Steingold <sds@gnu.org>
3209
3210 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3211 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3212 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3213 * menu-bar.el (menu-bar-buffer-vector): Extract from
3214 `menu-bar-update-buffers'.
3215 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3216 (buffer-menu-open): New user command, bound globally to C-f10,
3217 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3218 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3219 convert the value returned by `mouse-buffer-menu-map' to a list
3220 acceptable to `popup-menu' for `buffer-menu-open'.
3221
3222 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3223
3224 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3225
3226 2014-12-18 Sam Steingold <sds@gnu.org>
3227
3228 * emacs-lisp/package.el: Avoid compilation warning by declaring
3229 the `find-library-name' function.
3230 (package-activate-1): Fix the `with-demoted-errors' calls:
3231 the first argument must be a string literal.
3232
3233 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3234
3235 Add code for "preserving" window sizes.
3236 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3237 `preserve-size' t.
3238 (dired-mark-pop-up): Preserve size of window showing marked files.
3239 * electric.el (Electric-pop-up-window):
3240 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3241 with `preserve-size' t.
3242 * minibuffer.el (minibuffer-completion-help):
3243 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3244 (Bug#19355). Preserve size of completions window.
3245 * register.el (register-preview): Preserve size of register
3246 preview window.
3247 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3248 with `preserve-size' t (Bug#1291).
3249 * window.el (with-displayed-buffer-window): Add calls to
3250 `window-preserve-size'.
3251 (window-min-pixel-size, window--preservable-size)
3252 (window-preserve-size, window-preserved-size)
3253 (window--preserve-size, window--min-size-ignore-p): New functions.
3254 (window-min-size, window-min-delta, window--resizable)
3255 (window--resize-this-window, split-window-below)
3256 (split-window-right): Amend doc-string.
3257 (window--min-size-1, window-sizable, window--size-fixed-1)
3258 (window-size-fixed-p, window--min-delta-1)
3259 (frame-windows-min-size, window--max-delta-1, window-resize)
3260 (window--resize-child-windows, window--resize-siblings)
3261 (enlarge-window, shrink-window, split-window): Handle preserving
3262 window sizes.
3263 (adjust-window-trailing-edge): Handle preserving window
3264 sizes. Signal user-error instead of an error when there's no
3265 window above or below.
3266 (window--state-put-2): Handle horizontal scroll bars.
3267 (window--display-buffer): Call `preserve-size' if asked for.
3268 (display-buffer): Mention `preserve-size' alist member in doc-string.
3269 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3270 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3271 scroll bar on ispell's windows. Don't count window lines and
3272 don't deal with dedicated windows.
3273 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3274 do the window handling.
3275 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3276 (ispell-display-buffer): New function to reuse, create and fit
3277 window to ispell's buffers. (Bug#3413)
3278
3279 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3280
3281 * emacs-lisp/package.el (package-activate): Do not re-activate or
3282 reload the dependencies (bug#19390).
3283
3284 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3287 (c-update-modeline):
3288 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3289 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3290 (c-mode-base-map): Use c-subword-mode.
3291
3292 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3293
3294 * international/mule-diag.el (describe-font-internal):
3295 Display additional info returned by font-info.
3296
3297 * linum.el (linum--face-width): Rename from linum--face-height,
3298 and use the new functionality of font-info.
3299 (linum-update-window): Use linum--face-width and frame-char-width,
3300 instead of approximating with height.
3301
3302 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3303
3304 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3305 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3306
3307 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3308 and a docstring.
3309 (package-activate): Call itself on dependencies on PACKAGE with
3310 the same FORCE argument. Pass FORCE as RELOAD into
3311 `package-activate-1' (bug#19390).
3312
3313 2014-12-17 Sam Steingold <sds@gnu.org>
3314
3315 * emacs-lisp/package.el (package--list-loaded-files):
3316 Handle `(nil ...)' elements in `load-history'.
3317
3318 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3319
3320 * net/tramp-sh.el (tramp-histfile-override): New variable.
3321 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3322
3323 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3324
3325 * vc/vc.el: Improve `dir-status-files' description.
3326
3327 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3328 file-truename on load-history elements (bug#19390).
3329
3330 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3331
3332 * emacs-lisp/seq.el: New file.
3333
3334 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3337 is 0 and there is no input pending.
3338
3339 2014-12-15 Juri Linkov <juri@linkov.net>
3340
3341 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3342 only on the return value (bug#19383).
3343
3344 2014-12-15 Juri Linkov <juri@linkov.net>
3345
3346 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3347 the wrapped search by the length of the search string to be able
3348 to lazy-highlight the whole search string at point (bug#19353).
3349
3350 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3351
3352 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3353
3354 2014-12-14 Alan Mackenzie <acm@muc.de>
3355
3356 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3357
3358 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3359
3360 * let-alist.el: Add lexical binding.
3361
3362 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3363
3364 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3365 for the "Version" column, to accomodate date-and-time-based versions.
3366
3367 2014-12-14 Cameron Desautels <camdez@gmail.com>
3368
3369 * cus-edit.el (custom-unsaved-options): New function, extracted
3370 from `customize-unsaved'.
3371 (custom-unsaved): Use it.
3372 (custom-prompt-customize-unsaved-options): New function.
3373 (Bug#19328)
3374
3375 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3376
3377 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3378
3379 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3380
3381 Move ASYNC argument to the `diff' VC command to the fifth
3382 position, for better compatibility with existing third-party code,
3383 and document it.
3384
3385 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3386 backend `diff' command in the last position.
3387
3388 * vc/vc-svn.el (vc-svn-diff):
3389 * vc/vc-src.el (vc-src-diff):
3390 * vc/vc-sccs.el (vc-sccs-diff):
3391 * vc/vc-rcs.el (vc-rcs-diff):
3392 * vc/vc-mtn.el (vc-mtn-diff):
3393 * vc/vc-hg.el (vc-hg-diff):
3394 * vc/vc-git.el (vc-git-diff):
3395 * vc/vc-dav.el (vc-dav-diff):
3396 * vc/vc-cvs.el (vc-cvs-diff):
3397 * vc/vc-bzr.el (vc-bzr-diff):
3398 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3399
3400 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3401
3402 * emacs-lisp/cconv.el (cconv--analyze-use):
3403 Rename from cconv--analyse-use.
3404 (cconv--analyze-function): Rename from cconv--analyse-function.
3405 (cconv-analyze-form): Rename from cconv-analyse-form.
3406
3407 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3408
3409 * net/shr.el (shr-next-link): Don't error out at eob.
3410
3411 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3412
3413 * isearch.el (isearch-open-necessary-overlays): Open overlay
3414 ending at point (bug#19333).
3415
3416 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3417
3418 * net/shr.el (shr-fold-text): New function.
3419 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3420 alt/title texts.
3421 (shr-fold-text): Inhibit state from being altered.
3422
3423 * files.el (directory-files-recursively): Really check whether
3424 files are symlinks.
3425 (directory-name-p): New function.
3426 (directory-files-recursively): Use it.
3427
3428 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3429
3430 * emacs-lisp/package.el (package--list-loaded-files): New function
3431 to list files in a given directory which correspond to already
3432 loaded files.
3433 (package-activate-1): Reload files given by `package--list-loaded-files'.
3434 Fix bug#10125, bug#18443, and bug#18448.
3435
3436 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3437
3438 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3439
3440 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3441
3442 * simple.el (password-word-equivalents): Add "passcode", used for
3443 numeric secrets like PINs or RSA tokens.
3444
3445 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3446
3447 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3448 order to determine `tramp-own-remote-path'.
3449
3450 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3451
3452 * progmodes/python.el (python-shell-parse-command):
3453 Quote `python-shell-interpreter`. (Bug#19289)
3454
3455 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3458 (python-indent-levels): Document extra value.
3459 (python-indent-calculate-indentation): Return `noindent' in strings.
3460 (python-indent-post-self-insert-function)
3461 (python-indent-calculate-levels): Handle new value.
3462
3463 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3464
3465 * net/network-stream.el (network-stream-open-starttls): No need to
3466 check for the availability of `gnutls-available-p'.
3467
3468 * files.el (directory-files-recursively): Don't follow symlinks to
3469 other directories.
3470
3471 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3472
3473 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3474 * vc/vc.el: latest-on-branch-p is no longer a public method.
3475
3476 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3477 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3478 Remove `rollback' method, to be replaced in the future by uncommit.
3479
3480 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3481
3482 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3483 that there is empty output.
3484
3485 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3488 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3489
3490 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3491
3492 * let-alist.el: Add new package and macro.
3493
3494 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3495
3496 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3497 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3498 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3499
3500 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3501
3502 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3503 trouble with ls over ftp. These flags result in ls returning no
3504 output, causing Tramp-breakage. (bug#19192)
3505
3506 2014-12-10 Andreas Schwab <schwab@suse.de>
3507
3508 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3509
3510 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3511
3512 * files.el (directory-files-recursively):
3513 Use `file-name-all-completions' instead of `directory-files' for
3514 greater speed.
3515
3516 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3517 <object>.
3518
3519 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3520
3521 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3522 and Puppetfile.
3523 (ruby-toggle-string-quotes): New command that allows you to quickly
3524 toggle between single-quoted and double-quoted string literals.
3525
3526 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3527
3528 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3529 list, avoids problems witt names containing hyphens.
3530
3531 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3532
3533 Sync with upstream verilog-mode revision aa4b777.
3534 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3535 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3536 (verilog-set-auto-endcomments): Automatically comment property/
3537 endproperty blocks to match other similar blocks like sequence/
3538 endsequence, function/endfunction, etc. Reported by Alex Reed.
3539 (verilog-set-auto-endcomments): Fix end comments for functions of
3540 type void, etc. Detect the function- or task-name when
3541 auto-commenting blocks that lack an explicit portlist.
3542 Reported by Alex Reed.
3543 (verilog-nameable-item-re): Fix nameable items that can have an
3544 end-identifier to include endchecker, endgroup, endprogram,
3545 endproperty, and endsequence. Reported by Alex Reed.
3546 (verilog-preprocessor-re, verilog-beg-of-statement):
3547 Fix indentation of property/endproperty around pre-processor
3548 directives. Reported by Alex Reed.
3549 (verilog-label-be): When auto-commenting a buffer, consider
3550 auto-comments on all known keywords (not just a subset thereof).
3551 Reported by Alex Reed.
3552 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3553 Reported by Alex Reed.
3554 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3555 Fix hanging with many curly-bracket pairs, bug663.
3556 (verilog-do-indent): Fix electric tab deleting form-feeds.
3557 Note caused by indent-line-to deleting tabls pre 24.5.
3558 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3559 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3560 (verilog-read-always-signals, verilog-auto-sense-sigs)
3561 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3562 bug844. Reported by Greg Hilton.
3563
3564 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3565
3566 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3567 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3568 'foreach', and 'do' keywords.
3569 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3570 Fix labeling do-while blocks, bug842.
3571 (verilog-backward-token): Fix indenting sensitivity lists with
3572 named events, bug840.
3573
3574 2014-12-09 Reto Zimmermann <reto@gnu.org>
3575
3576 Sync with upstream vhdl mode v3.36.1.
3577 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3578 (vhdl-compiler-alist): Anchor all error regexps.
3579 (vhdl-compile-use-local-error-regexp): Change default to nil.
3580 (vhdl-asort, vhdl-anot-head-p): Remove.
3581 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3582 Remove optional argument of vhdl-aget and update all callers.
3583 (vhdl-import-project): Also set `vhdl-compiler'.
3584
3585 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3586
3587 * files.el (find-files): New function.
3588
3589 * net/shr.el (shr-dom-print): Don't print comments.
3590 (shr-tag-svg): Give inline SVG images the right type.
3591
3592 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3593 certificates in the header line.
3594 (eww-invalid-certificate, eww-valid-certificate): New faces.
3595
3596 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3597
3598 * progmodes/python.el (inferior-python-mode):
3599 Set `comint-prompt-read-only` to `t` only locally.
3600
3601 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3602
3603 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3604 (nsm-format-certificate): Include more data about the connection.
3605 (nsm-query): Fill the text to that it looks nicer.
3606 (nsm-check-protocol): Also warn if using SSL3 or older.
3607
3608 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3611
3612 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3613
3614 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3615
3616 * info.el (Info-mode-map): Remove left-over binding.
3617
3618 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3619 (avl-tree--root): Remove redundant defsetf.
3620
3621 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3622
3623 * net/nsm.el (network-security-level): Remove the detailed
3624 description, which was already outdated, and refer the users to
3625 the manual.
3626 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3627 (bug#19153).
3628
3629 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3630
3631 * net/eww.el (eww-buffers-mode): New major mode.
3632 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3633 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3634 New commands/functions (bug#19131).
3635
3636 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3637
3638 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3639 'file-name-handler-alist' since the gnutls library can't use those
3640 (bug#15866).
3641
3642 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3643
3644 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3645 when FILES is non-nil (bug#19304).
3646
3647 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3648
3649 * vc/vc-arch.el: Move to obsolete directory so a test framework
3650 won't trip over bit-rot in it. There has been no Arch snapshot
3651 for nine years.
3652
3653 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3654
3655 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3656 previous behavior.
3657 (eww-copy-page-url): Add doc string.
3658
3659 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3660
3661 * net/eww.el (eww): Move history recording here...
3662 (eww-browse-url): ... from here (bug#19253).
3663
3664 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3665 iterating over possible buffer names.)
3666
3667 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3668
3669 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3670 (eww-current-buffer): Compilation fix for bug#18550 patch.
3671
3672 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3673
3674 * net/eww.el (eww-list-histories): Restore the history in the
3675 correct buffer (bug#18550).
3676
3677 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3678
3679 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3680 displaying shortened titles first (bug#16398).
3681
3682 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
3683
3684 * progmodes/python.el: Recognize docstrings.
3685 (python-docstring-at-p, python-font-lock-syntactic-face-function):
3686 New functions.
3687 (python-mode): Use them.
3688
3689 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
3690
3691 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3692 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3693 (newsticker--treeview-create-groups-menu)
3694 (newsticker--treeview-create-tree-menu): Remove.
3695 (newsticker--treeview-tree-open-menu): New.
3696 (newsticker-treeview-tree-click): Pass event to
3697 `newsticker-treeview-tree-do-click'.
3698 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3699
3700 2014-12-05 Juri Linkov <juri@linkov.net>
3701
3702 * comint.el (comint-history-isearch-search)
3703 (comint-history-isearch-wrap): Use field-beginning instead of
3704 comint-line-beginning-position.
3705 (comint-send-input): Go to the end of the field instead of the end
3706 of the line to accept whole multi-line input.
3707 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3708
3709 2014-12-05 Juri Linkov <juri@linkov.net>
3710
3711 * minibuffer.el (minibuffer-completion-help):
3712 Compare selected-window with minibuffer-window to check whether
3713 completions should be displayed near the minibuffer. (Bug#17809)
3714 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
3715
3716 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
3717
3718 * vc/vc-mtn.el (vc-mtn-root):
3719 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
3720
3721 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
3724 of the whole pipe when indenting an opening keyword after a |.
3725 Generalize this treatment to opening keywords like "while" (bug#18031).
3726
3727 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * simple.el (newline): Place the hook buffer-locally,
3730 to make sure it's first.
3731
3732 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3733 Fix handling of symbols with different syntax at beginning/end or with
3734 symbol rather than word syntax.
3735
3736 2014-12-05 Eli Zaretskii <eliz@gnu.org>
3737
3738 * simple.el (line-move): If noninteractive, call line-move-1, not
3739 forward-line, since the former is compatible with line-move-visual
3740 both in terms of the column to which it moves and the return
3741 value. (Bug#19211)
3742
3743 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * vc/ediff-init.el (ediff-odd-p): Remove.
3746 (ediff-background-face): Use cl-oddp instead.
3747 (ediff-buffer-live-p): Make it a defsubst.
3748
3749 * tooltip.el (tooltip-region-active-p): Remove.
3750
3751 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
3752 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
3753
3754 * fringe.el (fringe-bitmap-p): Make it a plain function.
3755
3756 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
3757 (class-p, generic-p, eieio-object-p, class-abstract-p):
3758 Make them defsubst, so as to avoid corner case problems where
3759 the arg might be evaluated in the condition-case, or it can't be passed
3760 to higher-order functions like `cl-some'.
3761
3762 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3763
3764 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
3765 and remove old menu-related code.
3766
3767 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3768
3769 * net/eww.el (eww-display-pdf): Let mailcap determine how to
3770 display PDF files (bug#19270).
3771
3772 2014-12-05 Juri Linkov <juri@linkov.net>
3773
3774 Compare with the most recent window by default.
3775 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
3776 (compare-windows-get-recent-window)
3777 (compare-windows-get-next-window): New functions.
3778 (compare-windows, compare-windows-sync-default-function):
3779 Use `compare-windows-get-window-function' instead of `next-window'.
3780 (compare-windows): Add diff/match messages with region boundaries.
3781 (Bug#19170)
3782
3783 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
3786
3787 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3788
3789 * net/shr.el (shr--extract-best-source): Ignore non-text children.
3790
3791 2014-12-04 Eli Zaretskii <eliz@gnu.org>
3792
3793 Implement copying of a buffer portion while preserving visual order.
3794 * simple.el (bidi-directional-controls-chars)
3795 (bidi-directional-non-controls-chars): New variables.
3796 (squeeze-bidi-context-1, squeeze-bidi-context)
3797 (line-substring-with-bidi-context)
3798 (buffer-substring-with-bidi-context): New functions.
3799
3800 * files.el (file-tree-walk): Doc fix.
3801
3802 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
3803 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3804
3805 * autoinsert.el (auto-insert-alist): Update C/C++ header and
3806 program support to match more extensions. Replace non-alnum
3807 characters when generating include guards (headers) and check for
3808 more extensions when generating includes (programs)
3809 (bug#19254).
3810
3811 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
3812
3813 * files.el (file-tree-walk): Fix docstring.
3814
3815 2014-12-03 Karl Fogel <kfogel@red-bean.com>
3816
3817 Fix bug whereby saving files hung in VC hook.
3818
3819 Saving a buffer visiting a file under SVN control would hang if
3820 the remote repository were unreachable, because the VC hooks tried
3821 to run "svn status -u" on the file, where the "-u" tells svn to
3822 get update information from the remote repository.
3823 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
3824
3825 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
3826 argument and always pass "-v" to "svn status", never "-u".
3827
3828 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * emacs-lisp/inline.el: Fix up copyright header.
3831 (inline-quote, inline-const-p, inline-const-val, inline-error):
3832 Silence compiler warnings.
3833 (inline-letevals): Fix edebug spec.
3834 (inline--testconst-p): Consider lambda expressions as const-p.
3835 (inline--getconst-val): Use inline--testconst-p.
3836
3837 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
3838 and change default to stay in the minibuffer when called from
3839 the minibuffer (bug#19250).
3840 (lazy-completion-table): Use this new argument to preserve the
3841 old behavior.
3842
3843 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
3844 incorrect lexical elements (bug#19250).
3845
3846 2014-12-03 A. N. Other <none@example.com>
3847
3848 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
3849
3850 2014-12-02 Glenn Morris <rgm@gnu.org>
3851
3852 * whitespace.el (whitespace-big-indent-regexp): Add :version.
3853
3854 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
3855
3856 * subr.el (filter): New macro. Because it's just silly for a Lisp
3857 not to have this in 2014. And VC needs it.
3858
3859 * vc.el: All backends: API simplification: Abolish dir-status.
3860 It's replaced by dir-status-files.
3861
3862 * vc.el: All backends: API simplification: Remove 4th
3863 'default-state' argument from vc-dir-status files and its backend
3864 methods - no backend method ever set it. It was used only in the
3865 fallback method to to set a default of 'up-to-date, though a
3866 convoluted call chain obscured this.
3867
3868 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
3869
3870 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
3871 improving behavior on directories using multiple file-oriented VCSes.
3872
3873 * vc/vc.el: All backends: API simplification; clear-headers
3874 is no longer a public method. It is now local to the one place
3875 it's used, in the RCS steal-lock method.
3876
3877 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3878
3879 * vc/vc.el: In all backends: API simplification; could-register
3880 is no longer a public method. (vc-cvs.el still has a private
3881 implementation.)
3882
3883 * vc/vc.el: In all backends: API cleanup; the backend diff method
3884 takes an explicit async flag. This eliminates a particularly ugly
3885 global.
3886
3887 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
3888 VC randomly/unpredictably fails without it; cause not yet established.
3889
3890 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 Merge some of the differences from the standalone CC-mode.
3893 The main change is to only use the `category' text-property only when
3894 available. For that many calls are changed to use c-get-char-property,
3895 c-next-single-property-change, c-sc-scan-lists,
3896 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
3897
3898 * progmodes/cc-mode.el (c-just-done-before-change): New var.
3899 (c-basic-common-init): Initialize it.
3900 (c-common-init): Only use mode-require-final-newline when available.
3901 (c-before-change): Check and set c-just-done-before-change.
3902 (c-after-change): Re-set c-just-done-before-change.
3903 (c-advise-fl-for-region): New macro.
3904 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
3905 (font-lock-after-change-function, jit-lock-after-change):
3906 Advise if needed.
3907
3908 * progmodes/cc-langs.el (c-modified-constant): New lang var.
3909 (c-known-type-key): Don't make a list just to throw it away.
3910
3911 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
3912 Handle the case where categories are not available.
3913 (c-record-parse-state-state, c-replay-parse-state-state):
3914 Handle marker values.
3915 (c-before-change-check-<>-operators): Look for the `syntax-table'
3916 property rather than for the corresponding `category'.
3917 (c-looking-at-decl-block): Remove unused var
3918 `c-disallow-comma-in-<>-arglists'.
3919 (c-forward-<>-arglist-recur): Remove unused var
3920 `orig-record-found-types'.
3921
3922 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
3923 (c-use-category): New const.
3924 (c-next-single-property-change): New macro.
3925 (c-region-is-active-p): Prefer region-active-p when available.
3926 (c-search-backward-char-property): Fix old min/max typo; probably
3927 a copy/paste error.
3928 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
3929 Turn them into macros that obey c-use-category.
3930 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
3931 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
3932 (c-sc-scan-lists, c-sc-parse-partial-sexp)
3933 (c-looking-at-non-alphnumspace): New macros.
3934 (c-sc-parse-partial-sexp-no-category): New function.
3935 (c-emacs-features): Add `category-properties' element.
3936
3937 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
3938 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
3939 not available.
3940 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
3941 (c-indent-line-or-region): Use c-region-is-active-p.
3942
3943 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
3944 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
3945 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
3946 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
3947 (cc-bytecomp-obsolete-fun): Delete unused functions.
3948
3949 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
3950
3951 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3952
3953 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
3954 dom.el changes.
3955
3956 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
3959 current "project" rather than just the current directory.
3960 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
3961 the file names make sense.
3962
3963 * vc/smerge-mode.el (smerge-swap): New command.
3964
3965 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
3966
3967 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
3968
3969 * net/newst-treeview.el (newsticker--treeview-item-show):
3970 Check window liveliness before measuring its width.
3971
3972 * net/newst-backend.el (newsticker--get-news-by-url-callback):
3973 Pass correct status to `newsticker--sentinel-work'.
3974 (newsticker--sentinel-work): Use "newsticker--download-error" as
3975 guid in order to prevent multiple "Could not download..."
3976 messages. (Bug#19166)
3977
3978 2014-12-01 Ivan Shmakov <ivan@siamics.net>
3979
3980 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
3981 correct buffer (bug#19225).
3982
3983 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3984
3985 * net/nsm.el (network-security-level): Change the default to `medium'.
3986
3987 * net/eww.el (eww): Leave point in a place that doesn't cause
3988 scrolling when displaying "Loading...".
3989
3990 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3991
3992 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
3993 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
3994 'merge-branch'. Prompting for merge revisions is pushed down to
3995 the back ends; this fixes a layering violation that caused bad
3996 behavior with SVN.
3997
3998 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3999 vc-stay-local-p and repository-hostname are no longer public
4000 methods. Only the CVS and SVN backends used these, and the SVN
4001 support was conditioned out because svn status -v is too slow.
4002 The CVS back end retains this machinery and the vc-stay-local
4003 configuration variable now only affects it.
4004
4005 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4006
4007 * emacs-lisp/inline.el: New file.
4008
4009 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4010
4011 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4012 vc-state-heuristic is no longer a public method, having been
4013 removed where it is redundant, unnecessary, or known buggy.
4014 This eliminated all backends except CVS. Eliminates bug#7850.
4015
4016 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4017 Eliminate vc-mistrust-permissions. It was only relevant to the
4018 RCS and SCCS back ends and defaulted to t. Code now always
4019 mistrusts permissions - by actual measurement the effect on
4020 performance is negligible. As a side effect bug#11490 is now
4021 irrelevant.
4022
4023 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4024 vc-workfile-unchanged-p is no longer a public method (but the RCS
4025 and SCCS back ends retain it as a private method used in state
4026 computation). This method was redundant with vc-state and usually
4027 implemented as a trivial call to same. Fixes the failure mode
4028 described in bug#694.
4029
4030 * vc/vc.el: All backends: API simplification; init-revision is
4031 gone, and vc-registered functions no longer take an
4032 initial-revision argument.
4033
4034 2014-11-29 Glenn Morris <rgm@gnu.org>
4035
4036 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4037 (vc-src-master-templates): Fix :version tags.
4038
4039 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4040
4041 * outline.el (outline-move-subtree-down): Refactor and improve code.
4042
4043 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4044 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * outline.el (outline-move-subtree-down): Make sure we can move
4047 forward to find the end of the subtree and the insertion point
4048 (bug#19102).
4049
4050 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4051
4052 * progmodes/python.el (python-shell-completion-setup-code):
4053 Use __builtin__ module (or builtins in Python 3) and catch all errors
4054 when importing readline and rlcompleter.
4055
4056 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4057
4058 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4059 (todo-revert-buffer): New function.
4060 (todo-modes-set-1): Use it as the buffer-local value of
4061 revert-buffer-function.
4062
4063 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4064
4065 * calendar/todo-mode.el (todo-mode): If called interactively, just
4066 display a message saying to call todo-show to enter Todo mode
4067 (Bug#19112).
4068
4069 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4070
4071 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4072 (Bug#18579)
4073
4074 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4075 files. (Bug#18579)
4076
4077 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4078
4079 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4080 remote `buffer-file-name'.
4081
4082 2014-11-29 Leo Liu <sdl.web@gmail.com>
4083
4084 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4085
4086 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4087
4088 Set PYTHONUNBUFFERED on shell startup.
4089
4090 * progmodes/python.el (python-shell-unbuffered): New var.
4091 (python-shell-calculate-process-environment): Use it.
4092
4093 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4094
4095 * net/tramp.el (tramp-action-password): Clean password on subsequent
4096 attempts even if there was no wrong password indication. (Bug#19047)
4097
4098 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4099 fallback.
4100 (tramp-open-connection-setup-interactive-shell): No need to check
4101 for nil as `tramp-get-remote-locale' return value.
4102
4103 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4104
4105 * vc/vc-git.el (vc-git-command, vc-git--call):
4106 Bind coding-system-for-read and coding-system-for-write to
4107 vc-git-commits-coding-system.
4108 (vc-git-previous-revision): Use "~1" instead of "^", since the
4109 latter is a special character for MS-Windows system shells.
4110
4111 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4112
4113 Improve XEmacs compatibility.
4114
4115 * net/tramp.el (tramp-autoload-file-name-handler):
4116 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4117 exist in XEmacs.
4118 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4119 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4120 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4121 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4122 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4123 * net/tramp-cache.el (tramp-get-file-property):
4124 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4125 Use `time-less-p' and `time-subtract, respectively.
4126
4127 * net/tramp-adb.el (top): Do not require time-date.el.
4128
4129 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4130
4131 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4132 Check, whether `utf-8' is a valid coding system.
4133
4134 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4135
4136 * vc/vc.el (vc-retrieve-tag): Doc fix.
4137
4138 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4141 (bug#19152).
4142
4143 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4144
4145 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4146 * help.el (help-window-old-frame): New variable.
4147 (help-window-select): Default to nil (Bug#11039).
4148 Rewrite doc-string.
4149 (help-window-setup): When the help window appears on another
4150 frame and `help-window-select' is non-nil, give that frame input
4151 focus too (Bug#19012).
4152 (with-help-window): Store selected frame in
4153 help-window-old-frame.
4154
4155 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4156
4157 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4158 nil value for `newsticker-groups-filename'.
4159
4160 2014-11-28 Daiki Ueno <ueno@gnu.org>
4161
4162 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4163 (epa-sign-region, epa-encrypt-region):
4164 Use `epg-context-set-{passphrase,progress}-callback', instead of
4165 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4166 Reported by José A. Romero L.
4167
4168 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4169
4170 * net/eww.el (eww-restore-history):
4171 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4172
4173 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4174
4175 * net/newst-backend.el (newsticker--parse-atom-1.0):
4176 Handle embedded (x)html in summary node.
4177
4178 2014-11-27 Sam Steingold <sds@gnu.org>
4179
4180 * menu-bar.el (menu-bar-open): When everything else fails,
4181 use (mouse-menu-bar-map).
4182
4183 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4184
4185 * net/newst-treeview.el (newsticker-groups-filename):
4186 Change default value to nil. Point out that variable is obsolete in doc
4187 string.
4188 (newsticker--treeview-load): Change wording of the questions the
4189 user is asked when `newsticker-groups-filename' is found to be
4190 used and we offer to read and remove the groups file. (Bug#19165)
4191
4192 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4193
4194 * net/eww.el (eww): Record the new URL immediately, so that if the
4195 HTTP fetch fails, we have the right URL in the buffer.
4196 (eww-process-text-input): Don't shorten the input field if
4197 deleting at the last character (bug#19085).
4198 (eww-restore-history): Inhibit change functions while restoring
4199 the history.
4200 (eww-process-text-input): Fix deletion at the start of the field, too.
4201 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4202 (eww-process-text-input): Try to keep track of the size more reliably.
4203
4204 * dom.el (dom-pp): New function.
4205
4206 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4207
4208 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4209 Don't assume --long is the default for "bzr log", always specify
4210 it explicitly, in case the user defined an alias for 'log' that
4211 uses some other format.
4212
4213 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4214
4215 * progmodes/python.el (python-eldoc--get-doc-at-point):
4216 Strip shell output before returning. (bug#18794)
4217
4218 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4219
4220 Fix indentation before `!=' and after `+='. Originally reported
4221 in https://github.com/mooz/js2-mode/issues/174.
4222 * progmodes/js.el (js--indent-operator-re): Make assignments and
4223 (in)equality operator a separate case.
4224 (js--continued-expression-p): Escape the second `+' in the regexp.
4225
4226 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4229
4230 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4231
4232 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4233 when querying about new certificates.
4234
4235 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4236
4237 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4238 can be strings.
4239 (dom-elements): Protect against non-text nodes.
4240 (dom-non-text-children): New function.
4241
4242 * net/eww.el (eww-tag-title): Use `dom-text'.
4243
4244 2014-11-26 Sam Steingold <sds@gnu.org>
4245
4246 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4247
4248 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4249
4250 * net/eww.el (eww-highest-readability): More dom.el fixes.
4251
4252 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4253
4254 * net/newst-backend.el (newsticker--parse-generic-items):
4255 Take care of UIDs when adding elements to cache.
4256
4257 2014-11-26 Alan Mackenzie <acm@muc.de>
4258
4259 Remove spurious reference to symbol category_properties.
4260 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4261
4262 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4263
4264 * net/eww.el: Use the new dom.el accessors throughout.
4265
4266 * net/shr.el: Ditto.
4267
4268 * dom.el: New file.
4269
4270 2014-11-26 Glenn Morris <rgm@gnu.org>
4271
4272 * arc-mode.el (archive-visit-single-files): Add :version.
4273
4274 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4275
4276 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4277 elements.
4278 (nsm-warnings-ok-p): The new version of this function always
4279 returned nil when everything was OK.
4280
4281 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4282
4283 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4284
4285 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4286 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4287
4288 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4289
4290 * emacs-lisp/byte-run.el (function-put): Match argument names to
4291 docstring.
4292
4293 2014-11-24 Sam Steingold <sds@gnu.org>
4294
4295 * vc/vc-hooks.el (vc-directory-exclusion-list):
4296 Fix a trivial typo (bug#19171).
4297
4298 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * vc/vc-hooks.el (vc-state-base-face): Don't override
4301 mode-line-inactive.
4302
4303 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4304
4305 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4306 (eww-process-text-input): Inhibit read only so that input fields
4307 don't get shortened (bug#19085).
4308
4309 2014-11-24 Leo Liu <sdl.web@gmail.com>
4310
4311 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4312
4313 * window.el (with-temp-buffer-window)
4314 (with-current-buffer-window, with-displayed-buffer-window):
4315 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4316 * emacs-lisp/cl-lib.el (substring):
4317 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4318
4319 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4320
4321 * isearch.el (isearch-update): Don't assume
4322 pos-visible-in-window-p will return nil when point is hscrolled
4323 out of view. (Bug#19157)
4324
4325 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4326
4327 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4328 (eww-follow-link): Follow in new buffer in case of prefix
4329 argument, open externally with double prefix (bug#19130).
4330
4331 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4332
4333 * net/eww.el (eww-display-html): Decode the document-defined charset.
4334 (eww): Pop to the *eww* buffer immediately after executing the
4335 `M-x eww' command to avoid having buffers pop up later.
4336 (eww-display-html): Don't pop the *eww* buffer.
4337 (eww-display-raw): Ditto.
4338 (eww-display-image): Ditto.
4339 (eww-follow-link): Make going to #targets in the page work again.
4340
4341 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4342
4343 * net/eww.el (eww-suggest-uris): New variable.
4344 (eww-suggested-uris): New function.
4345 (eww): Default to URL under point.
4346 (eww-links-at-point): New function.
4347
4348 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4349
4350 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4351
4352 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4353
4354 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4355
4356 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4357
4358 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4359 (eww-display-raw): Use it (bug#16225).
4360
4361 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4362
4363 * net/nsm.el (network-security-level): Rename from
4364 `nsm-security-level' and documented.
4365
4366 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4367 we're sending a password.
4368
4369 * net/nsm.el: New file that implements a Network Security Manager.
4370
4371 * net/network-stream.el (open-network-stream): Add a new
4372 :warn-unless-encrypted parameter.
4373 (network-stream-open-plain): Allow warning unless encrypted.
4374 (network-stream-open-starttls): Call the Network Security Manager.
4375 (network-stream-open-tls): Ditto.
4376
4377 2014-11-23 Leo Liu <sdl.web@gmail.com>
4378
4379 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4380 (calendar-chinese-to-absolute-for-diary)
4381 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4382 Handle leap months in Chinese calendar. (Bug#18953)
4383
4384 2014-11-22 Alan Mackenzie <acm@muc.de>
4385
4386 Fix error with `mark-defun' and "protected:" in C++ Mode.
4387 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4388 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4389
4390 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4391
4392 * net/newst-backend.el (newsticker--sentinel-work):
4393 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4394
4395 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4396
4397 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4398 (tramp-sh-handle-process-file): Propagate `process-environment'.
4399
4400 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4401 Tramp propagates environment variables now.
4402
4403 2014-11-22 Eric S. Raymond <esr@snark>
4404
4405 * vc/vc-filewise.el: New file to isolate code used only by the
4406 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4407 live in vc.el and certainly not in vc-hooks.el.
4408
4409 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4410 This is preparatory to isolating all the 'master' functions
4411 used only by the file-oriented back ends. With this done first,
4412 the substantive diffs will be easier to read.
4413
4414 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4415
4416 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4417 that is recognized by `help-mode'.
4418
4419 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * desktop.el (desktop-create-buffer): Use activate-mark to set
4422 `mark-active' (bug#19058).
4423
4424 2014-11-21 Eric S. Raymond <esr@snark>
4425
4426 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4427 nil state.
4428
4429 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4430
4431 * vc/vc.el (vc-deduce-fileset): Support invocation from
4432 *vc-change-log* buffer. (Bug#19084)
4433
4434 2014-11-13 Matthew Leach <matthew@mattleach.net>
4435
4436 * arc-mode.el (archive-visit-single-files): New.
4437 (archive-mode): Visit file if archive contains a single file.
4438 (Bug#1702)
4439
4440 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4441
4442 * vc/vc.el: Fix a typo in the commentary.
4443
4444 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4445
4446 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4447 testing and a real log-view mode.
4448
4449 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4450 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4451 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4452 checkout methods; where it matters (which is only in SCCS and RCS)
4453 files are always checked out editable. This may actually have
4454 been dynamically true already - it looks like the vc-next-action
4455 code evolved past visiting the other case. Tested with RCS.
4456
4457 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4458 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4459 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4460 argument from the backend checkin methods. Only the RCS, SCCS,
4461 and CVS back ends tried to do anything with it, and that code was
4462 never exercised. Chiseling away the cruft of decades...
4463
4464 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4465
4466 * net/eww.el (eww-render): Remove a no-op :title setting.
4467
4468 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4469
4470 * net/eww.el (eww-history-limit): New variable.
4471 (eww-save-history): Use it (bug#19105).
4472 (eww-reload): Reload the page in the right buffer.
4473
4474 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4475
4476 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4477
4478 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4479
4480 * net/eww.el (eww-desktop-remove-duplicates)
4481 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4482 (eww-mode): Set up desktop mode (bug#18010).
4483 (eww-desktop-data-save, eww-desktop-data-1)
4484 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4485 (eww-restore-desktop): New functions.
4486
4487 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4488
4489 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4490 correct buffer. (Bug#19101)
4491
4492 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4493
4494 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4495 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4496
4497 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4498
4499 * ido.el (ido-bury-buffer-at-head): New command.
4500 (ido-buffer-completion-map): Bind it to C-S-b.
4501
4502 2014-11-18 Juri Linkov <juri@linkov.net>
4503
4504 * simple.el (next-line-or-history-element): Wrap next-line
4505 in with-no-warnings.
4506 (previous-line-or-history-element): Wrap previous-line
4507 in with-no-warnings.
4508
4509 2014-11-18 Juri Linkov <juri@linkov.net>
4510
4511 * progmodes/grep.el (grep-compute-defaults):
4512 Compute grep-highlight-matches before its use.
4513
4514 2014-11-18 Juri Linkov <juri@linkov.net>
4515
4516 * replace.el (query-replace-from-to-separator): Turn defvar into
4517 defcustom. Wrap char-displayable-p in ignore-errors because an
4518 attempt to autoload char-displayable-p fails during pre-loading.
4519 Move (propertize "\0" ... 'separator t) out of customizable part
4520 to query-replace-read-from.
4521 (query-replace-read-from): Call custom-reevaluate-setting on
4522 query-replace-from-to-separator to reevaluate the separator
4523 depending on the return value of char-displayable-p.
4524 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4525
4526 2014-11-18 Juri Linkov <juri@linkov.net>
4527
4528 * bindings.el (minibuffer-local-map): Rebind [down] from
4529 next-history-element to next-line-or-history-element, and [up]
4530 from previous-history-element to previous-line-or-history-element.
4531
4532 * simple.el (next-line-or-history-element)
4533 (previous-line-or-history-element): New commands.
4534 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4535
4536 2014-11-18 Leo Liu <sdl.web@gmail.com>
4537
4538 * emacs-lisp/nadvice.el (define-advice): New macro.
4539 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4540 Add define-advice.
4541 (lisp-font-lock-keywords-1): Add define-advice.
4542
4543 2014-11-18 Daiki Ueno <ueno@gnu.org>
4544
4545 * epg.el (epg-context): New slot EDIT-CALLBACK.
4546 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4547 (epg-reset): Reset EDIT-CALLBACK of the context.
4548 (epg-start-edit-key): New function.
4549 (epg-edit-key): New function.
4550
4551 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4552
4553 Port new time stamp handling to Emacs 23.2.
4554 This fix is for Gnus. Reported by Katsumi Yamaoka.
4555 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4556 Use eval-and-compile, not eval-when-compile.
4557
4558 2014-11-18 Daiki Ueno <ueno@gnu.org>
4559
4560 * epg.el (epg-context-set-passphrase-callback)
4561 (epg-context-set-progress-callback): Check if the CALLBACK
4562 argument is a function, instead of a cons.
4563
4564 2014-11-18 Daiki Ueno <ueno@gnu.org>
4565
4566 * epa-file.el (epa-file-insert-file-contents)
4567 (epa-file-write-region): Remove redundant check of
4568 epa-pinentry-mode.
4569 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4570 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4571 epa-pinentry-mode.
4572
4573 2014-11-18 Daiki Ueno <ueno@gnu.org>
4574
4575 * epa-file.el (epa-file-insert-file-contents): Don't show
4576 "*Error*" buffer if input file does not exist.
4577 Reported by Herbert J. Skuhra.
4578
4579 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4580 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4581
4582 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4583 An alternative version of the patch from bug#13871.
4584 (c-operators): Add "alignof".
4585 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4586 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4587 (c-modifier-kwds): Add "thread_local".
4588 (c-constant-kwds): Add "nullptr".
4589
4590 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4591
4592 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4593 New variables for specifying tildify pattern and representation of
4594 a hard space -- a no-break space by default -- respectively.
4595 Being buffer-local they are much easier to handle than
4596 `tildify-string-alist' and `tildify-pattern-alist' respectively
4597 that have been used so far. They also works better with derived
4598 modes.
4599 (tildify-foreach-region-function): New variable specifying
4600 a function determining portions of buffer that should be
4601 tildified. It allows major modes to create a filtering function
4602 more elaborate than a set of regular expressions. Initialized to
4603 `tildify--deprecated-ignore-evironments' by default to handle now
4604 deprecated `tildify-ignored-environments-alist' variable.
4605 (tildify--foreach-region): A new function that takes
4606 `tildify-foreach-region-function' into account and calls callback
4607 for regions of the buffer that should be tildified.
4608 (tildify-foreach-ignore-environments): A new function which can be
4609 partially applied and used as `tildify-foreach-region-function'.
4610 (tildify-ignored-environments-alist, tildify-pattern)
4611 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4612 (tildify--find-env): Rename from `tildify-find-env' and mark as
4613 obsolete.
4614 (tildify--deprecated-ignore-evironments): New function,
4615 immediately marked as obsolete, used to handle deprecated
4616 `tildify-ignored-environments-alist'.
4617
4618 * textmodes/tex-mode.el (tex-common-initialization):
4619 Set `tildify-space-string' and `tildify-foreach-region-function'
4620 variables in all variants of TeX mode since `tildify-string-alist'
4621 and `tildify-ignored-environments-alist' are now empty by default.
4622
4623 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4624 If encoding supports it use no-break space instead of character
4625 entity; this changes previous default which used a numeric
4626 reference.
4627
4628 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4629 If encoding does not support no-break space, use numeric reference;
4630 this changes previous default which used named entity (“&nbsp;”)
4631 in HTML mode.
4632
4633 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4634
4635 * calendar/icalendar.el (icalendar-export-alarms):
4636 New customizable variable. (Bug#5433)
4637 (icalendar-export-region): Export alarms as specified in
4638 `icalendar-export-alarms'.
4639 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4640 New functions for exporting alarms.
4641
4642 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643
4644 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4645
4646 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4647
4648 Port new time stamp handling to old Emacs and to XEmacs.
4649 This is needed for Gnus, which copies time-date.el and which
4650 runs on older Emacs implementations.
4651 * calendar/time-date.el (with-decoded-time-value):
4652 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4653 (encode-time-value, with-decoded-time-value):
4654 Obsolete only if new Emacs.
4655 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4656
4657 Improve time stamp handling, and be more consistent about it.
4658 This implements a suggestion made in:
4659 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4660 Among other things, this means timer.el no longer needs to
4661 autoload the time-date module.
4662 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4663 * arc-mode.el (archive-ar-summarize):
4664 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4665 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4666 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4667 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4668 * proced.el (proced-time-lessp):
4669 * timezone.el (timezone-time-from-absolute):
4670 * type-break.el (type-break-schedule, type-break-time-sum):
4671 Simplify by using new functionality.
4672 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4673 Do not return time values in obsolete and undocumented (HI . LO)
4674 format; use (HI LO) instead.
4675 * calendar/time-date.el (with-decoded-time-value):
4676 Treat 'nil' as current time. This is mostly for XEmacs.
4677 (encode-time-value, with-decoded-time-value): Obsolete.
4678 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4679 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4680 * ldefs-boot.el: Update to match new time-date.el
4681 * proced.el: Do not require time-date.
4682
4683 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4684
4685 * net/eww.el (eww-mode): Make the buffer read-only.
4686 (eww-form-text): Inhibit read-only-ness in text input fields
4687 (bug#16476).
4688
4689 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * simple.el (execute-extended-command--shorter): Cut search here.
4692 (execute-extended-command): Instead of here.
4693
4694 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4695
4696 * progmodes/python.el (python-mode): Avoid use of set-local to
4697 keep Emacs 24.x compatibility.
4698
4699 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4700
4701 * net/shr.el (shr): Move to the new defgroup `web'.
4702
4703 * net/eww.el (eww): Ditto.
4704
4705 * simple.el (execute-extended-command): Don't show the help
4706 message if the binding isn't significantly shorter than the
4707 M-x command the user typed (bug#19013).
4708
4709 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
4710
4711 * calendar/icalendar.el (icalendar--convert-tz-offset):
4712 Return complete cons when offsets of standard time and daylight saving
4713 time are equal.
4714 (icalendar-export-region): Fix unbound variable warning.
4715
4716 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4717
4718 * progmodes/python.el (run-python): Allow CMD to be optional and
4719 default it to a safe command, even for Windows. (bug#18596)
4720
4721 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4722
4723 * progmodes/python.el (python-shell-calculate-command):
4724 Rename from python-shell-parse-command. Cleanup.
4725 (run-python, run-python-internal): Use it.
4726 (python-shell-calculate-pythonpath): Rename from
4727 python-new-pythonpath.
4728 (python-shell-calculate-process-environment): Use it.
4729 (python-shell-calculate-exec-path): Add comment.
4730
4731 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
4732
4733 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
4734 for date handling.
4735
4736 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
4737
4738 * version.el (emacs-repository-get-version): Use git rev-parse
4739 instead of git log.
4740
4741 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4742
4743 * progmodes/python.el (python-indent-calculate-levels):
4744 Fix indentation behavior multiline dedenter statement. (Bug#18432)
4745
4746 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4747
4748 * progmodes/python.el (python-indent-region):
4749 Use python-indent-line and skip special cases. (Bug#18843)
4750
4751 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
4752
4753 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
4754 envelope-from when reporting through sendmail (bug#19054).
4755
4756 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
4757
4758 Add faces for the VC modeline state indicator.
4759 * vc/vc-hooks.el:
4760 (vc-state-faces, vc-state-base-face)
4761 (vc-up-to-date-state, vc-needs-update-state)
4762 (vc-locked-state, vc-locally-added-state)
4763 (vc-conflict-state, vc-removed-state)
4764 (vc-missing-state, vc-edited-state):
4765 New faces.
4766 (vc-default-mode-line-string): Use them
4767
4768 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
4771
4772 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4773
4774 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
4775
4776 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
4777
4778 * progmodes/python.el (python-eldoc-setup-code): Enhance string
4779 type checks, simplify printing. (Bug#18962)
4780
4781 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
4782
4783 * progmodes/python.el (python-shell-font-lock-kill-buffer):
4784 (python-shell-font-lock-with-font-lock-buffer)
4785 (python-shell-get-buffer, python-ffap-module-path):
4786 Use `derived-mode-p' instead of equality test on `major-mode'.
4787
4788 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4789
4790 * progmodes/python.el (python-shell-virtualenv-root): Rename from
4791 python-shell-virtualenv-path.
4792 (python-shell-internal-get-process-name)
4793 (python-shell-calculate-process-environment)
4794 (python-shell-calculate-exec-path): Use it.
4795
4796 2014-11-14 Eli Zaretskii <eliz@gnu.org>
4797
4798 * bindings.el (search-map): Fix last change: don't use 'kbd' in
4799 bindings.el, since it is not yet loaded when bindings.el is
4800 preloaded.
4801
4802 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4803
4804 * progmodes/python.el (python-shell-completion-get-completions):
4805 Fix previous merge.
4806
4807 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4808
4809 * net/eww.el (eww-render): Don't set the title to the URL.
4810
4811 2014-11-13 Ulrich Müller <ulm@gentoo.org>
4812
4813 * version.el (emacs-repository-get-version): Call `git log'
4814 command with proper format argument (bug#19049).
4815
4816 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4817
4818 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
4819
4820 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4821
4822 * net/eww.el (eww-search-words): New command (bug#16258).
4823
4824 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4825
4826 * net/shr.el (shr-inhibit-images): Add a doc string.
4827
4828 * net/eww.el (eww-after-render-hook): New variable.
4829 (eww-render): Use it.
4830
4831 * net/shr.el (shr-descend): Don't descend further than
4832 `max-specpdl-size' allows (bug#16587).
4833 (shr-depth): New variable.
4834 (shr-warning): New variable.
4835
4836 2014-11-13 Ivan Shmakov <ivan@siamics.net>
4837
4838 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
4839 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
4840
4841 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4842
4843 * net/eww.el (eww): Add comment to clarify.
4844
4845 * net/shr.el (shr-parse-image-data): Remove blocked bits from
4846 external SVG images.
4847 (shr-tag-object): Display images in <object> forms (bug#16244).
4848 (shr-tag-table): Also insert <objects> after the tables.
4849
4850 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
4851
4852 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
4853
4854 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4855
4856 * net/eww.el (eww-form-file): Fix version number.
4857
4858 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4859
4860 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
4861
4862 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4863
4864 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
4865 (eww-submit-file): New key map of file upload.
4866 (eww-form-file): New file upload button and file name context.
4867 (eww-select-file): Select file and display selected file name.
4868 (eww-tag-input): Handle input tag of file type.
4869 (eww-update-field): Add point offset.
4870 (eww-submit): Add submit with multipart/form-data.
4871
4872 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4873
4874 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
4875 Allow taking a buffer to render data in. This allows using several
4876 eww buffers (bug#16211).
4877
4878 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
4879
4880 * net/eww.el (eww-download-callback): Save only the file contents,
4881 not the headers.
4882
4883 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4884
4885 * net/eww.el (eww-data): New plist to store all the data relevant
4886 to a single page, used throughout the file instead of the
4887 variables `eww-current-url', `eww-current-dom',
4888 `eww-current-source', and `eww-current-title'.
4889 (eww-readable): Copy over pertinent data from the parent page.
4890 (eww-save-history): Don't let the history grow infinitely.
4891
4892 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
4893 `eww-up-url', `eww-home-url', `eww-start-url' and
4894 `eww-contents-url' and put the data into the `eww-data' plist.
4895 This allow restoring these values after going back in the history.
4896
4897 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
4898
4899 Allow VTIMEZONE where daylight and standard time zones are equal.
4900 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
4901 * calendar/icalendar.el (icalendar--convert-tz-offset):
4902 Support timezone without daylight saving time.
4903
4904 2014-11-10 Glenn Morris <rgm@gnu.org>
4905
4906 * startup.el (command-line): Handle nil elements in load-path.
4907
4908 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * help.el (view-lossage): Include the actual commands run.
4911
4912 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
4913
4914 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
4915 no state is specified. (Bug#18964)
4916
4917 2014-11-09 Eric Ludlam <zappo@gnu.org>
4918
4919 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4920 Set eieio-cog (current group) to g, which is an improved form of input
4921 group.
4922
4923 2014-11-09 Juri Linkov <juri@jurta.org>
4924
4925 * isearch.el (isearch-message-prefix): Show "Multi-file" and
4926 "Multi-buffer" instead of "Multi". (Bug#13592)
4927
4928 * misearch.el (multi-isearch-file-list):
4929 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
4930 (multi-isearch-end): Reset multi-isearch-buffer-list and
4931 multi-isearch-file-list to nil.
4932
4933 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4936 Don't call byte-compile-preprocess since the result will go through
4937 cconv.
4938 (byte-compile-output-docform): Handle uninterned `name' correctly.
4939 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
4940 to circumvent byte-compiler bug.
4941
4942 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
4943 (macroexp--compiler-macro): Remove left-over debug code.
4944
4945 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
4946
4947 2014-11-08 Juri Linkov <juri@jurta.org>
4948
4949 * simple.el (shell-command): Use buffer-name when output-buffer is
4950 a buffer. (Bug#18096)
4951
4952 2014-11-08 Juri Linkov <juri@jurta.org>
4953
4954 * minibuffer.el (minibuffer-completion-help): Compare this-command
4955 with completion-at-point. (Bug#17809)
4956
4957 2014-11-08 Glenn Morris <rgm@gnu.org>
4958
4959 * emacs-lisp/bytecomp.el (byte-compile-report-error):
4960 Allow the argument to be a string. Due to the vague doc,
4961 it was already being used this way.
4962
4963 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4964
4965 * net/tramp.el (tramp-check-cached-permissions): Include hop in
4966 the constructed Tramp file name. (Bug#18943)
4967
4968 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
4971 (bug#18952).
4972 (cua-set-mark, cua--post-command-handler-1):
4973 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
4974
4975 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4976
4977 * files.el (file-name-non-special): Wrap the call of
4978 `insert-file-contents' by `unwind-protect', in order to set the
4979 buffer's file name anyway. (Bug#18891)
4980
4981 2014-11-08 Alan Mackenzie <acm@muc.de>
4982
4983 Fix wrong bound to c-font-lock-declarators.
4984 * progmodes/cc-fonts.el (c-font-lock-declarations):
4985 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
4986 the buffer is sometimes narrowed to less than "limit" (e.g., in
4987 the presence of macros). (Bug#18948)
4988
4989 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4990
4991 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
4992 only when message appeared in minibuffer. (Bug#18891)
4993
4994 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
4995 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4996 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
4997 case of errors.
4998
4999 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5000
5001 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5002 Don't compile before eval in `eval-and-compile'.
5003 (byte-compile-arglist-warn): Add check for defining macros after their
5004 first use. Check call use even if the function is fboundp.
5005
5006 2014-11-08 Richard Stallman <rms@gnu.org>
5007
5008 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5009 Check more carefully for mime-part specified character set.
5010 Check for mime-part Content Transfer Encoding.
5011 Notify if no armor found.
5012
5013 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5014
5015 * faces.el (face-set-after-frame-default): Enable running
5016 `window-configuration-change-hook'.
5017
5018 2014-11-07 Juri Linkov <juri@jurta.org>
5019
5020 * replace.el: History for query replace pairs.
5021 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5022 (query-replace-from-to-separator): New variable.
5023 (query-replace-read-from): Let-bind query-replace-from-to-history
5024 to a list of FROM-TO strings created from query-replace-defaults
5025 and separated by query-replace-from-to-separator. Use it as
5026 the history while reading from the minibuffer. Split the returned
5027 string by the separator to get FROM and TO parts, and add them
5028 to the history variables.
5029 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5030 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5031 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5032
5033 * isearch.el (isearch-text-char-description): Keep characters
5034 intact and put formatted strings with the `display' property.
5035
5036 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5037
5038 * cus-start.el (frame-resize-pixelwise): Fix group.
5039 (frame-inhibit-implied-resize): Add entry.
5040
5041 2014-11-07 Daiki Ueno <ueno@gnu.org>
5042
5043 * epa.el (epa-pinentry-mode): New user option.
5044 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5045 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5046 * epa-file.el (epa-file-insert-file-contents)
5047 (epa-file-write-region): Respect epa-pinentry-mode.
5048
5049 2014-11-07 Daiki Ueno <ueno@gnu.org>
5050
5051 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5052 (bug#18979). Reported by Hideki Saito.
5053
5054 2014-11-06 Daiki Ueno <ueno@gnu.org>
5055
5056 * emacs-lisp/package.el (package--display-verify-error): New function.
5057 (package--check-signature): Use it to display output sent to stderr.
5058
5059 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * subr.el (pop): Don't call the getter twice (bug#18968).
5062
5063 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5064 uses of `funcall'.
5065
5066 2014-11-06 Daiki Ueno <ueno@gnu.org>
5067
5068 * epa.el (epa-error-buffer): New variable.
5069 (epa-display-error): New function.
5070 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5071 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5072 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5073 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5074 Use setf instead of epg-context-set-*.
5075 * epa-file.el (epa-file-insert-file-contents):
5076 Use epa-display-error instead of epa-display-info. Mimic the behavior
5077 of jka-compr when decryption program is not found.
5078 (epa-file-write-region): Use epa-display-error instead of
5079 epa-display-info.
5080
5081 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * vc/vc.el (vc-region-history): New command.
5084 (vc-print-log-internal): Use cl-some.
5085
5086 * vc/vc-git.el (vc-git-region-history): New function.
5087 (vc-git-region-history-mode-map)
5088 (vc-git--log-view-long-font-lock-keywords)
5089 (vc-git-region-history-font-lock-keywords): New vars.
5090 (vc-git-region-history-font-lock): New function.
5091 (vc-git-region-history-mode): New major mode.
5092
5093 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5094
5095 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5096 uses string-trim.
5097
5098 2014-11-05 Daiki Ueno <ueno@gnu.org>
5099
5100 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5101 (epg-error-output): New buffer-local variable.
5102 (epg--start): Initialize epg-error-output.
5103 (epg--process-filter): Record output lines sent to stderr, in
5104 epg-error-output.
5105 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5106 slot of context.
5107 * epa-file.el (epa-file-insert-file-contents): On error, display
5108 output sent to stderr.
5109 (epa-file-write-region): Likewise.
5110
5111 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5112
5113 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5114 returned by load-average.
5115
5116 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5117
5118 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5119 a local copy; setting `inhibit-file-name-handlers' proper might be
5120 more performant. (Bug#18751)
5121
5122 2014-11-05 Glenn Morris <rgm@gnu.org>
5123
5124 * mail/emacsbug.el (report-emacs-bug): No longer include
5125 recent-keys in the report. (Bug#18900)
5126
5127 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5128
5129 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5130
5131 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5132
5133 * net/eww.el (eww): Trim URL with `string-trim'.
5134 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5135
5136 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5137
5138 * net/eww.el (eww-score-readability): Don't count comments positively.
5139
5140 * net/shr.el (shr-retransform-dom): Typo fix.
5141
5142 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5143 (eww-display-html): Don't leave point inside forms.
5144
5145 * net/shr.el: Ditto.
5146
5147 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5150 edebug-prin1-to-string already handles circularity.
5151
5152 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5153 autoloading when specified as a lambda.
5154
5155 * simple.el (execute-extended-command--last-typed): New var.
5156 (read-extended-command): Set it.
5157 Don't complete obsolete commands.
5158 (execute-extended-command--shorter-1)
5159 (execute-extended-command--shorter): New functions.
5160 (execute-extended-command): Use them to suggest shorter names.
5161 (indicate-copied-region, deactivate-mark): Use region-active-p.
5162
5163 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5164
5165 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5166 local copy of FILENAME, when it is remote. (Bug#18751)
5167
5168 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5169 an error when the command fails; the return code must indicate.
5170 (tramp-adb-send-command-and-check): Fix docstring.
5171
5172 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5173
5174 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5175 have no children like <br />.
5176
5177 * net/eww.el (eww-display-html): Clear `url-queue'.
5178 (eww-display-pdf): New function.
5179 (eww-render): Display PDFs with `doc-view'.
5180 (url-queue): Require `url-queue' to avoid compilation warning.
5181 (eww-colorize-region): Remove duplicate function.
5182 (eww-tag-body): Use `shr-colorize-region'.
5183
5184 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5185
5186 * net/eww.el (eww-list-bookmarks): Autoload.
5187
5188 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5189
5190 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5191
5192 * net/eww.el (eww-display-html): The charset is called `utf-8',
5193 not `utf8'.
5194 (eww-readable): Decode the saved text correctly.
5195 (eww-readable): Save the history before displaying so that we can
5196 go back to the non-readable version.
5197 (eww-display-html): Don't try to decode the text if we've been
5198 passed in a pre-parsed DOM.
5199 (eww-tag-title): Remove newlines and extra whitespace from the
5200 displayed title.
5201
5202 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5203
5204 * net/eww.el (eww-readable): New command and keystroke.
5205
5206 * net/shr.el (shr-retransform-dom): New function.
5207
5208 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5209 correct buffer.
5210 (eww-view-source): Use it.
5211
5212 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5213
5214 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5215 (Bug#18603).
5216
5217 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5218
5219 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5220
5221 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5222
5223 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5224
5225 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5226
5227 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5228 (Bug#18834).
5229
5230 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5231
5232 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5233 use as advice.
5234 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5235
5236 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5237
5238 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5239 (bug#18821).
5240 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5241
5242 2014-11-01 Michael R. Mauger <michael@mauger.com>
5243
5244 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5245 syntax, add new keywords, and parse longer keywords first.
5246 (sql-redirect-one): Protect against empty command.
5247 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5248 to SQL. (Bug#14759)
5249
5250 2014-11-01 Michael R. Mauger <michael@mauger.com>
5251
5252 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5253 Bug#16814 with let-bind of comint-input-ring variables around read
5254 and save functions.
5255
5256 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5257
5258 * net/tramp-cache.el (tramp-get-file-property)
5259 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5260 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5261 be compiler warnings.
5262
5263 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5264 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5265
5266 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5267
5268 * progmodes/compile.el (compilation-mode): Turn off deferred
5269 fontifications locally. (Bug#18856)
5270
5271 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5272
5273 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5274 remote-echo connection property is non-nil (bug#18858).
5275
5276 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * simple.el (newline): Add assertions to try and help catch bug#18913.
5279
5280 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5281 (bug#18886).
5282 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5283
5284 2014-11-01 Kim F. Storm <storm@cua.dk>
5285
5286 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5287 * delsel.el (delete-selection-save-to-register)
5288 (delsel--replace-text-or-position): New vars.
5289 (delete-active-region): Use them.
5290 (delete-selection-repeat-replace-region): New command, moved from
5291 cua-base.el.
5292 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5293 (cua-repeat-replace-region): Move command to delsel.el.
5294 (cua--init-keymaps): Update binding accordingly.
5295 (cua-mode): Set delete-selection-save-to-register.
5296
5297 2014-11-01 Alan Mackenzie <acm@muc.de>
5298
5299 Make blink-parens work with a closing template delimiter.
5300 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5301 before calling blink-paren-function, so as to apply syntax-table
5302 properties to the ">".
5303
5304 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5305
5306 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5307
5308 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5311 (macroexp--expand-all): Unrelated tweaks.
5312
5313 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5314
5315 2014-10-30 Glenn Morris <rgm@gnu.org>
5316
5317 * startup.el (command-line): Remove pointless attempt to avoid
5318 statting the file-system (which expand-file-name doesn't do).
5319
5320 2014-10-30 Daniel Colascione <dancol@dancol.org>
5321
5322 Add "enum class" support to C++ mode.
5323 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5324 (c-after-brace-list-key): New language consts/variables.
5325 * progmodes/cc-engine.el (c-looking-at-decl-block):
5326 Exclude spurious match of "enum struct" from decl-block recognition.
5327 (c-backward-colon-prefixed-type): New function.
5328 (c-backward-over-enum-header): Call above function to extend
5329 recognition of enum structure.
5330
5331 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5334 (c-lang-defconst):
5335 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5336
5337 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5338
5339 * progmodes/compile.el (compilation-start):
5340 If compilation-scroll-output is non-nil, don't force window-start of
5341 the compilation buffer to be at beginning of buffer. (Bug#18874)
5342
5343 * startup.el (fancy-about-text): Read the entire tutorial, not
5344 just its first 256 bytes. (Bug#18760)
5345
5346 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5348 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5349 * emacs-lisp/cl-extra.el: Add missing provide.
5350
5351 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5352 all args are copyable (bug#18767).
5353 (=, <, >, <=, >=): Re-enable the optimization.
5354
5355 2014-10-29 Glenn Morris <rgm@gnu.org>
5356
5357 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5358
5359 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5360 Revert 2014-10-26 change.
5361
5362 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5363
5364 Simplify use of current-time and friends.
5365 * allout-widgets.el (allout-widgets-hook-error-handler):
5366 * calendar/appt.el (appt-display-message):
5367 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5368 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5369 (timeclock-last-period, timeclock-day-base):
5370 * eshell/em-ls.el (eshell-ls-file):
5371 * eshell/esh-util.el (eshell-parse-ange-ls):
5372 * generic-x.el (named-database-print-serial):
5373 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5374 (newsticker-get-news, newsticker--sentinel-work)
5375 (newsticker--image-get, newsticker--image-sentinel):
5376 * net/tramp-sh.el (tramp-get-remote-touch):
5377 * progmodes/opascal.el (opascal-debug-log):
5378 * textmodes/remember.el (remember-mail-date)
5379 (remember-store-in-files):
5380 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5381 (vc-default-annotate-current-time):
5382 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5383 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5384 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5385 Omit unnecessary call to current-time.
5386 * calendar/time-date.el (time-to-seconds) [!float-time]:
5387 * vc/vc-annotate.el (vc-annotate-convert-time):
5388 Use current time if arg is nil, to be compatible with float-time.
5389 (time-date--day-in-year): New function, with most of the guts of
5390 the old time-to-day-in-year.
5391 (time-to-day-in-year): Use it.
5392 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5393 * calendar/timeclock.el (timeclock-time-to-date):
5394 Arg is now optional, like current-time-string.
5395 (timeclock-update-mode-line):
5396 Don't call current-time twice to get the current time stamp,
5397 as this can lead to inconsistent results.
5398 * completion.el (cmpl-hours-since-origin):
5399 * ido.el (ido-time-stamp):
5400 * vc/vc-annotate.el (vc-annotate-convert-time):
5401 Simplify by using float-time.
5402 * completion.el (save-completions-to-file):
5403 Rename local var to avoid confusion.
5404 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5405 time-to-seconds now behaves like float-time with respect to nil arg.
5406 * subr.el (progress-reporter-do-update):
5407 Don't call float-time unless needed.
5408
5409 2014-10-29 Leo Liu <sdl.web@gmail.com>
5410
5411 * net/rcirc.el (rcirc-fill-column): Use function.
5412 (rcirc-markup-fill): Remove adjustment.
5413
5414 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5415
5416 * calc/calc.el (quick-calc):
5417 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5418
5419 2014-10-28 Sam Steingold <sds@gnu.org>
5420
5421 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5422 the sake of `window-body-width' (in addition to `frame-width').
5423
5424 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5425
5426 * version.el: Fix some fallback values to conform to the actual
5427 release number.
5428
5429 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5430
5431 * Makefile.in: Change some production names so they're neutral
5432 about the repository type.
5433
5434 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5435
5436 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5437 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5438 during initialization. (Bug#18774)
5439
5440 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5441
5442 * ses.el (macroexp): Add require for this package, so that
5443 function `ses--cell' gets macroexp-quote --- this change was
5444 supposed to be in my previous commit, but left out by mistake.
5445 (ses--cell): Do not make formula a macroexp-quote of value when
5446 value, not formula, is *skip*.
5447
5448 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5449
5450 * ses.el (macroexp): Add require for this package, so that function
5451 `ses--cell gets macroexp-quote.
5452 (ses--cell): Makes formula a macroexp-quote of value when formula
5453 is nil. The rationale of this changr is to allow in the future
5454 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5455 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5456 reference list REFLIST would be re-computed after load --- thus
5457 trading off load time against file size.
5458
5459 * emacs-lisp/package.el (package--alist-to-plist-args):
5460 Use macroexp-quote instead of a lambda expression which has the same
5461 content as macroexp-quote.
5462 (macroexp): Add require for this package, so that function
5463 `package--alist-to-plist-args' gets macroexp-quote.
5464
5465 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5466
5467 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * term/ns-win.el (ns-store-cut-buffer-internal)
5470 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5471
5472 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5473
5474 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5475 Calculate increment from last position instead of window edge.
5476 Add right- and bottom-divider bindings to transient map.
5477
5478 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5479
5480 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5481 even if :predicate was nil, for the benefit of typep.
5482 Record the name of the predicate for typep's use.
5483 (cl--make-type-test): Use pcase. Obey new
5484 cl-deftype-satisfies property.
5485
5486 * epg.el: Use cl-defstruct.
5487 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5488 (epg-data-string): Define via cl-defstruct.
5489 (epg--gv-nreverse): New macro.
5490 (epg-context--make): New constructor (provided vi cl-defstruct).
5491 (epg-make-context): Rewrite using it.
5492 (epg-context-protocol, epg-context-program)
5493 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5494 (epg-context-include-certs, epg-context-cipher-algorithm)
5495 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5496 (epg-context-passphrase-callback, epg-context-progress-callback)
5497 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5498 (epg-context-output-file, epg-context-result, epg-context-operation)
5499 (epg-context-pinentry-mode): Define using cl-defstruct.
5500 (epg-context-set-protocol, epg-context-set-program)
5501 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5502 (epg-context-set-digest-algorithm)
5503 (epg-context-set-sig-notations, epg-context-set-process)
5504 (epg-context-set-output-file, epg-context-set-result)
5505 (epg-context-set-operation, epg-context-set-pinentry-mode)
5506 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5507 (epg-context-set-armor, epg-context-set-textmode)
5508 (epg-context-set-signers): Redefine using setf
5509 and declare as obsolete.
5510 (epg-context-set-passphrase-callback)
5511 (epg-context-set-progress-callback): Use setf.
5512 (epg-signature-notations): Rename from epg-sig-notations.
5513 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5514 (epg-signature-validity, epg-signature-fingerprint)
5515 (epg-signature-creation-time, epg-signature-expiration-time)
5516 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5517 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5518 (epg-signature-set-status, epg-signature-set-key-id)
5519 (epg-signature-set-validity, epg-signature-set-fingerprint)
5520 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5521 (epg-signature-set-pubkey-algorithm)
5522 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5523 (epg-signature-set-version, epg-signature-set-notations): Remove.
5524 Use setf instead.
5525 (epg-make-new-signature, epg-new-signature-type)
5526 (epg-new-signature-pubkey-algorithm)
5527 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5528 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5529 Define using cl-defstruct.
5530 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5531 (epg-key-user-id-list): Define using cl-defstruct.
5532 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5533 Use setf instead.
5534 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5535 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5536 (epg-sub-key-id, epg-sub-key-creation-time)
5537 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5538 cl-defstruct.
5539 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5540 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5541 (epg-user-id-signature-list): Define using cl-defstruct.
5542 (epg-user-id-set-signature-list): Remove. Use setf instead.
5543 (epg-make-key-signature, epg-key-signature-validity)
5544 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5545 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5546 (epg-key-signature-user-id, epg-key-signature-class)
5547 (epg-key-signature-exportable-p): Define using cl-defstruct.
5548 (epg-make-sig-notation, epg-sig-notation-name)
5549 (epg-sig-notation-value, epg-sig-notation-human-readable)
5550 (epg-sig-notation-critical): Define using cl-defstruct.
5551 (epg-sig-notation-set-value): Remove. Use setf instead.
5552 (epg-make-import-status, epg-import-status-fingerprint)
5553 (epg-import-status-reason, epg-import-status-new)
5554 (epg-import-status-user-id, epg-import-status-signature)
5555 (epg-import-status-sub-key, epg-import-status-secret): Define using
5556 cl-defstruct.
5557 (epg-make-import-result, epg-import-result-considered)
5558 (epg-import-result-no-user-id, epg-import-result-imported)
5559 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5560 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5561 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5562 (epg-import-result-secret-read, epg-import-result-secret-imported)
5563 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5564 (epg-import-result-imports): Define using cl-defstruct.
5565
5566 * emacs-lisp/package.el: Require EPG during macroexpansion.
5567 (package--check-signature, package-import-keyring): Use setf instead of
5568 epg-context-set-home-directory.
5569
5570 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5573
5574 2014-10-23 Leo Liu <sdl.web@gmail.com>
5575
5576 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5577 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5578 (cfengine3-current-defun): New function.
5579 (cfengine3-mode): Set add-log-current-defun-function.
5580
5581 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * select.el: Use lexical-binding.
5584 (gui-set-selection): Provide an implementation for non-GUI frames
5585 (bug#18791).
5586 * term/x-win.el: Use lexical-binding.
5587 (x-clipboard-yank): Fix up missed renamings.
5588 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5589 (w32--set-selection): Fix up var names.
5590 * term/pc-win.el: Use lexical-binding.
5591 (w16-selection-exists-p): Silence compiler warning.
5592 (w16-selection-owner-p): Fix up missed renamings.
5593
5594 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5595
5596 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5597
5598 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5599
5600 * doc-view.el (doc-view-open-text): View the document's plain text
5601 in the current buffer instead of a new one.
5602 (doc-view-toggle-display): Handle the case where the current
5603 buffer contains the plain text contents of the document.
5604 (doc-view-initiate-display): Don't switch to fallback mode if the
5605 user wants to view the doc's plain text.
5606 (doc-view-set-doc-type): Use assoc-string instead of
5607 assoc-ignore-case.
5608
5609 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * subr.el (read-key): Fix clicks on the mode-line.
5612 (set-transient-map): Return exit function.
5613
5614 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5615 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5616 (mouse-yank-secondary): Use gui-get-selection.
5617 (mouse--down-1-maybe-follows-link): Use read-key.
5618
5619 * xt-mouse.el: Add `event-kind' property on the fly from
5620 xterm-mouse-translate-1 rather than statically at the outset.
5621
5622 2014-10-21 Daniel Colascione <dancol@dancol.org>
5623
5624 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5625 change window configuration when we turn it off.
5626
5627 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 Get rid of backend-dependent selection-handling functions for kill/yank
5630 and make it generic instead by relying on the lower-level selection
5631 management functions.
5632
5633 * select.el (select-enable-clipboard): Rename from
5634 gui-select-enable-clipboard.
5635 (select-enable-primary): Move from x-win.el and rename from
5636 x-select-enable-primary.
5637 (gui-last-selected-text): Remove.
5638 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5639 New vars.
5640 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5641 (gui-select-text-alist, gui-selection-value-alist): Remove.
5642 (x-select-request-type): Move from x-win.el.
5643 (gui--selection-value-internal): New function, taken from x-win's
5644 x-selection-value-internal.
5645 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5646 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5647 extend it to handle a nil value as a "disown" request.
5648 (gui-disown-selection-alist): Remove.
5649 (xselect-convert-to-delete): Adjust accordingly.
5650 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5651
5652 * term/x-win.el (x-last-selected-text-primary)
5653 (x-select-enable-primary): Remove (moved to select.el).
5654 (x-select-request-type): Move to select.el.
5655 (x-selection-value-internal, x--selection-value): Remove functions.
5656 (gui-selection-value, gui-select-text): Remove moethods.
5657 (gui-set-selection): Merge own and disown methods.
5658
5659 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5660 Delete function (move functionality into w32--set-selection and
5661 w32--get-selection).
5662 (gui-select-text, gui-selection-value): Don't define methods.
5663 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5664 New functions.
5665 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5666 Use them.
5667 (gui-selection-exists-p): Adjust to new name of C primitive.
5668
5669 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5670 test of gui-select-enable-clipboard, to make it usable as
5671 a gui-get-selection method.
5672 (gui-selection-exists-p): Adjust to new name of C primitive.
5673 (gui-set-selection): Merge own and disown methods.
5674 (gui-select-text, gui-selection-value): Delete methods.
5675 (w16--select-text): Delete function.
5676
5677 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5678 (ns-selection-value): Remove functions.
5679 (gui-select-text, gui-selection-value): Don't define method any more.
5680 (gui-set-selection): Merge the old own and disown methods.
5681 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5682 underlying C primitive.
5683
5684 * startup.el (command-line): Adjust now that `gui-method' expects nil
5685 for ttys.
5686
5687 * frame.el (gui-method): Use window-system rather than framep.
5688 (gui-method-declare): The tty case is now nil rather than t.
5689 (make-frame): Adjust accordingly.
5690
5691 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * net/newst-reader.el (newsticker--image-read): Simplify.
5694 (newsticker--icon-read): Use dolist and fix free var error.
5695
5696 * imenu.el (imenu--menubar-keymap): New var.
5697 (imenu-add-to-menubar): Set it to remember the keymap we used.
5698 (imenu-update-menubar): Use it instead of asking lookup-key.
5699
5700 * obsolete/cc-compat.el: Make obsolete (bug#18561).
5701
5702 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5703
5704 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5705 case (bug#18767).
5706
5707 2014-10-21 Glenn Morris <rgm@gnu.org>
5708
5709 * Merge in all changes up to version 24.4 release.
5710
5711 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5712
5713 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5714 case (bug#18767).
5715
5716 2014-10-20 Glenn Morris <rgm@gnu.org>
5717
5718 * Merge in all changes up to 24.4 release.
5719
5720 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
5721
5722 * net/newst-backend.el
5723 (newsticker--image-download-by-url-callback): Make this function
5724 actually work: Check status properly, then save image.
5725
5726 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
5729 `this-event'.
5730 (mouse-drag-line): Unless there's no actual mouse, use the event's
5731 position info.
5732
5733 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * textmodes/css-mode.el (scss-mode): New major-mode.
5736 (css-mode-syntax-table): Use d style comment, to ease the scss case.
5737 (css-ident-re): Allow things like @-moz-keyframes.
5738 (scss--hash-re): New const.
5739 (css--font-lock-keywords): New function, extracted from
5740 css-font-lock-keywords.
5741
5742 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
5743
5744 * net/newst-backend.el: Require url-parse.
5745 (newsticker--get-news-by-wget): Store feed name as process property.
5746 (newsticker--sentinel): Read feed name from process property.
5747 (newsticker--sentinel-work): Rename argument name to feed-name.
5748 Rename variable imageurl to image-url. Pick icon url from Atom
5749 1.0 data. Launch download of feed icon.
5750 (newsticker--get-icon-url-atom-1.0): New.
5751 (newsticker--unxml)
5752 (newsticker--unxml-node)
5753 (newsticker--unxml-attribute): Documentation.
5754 (newsticker--icons-dir): New.
5755 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
5756 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
5757 (newsticker--image-download-by-wget): New. Use process properties
5758 for storing informations.
5759 (newsticker--image-sentinel): Read informations from process properties.
5760 (newsticker--image-save)
5761 (newsticker--image-remove)
5762 (newsticker--image-download-by-url)
5763 (newsticker--image-download-by-url-callback): New.
5764 (newsticker-opml-export): Handle url list entries containing a
5765 function instead of an url string.
5766
5767 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
5768 (newsticker--print-extra-elements)
5769 (newsticker--do-print-extra-element):
5770 Documentation (newsticker--image-read): Optionally limit image height.
5771 Use imagemagick if possible.
5772 (newsticker--icon-read): New.
5773
5774 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
5775 (newsticker--treeview-tree-expand): Use feed icons in treeview.
5776 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
5777 (newsticker--tree-widget-leaf-icon): Use feed icon.
5778
5779 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
5782 Use help-function-arglist instead.
5783
5784 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
5785 (eieio--with-scoped-class): Use `declare'.
5786 (eieio-defclass): Remove compatibility code.
5787 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
5788 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
5789
5790 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
5791
5792 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
5793
5794 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
5795 replacements to stock names before stock names in a list.
5796 Cdr may be a list, each name is tried in turn until one is found.
5797
5798 2014-10-18 Alan Mackenzie <acm@muc.de>
5799
5800 Check that a "macro" found near point-min isn't a ## operator.
5801 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
5802 (c-beginning-of-macro): Use the above new function. (Bug#18749)
5803
5804 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
5805
5806 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
5807 correct data to `gnutls-boot' (Bug#18664).
5808 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
5809
5810 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
5811
5812 * whitespace.el (whitespace-style, whitespace-big-indent)
5813 (whitespace-big-indent-regexp, whitespace-style-value-list)
5814 (whitespace-toggle-option-alist, whitespace-interactive-char)
5815 (whitespace-toggle-options)
5816 (global-whitespace-toggle-options, whitespace-help-text)
5817 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
5818 style to `whitespace-mode' to indicate that the line indentation
5819 is too deep. By default, 32 SPACEs or four TABs are considered
5820 too many but `whitespace-big-indent-regexp' can be configured.
5821
5822 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
5823
5824 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
5825 tildify-mode-alist.
5826
5827 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
5830 (defclass, defgeneric, defmethod): Add doc-string position.
5831 (with-slots): Require cl-lib.
5832
5833 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
5834 (list-of): New type.
5835 (eieio--typep): Remove.
5836 (eieio-perform-slot-validation): Use cl-typep instead.
5837
5838 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
5839
5840 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
5841
5842 2014-10-16 Alan Mackenzie <acm@muc.de>
5843
5844 Trigger showing when point is in the "periphery" of a line or just
5845 inside a paren.
5846 * paren.el (show-paren-style, show-paren-delay)
5847 (show-paren-priority, show-paren-ring-bell-on-mismatch):
5848 Remove superfluous :group specifications.
5849 (show-paren-when-point-inside-paren)
5850 (show-paren-when-point-in-periphery): New customizable variables.
5851 (show-paren-highlight-openparen): Make into a defcustom.
5852 (show-paren--unescaped-p, show-paren--categorize-paren)
5853 (show-paren--locate-near-paren): New defuns.
5854 (show-paren--default): Refaactor and trigger on more paren
5855 positions.
5856 (show-paren-function): Small consequential changes.
5857
5858 2014-10-16 Tom Tromey <tom@tromey.com>
5859
5860 * files.el (auto-mode-alist): Use javascript-mode for .jsm
5861 (bug #18719).
5862
5863 2014-10-16 Eli Zaretskii <eliz@gnu.org>
5864
5865 * international/characters.el (bracket-type): Force pre-loading of
5866 uni-brackets.el.
5867
5868 2014-10-16 Alan Mackenzie <acm@muc.de>
5869
5870 * cus-edit.el (custom-command-apply): Specify the return value in
5871 the doc string.
5872 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
5873 custom-command-apply has returned non-nil.
5874
5875 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
5878 Remove incorrect handling of eldoc-print-after-edit.
5879 (eldoc-message-commands, eldoc-last-data): Use defvar.
5880 * loadup.el (emacs-lisp/eldoc): Load it.
5881
5882 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
5883 (m4-mode): Use it.
5884 (m4--quoted-p): New function.
5885 (m4-font-lock-keywords): Don't handle #..\n comments any more.
5886 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
5887 for most special characters.
5888
5889 * progmodes/compile.el (compilation--previous-directory): Simplify.
5890 (compilation-next-error): Ensure the parse before we look at
5891 compilation-message property.
5892
5893 2014-10-15 Eli Zaretskii <eliz@gnu.org>
5894
5895 * simple.el (what-cursor-position):
5896 * descr-text.el (describe-char): Update to support the new bidi
5897 characters.
5898
5899 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
5900 Force bidi-paragraph-direction to 'left-to-right'. This fixes
5901 buffer-menu display when the first buffer happens to start with
5902 R2L letter.
5903
5904 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5905
5906 * progmodes/elisp-mode.el (elisp--local-variables-1):
5907 Handle quoted expressions (bug#18688).
5908
5909 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
5910 Michael Albinus <michael.albinus@gmx.de>
5911
5912 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5913 Reduce the amount of set environment variable commands.
5914
5915 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5916
5917 Fix import completion. (Bug#18582)
5918 * progmodes/python.el (python-shell-completion-get-completions):
5919 Fix import case regexp.
5920
5921 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
5924 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
5925 * progmodes/prolog.el (prolog-electric--underscore): Same.
5926
5927 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
5928
5929 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
5930
5931 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5932
5933 * cus-start.el (all): Add missing ns and boolean to
5934 ns-use-fullscreen-animation.
5935
5936 2014-10-11 Leo Liu <sdl.web@gmail.com>
5937
5938 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
5939 Use strings.
5940 (cfengine3-create-imenu-index): New function.
5941 (cfengine3-mode): Use it for `imenu-create-index-function'.
5942 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
5943 buffer is empty.
5944
5945 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5946
5947 * cus-start.el (all): Add ns-use-fullscreen-animation.
5948
5949 2014-10-11 Glenn Morris <rgm@gnu.org>
5950
5951 * calendar/diary-lib.el (diary-display-function):
5952 Drop support for deprecated nil and list forms.
5953 (diary-list-entries): Update for the above.
5954 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
5955
5956 2014-10-10 Leo Liu <sdl.web@gmail.com>
5957
5958 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
5959 (Bug#18656)
5960
5961 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * select.el (gui-selection-exists-p-alist): New method.
5964 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
5965 * simple.el (deactivate-mark): Use it.
5966 * term/x-win.el (gui-selection-exists-p):
5967 * term/w32-win.el (gui-selection-exists-p):
5968 * term/pc-win.el (gui-selection-exists-p):
5969 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
5970
5971 2014-10-10 Glenn Morris <rgm@gnu.org>
5972
5973 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
5974 Fix :type. Allow t to mean no limit.
5975 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
5976
5977 2014-10-09 Glenn Morris <rgm@gnu.org>
5978
5979 * frame.el (display-monitor-attributes-list): Doc tweaks.
5980
5981 2014-10-09 Eli Zaretskii <eliz@gnu.org>
5982
5983 * faces.el (display-grayscale-p): Mention in the doc string that
5984 the argument can be either a display name or a frame.
5985
5986 * frame.el (display-pixel-height, display-pixel-width)
5987 (display-mm-height, display-mm-width, display-backing-store)
5988 (display-save-under, display-planes, display-color-cells)
5989 (display-visual-class, display-monitor-attributes-list)
5990 (display-screens): Mention in the doc string that the argument can
5991 be either a display name or a frame. Improve the docs of the
5992 monitor attributes. (Bug#18636)
5993
5994 2014-10-09 Martin Rudalics <rudalics@gmx.at>
5995
5996 * term.el (term-window-width): Subtract 1 from the width when
5997 any fringe has zero width, not just the right fringe. (Bug#18601)
5998
5999 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6002
6003 2014-10-08 Leo Liu <sdl.web@gmail.com>
6004
6005 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6006
6007 2014-10-08 Glenn Morris <rgm@gnu.org>
6008
6009 * calendar/cal-x.el (calendar-dedicate-diary):
6010 Drop support for recently deleted aliases.
6011
6012 2014-10-08 Leo Liu <sdl.web@gmail.com>
6013
6014 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6015 Always return a syntax. Replace call-process-shell-command with
6016 process-file. Ensure cfengine-mode-syntax-functions-regex is
6017 always set. Ensure cache when cfengine-cf-promises fails.
6018 (Bug#18620)
6019
6020 2014-10-07 Glenn Morris <rgm@gnu.org>
6021
6022 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6023
6024 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6025
6026 Sync with upstream verilog-mode revision c075a492.
6027 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6028 (verilog-menu): Add AUTOINSERTLAST.
6029 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6030 is nil, fix indenting initial/final to match always statements, bug825.
6031 Reported by Tim Clapp.
6032 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6033 bug557. Reported by ZeDong Mao and Jason Forkey.
6034 (verilog-read-decls): Fix parsing typed interfaces.
6035 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6036 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6037 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6038 Reported by Pierre-David Pfister.
6039 (verilog-auto-insert-lisp): Doc fix.
6040 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6041 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6042 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6043 (verilog-sk-uvm-component): Fix missing string keyword in class
6044 skeletons, bug824. Reported by eldad faruhi.
6045
6046 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * term/w32-win.el: Move all code from 32-common-fns.el here.
6049 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6050 console as well (bug#18629).
6051 * w32-common-fns.el: Remove.
6052 * loadup.el: Don't load w32-common-fns.el.
6053 * w32-fns.elc: Don't require w32-common-fns.
6054
6055 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6056 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6057 Remove redundant obsolescence thingy.
6058 * loadup.el: Don't load obsolete/loaddefs.el.
6059 * Makefile.in (obsolete-autoloads): Remove.
6060 (AUTOGENEL): Remove obsolete/loaddefs.el.
6061
6062 2014-10-06 Glenn Morris <rgm@gnu.org>
6063
6064 * Makefile.in (obsolete-autoloads): Write to a separate file,
6065 to workaround autoloads bug. (Bug#17407)
6066 (AUTOGENEL): Add obsolete/loaddefs.el.
6067 * loadup.el: Load obsolete/loaddefs.el if present.
6068 * subr.el (do-after-load-evaluation):
6069 Don't warn about obsolete/loaddefs.el.
6070
6071 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6072 It has zero relationship to a game.
6073
6074 2014-10-06 Leo Liu <sdl.web@gmail.com>
6075
6076 * imenu.el (imenu): Re-write for clarity.
6077
6078 2014-10-06 Glenn Morris <rgm@gnu.org>
6079
6080 Remove calendar code obsolete since at least version 23.1.
6081 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6082 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6083 (calendar-goto-bahai-date, list-bahai-diary-entries)
6084 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6085 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6086 (insert-yearly-bahai-diary-entry):
6087 * calendar/cal-china.el (chinese-calendar-time-zone)
6088 (chinese-calendar-location-name)
6089 (chinese-calendar-daylight-time-offset)
6090 (chinese-calendar-standard-time-zone-name)
6091 (chinese-calendar-daylight-time-zone-name)
6092 (chinese-calendar-daylight-savings-starts)
6093 (chinese-calendar-daylight-savings-ends)
6094 (chinese-calendar-daylight-savings-starts-time)
6095 (chinese-calendar-daylight-savings-ends-time)
6096 (chinese-calendar-celestial-stem)
6097 (chinese-calendar-terrestrial-branch)
6098 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6099 (calendar-goto-chinese-date):
6100 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6101 (calendar-print-coptic-date, coptic-prompt-for-date)
6102 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6103 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6104 * calendar/cal-french.el (calendar-absolute-from-french)
6105 (calendar-print-french-date, calendar-goto-french-date):
6106 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6107 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6108 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6109 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6110 (holiday-passover-etc, holiday-tisha-b-av-etc)
6111 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6112 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6113 (insert-monthly-hebrew-diary-entry)
6114 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6115 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6116 (diary-sabbath-candles):
6117 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6118 (calendar-print-islamic-date, calendar-goto-islamic-date)
6119 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6120 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6121 (insert-monthly-islamic-diary-entry)
6122 (insert-yearly-islamic-diary-entry):
6123 * calendar/cal-iso.el (calendar-absolute-from-iso)
6124 (calendar-print-iso-date, calendar-iso-read-args)
6125 (calendar-goto-iso-date, calendar-goto-iso-week):
6126 * calendar/cal-julian.el (calendar-absolute-from-julian)
6127 (calendar-print-julian-date, calendar-goto-julian-date)
6128 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6129 (calendar-goto-astro-day-number):
6130 * calendar/cal-mayan.el (calendar-print-mayan-date)
6131 (calendar-next-haab-date, calendar-previous-haab-date)
6132 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6133 (calendar-next-calendar-round-date)
6134 (calendar-previous-calendar-round-date)
6135 (calendar-absolute-from-mayan-long-count)
6136 (calendar-goto-mayan-long-count-date):
6137 * calendar/cal-move.el (scroll-calendar-left)
6138 (scroll-calendar-right, scroll-calendar-left-three-months)
6139 (scroll-calendar-right-three-months):
6140 * calendar/cal-persia.el (calendar-absolute-from-persian)
6141 (calendar-print-persian-date, persian-prompt-for-date)
6142 (calendar-goto-persian-date):
6143 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6144 * calendar/calendar.el (view-diary-entries-initially)
6145 (mark-diary-entries-in-calendar, calendar-today-face)
6146 (diary-face, holiday-face, view-calendar-holidays-initially)
6147 (mark-holidays-in-calendar, initial-calendar-window-hook)
6148 (today-visible-calendar-hook, today-invisible-calendar-hook)
6149 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6150 (bahai-diary-entry-symbol, american-date-diary-pattern)
6151 (european-date-diary-pattern, european-calendar-display-form)
6152 (american-calendar-display-form, holidays-in-diary-buffer)
6153 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6154 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6155 (fancy-diary-buffer, increment-calendar-month)
6156 (extract-calendar-month, extract-calendar-day)
6157 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6158 (mark-visible-calendar-date, calendar-version):
6159 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6160 (diary-display-hook, list-diary-entries-hook)
6161 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6162 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6163 (abbreviated-calendar-year, number-of-diary-entries)
6164 (view-other-diary-entries, add-to-diary-list)
6165 (include-other-diary-files, simple-diary-display)
6166 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6167 (mark-sexp-diary-entries, mark-included-diary-files)
6168 (mark-calendar-days-named, mark-calendar-month)
6169 (mark-calendar-date-pattern, sort-diary-entries)
6170 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6171 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6172 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6173 (insert-block-diary-entry, insert-cyclic-diary-entry)
6174 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6175 * calendar/holidays.el (general-holidays, oriental-holidays)
6176 (local-holidays, other-holidays, hebrew-holidays)
6177 (christian-holidays, islamic-holidays, bahai-holidays)
6178 (solar-holidays, list-calendar-holidays)
6179 (check-calendar-holidays, mark-calendar-holidays)
6180 (filter-visible-calendar-holidays):
6181 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6182 (diary-phases-of-moon): Remove obsolete aliases.
6183 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6184 * calendar/cal-x.el (calendar-one-frame-setup)
6185 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6186 Remove obsolete functions.
6187 (cal-x-load-hook): Remove obsolete hook.
6188 * calendar/calendar.el (european-calendar-style):
6189 Remove obsolete variable.
6190 (calendar-date-style): No longer consult european-calendar-style.
6191 * calendar/calendar.el (european-calendar, american-calendar):
6192 Remove obsolete commands.
6193 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6194 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6195 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6196 Use the face `diary' instead of the variable `diary-face'.
6197 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6198 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6199 * calendar/icalendar.el (icalendar--date-style): Remove function.
6200 Replace all uses with calendar-date-style.
6201 * textmodes/remember.el (calendar-date-style): Declare.
6202 (remember-diary-convert-entry):
6203 No longer consult european-calendar-style.
6204
6205 2014-10-05 Leo Liu <sdl.web@gmail.com>
6206
6207 * imenu.el (imenu-default-goto-function): Fix typo.
6208
6209 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6210
6211 * net/ntlm.el (ntlm-build-auth-request):
6212 Add NTLM2 Session support. (Bug#15603)
6213
6214 2014-10-04 Glenn Morris <rgm@gnu.org>
6215
6216 * apropos.el (apropos-symbols-internal):
6217 Avoid error with non-symbol properties. (Bug#18337#16)
6218
6219 * startup.el (command-line):
6220 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6221
6222 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6223
6224 * window.el (window-full-height-p): Make it behave correctly for
6225 minibuffer window.
6226 (window-current-scroll-bars): Fix code.
6227 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6228 window-scroll-bars.
6229 * frame.el (frame-current-scroll-bars): Fix doc-string.
6230 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6231
6232 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6233
6234 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6235
6236 2014-10-04 Glenn Morris <rgm@gnu.org>
6237
6238 * frame.el (frame-monitor-attributes)
6239 (display-monitor-attributes-list): Doc fixes.
6240
6241 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 Merge trivially safe differences from standalone CC-mode.
6244 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6245 just to then pass it to `symbol-value'.
6246 (prog-mode): Provide fallback definition, if needed.
6247 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6248 Remove "cl-" prefix accordingly.
6249 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6250 characterp depending on the type of characters.
6251 (c-font-lock-enum-tail): Remove unused var `start'.
6252 * progmodes/cc-engine.el: Load CL at compile-time.
6253 (c-declare-lang-variables): Use mapcan.
6254 (c-append-to-state-cache): Remove unused var `ce+1'.
6255 (c-parse-state-state): Make buffer-local.
6256 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6257 (c-just-after-func-arglist-p): Remove unused var `end'.
6258 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6259 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6260 (c-make-keywords-re): Use delete-dups.
6261 (c-get-current-file): Avoid file-name-base.
6262 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6263 `close-paren-inserted'.
6264 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6265
6266 * progmodes/python.el: Avoid building unneeded markers.
6267 (python-font-lock-keywords, python-indent-dedent-line)
6268 (python-fill-paren, python-shell-completion-complete-or-indent):
6269 Prefer point over point-marker.
6270 (inferior-python-mode): Remove redundant completion settings.
6271
6272 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6273
6274 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6275 (vc-svn-ignore): Use it. (Bug#18619)
6276
6277 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6278
6279 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6280 In doc-string mention need to set `frame-resize-pixelwise'.
6281
6282 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6285 similarly to Rogers's 2010-06-16 change for the remote case
6286 (bug#18605).
6287
6288 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 New gui-selection-value consolidating x-selection-value.
6291 * select.el (gui-selection-value-alist): New method.
6292 (gui-selection-value): New function.
6293 (x-selection-value): Make it an obsolete alias.
6294 * simple.el (interprogram-paste-function): Default to
6295 gui-selection-value.
6296 * w32-common-fns.el (w32-get-selection-value): Simplify.
6297 (x-selection-value): Remove alias.
6298 (interprogram-paste-function): Don't set.
6299 (gui-selection-value): Define for w32.
6300 * term/x-win.el (gui-selection-value): Define for x.
6301 (x--selection-value): Rename from x--selection-value.
6302 (interprogram-paste-function): Don't set.
6303 * term/pc-win.el (w16-get-selection-value): Simplify.
6304 (msdos-initialize-window-system): Don't set
6305 interprogram-paste-function.
6306 (gui-selection-value): Define for pc.
6307 * term/ns-win.el (x-selection-value): Remove.
6308 (gui-selection-value): Define for ns, instead.
6309 * term/common-win.el (x-setup-function-keys): Don't set
6310 interprogram-paste-function.
6311 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6312 Use gui-selection-value.
6313
6314 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6315
6316 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6317
6318 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * obsolete/lucid.el (read-number): Remove, redundant.
6321 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6322 Remove, broken.
6323
6324 2014-10-02 Glenn Morris <rgm@gnu.org>
6325
6326 * emacs-lisp/package.el (package-import-keyring):
6327 Create gnupg directory private. (Bug#17625#155)
6328
6329 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * progmodes/python.el (python-shell-completion-get-completions):
6332 Use python-shell--prompt-calculated-input-regexp from the
6333 process buffer (bug#18582).
6334 Don't assume that `line' comes from the process buffer.
6335
6336 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * frame.el: Use lexical-binding (bug#18598).
6339 (make-frame): Use t rather than nil for tty's window-system.
6340 * startup.el (command-line): Use gui-method.
6341
6342 Consolidate management/ownership of selections.
6343 * select.el (gui-get-selection-alist): New method.
6344 (gui-get-selection): Use it. Rename from x-get-selection.
6345 (x-get-selection): Define as obsolete alias.
6346 (x-get-clipboard): Mark obsolete.
6347 (gui-get-primary-selection): New function.
6348 (x-get-selection-value): Mark obsolete.
6349 (gui-own-selection-alist, gui-disown-selection-alist)
6350 (gui-selection-owner-p-alist): New methods.
6351 (gui-set-selection): Use them. Rename from x-set-selection.
6352 (x-set-selection): Define as obsolete alias.
6353 (gui--valid-simple-selection-p): Rename from
6354 x-valid-simple-selection-p.
6355 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6356 (gui-selection-owner-p, gui-get-selection): Define for w32.
6357 (w32-get-selection-value): Rename from x-get-selection-value.
6358 Use the new gui-last-selected-text.
6359 * term/x-win.el (x-get-selection-value): Remove.
6360 (x-clipboard-yank): Declare obsolete.
6361 (gui-own-selection, gui-disown-selection, gui-get-selection)
6362 (gui-selection-owner-p): Define for x.
6363 * term/w32-win.el (w32-win-suspend-error): Rename from
6364 x-win-suspend-error.
6365 * term/pc-win.el (w16-get-selection-value): Rename from
6366 x-get-selection-value.
6367 (w16-selection-owner-p): Rename from x-selection-owner-p.
6368 (gui-own-selection, gui-disown-selection, gui-get-selection)
6369 (gui-selection-owner-p): Define for pc.
6370 (w16--select-text): New function.
6371 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6372 (gui-get-selection, gui-selection-owner-p): Define for ns.
6373 * term.el (term-mouse-paste):
6374 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6375
6376 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6377
6378 * calc/calc-help.el (calc-describe-thing): Quote strings
6379 which could look like regexps.
6380
6381 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 Consolidate x-select-text.
6384 * frame.el (gui-method, gui-method-define, gui-method-declare)
6385 (gui-call): New macros.
6386 (gui-method--name): New function.
6387 (frame-creation-function-alist): Use gui-method-declare.
6388 (make-frame): Use gui-method.
6389 * select.el (gui-select-enable-clipboard): Rename from
6390 x-select-enable-clipboard and move here.
6391 (x-select-enable-clipboard): Define as obsolete alias.
6392 (gui-last-selected-text): New var, to replace x-last-selected-text.
6393 (gui-select-text): New GUI method.
6394 (gui-select-text): New function.
6395 (x-select-text): Define as obsolete alias.
6396 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6397 Move to select.el.
6398 * simple.el (interprogram-cut-function): Change default to
6399 x-select-text.
6400 (interprogram-paste-function): Change default to `ignore'.
6401 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6402 * term/x-win.el (interprogram-cut-function): Don't modify.
6403 (gui-select-text): Add method for x.
6404 * term/w32-win.el (gui-select-text): Add method for w32.
6405 * term/pc-win.el (x-last-selected-text): Remove, use
6406 gui-last-selected-text instead.
6407 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6408 (gui-select-text): Add method for pc.
6409 * term/ns-win.el (ns-last-selected-text): Remove, use
6410 gui-last-selected-text instead.
6411 (gui-select-text): Add method for ns.
6412 (x-setup-function-keys): Don't change interprogram-cut-function.
6413 * loadup.el ("startup"): Load after "frame".
6414 * subr.el (package--builtin-versions, package--description-file):
6415 Move from startup.el.
6416 * startup.el (package--builtin-versions, package--description-file):
6417 Move to subr.el.
6418 (handle-args-function-alist, window-system-initialization-alist):
6419 Use gui-method-declare.
6420 (command-line): Use gui-method.
6421
6422 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6423
6424 * subr.el (alist-get): New accessor.
6425 * emacs-lisp/gv.el (alist-get): Provide expander.
6426 * winner.el (winner-remember):
6427 * tempo.el (tempo-use-tag-list):
6428 * progmodes/gud.el (minor-mode-map-alist):
6429 * international/mule-cmds.el (define-char-code-property):
6430 * frameset.el (frameset-filter-params):
6431 * files.el (dir-locals-set-class-variables):
6432 * register.el (get-register, set-register):
6433 * calc/calc-yank.el (calc-set-register): Use it.
6434 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6435 * tooltip.el (tooltip-set-param): Mark as obsolete.
6436 (tooltip-show): Use alist-get instead.
6437 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6438
6439 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6440
6441 * net/newst-backend.el: Remove Time-stamp. Rename variable
6442 `newsticker--download-logos' to `newsticker-download-logos' and
6443 make it customizable.
6444 (newsticker--sentinel-work): Move xml-workarounds to function
6445 `newsticker--do-xml-workarounds', call unless libxml-parser is
6446 used. Allow single quote in regexp for encoding.
6447 Use libxml-parser if available, else fall back to `xml-parse-region'.
6448 Take care of possibly missing namespace prefixes (like "RDF"
6449 instead of "rdf:RDF") when checking xml nodes and attributes (as
6450 libxml correctly removes the prefixes). Always use Atom 1.0 as
6451 fallback feed type. Rename `newsticker--download-logos' to
6452 `newsticker-download-logos'
6453 (newsticker--unxml, newsticker--unxml-node)
6454 (newsticker--unxml-attribute): New.
6455 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6456 HTML code has become part of the xml parse tree.
6457 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6458 of possibly missing namespace prefixes.
6459 (newsticker--parse-generic-items): Code formatting. Typo.
6460 (newsticker--images-dir): Add trailing slash.
6461 (newsticker--image-get): Fix error message.
6462
6463 * net/newst-plainview.el: Remove Time-stamp.
6464
6465 * net/newst-reader.el: Remove Time-stamp.
6466 (newsticker-download-logos): Rename variable
6467 `newsticker--download-logos' to `newsticker-download-logos' and
6468 make it customizable.
6469 (newsticker--print-extra-elements): Add optional parameter
6470 'htmlish for using html markup. Amend list of ignored elements.
6471 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6472 using html markup.
6473
6474 * net/newst-ticker.el: Remove Time-stamp.
6475
6476 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6477 for formatting extra elements.
6478
6479 * net/newsticker.el: Remove Time-stamp, Version.
6480 (newsticker-version): Make obsolete.
6481
6482 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6483
6484 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6485 (bug#18462).
6486
6487 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * emacs-lisp/package.el (package-check-signature): Default to nil if
6490 GPG is not available.
6491 (package-refresh-contents): Don't mess with the keyring if we won't
6492 check the signatures anyway.
6493
6494 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6497 (ses-center, ses-center-span): Use them.
6498 (ses-print-cell): Bind them while calling the printer.
6499 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6500 (ses-dorange): Revert last change.
6501 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6502 the formula.
6503 (ses-set-cell): Avoid `eval'.
6504 (ses--time-check): Rename it from ses-time-check and turn it into
6505 a macro.
6506
6507 * ses.el (ses-setup): Don't assume modifying the iteration var of
6508 dotimes affects the iteration (bug#18191).
6509
6510 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6511
6512 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6513 their values with 'cl-progv'.
6514 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6515 their values with 'cl-progv', also use non-interned symbols for
6516 row, minrow, maxrow, mincol and maxcol.
6517 (maxrow maxcol): New defvar, to make the compiler happy.
6518
6519 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6522 completion functions.
6523
6524 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6527
6528 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6529
6530 Font-lock `cl-flet*', too.
6531 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6532 Add "flet*" to intermediate var `cl-lib-kw'.
6533
6534 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * epg-config.el (epg-gpg-program): Use the plain program names rather
6537 than their absolute file name.
6538
6539 * subr.el (track-mouse): New macro.
6540 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6541 Remove track-mouse case.
6542 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6543
6544 2014-09-27 Leo Liu <sdl.web@gmail.com>
6545
6546 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6547
6548 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6549
6550 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6553 Handle the case where `match' is :pcase--succeed or :pcase--fail
6554 (bug#18554).
6555
6556 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6557 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6558 (eldoc-schedule-timer): Obey it.
6559 (eldoc-documentation-function): Default to nil.
6560 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6561 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6562 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6563 (eldoc-last-data-store, eldoc-docstring-first-line)
6564 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6565 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6566 (eldoc-function-argstring): Move to elisp-mode.el.
6567 (eldoc-symbol-function): Remove, unused.
6568 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6569 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6570 (elisp--preceding-sexp): Rename from preceding-sexp.
6571 * loadup.el: Load new file progmodes/elisp-mode.
6572 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6573 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6574 (lisp--local-variables-completion-table, lisp--expect-function-p)
6575 (lisp--form-quoted-p, lisp--company-doc-buffer)
6576 (lisp--company-doc-string, lisp--company-location)
6577 (lisp-completion-at-point): Move to elisp-mode.el.
6578 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6579 extracted from emacs-lisp-mode-syntax-table.
6580 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6581 elisp-mode.el.
6582 (lisp-imenu-generic-expression): Add comments to document what comes
6583 from which Lisp dialect.
6584 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6585 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6586 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6587 (emacs-lisp-byte-code-comment)
6588 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6589 (lisp-interaction-mode-map, lisp-interaction-mode)
6590 (eval-print-last-sexp, last-sexp-setup-props)
6591 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6592 (eval-last-sexp-1, eval-last-sexp-print-value)
6593 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6594 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6595
6596 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6597
6598 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6599 Do not match file names that end in '/', as they cannot be 'grep'
6600 hits nowadays. This prevents confusion when 'grep -r' reports a
6601 match in a file whose basename is ':12345:'. Conversely, do not
6602 require exactly the same sequence of spaces and tabs after both
6603 colons, and allow spaces or tabs before the second colon, as per
6604 the POSIX spec for 'grep' output.
6605
6606 2014-09-26 Leo Liu <sdl.web@gmail.com>
6607
6608 Add cl-parse-integer based on parse-integer (Bug#18557)
6609 * calendar/parse-time.el (parse-time-digits): Remove.
6610 (digit-char-p, parse-integer) Moved to cl-lib.el.
6611 (parse-time-tokenize, parse-time-rules, parse-time-string):
6612 Use cl-parse-integer.
6613
6614 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6615
6616 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6617 (cl-digit-char-p): New function.
6618
6619 2014-09-25 Juri Linkov <juri@jurta.org>
6620
6621 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6622 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6623 Return the current buffer if no files match the default pattern
6624 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6625
6626 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6629 the global vc-handled-backends (bug#18535).
6630
6631 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6634 Suggested by <lompik@voila.fr>.
6635
6636 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6637
6638 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6639 Rename from `newsticker--treeview-do-get-node'.
6640 (newsticker--treeview-get-node-by-id):
6641 Rename from `newsticker--treeview-get-node'.
6642 (newsticker--treeview-buffer-init)
6643 (newsticker--treeview-buffer-init): Disable buffer undo.
6644 (newsticker--treeview-unfold-node): Adapt to modified
6645 `newsticker--group-find-parent-group'.
6646 (newsticker--group-do-find-group):
6647 Rename from `newsticker--group-do-find-group-for-feed'.
6648 Now works for both, groups and feeds.
6649 (newsticker--group-find-parent-group):
6650 Rename from `newsticker--group-find-group-for-feed'.
6651 Now works for both, groups and feeds.
6652 (newsticker--group-do-get-parent-group)
6653 (newsticker--group-get-parent-group): Remove.
6654 (newsticker-group-add-group): Change interactive prompts.
6655 (newsticker-group-add-group): Finally jump to added group.
6656 (newsticker-group-delete-group): Finally jump to current feed.
6657 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6658 (newsticker--get-group-names, newsticker--group-names): New.
6659 (newsticker-group-move-feed): Finally jump to moved feed.
6660 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6661 (newsticker-group-shift-group-down)
6662 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6663 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6664
6665 * net/newst-backend.el (newsticker--item-list)
6666 (newsticker--item-position, newsticker--prev-message)
6667 (newsticker--scrollable-text): Move to newst-ticker.el.
6668
6669 * net/newst-ticker.el (newsticker--item-list)
6670 (newsticker--item-position, newsticker--prev-message)
6671 (newsticker--scrollable-text): Move from newst-backend.el.
6672
6673 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6674
6675 * window.el (fit-window-to-buffer): When counting buffer width,
6676 count the whole visible buffer. Correctly convert the body-height
6677 to pixel size for window-text-pixel-size (Bug#18498).
6678
6679 2014-09-22 Sam Steingold <sds@gnu.org>
6680
6681 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6682 (sql-execute): Use `special-mode'.
6683
6684 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 Add pcase-defmacro, as well as `quote' and `app' patterns.
6687 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6688 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6689 (pcase--funcall, pcase--eval): New functions.
6690 (pcase--u1): Use them for guard, pred, let, and app.
6691 (\`): Use the new feature to generate better code for vector patterns.
6692 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6693 (pcase--upat): Remove.
6694 (pcase--macroexpand): Don't hardcode handling of `.
6695 (pcase--split-consp, pcase--split-vector): Remove.
6696 (pcase--split-equal): Disregard ` since it's expanded away.
6697 (pcase--split-member): Optimize for quote rather than for `.
6698 (pcase--split-pred): Optimize for quote rather than for `.
6699 (pcase--u1): Remove handling of ` (and of `or' and `and').
6700 Quote non-selfquoting values when passing them to `eq'.
6701 Drop `app's let-binding if the variable is not used.
6702 (pcase--q1): Remove.
6703 (`): Define as a pattern macro.
6704 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6705 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6706 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
6707 quote patterns.
6708 (pcase--split-match): Don't hoist or/and here any more.
6709 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
6710 (pcase--flip): New helper macro.
6711 (pcase--u1): Optimize the memq case directly.
6712 Don't handle neither self-quoting nor and/or patterns any more.
6713 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
6714 (pcase--macroexpand): New function.
6715 (pcase--expand): Use it.
6716 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
6717 New optimization functions.
6718 (pcase--u1): Add support for `quote' and `app'.
6719 (pcase): Document them in the docstring.
6720
6721 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 Use lexical-bindin in Ibuffer.
6724 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
6725 (ibuffer-compile-format): Simplify.
6726 (ibuffer-clear-summary-columns): Simplify.
6727 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
6728 elem of dotimes when we don't refer to the iteration var from it.
6729 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
6730 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
6731 Silence byte-compiler.
6732
6733 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
6736 expression for a list.
6737
6738 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
6739 for functions with no arguments.
6740
6741 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
6742 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
6743
6744 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
6745
6746 * simple.el (clone-indirect-buffer): Mention the return value
6747 (bug#18478).
6748
6749 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
6750 Text mode in docstring (bug#18464).
6751
6752 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6755 Accept underscores in identifiers after "sub" (bug#18502).
6756
6757 2014-09-21 Tassilo Horn <tsdh@gnu.org>
6758
6759 * textmodes/reftex-sel.el (reftex-select-label-mode)
6760 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
6761 from special-mode (instead of fundamental-mode) and propertize
6762 with font-lock-face instead of just face. (Bug#18496)
6763
6764 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
6765
6766 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6767
6768 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
6769 `table-etc' when `end' is non-nil.
6770 (lisp-completion-at-point): Move `end' back if it's after quote.
6771 If in comment or string, only complete when after backquote.
6772 (Bug#18265)
6773 (lisp-completion-at-point): Don't use
6774 `lisp--local-variables-completion-table' in the
6775 `lisp--form-quoted-p' case.
6776
6777 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6778
6779 * emacs-lisp/lisp.el (lisp--expect-function-p)
6780 (lisp--form-quoted-p): New functions.
6781 (lisp-completion-at-point): Use them to see if we're completing a
6782 variable reference, a function name, or just any symbol.
6783 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
6784
6785 2014-09-18 Ivan Kanis <ivan@kanis.fr>
6786
6787 * net/shr.el, net/eww.el: Don't override `shr-width', but
6788 introduce a new variable `shr-internal-width'. This allows users
6789 to specify a width themselves.
6790
6791 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6792
6793 * image-mode.el (image-toggle-display-image): If we have a
6794 `fit-width' or a `fit-height', don't limit the size of the image
6795 to the window size, because that doesn't preserve the aspect ratio.
6796 * image-mode.el: Move defvars earlier to avoid a byte-compilation
6797 warning.
6798
6799 2014-09-17 Reuben Thomas <rrt@sc3d.org>
6800
6801 * progmodes/js.el: Add interpreter-mode-alist support for various
6802 JavaScript interpreters.
6803
6804 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
6805
6806 Don't assume 'grep' supports GREP_OPTIONS.
6807 The GREP_OPTIONS environment variable is planned to be marked
6808 obsolescent in GNU grep, due to problems in its use, so stop
6809 relying on it.
6810 * progmodes/grep.el (grep-highlight-matches): Document this.
6811 (grep-process-setup): Do not set GREP_OPTIONS.
6812 (grep-compute-defaults): Use an explicit --color option if supported.
6813
6814 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
6817 Don't add outdated key-shortcut cache (bug#18482).
6818
6819 2014-09-15 Glenn Morris <rgm@gnu.org>
6820
6821 * image.el (image-multi-frame-p): Fix thinko - do not force
6822 a delay if none was specified. (Bug#18334)
6823
6824 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
6825
6826 * window.el (fit-window-to-buffer): Doc fix.
6827
6828 2014-09-15 Ivan Shmakov <ivan@siamics.net>
6829
6830 * desktop.el (desktop-create-buffer): Check that buffers are still live
6831 before burying them (bug#18373).
6832
6833 2014-09-15 Glenn Morris <rgm@gnu.org>
6834
6835 * calendar/diary-lib.el (diary-list-entries):
6836 Restore 24.3 display behavior. (Bug#18381)
6837
6838 2014-09-15 Eli Zaretskii <eliz@gnu.org>
6839
6840 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
6841 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
6842 discrepancy between window-pixel-edges and mouse events, and
6843 avoids moving mode line up when the mouse click is on the modeline
6844 and no drag is attempted.
6845
6846 2014-09-14 Daniel Colascione <dancol@dancol.org>
6847
6848 * register.el (insert-register): Change default interactive
6849 insertion mode.
6850
6851 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
6852
6853 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
6854 Suppress debug messages.
6855
6856 * net/tramp.el (tramp-file-name-handler):
6857 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
6858 appropriate.
6859
6860 2014-09-13 Christopher Schmidt <ch@ristopher.com>
6861
6862 * calendar/calendar.el (calendar-update-mode-line):
6863 Do not overwrite mode-line-format if calendar-mode-line-format is
6864 nil. (Bug#18467)
6865
6866 2014-09-13 Leo Liu <sdl.web@gmail.com>
6867
6868 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
6869 (pcase--expand): Use it.
6870 (pcase-exhaustive): New macro. (Bug#16567)
6871
6872 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6873 Add pcase-exhaustive.
6874
6875 2014-09-13 Eli Zaretskii <eliz@gnu.org>
6876
6877 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
6878 using the specified transfer-encoding, if any, or 'undecided'.
6879 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
6880 broken at the window margin.
6881
6882 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
6883
6884 Support rendering of HTML parts in Rmail (bug#4258).
6885 * mail/rmailmm.el (rmail-mime-process): Handle text/html
6886 separately from other text/ types. Suppress tagline for
6887 multipart body.
6888 (rmail-mime-parse): Don't change visibility of tagline here.
6889 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
6890 Handle text/html specially.
6891 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
6892 (rmail-mime-insert-html, rmail-mime-render-html-shr)
6893 (rmail-mime-render-html-lynx): New functions.
6894 (rmail-mime-fix-inserted-faces): New function.
6895 (rmail-mime-process-multipart): Find the best part to show
6896 following rmail-mime-prefer-html if set.
6897 (rmail-mime-searching): New variable.
6898 (rmail-search-mime-message): Bind rmail-mime-searching to
6899 suppress rendering while searching.
6900
6901 2014-09-12 Sam Steingold <sds@gnu.org>
6902
6903 * progmodes/sql.el (sql-product-alist): Add vertica.
6904 (sql-vertica-program, sql-vertica-options)
6905 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
6906 New functions and variables to support Vertica.
6907 Inspired by code by Roman Scherer <roman@burningswell.com>.
6908
6909 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
6910
6911 * ses.el (ses-file-format-extend-parameter-list): Rename from
6912 ses-file-format-extend-paramter-list, to correct a misspelling.
6913 All uses changed.
6914
6915 2014-09-10 Alan Mackenzie <acm@muc.de>
6916
6917 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
6918 gets loaded at run-time).
6919 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
6920 c-lang-const to c-make-no-parens-syntax-table and correct the
6921 logic.
6922 (c-no-parens-syntax-table): Correct the logic of the
6923 c-lang-defvar.
6924
6925 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
6928 plus misc cleanup.
6929 * progmodes/cc-mode.el (c-basic-common-init):
6930 Set open-paren-in-column-0-is-defun-start.
6931 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
6932 Remove declarations, unused.
6933 (run-mode-hooks): Remove declaration.
6934 (font-lock-defaults): Use plain `defvar' to declare.
6935 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
6936 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
6937 (c-make-mode-syntax-table): Don't micro-optimize.
6938 (c-keywords, c-keyword-member-alist): Simplify.
6939 (c-kwds-lang-consts): Don't eval at compile-time.
6940 (c-primary-expr-regexp): Comment out unused vars.
6941 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
6942 (c-font-byte-compile): New var.
6943 (c--compile): New function. Use it instead of `byte-compile'.
6944 (c-cpp-matchers): Quote the value returned by
6945 `c-make-syntactic-matcher' in case it's not self-evaluating.
6946 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
6947 parentheses instead (in case MATCHER happens to be a list).
6948 (c-font-lock-enum-tail): Remove unused var `start'.
6949 (c-font-lock-objc-methods): Silence byte-compiler warnings.
6950 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
6951 test into an argument.
6952 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
6953 (c-get-char-property): Don't use `eval' just to unquote a constant.
6954 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
6955 more efficiently.
6956 (c-put-char-property-fun): Don't call `byte-compile' by hand.
6957 (c-clear-char-property, c-clear-char-properties): Check that `property'
6958 is a quoted constant.
6959 (c-emacs-features): Remove `infodock', `syntax-properties', and
6960 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
6961 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
6962 changing buffer, so we don't have to setq them again afterwards.
6963 (c-lang-const): Remove redundant symbolp assertions.
6964 (c-find-assignment-for-mode): Use `or'.
6965 * Makefile.in (compile-one-process): Remove cc-mode dependency.
6966
6967 2014-09-09 Sam Steingold <sds@gnu.org>
6968
6969 * progmodes/sql.el (sql-default-directory): Fix type annotation.
6970
6971 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
6974 Change doc comments into docstrings.
6975 * Makefile.in: Remove cc-awk dependency.
6976
6977 2014-09-08 Sam Steingold <sds@gnu.org>
6978
6979 * progmodes/sql.el (sql-send-line-and-next): New command,
6980 bound to C-c C-n.
6981 (sql-show-sqli-buffer): Display the buffer instead of its name and
6982 bind the command to C-c C-z.
6983 (sql-default-directory): New user option.
6984 (sql-product-interactive): Bind `default-directory' to it to
6985 enable remote connections using Tramp.
6986 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
6987 suitable buffer is available.
6988
6989 2014-09-08 Glenn Morris <rgm@gnu.org>
6990
6991 * calendar/calendar.el (calendar-basic-setup):
6992 Fix calendar-view-holidays-initially-flag and fancy display.
6993 * calendar/diary-lib.el (diary-live-p): Doc fix.
6994
6995 * calendar/calendar.el (calendar-basic-setup):
6996 Avoid clobbering calendar with diary. (Bug#18381)
6997
6998 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7001
7002 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7003
7004 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7005 as well (bug#18400).
7006
7007 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7008
7009 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7010
7011 2014-09-06 Leo Liu <sdl.web@gmail.com>
7012
7013 * emacs-lisp/pcase.el (pcase): Doc fix.
7014 (pcase--split-vector): New function.
7015 (pcase--q1): Support vector qpattern. (Bug#18327)
7016
7017 2014-09-05 Sam Steingold <sds@gnu.org>
7018
7019 * textmodes/tex-mode.el (tex-print-file-extension): New user
7020 option.
7021 (tex-print): Use it instead of the hard-coded string.
7022
7023 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7024
7025 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7026 Expand `default-directory'.
7027
7028 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7029
7030 * scroll-bar.el (horizontal-scroll-bars-available-p):
7031 New function.
7032 (horizontal-scroll-bar-mode): Rewrite using
7033 horizontal-scroll-bars-available-p.
7034 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7035 horizontal-scroll-bars-available-p.
7036
7037 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * subr.el (call-process-shell-command, process-file-shell-command):
7040 Make the `args' obsolete (bug#18409).
7041 (start-process-shell-command, start-file-process-shell-command):
7042 Use `declare'.
7043
7044 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7045
7046 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7047 "negative" hms forms.
7048
7049 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7050
7051 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7052 returns nil (bug#18391).
7053
7054 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7057 terminating paren (bug#18352).
7058 (eldoc-last-data-store): Return cached data.
7059 (eldoc-get-var-docstring): Avoid setq.
7060 (eldoc-get-fnsym-args-string): Clarify data flow.
7061
7062 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7063
7064 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7065 case where we're currently providing part of the &rest arg after some
7066 &key args, as in define-ibuffer-op (bug#18048).
7067
7068 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7071 buffer-local setting of which-func-mode.
7072 (which-func-mode): Use defvar-local.
7073 (which-function-mode): Don't reset which-func-mode in each buffer since
7074 it might have been set by someone else.
7075 (which-func-update-ediff-windows): Check which-function-mode.
7076
7077 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7078
7079 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7080 from frame-initial-frame-alist.
7081 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7082 (horizontal-scroll-bar-mode-explicit)
7083 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7084 (toggle-horizontal-scroll-bar): Remove.
7085 (horizontal-scroll-bar-mode): Remove defcustom.
7086 (horizontal-scroll-bar-mode): Fix doc-string.
7087 (scroll-bar-toolkit-scroll)
7088 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7089
7090 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * emacs-lisp/package.el (package-generate-description-file):
7093 Properly quote the arguments (bug#18332). Change second arg.
7094 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7095 quote the elements.
7096 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7097 the *-pkg.el file. Adjust to new calling convention of
7098 package-generate-description-file.
7099
7100 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7101 (gud-gdb-completions): Remove obsolete workaround.
7102
7103 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7104
7105 * subr.el (posn-col-row): Revert the change from commit
7106 2010-11-13T21:07:58Z!eliz@gnu.org, which
7107 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7108 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7109 introduced an off-by-one error in the reported row when there is a
7110 header line. (Bug#18384)
7111
7112 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7113
7114 * progmodes/python.el (python-indent-post-self-insert-function):
7115 Avoid electric colon at beginning-of-defun. (Bug#18228)
7116
7117 2014-09-03 Glenn Morris <rgm@gnu.org>
7118
7119 * tutorial.el (tutorial--display-changes):
7120 Fix 2014-08-01 change. (Bug#18382)
7121
7122 2014-09-03 Ken Brown <kbrown@cornell.edu>
7123
7124 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7125 the Cygwin-w32 build. (Bug#18347)
7126
7127 2014-09-03 Glenn Morris <rgm@gnu.org>
7128
7129 * tar-mode.el (tar--extract, tar-extract):
7130 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7131
7132 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7135 handle multiline elements (bug#18380).
7136
7137 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7138
7139 * ls-lisp.el (ls-lisp-use-string-collate)
7140 (ls-lisp-UCA-like-collation): New defcustoms.
7141 (ls-lisp-string-lessp): Use them to control sorting by file
7142 names. (Bug#18051)
7143 (ls-lisp-version-lessp): New function.
7144 (ls-lisp-handle-switches): Use it to implement the -v switch of
7145 GNU ls.
7146 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7147
7148 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7149
7150 * ibuffer.el: Replace mode-specific quit function with
7151 `quit-window' via `special-mode'.
7152 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7153 of local overrides.
7154 (ibuffer): Don't store previous windows configuration.
7155 Let `quit-window' handle restoring.
7156 (ibuffer-quit): Remove function. Use `quit-window' instead.
7157 (ibuffer-restore-window-config-on-quit): Remove variable.
7158 (ibuffer-prev-window-config): Remove variable.
7159
7160 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7161
7162 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7163 name instead of variable name in hook docstring. (Bug#18349)
7164
7165 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7166
7167 * window.el (display-buffer-at-bottom): Prefer bottom-left
7168 window to other bottom windows. Reuse a bottom window if it
7169 shows the buffer already. Suggested by Juri Linkov
7170 <juri@jurta.org> in discussion of (Bug#18181).
7171
7172 2014-08-29 Leo Liu <sdl.web@gmail.com>
7173
7174 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7175 append to minibuffer-setup-hook. (Bug#18341)
7176
7177 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7180 byte-compiler.
7181 (lookup-syntax-properties): Silence byte-compiler.
7182 (c-lang-defconst): Quote the code with `lambda' rather than with
7183 `quote'.
7184 (c-lang-const): Avoid unneeded setq.
7185 (c-lang-constants-under-evaluation): Add docstring.
7186 (c-lang--novalue): New constant.
7187 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7188 (c-get-lang-constant): Same here.
7189 Get the mode's value using `funcall' now that the code is quoted
7190 with `lambda'.
7191
7192 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7193
7194 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7195 (Bug#18326)
7196
7197 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7198
7199 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7200 interpretation of `portion-whole'.
7201
7202 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7203
7204 * net/tramp-adb.el: Spell author name correctly.
7205
7206 2014-08-28 João Távora <joaotavora@gmail.com>
7207
7208 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7209 use url-expand-file-name. (Bug#18310)
7210
7211 2014-08-28 Glenn Morris <rgm@gnu.org>
7212
7213 * emulation/cua-rect.el (cua--highlight-rectangle):
7214 Avoid error at point-min. (Bug#18309)
7215
7216 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7219 executable-find (bug#18244).
7220
7221 * simple.el (self-insert-uses-region-functions): Defvar.
7222
7223 2014-08-28 Glenn Morris <rgm@gnu.org>
7224
7225 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7226
7227 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7228
7229 * startup.el (normal-top-level): Now use internal--top-level-message.
7230
7231 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7232
7233 * startup.el (normal-top-level): Use top-level-message.
7234
7235 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7236
7237 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7238 URLs containing spaces and the like.
7239
7240 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7241
7242 * subr.el (remq): Fix docstring (Bug#18253).
7243
7244 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7245
7246 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7247
7248 2014-08-24 Alan Mackenzie <acm@muc.de>
7249
7250 Handle C++11's "auto" and "decltype" constructions.
7251 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7252 and return 'decltype.
7253 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7254 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7255 keyword.
7256 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7257 "decltype" keyword.
7258 (c-font-lock-c++-new): Handle "decltype" constructions.
7259 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7260 New c-lang-defconsts/defvars.
7261 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7262 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7263 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7264 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7265
7266 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7267 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7268 off from c->-op-cont-re.
7269 (c->-op-cont-tokens): Change to use the above.
7270 (c->-op-without->-cont-regexp): New lang-const.
7271 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7272 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7273
7274
7275 2014-08-23 Alan Mackenzie <acm@muc.de>
7276
7277 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7278 loop, bug #18306. The bug was introduced on 2014-08-02.
7279
7280 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7281
7282 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7283 Don't recognize a Top node if there are other sectioning commands
7284 earlier in the Texinfo file. This fixes a bug in
7285 texinfo-make-menu and avoids inflooping in
7286 texinfo-all-menus-update when they are invoked on texinfo.texi.
7287
7288 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7289
7290 * window.el (window--side-window-p): New function.
7291 (split-window, window-splittable-p): Use window--side-window-p to
7292 determine whether WINDOW can be split (Bug#18304).
7293 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7294 `window-splittable-p' and add another (Bug#18304).
7295
7296 2014-08-20 Sam Steingold <sds@gnu.org>
7297
7298 * progmodes/python.el (python-new-pythonpath): Extract from
7299 `python-shell-calculate-process-environment'.
7300
7301 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7302
7303 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7304 for &key args (bug#18048).
7305
7306 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7309 (eldoc-function-argstring-format): Remove.
7310 (eldoc-function-argstring): Always return upcase args.
7311 Use help-make-usage. Don't add parens.
7312 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7313 it's too late to do it right (bug#18048).
7314
7315 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7316
7317 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7318 (scroll-bar-toolkit-horizontal-scroll): When determining the
7319 paragraph direction, use the buffer of the window designated in
7320 the event.
7321
7322 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7323
7324 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7325 context of unified diff.
7326
7327 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7328
7329 Add dependencies to fix loaddefs race during parallel builds.
7330 Without this, for example, 'make -j bootstrap' can fail and report
7331 "Opening input file: no such file or directory,
7332 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7333 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7334 got confused because diary-loaddefs.el was being built in parallel.
7335 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7336 Depend on $(CAL_DIR)/cal-loaddefs.el.
7337 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7338
7339 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7340
7341 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7342 portion-whole for scrolling right-to-left text.
7343
7344 2014-08-15 Leo Liu <sdl.web@gmail.com>
7345
7346 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7347 elements from imenu.
7348
7349 2014-08-15 Glenn Morris <rgm@gnu.org>
7350
7351 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7352
7353 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7354
7355 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7356 Add Guile regexpses.
7357
7358 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7359
7360 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7361 add Guile debugger support for GUD.
7362
7363 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7366 (mouse-sel--ignore): New function.
7367 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7368 (mouse-sel-original-interprogram-cut-function)
7369 (mouse-sel-original-interprogram-paste-function): Remove.
7370
7371 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7372
7373 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7374 Call "git add" when there are no longer conflict markers.
7375
7376 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7377
7378 * vc/vc-git.el (vc-git-find-file-hook): New function.
7379 Adds support for calling smerge (and resolve) on a conflicted file.
7380 (vc-git-conflicted-files): New function.
7381 Useful in itself and a step towards better smerge support.
7382
7383 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7386 to the first part if they're the same as the selection.
7387
7388 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7389
7390 * image-mode.el (image-transform-reset): New command and menu item.
7391 (image-mode-map): Rearrange the menu items to put presumably more
7392 obscure items at the end.
7393
7394 2014-08-12 Juri Linkov <juri@jurta.org>
7395
7396 * vc/vc-annotate.el (vc-annotate-background-mode):
7397 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7398
7399 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7400
7401 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7402
7403 2014-08-11 Sam Steingold <sds@gnu.org>
7404
7405 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7406 the presence of known validators (tidy, (o)nsgmls).
7407
7408 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7409
7410 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7411 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7412 (newsticker--treeview-list-add-item):
7413 Use `newsticker-treeview-date-format'.
7414
7415 2014-08-11 Glenn Morris <rgm@gnu.org>
7416
7417 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7418 chose coding system for writing before backing up, since it causes
7419 a more serious problem than the one it solves. (Closes Bug#18141,
7420 reopens Bug#13522.)
7421
7422 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7423
7424 * window.el (window-total-size): Make doc-string more self-contained.
7425
7426 * window.el (display-buffer-below-selected): Restore original
7427 behavior if buffer is already displayed in the window below the
7428 selected one (Bug#18181).
7429
7430 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7431
7432 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7433 event (bug#18212).
7434
7435 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7436
7437 * info.el (info): Doc fix.
7438
7439 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7442 (bug#18212).
7443
7444 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7445
7446 * simple.el (default-line-height): A floating-point value of
7447 line-spacing means a fraction of the default frame font's height,
7448 not of the font currently used by the 'default' face.
7449 Truncate the pixel value, like the display engine does.
7450 (window-screen-lines): Use window-inside-pixel-edges for
7451 determining the window height in pixels. (Bug#18195)
7452
7453 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7454
7455 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7456
7457 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7458
7459 Enumerate evaluated sexp diary entries (Bug#7911).
7460 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7461 (icalendar-export-sexp-enumeration-days): New.
7462 (icalendar-export-region): Now `icalendar--convert-to-ical'
7463 returns a cons cell or a list of cons cells.
7464 (icalendar--convert-to-ical): Take care of
7465 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7466 (icalendar--convert-ordinary-to-ical)
7467 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7468 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7469 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7470 (icalendar--convert-anniversary-to-ical): Return cons cell.
7471 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7472 entries. Return (list of) cons cells.
7473
7474 2014-08-09 Juri Linkov <juri@jurta.org>
7475
7476 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7477 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7478
7479 2014-08-09 Alan Mackenzie <acm@muc.de>
7480
7481 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7482 for top-level that can cause unacceptable slow-down in scrolling.
7483 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7484 Antipov from 2013-10-14 in emacs-devel.
7485
7486 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7487
7488 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7489 `ibuffer-auto-mode' menu entry.
7490 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7491
7492 2014-08-08 Matthias Meulien <orontee@gmail.com>
7493
7494 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7495 (Bug#16394)
7496
7497 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7498
7499 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7500 calls of window-min-pixel-height and window-min-pixel-width.
7501
7502 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7503
7504 * progmodes/ada-mode.el:
7505 * net/tramp.el (tramp-handle-file-symlink-p):
7506 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7507 about VMS, which we no longer support.
7508 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7509 and fix a FIXME, using convert-standard-filename in place of
7510 removed ada-convert-file-name.
7511
7512 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7513
7514 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7515
7516 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7517
7518 Refer to MS-DOS using the same name everywhere.
7519 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7520 ``msdog'' become ``MS-DOS''.
7521
7522 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7523
7524 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7525 Use cached "remote-copy-args" value, if available. (Bug#18199)
7526
7527 2014-08-07 Leo Liu <sdl.web@gmail.com>
7528
7529 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7530 Revert change on 2014-03-22.
7531
7532 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7533
7534 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7535 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7536 (Bug#13750).
7537
7538
7539 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540
7541 * image-mode.el (image-toggle-display-image): Always rescale images
7542 to not be bigger than the current window.
7543
7544 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7545
7546 * net/eww.el (eww-bookmarks-directory): New variable.
7547 (eww-write-bookmarks): Use it.
7548 (eww-read-bookmarks): Ditto.
7549
7550 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7551
7552 * net/shr.el (shr-copy-url): Also copy the image URL.
7553
7554 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7555
7556 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7557 also for Tramp working buffers.
7558
7559 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7560
7561 * progmodes/python.el: Fix completions inside (i)pdb.
7562 (python-shell-completion-pdb-string-code): Make obsolete.
7563 (python-shell-completion-get-completions):
7564 Use python-shell-completion-string-code resending setup code
7565 continuously for (i)pdb.
7566
7567 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7568
7569 * rect.el (rectangle--default-line-number-format): Rename
7570 from misspelled rectange--default-line-number-format (Bug#18045).
7571 All uses changed.
7572
7573 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7574
7575 Don't mishandle year-9999 dates (Bug#18176).
7576 * calendar/parse-time.el (parse-time-rules):
7577 Allow years up to most-positive-fixnum.
7578 * calendar/time-date.el (date-to-time):
7579 Pass "Specified time is not representable" errors through.
7580
7581 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7582
7583 * progmodes/python.el: Completion code cleanups.
7584 (python-shell-completion-get-completions): Detect and send import
7585 statements directly to completion function.
7586 (python-shell-completion-at-point): Simplify prompt calculation
7587 and import vs input completion logic.
7588
7589 2014-08-02 Alan Mackenzie <acm@muc.de>
7590
7591 Fix confusion in C++ file caused by comma in "= {1,2},".
7592 Bug #17756.
7593 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7594 for a statement boundary marked by "}", check there's no "="
7595 before the "{".
7596 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7597 non-nil `comma-delim' argument.
7598 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7599 initializer expression more accurately.
7600
7601 Correct loop termination condition in c-syntactic-skip-backward.
7602 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7603 the situation where, after moving back out of a literal,
7604 skip-chars-backward doesn't move further, yet checks have still to
7605 be done.
7606
7607 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7608
7609 * tutorial.el (tutorial--display-changes): Accept punctuation
7610 characters before the key binding. (Bug#18146)
7611
7612 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7613
7614 * progmodes/python.el: Shell output capture enhancements.
7615 (python-shell-accept-process-output): New function.
7616 (inferior-python-mode)
7617 (python-shell-send-setup-code): Use it.
7618
7619 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7620
7621 * calendar/icalendar.el (icalendar--decode-isodatetime):
7622 Use actual current-time-zone when converting to local time. (Bug#15408)
7623
7624 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7625
7626 * window.el (window--state-put-2): Handle horizontal scroll
7627 bars, if present.
7628
7629 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7630
7631 * menu-bar.el (menu-bar-update-buffers): Update item list format
7632 in `buffers-menu' to confirm with changes to `get_keyelt'
7633 (r117463). (Bug#18016)
7634
7635 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7636
7637 * progmodes/python.el (inferior-python-mode): Make input prompts
7638 read-only.
7639
7640 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7641
7642 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7643 executables named "python2" or "python3".
7644 (tramp-get-remote-uid-with-python): Use parentheses around
7645 arguments to `print' to make it compatible with Python 3.
7646 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7647
7648 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7649
7650 * window.el (window--pixel-to-total): Use FRAME's root window, not
7651 that of the selected frame. (Bug#18112, Bug#16674)
7652
7653 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7654
7655 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7656 (Bug#18117)
7657
7658 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7659
7660 * progmodes/python.el (inferior-python-mode): Doc fix.
7661
7662 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7663
7664 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7665 not a character, ignore it instead of raising an error.
7666
7667 * calendar/todo-mode.el: Fix handling of marked items and make
7668 minor code improvements.
7669 (todo-edit-item): If there are marked items, ensure user can only
7670 invoke editing commands that work with marked items.
7671 (todo-edit-item--text): When there are marked items, make it a
7672 noop if invoked with point not on an item; otherwise, ensure it
7673 applies only to item at point.
7674 (todo-item-undone): If there are marked not-done items, return
7675 point to its original position before signaling user error.
7676 (todo--user-error-if-marked-done-item): New function.
7677 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7678 (todo-item-done): Use it.
7679
7680 2014-07-28 Glenn Morris <rgm@gnu.org>
7681
7682 * files.el (toggle-read-only): Re-add basic doc-string.
7683 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7684
7685 * progmodes/prolog.el (prolog-mode-keybindings-edit):
7686 Replace missing `switch-to-prolog' with `run-prolog'.
7687 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7688
7689 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7690
7691 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7692 of file-wide setting when changing category-wide setting.
7693
7694 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7695
7696 * doc-view.el (doc-view-open-text): Don't require that the
7697 document is saved in a file (e.g., email attachment).
7698
7699 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7700
7701 Parse completion input in a iPython friendly way. (Bug#18084)
7702 * progmodes/python.el
7703 (python-shell-completion-at-point): Rename from
7704 python-shell-completion-complete-at-point.
7705 (inferior-python-mode): Use it.
7706 (python-completion-at-point): Rename from
7707 python-completion-complete-at-point. Parse input up to first
7708 backward occurrence of whitespace, open-paren, close-paren or
7709 string delimiter.
7710 (python-mode): Use it.
7711
7712 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7713
7714 * progmodes/python.el
7715 (python-shell-with-shell-buffer): New macro.
7716 (python-shell-font-lock-get-or-create-buffer)
7717 (python-shell-font-lock-kill-buffer)
7718 (python-shell-font-lock-with-font-lock-buffer)
7719 (python-shell-font-lock-cleanup-buffer)
7720 (python-shell-font-lock-toggle): Use it.
7721 (python-shell-font-lock-turn-on)
7722 (python-shell-font-lock-turn-off): Use it. Make command.
7723
7724 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7725
7726 Grab all Python process output before inferior-python-mode hooks.
7727 * progmodes/python.el (inferior-python-mode):
7728 Call accept-process-output and sit-for to ensure all output for process
7729 has been received before running hooks.
7730 (python-shell-internal-get-or-create-process):
7731 Cleanup accept-process-output and sit-for calls.
7732
7733 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7734
7735 More robust shell startup and code setup.
7736 * progmodes/python.el (python-shell-make-comint):
7737 Remove accept-process-output call.
7738 (python-shell-get-buffer): Return current buffer if major-mode is
7739 inferior-python-mode.
7740 (python-shell-get-or-create-process): Use it.
7741 (python-shell-send-setup-code): Send all setup code in one string,
7742 output success message and accept-process-output.
7743
7744 2014-07-27 Eli Zaretskii <eliz@gnu.org>
7745
7746 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
7747 Add rudimentary support for bidirectional text.
7748
7749 2014-07-27 Martin Rudalics <rudalics@gmx.at>
7750
7751 * frame.el (frame-notice-user-settings): Rewrite using
7752 frame-initial-frame-tool-bar-height.
7753 * menu-bar.el (menu-bar-horizontal-scroll-bar)
7754 (menu-bar-no-horizontal-scroll-bar): New functions.
7755 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
7756 scroll bars.
7757 * scroll-bar.el (scroll-bar-lines)
7758 (set-horizontal-scroll-bar-mode)
7759 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
7760 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
7761 (scroll-bar-toolkit-horizontal-scroll): New functions.
7762 (horizontal-scroll-bar-mode)
7763 (previous-horizontal-scroll-bar-mode)
7764 (horizontal-scroll-bar-mode-explicit): New variables.
7765 (horizontal-scroll-bar-mode): New option.
7766 (toggle-horizontal-scroll-bar): Do something.
7767 (top-level): Bind horizontal-scroll-bar mouse-1.
7768 * startup.el (tool-bar-originally-present): Remove variable.
7769 (command-line): Don't set tool-bar-originally-present.
7770 * window.el (window-min-height): Update doc-string.
7771 (window--dump-frame): Dump horizontal scroll bar values.
7772 (window--min-size-1): Handle minibuffer window separately.
7773 Count in margins and horizontal scroll bar. Return safe value
7774 iff IGNORE equals 'safe.
7775 (frame-windows-min-size): New function (used by frame resizing
7776 routines).
7777 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
7778 scroll bars.
7779 (window--sanitize-window-sizes): New function.
7780 (window-split-min-size): Remove.
7781 (split-window): Count divider-width. Don't use
7782 `window-split-min-size' any more. Reword error messages.
7783 Sanitize windows sizes after splitting.
7784
7785 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
7786
7787 Use `defvar-local' more.
7788 * progmodes/hideshow.el
7789 (hs-c-start-regexp, hs-block-start-regexp)
7790 (hs-block-start-mdata-select, hs-block-end-regexp)
7791 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
7792 remove corresponding `make-variable-buffer-local' top-level calls.
7793
7794 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7795
7796 Cleanup error signals. (Bug#18067)
7797 * progmodes/python.el
7798 (python-indent-shift-left): Use user-error instead.
7799 (python-shell-prompt-detect): Use lwarn with python group.
7800 (python-completion-complete-at-point)
7801 (python-eldoc--get-doc-at-point): Don't signal error.
7802
7803 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7804
7805 Support for packages in Python shell. (Bug#13570)
7806 * progmodes/python.el (python-shell--package-depth): New var.
7807 (python-shell-package-enable): New command.
7808 (python-util-list-directories, python-util-list-files)
7809 (python-util-list-packages): New functions.
7810
7811 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7812
7813 Faster comint output. (Bug#16875)
7814 * progmodes/python.el:
7815 (python-comint-output-filter-function): Make obsolete.
7816 (python-comint-postoutput-scroll-to-bottom): New function.
7817 (inferior-python-mode): Set comint-output-filter-functions to a
7818 minimum.
7819
7820 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7821
7822 * progmodes/python.el (python-shell-font-lock-post-command-hook):
7823 Safeguard current point and undo history.
7824
7825 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7826
7827 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
7828 * progmodes/python.el:
7829 (python-shell-prompt-input-regexps): Add iPython block prompt.
7830 (python-shell-output-syntax-table): Delete var.
7831 (python-shell-font-lock-with-font-lock-buffer): New macro.
7832 (python-shell-font-lock-get-or-create-buffer)
7833 (python-shell-font-lock-kill-buffer)
7834 (python-shell-font-lock-cleanup-buffer)
7835 (python-shell-font-lock-post-command-hook)
7836 (python-shell-font-lock-turn-off): New functions.
7837 (python-shell-font-lock-turn-on): New function.
7838 (inferior-python-mode): Use it.
7839 (python-shell-font-lock-toggle): New command.
7840 (python-shell-font-lock-enable): Rename from
7841 python-shell-enable-font-lock.
7842 (run-python-internal): Use it.
7843 (python-shell-font-lock-comint-output-filter-function): New function.
7844 (python-shell-comint-end-of-output-p): New function.
7845 (python-shell-output-filter): Use it.
7846 (python-util-comint-last-prompt): New function.
7847 (python-util-text-properties-replace-name): New function.
7848
7849 2014-07-25 Glenn Morris <rgm@gnu.org>
7850
7851 * vc/ediff-init.el (ediff-toggle-read-only-function):
7852 * vc/ediff-util.el (ediff-toggle-read-only):
7853 Replace obsolete toggle-read-only with read-only-mode.
7854
7855 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
7856
7857 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
7858 with `save-match-data'. (Bug#18095)
7859
7860 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
7861
7862 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
7863 order to ensure that row and col are lexically bound inside the
7864 evaluated sexp.
7865
7866 2014-07-21 Glenn Morris <rgm@gnu.org>
7867
7868 * progmodes/hideif.el (hide-ifdef-mode-submap):
7869 Also substitute read-only-mode.
7870 * bindings.el (mode-line-toggle-read-only):
7871 * bs.el (bs-toggle-readonly):
7872 * buff-menu.el (Buffer-menu-toggle-read-only):
7873 * dired.el (dired-toggle-read-only):
7874 * files.el (view-read-only, find-file-read-only)
7875 (find-file-read-only-other-window)
7876 (find-file-read-only-other-frame):
7877 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
7878 Doc fixes re toggle-read-only.
7879
7880 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7881
7882 * progmodes/python.el: Add comment about pipe buffering and
7883 solutions for missing/delayed output in inferior Python shells.
7884 (Bug#17304)
7885
7886 * progmodes/python.el (python-mode): Don't set
7887 mode-require-final-newline. (Bug#17990)
7888
7889 Make python.el work with IPython automatically. (Bug#15510)
7890 * progmodes/python.el:
7891 (python-shell-completion-setup-code): New value supporting iPython.
7892 (python-shell-completion-string-code): New value supporting iPython.
7893 (python-shell-completion-get-completions): Use them.
7894 (python-shell-completion-module-string-code): Make obsolete.
7895 (python-shell-prompt-input-regexps)
7896 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
7897 (python-shell-output-filter): Fix comment typo.
7898
7899 Fix Python shell prompts detection for remote hosts.
7900 * progmodes/python.el (python-shell-prompt-detect):
7901 Replace call-process with process-file and make it more robust.
7902
7903 Autodetect Python shell prompts. (Bug#17370)
7904 * progmodes/python.el:
7905 (python-shell-interpreter-interactive-arg)
7906 (python-shell-prompt-detect-enabled)
7907 (python-shell-prompt-detect-failure-warning)
7908 (python-shell-prompt-input-regexps)
7909 (python-shell-prompt-output-regexps): New vars.
7910 (python-shell-prompt-calculated-input-regexp)
7911 (python-shell-prompt-calculated-output-regexp): New vars.
7912 (python-shell-get-process-name)
7913 (python-shell-internal-get-process-name)
7914 (python-shell-output-filter)
7915 (python-shell-completion-get-completions): Use them.
7916 (python-shell-prompt-detect)
7917 (python-shell-prompt-validate-regexps): New functions.
7918 (python-shell-prompt-set-calculated-regexps): New function.
7919 (inferior-python-mode): Use it. Also honor overriden
7920 python-shell-interpreter and python-shell-interpreter-args.
7921 (python-shell-make-comint): Honor overriden
7922 python-shell-interpreter and python-shell-interpreter-args.
7923 (python-shell-get-or-create-process): Make it testable by allowing
7924 to call run-python non-interactively.
7925 (python-util-valid-regexp-p): New function.
7926 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
7927 (python-shell-prompt-output-regexp)
7928 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
7929
7930 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * emacs-lisp/smie.el (smie-config--guess-1): Split from
7933 smie-config--guess.
7934 (smie-config--guess): Use it.
7935
7936 * emacs-lisp/edebug.el: Use nadvice.
7937 (edebug-original-read): Remove.
7938 (edebug--read): Rename from edebug-read and add `orig' arg.
7939 (edebug-uninstall-read-eval-functions)
7940 (edebug-install-read-eval-functions): Use nadvice.
7941 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
7942 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
7943 (edebug-read-string, edebug-read-function): Use just `read'.
7944 (edebug-original-debug-on-entry): Remove.
7945 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
7946 `orig' arg.
7947 (debug-on-entry): Override with nadvice.
7948
7949 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
7950 it also makes sense to bind it to a non-mouse event.
7951
7952 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
7953
7954 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
7957 (bug#18015).
7958
7959 * rect.el (rectangle--string-preview): Don't assume there
7960 a non-nil default (bug#17984).
7961
7962 2014-07-16 Glenn Morris <rgm@gnu.org>
7963
7964 * desktop.el (after-init-hook): Disable startup frame restoration
7965 in non-graphical situations. (Bug#17693)
7966
7967 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
7968 if it was "empty", or used for a different set of files. (Bug#17884)
7969
7970 2014-07-16 Eli Zaretskii <eliz@gnu.org>
7971
7972 * bindings.el (mode-line-remote): If default-directory is not a
7973 string, don't call file-remote-p on it; instead state in the
7974 help-echo that it is nil. (Bug#17986)
7975
7976 2014-07-14 Daniel Colascione <dancol@dancol.org>
7977
7978 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
7979 to `macroexpand-all'
7980
7981 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
7982 Use `macroexpand-all' instead of `cl-macroexpand-all'.
7983
7984 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
7985
7986 Fix bug: C-x v v discarded existing log message (Bug#17884).
7987 * vc/vc-dispatcher.el (vc-log-edit):
7988 Don't clobber an already-existing log message.
7989
7990 2014-07-12 Glenn Morris <rgm@gnu.org>
7991
7992 * vc/log-edit.el (log-edit-changelog-entries):
7993 Check for a visited-but-never-saved ChangeLog.
7994
7995 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
7998 a non-existing file (bug#17970).
7999
8000 * faces.el (face-name): Undo last change.
8001 (x-resolve-font-name): Don't call face-name (bug#17956).
8002
8003 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8004
8005 Fix dedenters and electric colon handling. (Bug#15163)
8006 * progmodes/python.el
8007 (python-rx-constituents): Add dedenter and block-ender.
8008 (python-indent-dedenters, python-indent-block-enders): Delete.
8009 (python-indent-context): Return new case for dedenter-statement.
8010 (python-indent-calculate-indentation): Handle new case.
8011 (python-indent-calculate-levels): Fix levels calculation for
8012 dedenter statements.
8013 (python-indent-post-self-insert-function): Fix colon handling.
8014 (python-info-dedenter-opening-block-message): New function.
8015 (python-indent-line): Use it.
8016 (python-info-closing-block)
8017 (python-info-closing-block-message): Remove.
8018 (python-info-dedenter-opening-block-position)
8019 (python-info-dedenter-opening-block-positions)
8020 (python-info-dedenter-statement-p): New functions.
8021
8022 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8023
8024 * files.el (out-of-memory-warning-percentage): New defcustom.
8025 (warn-maybe-out-of-memory): Use it.
8026
8027 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8028
8029 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8030 when calling `read-string'. (Bug#17839)
8031
8032 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8033
8034 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8035 warning.
8036
8037 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8038
8039 * files.el (warn-maybe-out-of-memory): New function.
8040 (find-file-noselect): Use it.
8041
8042 2014-07-09 Sam Steingold <sds@gnu.org>
8043
8044 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8045 `constant' like `bless', `return' &c
8046
8047 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8048
8049 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8050 next line.
8051
8052 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8055 the middle of a line (bug#17896).
8056
8057 2014-07-09 Juri Linkov <juri@jurta.org>
8058
8059 * startup.el (command-line): Append displaying the warning about
8060 the errors in the init file to the end of `after-init-hook'.
8061 (Bug#17927)
8062
8063 * faces.el (face-name): Return input arg `face' as-is
8064 when it's not a symbol.
8065 (x-resolve-font-name): Don't check if the face is a symbol.
8066 (Bug#17956)
8067
8068 * facemenu.el (list-colors-print): In help-echo format use %.2f
8069 instead of %d because now HSV values are floating-point components
8070 between 0.0 and 1.0.
8071
8072 2014-07-09 Glenn Morris <rgm@gnu.org>
8073
8074 * emulation/cua-rect.el (cua--activate-rectangle):
8075 Avoid setting cua--rectangle to nil. (Bug#17877)
8076
8077 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8078
8079 * calendar/todo-mode.el: Fix wrong-type-argument error when
8080 marking multiple consecutive items.
8081 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8082 end of the todo and done items sections. Note in doc string that
8083 items marked by passing a numeric prefix argument can include the
8084 last todo and first done items.
8085 (todo-mark-category): Don't try to mark the empty line between the
8086 todo and done items sections.
8087
8088 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8091 proper Lisp quoting (bug#17934).
8092
8093 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8094 require-final-newline since prog-mode already took care of it (bug#17947).
8095
8096 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8097
8098 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8099 refer to the Todo mode Info manual. Update the comment on
8100 requiring cl-lib.
8101 (todo-find-filtered-items-file): Add todo-prefix overlays.
8102 (todo-filter-items): Reorder a let-bound variable to avoid a
8103 wrong-type-argument error on canceling the file choice dialog.
8104
8105 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * progmodes/octave.el (inferior-octave-mode):
8108 Set comint-input-ring-size to a number (bug#17912).
8109
8110 2014-07-09 Juri Linkov <juri@jurta.org>
8111
8112 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8113 and `isearch-mode' associated with nil. (Bug#17849)
8114
8115 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * linum.el (linum--face-height): New function (bug#17813).
8118 (linum-update-window): Use it to adjust margin to linum's width.
8119
8120 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8121 * eshell/em-smart.el (eshell-smart-scroll-window):
8122 Use with-selected-window.
8123
8124 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8125 Remove also pointless window&mark manipulation.
8126
8127 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8128 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8129 (perl-continuation-line-p): Don't skip over anything else than labels.
8130 Return the previous char.
8131 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8132 and update callers accordingly. For continuation lines, check the
8133 the case of array hashes.
8134 (perl-backward-to-noncomment): Make it non-interactive.
8135 (perl-backward-to-start-of-continued-exp): Rewrite.
8136
8137 2014-07-08 Sam Steingold <sds@gnu.org>
8138
8139 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8140 New user commands.
8141
8142 2014-07-08 Juri Linkov <juri@jurta.org>
8143
8144 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8145 (vc-annotate-color-map): Use less saturated colors (20%) for
8146 background-mode.
8147 (vc-annotate-very-old-color): Add default value for background-mode.
8148 (vc-annotate-background): Set default value to nil since now text on
8149 the default backgrounds should be legible in light and dark modes.
8150 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8151 (Bug#17808)
8152
8153 2014-07-08 Juri Linkov <juri@jurta.org>
8154
8155 * simple.el (transpose-chars): Don't move point into read-only area.
8156 (Bug#17829)
8157
8158 2014-07-08 Juri Linkov <juri@jurta.org>
8159
8160 * window.el (with-displayed-buffer-window): New macro.
8161 (with-temp-buffer-window, with-current-buffer-window):
8162 Use `macroexp-let2' to evaluate and bind variables
8163 in the same order as macro arguments.
8164 (display-buffer--action-function-custom-type):
8165 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8166
8167 * minibuffer.el (minibuffer-completion-help): Replace
8168 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8169 with actions that display *Completions* at-bottom when called
8170 from the minibuffer, or below-selected in a normal buffer.
8171 Associate `window-height' with `fit-window-to-buffer'.
8172 Let-bind `pop-up-windows' to nil.
8173
8174 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8175 instead of `with-current-buffer-window'. (Bug#17809)
8176
8177 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8178
8179 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8180 (hide-ifdef-env-backup): New variable.
8181 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8182 New customizable variables.
8183 (hif-clear-all-ifdef-defined): New defun.
8184 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8185 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8186 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8187 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8188 Fix bug to hide the correct #elif region(s).
8189 (hif-range-elif): New defun.
8190 (hif-recurse-level): New var.
8191 (hif-evaluate-region, hif-evaluate-macro): New defun.
8192 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8193 fully hidden.
8194 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8195 Better interaction.
8196
8197 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8198
8199 * net/dbus.el (dbus-peer-handler): New defun.
8200 (dbus-register-service): Register it. (Bug#17858)
8201 (dbus-managed-objects-handler): Fix docstring.
8202
8203 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8204
8205 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8206 (narrow-to-defun): New arg include-comments, defaulting to it
8207 (bug#16328).
8208
8209 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8212 different calling convention to rectangle--unhighlight-for-redisplay.
8213
8214 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8215
8216 * net/tramp.el (tramp-call-process): Handle error strings.
8217
8218 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8219
8220 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8221 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8222
8223 * net/trampver.el: Update release number.
8224
8225 2014-07-03 Juri Linkov <juri@jurta.org>
8226
8227 * desktop.el (desktop-save): Rename arg `auto-save' to
8228 `only-if-changed'. Doc fix. (Bug#17873)
8229
8230 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8233 Use insert-for-yank (bug#17271).
8234
8235 2014-07-03 Leo Liu <sdl.web@gmail.com>
8236
8237 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8238 Support lexical-binding.
8239
8240 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8241
8242 * vc/log-edit.el (log-edit-goto-eoh): New function.
8243 (log-edit--match-first-line): Use it (bug#17861).
8244
8245 2014-07-03 Glenn Morris <rgm@gnu.org>
8246
8247 * vc/log-edit.el (log-edit-hook): Add missing :version.
8248
8249 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8250
8251 * progmodes/python.el (python-indent-post-self-insert-function):
8252 Enhancements to electric indentation behavior inside
8253 parens. (Bug#17658)
8254
8255 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8256
8257 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8258 buffer-invisibility-spec (bug#17867).
8259
8260 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8261
8262 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8263 pass "-a".
8264
8265 2014-07-03 Glenn Morris <rgm@gnu.org>
8266
8267 * cus-edit.el (help):
8268 * finder.el (finder-known-keywords):
8269 * help.el (help-for-help-internal):
8270 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8271 (ediff-redraw-registry-buffer):
8272 * vc/ediff-ptch.el (ediff-patch-file-internal):
8273 Doc fixes re "online" help. (Bug#17803)
8274
8275 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8276 (idlwave-mode): Doc URL update.
8277
8278 2014-07-01 Juri Linkov <juri@jurta.org>
8279
8280 * man.el: Display man pages immediately and use process-filter
8281 to format them asynchronously.
8282 (Man-width): Doc fix.
8283 (man): Doc fix.
8284 (Man-start-calling): Use `with-selected-window' to get
8285 `frame-width' and `window-width'.
8286 (Man-getpage-in-background): Call `Man-notify-when-ready'
8287 immediately after creating a new buffer. Call `Man-mode' and set
8288 `mode-line-process' in the created buffer. Set process-filter to
8289 `Man-bgproc-filter' in start-process branch. In call-process branch
8290 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8291 Use `Man-start-calling' inside `with-current-buffer'.
8292 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8293 (Man-cleanup-manpage): Don't print messages.
8294 (Man-bgproc-filter): New function.
8295 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8296 user moved it during asynchronous formatting. Move calls of
8297 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8298 `Man-bgproc-filter'. Move the call of `Man-mode' to
8299 `Man-getpage-in-background'. Use `quit-restore-window'
8300 instead of `kill-buffer'. Use `message' instead of `error'
8301 because errors are caught by process sentinel.
8302 (Man-mode): Move calls of `Man-build-page-list',
8303 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8304 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8305
8306 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8307 for the message about the man page cleaned up.
8308
8309 2014-07-01 Mario Lang <mlang@delysid.org>
8310
8311 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8312 cosutomization option `gnutls-verify-error'.
8313
8314 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8317 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8318
8319 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8320 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8321 is suspended (bug#17857).
8322
8323 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8324
8325 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8326 Prefer utf-8 coding. (Bug#17859)
8327
8328 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8329
8330 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8331 for `reverse'.
8332
8333 2014-06-30 Glenn Morris <rgm@gnu.org>
8334
8335 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8336 (autoload-ensure-default-file): Maybe make existing output writable.
8337 * Makefile.in (AUTOGEN_VCS): Remove.
8338 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8339
8340 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8341
8342 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8343
8344 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8345
8346 New if-let, when-let, thread-first and thread-last macros.
8347
8348 * emacs-lisp/subr-x.el
8349 (internal--listify, internal--check-binding)
8350 (internal--build-binding-value-form, internal--build-binding)
8351 (internal--build-bindings): New functions.
8352 (internal--thread-argument, thread-first, thread-last)
8353 (if-let, when-let): New macros.
8354
8355 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8356
8357 * net/rcirc.el (rcirc-buffer-process): Restore previous
8358 behaviour. (Bug#17772)
8359
8360 2014-06-29 Alan Mackenzie <acm@muc.de>
8361
8362 Don't call c-parse-state when c++-template-syntax-table is active.
8363 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8364 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8365 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8366
8367 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8368
8369 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8370 account for file-wide setting of todo-top-priorities-overrides.
8371 Make code a bit cleaner.
8372
8373 2014-06-28 Glenn Morris <rgm@gnu.org>
8374
8375 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8376
8377 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8378
8379 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8380 category-wide setting of todo-top-priorities-overrides, check for
8381 a file-wide setting and fontify accordingly.
8382
8383 2014-06-28 Glenn Morris <rgm@gnu.org>
8384
8385 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8386
8387 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8390
8391 2014-06-28 K. Handa <handa@gnu.org>
8392
8393 Fix Bug#17739.
8394
8395 * composite.el: Setup composition-function-table for dotted circle.
8396 (compose-gstring-for-dotted-circle): New function.
8397
8398 * international/characters.el: Add category "^" to all
8399 non-spacing characters.
8400
8401 2014-06-28 Glenn Morris <rgm@gnu.org>
8402
8403 * Makefile.in (doit): Remove force rule.
8404 (custom-deps, finder-data, autoloads, update-subdirs)
8405 (compile-one-process): PHONY targets do not need force rules.
8406
8407 * Makefile.in (compile-main, compile, compile-always):
8408 No need to explicitly pass variables to ourself in recursive calls.
8409
8410 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8413
8414 2014-06-26 Glenn Morris <rgm@gnu.org>
8415
8416 * Makefile.in (update-authors): Update for moved authors.el.
8417
8418 2014-06-26 Leo Liu <sdl.web@gmail.com>
8419
8420 * skeleton.el (skeleton-end-hook): Default to nil and move the
8421 work to skeleton-insert. (Bug#17850)
8422
8423 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8424
8425 * calc/calc-alg.el (math-beforep):
8426 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8427 Simplify because string-lessp can accept symbols as args.
8428
8429 2014-06-26 Daiki Ueno <ueno@gnu.org>
8430
8431 * emacs-lisp/package.el (package--check-signature):
8432 If package-check-signature is allow-unsigned, don't signal error when
8433 we can't verify signature because of missing public key
8434 (bug#17625).
8435
8436 2014-06-26 Glenn Morris <rgm@gnu.org>
8437
8438 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8439 Remove outdated declaration.
8440
8441 * emacs-lisp/authors.el (authors-valid-file-names)
8442 (authors-renamed-files-alist): Additions.
8443
8444 2014-06-26 Leo Liu <sdl.web@gmail.com>
8445
8446 * textmodes/picture.el (picture-set-tab-stops):
8447 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8448 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8449
8450 * progmodes/asm-mode.el (asm-calculate-indentation):
8451 Use indent-next-tab-stop.
8452
8453 * indent.el (indent-accumulate-tab-stops): New function.
8454
8455 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8458 (package-desc-status): Obey it.
8459
8460 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8461
8462 * calendar/todo-mode.el: Fix two bugs.
8463 (todo-insert-item--basic): If user cancels item insertion to
8464 another category before setting priority, show original category
8465 whether it is in the same or a different file.
8466 (todo-set-item-priority): After selecting category, instead of
8467 moving point to top, which extends an active region, restore it.
8468
8469 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8470
8471 * help-fns.el (describe-function-1): Check file-name is a string before
8472 calling help-fns--autoloaded-p (bug#17564).
8473
8474 2014-06-26 Juri Linkov <juri@jurta.org>
8475
8476 * desktop.el (desktop-auto-save-enable)
8477 (desktop-auto-save-disable): New functions.
8478 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8479 (desktop-read): Disable the autosave before loading the desktop,
8480 and enable afterwards. (Bug#17351)
8481
8482 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 Fix some indentation problem with \; and pipes (bug#17842).
8485 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8486 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8487 New functions.
8488 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8489 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8490 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8491
8492 2014-06-26 Glenn Morris <rgm@gnu.org>
8493
8494 * emacs-lisp/find-func.el (find-function-C-source-directory):
8495 Use file-accessible-directory-p.
8496
8497 * ps-samp.el: Make it slightly less awful.
8498 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8499 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8500 Only set local values.
8501 (ps-article-subject, ps-article-author): Use standard functions
8502 like mail-fetch-field.
8503 (ps-info-file, ps-info-node): Use match-string.
8504 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8505 (ps-samp-ps-setup): ... new function.
8506
8507 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8508 Optimize away code unneeded on any modern Emacs.
8509
8510 * emacs-lisp/authors.el: Move to ../admin.
8511
8512 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8513
8514 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8515
8516 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8517 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8518 performance enhancements.
8519 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8520 expansion.
8521 (hif-factor, hif-string-concatenation, intern-safe): Support string
8522 concatenation and argumented macro expansion.
8523 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8524 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8525 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8526 (hif-canonicalize-tokens, hif-place-macro-invocation)
8527 (hif-parse-macro-arglist): Mostly new functions for supporting
8528 argumented macro expansion.
8529 (hif-string-concatenation, hif-stringify, hif-token-concat)
8530 (hif-token-stringification, hif-token-concatenation):
8531 Stringification and concatenation.
8532 (hif-find-next-relevant): Fix comments.
8533 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8534 some cases involving #elif.
8535 (hif-find-define, hif-add-new-defines): New functions for automatically
8536 scanning of defined symbols.
8537 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8538 (hide-ifdef-undef): Fix behavior to match CPP.
8539
8540 2014-06-25 Glenn Morris <rgm@gnu.org>
8541
8542 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8543 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8544 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8545 files. They are not relevant to the original issue (bug#1004),
8546 and cause unnecessary recompilation (bug#2151).
8547
8548 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8551 (landmark--last-pos): New var.
8552 (landmark--intangible-chars): New const.
8553 (landmark--intangible): New function.
8554 (landmark-mode, landmark-move): Use it.
8555 (landmark-mode): Remove properties.
8556 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8557 (landmark-cross-qtuple):
8558 Don't worry about `intangible' any more.
8559 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8560 (landmark-init-display): Don't set `intangible' and `point-entered'.
8561 (square): Remove. Inline it instead.
8562 (landmark--distance): Rename from `distance'.
8563 (landmark-calc-distance-of-robot-from): Rename from
8564 calc-distance-of-robot-from.
8565 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8566
8567 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8568
8569 * files.el (dir-locals-find-file, file-relative-name):
8570 * info.el (Info-complete-menu-item):
8571 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8572 to compare-strings to avoid out-of-range errors.
8573 * subr.el (string-prefix-p): Adjust to match strict range
8574 checking in compare-strings.
8575
8576 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8577
8578 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8579 for comment lines non-greedy and stopping at newlines to fix stack
8580 overflows with large files.
8581
8582 2014-06-24 Eli Barzilay <eli@barzilay.org>
8583
8584 * calculator.el (calculator-last-input): Drop 'ascii-character property
8585 lookup.
8586
8587 2014-06-24 Leo Liu <sdl.web@gmail.com>
8588
8589 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8590 tab-stop-list to nil. (Bug#16381)
8591
8592 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8593 (indent-rigidly-left-to-tab-stop)
8594 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8595 (move-to-tab-stop): Change callers.
8596
8597 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8598
8599 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8600 wrt behavior of \n as the first/last element of a skeleton.
8601
8602 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8603
8604 * net/tramp-adb.el (tramp-adb-handle-process-file):
8605 * net/tramp-sh.el (tramp-sh-handle-process-file):
8606 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8607 the output buffer when DISPLAY is non-nil. (Bug#17815)
8608
8609 2014-06-24 Glenn Morris <rgm@gnu.org>
8610
8611 * play/landmark.el (landmark-move-down, landmark-move-up):
8612 Fix 2007-10-20 change - preserve horizontal position.
8613
8614 2014-06-23 Sam Steingold <sds@gnu.org>
8615
8616 * simple.el (kill-append): Remove undo boundary depending on ...
8617 (kill-append-merge-undo): New user option.
8618
8619 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * simple.el (handle-shift-selection, exchange-point-and-mark)
8622 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8623 (transient-mark-mode): Use&set the global value.
8624 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8625 * emulation/edt.el (edt-emulation-off): Save&restore the global
8626 transient-mark-mode setting.
8627 * obsolete/pc-select.el (pc-selection-mode): Use the
8628 transient-mark-mode function.
8629
8630 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8631
8632 * international/fontset.el (script-representative-chars):
8633 Add representative characters for scripts added in Unicode 7.0.
8634 (otf-script-alist): Synchronize with the latest registry of OTF
8635 script tags.
8636
8637 * international/characters.el (char-script-table): Update for
8638 scripts added and codepoint ranges changed in Unicode 7.0.
8639
8640 2014-06-23 Eli Barzilay <eli@barzilay.org>
8641
8642 * calculator.el (calculator-standard-displayer): Fix bug in use of
8643 `calculator-groupize-number'.
8644 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8645 `eval' code, so it works in v24.3.1 too.
8646 (calculator-last-input): Comment to clarify purpose.
8647
8648 2014-06-22 Mario Lang <mlang@delysid.org>
8649
8650 * textmodes/rst.el (rst-comment-region): From from -> from.
8651
8652 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8653
8654 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8655
8656 * electric.el (electric-layout-post-self-insert-function):
8657 * emacs-lisp/ert.el (ert--insert-infos):
8658 * obsolete/vi.el (vi-set-mark):
8659 * term.el (term-handle-scroll):
8660 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8661 * wid-edit.el (widget-editable-list-value-create):
8662 Prefer point-marker to copy-marker of point.
8663
8664 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8665
8666 Fix completion retrieval parsing (bug#17209).
8667 * progmodes/python.el (python-mode):
8668 (python-util-strip-string): New function.
8669 (python-shell-completion-get-completions): Use it.
8670
8671 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8672
8673 * skeleton.el (skeleton-insert): Fix last change.
8674
8675 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8676
8677 Enhancements for outline integration (bug#17796).
8678 * progmodes/python.el (python-mode): Properly set
8679 outline-heading-end-regexp so that comments after colons for
8680 defuns are supported.
8681
8682 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8683
8684 * skeleton.el (skeleton-insert): Doc fix.
8685
8686 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8689 (smie-config-guess): Use smie-config-local so the rules are obeyed
8690 (bug#17818).
8691
8692 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8693 since it's already done inside the loop (bug#17819).
8694
8695 2014-06-21 Martin Rudalics <rudalics@gmx.at>
8696
8697 * mouse.el (mouse-drag-line): Re-remove code initially removed
8698 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8699 (Bug#17819).
8700
8701 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8704 align with the surrounding parent (bug#17721).
8705
8706 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8707
8708 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
8709 locally to nil.
8710 (texinfo-insert-block, texinfo-insert-@end)
8711 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
8712 local setting of skeleton-end-newline by adding an explicit \n to
8713 the skeletons where appropriate. (Bug#17801)
8714
8715 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8717 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
8718 (smie-indent--hanging-p): Use it.
8719 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
8720
8721 2014-06-21 Leo Liu <sdl.web@gmail.com>
8722
8723 * simple.el (read-quoted-char): Don't let help chars pop up help
8724 buffer. (Bug#16617)
8725
8726 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
8729 for | (bug#17621).
8730
8731 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
8732 Drop unknown events instead of burping.
8733
8734 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8735
8736 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
8737 and later. (Bug#17790)
8738
8739 2014-06-21 Juri Linkov <juri@jurta.org>
8740
8741 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
8742 to `soft'. (Bug#17554)
8743
8744 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
8747 (bug#17737).
8748
8749 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
8750
8751 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
8752 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
8753
8754 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
8755
8756 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
8757 `unread-command-events'.
8758
8759 2014-06-19 William Xu <william.xwl@gmail.com>
8760
8761 * progmodes/hideif.el (hif-string-to-number): Don't return float for
8762 hex integer constants (bug#17807).
8763
8764 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 * international/mule-util.el (truncate-string-ellipsis): New var.
8767 (truncate-string-to-width): Use it.
8768
8769 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
8770
8771 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
8772 (lisp-string-in-doc-position-p): New function, extracted from
8773 lisp-font-lock-syntactic-face-function.
8774 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
8775
8776 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
8777
8778 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
8779
8780 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
8783 (bubbles--game-over): Don't add `intangible' properties since they
8784 didn't work anyway.
8785
8786 2014-06-18 Juri Linkov <juri@jurta.org>
8787
8788 * vc/ediff-init.el (ediff-current-diff-Ancestor)
8789 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
8790 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
8791 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
8792 Add `min-colors 88' version with removed black/white foregrounds.
8793 (Bug#10181)
8794
8795 2014-06-18 Juri Linkov <juri@jurta.org>
8796
8797 * vc/diff-mode.el (diff-changed): Empty face definition to use
8798 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
8799 (diff-context): Use darker color on light background and
8800 lighter color on dark background.
8801
8802 2014-06-18 Juri Linkov <juri@jurta.org>
8803
8804 * vc/diff-mode.el (diff-refine-changed): Rename from
8805 `diff-refine-change' for consistency with `diff-changed'.
8806 (diff-refine-change): Add obsolete face alias. (Bug#10181)
8807
8808 * vc/smerge-mode.el (smerge-refined-changed): Rename from
8809 `smerge-refined-change'.
8810 (smerge-refined-change): Add obsolete face alias.
8811
8812 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * rect.el (rectangle-preview): New custom.
8815 (rectangle): New group.
8816 (rectangle--pos-cols): Add `window' argument.
8817 (rectangle--string-preview-state, rectangle--string-preview-window):
8818 New vars.
8819 (rectangle--string-flush-preview, rectangle--string-erase-preview)
8820 (rectangle--space-to, rectangle--string-preview): New functions.
8821 (string-rectangle): Use them.
8822 (rectangle--inhibit-region-highlight): New var.
8823 (rectangle--highlight-for-redisplay): Obey it. Make sure
8824 `apply-on-region' uses the point-crutches of the right window.
8825 Use :align-to rather than multiple spaces.
8826
8827 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
8828
8829 * ruler-mode.el (ruler-mode-window-col)
8830 (ruler-mode-mouse-set-left-margin)
8831 (ruler-mode-mouse-set-right-margin): Fix calculation of column
8832 from mouse position (Bug#17768).
8833
8834 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
8835
8836 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
8837 without varname or rhs causes crash.
8838 (dun-ftp): Fix bug where blank ftp password is allowed, making it
8839 impossible to win endgame.
8840 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
8841 rlogin is anymore.
8842 (dun-help): Bump version number; update contact info.
8843
8844 2014-06-15 Eli Barzilay <eli@barzilay.org>
8845
8846 * calculator.el (calculator-prompt, calculator-remove-zeros)
8847 (calculator-mode-hook, calculator-operators, calculator-stack)
8848 (calculator-mode): Tweak docstring.
8849 (calculator-user-operators): Tweak docstring, fix a bug in the last
8850 example.
8851 (calculator-displayer): `std' case has an optional boolean.
8852 (calculator-displayers): Use the new boolean to group in decimal mode.
8853 (calculator-mode-map, calculator, calculator-message)
8854 (calculator-op-arity, calculator-add-operators)
8855 (calculator-string-to-number, calculator-displayer-prev)
8856 (calculator-displayer-next, calculator-remove-zeros)
8857 (calculator-eng-display, calculator-number-to-string)
8858 (calculator-update-display, calculator-last-input)
8859 (calculator-clear-fragile, calculator-digit, calculator-decimal)
8860 (calculator-exp, calculator-saved-move, calculator-clear)
8861 (calculator-copy, calculator-put-value, calculator-help)
8862 (calculator-expt, calculator-truncate): Minor code improvements.
8863 (calculator-need-3-lines): New function pulling out code from
8864 `calculator'.
8865 (calculator-get-display): Rename from `calculator-get-prompt', and
8866 improved.
8867 (calculator-push-curnum): Rename from `calculator-curnum-value', and
8868 extended for all uses of it. All callers changed.
8869 (calculator-groupize-number): New utility for splitting a number into
8870 groups.
8871 (calculator-standard-displayer): Improve code, new optional argument to
8872 use comma-split groups, make second argument optional too to use with
8873 'left/'right inputs. All callers changed.
8874 (calculator-reduce-stack-once): New utility, doing the meat of what
8875 `calculator-reduce-stack' used to do, much improved (mostly using
8876 `pcase' for conciseness and clarity).
8877 (calculator-reduce-stack): Now doing just the reduction loop using
8878 `calculator-reduce-stack-once'.
8879 (calculator-funcall): Improve code, make it work in v24.3.1 too.
8880 (calculator-last-input): Improve code, remove some old cruft.
8881 (calculator-quit): Kill `calculator-buffer' in electric mode too.
8882 (calculator-integer-p): Remove.
8883 (calculator-fact): Improve code, make it work on non-integer values
8884 too (using truncated numbers).
8885
8886 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
8887
8888 Sync with Tramp 2.2.10.
8889
8890 * net/tramp.el (tramp-methods): Tweak docstring.
8891 (tramp-handle-file-accessible-directory-p): Check for
8892 `file-readable-p' instead of `file-executable-p'.
8893 (tramp-check-cached-permissions):
8894 Use `tramp-compat-file-attributes'.
8895 (tramp-call-process): Add new argument VEC. Adapt callees in all
8896 tramp*.el files.
8897
8898 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
8899 (tramp-adb-maybe-open-connection): Don't set
8900 `tramp-current-*' variables.
8901
8902 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
8903 file properties of temporary buffers.
8904
8905 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
8906
8907 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
8908 (tramp-gvfs-handle-delete-file): Flush file
8909 properties, not directory properties.
8910 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
8911 reading "unix::mode".
8912 (tramp-gvfs-handle-file-name-all-completions):
8913 Use "-h" option for "gvfs-ls".
8914 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
8915 (tramp-gvfs-send-command): Simplify traces.
8916
8917 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
8918 (vc-git-program, vc-hg-program): Declare.
8919 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
8920 (tramp-methods) <nc>: Add new method.
8921 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
8922 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
8923 `tramp-login-args'.
8924 (tramp-default-user-alist): Add "nc".
8925 (top): Remove completion function for "sftp". Add completion
8926 functions for "nc" and "psftp".
8927 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
8928 Implement support for "nc" method.
8929 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
8930 (tramp-remote-coding-commands, tramp-call-local-coding-command):
8931 Tweak docstring.
8932 (tramp-sh-handle-write-region): Tweak error message.
8933 (tramp-sh-handle-vc-registered): Remove backends when the remote
8934 binary does not exist.
8935 (tramp-find-inline-encoding): Do not raise an error.
8936 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
8937 the "nc" case. Quote result also locally.
8938
8939 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8940 (tramp-smb-handle-set-file-acl): Use `start-process'.
8941 (tramp-smb-handle-insert-directory): Use progress reporter.
8942 (tramp-smb-handle-rename-file): Flush also file properties of
8943 FILENAME.
8944
8945 * net/trampver.el: Update release number.
8946
8947 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
8950 add-to-list.
8951 (ses-localvars): Remove ses--local-printer-list, unused.
8952 (ses--metaprogramming): New macro. Use it to defvar variables.
8953 (ses-set-localvars): Simplify.
8954 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
8955 property-list into an alist.
8956 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8957 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
8958 Remove; use defstruct accessors/setters instead.
8959 (ses-cell-formula-aset, ses-cell-printer-aset)
8960 (ses-cell-references-aset): Remove, use setf instead.
8961 (ses--alist-get): New function.
8962 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
8963 Use an alist instead of a plist and don't do move-to-front since the
8964 list is always short.
8965 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
8966 (ses-cell-property-set-fun, ses-cell-property-set)
8967 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
8968 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
8969 (ses--letref): New macro.
8970 (ses-cell-property-pop): Rewrite.
8971 (ses--cell): Rename from ses-cell and make it into a function.
8972 Make `formula' fallback on `value' if nil.
8973 (ses--local-printer): Rename from ses-local-printer and make it into
8974 a function.
8975 (ses-set-cell): Turn it into a macro so finding the accessor from the
8976 field name is done at compile time.
8977 (ses-repair-cell-reference-all): Test presence of `sym' rather than
8978 `ref' before adding `sym' to :ses-repair-reference.
8979 (ses-calculate-cell): Use ses--letref rather than
8980 ses-cell-property-get-handle.
8981 (ses-write-cells): Use a single prin1-to-string.
8982 (ses-setter-with-undo): New function.
8983 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
8984 (ses-unset-with-undo): Remove.
8985 (ses-load): Prefer apply' over `eval'.
8986 (ses-read-printer, ses-set-column-width): Use standard "(default
8987 foo)" format.
8988
8989 2014-06-15 Glenn Morris <rgm@gnu.org>
8990
8991 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
8992
8993 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
8994 Replace delete-duplicates and mapcan by cl- versions throughout.
8995 And cl-macroexpand-all by macroexpand-all.
8996 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
8997
8998 2014-06-15 Eli Zaretskii <eliz@gnu.org>
8999
9000 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9001
9002 2014-06-15 Juri Linkov <juri@jurta.org>
9003
9004 * bindings.el: Put `ascii-character' property on keypad keys
9005 mapped to characters. (Bug#17759)
9006
9007 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9010 bumping forward into a closing paren (bug#17761).
9011
9012 * term/xterm.el (xterm--version-handler): Work around for OSX
9013 Terminal.app (bug#17607).
9014
9015 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9016
9017 * play/dunnet.el (dun-describe-room, dun-mode):
9018 If a lamp is in the room, you won't be eaten by a grue.
9019
9020 2014-06-13 Glenn Morris <rgm@gnu.org>
9021
9022 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9023 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9024 (compile-always): GNU make automatically passes
9025 command-line arguments to sub-makes.
9026
9027 * calendar/calendar.el (calendar-generate-window):
9028 Remove pointless call to font-lock-fontify-buffer.
9029
9030 2014-06-13 Matthias Meulien <orontee@gmail.com>
9031
9032 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9033 (bug#17767).
9034
9035 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * simple.el (set-mark-command): Simplify a bit.
9038
9039 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9040
9041 * help.el (help--key-binding-keymap): New function.
9042 (help--binding-locus): New function.
9043 (describe-key): Mention the keymap in which the binding was
9044 found. (bug#13948)
9045
9046 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * hippie-exp.el (he--all-buffers): New function.
9049 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9050 (try-expand-dabbrev-all-buffers): Use it.
9051
9052 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9053
9054 * hippie-exp.el (try-expand-line-all-buffers)
9055 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9056 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9057 original buffer, in case they're buffer-local.
9058
9059 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9060
9061 * ses.el (ses-initial-global-parameters-re): New defconst, a
9062 specific regexp is needed now that ses.el can handle both
9063 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9064 local printers.
9065 (ses-localvars): Add local variables needed for local printer handling.
9066 (ses-set-localvars): Handle hashmap initialization.
9067 (ses-paramlines-plist): Add param-line for number of local printers.
9068 (ses-paramfmt-plist): New defconst, needed for code factorization
9069 between functions `ses-set-parameter' and
9070 `ses-file-format-extend-paramter-list'
9071 (ses-make-local-printer-info): New defsubst.
9072 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9073 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9074 (ses-cell-printer-aset): New defmacro.
9075 (ses-local-printer-compile): New defun.
9076 (ses-local-printer): New defmacro.
9077 (ses-printer-validate, ses-call-printer): Add support for local
9078 printer functions.
9079 (ses-file-format-extend-paramter-list): New defun.
9080 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9081 factorization.
9082 (ses-load): Add support for local printer functions.
9083 (ses-read-printer): Update docstring and add support for local printer
9084 functions.
9085 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9086 (ses-safe-printer): Add support for local printer functions.
9087
9088 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9089
9090 * ffap.el (ffap-lax-url): New var (bug#17723).
9091 (ffap-url-at-point): Use it.
9092 (ffap-file-at-point): Avoid returning just "/".
9093
9094 2014-06-12 Matthias Meulien <orontee@gmail.com>
9095
9096 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9097 (python-mode-map): Bind it.
9098
9099 * progmodes/python.el (class skeleton): Don't erase last char of class
9100 name (bug#17683).
9101
9102 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9103
9104 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9105
9106 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9107
9108 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9109 (bug#17745).
9110
9111 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9112
9113 * international/mule-cmds.el: Use lexical-binding.
9114 (ucs-names): Simplify.
9115
9116 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9117
9118 * progmodes/python.el (run-python): Use read-shell-command.
9119
9120 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * rect.el: Make it possible to move bounds past EOL or into TABs.
9123 (operate-on-rectangle): Use apply-on-rectangle.
9124 (rectangle--mark-crutches): New var.
9125 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9126 (rectangle--crutches, rectangle--reset-crutches): New functions.
9127 (apply-on-rectangle): Obey crutches. Avoid setq.
9128 Fix missing final iteration if end is at EOB&BOL.
9129 (rectangle-mark-mode-map): Add remap bindings for
9130 exchange-point-and-mark and char/line movements.
9131 (rectangle--*-char): New function.
9132 (rectangle-exchange-point-and-mark, rectangle-right-char)
9133 (rectangle-left-char, rectangle-forward-char)
9134 (rectangle-backward-char, rectangle-next-line)
9135 (rectangle-previous-line): New commands.
9136 (rectangle--place-cursor): New function.
9137 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9138
9139 2014-06-08 Glenn Morris <rgm@gnu.org>
9140
9141 * startup.el (initial-buffer-choice): Doc fix.
9142 Reset :version (adding an option does not merit a :version bump).
9143
9144 * bookmark.el (bookmark-load):
9145 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9146
9147 2014-06-08 Juri Linkov <juri@jurta.org>
9148
9149 * desktop.el: Activate auto-saving on window configuration changes.
9150 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9151 `desktop-auto-save-set-timer' to/from
9152 `window-configuration-change-hook'.
9153 (desktop-auto-save-set-timer): Change REPEAT arg of
9154 `run-with-idle-timer' from t to nil.
9155 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9156
9157 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9158
9159 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9160 vc-hg-command (bug#17570).
9161
9162 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9165 (bug#17702).
9166
9167 2014-06-08 Glenn Morris <rgm@gnu.org>
9168
9169 * startup.el (window-setup-hook): Doc fix.
9170
9171 * emacs-lisp/package.el (package-check-signature)
9172 (package-unsigned-archives): Doc fixes.
9173
9174 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9175
9176 * window.el (display-buffer-use-some-window): Don't make window
9177 used smaller than it was before (Bug#17671).
9178
9179 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9180
9181 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9182 'redisplay' instead of '(sit-for 0)'.
9183
9184 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9185
9186 * net/tramp.el (tramp-ssh-controlmaster-options):
9187 Improve search regexp. (Bug#17653)
9188
9189 2014-06-08 Glenn Morris <rgm@gnu.org>
9190
9191 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9192
9193 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9194
9195 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9196
9197 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9198
9199 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9200 (bug#17586).
9201
9202 * vc/vc-hg.el (vc-hg-log-graph): New var.
9203 (vc-hg-print-log): Use it.
9204 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9205 graph output (bug#17515).
9206
9207 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9210 even happened elsewhere.
9211
9212 2014-06-06 Mario Lang <mlang@delysid.org>
9213
9214 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9215 `recenter' if `current-buffer' is equal to `window-buffer'.
9216
9217 2014-06-05 Leo Liu <sdl.web@gmail.com>
9218
9219 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9220
9221 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9222
9223 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9224 New function which calls a callback on portions of the buffer that are
9225 outside of ignored environments.
9226 (tildify-build-regexp): Remove function since it is now
9227 incorporated in `tildify-foreach-region-outside-env' where it is
9228 optimized and simplified by the use of `mapconcat'.
9229 (tildify-tildify): Return number of substitutions made so that…
9230 (tildify-count): …can be removed.
9231 (tildify-find-env): Accept a new PAIRS argument which was
9232 previously looked up in `tildify-ignored-environments-alist' each
9233 time the function was called. With this change, the lookup is
9234 performed only once in `tildify-foreach-region-outside-env'.
9235 (tildify-region): Greatly simplify the function since now most of
9236 the work is done by `tildify-foreach-region-outside-env'.
9237 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9238 and instead using or.
9239
9240 * textmodes/tildify.el (tildify-ignored-environments-alist):
9241 Optimize environments regexes
9242
9243 Each time beginning of an environment to ignore is found,
9244 `tildify-find-env' needs to identify regexp for the ending
9245 of the environment. This is done by trying all the opening
9246 regexes on matched text in a loop, so to speed that up, this
9247 loop should have fewer things to match, which can be done by
9248 using alternatives in the opening regexes.
9249
9250 Coincidentally, this should make matching of the opening
9251 regexp faster as well thanks to the use of `regexp-opt' and
9252 having common prefix pulled from many regexes.
9253
9254 * textmodes/tildify.el (tildify-string-alist)
9255 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9256 of supported modes since `xml-mode' is no longer a thing but just
9257 an alias to the former. Also include comments and insides of tags
9258 in `tildify-ignored-environments-alist' for XML modes. Finally,
9259 since XML does not define “&nbsp;”[1], use a numeric reference for
9260 a no-break space (namely “&#160;”)
9261
9262 [1] XML specification defines only a handful of predefined entities.
9263 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9264 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9265 >, &, ' and " respectively). This is in contrast to HTML and even
9266 XHTML which defined a whole bunch of entities including “&nbsp;”.
9267
9268 * textmodes/tildify.el (tildify-pattern-alist)
9269 (tildify-string-alist, tildify-ignored-environments-alist):
9270 Improve defcustom's types by adding more tags explaining what each
9271 value means and replace “sexp” used in
9272 `tildify-ignored-environments-alist' with a full type declaration.
9273
9274 * textmodes/tildify.el (tildify-find-env): Fix matched group
9275 indexes in end-regex building
9276
9277 When looking for a start of an ignore-environment, the regex is built
9278 by concatenating regexes of all the environments configured in
9279 `tildify-ignored-environments-alist'. So for example, the following
9280 list could be used to match TeX's \verb and \verb* commands:
9281
9282 (("\\\\verb\\(.\\)" . (1))
9283 ("\\\\verb\\*\\(.\\)" . (1)))
9284
9285 This would result in the following regex being used to find the start
9286 of any of the variants of the \verb command:
9287
9288 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9289
9290 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9291 won't match anything, and thus (match-string 1) will be nil, which
9292 will cause building of the end-matching regex to fail.
9293
9294 Fix this by using capture groups from the time when the opening
9295 regexes are matched individually.
9296
9297 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9298 in `tildify-find-env'
9299
9300 The `tildify-ignored-environments-alist' allows the end-regex to
9301 be provided not as a static string but mix of strings and indexes
9302 of groups matched the begin-regex. For example, the “\verb!…!”
9303 TeX-command (where “!” is an arbitrary character) is handled
9304 using:
9305
9306 ("\\\\verb\\*?\\(.\\)" . (1))
9307
9308 In the same way, the following should be supported as well:
9309
9310 ("open-\\(.\\)" . ("end-" 1))
9311
9312 However the tildify-find-env function fails at
9313
9314 (concat result
9315 (if (stringp (setq aux (car expression)))
9316 expression ; BUG: expression is a list
9317 (regexp-quote (match-string aux))))
9318
9319 where the string part is handled incorrectly.
9320
9321 The most trivial fix would be to replace `expression' in the
9322 true-part of the if-statement with `aux', but instead, this commit
9323 optimizes `tildify-find-env' by changing it to use `mapconcat'
9324 rather than open-coded while-loop.
9325
9326 2014-06-05 Mario Lang <mlang@delysid.org>
9327
9328 * woman.el (woman-mapcan): Remove.
9329 (woman-parse-colon-path): Use cl-mapcan instead.
9330
9331 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9332
9333 * register.el: Add link to Emacs manual in Commentary.
9334
9335 2014-06-02 Sam Steingold <sds@gnu.org>
9336
9337 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9338 (popup-menu): ...here.
9339 (menu-bar-open): Use it to avoid an error when `lookup-key'
9340 returns a number.
9341
9342 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9343
9344 * net/tramp.el (tramp-call-process): Add traces.
9345 (tramp-handle-unhandled-file-name-directory): Return "/".
9346
9347 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9348
9349 Sync with upstream verilog-mode revision 3cd8144.
9350 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9351 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9352 (verilog-type-font-keywords): Add nor.
9353 (verilog-batch-execute-func): Force reading of Local Variables.
9354 Fix printing "no changes to be saved" with verilog-batch.
9355 (verilog-auto-arg-ports): Doc fix.
9356 Add verilog-auto-arg-format to support newlines in AUTOARG.
9357 (verilog-auto-arg): Doc fix.
9358
9359 2014-06-02 Glenn Morris <rgm@gnu.org>
9360
9361 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9362 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9363 * emulation/ws-mode.el: Move to obsolete/.
9364 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9365
9366 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9367
9368 * simple.el (keyboard-quit): Force update of mode lines, to remove
9369 the "Def" indicator, if we were defining a macro. (Bug#17615)
9370
9371 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * minibuffer.el (minibuffer-force-complete-and-exit):
9374 Obey minibuffer-default (bug#17545).
9375
9376 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9377 (bug#17619).
9378
9379 * subr.el (set-transient-map): Don't wait for some "nested"
9380 transient-map to finish if we're only supposed to be active for
9381 the next command (bug#17642).
9382
9383 2014-06-02 Leo Liu <sdl.web@gmail.com>
9384
9385 * emacs-lisp/gv.el (window-buffer, window-display-table)
9386 (window-dedicated-p, window-hscroll, window-point, window-start):
9387 Fix gv-expander. (Bug#17630)
9388
9389 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9392 clicks (bug#17633).
9393
9394 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9395 for the single comma, since ", " is *very* common in normal French text
9396 (bug#17643).
9397
9398 2014-06-02 Glenn Morris <rgm@gnu.org>
9399
9400 * emacs-lisp/package.el (package-check-signature)
9401 (package-unsigned-archives): Fix :version.
9402
9403 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * subr.el (sit-for): Don't run input-methods (bug#15614).
9406
9407 2014-06-02 Glenn Morris <rgm@gnu.org>
9408
9409 * cus-start.el: Fix some :version numbers.
9410
9411 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9412
9413 * simple.el (deactivate-mark): Set mark-active to nil even if
9414 deactivation is done via setting transient-mark-mode to nil,
9415 since one is buffer-local and the other is global.
9416
9417 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9418 there can't be more than 2 arguments (bug#17584).
9419
9420 2014-06-02 Glenn Morris <rgm@gnu.org>
9421
9422 * simple.el (filter-buffer-substring-functions)
9423 (filter-buffer-substring-function, buffer-substring-filters)
9424 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9425
9426 * minibuffer.el (completion-in-region-functions, completion-in-region)
9427 (completion--in-region): Doc fixes.
9428
9429 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9430 (expand-abbrev, abbrev--default-expand): Doc fixes.
9431
9432 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9433
9434 Include sources used to create macuvs.h.
9435 * international/README: Refer to the Unicode Terms of Use rather
9436 than copying it bodily here, as that simplifies maintenance.
9437
9438 2014-06-01 Glenn Morris <rgm@gnu.org>
9439
9440 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9441
9442 2014-05-31 Glenn Morris <rgm@gnu.org>
9443
9444 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9445
9446 2014-05-30 Glenn Morris <rgm@gnu.org>
9447
9448 * loadup.el: Treat `command-line-args' more flexibly.
9449
9450 2014-05-30 Alan Mackenzie <acm@muc.de>
9451
9452 Guard (looking-at "\\s!") from XEmacs.
9453 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9454
9455 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9456
9457 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9458 The argument COUNT is now optional, to be more backward-compatible.
9459 Doc fix. (Bug#17560)
9460
9461 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9462
9463 * whitespace.el (whitespace-report-region):
9464 Simplify documentation.
9465 (whitespace-report-region): Allow report-if-bogus to take the
9466 value `never', for non-interactive use.
9467 (whitespace-report): Refer to whitespace-report-region's
9468 documentation.
9469
9470 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9473 Side benefit: it works without jit-lock.
9474 (whitespace-point--used): New buffer-local var.
9475 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9476 (whitespace-color-off): Use font-lock-flush.
9477 (whitespace-point--used, whitespace-point--flush-used): New functions.
9478 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9479 (whitespace-empty-at-eob-regexp): Use them.
9480 (whitespace-post-command-hook): Rewrite.
9481
9482 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9483 (font-lock-fontify-buffer): Mark interactive-only.
9484 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9485 Make buffer-local.
9486 (font-lock-specified-p): Remove redundant boundp check.
9487 (font-lock-flush-function, font-lock-ensure-function): New vars.
9488 (font-lock-turn-on-thing-lock): Set them.
9489 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9490 (font-lock-after-change-function): Make `old-len' optional.
9491 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9492 Call font-lock-flush, just in case.
9493 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9494 recent Emacsen.
9495 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9496 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9497 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9498 and with-syntax-table.
9499 * textmodes/conf-mode.el (conf-quote-normal):
9500 * progmodes/sh-script.el (sh-set-shell):
9501 * progmodes/prog-mode.el (prettify-symbols-mode):
9502 * progmodes/f90.el (f90-font-lock-n):
9503 * progmodes/cwarn.el (cwarn-mode):
9504 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9505 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9506 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9507 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9508 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9509 font-lock-fontify-buffer-function and
9510 font-lock-unfontify-buffer-function.
9511 (rmail-unfontify-buffer-function, rmail-fontify-message):
9512 Use with-silent-modifications.
9513 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9514 and font-lock-ensure.
9515 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9516
9517 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9518
9519 * emacs-lisp/package.el (package-generate-autoloads):
9520 Inhibit backup files.
9521
9522 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9523
9524 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9525 (bug#17608).
9526
9527 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9528
9529 * textmodes/tildify.el (tildify-buffer, tildify-region):
9530 Add dont-ask option.
9531
9532 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9533
9534 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9535 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9536
9537 * subr.el (internal--funcall-interactively): New.
9538 (internal--call-interactively): Remove.
9539 (called-interactively-p): Detect funcall-interactively instead of
9540 call-interactively.
9541 * simple.el (repeat-complex-command): Use funcall-interactively.
9542 (repeat-complex-command--called-interactively-skip): Remove.
9543
9544 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * register.el (register-read-with-preview): Don't burp on
9547 frame switches (e.g. due to the frame we just popped).
9548
9549 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9550 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9551
9552 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9553
9554 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9555
9556 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9557
9558 * window.el (window--dump-frame): Remove interactive specification.
9559
9560 2014-05-26 Glenn Morris <rgm@gnu.org>
9561
9562 * hippie-exp.el (he-line-search-regexp):
9563 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9564
9565 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9566
9567 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9568 to avoid errors when trying to create or visit a file foo.todo
9569 located outside to todo-directory, and to allow having such files
9570 without them being tied to Todo mode (bug#17482).
9571 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9572 (todo-archive-done-item, todo-find-filtered-items-file)
9573 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9574 (todo-category-completions, todo-read-category): When visiting a
9575 Todo file, make sure we're in the right mode and the buffer local
9576 variables are set.
9577 (todo-make-categories-list, todo-reset-nondiary-marker)
9578 (todo-reset-done-string, todo-reset-comment-string):
9579 After processing all Todo files, kill the buffers of those files that
9580 weren't being visited before the processing.
9581 (todo-display-as-todo-file, todo-add-to-buffer-list)
9582 (todo-visit-files-commands): Comment out.
9583 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9584 (auto-mode-alist): Remove add-to-list calls making Todo file
9585 extensions unrestrictedly tied to Todo modes.
9586
9587 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9590 (advice-function-member-p): Tell it to check both names and functions
9591 (bug#17531).
9592 (advice--add-function): Adjust call accordingly.
9593
9594 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9595
9596 * calendar/todo-mode.el: Miscellaneous bug fixes.
9597 (todo-delete-file): When deleting an archive but not its todo
9598 file, make sure to update the todo file's category sexp.
9599 (todo-move-category): Keep the moved category's name unless the
9600 file moved to already has a category with that name. If the
9601 numerically last category of the source file was moved, make the
9602 first category current to avoid selecting a nonexisting category.
9603 (todo-merge-category): Fix implementation to make merging to a
9604 category in another file work as documented. Eliminate now
9605 insufficient and unnecessary renaming of archive category, correct
9606 document string accordingly, and clarify it. If the numerically
9607 last category of the source file was merged, make the first
9608 category current to avoid selecting a nonexisting category.
9609 (todo-archive-done-item): When there are marked items and point
9610 happens to be on an unmarked item, ignore the latter. Don't leave
9611 point below last item after archiving marked items.
9612 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9613 from an archive with only one category deletes the archive only
9614 when the category is empty after unarchiving. Make sure the todo
9615 file's category sexp is updated.
9616 (todo-read-file-name): Allow an existing file name even when it is
9617 not required (todo-move-category needs this to work as documented).
9618 (todo-add-file): Call todo-validate-name to reject the name of an
9619 existing todo file (needed due to fix in todo-read-file-name).
9620 (todo-reset-nondiary-marker): Also reset in filtered items files.
9621 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9622 regexp filtered items files.
9623 (todo-reset-highlight-item): Also reset in filtered items files.
9624 Fix incorrect variable reference in document string.
9625
9626 2014-05-26 Glenn Morris <rgm@gnu.org>
9627
9628 * window.el (window--dump-frame): Avoid error in --without-x builds.
9629
9630 2014-05-26 Glenn Morris <rgm@gnu.org>
9631
9632 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9633
9634 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9635
9636 * frame.el (set-frame-font): Doc fix.
9637
9638 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9639
9640 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9641
9642 * emacs-lisp/package.el (package--download-one-archive):
9643 Use `write-region' instead of `save-buffer' to avoid running various
9644 hooks. (Bug#17155)
9645 (describe-package-1): Same. Insert newline at the end of the
9646 buffer if appropriate.
9647
9648 2014-05-26 Juri Linkov <juri@jurta.org>
9649
9650 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9651 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9652 Add more modifiers: meta, control, shift, hyper, super, alt.
9653 (Bug#17439)
9654
9655 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9656 to allow changing its value with `set-variable'.
9657
9658 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9661 #; comments.
9662 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9663 New functions.
9664 (scheme-mode-variables): Set syntax-propertize-function instead of
9665 font-lock-syntactic-face-function.
9666 (scheme-font-lock-syntactic-face-function): Delete.
9667
9668 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9669
9670 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9671 (bug#17392).
9672
9673 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9674
9675 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9676 for a temporary file name.
9677
9678 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9679
9680 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9681
9682 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9683
9684 * net/dbus.el (dbus-init-bus, dbus-call-method)
9685 (dbus-call-method-asynchronously, dbus-send-signal)
9686 (dbus-method-return-internal, dbus-method-error-internal):
9687 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
9688
9689 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9690
9691 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9692 methods which do not have a doc string. (Bug#17490)
9693
9694 2014-05-25 Tassilo Horn <tsdh@gnu.org>
9695
9696 * textmodes/reftex-ref.el (reftex-format-special): Make it work
9697 also for AMS Math's \eqref macro.
9698
9699 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9700
9701 Arrange to never byte-compile the generated -pkg.el file.
9702
9703 * emacs-lisp/package.el (package-generate-description-file):
9704 Output first-line comment to set buffer-local var `no-byte-compile'.
9705 Suggested by Dmitry Gutov:
9706 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
9707
9708 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9709
9710 Fix bug: Properly quote args to generated -pkg.el `define-package'.
9711
9712 * emacs-lisp/package.el (package-generate-description-file):
9713 Inline `package--alist-to-plist'; rewrite to selectively
9714 quote alist values that are not self-quoting.
9715 (package--alist-to-plist): Delete func.
9716
9717 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
9718
9719 * term/xterm.el (xterm-function-map): Add mapping for shifted
9720 keypad keys.
9721
9722 2014-05-24 Daniel Colascione <dancol@dancol.org>
9723
9724 * progmodes/subword.el (subword-find-word-boundary): Move point to
9725 correct spot before search. (Bug#17580)
9726
9727 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
9728 breaking the build.
9729
9730 2014-05-24 Leo Liu <sdl.web@gmail.com>
9731
9732 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
9733
9734 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9735
9736 * minibuffer.el (completion--sreverse): Remove.
9737 (completion--common-suffix): Use `reverse' instead.
9738 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
9739
9740 2014-05-22 Glenn Morris <rgm@gnu.org>
9741
9742 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
9743
9744 2014-05-21 Daniel Colascione <dancol@dancol.org>
9745
9746 * files.el (interpreter-mode-alist): Add mksh.
9747
9748 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
9749 derivative.
9750 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
9751 mksh. Improve custom spec; allow regular expressions.
9752 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
9753 (sh-after-hack-local-variables): New function.
9754 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
9755 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
9756 the normalization.
9757 (sh-canonicalize-shell): Rewrite to support regexes.
9758
9759 2014-05-21 Leo Liu <sdl.web@gmail.com>
9760
9761 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
9762
9763 2014-05-19 Leo Liu <sdl.web@gmail.com>
9764
9765 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
9766
9767 2014-05-18 Glenn Morris <rgm@gnu.org>
9768
9769 * loadup.el:
9770 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
9771
9772 2014-05-14 Sam Steingold <sds@gnu.org>
9773
9774 * progmodes/python.el (python-shell-get-or-create-process):
9775 Do not bind `current-prefix-arg' so that C-c C-z does not talk
9776 back unless requested.
9777
9778 2014-05-14 Glenn Morris <rgm@gnu.org>
9779
9780 * subr.el (with-file-modes): New macro.
9781 * printing.el (pr-save-file-modes): Make obsolete.
9782 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
9783 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
9784 Add with-file-modes.
9785 * doc-view.el (doc-view-make-safe-dir):
9786 * epg.el (epg--start):
9787 * files.el (locate-user-emacs-file, make-temp-file)
9788 (backup-buffer-copy, move-file-to-trash):
9789 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
9790 * eshell/esh-util.el (eshell-with-private-file-modes)
9791 (eshell-make-private-directory):
9792 * net/browse-url.el (browse-url-mosaic):
9793 * obsolete/mailpost.el (post-mail-send-it):
9794 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
9795 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
9796 Use with-file-modes.
9797
9798 * vc/emerge.el (emerge-make-temp-file): Simplify.
9799
9800 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
9801 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
9804 suffix (bug#15419).
9805
9806 2014-05-14 Glenn Morris <rgm@gnu.org>
9807
9808 * vc/emerge.el (emerge-temp-file-prefix):
9809 Make pointless option obsolete.
9810 (emerge-temp-file-mode): Make non-functional option obsolete.
9811
9812 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
9813
9814 * net/browse-url.el (browse-url):
9815 Use `unhandled-file-name-directory' when setting `default-directory',
9816 in order to circumvent stalled remote connections. (Bug#17425)
9817
9818 2014-05-14 Glenn Morris <rgm@gnu.org>
9819
9820 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
9821 Optimize on Emacs, which has the relevant functions for ages.
9822
9823 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * simple.el (undo-make-selective-list): Obey undo-no-redo.
9826
9827 2014-05-12 Sam Steingold <sds@gnu.org>
9828
9829 * calendar/time-date.el (seconds-to-string): New function to
9830 pretty print time delay in seconds.
9831
9832 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * mpc.el (mpc-format): Trim Date to the year.
9835 (mpc-songs-hashcons): Shorten the Date field.
9836
9837 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
9838 into autoloading just because of a silly indirection.
9839
9840 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
9841
9842 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
9843
9844 2014-05-12 Glenn Morris <rgm@gnu.org>
9845
9846 * emacs-lisp/find-gc.el: Move to ../admin.
9847
9848 * printing.el (pr-version):
9849 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
9850
9851 * net/browse-url.el (browse-url-mosaic):
9852 Create /tmp/Mosaic.PID as a private file.
9853
9854 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9855
9856 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
9857 (advice--member-p): If name is given, only compare the name.
9858 (advice--remove-function): Don't stop at the first match.
9859 (advice--normalize-place): New function.
9860 (add-function, remove-function): Use it.
9861 (advice--add-function): Pass the name, if any, to
9862 advice--remove-function.
9863
9864 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
9865
9866 * electric.el (electric-indent-post-self-insert-function): Don't use
9867 `pos' after modifying the buffer (bug#17449).
9868
9869 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
9870
9871 * calendar/todo-mode.el (todo-insert-item-from-calendar):
9872 Correct argument list to conform to todo-insert-item--basic.
9873
9874 2014-05-12 Glenn Morris <rgm@gnu.org>
9875
9876 * files.el (cd-absolute): Test if directory is accessible
9877 rather than executable. (Bug#17330)
9878
9879 * progmodes/compile.el (recompile):
9880 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
9881
9882 * net/browse-url.el (browse-url-mosaic):
9883 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
9884 This is CVE-2014-3423.
9885
9886 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * mouse.el: Use the normal toplevel loop while dragging.
9889 (mouse-set-point): Handle multi-clicks.
9890 (mouse-set-region): Handle multi-clicks for drags.
9891 (mouse-drag-region): Update call accordingly.
9892 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
9893 Use the normal event loop instead of a local while/read-event loop.
9894 (global-map): Remove redundant bindings for double/triple-mouse-1.
9895 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
9896 Generate synthetic down events when the protocol only sends up events.
9897 (xterm-mouse-last): Remove.
9898 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
9899 terminal parameter instead.
9900 (xterm-mouse--set-click-count): New function.
9901 (xterm-mouse-event): Detect/generate double/triple clicks.
9902 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
9903
9904 * info.el (Info-quoted): New face.
9905 (Info-mode-font-lock-keywords): New var.
9906 (Info-mode): Use it.
9907
9908 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
9909 are a hindrance for C-x C-e.
9910
9911 2014-05-11 Leo Liu <sdl.web@gmail.com>
9912
9913 * net/rcirc.el (rcirc-sentinel): Fix last change.
9914
9915 2014-05-08 Sam Steingold <sds@gnu.org>
9916
9917 * net/rcirc.el (rcirc-reconnect-delay): New user option.
9918 (rcirc-sentinel): Auto-reconnect to the server if
9919 `rcirc-reconnect-delay' is non-0 (but not more often than its
9920 value in case the host is off-line).
9921
9922 2014-05-09 Eli Zaretskii <eliz@gnu.org>
9923
9924 * progmodes/grep.el (lgrep): Fix a typo in last commit.
9925
9926 2014-05-09 Glenn Morris <rgm@gnu.org>
9927
9928 * files.el (file-expand-wildcards):
9929 * man.el (Man-support-local-filenames):
9930 * printing.el (pr-i-directory, pr-interface-directory):
9931 * progmodes/grep.el (lgrep, rgrep):
9932 * textmodes/ispell.el (ispell-call-process)
9933 (ispell-call-process-region, ispell-start-process)
9934 (ispell-init-process): Use file-accessible-directory-p.
9935
9936 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
9939 (xterm-mouse--read-event-sequence-1000): Return nil if something
9940 looks fishy.
9941 (xterm-mouse-event): Propagate it.
9942 (xterm-mouse-translate-1): Handle it.
9943
9944 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
9945
9946 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
9947 four slots of the parameter list are filled, make sure to pass it
9948 to the argument list of todo-insert-item--basic.
9949
9950 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
9953 Add optional `seen' argument to detect and break infinite loops.
9954
9955 2014-05-08 Eli Zaretskii <eliz@gnu.org>
9956
9957 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
9958 (trace-unsafe, trace-use-tree): Make parentheses style be
9959 according to Emacs style.
9960
9961 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
9962
9963 * net/tramp-sh.el (tramp-remote-process-environment):
9964 Remove HISTFILE and HISTSIZE; it's too late to set them here.
9965 Add :version entry.
9966 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
9967 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
9968 extra "PSx=..." commands.
9969 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
9970 (Bug#17295)
9971
9972 (tramp-uudecode): Replace the hard-coded temporary file name by a
9973 format specifier.
9974 (tramp-remote-coding-commands): Enhance docstring.
9975 (tramp-find-inline-encoding): Replace "%t" by a temporary file
9976 name. (Bug#17415)
9977 This is CVE-2014-3424.
9978
9979 2014-05-08 Glenn Morris <rgm@gnu.org>
9980
9981 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
9982 (find-gc-source-files): Update some names.
9983 (trace-call-tree): Simplify and update.
9984 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
9985 This is CVE-2014-3422.
9986
9987 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * minibuffer.el (completion--try-word-completion): Revert fix for
9990 Bug#15980 (bug#17375).
9991
9992 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
9993 Always store button numbers in the same way in xterm-mouse-last;
9994 Don't burp is xterm-mouse-last is not set as expected.
9995 Never return negative indices.
9996
9997 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
9998
9999 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10000 Backtrack one char if the global/char-literal var matcher hits
10001 inside a string. The next char could be the beginning of an
10002 expression expansion.
10003
10004 2014-05-08 Glenn Morris <rgm@gnu.org>
10005
10006 * help-fns.el (describe-function-1): Test for an autoload before a
10007 macro, since `macrop' works on autoloads. (Bug#17410)
10008
10009 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10012
10013 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10014 Make sure the new point we return is within the new string (bug#17239).
10015
10016 2014-05-05 Daniel Colascione <dancol@dancol.org>
10017
10018 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10019 Port `gnu' pattern to rx.
10020
10021 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10022
10023 Remove unneeded prompt when closing a buffer with active
10024 emacsclient ("Buffer ... still has clients"), #16548.
10025 * server.el (server-start): Remove the only call to:
10026 (server-kill-buffer-query-function): Remove.
10027
10028 2014-05-04 Leo Liu <sdl.web@gmail.com>
10029
10030 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10031 Defvar to pacify compiler.
10032
10033 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10034
10035 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10036
10037 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10040 Use nil rather than `default' for the "default" appearance (bug#17388).
10041 * vc/ediff-util.el (ediff-inferior-compare-regions)
10042 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10043 a misleading `default' value when it's really a boolean.
10044 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10045 overlay is not visible.
10046
10047 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10048
10049 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10050 (todo-menu): Uncomment and update.
10051
10052 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10053
10054 * calendar/todo-mode.el: Reimplement item editing to have the same
10055 basic user interface as item insertion, and make small UI and
10056 larger internal improvements to the latter.
10057 (todo-insert-item): Add reference to the Todo mode user manual to
10058 the documentation string.
10059 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10060 adjust all callers. Change signature to combine diary and
10061 nonmarking arguments. Incorporate functionality of deleted item
10062 copying command and add error checking. Remove detailed
10063 descriptions of the arguments from the documentation string, since
10064 this is treated in the Todo mode user manual.
10065 (todo-copy-item, todo-edit-multiline-item)
10066 (todo-edit-done-item-comment, todo-edit-item-header)
10067 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10068 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10069 (todo-edit-item-date-year, todo-edit-item-date-month)
10070 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10071 Remove.
10072 (todo-edit-item): Reimplement as wrapper command for
10073 todo-edit-item--next-key and make it distinguish done and not done
10074 todo items.
10075 (todo-edit-item--text): New function, replacing old command
10076 todo-edit-item and incorporating deleted commands
10077 todo-edit-multiline-item and todo-edit-done-item-comment.
10078 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10079 Use only numeric value of prefix argument. Remove detailed
10080 descriptions of the arguments from the documentation string, since
10081 this is treated in the Todo mode user manual.
10082 (todo-edit-item--diary-inclusion): New function, replacing old
10083 command todo-edit-item-diary-inclusion and incorporating and fixing
10084 functionality of deleted command todo-edit-item-diary-nonmarking,
10085 making sure to remove todo-nondiary-marker when adding
10086 diary-nonmarking-symbol.
10087 (todo-edit-category-diary-inclusion): Make sure to delete
10088 diary-nonmarking-symbol when adding todo-nondiary-marker.
10089 (todo-edit-category-diary-nonmarking): Fix indentation.
10090 (todo-insert-item--parameters): Group diary and nonmarking
10091 parameters together.
10092 (todo-insert-item--apply-args): Adjust to signature of
10093 todo-insert-item--basic and incorporate copy parameter.
10094 Make small code improvements.
10095 (todo-insert-item--next-param): Improve prompt and adjust it to
10096 new parameter grouping. Remove obsolete code.
10097 (todo-edit-item--param-key-alist)
10098 (todo-edit-item--date-param-key-alist)
10099 (todo-edit-done-item--param-key-alist): New defconsts.
10100 (todo-edit-item--prompt): New variable.
10101 (todo-edit-item--next-key): New function.
10102 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10103 Remove bindings of deleted commands.
10104
10105 2014-05-04 Leo Liu <sdl.web@gmail.com>
10106
10107 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10108
10109 2014-05-04 Glenn Morris <rgm@gnu.org>
10110
10111 * allout-widgets.el (allout-widgets-tally)
10112 (allout-decorate-item-guides):
10113 * menu-bar.el (menu-bar-positive-p):
10114 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10115 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10116 * progmodes/js.el (js--inside-param-list-p)
10117 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10118 * progmodes/prolog.el (region-exists-p):
10119 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10120 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10121 Doc fixes (replace `iff').
10122
10123 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10126
10127 2014-05-04 Leo Liu <sdl.web@gmail.com>
10128
10129 Support Chinese diary entries in calendar and diary. (Bug#17393)
10130 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10131 (calendar-chinese-from-absolute-for-diary)
10132 (calendar-chinese-to-absolute-for-diary)
10133 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10134 (diary-chinese-list-entries): New functions to list and mark
10135 Chinese diary entries in the calendar window.
10136 (diary-chinese-anniversary)
10137 (diary-chinese-insert-anniversary-entry)
10138 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10139 (diary-chinese-insert-yearly-entry): New commands to insert
10140 Chinese diary entries.
10141
10142 * calendar/diary-lib.el (diary-font-lock-keywords):
10143 Support font-locking Chinese dates.
10144
10145 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10146 inserting Chinese diary entries.
10147
10148 * calendar/calendar.el (diary-chinese-entry-symbol):
10149 New customizable variable.
10150 (calendar-mode-map): Add bindings for inserting Chinese diary
10151 entries.
10152
10153 2014-05-03 Juri Linkov <juri@jurta.org>
10154
10155 * dired.el (dired-check-switches, dired-switches-recursive-p):
10156 New functions. (Bug#17218)
10157 (dired-switches-escape-p, dired-move-to-end-of-filename):
10158 Use `dired-check-switches'.
10159 (dired-insert-old-subdirs, dired-build-subdir-alist)
10160 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10161
10162 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10163
10164 * simple.el (undo-make-selective-list): New algorithm fixes
10165 incorrectness of position adjustments when undoing in region.
10166 (Bug#17235)
10167 (undo-elt-crosses-region): Make obsolete.
10168 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10169 New functions to adjust positions using undo-deltas.
10170
10171 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10174 the last consecutive closing paren (bug#17345).
10175
10176 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10177
10178 * dired.el (dired-mode): make terminology for eXpunge command
10179 consistent. (Bug#17276)
10180
10181 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10182
10183 * dired.el (dired-initial-position-hook, dired-initial-position):
10184 Doc string fixes.
10185
10186 2014-04-30 Glenn Morris <rgm@gnu.org>
10187
10188 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10189
10190 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10191
10192 * faces.el (face-spec-recalc): Apply X resources only after the
10193 defface spec has been applied. Thus, X resources are no longer
10194 overriden by the defface spec which also fixes issues on win32 where
10195 the toolbar coloring was wrong because it is set through X resources
10196 and was (wrongfully) overriden. (Bug#16694)
10197
10198 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10199
10200 * textmodes/rst.el (electric-pair-pairs): Declare.
10201 (rst-mode): Set it (bug#17131).
10202
10203 2014-04-30 Juri Linkov <juri@jurta.org>
10204
10205 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10206 and `print-level' to nil. (Bug#17351)
10207
10208 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10209
10210 * battery.el (battery-update): Handle the case where battery
10211 status is "N/A" (bug#17319).
10212
10213 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10216 to syntax-propertize.
10217 (ps-mode-auto-indent): Mark as obsolete.
10218 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10219 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10220 word regexp operators.
10221 (ps-mode-map): Move initialization into declaration. Remove binding
10222 for TAB, RET, >, ], and }.
10223 (ps-mode-syntax-table): Move initialization into declaration.
10224 Don't give word syntax to non-word chars.
10225 (ps-run-mode-map): Move initialization into declaration.
10226 (ps-mode-menu-main): Remove auto-indent entry.
10227 (ps-mode-smie-rules): New function.
10228 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10229 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10230 (ps-mode--string-syntax-table): New const.
10231 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10232 New functions.
10233 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10234 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10235
10236 2014-04-27 Daniel Colascione <dancol@dancol.org>
10237
10238 * term/xterm.el (xterm-paste): Use large finite timeout when
10239 reading event to avoid putting keys in this-command-keys.
10240
10241 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10244 (perl-syntax-propertize-function): Use it. Extend handling of
10245 here-docs to the unquoted case.
10246
10247 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10248
10249 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10250 Use equal-including-properties to compare help-echo strings (bug#17331).
10251
10252 2014-04-25 Leo Liu <sdl.web@gmail.com>
10253
10254 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10255 Fix syntax for @. (Bug#17325)
10256
10257 2014-04-25 Daniel Colascione <dancol@dancol.org>
10258
10259 * emacs-lisp/cl.el (gv): Require gv early to break eager
10260 macro-expansion cycles.
10261
10262 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10263
10264 * simple.el (region-active-p): Check there's a mark (bug#17324).
10265
10266 * simple.el (completion-list-mode-map): Use choose-completion for the
10267 mouse binding as well (bug#17302).
10268 (completion-list-mode, completion-setup-function): Adjust docstring and
10269 echo area message accordingly.
10270 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10271 calling convention of choose-completion.
10272 * comint.el (comint-dynamic-list-completions):
10273 * term.el (term-dynamic-list-completions): Accept choose-completion.
10274
10275 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10276 &, |, +, - and * can't be a division (bug#17317).
10277
10278 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10279 features on gnome-terminal (bug#16988).
10280
10281 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10282
10283 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10284
10285 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10286 the declared object, ignore zero or more parens, not zero or one.
10287
10288 2014-04-24 Leo Liu <sdl.web@gmail.com>
10289
10290 * progmodes/xscheme.el (xscheme-expressions-ring)
10291 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10292 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10293 (xscheme-allow-output-p, xscheme-prompt)
10294 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10295
10296 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10297 Comment out unused functions.
10298
10299 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * info.el: Use lexical-binding and cl-lib.
10302 Use defvar-local and setq-local instead of make-local-variable.
10303 (Info-apropos-matches): Avoid add-to-list.
10304 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10305
10306 2014-04-24 Daniel Colascione <dancol@dancol.org>
10307
10308 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10309
10310 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10313
10314 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10315
10316 * dired.el (dired-insert-set-properties): Do not consider
10317 subdirectory headings and empty lines to be information that
10318 `dired-hide-details-mode' should hide. (Bug#17228)
10319
10320 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10321
10322 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10323 Remove test messages.
10324 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10325 and `target' twice.
10326
10327 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10330 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10331
10332 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10333
10334 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10335
10336 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10337 Set "IFS=" when using read builtin, in order to preserve spaces in
10338 the file name. Add test messages for hunting a bug on hydra.
10339 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10340
10341 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10344 Don't prettify a word within a symbol.
10345
10346 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10347
10348 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10349 possible.
10350
10351 2014-04-22 Daniel Colascione <dancol@dancol.org>
10352
10353 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10354 use defun to define `function-put'.
10355
10356 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10359 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10360 (lisp-mode-variables): Set font-lock-extra-managed-props.
10361
10362 * emacs-lisp/byte-run.el (function-put): New function.
10363 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10364 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10365 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10366 Use them.
10367
10368 2014-04-22 Daniel Colascione <dancol@dancol.org>
10369
10370 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10371 Add `full-p' parameter; when nil, call `macroexpand' instead of
10372 `macroexpand-all'.
10373
10374 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10375 Improve docstrings.
10376
10377 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10378 Use lambda function values, not quoted lambdas.
10379 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10380
10381 * emacs-lisp/cl-macs.el
10382 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10383 (cl-struct-slot-value): Conditionally use aref or nth so that the
10384 compiler produces optimal code.
10385
10386 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10387
10388 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10389 (inline): Don't inline cl--set-elt.
10390 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10391 Define as inlinable instead.
10392 (cl-struct-set-slot-value): Remove.
10393
10394 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10395 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10396 Use setf instead.
10397
10398 2014-04-21 Daniel Colascione <dancol@dancol.org>
10399
10400 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10401 last two parameters after all.
10402 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10403 (cl--compiler-macro-assoc,cl-struct-slot-value)
10404 (cl-struct-set-slot-value): Stop using them.
10405
10406 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10409 entry in image-mode-winprops-alist.
10410
10411 2014-04-21 Daniel Colascione <dancol@dancol.org>
10412
10413 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10414 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10415 (byte-compile-toplevel-file-form): Use it.
10416
10417 * emacs-lisp/cl-macs.el:
10418 (cl--loop-let): Properly destructure `while' clauses.
10419
10420 2014-04-20 Daniel Colascione <dancol@dancol.org>
10421
10422 * vc/vc.el (vc-root-dir): New public autoloaded function for
10423 generically finding the current VC root.
10424 * vc/vc-hooks.el (vc-not-supported): New error.
10425 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10426
10427 2014-04-20 Daniel Colascione <dancol@dancol.org>
10428
10429 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10430 argument.
10431 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10432 argument in case we're inside a symbol-macrolet.
10433 (cl--do-arglist, cl--compiler-macro-typep)
10434 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10435 environment to `cl--const-expr-val'.
10436 (cl-struct-sequence-type,cl-struct-slot-info)
10437 (cl-struct-slot-offset, cl-struct-slot-value)
10438 (cl-struct-set-slot-value): New functions.
10439
10440 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10443 assignments such as "case=hello" (bug#17297).
10444
10445 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10446
10447 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10448 Do not autoload.
10449 (tramp-file-name-handler, tramp-completion-file-name-handler):
10450 Revert patch from 2014-04-10, it isn't necessary anymore.
10451 (tramp-autoload-file-name-handler)
10452 (tramp-register-autoload-file-name-handlers): New defuns.
10453 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10454 (tramp-register-file-name-handlers): Remove also
10455 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10456 Do not autoload its invocation, but eval it after loading of 'tramp.
10457
10458 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10459
10460 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10461
10462 2014-04-17 Daniel Colascione <dancol@dancol.org>
10463
10464 Add support for bracketed paste mode; add infrastructure for
10465 managing terminal mode enabling and disabling automatically.
10466
10467 * xt-mouse.el:
10468 (xterm-mouse-mode): Simplify.
10469 (xterm-mouse-tracking-enable-sequence)
10470 (xterm-mouse-tracking-disable-sequence): New constants.
10471 (turn-on-xterm-mouse-tracking-on-terminal)
10472 (turn-off-xterm-mouse-tracking-on-terminal):
10473 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10474 parameters instead of random hooks.
10475 (turn-on-xterm-mouse-tracking)
10476 (turn-off-xterm-mouse-tracking): Delete.
10477
10478 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10479 (xterm-paste-ending-sequence): New constant.
10480 (xterm-paste): New command used for bracketed paste support.
10481
10482 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10483 (terminal-init-xterm-bracketed-paste-mode): New function.
10484 (terminal-init-xterm): Call it.
10485 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10486 and tty-mode-reset-strings instead of random hooks.
10487 (xterm-turn-on-modify-other-keys)
10488 (xterm-turn-off-modify-other-keys)
10489 (xterm-remove-modify-other-keys): Delete obsolete functions.
10490
10491 * term/screen.el: Rewrite to just use the xterm code.
10492 Add copyright notice. Mention tmux.
10493
10494 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10495
10496 * image-mode.el (image-mode-window-put): Also update the property of
10497 the "default window".
10498 * doc-view.el (doc-view-new-window-function): If no window
10499 exists, move to the last known page.
10500
10501 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10504 here-documents (bug#17262).
10505
10506 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10507
10508 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10509 Provide doc strings, as required by snarf-documentation.
10510
10511 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10514 arg of overlays-at. Use `invisible-p'.
10515
10516 * obsolete/lucid.el (extent-at):
10517 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10518 overlays-at.
10519 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10520
10521 2014-04-16 João Távora <joaotavora@gmail.com>
10522
10523 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10524 links. (Bug#17217).
10525
10526 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10527
10528 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10529 Use mapc to loop over a vector. (Bug#17257).
10530
10531 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10532
10533 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10534 patch, there are new problems with file names containing spaces.
10535 Get rid of backticks. (Bug#17238)
10536
10537 2014-04-16 João Távora <joaotavora@gmail.com>
10538
10539 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10540 possible bug.
10541
10542 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10543
10544 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10545 (blink-cursor-mode): Mention customization variables and the
10546 effect of 'blink-cursor-blinks'.
10547
10548 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10549
10550 * simple.el (undo): Prevent insertion of identity mapping into
10551 undo-equiv-table so as undo-only does not inf loop in the presence
10552 of consecutive nils in undo list.
10553
10554 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10555
10556 * faces.el (make-face): Deprecate optional argument as it is no
10557 longer needed/used since the conditional X resources handling
10558 has been pushed down to make-face-x-resource-internal itself.
10559 (make-empty-face): Don't pass optional argument to make-face.
10560
10561 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10562
10563 * savehist.el (savehist-save): Remove workaround for a read-passwd
10564 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10565 noticing that the shim was still present.
10566
10567 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10568
10569 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10570
10571 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10572
10573 * faces.el (face-set-after-frame-default): Remove unused local variable.
10574
10575 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * progmodes/grep.el: Use lexical-binding.
10578 (grep-expand-template): Pass explicit lexical env to `eval'.
10579 (zrgrep): Let-bind grep-find-template explicitly.
10580
10581 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10582 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10583
10584 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10585
10586 * international/characters.el <standard-case-table>: Add entries
10587 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10588 Set category of Coptic characters be 'g' (Greek).
10589
10590 2014-04-12 Leo Liu <sdl.web@gmail.com>
10591
10592 * progmodes/octave.el (completion-table-with-cache):
10593 Define if not available.
10594 (octave-goto-function-definition, octave-sync-function-file-names)
10595 (octave-find-definition-default-filename):
10596 Backquote upattern for compatibility.
10597
10598 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10599
10600 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10601 name twice due to backticks. (Bug#17238)
10602
10603 2014-04-12 Glenn Morris <rgm@gnu.org>
10604
10605 * term/w32-win.el (x-win-suspend-error):
10606 * term/x-win.el (x-win-suspend-error): Sync docs.
10607
10608 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10609
10610 * faces.el (make-face): Remove deprecated optional argument.
10611 The conditional application of X resources is handled directly by
10612 make-face-x-resource-internal since Emacs 24.4.
10613 (make-empty-face): Don't pass optional argument to make-face.
10614
10615 2014-04-11 Glenn Morris <rgm@gnu.org>
10616
10617 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10618
10619 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10620
10621 Ediff's overlay priorities cause more trouble than they solve.
10622 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10623 (ediff-highest-priority): Remove function (bug#17234).
10624 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10625 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10626 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10627 overlay priorities.
10628
10629 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10630
10631 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10632 entry; use symbol boundaries to avoid mis-matches.
10633
10634 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10635
10636 * net/tramp.el (tramp-file-name-handler)
10637 (tramp-completion-file-name-handler): Avoid recursive loading.
10638
10639 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10640 Quote result also locally.
10641
10642 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10645 Remove left-over code.
10646
10647 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10648 Reuse the previous comment's indentation unconditionally if it's on its
10649 own line.
10650
10651 2014-04-09 Daniel Colascione <dancol@dancol.org>
10652
10653 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10654 `no-syntax-crossing' arguments. Forward to `up-list'.
10655 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10656 Implement logic for escaping from strings. Use narrowing to deal
10657 with corner cases.
10658
10659 2014-04-09 Leo Liu <sdl.web@gmail.com>
10660
10661 * net/rcirc.el (rcirc-connection-info): New variable.
10662 (rcirc-connect): Use it to store connection info.
10663 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10664 for killed process.
10665 (rcirc-cmd-reconnect): New command. (Bug#17045)
10666 (rcirc-mode, set-rcirc-encode-coding-system)
10667 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10668
10669 2014-04-09 Daniel Colascione <dancol@dancol.org>
10670
10671 * emacs-lisp/cl-indent.el: Add comment claiming
10672 facility is also good for elisp.
10673 (lisp-indent-find-method): New function.
10674 (common-lisp-indent-function): Recognize cl-loop.
10675 (common-lisp-indent-function-1): Recognize cl constructs; use
10676 `lisp-indent-find-method' instead of `get' directly.
10677 (if): Use else-body style for elisp.
10678
10679 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10680
10681 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10682 Module methods. (Bug#17216)
10683
10684 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * help.el (describe-bindings): Fix buffer handling (bug#17210).
10687 (describe-bindings-internal): Mark obsolete.
10688
10689 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10692 buffer-file-name, and buffer-file-truename any more.
10693
10694 2014-04-08 Leo Liu <sdl.web@gmail.com>
10695
10696 Use lexical-binding and require cl-lib.
10697 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10698 (rcirc-handler-generic, rcirc-fill-paragraph)
10699 (rcirc-format-response-string, rcirc-target-buffer)
10700 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10701 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10702 (rcirc-ctcp-sender-PING, rcirc-browse-url)
10703 (rcirc-markup-timestamp, rcirc-markup-attributes)
10704 (rcirc-markup-my-nick, rcirc-markup-urls)
10705 (rcirc-markup-bright-nicks, rcirc-markup-fill)
10706 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
10707 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
10708 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
10709 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
10710 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
10711 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
10712 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
10713 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
10714 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
10715 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
10716 use cl-lib.
10717
10718 2014-04-07 João Távora <joaotavora@gmail.com>
10719
10720 * elec-pair.el (electric-pair--syntax-ppss):
10721 When inside comments parse from comment beginning.
10722 (electric-pair--balance-info): Fix typo in comment.
10723 (electric-pair--in-unterminated-string-p): Delete.
10724 (electric-pair--unbalanced-strings-p): New function.
10725 (electric-pair-string-bound-function): New var.
10726 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10727 according to `electric-pair--in-unterminated-string-p'
10728
10729 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10730 Inhibit quote pairing if point-max is inside an unterminated string.
10731 (electric-pair--looking-at-unterminated-string-p): Delete.
10732 (electric-pair--in-unterminated-string-p): New function.
10733
10734 2014-04-07 Glenn Morris <rgm@gnu.org>
10735
10736 * shell.el (shell-directory-tracker):
10737 Go back to just ignoring failures. (Bug#17159)
10738
10739 2014-04-07 João Távora <joaotavora@gmail.com>
10740
10741 Fix `electric-pair-delete-adjacent-pairs' in modes binding
10742 backspace. (Bug#16981)
10743 * elec-pair.el (electric-pair-backward-delete-char): Delete.
10744 (electric-pair-backward-delete-char-untabify): Delete.
10745 (electric-pair-mode-map): Bind backspace to a menu item filtering
10746 a new `electric-pair-delete-pair' command.
10747 (electric-pair-delete-pair): New command.
10748
10749 * progmodes/python.el (python-electric-pair-string-delimiter):
10750 Fix triple-quoting electricity. (Bug#17192)
10751
10752 * elec-pair.el (electric-pair-post-self-insert-function):
10753 Don't skip whitespace when `electric-pair-text-pairs' and
10754 `electric-pair-pairs' were used. syntax to
10755 electric-pair--skip-whitespace. (Bug#17183)
10756
10757 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10758
10759 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
10760 "<F>". (Bug#17199)
10761
10762 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
10765 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
10766
10767 2014-04-07 Glenn Morris <rgm@gnu.org>
10768
10769 * help.el (view-lossage): Doc tweak.
10770
10771 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
10772
10773 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
10774 only when inhibit-x-resources is nil, and do that earlier in the
10775 function. Doc fix. (Bug#16694)
10776 (face-spec-choose): Accept additional optional argument, whose
10777 value is returned if no matching attributes are found.
10778 (face-spec-recalc): Use the new optional argument when calling
10779 face-spec-choose. (Bug#16378)
10780 (make-face-x-resource-internal): Do nothing when
10781 inhibit-x-resources is non-nil. Don't touch the default face if
10782 reversed video is given--as was done in previous versions of Emacs.
10783 (face-set-after-frame-default): Don't call
10784 make-face-x-resource-internal here. (Bug#16434)
10785
10786 2014-04-07 Tassilo Horn <tsdh@gnu.org>
10787
10788 * doc-view.el (doc-view-bookmark-jump):
10789 Use `bookmark-after-jump-hook' to jump to the right page after the
10790 buffer is shown in a window. (bug#16090)
10791
10792 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10793
10794 * international/characters.el (mirroring): Fix last change:
10795 instead of loading uni-mirrored.el explicitly, do that implicitly
10796 by creating the 'mirroring' uniprop table. This avoids announcing
10797 the loading of uni-mirrored.el.
10798
10799 2014-04-07 Glenn Morris <rgm@gnu.org>
10800
10801 * files.el (buffer-stale--default-function)
10802 (buffer-stale-function, revert-buffer--default):
10803 * autorevert.el (auto-revert-buffers): Doc tweaks.
10804
10805 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10806
10807 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
10808
10809 2014-04-07 Glenn Morris <rgm@gnu.org>
10810
10811 * files.el (make-backup-file-name-function)
10812 (make-backup-file-name, make-backup-file-name--default-function)
10813 (make-backup-file-name-1, find-backup-file-name)
10814 (revert-buffer-function, revert-buffer-insert-file-contents-function)
10815 (buffer-stale--default-function, buffer-stale-function)
10816 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
10817 (revert-buffer, revert-buffer--default)
10818 (revert-buffer-insert-file-contents--default-function):
10819 Doc fixes related to defaults no longer being nil.
10820 (make-backup-file-name-function): Bump :version.
10821 Restore nil as a valid but deprecated custom type.
10822
10823 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10826 Handle $' used as a variable (bug#17174).
10827
10828 * progmodes/perl-mode.el (perl-indent-new-calculate):
10829 Handle forward-sexp failure (bug#16985).
10830 (perl-syntax-propertize-function): Add "foreach" and "for" statement
10831 modifiers introducing expressions (bug#17116).
10832
10833 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
10834
10835 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
10836
10837 2014-04-05 Leo Liu <sdl.web@gmail.com>
10838
10839 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10840 Add define-compilation-mode.
10841
10842 2014-04-04 João Távora <joaotavora@gmail.com>
10843
10844 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
10845 parse from comment beginning.
10846 (electric-pair--balance-info): Fix typo in comment.
10847 (electric-pair--in-unterminated-string-p): Delete.
10848 (electric-pair--unbalanced-strings-p): New function.
10849 (electric-pair-string-bound-function): New var.
10850 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10851 according to `electric-pair--in-unterminated-string-p'.
10852
10853 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
10856 Move declaration before first use.
10857 (reftex-move-to-next-arg): Silence compiler warning.
10858
10859 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
10860
10861 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
10862 Use `window-total-width' instead of `window-width'.
10863
10864 2014-04-03 Daniel Colascione <dancol@dancol.org>
10865
10866 * subr.el (set-transient-map): Remove rms's workaround entirely;
10867 use new `suspicious-object' subr to mark our lambda for closer
10868 scrutiny during gc.
10869
10870 2014-04-02 Richard Stallman <rms@gnu.org>
10871
10872 * subr.el (set-transient-map): Comment out previous change.
10873
10874 2014-04-02 Glenn Morris <rgm@gnu.org>
10875
10876 * menu-bar.el (menu-bar-file-menu):
10877 * vc/ediff.el (ediff-current-file):
10878 Update for revert-buffer-function no longer being nil by default.
10879
10880 * simple.el (command-execute): Respect nil disabled-command-function.
10881
10882 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10883
10884 * simple.el (command-execute): Do not execute the command when it
10885 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
10886
10887 2014-04-02 Juri Linkov <juri@jurta.org>
10888
10889 * dired-aux.el (dired-compress-file): Don't use string-match-p
10890 because its match data is used afterwards.
10891
10892 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
10893
10894 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
10895 0 like nil.
10896
10897 2014-04-02 João Távora <joaotavora@gmail.com>
10898
10899 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10900 Inhibit quote pairing if point-max is inside an unterminated string.
10901 (electric-pair--looking-at-unterminated-string-p):
10902 Delete.
10903 (electric-pair--in-unterminated-string-p): New function.
10904
10905 2014-04-01 Daniel Colascione <dancol@dancol.org>
10906
10907 * minibuffer.el (minibuffer-complete): Prevent assertion failure
10908 when trying to complete the prompt.
10909
10910 2014-03-31 Leo Liu <sdl.web@gmail.com>
10911
10912 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10913 Refactor out eldoc-documentation-function-default.
10914 (eldoc-documentation-function-default): New function.
10915 (eldoc-documentation-function): Change value.
10916
10917 2014-03-31 Glenn Morris <rgm@gnu.org>
10918
10919 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
10920
10921 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
10922 (vhdl-compose-components-package, vhdl-compose-configuration):
10923 Abbreviate default-directory (missing from some previous upstream sync).
10924
10925 2014-03-31 Reto Zimmermann <reto@gnu.org>
10926
10927 Sync with upstream vhdl mode v3.35.2.
10928 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10929 (top-level): No longer require assoc.
10930 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
10931 New functions. Use throughout to replace aget etc.
10932 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
10933 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
10934 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
10935 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
10936 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
10937 except `vhdl-compiler'.
10938 (vhdl-error-regexp-add-emacs): Remove all other compilers,
10939 when appropriate.
10940
10941 2014-03-31 Glenn Morris <rgm@gnu.org>
10942
10943 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
10944 Revert 2014-03-26 merge goof; go back to using defalias.
10945
10946 2014-03-30 Daniel Colascione <dancol@dancol.org>
10947
10948 * comint.el (comint-send-input):
10949 Deactivate completion-in-region-mode before we send comint input.
10950 (Bug#17139).
10951
10952 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
10953 on keyboard-quit.
10954
10955 2014-03-29 Glenn Morris <rgm@gnu.org>
10956
10957 * textmodes/reftex.el: Manage most autoloads automatically.
10958 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
10959 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
10960 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
10961 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
10962 * textmodes/reftex-toc.el: Set generated-autoload-file,
10963 and add autoload cookies for reftex.el.
10964 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
10965
10966 2014-03-28 Glenn Morris <rgm@gnu.org>
10967
10968 * cus-start.el (report-emacs-bug-address): Set custom properties.
10969 * mail/emacsbug.el (report-emacs-bug-address):
10970 Variable is now defined in emacs.c.
10971
10972 * mail/emacsbug.el (report-emacs-bug):
10973 Include system-configuration-features.
10974
10975 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
10976
10977 * simple.el (cycle-spacing): Never delete spaces on first run by
10978 default, but do so in a new 'fast mode and if there are already
10979 N spaces (the previous behavior).
10980 Compare N with its value in previous invocation so that changing
10981 prefix argument restarts `cycle-spacing' sequence.
10982 The idea is that with this change, binding M-SPC to
10983 `cycle-spacing' should not introduce any changes in behavior of
10984 the binding so long as users do not type M-SPC twice in a raw with
10985 the same prefix argument or lack thereof.
10986
10987 2014-03-28 Glenn Morris <rgm@gnu.org>
10988
10989 * faces.el (term-file-aliases): New variable.
10990 (tty-run-terminal-initialization): Respect term-file-aliases.
10991 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
10992 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
10993 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
10994
10995 2014-03-27 Glenn Morris <rgm@gnu.org>
10996
10997 * startup.el (inhibit-startup-hooks): Doc tweak.
10998 (normal-top-level): Simplify running of hooks.
10999 For window-setup-hook, respect inhibit-startup-hooks.
11000 (command-line-1): Don't set window-setup-hook to nil.
11001
11002 Allow selective autoloading from obsolete/ directory.
11003 * Makefile.in (obsolete-autoloads): New rule.
11004 (autoloads): Run obsolete-autoloads.
11005 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11006 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11007
11008 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11009
11010 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11011 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11012
11013 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11014 Don't propertize `?' or `!' as symbol constituent when after
11015 colon. (Bug#17097)
11016
11017 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11018
11019 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11020 which is no longer needed and causes trouble in GTK builds (bug#17046).
11021
11022 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11023 Use url-insert-file-contents; package-handle-response no longer exists.
11024
11025 2014-03-26 Daniel Colascione <dancol@dancol.org>
11026
11027 * simple.el (process-menu-mode-map): New variable.
11028 (process-menu-delete-process): New command.
11029
11030 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11031
11032 * emacs-lisp/package.el: Fix bug#16733 (again).
11033 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11034 (url-http-target-url): Remove unused declarations.
11035 (package-handle-response): Remove.
11036 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11037 (package--download-one-archive): Use current-buffer instead of
11038 dynamic binding of `buffer'.
11039 (describe-package-1): Do not decode readme-string.
11040
11041 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11042
11043 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11044
11045 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11046 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11047 `remote-file-name-inhibit-cache' to nil in the second pass.
11048 (tramp-find-executable): Do not call "which" on SunOS.
11049 (tramp-send-command-and-check): Fix docstring.
11050 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11051 check whether source directory has set the sticky bit.
11052
11053 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11054
11055 * simple.el (primitive-undo): Only process marker adjustments
11056 validated against their corresponding (TEXT . POS). Issue warning
11057 for lone marker adjustments in undo history. (Bug#16818)
11058 (undo-make-selective-list): Add marker adjustments to selective
11059 undo list based on whether their corresponding (TEXT . POS) is in
11060 the region. Remove variable adjusted-markers, which was unused
11061 and only non nil during undo-make-selective-list.
11062 (undo-elt-in-region): Return nil when passed a marker adjustment
11063 and explain in function doc.
11064
11065 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11066
11067 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11068
11069 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11070
11071 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11072 Match special global variables without curlies, too.
11073 (ruby-font-lock-keywords): Simplify the matcher for special global
11074 variables. Don't require a non-word character after the variable.
11075 (Bug#17057)
11076
11077 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * simple.el (redisplay-highlight-region-function): Increase priority of
11080 overlay to make sure boundaries are visible (bug#15899).
11081
11082 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11083
11084 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11085 (frameset-restore): Compare display strings with equal.
11086
11087 * frame.el (make-frame): Don't quote display name in error message,
11088 it is already a string.
11089
11090 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11091
11092 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11093 the password.
11094
11095 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11096
11097 * emacs-lisp/package.el (package--add-to-archive-contents):
11098 Include already installed and built-in packages in
11099 `package-archive-contents'.
11100 (package-install): Don't include already installed packages in the
11101 options during interactive invocation. (Bug#16762)
11102 (package-show-package-list): If the buffer is already displayed in
11103 another window, switch to that window.
11104
11105 2014-03-26 Reto Zimmermann <reto@gnu.org>
11106
11107 Sync with upstream vhdl mode v3.35.1.
11108 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11109 (vhdl-compiler-alist): Doc fix.
11110 (vhdl-goto-line): Remove.
11111 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11112 (vhdl-mode) <paragraph-start>: Fix value.
11113 (vhdl-fix-statement-region): Not `for' in wait-statement.
11114 (vhdl-beautify-region): Also (un)tabify.
11115 (vhdl-get-visible-signals):
11116 Scan declarative part of generate statements.
11117 (vhdl-template-record): Fix indentation for record type declaration.
11118 (vhdl-expand-abbrev, vhdl-expand-paren):
11119 Revert to using fset again rather than defalias.
11120 (vhdl-scan-directory-contents): Tweak.
11121 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11122 (vhdl-compose-components-package):
11123 Replace vhdl-goto-line with forward-line.
11124 (top-level): Tweak speedbar frame selection.
11125 (vhdl-generate-makefile-1): Support for compilers with no
11126 unit-to-file name mapping (create directory with dummy files).
11127
11128 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11129
11130 Sync with upstream verilog-mode revision 702457d.
11131 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11132 (create-lockfiles): Declare.
11133 (verilog-read-decls): Fix module header imports, bug709.
11134 Reported by Victor Lau.
11135 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11136 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11137 interface-only modules, bug721. Reported by Dean Hoyt.
11138
11139 2014-03-26 Glenn Morris <rgm@gnu.org>
11140
11141 * obsolete/gulp.el: Move here from emacs-lisp/.
11142
11143 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11144 Remove fallback aliases, since they are always defined now.
11145
11146 2014-03-24 Daniel Colascione <dancol@dancol.org>
11147
11148 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11149 instead of cl-loop search function.
11150
11151 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11152
11153 * calendar/parse-time.el (parse-time-iso8601-regexp)
11154 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11155 it more generally.
11156
11157 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11158
11159 * net/dns.el (network-interface-list): Define for XEmacs.
11160
11161 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11162
11163 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11164 the network interfaces changed.
11165 (dns-query): Use it to flush the data.
11166
11167 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11168
11169 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11170
11171 2014-03-23 Daniel Colascione <dancol@dancol.org>
11172
11173 Change subword-mode to use `find-word-boundary-function-table' and
11174 replace `capitalized-words-mode'. Also, convert to lexical binding.
11175 * progmodes/cap-words.el: Delete now-obsolete file.
11176 * progmodes/subword.el: Reimplement using
11177 `find-word-boundary-function-table'.
11178 (subword-mode-map): Hollow out.
11179 (capitalized-words-mode): Define as obsolete alias for
11180 `subword-mode'.
11181 (subword-mode, superword-mode): Tweak documentation to reflect new
11182 implementation; call `subword-setup-buffer'.
11183 (subword-forward, subword-capitalize): Add underscore to indicate
11184 unused variable.
11185 (subword-find-word-boundary-function-table): New constant.
11186 (subword-empty-char-table): New constant.
11187 (subword-setup-buffer): New function.
11188 (subword-find-word-boundary): New function.
11189
11190 2014-03-23 Daniel Colascione <dancol@dancol.org>
11191
11192 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11193 list to look for keyword arguments instead of `memq', fixing
11194 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11195 Please make bootstrap.
11196
11197 2014-03-22 Glenn Morris <rgm@gnu.org>
11198
11199 * dired.el (dired-read-regexp): Make obsolete.
11200 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11201 (dired-flag-files-regexp):
11202 * dired-aux.el (dired-mark-read-regexp):
11203 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11204
11205 * startup.el (fancy-startup-text):
11206 * help.el (describe-gnu-project): Visit online info about GNU project.
11207
11208 * help-fns.el (help-fns--interactive-only): New function.
11209 (help-fns-describe-function-functions): Add the above function.
11210 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11211 (next-line, previous-line): Remove hand-written interactive-only
11212 information from doc strings, it is auto-generated now.
11213 * bookmark.el (bookmark-write):
11214 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11215 (epa-mail-import-keys): Mark interactive-only,
11216 and remove hand-written interactive-only information from doc strings.
11217 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11218 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11219 * files.el (not-modified):
11220 * simple.el (mark-whole-buffer): Mark interactive-only.
11221
11222 * emacs-lisp/byte-run.el (defun-declarations-alist):
11223 Add interactive-only. Doc tweak.
11224 (macro-declarations-alist): Doc tweak.
11225 * subr.el (declare): Doc tweak (add xref to manual).
11226 * comint.el (comint-run):
11227 * files.el (insert-file-literally, insert-file):
11228 * replace.el (replace-string, replace-regexp):
11229 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11230 (delete-forward-char, goto-line, insert-buffer, next-line)
11231 (previous-line): Set interactive-only via declare.
11232
11233 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11234
11235 * emacs-lisp/package.el (package-desc): Use the contents of the
11236 quoted form, not its cdr. (Bug#16873)
11237
11238 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11239
11240 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11241 benefit of doc.c; change parameter profile to match the X function.
11242
11243 2014-03-22 Leo Liu <sdl.web@gmail.com>
11244
11245 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11246 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11247
11248 2014-03-21 Richard Stallman <rms@gnu.org>
11249
11250 * battery.el (battery-linux-sysfs): Search for each field
11251 from the beginning of the buffer.
11252
11253 * subr.el (set-transient-map): Clear out function and value
11254 of the temporary symbol when we're done with it.
11255
11256 * mail/rmailsum.el (rmail-summary-delete-forward):
11257 Optimize case of reaching end and handling count.
11258 (rmail-summary-mark-deleted): Optimize when N is current msg.
11259 Don't create new summary line.
11260 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11261 (rmail-summary-undelete-many): Rewrite for speed.
11262 (rmail-summary-msg-number): New function.
11263
11264 * mail/rmail.el (rmail-delete-message): Update summary.
11265 (rmail-undelete-previous-message): Handle repeat count arg.
11266 (rmail-delete-backward, rmail-delete-forward): Likewise.
11267
11268 2014-03-21 Daniel Colascione <dancol@dancol.org>
11269
11270 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11271 information in bug reports.
11272
11273 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11274
11275 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11276 and `tramp-copy-env'.
11277
11278 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11279 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11280
11281 2014-03-21 Glenn Morris <rgm@gnu.org>
11282
11283 * electric.el (electric-indent-post-self-insert-function): Add doc.
11284
11285 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11286
11287 * emacs-lisp/package.el (package-compute-transaction):
11288 Use `version-list-<=' to compare the requirement version against
11289 the version of package already to be installed. Update the error
11290 message. (Bug#16826)
11291
11292 * progmodes/ruby-mode.el (ruby-smie-rules):
11293 Add indentation rule for ` @ '. (Bug#17050)
11294
11295 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11296
11297 * align.el (align-regexp): Remove superfluous backslash.
11298
11299 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11300 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11301 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11302 Fix docstring typos.
11303 (ffap-next): Use C-u in docstring.
11304 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11305 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11306 Remove superfluous backslashes.
11307 (ffap-string-at-point): Reflow docstring.
11308
11309 * server.el (server-host): Reflow docstring.
11310 (server-unload-function): Fix docstring typo.
11311 (server-eval-at): Remove superfluous backslash.
11312
11313 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11314 (skeleton-insert): Doc fix.
11315 (skeleton-insert): Reflow docstring.
11316
11317 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11318 (tty-color-approximate, tty-color-by-index, tty-color-values)
11319 (tty-color-desc): Remove superfluous backslashes.
11320
11321 2014-03-21 Glenn Morris <rgm@gnu.org>
11322
11323 * cus-start.el (history-length): Bump :version.
11324
11325 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11326 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11327 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11328 Don't set `make-backup-files'.
11329
11330 * info.el (info--prettify-description): New function,
11331 to give info-finder descriptions consistent case, punctuation.
11332 (Info-finder-find-node): Use it. Sort packages.
11333 Refer to "description" rather than "commentary".
11334
11335 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11336
11337 * frameset.el (frameset--print-register): New function.
11338 (frameset-to-register): Use it.
11339
11340 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11341
11342 * progmodes/hideif.el (hif-string-to-number): New function.
11343 (hif-tokenize): Use it to understand non-decimal floats.
11344
11345 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11346
11347 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11348
11349 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * electric.el (electric-newline-and-maybe-indent): New command.
11352 Bind it globally to C-j.
11353 (electric-indent-mode): Don't mess with the global map any more.
11354 Don't drop the post-self-insert-hook is some buffer is still using it
11355 (bug#16770).
11356
11357 * bindings.el (global-map): Remove C-j binding.
11358
11359 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11360 the docstring of functions advised before dumping (bug#16993).
11361
11362 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11363
11364 * ps-print.el (ps-generate-postscript-with-faces):
11365 Explicitly deactivate the mark (bug#16866).
11366 * simple.el (deactivate-mark): Update region highlight.
11367
11368 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11369
11370 * emacs-lisp/package.el (describe-package-1):
11371 Decode commentary (bug#16733).
11372
11373 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11374
11375 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11376 modification of the value argument of :set (bug#16755).
11377
11378 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * simple.el (newline-and-indent): Do autofill (bug#17031).
11381
11382 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11383
11384 * newcomment.el (comment-normalize-vars): Only add escaping check
11385 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11386 (comment-beginning): Use `narrow-to-region' instead of moving back
11387 one character.
11388 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11389 (comment-start-skip): Update the docstring.
11390
11391 2014-03-18 Richard Stallman <rms@gnu.org>
11392
11393 * dired.el (dired-display-file): Force use of other window.
11394
11395 2014-03-18 Daniel Colascione <dancol@dancol.org>
11396
11397 * startup.el (tty-handle-args): Remove debug message from 2007.
11398
11399 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11402 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11403 (advice--make-1, advice-add, advice-remove):
11404 Remove braindead :advice-pending hack.
11405
11406 2014-03-17 Glenn Morris <rgm@gnu.org>
11407
11408 * calendar/calendar.el (calendar-generate-month): Apply weekend
11409 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11410
11411 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11412
11413 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11414 (tramp-call-process): Trace also DESTINATION.
11415
11416 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11417 Quote file names when they are local. Remove superfluous trace.
11418
11419 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11420
11421 * newcomment.el (comment-beginning): If `comment-start-skip'
11422 doesn't match, move back one char and try again. (Bug#16971)
11423
11424 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11425 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11426 Set `comment-start-skip' to a simpler value that doesn't try to
11427 check if the semicolon is escaped (this is handled by
11428 `syntax-ppss' now). (Bug#16971)
11429
11430 * progmodes/scheme.el (scheme-mode-variables): Same.
11431
11432 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11433
11434 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11435 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11436 current (Bug#16816, Bug#17007).
11437 (with-current-buffer-window): New macro doing the same as
11438 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11439 * help.el (help-print-return-message): Warn in doc-string to not
11440 use this in `with-help-window'.
11441 (describe-bindings-internal): Call `describe-buffer-bindings'
11442 from within help buffer. See Juanma's scenario in (Bug#16816).
11443 (with-help-window): Update doc-string.
11444 * dired.el (dired-mark-pop-up):
11445 * files.el (save-buffers-kill-emacs):
11446 * register.el (register-preview): Use `with-current-buffer-window'
11447 instead of `with-temp-buffer-window'.
11448
11449 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11450
11451 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11452 Implement inserting into current buffer, documented in their docstrings.
11453 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11454 (rst-section-tree-point, rst-forward-section, rst-indent)
11455 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11456 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11457 (rst-font-lock-handle-adornment-pre-match-form)
11458 (rst-repeat-last-character): Reflow docstrings.
11459 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11460 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11461 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11462 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11463 Fix docstring typos.
11464 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11465 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11466 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11467
11468 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11469
11470 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11471 for compatibility with other ports.
11472 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11473 from the -xrm command line argument, but in the Nextstep port its value
11474 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11475
11476 * progmodes/python.el (defconst, python-syntax-count-quotes)
11477 (python-indent-region, python-indent-shift-right)
11478 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11479 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11480 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11481 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11482 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11483 (python-shell-buffer-substring, python-shell-send-buffer)
11484 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11485 (python-completion-complete-at-point, python-fill-docstring-style)
11486 (python-eldoc-function, python-imenu-format-item-label)
11487 (python-imenu-format-parent-item-label)
11488 (python-imenu-format-parent-item-jump-label)
11489 (python-imenu--build-tree, python-imenu-create-index)
11490 (python-imenu-create-flat-index): Fix docstring typos.
11491 (python-indent-context, python-shell-prompt-regexp, run-python):
11492 Remove superfluous backslashes.
11493 (python-indent-line, python-nav-beginning-of-defun)
11494 (python-shell-get-buffer, python-shell-get-process)
11495 (python-info-current-defun, python-info-current-line-comment-p)
11496 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11497 (python-indent-post-self-insert-function, python-shell-send-file)
11498 (python-shell-completion-get-completions)
11499 (python-shell-completion-complete-or-indent)
11500 (python-eldoc--get-doc-at-point): Reflow docstrings.
11501
11502 2014-03-14 Glenn Morris <rgm@gnu.org>
11503
11504 * emacs-lisp/package.el (package-menu-mode-map):
11505 Replace use of obsolete function alias. Tweak menu item text.
11506
11507 * info.el (Info-finder-find-node):
11508 Ignore the `emacs' metapackage. (Bug#10813)
11509
11510 * finder.el (finder-list-matches): Include unversioned packages
11511 in the result of a keyword search.
11512
11513 * finder.el (finder--builtins-descriptions): New constant.
11514 (finder-compile-keywords): Use finder--builtins-descriptions.
11515
11516 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11517
11518 * simple.el (blink-matching-paren): Describe the new value,
11519 `jump', enabling the old behavior.
11520 (blink-matching-open): Use that value. (Bug#17008)
11521
11522 2014-03-14 Glenn Morris <rgm@gnu.org>
11523
11524 * finder.el (finder-no-scan-regexp): Add leim-list.
11525 (finder-compile-keywords):
11526 Don't skip files with same basename. (Bug#14010)
11527 * Makefile.in (setwins_finder): New, excluding leim.
11528 (finder-data): Use setwins_finder.
11529
11530 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11531 (help-function-arglist, help-make-usage): Move from here...
11532 * help.el (help-split-fundoc, help-add-fundoc-usage)
11533 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11534 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11535
11536 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11537
11538 * net/socks.el (socks, socks-override-functions)
11539 (socks-find-services-entry):
11540 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11541 (hif-find-ifdef-block):
11542 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11543
11544 * net/tls.el (tls-program): Reflow docstring.
11545
11546 * progmodes/pascal.el (pascal-mode-abbrev-table)
11547 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11548 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11549 (pascal-outline-mode): Fix docstring typos.
11550 (pascal-mode): Let define-derived-mode document mode hook.
11551 (pascal-uncomment-area): Reflow.
11552 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11553
11554 * progmodes/opascal.el (opascal-compound-block-indent)
11555 (opascal-case-label-indent): Fix docstring typos.
11556 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11557
11558 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11559
11560 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11561 Fontify multiple adjacent negation chars. (Bug#17004)
11562
11563 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11564
11565 * emacs-lisp/package.el (package--prepare-dependencies):
11566 Accept requirements without explicit version (bug#14941).
11567
11568 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11569
11570 * register.el (register-separator, copy-to-register): Doc fixes.
11571 (register-preview-default): Remove unnecessary call to concat.
11572
11573 * frameset.el (frameset-restore): When checking for a visible frame,
11574 use the action map instead of calling visible-frame-list.
11575
11576 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11577
11578 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11579
11580 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11581
11582 * window.el (fit-frame-to-buffer): Get maximum width from
11583 display's width instead of height.
11584
11585 2014-03-12 Glenn Morris <rgm@gnu.org>
11586
11587 * desktop.el (desktop-restore-frames)
11588 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11589 (desktop-restore-reuses-frames): Doc tweaks.
11590
11591 * electric.el (electric-indent-mode): Doc fix.
11592
11593 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11594
11595 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11596 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11597 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11598 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11599 (cvs-dired-use-hook): Fix docstring typos.
11600 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11601 Doc fixes.
11602
11603 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11604 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11605 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11606 (cvs-execute-single-dir): Fix docstring typos.
11607
11608 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11609 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11610
11611 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11612
11613 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11614 Fix docstring typos.
11615
11616 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11617
11618 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11619 called from jump-to-register after unloading the frameset package.
11620
11621 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11622
11623 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11624 (bug#16975). Deactivate the mark before setting it to nil.
11625 (activate-mark): Do nothing if region is already active.
11626
11627 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11628
11629 * frameset.el (frameset--target-display): Remove definition; declare.
11630 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11631
11632 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11635 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11636 when the advice is pending.
11637 (advice-remove): Remove this marker when not needed any more.
11638
11639 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11640
11641 * frameset.el: Separate options for reusing frames and cleaning up.
11642 (frameset--reuse-list): Remove definition; declare.
11643 (frameset--action-map): Declare.
11644 (frameset--find-frame-if): Doc fix.
11645 (frameset--restore-frame): Cache frame action.
11646 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11647 how to clean up the frame list after restoring. Remove cleaning
11648 options from REUSE-FRAMES. Change all keyword values to symbols.
11649 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11650
11651 * desktop.el (desktop-restore-forces-onscreen)
11652 (desktop-restore-reuses-frames): Use non-keyword values.
11653 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11654
11655 2014-03-10 Glenn Morris <rgm@gnu.org>
11656
11657 * files.el (find-file): Doc fix: update info node name.
11658
11659 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11660 Doc fix: remove references to deleted info nodes.
11661
11662 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11663
11664 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11665 Do not add nil to the environment, when there's no remote `locale'.
11666 (tramp-find-inline-encoding): Check, that the remote host has
11667 installed perl, before sending scripts.
11668
11669 2014-03-10 Leo Liu <sdl.web@gmail.com>
11670
11671 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11672 Clear eldoc-last-message. (Bug#16920)
11673
11674 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11675
11676 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11677 (bug#14430).
11678
11679 2014-03-09 Juri Linkov <juri@jurta.org>
11680
11681 * ansi-color.el (ansi-color-names-vector): Copy default colors
11682 from `xterm-standard-colors' that look well on the default white
11683 background (and also on the black background) to avoid illegible
11684 color combinations like yellow-on-white and white-on-white.
11685 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11686
11687 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
11688
11689 * frameset.el (frameset-restore): When no frame is visible, do not
11690 generate a list of frames, just make visible the selected one.
11691
11692 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
11693
11694 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11695 it only contains the repository root. (Bug#16897)
11696
11697 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
11698
11699 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11700 only when `remote-file-name-inhibit-cache' is nil.
11701 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
11702
11703 2014-03-06 Martin Rudalics <rudalics@gmx.at>
11704
11705 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11706 Fix doc-strings.
11707 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
11708 fit-frame-to-buffer variable. Fix doc-string.
11709 (fit-window-to-buffer): Set ONLY argument in call of
11710 fit-frame-to-buffer. Fix doc-string.
11711
11712 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
11713
11714 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
11715 (tramp-action-password): Clear password cache if needed.
11716 (tramp-read-passwd): Do not clear password cache.
11717
11718 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
11719 cache unless it is the first password request.
11720
11721 2014-03-06 Glenn Morris <rgm@gnu.org>
11722
11723 * simple.el (newline): Doc tweak.
11724
11725 * emacs-lisp/shadow.el (load-path-shadows-find):
11726 Ignore dir-locals. (Bug#12357)
11727
11728 2014-03-05 Glenn Morris <rgm@gnu.org>
11729
11730 * files.el (interpreter-mode-alist):
11731 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
11732
11733 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11734
11735 * frameset.el (frameset--initial-params): Filter out null entries.
11736
11737 2014-03-05 Martin Rudalics <rudalics@gmx.at>
11738
11739 * window.el (window-min-height, window-min-width):
11740 Rewrite doc-strings.
11741 (window-body-size): Add PIXELWISE argument to make it consistent
11742 with its callees.
11743
11744 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11745
11746 * finder.el (finder-mode-map, finder-mode-syntax-table):
11747 Revert part of 2014-02-28 change.
11748
11749 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
11750
11751 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
11752 (eww-setup-buffer): Clear next/prev/etc more reliably.
11753 (eww-textarea-map): [tab] doesn't work on tty.
11754 Reported by Mario Lang.
11755
11756 * net/shr.el (shr-map): Ditto.
11757
11758 2014-03-04 Glenn Morris <rgm@gnu.org>
11759
11760 * minibuffer.el (completion-hilit-commonality):
11761 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
11762
11763 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11764
11765 * hilit-chg.el (hilit-chg-unload-function): New function.
11766 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
11767 (hilit-chg-map-changes): Prefer cardinal number to digit.
11768 (hilit-chg-display-changes): Reflow docstring.
11769 (highlight-changes-rotate-faces): Remove superfluous backslash.
11770
11771 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
11772
11773 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
11774 `tramp-send-command-and-check'.
11775
11776 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11777
11778 * hexl.el (hexl-address-region, hexl-ascii-region)
11779 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
11780 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
11781 (hexl-forward-word, hexl-previous-line, hexl-next-line):
11782 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
11783 (hexl-mode): Doc fix.
11784 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
11785 (hexl-mode-ruler): Fix typos in docstrings.
11786
11787 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
11788 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
11789 Remove superfluous backslashes.
11790 (strokes-last-stroke, strokes-global-map, strokes-mode):
11791 Reflow docstrings.
11792 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
11793 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
11794 (strokes-distance-squared, strokes-global-set-stroke)
11795 (strokes-global-set-stroke-string): Doc fixes.
11796 (strokes-help): Fix typos; reflow docstring.
11797
11798 2014-03-04 Martin Rudalics <rudalics@gmx.at>
11799
11800 * window.el (window-in-direction): Fix doc-string.
11801
11802 2014-03-04 Glenn Morris <rgm@gnu.org>
11803
11804 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
11805 Explicit error if no grammar.
11806 (smie-config-save): Doc fix. Fix quote typo.
11807
11808 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
11809
11810 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
11811 electric-indent-mode-hook if we obey electric-indent-mode.
11812 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
11813 decide whether we obey electric-indent-mode.
11814 (c-change-set-fl-decl-start, c-extend-after-change-region):
11815 Silence warnings.
11816 (c-electric-indent-mode-hook): Assume we do want to obey
11817 electric-indent-mode.
11818
11819 * electric.el (electric-indent-mode-has-been-called): Remove.
11820 (electric-indent-mode): Fix accordingly.
11821
11822 * files.el (hack-local-variables): Mention file name in warning.
11823
11824 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
11825
11826 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
11827
11828 * bindings.el: Add comment describing why C-d binds to `delete-char'.
11829 * simple.el (delete-forward-char): Mark as interactive-only.
11830
11831 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * icomplete.el (icomplete-completions):
11834 Follow-up to 2014-03-01 change.
11835
11836 * icomplete.el: Miscellaneous doc fixes.
11837 Use Icomplete everywhere instead of icomplete for consistency.
11838 (icomplete-max-delay-chars): Fix typo.
11839 (icomplete-mode): Use \[].
11840 (icomplete-tidy, icomplete-exhibit): Reflow.
11841 (icomplete-minibuffer-setup-hook, icomplete-completions):
11842 Remove superfluous backlashes.
11843
11844 * ido.el: Miscellaneous doc fixes.
11845 Use Ido everywhere instead of ido or `ido' for consistency.
11846 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
11847 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
11848 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
11849 (ido-separator): Extract obsolescence info from docstring and declare
11850 with make-obsolete-variable.
11851 (ido-minibuffer-setup-hook): Simplify example.
11852 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
11853 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
11854 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
11855 (ido-everywhere): Reflow docstring.
11856 (ido-toggle-vc): Doc fix.
11857 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
11858 of long list of keybindings.
11859
11860 2014-03-03 Glenn Morris <rgm@gnu.org>
11861
11862 * frame.el (display-pixel-height, display-pixel-width)
11863 (display-mm-dimensions-alist, display-mm-height)
11864 (display-mm-width): Doc tweaks.
11865
11866 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
11867
11868 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
11869 case of undo in region.
11870
11871 2014-03-02 Martin Rudalics <rudalics@gmx.at>
11872
11873 * window.el (fit-window-to-buffer): Fix argument in window-size
11874 call when window is horizontally combined.
11875
11876 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
11877
11878 * icomplete.el (icomplete-completions): Use string-width.
11879 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11880
11881 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
11882
11883 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11884 Highlight regexp options. (Bug#16914)
11885
11886 2014-03-01 Martin Rudalics <rudalics@gmx.at>
11887
11888 * window.el (window--max-delta-1): Round down when calculating
11889 how many lines/columns we can get from a window.
11890
11891 2014-03-01 Glenn Morris <rgm@gnu.org>
11892
11893 * isearch.el (search-invisible): Doc fix.
11894
11895 * minibuffer.el (completion-hilit-commonality):
11896 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
11897 * comint.el (comint-dynamic-list-completions): Doc fix.
11898 * comint.el (comint-dynamic-list-completions):
11899 * filecache.el (file-cache-minibuffer-complete):
11900 * tempo.el (tempo-display-completions):
11901 * eshell/em-hist.el (eshell-list-history):
11902 Replace use of obsolete argument of display-completion-list.
11903
11904 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
11905
11906 * icomplete.el (icomplete-completions):
11907 Revert back to using "..." when ?… cannot be displayed.
11908
11909 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11910
11911 * finder.el (finder-unload-function): New function.
11912
11913 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11914
11915 * dframe.el (dframe-detach):
11916 * find-dired.el (find-dired, find-name-dired):
11917 * finder.el (finder-mode-map, finder-mode-syntax-table)
11918 (finder-headmark, finder-select, finder-mouse-select):
11919 Fix docstring typos.
11920
11921 2014-02-28 Martin Rudalics <rudalics@gmx.at>
11922
11923 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
11924 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
11925 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11926 Fix doc-string based on a suggestion by Nicolas Richard
11927 <theonewiththeevillook@yahoo.fr>.
11928 * help.el (with-help-window): Fix doc-string.
11929
11930 2014-02-28 Ivan Kanis <ivan@kanis.fr>
11931
11932 * net/shr.el (shr-image-animate): New option.
11933 (shr-put-image): Respect shr-image-animate.
11934
11935 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
11936
11937 * net/tramp-adb.el (tramp-adb-parse-device-names):
11938 Use `accept-process-output'.
11939 (tramp-adb-handle-file-truename): Cache the localname only.
11940 (tramp-adb-handle-make-directory)
11941 (tramp-adb-handle-delete-directory): Flush file properties correctly.
11942 (tramp-adb-handle-set-file-modes): Do not raise an error when file
11943 modes cannot be changed.
11944
11945 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
11946 file properties of symlinks.
11947
11948 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
11949
11950 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
11951 required/optional fields to match development biblatex. (Bug#16781)
11952
11953 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
11954
11955 * saveplace.el (toggle-save-place):
11956 Fix argument handling. (Bug#16673)
11957
11958 2014-02-28 Glenn Morris <rgm@gnu.org>
11959
11960 * minibuffer.el (completions-first-difference)
11961 (completions-common-part, completion-hilit-commonality): Doc fixes.
11962
11963 2014-02-28 Karl Berry <karl@gnu.org>
11964
11965 * info.el (Info-mode-map): Add H for describe-mode,
11966 to synchronize with standalone Info.
11967
11968 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
11969
11970 * progmodes/sql.el (sql-interactive-mode):
11971 Avoid setting global comint-input-ring-separator. (Bug#16814)
11972
11973 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11974
11975 * net/dbus.el (dbus--init-bus): Declare function.
11976 (dbus-path-local, dbus-interface-local): New defconst.
11977 (dbus-init-bus): Use them.
11978 (dbus-return-values-table): Extend doc.
11979 (dbus-handle-bus-disconnect): Extend error message.
11980
11981 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
11982
11983 * subr.el (y-or-n-p): Fix double space issue in message.
11984
11985 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11986
11987 * net/tramp.el (tramp-call-process): Improve trace message.
11988 (tramp-handle-insert-file-contents): Trace error case.
11989
11990 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11991 <insert-directory>: Use `tramp-handle-insert-directory'.
11992 (tramp-adb-handle-insert-directory): Remove function.
11993 (tramp-adb-send-command-and-check): New defun, replacing
11994 `tramp-adb-command-exit-status'. Change all callees.
11995 (tramp-adb-handle-file-attributes)
11996 (tramp-adb-handle-directory-files-and-attributes): Use it.
11997 (tramp-adb-ls-output-name-less-p):
11998 Use `directory-listing-before-filename-regexp'.
11999 (tramp-adb-handle-delete-directory): Flush also file properties of
12000 the truename of directory.
12001 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12002 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12003 (tramp-adb-handle-write-region): Implement APPEND.
12004 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12005 properties correctly.
12006 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12007 variables. Check for connected devices only when needed.
12008
12009 2014-02-27 Glenn Morris <rgm@gnu.org>
12010
12011 * minibuffer.el (completion-table-dynamic)
12012 (completion-table-with-cache): Doc fixes.
12013
12014 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12015 (completing-read-multiple): Doc fixes.
12016
12017 2014-02-27 Daniel Colascione <dancol@dancol.org>
12018
12019 * minibuffer.el (completion--nth-completion): Fix indentation.
12020
12021 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12022 explicit tramp path is empty.
12023
12024 2014-02-27 Glenn Morris <rgm@gnu.org>
12025
12026 * emacs-lisp/crm.el (completing-read-multiple):
12027 Empower help-enable-auto-load.
12028
12029 2014-02-26 Glenn Morris <rgm@gnu.org>
12030
12031 * startup.el (command-line): Don't init the tty in daemon mode.
12032
12033 Avoid calling tty-setup-hook twice, eg if a term file
12034 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12035 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12036 (tty-create-frame-with-faces): Use it.
12037 * startup.el (command-line): Pass run-hook argument
12038 to tty-run-terminal-initialization.
12039
12040 * dired.el (dired-restore-desktop-buffer): Demote errors;
12041 eg in case a glob match fails. (Bug#16884)
12042
12043 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12044
12045 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12046 error from `read-from-string'. (Bug#16850)
12047
12048 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12049 result of `completing-read' in the interactive form. (Bug#16854)
12050
12051 2014-02-25 Glenn Morris <rgm@gnu.org>
12052
12053 * image.el (image-animate, image-animate-timeout):
12054 Stop animating images in dead buffers. (Bug#16878)
12055
12056 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12057
12058 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12059 Doc fixes.
12060 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12061 * term/sun.el (sun-raw-prefix-hooks):
12062 Use tty-setup-hook instead of term-setup-hook.
12063 (terminal-init-sun): Construct message from bytecomp plist.
12064 * term/wyse50.el (enable-arrow-keys): Doc fix.
12065
12066 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12067
12068 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12069 Fix docstring typos.
12070
12071 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12072
12073 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12074
12075 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12076
12077 * minibuffer.el (completion--try-word-completion):
12078 Fix error when completing M-x commands (bug#16808).
12079
12080 2014-02-24 Leo Liu <sdl.web@gmail.com>
12081
12082 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12083
12084 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12085
12086 * apropos.el (apropos-print): Avoid formatting error when
12087 apropos-do-all and apropos-compact-layout are both t.
12088
12089 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12090
12091 * apropos.el (apropos-property, apropos-all-words-regexp)
12092 (apropos-true-hit, apropos-variable, apropos-print):
12093 Fix docstring typos, and remove obsolete comment.
12094
12095 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12096
12097 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12098 Preserve trailing "/". (Bug#16851)
12099
12100 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12101
12102 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12103 after `=>' (bug#16811).
12104 (ruby-smie-rules): Handle the inconsistent second element of the
12105 list returned by `smie-indent--parent'.
12106 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12107 method call.
12108
12109 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12110
12111 * elec-pair.el (electric-pair-text-syntax-table)
12112 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12113 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12114 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12115 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12116
12117 2014-02-22 Glenn Morris <rgm@gnu.org>
12118
12119 * imenu.el (imenu--generic-function): Doc fix.
12120
12121 * register.el (frame-configuration-to-register): Make obsolete.
12122
12123 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12124
12125 * desktop.el (desktop-save-buffer-p): Do not fail when
12126 desktop-files-not-to-save is nil. Return t for true result
12127 as the doc says.
12128
12129 2014-02-22 Daniel Colascione <dancol@dancol.org>
12130
12131 * net/secrets.el (secrets-create-item, secrets-search-items):
12132 Check that attribute values are strings, avoiding the construction
12133 of invalid dbus messages.
12134
12135 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12136
12137 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12138 defun-declarations-alist.
12139
12140 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12141
12142 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12143 (bug#16829).
12144
12145 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12146
12147 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12148 (whitespace-newline, whitespace-trailing, whitespace-line)
12149 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12150 (whitespace-space-after-tab): Fix typo in docstrings.
12151
12152 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12153
12154 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12155
12156 * electric.el (electric-indent-functions-without-reindent):
12157 Add `yaml-indent-line'.
12158
12159 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12160
12161 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12162 It has done nothing for years; should be removed after the release.
12163
12164 * simple.el (choose-completion): Fix docstring typo.
12165 (read-quoted-char-radix): Remove unneeded * in docstring.
12166 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12167 Don't escape parentheses unnecessarily in docstrings.
12168
12169 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12170
12171 Fix handling of window-min-height/-width (Bug#16738).
12172 * window.el (window--dump-window, window--dump-frame):
12173 New functions.
12174 (window--min-size-1): Account for window dividers.
12175 When window-resize-pixelwise is nil, delay rounding till after the
12176 sum of the window components has been calculated.
12177 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12178 nil make sure at least one text line and two text columns remain
12179 fully visible.
12180 (window-resize): Signal an error when window-resize-apply fails.
12181 (window--resize-child-windows): Fix calculation of by how many
12182 pixels a window can still be shrunk via window-new-normal.
12183 (adjust-window-trailing-edge): Call window--resizable with
12184 correct TRAIL argument.
12185
12186 (with-temp-buffer-window): Don't evaluate BODY within
12187 with-current-buffer (Bug#16816).
12188
12189 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12190
12191 * net/tramp.el (tramp-check-cached-permissions):
12192 Call `file-attributes' with `suffix' being a symbol but a string.
12193
12194 2014-02-21 Daniel Colascione <dancol@dancol.org>
12195
12196 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12197 (dbus-init-bus): New function: call into dbus-init-bus-1
12198 and installs a handler for the disconnect signal.
12199 (dbus-call-method): Rewrite to look for result in cons.
12200 (dbus-call-method-handler): Store result in cons.
12201 (dbus-check-event): Recognize events with nil sender as valid.
12202 (dbus-handle-bus-disconnect): New function. React to bus
12203 disconnection signal by synthesizing dbus error for each
12204 pending synchronous or asynchronous call.
12205 (dbus-notice-synchronous-call-errors): New function.
12206 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12207 is true, not all the time.
12208
12209 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12210
12211 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12212 Remove obsolescence declarations, these variables do not exist anymore.
12213
12214 * savehist.el (savehist-save-minibuffer-history)
12215 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12216 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12217 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12218 mostly, refer to "Savehist mode" when talking about the mode,
12219 and not the function.
12220
12221 * saveplace.el (save-place): Remove redundant info in docstring.
12222 (save-place-forget-unreadable-files, toggle-save-place)
12223 (save-place-forget-unreadable-files, save-place-dired-hook):
12224 Fix typos and remove unneeded backslashes.
12225
12226 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12227
12228 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12229 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12230
12231 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12232 <insert-directory>: Use `tramp-handle-insert-directory'.
12233 (tramp-gvfs-handle-insert-directory): Remove function.
12234
12235 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12236 Call `tramp-handle-insert-directory'.
12237
12238 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12239
12240 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12241 before the start of buffer/region (bug#16799).
12242
12243 2014-02-20 Glenn Morris <rgm@gnu.org>
12244
12245 * isearch.el (search-invisible): Doc fix.
12246
12247 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12248
12249 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12250 (bug#16657).
12251
12252 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12253
12254 * frameset.el (frameset-restore): Delay removing an old frame's
12255 duplicate id until the new frame has been correctly created.
12256
12257 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12258
12259 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12260 (tramp-check-cached-permissions): Call `file-attributes' if the
12261 cache is empty.
12262
12263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12264 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12265
12266 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12267 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12268 (tramp-gvfs-maybe-open-connection): Set always connection
12269 properties, even if target is mounted already.
12270
12271 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12272 Set tramp-autoload cookie.
12273 (tramp-get-remote-touch): New defun.
12274 (tramp-sh-handle-set-file-times): Use it.
12275 (tramp-sh-handle-directory-files-and-attributes):
12276 Use `tramp-handle-directory-files-and-attributes' if neither stat
12277 nor perl are available on the remote host.
12278
12279 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12280 "/". Write long listing only when "l" belongs to the switches.
12281
12282 * net/trampver.el: Update release number.
12283
12284 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12285
12286 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12287
12288 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12289
12290 * window.el (window-state-put): Allow WINDOW to refer to an
12291 internal window (Bug#16793).
12292
12293 2014-02-19 Glenn Morris <rgm@gnu.org>
12294
12295 * textmodes/remember.el: Move provide statement to end.
12296 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12297 (remember-notes): Doc fixes.
12298
12299 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * delsel.el (delete-char): Restore incorrectly erased property
12302 (bug#16795).
12303
12304 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12305
12306 * frameset.el (frameset--restore-frame): When a frame is being reused
12307 and its root window is not alive, delete all the frame's windows before
12308 restoring the window state. This works around the issue in bug#16793.
12309
12310 2014-02-18 Glenn Morris <rgm@gnu.org>
12311
12312 * textmodes/remember.el (remember-data-directory)
12313 (remember-directory-file-name-format, remember-store-in-files)
12314 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12315 (remember-notes-save-and-bury-buffer)
12316 (remember-notes--kill-buffer-query): Doc fixes.
12317
12318 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12319
12320 2014-02-17 Alan Mackenzie <acm@muc.de>
12321
12322 Connect electric-indent-mode up with CC Mode. Bug #15478.
12323 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12324 to electric-indent-{,local-}-mode.
12325 (c-basic-common-init): Set electric-indent-inhibit.
12326 Initialize c-electric-flag from electric-indent-mode.
12327 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12328 New hook functions which propagate electric-indent-mode to CC mode.
12329
12330 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12331 hit, toggle electric-indent-local-mode.
12332
12333 * electric.el (electric-indent-mode-has-been-called):
12334 New variable.
12335
12336 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12337
12338 * frameset.el (frameset-cfg-id): New function.
12339 (frameset--reuse-frame, frameset-restore): Use it.
12340 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12341
12342 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12343
12344 * ido.el (ido-file-internal): Remove unused var `d'.
12345 Use \` for to match BoS. Fit within 80n columns.
12346
12347 2014-02-17 Daniel Colascione <dancol@dancol.org>
12348
12349 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12350 dbus-call-method check for completion using a busy-wait loop with
12351 gradual backoff.
12352
12353 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12354
12355 Sync with Tramp 2.2.9.
12356
12357 * net/trampver.el: Update release number.
12358
12359 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12360
12361 * ido.el (ido-file-internal): Don't add the name of an existing
12362 directory twice. (Bug#16747)
12363
12364 2014-02-16 Glenn Morris <rgm@gnu.org>
12365
12366 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12367 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12368
12369 2014-02-15 Michael R. Mauger <michael@mauger.com>
12370
12371 * progmodes/sql.el: Version 3.4
12372 (sql-oracle-options): New default value ("-L").
12373 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12374 (sql-placeholders-filter): Correct placeholder pattern.
12375 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12376 (sql-login-delay): New variable.
12377 (sql-product-interactive): Use it.
12378
12379 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12380
12381 * frameset.el (frameset--jump-to-register): Check that buffer is live
12382 (bug#16749).
12383
12384 2014-02-15 Glenn Morris <rgm@gnu.org>
12385
12386 * info.el (info-initialize): Revert 2014-01-10 change.
12387
12388 2014-02-14 Glenn Morris <rgm@gnu.org>
12389
12390 * replace.el (map-query-replace-regexp)
12391 (read-regexp-defaults-function, read-regexp): Doc fixes.
12392
12393 * dired.el (dired-read-regexp):
12394 * faces.el (list-faces-display):
12395 * misearch.el (multi-isearch-read-matching-buffers)
12396 (multi-isearch-read-matching-files):
12397 * play/cookie1.el (cookie-apropos):
12398 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12399
12400 * textmodes/remember.el (remember): Use frameset-to-register
12401 rather than frame-configuration-to-register.
12402
12403 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12404
12405 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12406 incorrect keybinding.
12407
12408 2014-02-13 Daniel Colascione <dancol@dancol.org>
12409
12410 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12411 when adding overlays so that line numbers from compiler match line
12412 numbers we use.
12413
12414 2014-02-13 Glenn Morris <rgm@gnu.org>
12415
12416 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12417
12418 * jit-lock.el (jit-lock-mode): Doc fix.
12419
12420 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12421
12422 * apropos.el (apropos-read-pattern): When the user passes an empty
12423 string, give a more helpful error message than "Wrong type
12424 argument: stringp, nil".
12425
12426 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12427
12428 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12429
12430 2014-02-13 Glenn Morris <rgm@gnu.org>
12431
12432 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12433
12434 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12435
12436 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12437 shift-select commands.
12438
12439 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12440
12441 * progmodes/js.el (js-indent-line): Don't widen.
12442 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12443
12444 2014-02-12 Glenn Morris <rgm@gnu.org>
12445
12446 * icomplete.el (icomplete): Add info-link to defgroup.
12447 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12448 (icomplete-minibuffer-map, icomplete-mode)
12449 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12450
12451 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12452 (package-menu-filter): Rename from package-menu-filter-interactive.
12453 Doc fix.
12454
12455 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12456
12457 * frameset.el (frameset--jump-to-register): Select the required
12458 window and buffer before restoring position (bug#16696).
12459
12460 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12461
12462 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12463
12464 2014-02-10 Glenn Morris <rgm@gnu.org>
12465
12466 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12467
12468 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12469
12470 * w32-common-fns.el (x-get-selection): Doc fix.
12471 * select.el (x-get-selection): Doc fix. (Bug#15109)
12472
12473 * face-remap.el (face-remap-add-relative)
12474 (face-remap-remove-relative, face-remap-reset-base)
12475 (face-remap-set-base): Call force-mode-line-update to redisplay
12476 the current buffer due to potential change in faces. (Bug#16709)
12477
12478 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12479
12480 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12481 script more robustly.
12482
12483 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12484
12485 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12486
12487 * simple.el (choose-completion): Doc fix (bug#14160).
12488
12489 * subr.el (event-start): Say what a nil EVENT value means.
12490
12491 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12492 (bug#14197).
12493
12494 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12495
12496 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12497
12498 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12499
12500 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12501 predicate function (bug#15455).
12502
12503 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12504
12505 * ielm.el (inferior-emacs-lisp-mode): Instead of
12506 `comment-use-global-state', set `comment-use-syntax'.
12507
12508 2014-02-10 Glenn Morris <rgm@gnu.org>
12509
12510 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12511
12512 2014-02-09 Alan Mackenzie <acm@muc.de>
12513
12514 Fix c-invalidate-state-cache on narrowed buffers.
12515 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12516 Widen when setting and clearing the CPP delimiter properties.
12517
12518 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12519
12520 * help.el (describe-bindings): Doc fix (bug#9888).
12521
12522 * files.el (save-buffer): Use ARG as the parameter name for
12523 consistency (bug#10346).
12524 (save-buffer): Clarify the 0 argument (bug#10346).
12525
12526 * cus-edit.el (customize-apropos): Fix error string.
12527 (custom-buffer-create): Doc fix (bug#11122).
12528 (custom-sort-items): Doc fix (bug#11121).
12529
12530 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12531
12532 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12533 (icomplete-simple-completing-p): Mention the previous variable.
12534
12535 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12536 meaning of the parameter (bug#12282).
12537
12538 * files.el (find-file-noselect): Clarify prompt when changing
12539 readedness (bug#13261).
12540 (locate-file): Suffixes aren't returned, so don't say that they
12541 are (bug#12674).
12542 (backup-inhibited): Doc clarification (bug#12525).
12543
12544 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12545 before we actually start to delete things (bug#16331).
12546
12547 * subr.el (event-start): Doc fix (bug#14228).
12548 (event-end): Ditto.
12549
12550 2014-02-09 Glenn Morris <rgm@gnu.org>
12551
12552 * emacs-lisp/warnings.el (lwarn):
12553 Empower help-enable-auto-load. (Bug#15940)
12554
12555 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12556
12557 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12558 (Bug#16690)
12559
12560 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12561
12562 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12563 Insert output at end of buffer. (Bug#16120)
12564
12565 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12566
12567 * simple.el (choose-completion-string-functions): Document new
12568 calling convention (bug#14153).
12569 (execute-extended-command): Clarify doc string (bug#13373).
12570
12571 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12572
12573 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12574 (find-grep-dired): Doc fix (bug#14288).
12575
12576 2014-02-08 Juri Linkov <juri@jurta.org>
12577
12578 * isearch.el (isearch-quote-char): Check character validity
12579 like in `quoted-insert' (bug#16677).
12580
12581 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12582
12583 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12584
12585 * isearch.el (isearch-hide-immediately): Doc clarification
12586 (bug#14723).
12587
12588 * simple.el (line-move): Document utility function used many
12589 places in the Emacs sources (bug#14843).
12590
12591 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12592 (dired-prev-marked-file): Doc fix (bug#14855).
12593 (dired-up-directory): Doc fix (bug#14848).
12594
12595 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12596
12597 * files.el (file-relative-name): Doc fix (bug#15159).
12598
12599 * fringe.el (fringe-styles): Doc fix (bug#15239).
12600
12601 * isearch.el (isearch-filter-predicate): Documentation typo fix
12602 (bug#15474).
12603
12604 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12605
12606 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12607
12608 * replace.el (replace-match-maybe-edit): Doc clarification
12609 (bug#15632).
12610
12611 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12612
12613 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12614
12615 2014-02-08 Glenn Morris <rgm@gnu.org>
12616
12617 * help-fns.el (describe-variable):
12618 Check {file,dir}-local-variables-alist, and buffer-file-name,
12619 in the correct buffer.
12620
12621 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12622
12623 * help-fns.el (describe-variable): Fix the case where
12624 a value is directory-local with no dir-locals file. (Bug#16635)
12625
12626 2014-02-08 Glenn Morris <rgm@gnu.org>
12627
12628 * abbrev.el (edit-abbrevs-mode):
12629 Derive from fundamental-mode. (Bug#16682)
12630
12631 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12632
12633 * simple.el (quoted-insert): Check character validity (bug#16677).
12634
12635 2014-02-07 Juri Linkov <juri@jurta.org>
12636
12637 * desktop.el (desktop-read): Claim the lock when the owner is not
12638 the current process. (Bug#16157)
12639
12640 2014-02-07 Juri Linkov <juri@jurta.org>
12641
12642 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12643 to "\\` ". (Bug#16651)
12644
12645 2014-02-07 Juri Linkov <juri@jurta.org>
12646
12647 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12648 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12649 (desktop-auto-save-cancel-timer): New function with some code from
12650 `desktop-auto-save-set-timer'.
12651 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12652 Instead of setting `desktop-save-mode' to nil, call
12653 `desktop-save-mode' with arg 0. (Bug#16630)
12654
12655 2014-02-07 Glenn Morris <rgm@gnu.org>
12656
12657 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12658 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12659 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12660
12661 * obsolete/iswitchb.el: Move to obsolete/.
12662 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12663 since obsolete/ is not scanned for autoloads.
12664 * emacs-lisp/authors.el (authors-valid-file-names):
12665 Add iswitchb.el.
12666
12667 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12668 Disable now non-functional find-file-hook.
12669
12670 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12671
12672 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12673 instead of ";" in order to avoid additional prompts. Let heredoc
12674 scripts read from tty. (Bug#16582)
12675 (tramp-send-command): No special handling of heredocs, it isn't
12676 necessary anymore.
12677
12678 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12679
12680 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12681 with a space (bug#16664). Limit the symbols considered to the ones
12682 that are bound or fbound (bug#16646).
12683
12684 2014-02-06 Glenn Morris <rgm@gnu.org>
12685
12686 * epa.el (epa-mail-aliases): Doc fix.
12687
12688 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12689
12690 * emacs-lisp/lisp.el (lisp-completion-at-point):
12691 Use `completion-table-merge' instead of `completion-table-in-turn'
12692 (bug#16604).
12693
12694 * minibuffer.el (completion-table-merge): New function.
12695
12696 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
12697
12698 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12699 (tramp-sh-handle-set-file-acl)
12700 (tramp-sh-handle-start-file-process)
12701 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12702 (tramp-find-executable, tramp-send-command): Use it.
12703
12704 2014-02-05 Glenn Morris <rgm@gnu.org>
12705
12706 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
12707
12708 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
12709
12710 * progmodes/python.el (python-shell-send-string)
12711 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
12712
12713 2014-02-04 Anders Lindgren <andlind@gmail.com>
12714
12715 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
12716 the names (bug#16620).
12717
12718 2014-02-03 Martin Rudalics <rudalics@gmx.at>
12719
12720 * faces.el (window-divider): New default value. Rewrite doc-string.
12721 (window-divider-first-pixel, window-divider-last-pixel): New faces.
12722
12723 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
12724
12725 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
12726 `protected' and `public' can also be called without arguments.
12727
12728 2014-02-03 Glenn Morris <rgm@gnu.org>
12729
12730 * register.el (window-configuration-to-register)
12731 (frame-configuration-to-register): Unadvertise unused argument.
12732 * frameset.el (frameset-to-register): Remove unused argument.
12733
12734 * frameset.el (frameset-to-register):
12735 * kmacro.el (kmacro-to-register):
12736 * register.el (increment-register):
12737 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
12738 (calc-append-to-register, calc-prepend-to-register):
12739 * play/gametree.el (gametree-layout-to-register)
12740 (gametree-apply-register-layout):
12741 * textmodes/picture.el (picture-clear-rectangle-to-register)
12742 (picture-yank-rectangle-from-register):
12743 * vc/emerge.el (emerge-combine-versions-register):
12744 Use register-read-with-preview to read registers.
12745
12746 2014-02-03 João Távora <joaotavora@gmail.com>
12747
12748 * elec-pair.el (electric-pair-backward-delete-char): Don't error
12749 when at beginning of (possibly narrowed) buffer.
12750
12751 2014-02-02 Daniel Colascione <dancol@dancol.org>
12752
12753 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
12754 Also try to display local help from just before point.
12755
12756 2014-02-02 Alan Mackenzie <acm@muc.de>
12757
12758 c-parse-state. Don't "append-lower-brace-pair" in certain
12759 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
12760 recognised as a comment.
12761
12762 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
12763 as well as normal comment starter.
12764 (c-parse-state-get-strategy): Extra return possibility
12765 'back-and-forward.
12766 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
12767 return value list to indicate replacement of a brace-pair cons
12768 with its car.
12769 (c-parse-state-1): With 'back-and-forward, only call
12770 c-append-lower-brace-pair-to state-cache when cons-separated.
12771
12772 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
12773
12774 * term/ns-win.el (ns-suspend-error): New function.
12775 (ns-initialize-window-system): Add ns-suspend-error to
12776 suspend-hook (Bug#16612).
12777
12778 2014-02-02 Daniel Colascione <dancol@dancol.org>
12779
12780 * progmodes/cc-defs.el (c-find-assignment-for-mode):
12781 Make loading cc-mode silent.
12782
12783 2014-02-02 Daniel Colascione <dancol@dancol.org>
12784
12785 * comint.el (comint-prompt-read-only): Change doc to suggest
12786 remap keybinding.
12787
12788 2014-02-02 Glenn Morris <rgm@gnu.org>
12789
12790 * register.el (register-read-with-preview, point-to-register)
12791 (window-configuration-to-register, frame-configuration-to-register)
12792 (jump-to-register, number-to-register, view-register, insert-register)
12793 (copy-to-register, append-to-register, prepend-to-register)
12794 (copy-rectangle-to-register): Doc fixes.
12795
12796 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
12797
12798 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
12799 * emacs-lisp/find-func.el (find-function-C-source): Idem.
12800 * emacs-lisp/nadvice.el (advice--cd*r): New function.
12801 * help-fns.el (describe-function-1): Use it.
12802
12803 2014-02-02 Glenn Morris <rgm@gnu.org>
12804
12805 * register.el (register-preview-default): New function,
12806 split from register-preview.
12807 (register-preview-function): Rename from register-preview-functions,
12808 make it not a hook.
12809 (register-preview): Use register-preview-function.
12810 (register-read-with-preview): Error on non-character event. (Bug#16595)
12811
12812 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
12813
12814 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
12815 `:' before binary operators (bug#16609). Don't check for `:'
12816 before `[' and `(', or their syntax status. A percent literal
12817 can't end with either.
12818 (ruby-font-lock-keywords): For built-ins that require arguments,
12819 check that they're followed by something that looks like argument
12820 (bug#16610).
12821
12822 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
12823
12824 * subr.el (butlast): Document what an omitted N means (bug#13437).
12825 (nbutlast): Ditto.
12826
12827 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
12828
12829 * net/shr.el (shr-generic): Make into a defsubst to make the stack
12830 depth shallower (bug#16587).
12831 (shr-tag-svg): Respect `shr-inhibit-images'.
12832 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
12833
12834 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
12835
12836 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
12837 (ruby-smie-grammar): Make "." right-associative. Make its priority
12838 lower than the ternary and all binary operators.
12839 (ruby-smie-rules): Indent "(" relative to the first non-"."
12840 parent, or the first "." parent at indentation.
12841 Use `ruby-align-chained-calls' for indentation of "." tokens.
12842 (Bug#16593)
12843
12844 2014-01-31 Juri Linkov <juri@jurta.org>
12845
12846 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
12847 from `make-hash-table'.
12848
12849 * textmodes/ispell.el (ispell-init-process): Change message format
12850 to be consistent with other messages.
12851
12852 2014-01-31 Glenn Morris <rgm@gnu.org>
12853
12854 * delsel.el (delete-selection-mode): Doc fix.
12855
12856 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
12857 (trace-function-background): Doc fixes.
12858
12859 * ido.el (ido-use-virtual-buffers): Doc fix.
12860 Reset :version, since the default value has not changed.
12861
12862 * register.el (register-preview-delay, register-read-with-preview):
12863 Doc fixes.
12864
12865 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
12866 do not mess with mail-buffer position (fixes 2009-11-03 change).
12867 * progmodes/cc-mode.el (c-submit-bug-report):
12868 Check auto-fill-mode is bound. (Bug#16592)
12869
12870 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
12871
12872 * startup.el (fancy-splash-image-file): New function,
12873 split from fancy-splash-head.
12874 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
12875 so that we are both using the same image. (Bug#16574)
12876
12877 2014-01-30 Glenn Morris <rgm@gnu.org>
12878
12879 * simple.el (eval-expression): Doc fix.
12880
12881 * hexl.el (hexl-mode-hook):
12882 * ielm.el (ielm-mode-hook):
12883 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
12884 (lisp-interaction-mode-hook):
12885 * progmodes/cfengine.el (cfengine3-documentation-function):
12886 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
12887
12888 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
12889
12890 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
12891 is a symbol (bug#16584).
12892
12893 2014-01-30 Glenn Morris <rgm@gnu.org>
12894
12895 * help.el (help-for-help-internal): Add "P" to text.
12896
12897 2014-01-29 Glenn Morris <rgm@gnu.org>
12898
12899 * simple.el (just-one-space, cycle-spacing): Doc fixes.
12900
12901 2014-01-28 Martin Rudalics <rudalics@gmx.at>
12902
12903 * window.el (fit-frame-to-buffer): Fix calculations for margins and
12904 height constraints.
12905
12906 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
12907
12908 * progmodes/hideif.el: Extend to full CPP expression syntax.
12909 (hif-token-alist): Add missing tokens.
12910 (hif-token-regexp): Add support for float/octal/hex immediates.
12911 (hif-string-literal-regexp): New const.
12912 (hif-tokenize): Recognize strings and float/octal/hex immediates.
12913 (hif-exprlist): New function.
12914 (hif-parse-if-exp): Use it.
12915 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
12916 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
12917 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
12918 (hif-logxor, hif-comma): New functions.
12919
12920 2014-01-28 Glenn Morris <rgm@gnu.org>
12921
12922 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
12923
12924 * indent.el (tab-stop-list): Doc fix. Add :version.
12925
12926 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
12927 (cvs-append-to-ignore): Add compatibility alias.
12928
12929 2014-01-27 Glenn Morris <rgm@gnu.org>
12930
12931 * dired.el (dired-hide-details-mode): Don't autoload it,
12932 since it cannot be used outside Dired buffers anyway.
12933
12934 * emulation/cua-base.el (cua-mode): Doc fix.
12935
12936 * dired.el (dired-hide-details-hide-symlink-targets)
12937 (dired-hide-details-hide-information-lines)
12938 (dired-hide-details-mode): Doc fixes.
12939
12940 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
12941 * strokes.el (strokes-file): Doc fix. Bump :version.
12942 (strokes-help): Doc fix.
12943 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
12944 * emulation/viper.el (viper): Doc fix for custom group.
12945 (top-level): Remove oh-so-no-longer-relevant text about vip.
12946 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
12947
12948 * ido.el (ido-save-directory-list-file):
12949 * saveplace.el (save-place-file):
12950 * calendar/timeclock.el (timeclock-file):
12951 * net/quickurl.el (quickurl-url-file):
12952 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12953 * progmodes/idlwave.el (idlwave-config-directory):
12954 * textmodes/remember.el (remember-data-file):
12955 Bump :version.
12956
12957 2014-01-26 Glenn Morris <rgm@gnu.org>
12958
12959 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
12960 Doc fix. Make obsolete.
12961 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
12962
12963 * sort.el (delete-duplicate-lines): Doc fix.
12964
12965 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12966
12967 * progmodes/ada-mode.el (ada):
12968 * woman.el (woman): Link to info manual and Commentary section.
12969
12970 * progmodes/flymake.el (flymake):
12971 * nxml/nxml-mode.el (nxml):
12972 * net/eww.el (eww):
12973 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
12974 * htmlfontify.el (htmlfontify):
12975 * ses.el (ses):
12976 * epa.el (epa):
12977 * ido.el (ido): Link to info manual.
12978
12979 2014-01-25 Leo Liu <sdl.web@gmail.com>
12980
12981 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
12982
12983 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
12984
12985 * net/shr.el (shr-tag-img): Prefer the title over the alt text
12986 (bug#16537).
12987
12988 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
12989
12990 * net/eww.el (eww-download-callback):
12991 Fix reference to eww-download-directory.
12992
12993 * emacs-lisp/bytecomp.el (byte-compile-file):
12994 Remove unused local variable `file-name'.
12995
12996 2014-01-24 Glenn Morris <rgm@gnu.org>
12997
12998 * woman.el (woman-default-faces, woman-monochrome-faces):
12999 Fix obsolescence specification.
13000
13001 * subr.el (with-demoted-errors): Doc fix.
13002
13003 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13006 (cl--macroexp-fboundp): New function.
13007 (cl--make-type-test): Use it.
13008
13009 2014-01-23 Glenn Morris <rgm@gnu.org>
13010
13011 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13012 * simple.el (eval-expression): Doc fixes.
13013
13014 2014-01-22 Glenn Morris <rgm@gnu.org>
13015
13016 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13017
13018 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13019
13020 * emacs-lisp/package.el: Write files silently.
13021 (package-autoload-ensure-default-file, package--write-file-no-coding)
13022 (package-generate-description-file, package--download-one-archive)
13023 (package-install-from-archive): Tell `write-region' to stay quiet.
13024 (package-menu-mode, package-menu--print-info): Omit the Archive column
13025 if there's only one archive.
13026 (package-all-keywords, package--has-keyword-p): Remove dead code.
13027
13028 2014-01-22 Glenn Morris <rgm@gnu.org>
13029
13030 * version.el (emacs-bzr-version-bzr): Fix typo.
13031
13032 * version.el (emacs-repository-get-version):
13033 Check either .bzr or .git, but not both.
13034 Make the git case actually use the DIR argument, and return nil
13035 rather than the empty string.
13036 Avoid error if .git exists but the git executable is not found.
13037
13038 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13039
13040 Fixes in window size functions around Bug#16430 and Bug#16470.
13041 * window.el (window-total-size, window-size): New argument ROUND.
13042 (window--min-delta-1, window-min-delta, window--max-delta-1):
13043 Be more conservative when calculating the numbers of lines or
13044 columns a window can shrink (Bug#16430).
13045 (fit-window-to-buffer): Simplify code.
13046 * term.el (term-window-width): Call window-body-width again.
13047
13048 2014-01-22 Glenn Morris <rgm@gnu.org>
13049
13050 * image.el (image-format-suffixes): Doc fix.
13051
13052 * international/quail.el (quail-define-package): Doc fix.
13053
13054 * emacs-lisp/authors.el (authors-valid-file-names)
13055 (authors-renamed-files-alist): Additions.
13056
13057 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13058 reverts 2014-01-09 change. (Bug#16422)
13059
13060 * calc/calc-embed.el (thing-at-point-looking-at):
13061 * emacs-lisp/map-ynp.el (x-popup-dialog):
13062 * obsolete/lmenu.el (x-popup-dialog):
13063 * emacs-lisp/package.el (url-recreate-url):
13064 * mail/mailclient.el (clipboard-kill-ring-save):
13065 * subr.el (x-popup-dialog): Update declaration.
13066 * mail/rmail.el (rmail-mime-message-p):
13067 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13068
13069 2014-01-21 Daniel Colascione <dancol@dancol.org>
13070
13071 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13072 Correctly detect when we're inside an arithmetic expansion form
13073 containing nested parenthesis.
13074 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13075 to detect cases where we shouldn't expand "<<" to a heredoc
13076 skeleton.
13077
13078 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13081 (eldoc--message-command-p): New function.
13082 (eldoc-display-message-p): Use it.
13083 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13084 message is not automatically erased for us.
13085 (eldoc-print-current-symbol-info): Erase previous message, if any.
13086
13087 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13088
13089 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13090 specify it's an interactive function.
13091
13092 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13093 Fix regex used for scanning for citation keys which failed for
13094 citations with optional arguments.
13095
13096 2014-01-21 Leo Liu <sdl.web@gmail.com>
13097
13098 * simple.el (read--expression): Don't enable eldoc-mode.
13099
13100 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 * simple.el (move-beginning-of-line): Make sure we don't move forward
13103 (bug#16497).
13104
13105 2014-01-20 Juri Linkov <juri@jurta.org>
13106
13107 * saveplace.el (toggle-save-place, save-place-to-alist)
13108 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13109 'dired-mode) before checking for dired-directory. (Bug#16477)
13110
13111 2014-01-20 Juri Linkov <juri@jurta.org>
13112
13113 * indent.el (indent-line-to): Use backward-to-indentation
13114 instead of back-to-indentation. (Bug#16461)
13115
13116 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13117
13118 Revert some of the CANNOT_DUMP fix (Bug#16494).
13119 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13120 but fixing this can wait until after the next release.
13121 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13122
13123 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13124
13125 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13126 Use `password-word-equivalents'.
13127 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13128 to t. (Bug#5664, Bug#13124)
13129
13130 2014-01-19 Alan Mackenzie <acm@muc.de>
13131
13132 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13133 points.
13134 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13135 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13136 * progmodes/cc-mode.el (c-before-change, c-after-change)
13137 (c-font-lock-fontify-region): Bind it here.
13138
13139 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13140
13141 * term.el (term-window-width): Call window-text-width instead of
13142 window-width (Bug#16470).
13143
13144 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13145
13146 * simple.el (password-word-equivalents): Remove duplicates.
13147 Sort, to make this easier next time.
13148 Downcase. Omit ": " after "jelszó".
13149
13150 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13151
13152 * term/common-win.el (saved-region-selection): Defvar it.
13153 (x-select-text): Set saved-region-selection (Bug#16382).
13154
13155 2014-01-18 Glenn Morris <rgm@gnu.org>
13156
13157 * emacs-lisp/authors.el (authors-aliases)
13158 (authors-renamed-files-alist): Add some entries.
13159
13160 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13161
13162 * net/tramp.el (tramp-password-prompt-regexp):
13163 Use `password-word-equivalents' if available.
13164 (tramp-action-password, tramp-process-one-action)
13165 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13166
13167 2014-01-17 Chong Yidong <cyd@gnu.org>
13168
13169 * simple.el (password-word-equivalents): New defcustom.
13170 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13171 to 24.4.
13172 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13173 to t. (Bug#13124)
13174
13175 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13176
13177 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13178 (ruby-align-to-stmt-keywords): Change the default value.
13179 Use `ruby-alignable-keywords' to generate the possible customization
13180 choices.
13181 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13182 keywords, check against the value of `ruby-alignable-keywords'
13183 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13184
13185 2014-01-17 Glenn Morris <rgm@gnu.org>
13186
13187 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13188
13189 Make M-x authors return zero *Authors Errors* from current logs.
13190 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13191 (authors-ignored-files): Add some entries, remove others.
13192 (authors-ambiguous-files, authors-valid-file-names):
13193 Add some entries.
13194 (authors-renamed-files-alist): Add, remove, and adjust entries.
13195 (authors-renamed-files-regexps): Add some entries.
13196 Remove some very broad ones. Make some entries `lax'.
13197 (authors-lax-changelogs): New constant.
13198 (authors-disambiguate-file-name): Treat top-level specially.
13199 (authors-lax-changelog-p): New function.
13200 (authors-canonical-file-name): Check file as written against
13201 authors-valid-file-names. Do not special-case etc/.
13202 Handle `lax' logs and authors-renamed-files-regexps elements.
13203
13204 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13205
13206 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13207 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13208 callers.
13209
13210 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13213 Assume we're already in the proper buffer.
13214 Inspired by Anders Lindgren <andlind@gmail.com>.
13215 (follow-post-command-hook): Call it from the right buffer.
13216 (follow-comint-scroll-to-bottom): Adjust call.
13217 (follow-all-followers): Use get-buffer-window-list.
13218
13219 2014-01-15 Daniel Colascione <dancol@dancol.org>
13220
13221 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13222 `buffer-file-name' in interactive-form so that we don't leave
13223 pathless file names in `file-name-history'.
13224
13225 2014-01-15 Juri Linkov <juri@jurta.org>
13226
13227 * indent.el (indent-rigidly): Set deactivate-mark to nil
13228 in transient indentation mode. (Bug#16438)
13229
13230 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13231
13232 * emacs-lisp/package.el (package-desc-keywords): New function
13233 (Bug#16222).
13234 (describe-package-1, package-all-keywords)
13235 (package--has-keyword-p): Use it.
13236
13237 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13238
13239 * simple.el (define-alternatives): When creating the
13240 COMMAND-alternatives variable, assign COMMAND as its definition
13241 name so that `describe-variable' can relocate it.
13242
13243 2014-01-14 Matthew Leach <matthew@mattleach.net>
13244
13245 * font-lock.el (font-lock-keywords): Fix typo in docstring
13246 (bug#16307).
13247
13248 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13249
13250 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13251 line instead of wrongly reset `add-coment' (bug#13577).
13252
13253 2014-01-14 Daiki Ueno <ueno@gnu.org>
13254
13255 * epa-file.el (epa-file-write-region): Encode the region according
13256 to `buffer-file-format'. Problem reported at:
13257 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13258
13259 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13262 so it applies in the right buffer (bug#16410).
13263
13264 2014-01-13 Daniel Colascione <dancol@dancol.org>
13265
13266 * textmodes/rst.el (rst-define-key): Provide deprecated
13267 keybindings through named functions instead of anonymous ones so
13268 that "??" doesn't appear in describe-mode output.
13269
13270 2014-01-13 Bastien Guerry <bzg@gnu.org>
13271
13272 * simple.el (define-alternatives): Call the selected command
13273 interactively. When setting `COMMAND--implementation' for the
13274 first time, tell the user how to chose another implementation.
13275 Enhance the docstring.
13276
13277 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13278
13279 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13280 (log-edit--match-first-line): New function.
13281 (log-edit-font-lock-keywords): Use it.
13282 (log-edit-mode): Make jit-lock-defer-multiline work.
13283
13284 2014-01-13 Bastien Guerry <bzg@gnu.org>
13285
13286 * rect.el (rectangle-mark-mode): When the region is not active,
13287 display a message saying that the mark as been set and that
13288 rectangle mode is in use.
13289 (rectangle--highlight-for-redisplay): Only put an overlay with a
13290 visible vertical bar when (display-graphic-p) is non-nil.
13291 This partially fixes Bug#16403.
13292
13293 2014-01-13 Juri Linkov <juri@jurta.org>
13294
13295 * info.el (Info-find-file): Go to DIR before displaying the error
13296 about a nonexistent file if no previous Info file is visited.
13297 Use `user-error' instead of `error' for "Info file %s does not exist".
13298 (Info-find-node-2): In case of a nonexistent node in unwind forms
13299 go to the Top node if there is no previous node to revert to.
13300 (Bug#16405)
13301
13302 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13303
13304 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13305 * window.el (fit-frame-to-buffer): Fix doc-string.
13306 Respect window-min-height/-width. Fit pixelwise when
13307 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13308 when avoiding that frame goes partially off-screen.
13309 (fit-window-to-buffer): Respect window-min-height/-width
13310 (Bug#14096).
13311
13312 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13315 after an empty line.
13316
13317 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13318
13319 * net/shr.el (shr-render-region): Autoload.
13320
13321 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13322
13323 * net/eww.el (eww-download-directory): Rename from
13324 `eww-download-path' (Bug#16419).
13325
13326 2014-01-12 Leo Liu <sdl.web@gmail.com>
13327
13328 * dired-x.el (dired-mode-map): Fix last change.
13329
13330 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13331
13332 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13333
13334 Spelling fixes.
13335 * emacs-lisp/generic.el (generic--normalize-comments):
13336 Rename from generic--normalise-comments. All uses changed.
13337 * play/bubbles.el (bubbles--neighborhood-score)
13338 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13339 (bubbles--neighborhood-available)
13340 (bubbles--update-neighborhood-score):
13341 Rename from names with 'neighbourhood'. All uses changed.
13342
13343 2014-01-12 Leo Liu <sdl.web@gmail.com>
13344
13345 Re-implement the feature of showing eldoc info after editing.
13346 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13347 (eldoc-edit-message-commands): New function.
13348 (eldoc-print-after-edit): New variable.
13349 (eldoc-pre-command-refresh-echo-area): Emit message only by
13350 eldoc-message-commands.
13351 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13352 if eldoc-print-after-edit is set. (Bug#16346)
13353 * simple.el (read--expression): Enable eldoc-mode.
13354 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13355
13356 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13357 Eric S. Raymond <esr@thyrsus.com>
13358
13359 * version.el (emacs-repository-get-version): Enhance so the
13360 function works correctly in either a Bazaar or Git repo.
13361
13362 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13363
13364 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13365 Goes with removal of the joke manpages from /etc.
13366
13367 2014-01-10 Kenichi Handa <handa@gnu.org>
13368
13369 * mail/rmail.el (rmail-get-coding-system):
13370 Check rmail-get-coding-function before "funcall"ing it.
13371
13372 2014-01-10 Glenn Morris <rgm@gnu.org>
13373
13374 * emacs-lisp/authors.el (authors-fixed-entries):
13375 Update for files that no longer exist.
13376
13377 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13378
13379 * version.el (emacs-bzr-get-version): Restore compatibilty with
13380 24.3 (Tested).
13381
13382 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13383
13384 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13385 and Podfile.
13386
13387 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13388
13389 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13390
13391 2014-01-10 Chong Yidong <cyd@gnu.org>
13392
13393 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13394
13395 2014-01-10 Anders Lindgren <andlind@gmail.com>
13396
13397 * follow.el (follow-cache-command-list): Include right-char and
13398 left-char.
13399
13400 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13401
13402 Spelling fixes.
13403 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13404 * woman.el (woman-mark-horizontal-position):
13405 Rename from woman-mark-horizonal-position. Use changed.
13406
13407 2014-01-10 Glenn Morris <rgm@gnu.org>
13408
13409 * info.el (info-initialize): If running uninstalled, ensure our
13410 own info files are always found first, even if INFOPATH is set.
13411
13412 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13413
13414 2014-01-09 David Engster <deng@randomsample.de>
13415
13416 * emacs-lisp/eieio-custom.el:
13417 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13418 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13419 * emacs-lisp/eieio.el: Regenerate autoloads.
13420
13421 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13422
13423 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13424 following renames. (Bug#8756)
13425
13426 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13427
13428 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13429 (bug#16382).
13430 (activate-mark): Add `no-tmm' argument.
13431 (set-mark, push-mark-command): Use it instead of running
13432 activate-mark-hook by hand.
13433
13434 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13435
13436 In preparation for the move to git, sanitize out some
13437 Bazaar-specific names.
13438
13439 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13440
13441 * version.el (emacs-bzr-version): Name changed to
13442 emacs-repository-version. Obsolete-variable alias made.
13443 * loadup.el: Follow through on this name change.
13444 * mail/emacsbug.el (report-emacs-bug): Factor out any
13445 assumption about the version control system in use.
13446
13447 2014-01-08 David Engster <deng@randomsample.de>
13448
13449 * help-fns.el (help-fns-describe-function-functions):
13450 New variable to call functions for augmenting help buffers.
13451 (describe-function-1): Remove explicit calls to
13452 `help-fns--compiler-macro', `help-fns--parent-mode' and
13453 `help-fns--obsolete'. Put them in above new variable instead, and
13454 call them through `run-hook-with-args'.
13455 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13456 `eieio-describe-class'. Not meant for interactive use anymore,
13457 but to augment existing help buffers. Remove optional second
13458 argument. Create proper button for file location.
13459 Rewrite function to use `insert' instead of `princ' and `prin1' where
13460 possible.
13461 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13462 (eieio-method-def, eieio-class-def): Move further up.
13463 (describe-method, describe-generic, eieio-describe-method):
13464 Remove aliases.
13465 (eieio-help-constructor, eieio-help-generic): Rename from
13466 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13467 Rewrite to use `insert' in the current buffer and use proper help
13468 buttons.
13469 (eieio-help-find-method-definition)
13470 (eieio-help-find-class-definition): Also accept symbols as
13471 arguments.
13472 (eieio-help-mode-augmentation-maybee): Remove.
13473 (eieio-describe-class-sb): Use `describe-function'.
13474 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13475 Add `eieio-help-generic' and `eieio-help-constructor'.
13476
13477 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13478
13479 Spelling fixes.
13480 * language/china-util.el (hz-ascii-designation):
13481 Rename from hz-ascii-designnation.
13482 (hz-ascii-designation): Rename from hz-ascii-designnation.
13483 All uses changed.
13484
13485 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13486
13487 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13488 package-alist.
13489
13490 2014-01-08 Bastien Guerry <bzg@gnu.org>
13491
13492 * emacs-lisp/package.el (package-delete):
13493 Correctly delete the package from package-alist.
13494
13495 2014-01-08 Daiki Ueno <ueno@gnu.org>
13496
13497 * emacs-lisp/package.el (url-recreate-url): Declare.
13498 (url-http-target-url): Declare.
13499 (package-handle-response): Include requested URL in the error message.
13500 (package--check-signature): Don't re-signal errors from
13501 package--with-work-buffer. Suggested by Stefan Monnier.
13502
13503 2014-01-07 Bastien Guerry <bzg@gnu.org>
13504
13505 * minibuffer.el (completion--try-word-completion): When both a
13506 hyphen and a space are possible candidates for the character
13507 following a word, display both candidates. (Bug#15980)
13508
13509 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13510
13511 * window.el (balance-windows-2): While rounding don't give a
13512 window more than the remainder. Bug#16351, bug#16383.
13513
13514 2014-01-07 Glenn Morris <rgm@gnu.org>
13515
13516 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13517 (menu-bar-help-menu): Use view-external-packages instead.
13518
13519 2014-01-07 Bastien Guerry <bzg@gnu.org>
13520
13521 * emacs-lisp/package.el (package-delete): Also delete the package
13522 name from `package-alist', not its description only.
13523
13524 2014-01-07 Glenn Morris <rgm@gnu.org>
13525
13526 * help.el (view-external-packages):
13527 * menu-bar.el (menu-bar-help-extra-packages):
13528 Visit efaq.info rather than etc/MORE.STUFF.
13529
13530 2014-01-07 Juri Linkov <juri@jurta.org>
13531
13532 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13533 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13534
13535 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13536 that shadows RET. (Bug#16342)
13537
13538 2014-01-07 Chong Yidong <cyd@gnu.org>
13539
13540 * isearch.el (isearch-yank-char, isearch-yank-word)
13541 (isearch-yank-line): Doc fix.
13542
13543 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13544
13545 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13546 * emacs-lisp/elint.el (elint-find-builtins):
13547 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13548 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13549 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13550 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13551 * apropos.el (apropos-safe-documentation):
13552 * subr.el (symbol-file): Remove redundant fboundp.
13553 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13554
13555 2014-01-06 Bastien Guerry <bzg@gnu.org>
13556
13557 * hl-line.el (global-hl-line-overlay): Make a local variable.
13558 (global-hl-line-overlays): New variable to store all overlays.
13559 (global-hl-line-mode): Don't delete overlays from the current
13560 buffer when `global-hl-line-sticky-flag' is non-nil.
13561 (global-hl-line-highlight): Add new overlays to
13562 `global-hl-line-overlays'.
13563 (global-hl-line-unhighlight-all): New function to delete all
13564 overlays when turning off `global-hl-line-mode'.
13565 This fixes Bug#16183.
13566
13567 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13568
13569 * subr.el (set-transient-map): Fix nested case and docstring.
13570
13571 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13572
13573 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13574 `Texinfo' entry.
13575
13576 2014-01-06 Daniel Colascione <dancol@dancol.org>
13577
13578 Fix defun navigation in vc log view.
13579
13580 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13581 like `beginning-of-defun'.
13582 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13583 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13584 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13585 (log-view-extract-comment): Call `log-view-current-entry' directly
13586 instead of relying on broken `log-view-beginning-of-defun' behavior.
13587
13588 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13589
13590 Spelling fixes.
13591 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13592 * emacs-lisp/debug.el (cancel-debug-on-entry):
13593 * epg.el (epg-error-to-string):
13594 * files.el (recover-file):
13595 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13596 * mail/emacsbug.el (report-emacs-bug-hook):
13597 * mail/sendmail.el (mail-recover):
13598 * ses.el (ses-yank-resize):
13599 * term/ns-win.el (ns-print-buffer):
13600 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13601 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13602 All uses changed.
13603 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13604
13605 2014-01-06 Leo Liu <sdl.web@gmail.com>
13606
13607 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13608 to avoid shadowing global key. (Bug#16354)
13609
13610 2014-01-06 Daniel Colascione <dancol@dancol.org>
13611
13612 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13613 rst-mode.
13614
13615 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13616
13617 * window.el (balance-windows): Add mising t to fix Bug#16351.
13618
13619 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13620
13621 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13622 (bug#16285).
13623 (shr-insert): If we have a word that's longer than `shr-width',
13624 break after it anyway. Otherwise we'll do no breaking once we get
13625 such a long word.
13626
13627 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13628
13629 * net/eww.el (eww): Support single/double quote for search.
13630 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13631 (eww-history-quit): Delete and use quit-window.
13632 (eww-history-kill): Delete, because it doesn't work well and
13633 not necessary.
13634 (eww-history-mode-map): Delete some keys and add easy-menu.
13635
13636 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13637
13638 Fix misspelling of 'chinese' in rx (Bug#16237).
13639 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13640 chinese-two-byte.
13641
13642 Change subword regexps back to vars (Bug#16296).
13643 * progmodes/subword.el (subword-forward-regexp)
13644 (subword-backward-regexp): Change these back to variables.
13645
13646 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13647
13648 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13649 syntax-begin-function (bug#16247).
13650
13651 2014-01-03 Chong Yidong <cyd@gnu.org>
13652
13653 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13654 (advice--docstring): Delete variable.
13655 (advice--make-1): Leave the docstring empty.
13656 (advice-add): Use function-documentation for advised docstring.
13657
13658 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13659 Ignore function-documentation property when getting documentation.
13660 (ad-activate-advised-definition): Use function-documentation
13661 generate the docstring.
13662 (ad-make-advised-definition): Don't call
13663 ad-make-advised-definition-docstring.
13664 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13665 Delete functions.
13666
13667 * progmodes/sql.el (sql-help): Use function-documentation instead
13668 of dynamic-docstring-function property. No need to autoload now.
13669 (sql--help-docstring): New variable.
13670 (sql--make-help-docstring): Use it.
13671
13672 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13673
13674 * ielm.el (ielm-tab): Retarget.
13675 (ielm-map): Use ielm-tab for tab.
13676 (ielm-complete-filename): Use comint-filename-completion.
13677 (ielm-complete-symbol): Remove.
13678 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13679 remove ielm-tab from completion-at-point-functions (bug#16224).
13680
13681 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13682 Beware signals raised by predicates (bug#16201).
13683
13684 2014-01-02 Richard Stallman <rms@gnu.org>
13685
13686 * dired-aux.el (dired-do-print): Handle printer-name.
13687
13688 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13689 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13690 (rmail-epa-decrypt): Turn off mime processing.
13691
13692 * mail/rmail.el (rmail-make-in-reply-to-field):
13693 Add parens in message-id.
13694
13695 * mail/rmail.el (rmail-get-coding-function): Variable.
13696 (rmail-get-coding-system): Use it.
13697
13698 2013-12-31 Eli Zaretskii <eliz@gnu.org>
13699
13700 * international/mule-conf.el: Unify the charset indian-is13194.
13701 (indian-is13194): Specify unify-map.
13702
13703 2013-12-31 Leo Liu <sdl.web@gmail.com>
13704
13705 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
13706
13707 2013-12-30 Daniel Colascione <dancol@dancol.org>
13708
13709 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13710 of printing a useless when we resume from sleep.
13711
13712 * progmodes/sh-script.el
13713 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
13714 in indentation code. (Bug#16233)
13715
13716 2013-12-28 João Távora <joaotavora@gmail.com>
13717
13718 * elec-pair.el (electric-pair-post-self-insert-function):
13719 Don't open extra newlines at beginning of buffer. (Bug#16272)
13720
13721 2013-12-28 Eli Zaretskii <eliz@gnu.org>
13722
13723 * frame.el (window-system-for-display): Don't allow to create a
13724 GUI frame from a -nw session on MS-Windows. (Bug#14739)
13725
13726 2013-12-28 Glenn Morris <rgm@gnu.org>
13727
13728 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
13729 Update callers.
13730
13731 * apropos.el (apropos-match-face):
13732 * calculator.el (calculator-displayer):
13733 * dabbrev.el (dabbrev-search-these-buffers-only):
13734 * face-remap.el (buffer-face-mode-face):
13735 * simple.el (yank-handled-properties):
13736 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
13737 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
13738 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
13739 (hashcash-double-spend-database):
13740 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
13741 (ruby-deep-indent-paren-style):
13742 * textmodes/flyspell.el (flyspell-auto-correct-binding):
13743 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
13744 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
13745 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
13746 Specify custom types.
13747
13748 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
13749 * bookmark.el (bookmark-bmenu-use-header-line):
13750 * doc-view.el (doc-view-scale-internally):
13751 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
13752 * register.el (register-preview-delay):
13753 * net/shr.el (shr-bullet):
13754 * progmodes/cfengine.el (cfengine-cf-promises)
13755 (cfengine-parameters-indent):
13756 * progmodes/octave.el (inferior-octave-error-regexp-alist):
13757 * textmodes/reftex-vars.el (reftex-label-regexps):
13758 * vc/log-edit.el (log-edit-setup-add-author): Add version.
13759
13760 * net/tls.el (tls-certtool-program): Fix default value.
13761
13762 * desktop.el (desktop-restore-in-current-display):
13763 * newcomment.el (comment-empty-lines):
13764 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
13765 (idlwave-pad-keyword):
13766 * progmodes/tcl.el (tcl-tab-always-indent):
13767 * textmodes/reftex-vars.el (reftex-index-default-tag):
13768 * elec-pair.el (electric-pair-skip-whitespace):
13769 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
13770
13771 * emacs-lisp/authors.el (authors-ignored-files)
13772 (authors-valid-file-names, authors-renamed-files-alist): Additions.
13773
13774 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
13775
13776 * shell.el (shell-dynamic-complete-command): Doc fix.
13777 (shell--command-completion-data): Shell completion now matches
13778 executable filenames from the current buffer's directory, on
13779 systems in which this behavior is the default (windows-nt, ms-dos).
13780
13781 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13782
13783 * net/shr.el (shr-insert): Don't infloop if the width is zero.
13784
13785 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
13786
13787 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
13788 (bug#16251).
13789
13790 * electric.el: Move all electric-pair-* to elec-pair.el.
13791 * elec-pair.el: New file, split from electric.el.
13792
13793 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13794
13795 * net/shr.el (shr-find-fill-point): Don't try to fill if the
13796 indentation level is larger than the width, because that will
13797 infloop.
13798 (shr-insert): Fill repeatedly long texts, so that Japanese is
13799 formatted correctly (bug#16263).
13800 (shr-find-fill-point): Off by one error in comparison with the
13801 indentation.
13802
13803 2013-12-26 João Távora <joaotavora@gmail.com>
13804
13805 * electric.el (electric-pair-mode): More flexible engine for skip-
13806 and inhibit predicates, new options for pairing-related functionality.
13807 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
13808 if that keeps or improves their balance in buffers.
13809 (electric-pair-delete-adjacent-pairs): Delete the pair when
13810 backspacing over adjacent matched delimiters.
13811 (electric-pair-open-extra-newline): Open extra newline when
13812 inserting newlines between adjacent matched delimiters.
13813 (electric--sort-post-self-insertion-hook):
13814 Sort post-self-insert-hook according to priority values when
13815 minor-modes are activated.
13816 * simple.el (newline-and-indent): Call newline with interactive
13817 set to t.
13818 (blink-paren-post-self-insert-function): Set priority to 100.
13819 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13820 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
13821 comments. Locally set electric-pair-skip-whitespace to 'chomp and
13822 electric-pair-open-newline-between-pairs to nil.
13823
13824 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
13825
13826 * progmodes/python.el: Use lexical-binding.
13827 (python-nav-beginning-of-defun): Stop searching ASAP.
13828
13829 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
13830
13831 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
13832 Fix interactive spec. Doc fix. (Bug#15754)
13833
13834 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
13835
13836 * emacs-lisp/byte-run.el (eval-when-compile):
13837 * progmodes/cc-defs.el (cc-eval-when-compile):
13838 Fix edebug spec (bug#16184).
13839
13840 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13841
13842 * net/shr.el (shr-visit-file): Remove debugging function.
13843 (shr-insert): Don't infloop if we can't find a good place to break
13844 the line (bug#16256).
13845
13846 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
13847
13848 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
13849 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
13850 python-nav-lisp-forward-sexp-safe.
13851 (python-nav--forward-sexp): New argument SAFE allows switching
13852 forward sexp movement behavior for parens.
13853 (python-nav-forward-sexp): Throw errors on unterminated parens
13854 (Bug#16191).
13855 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
13856 (python-nav-backward-sexp-safe): New functions.
13857 (python-shell-buffer-substring):
13858 Use `python-nav-forward-sexp-safe'.
13859
13860 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13861
13862 * net/shr.el (shr-find-fill-point): Don't break lines before a
13863 quotation mark.
13864 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
13865 (shr-find-fill-point): Remove the special checks for the quotation
13866 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
13867
13868 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13869
13870 * net/eww.el (eww-form-textarea): Use a different face for
13871 textareas than text input since they have different keymaps
13872 (bug#16142).
13873
13874 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
13875
13876 * progmodes/python.el (python-nav-beginning-of-statement):
13877 Speed up (Bug#15295).
13878
13879 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13880
13881 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
13882 the window configuration.
13883
13884 2013-12-24 Eli Zaretskii <eliz@gnu.org>
13885
13886 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
13887 we run on MS-Windows or MS-DOS.
13888
13889 2013-12-24 Martin Rudalics <rudalics@gmx.at>
13890
13891 * window.el (balance-windows-area): Call window-size instead of
13892 window-height and window-width. Bug#16241.
13893
13894 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13895
13896 * net/eww.el (eww-bookmark-quit): Remove.
13897 (eww-bookmark-browse): Restore the window configuration when you
13898 choose a bookmark (bug#16144).
13899
13900 2013-12-24 Daniel Colascione <dancol@dancol.org>
13901
13902 * icomplete.el: Remove redundant :group arguments to `defcustom'
13903 throughout.
13904 (icomplete-show-matches-on-no-input): New customizable variable.
13905 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13906 we have something to show.
13907 (icomplete-exhibit): Compute completions even if we have no user input.
13908
13909 2013-12-23 Daniel Colascione <dancol@dancol.org>
13910
13911 * icomplete.el: Move `provide' to end of file.
13912
13913 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
13914
13915 * net/gnutls.el (gnutls-verify-error): Add version tag.
13916
13917 2013-12-23 Chong Yidong <cyd@gnu.org>
13918
13919 * subr.el (set-transient-map): Rename from
13920 set-temporary-overlay-map. Doc fix.
13921
13922 * face-remap.el (text-scale-adjust):
13923 * indent.el (indent-rigidly):
13924 * kmacro.el (kmacro-call-macro):
13925 * minibuffer.el (minibuffer-force-complete):
13926 * repeat.el (repeat):
13927 * simple.el (universal-argument--mode):
13928 * calendar/todo-mode.el (todo-insert-item--next-param):
13929 * progmodes/f90.el (f90-abbrev-start): Callers changed.
13930
13931 * indent.el (indent-rigidly): Use substitute-command-keys.
13932
13933 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13934
13935 * net/eww.el (eww-tag-select): Add text-property to jump to next
13936 select field.
13937 (eww): Add non-supported ftp error.
13938
13939 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13940
13941 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
13942 comments. Handle electric indent after typing `?' and `!'.
13943
13944 2013-12-22 Chong Yidong <cyd@gnu.org>
13945
13946 * faces.el (face-spec-recalc): If the theme specs are not
13947 applicable to a frame, fall back on the defface spec.
13948 This prevents themes from obliterating faces on low-color terminals.
13949
13950 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13951
13952 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13953 after `{'. We need it after block openers, and it doesn't seem
13954 to hurt after hash openers.
13955
13956 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13957
13958 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
13959 extracted from `ruby-smie-rules'.
13960 (ruby--electric-indent-chars): New variable.
13961 (ruby--electric-indent-p): New function.
13962 (ruby-mode): Use `electric-indent-functions' instead of
13963 `electric-indent-chars'.
13964
13965 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13966
13967 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
13968 docstring.
13969 (ruby-smie-rules): Indent plus one level after `=>'.
13970
13971 2013-12-21 Richard Stallman <rms@gnu.org>
13972
13973 * simple.el (newline): Doc fix.
13974
13975 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13976
13977 * net/eww.el (eww-list-histories, eww-list-histories)
13978 (eww-history-browse, eww-history-quit, eww-history-kill)
13979 (eww-history-mode-map, eww-history-mode): New command and
13980 functions to list browser histories.
13981 (eww-form-text): Support text form with disabled
13982 and readonly attributes.
13983 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
13984
13985 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13986
13987 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13988 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
13989 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
13990 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
13991 Use `user-error'.
13992 (eww-bookmark-mode-map): Add menu.
13993 (eww-render, eww-mode): Use `setq-local'.
13994 (eww-tool-bar-map): New variable.
13995 (eww-mode): Set `tool-bar-map'.
13996 (eww-view-source): Check for `html-mode' with `fboundp'.
13997
13998 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13999
14000 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14001 elements with text inside. Also remove debugging.
14002
14003 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14004
14005 * cus-start.el (all): Add ns-use-srgb-colorspace.
14006
14007 2013-12-21 Chong Yidong <cyd@gnu.org>
14008
14009 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14010 undefined. Thus, theme settings for undefined faces do not take
14011 effect until the faces are defined with defface, the same as with
14012 theme variables.
14013
14014 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14015 (face-spec-reset-face): Don't assign extra properties in temacs.
14016 (face-spec-recalc): Apply X resources too.
14017
14018 2013-12-21 Chong Yidong <cyd@gnu.org>
14019
14020 * faces.el (face-spec-set):
14021 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14022 * custom.el (defface): Doc fixes (Bug#16203).
14023
14024 * indent.el (indent-rigidly-map): Add docstring, and move commands
14025 into named functions.
14026 (indent-rigidly-left, indent-rigidly-right)
14027 (indent-rigidly-left-to-tab-stop)
14028 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14029 indentation direction based on bidi direction, and accumulate
14030 sequential commands in a single undo boundary.
14031 (indent-rigidly--pop-undo): New utility function.
14032
14033 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14034
14035 * faces.el (read-face-name): Require crm.el when using crm-separator.
14036
14037 2013-12-20 Daniel Colascione <dancol@dancol.org>
14038
14039 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14040 so that we don't reflow comments into the shebang line.
14041
14042 2013-12-20 Juri Linkov <juri@jurta.org>
14043
14044 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14045 a position when `dired-directory' is non-nil. Check integer
14046 positions with `integerp'.
14047 (toggle-save-place, save-places-to-alist): Add check for
14048 `dired-directory'.
14049 (save-place-find-file-hook): Check integer positions with
14050 `integerp'.
14051 (save-place-dired-hook): Use `dired-goto-file' when
14052 `dired-filename' is found in the assoc list. Check integer
14053 positions with `integerp'.
14054 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14055
14056 * dired.el (dired-initial-position-hook): Rename back from
14057 `dired-initial-point-hook'.
14058 (dired-initial-position): Rename `dired-initial-point-hook' to
14059 `dired-initial-position-hook'.
14060 (dired-file-name-at-point): Doc fix. (Bug#15329)
14061
14062 2013-12-20 Juri Linkov <juri@jurta.org>
14063
14064 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14065 (read-regexp-suggestions): New function.
14066 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14067 Use `read-regexp-suggestions'. Add non-empty default to history
14068 for empty input.
14069 (occur-read-regexp-defaults-function): Remove function.
14070 (occur-read-primary-args): Use `regexp-history-last' instead of
14071 `occur-read-regexp-defaults-function'.
14072
14073 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14074 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14075 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14076 `hi-lock-read-regexp-defaults-function'. Doc fix.
14077 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14078 with `find-tag-default-as-symbol-regexp'. Doc fix.
14079 (hi-lock-read-regexp-defaults): Remove function.
14080 (hi-lock-regexp-okay): Add check for null.
14081
14082 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14083 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14084
14085 * subr.el (find-tag-default-as-symbol-regexp): New function.
14086 (find-tag-default-as-regexp): Move symbol regexp formatting to
14087 `find-tag-default-as-symbol-regexp'.
14088
14089 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14090
14091 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14092 (Bug#14179)
14093
14094 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14095
14096 * calendar/todo-mode.el: New implementation of item insertion
14097 commands and key bindings.
14098 (todo-key-prompt): New face.
14099 (todo-insert-item): New command.
14100 (todo-insert-item--parameters): New defconst, replacing defvar
14101 todo-insertion-commands-args-genlist.
14102 (todo-insert-item--param-key-alist): New defconst, replacing
14103 defvar todo-insertion-commands-arg-key-list.
14104 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14105 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14106 (todo-insert-item--next-param): New functions.
14107 (todo-insert-item--args, todo-insert-item--argleft)
14108 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14109 New variables.
14110 (todo-key-bindings-t): Change binding of "i" from
14111 todo-insertion-map to todo-insert-item.
14112 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14113 (todo-insertion-command-name, todo-insertion-commands-names)
14114 (todo-define-insertion-command, todo-insertion-commands)
14115 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14116
14117 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14118
14119 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14120 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14121 eval-when-compile.
14122 (todo-move-category): Allow choosing a non-existing todo file to
14123 move the category to, and create that file.
14124 (todo-default-priority): New user option.
14125 (todo-set-item-priority): Use it.
14126 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14127 (desktop-restore-file-buffer): Declare.
14128 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14129 (todo-modes-set-2): Locally set desktop-save-buffer to
14130 todo-desktop-save-buffer.
14131 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14132 (auto-mode-alist): Add autoload cookie.
14133
14134 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14135
14136 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14137 helpers.el was a poor choice of name.
14138 (string-remove-prefix): New function.
14139 (string-remove-suffix): New function.
14140
14141 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14142
14143 Fix assignment for new window total sizes.
14144 * window.el (window--pixel-to-size): Remove function.
14145 (window--pixel-to-total-1, window--pixel-to-total):
14146 Fix calculation of new total sizes.
14147
14148 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14149
14150 * comint.el (comint-output-filter): Fix rear-nonsticky property
14151 placement (Bug#16010).
14152
14153 2013-12-20 Chong Yidong <cyd@gnu.org>
14154
14155 * faces.el (read-color): Minor fix for completion function.
14156
14157 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14158
14159 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14160 New option. (Bug#16182)
14161 (ruby-smie--indent-to-stmt-p): Use it.
14162 (ruby-smie-rules): Revert the logic in the handling of `when'.
14163 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14164 (ruby-deep-arglist, ruby-deep-indent-paren)
14165 (ruby-deep-indent-paren-style): Update docstrings to note that the
14166 vars don't have any effect with SMIE.
14167
14168 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14169
14170 * calc/calc.el (calc-enter, calc-pop): Use the variable
14171 `calc-context-sensitive-enter'.
14172
14173 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14174
14175 * net/shr.el (shr-insert): Protect against infloops in degenerate
14176 tables.
14177
14178 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14179
14180 * progmodes/octave.el (octave): Add link to manual and octave
14181 homepage.
14182 (octave-mode-menu): Link to octave-mode manual.
14183
14184 2013-12-20 Leo Liu <sdl.web@gmail.com>
14185
14186 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14187 insertion using skeleton-end-newline. (Bug#16138)
14188
14189 2013-12-20 Juri Linkov <juri@jurta.org>
14190
14191 * replace.el (occur-engine): Use `add-face-text-property'
14192 to add the face property to matches and titles. (Bug#14645)
14193
14194 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14195 the palette of other hi-lock colors.
14196 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14197
14198 2013-12-19 Juri Linkov <juri@jurta.org>
14199
14200 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14201 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14202 (minibuffer-history-symbol): Move variable declaration closer to
14203 its usage.
14204
14205 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14206 (Bug#14785)
14207
14208 2013-12-19 Juri Linkov <juri@jurta.org>
14209
14210 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14211 New function.
14212 (log-edit-hook): Add it to :options. (Bug#16170)
14213
14214 2013-12-19 Juri Linkov <juri@jurta.org>
14215
14216 * simple.el (eval-expression-print-format): Don't check for
14217 command names and the last command. Always display additional
14218 formats of the integer result in the echo area, and insert them
14219 to the current buffer only with a zero prefix arg.
14220 Display character when char-displayable-p is non-nil.
14221 (eval-expression): With a zero prefix arg, set `print-length' and
14222 `print-level' to nil, and insert the integer values from
14223 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14224
14225 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14226 `eval-last-sexp-arg-internal'. Doc fix.
14227 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14228 `eval-last-sexp-print-value'. Doc fix.
14229 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14230 Set `print-length' and `print-level' to nil when arg is zero.
14231 (eval-last-sexp): Doc fix.
14232 (eval-defun-2): Print the integer values from
14233 `eval-expression-print-format' at the end.
14234
14235 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14236 values from `eval-expression-print-format' at the end.
14237
14238 * ielm.el (ielm-eval-input): Print the integer
14239 values from `eval-expression-print-format' at the end.
14240
14241 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14242
14243 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14244 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14245
14246 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14247
14248 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14249 (hl-line-highlight, global-hl-line-highlight): Use it.
14250 (hl-line-overlay): Use defvar-local.
14251
14252 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14253
14254 * term/ns-win.el: Require dnd.
14255 (global-map): Remove drag items.
14256 (ns-insert-text, ns-set-foreground-at-mouse)
14257 (ns-set-background-at-mouse):
14258 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14259 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14260 New functions.
14261
14262 2013-12-19 Glenn Morris <rgm@gnu.org>
14263
14264 * emacs-lisp/ert.el (ert-select-tests):
14265 Fix string/symbol mixup. (Bug#16121)
14266
14267 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14268
14269 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14270 keywords to their parent.
14271
14272 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14273
14274 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14275 first arg to be a string (fixed dead code), or an operator symbol.
14276 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14277 operator symbols.
14278 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14279 did nothing. Don't respond to `(:after ".")', it will be called
14280 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14281 change anything. Only return indentation for binary operators
14282 when they are hanging. De-dent opening paren when its parent is
14283 `.', otherwise it looks bad when the dot is not at bol or eol
14284 (bug#16182).
14285
14286 2013-12-19 Juri Linkov <juri@jurta.org>
14287
14288 * replace.el (query-replace-read-args): Split a non-negative arg
14289 and a negative arg into separate elements.
14290 (query-replace, query-replace-regexp, replace-string)
14291 (replace-regexp): Add arg `backward'. Doc fix.
14292 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14293 move point to the beginning of the match.
14294 (replace-search, replace-highlight): Use new arg `backward'
14295 to set the value of `isearch-forward'.
14296 (perform-replace): Add arg `backward' and use it to perform
14297 replacement backward. (Bug#14979)
14298
14299 * isearch.el (isearch-query-replace): Use a negative prefix arg
14300 to call `perform-replace' with a non-nil arg `backward'.
14301
14302 2013-12-18 Juri Linkov <juri@jurta.org>
14303
14304 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14305 to the default list. Move `log-edit-show-files' to the end.
14306 Add more available functions to options.
14307 (log-edit): Move default specific settings to
14308 `log-edit-insert-message-template'. Don't move point.
14309 (log-edit-insert-message-template): New function.
14310 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14311 (Bug#16170)
14312
14313 2013-12-18 Juri Linkov <juri@jurta.org>
14314
14315 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14316 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14317
14318 2013-12-18 Leo Liu <sdl.web@gmail.com>
14319
14320 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14321 (Bug#16186)
14322
14323 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14324
14325 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14326 formats for displaying file sizes when the -s switch is given.
14327 Instead, compute a separate format for displaying the size in
14328 blocks, which is displayed in addition to the "regular" size.
14329 When -h is given in addition to -s, produce size in blocks in
14330 human-readable form as well. (Bug#16179)
14331
14332 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14333
14334 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14335 Reference tables with ~\ref{...} instead of only \ref{...}.
14336
14337 2013-12-18 Chong Yidong <cyd@gnu.org>
14338
14339 * cus-edit.el (custom-magic-alist): Fix "themed" description
14340 (Bug#14348).
14341
14342 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14343 is non-nil, do not create a new entry in the symbol's theme-value
14344 or theme-face property; update theme-settings only (Bug#14664).
14345 (custom-available-themes): Doc fix.
14346
14347 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14348 (Bug#15674).
14349
14350 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14351
14352 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14353
14354 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14355 (Bug#13914).
14356
14357 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14358
14359 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14360
14361 2013-12-18 Glenn Morris <rgm@gnu.org>
14362
14363 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14364 * cus-start.el (load-prefer-newer): New option.
14365
14366 2013-12-18 Le Wang <l26wang@gmail.com>
14367
14368 * comint.el (comint-previous-matching-input-from-input):
14369 Retain point (Bug#13404).
14370
14371 2013-12-18 Chong Yidong <cyd@gnu.org>
14372
14373 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14374
14375 2013-12-18 Glenn Morris <rgm@gnu.org>
14376
14377 * mail/emacsbug.el (report-emacs-bug):
14378 Only mention enable-multibyte-characters if non-standard.
14379
14380 2013-12-17 Juri Linkov <juri@jurta.org>
14381
14382 * arc-mode.el (archive-extract-by-file): Check if directory exists
14383 before deletion to not show irrelevant errors if it doesn't exist.
14384
14385 2013-12-17 Juri Linkov <juri@jurta.org>
14386
14387 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14388 (Bug#14751)
14389
14390 * net/eww.el (browse-web): Add alias to `eww'.
14391 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14392 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14393
14394 * net/browse-url.el (browse-url-browser-function): Move `eww'
14395 closer to similar functions.
14396
14397 * startup.el (fancy-startup-screen, fancy-about-screen):
14398 Set browse-url-browser-function to eww-browse-url locally.
14399 (Bug#14751)
14400
14401 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14402
14403 * window.el (window--pixel-to-total): Remove unused `mini' var.
14404 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14405 (split-window): Remove unused `new' var.
14406 (window--display-buffer): Remove unused `frame' and `delta' vars.
14407 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14408 and display-width'.
14409
14410 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14411
14412 * dired.el (dired-mark-pop-up):
14413 * register.el (register-preview): Don't bind
14414 split-height-threshold here since it's now done in
14415 display-buffer-below-selected.
14416
14417 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14418
14419 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14420 xterm-rgb-convert-to-16bit.
14421 (rxvt-register-default-colors): Standardize with
14422 xterm-register-default-colors (Bug#14078).
14423
14424 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14425
14426 * simple.el (kill-region): Pass mark first, then point, so that
14427 kill-append works right (Bug#12819).
14428 (copy-region-as-kill, kill-ring-save): Likewise.
14429
14430 2013-12-17 Leo Liu <sdl.web@gmail.com>
14431
14432 * net/rcirc.el (rcirc-add-face):
14433 * eshell/em-prompt.el (eshell-emit-prompt):
14434 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14435 (Bug#16167)
14436
14437 2013-12-17 Chong Yidong <cyd@gnu.org>
14438
14439 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14440 Suggested by Xue Fuqiao.
14441
14442 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14443
14444 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14445
14446 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * net/shr.el (shr-insert-document): Remove unused var
14449 `shr-preliminary-table-render'.
14450 (shr-rescale-image): Remove unused arg `force'.
14451 (shr-put-image): Update calls accordingly.
14452 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14453
14454 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14455
14456 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14457 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14458 :close-all, to see which indentation method to use (Bug#16116).
14459 (smie-rules-function): Document the method :close-all.
14460
14461 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14462
14463 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14464
14465 * net/eww.el (eww-display-html): If we can't find the anchor we're
14466 looking for, then go to point-min.
14467
14468 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14469
14470 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14471 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14472 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14473 Expand dir too, in case it's relative.
14474
14475 2013-12-16 Juri Linkov <juri@jurta.org>
14476
14477 * desktop.el (desktop-auto-save-timeout): Change default to
14478 `auto-save-timeout'. Doc fix.
14479 (desktop-save): Skip the timestamp in desktop-saved-frameset
14480 when checking for auto-save changes.
14481 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14482 `desktop-auto-save' is called repeatedly by the idle timer.
14483 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14484 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14485 (Bug#15331)
14486
14487 2013-12-16 Juri Linkov <juri@jurta.org>
14488
14489 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14490 (Bug#16035)
14491 (isearch-pre-command-hook): Check `this-command' for symbolp.
14492
14493 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14496
14497 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14498
14499 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14500 (cfengine3--current-function): Bring in the current-function
14501 functionality from `cfengine3--current-word'.
14502 (cfengine3-completion-function): Bring in the
14503 bounds-of-current-word functionality from
14504 `cfengine3--current-word'.
14505
14506 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14507
14508 * window.el (display-buffer-below-selected):
14509 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14510
14511 2013-12-16 Leo Liu <sdl.web@gmail.com>
14512
14513 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14514 Remove NOMSG arg and all uses changed.
14515
14516 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14519 (cua--deactivate-rectangle): Don't deactivate the mark.
14520 (cua-set-rectangle-mark): Don't set mark-active since
14521 cua--activate-rectangle already does it for us.
14522 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14523 non-rectangular region.
14524
14525 * emulation/cua-base.el (cua-repeat-replace-region):
14526 Use with-current-buffer.
14527
14528 * net/gnutls.el: Use cl-lib.
14529 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14530
14531 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14532
14533 * emacs-lisp/package.el (package-built-in-p): Support both
14534 built-in and the package.el converted package descriptions.
14535 (package-show-package-list): Allow keywords.
14536 (package-keyword-button-action): Use it instead of
14537 `finder-list-matches'.
14538 (package-menu-filter-interactive): Interactive filtering (by
14539 keyword) function.
14540 (package-menu--generate): Support keywords and change keymappings
14541 and headers when they are given.
14542 (package--has-keyword-p): Helper function.
14543 (package-menu--refresh): Use it.
14544 (package--mapc): Helper function.
14545 (package-all-keywords): Use it.
14546 (package-menu-mode-map): Set up menu items and keybindings to
14547 provide a filtering UI.
14548
14549 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14550
14551 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14552 the behavior when a certificate fails validation. Defaults to
14553 old behavior: never abort, just warn.
14554 (gnutls-negotiate): Use it.
14555
14556 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14557
14558 * window.el (display-buffer-below-selected): Never split window
14559 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14560
14561 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14562
14563 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14564 (package-buffer-info): Use it (bug#15108).
14565
14566 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14567
14568 * icomplete.el (icomplete-completions): Make sure the prefix is already
14569 displayed elsewhere before hiding it (bug#16219).
14570
14571 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14572
14573 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14574 open-paren tokens when preceded by a open-paren, too.
14575 (ruby-smie-rules): Handle virtual indentation after open-paren
14576 tokens specially. If there is code between it and eol, return the
14577 column where is starts (Bug#16118).
14578
14579 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14580
14581 * progmodes/cfengine.el: Fix `add-hook' doc.
14582 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14583 (cfengine3--current-word): Fix parameters.
14584 (cfengine3-make-syntax-cache): Simplify further.
14585 (cfengine3-completion-function, cfengine3--current-function):
14586 Use `assq' for symbols.
14587 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14588
14589 2013-12-13 Glenn Morris <rgm@gnu.org>
14590
14591 * loadup.el (load-path): Warn if site-load or site-init changes it.
14592 No more need to reset it when bootstrapping.
14593
14594 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14595
14596 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14597 locations for cf-promises.
14598 (cfengine-mode-syntax-functions-regex): New caching variable.
14599 (cfengine3-fallback-syntax): Fallback syntax for cases where
14600 cf-promises doesn't run.
14601 (cfengine3--current-word): Reimplement using
14602 `cfengine-mode-syntax-functions-regex'.
14603 (cfengine3-completion-function, cfengine3--current-function):
14604 Use `cfengine3-make-syntax-cache' directly.
14605 (cfengine3-clear-syntax-cache): New function.
14606 (cfengine3-make-syntax-cache): Simplify and create
14607 `cfengine-mode-syntax-functions-regex' on demand.
14608 (cfengine3-format-function-docstring): Don't call
14609 `cfengine3-make-syntax-cache' explicitly.
14610
14611 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14612
14613 Fix windmove-find-other-window broken after pixelwise resizing
14614 (Bug#16017).
14615 * windmove.el (windmove-other-window-loc): Revert change from
14616 2013-12-04.
14617 (windmove-find-other-window): Call window-in-direction.
14618 * window.el (window-in-direction): New arguments SIGN, WRAP and
14619 MINI to emulate original windmove-find-other-window behavior.
14620
14621 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14622
14623 * simple.el (blink-matching--overlay): New variable.
14624 (blink-matching-open): Instead of moving point, highlight the
14625 matching paren with an overlay
14626 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14627
14628 * faces.el (paren-showing-faces, show-paren-match)
14629 (show-paren-mismatch): Move from paren.el.
14630
14631 2013-12-13 Leo Liu <sdl.web@gmail.com>
14632
14633 * indent.el (indent-region): Disable progress reporter in
14634 minibuffer. (Bug#16108)
14635
14636 * bindings.el (visual-order-cursor-movement): Fix version.
14637
14638 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14639
14640 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14641 Also match after beginning of line.
14642 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14643 files. Thanks to Russell Sim. (Bug#15378)
14644
14645 2013-12-13 Juri Linkov <juri@jurta.org>
14646
14647 * simple.el <Keypad support>: Remove key bindings duplicated
14648 with bindings.el. (Bug#14397)
14649
14650 2013-12-13 Juri Linkov <juri@jurta.org>
14651
14652 * comint.el (comint-mode-map): Replace `delete-char' with
14653 `delete-forward-char'. (Bug#16109)
14654
14655 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14656
14657 * progmodes/python.el (python-indent-calculate-indentation):
14658 Fix de-denters cornercase. (Bug#15731)
14659
14660 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14661
14662 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14663 (advice--make): Pay attention to `depth'.
14664 (advice--make-1): Don't autoload commands eagerly.
14665 * emacs-lisp/elp.el (elp-instrument-function):
14666 * emacs-lisp/trace.el (trace-function-internal):
14667 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14668
14669 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14670
14671 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14672
14673 * term/w32-win.el (w32-handle-dropped-file):
14674 * startup.el (normal-top-level):
14675 * net/browse-url.el (browse-url-file-url):
14676 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14677 decode file names using 'utf-8' rather than
14678 file-name-coding-system.
14679
14680 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14681
14682 * progmodes/python.el (python-indent-context)
14683 (python-indent-calculate-indentation): Fix auto-identation
14684 behavior for comment blocks. (Bug#15916)
14685
14686 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14687
14688 * progmodes/python.el (python-indent-calculate-indentation):
14689 When determining indentation, don't treat "return", "pass", etc., as
14690 operators when they are just string constituents. (Bug#15812)
14691
14692 2013-12-12 Juri Linkov <juri@jurta.org>
14693
14694 * uniquify.el (uniquify-buffer-name-style): Change default to
14695 `post-forward-angle-brackets'.
14696
14697 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14698 `uniquify'. Change default to `post-forward-angle-brackets'.
14699
14700 2013-12-11 Glenn Morris <rgm@gnu.org>
14701
14702 * emacs-lisp/package.el (finder-list-matches):
14703 Autoload rather than falsely declaring.
14704
14705 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
14706
14707 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
14708 (eww-mode-map): Use them.
14709
14710 2013-12-11 Martin Rudalics <rudalics@gmx.at>
14711
14712 * window.el (display-buffer-in-side-window): Fix doc-string
14713 (Bug#16115).
14714
14715 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
14716
14717 * vc/vc-git.el: Silence byte-compiler warnings.
14718 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
14719 (log-edit-set-header): Declare.
14720
14721 2013-12-11 Eli Zaretskii <eliz@gnu.org>
14722
14723 * Makefile.in (custom-deps, finder-data): Run output file names
14724 through unmsys--file-name. (Bug#16099)
14725
14726 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
14727
14728 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
14729 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
14730
14731 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
14732 instead of deleting the selection "by hand" (bug#16098).
14733 Rely on insert-for-yank to yank rectangles.
14734 (cua-highlight-region-shift-only): Mark obsolete.
14735 (cua-mode): Don't enable/disable transient-mark-mode,
14736 shift-select-mode (cua-mode works both with and without them), and
14737 pc-selection-mode (obsolete).
14738 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
14739 (cua--deactivate-rectangle): Deactivate it.
14740
14741 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
14742 (delete-selection-helper): Make sure yank starts at the top of the
14743 deleted region.
14744 (minibuffer-keyboard-quit): Use region-active-p.
14745
14746 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
14747
14748 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
14749 to `delete' (bug#16109).
14750
14751 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14752
14753 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
14754 info manual and show keybindings and set `:group' keyword.
14755
14756 2013-12-11 Juri Linkov <juri@jurta.org>
14757
14758 * delsel.el (delete-active-region): Let-bind `this-command'
14759 to prevent `kill-region' from changing its original value.
14760 (delete-selection-helper): Handle `overwrite-mode' for the type
14761 `kill' exactly the same way as for the type `t'.
14762 (insert-char, quoted-insert, reindent-then-newline-and-indent):
14763 Support more commands. (Bug#13312)
14764
14765 2013-12-11 Juri Linkov <juri@jurta.org>
14766
14767 * bindings.el: Map kp keys to non-kp keys systematically
14768 with basic modifiers control, meta and shift. (Bug#14397)
14769
14770 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14771
14772 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
14773 "Close browser" menu items. Fix wrong function of "List
14774 bookmarks".
14775
14776 2013-12-11 Juri Linkov <juri@jurta.org>
14777
14778 * misearch.el (multi-isearch-buffers): Set the value of
14779 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14780 arg of isearch-forward to t.
14781 (multi-isearch-buffers-regexp): Set the value of
14782 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14783 arg of isearch-forward-regexp to t.
14784 (multi-isearch-files): Set the value of
14785 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14786 arg of isearch-forward to t.
14787 (multi-isearch-files-regexp): Set the value of
14788 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14789 arg of isearch-forward-regexp to t. (Bug#16035)
14790
14791 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
14792 arg of isearch-forward to t.
14793 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
14794 arg of isearch-forward-regexp to t.
14795 (dired-isearch-filter-filenames): Remove unnecessary check for
14796 `dired-isearch-filenames'.
14797
14798 * comint.el (comint-history-isearch-backward):
14799 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
14800 (comint-history-isearch-backward-regexp):
14801 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
14802
14803 2013-12-10 Eli Zaretskii <eliz@gnu.org>
14804
14805 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
14806 unmsys--file-name. (Bug#16099)
14807
14808 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
14809
14810 * emacs-lisp/package.el (package-keyword-button-action):
14811 Remove finder.el require dependency.
14812
14813 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
14814
14815 * emacs-lisp/package.el: Require finder.el.
14816 (describe-package-1): Add keyword buttons.
14817 (package-make-button): New convenience function.
14818 (package-keyword-button-action): Keyword button action using
14819 `finder-list-matches'.
14820
14821 2013-12-09 Eli Zaretskii <eliz@gnu.org>
14822
14823 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
14824 last commit.
14825
14826 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
14827
14828 * autorevert.el (auto-revert-notify-add-watch): Do not handle
14829 symlinked files.
14830
14831 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14832
14833 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14834 after the end of a percent literal.
14835
14836 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
14837
14838 * progmodes/ruby-mode.el (ruby-forward-string): Document.
14839 Handle caret-delimited strings (Bug#16079).
14840
14841 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14842
14843 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
14844 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
14845 `ruby-parse-partial' (Bug#16078).
14846
14847 2013-12-09 Leo Liu <sdl.web@gmail.com>
14848
14849 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
14850
14851 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
14852
14853 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
14854 (js-switch-indent-offset): New option.
14855 (js--proper-indentation): Use it. And handle the case when
14856 "default" is actually a key in an object literal.
14857 (js--same-line): New function.
14858 (js--multi-line-declaration-indentation): Use it.
14859 (js--indent-in-array-comp, js--array-comp-indentation):
14860 New functions.
14861 (js--proper-indentation): Use them, to handle array comprehension
14862 continuations.
14863
14864 2013-12-08 Leo Liu <sdl.web@gmail.com>
14865
14866 * progmodes/flymake.el (flymake-highlight-line): Re-write.
14867 (flymake-make-overlay): Remove arg MOUSE-FACE.
14868 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
14869
14870 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14871
14872 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
14873 New function.
14874 (redisplay-highlight-region-function): Use it.
14875
14876 * emulation/cua-base.el (cua--explicit-region-start)
14877 (cua--last-region-shifted): Remove.
14878 (cua--deactivate): Use deactivate-mark.
14879 (cua--pre-command-handler-1): Don't handle shift-selection.
14880 (cua--post-command-handler-1): Don't change transient-mark-mode.
14881 (cua--select-keymaps): Use region-active-p rather than
14882 cua--explicit-region-start or cua--last-region-shifted.
14883 (cua-mode): Enable shift-select-mode.
14884
14885 2013-12-08 Leo Liu <sdl.web@gmail.com>
14886
14887 * progmodes/flymake.el (flymake-popup-current-error-menu):
14888 Rename from flymake-display-err-menu-for-current-line. Reimplement.
14889 (flymake-posn-at-point-as-event, flymake-popup-menu)
14890 (flymake-make-emacs-menu): Remove. (Bug#16077)
14891
14892 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14893
14894 * rect.el (rectangle-mark-mode): Activate mark even if
14895 transient-mark-mode is off (bug#16066).
14896 (rectangle--highlight-for-redisplay): Fix boundary condition when point
14897 is > mark and at bolp.
14898
14899 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
14900 (region-extract-function): Use it.
14901 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
14902 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
14903 Delete functions.
14904 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
14905 kill-ring-save, kill-region, delete-char, delete-forward-char.
14906 Ignore self-insert-iso.
14907
14908 * emulation/cua-gmrk.el (cua--init-global-mark):
14909 Ignore `self-insert-iso'.
14910
14911 * emulation/cua-base.el (cua--prefix-copy-handler)
14912 (cua--prefix-cut-handler): Rely on region-extract-function rather than
14913 checking cua--rectangle.
14914 (cua-delete-region): Use region-extract-function.
14915 (cua-replace-region): Delete function.
14916 (cua-copy-region, cua-cut-region): Obey region-extract-function.
14917 (cua--pre-command-handler-1): Don't do the delete-selection thing.
14918 (cua--self-insert-char-p): Ignore `self-insert-iso'.
14919 (cua--init-keymaps): Don't remap delete-selection commands.
14920 (cua-mode): Use delete-selection-mode instead of rolling our own
14921 (bug#16085).
14922
14923 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
14924 Obey region-extract-function.
14925
14926 Make registers and delete-selection-mode work on rectangles.
14927 * register.el (describe-register-1): Don't modify the register's value.
14928 (copy-to-register): Obey region-extract-function.
14929 * delsel.el (delete-active-region): Obey region-extract-function.
14930
14931 2013-12-08 Leo Liu <sdl.web@gmail.com>
14932
14933 * progmodes/flymake.el (flymake, flymake-error-bitmap)
14934 (flymake-warning-bitmap, flymake-fringe-indicator-position)
14935 (flymake-compilation-prevents-syntax-check)
14936 (flymake-start-syntax-check-on-newline)
14937 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
14938 (flymake-start-syntax-check-on-find-file, flymake-log-level)
14939 (flymake-xml-program, flymake-master-file-dirs)
14940 (flymake-master-file-count-limit)
14941 (flymake-allowed-file-name-masks): Relocate.
14942 (flymake-makehash, flymake-float-time)
14943 (flymake-replace-regexp-in-string, flymake-split-string)
14944 (flymake-get-temp-dir): Remove.
14945 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
14946 (flymake-current-row, flymake-selected-frame)
14947 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
14948 related functions. (Bug#16077)
14949
14950 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
14951
14952 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
14953
14954 2013-12-07 Tassilo Horn <tsdh@gnu.org>
14955
14956 * help-fns.el (describe-function-1): Use new advice-* functions
14957 rather than old ad-* functions. Fix function type description and
14958 source links for advised functions and subrs.
14959
14960 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14961
14962 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
14963
14964 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
14965
14966 * progmodes/compile.el (compilation-start):
14967 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
14968
14969 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
14970 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
14971
14972 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14973
14974 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14975 Touch up the last change.
14976
14977 2013-12-06 Leo Liu <sdl.web@gmail.com>
14978
14979 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
14980 (inferior-octave-startup): Always use "octave> " for prompt.
14981 (octave-goto-function-definition)
14982 (octave-sync-function-file-names)
14983 (octave-find-definition-default-filename): Remove redundant backquotes.
14984
14985 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14986
14987 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
14988 syntax for `?'.
14989 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
14990 where appropriate already.
14991 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
14992 end of method names (Bug#15874).
14993
14994 2013-12-06 Juri Linkov <juri@jurta.org>
14995
14996 * isearch.el (isearch--saved-overriding-local-map):
14997 New internal variable.
14998 (isearch-mode): Set it to the initial value of
14999 `overriding-terminal-local-map'.
15000 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15001 with `isearch--saved-overriding-local-map'. (Bug#16035)
15002
15003 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15004
15005 * progmodes/octave.el (inferior-octave-completion-table):
15006 Turn back into function, use `completion-table-with-cache'
15007 (Bug#11906). Update all references.
15008
15009 * minibuffer.el (completion-table-with-cache): New function.
15010
15011 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15012
15013 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15014
15015 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15016
15017 * net/eww.el (eww-current-source): New variable to store page
15018 source.
15019 (eww-display-html, eww-mode, eww-save-history)
15020 (eww-restore-history): Use it.
15021 (eww-view-source): New command to view page source.
15022 Opportunistically uses `html-mode' to highlight the buffer.
15023 (eww-mode-map): Install it.
15024
15025 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15026
15027 * net/dbus.el (dbus-unregister-service)
15028 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15029 Fix docstring.
15030 (dbus-unregister-service): Skip :serial entries in
15031 `dbus-registered-objects-table'.
15032 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15033
15034 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15035
15036 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15037 around keywords with extra `split-string' argument.
15038
15039 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15040
15041 * windmove.el (windmove-other-window-loc): Handle navigation
15042 between windows (excluding the minibuffer window - Bug#16017).
15043
15044 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15045
15046 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15047 in D-Bus type syntax.
15048 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15049 preserve unibyte strings. (Bug#16048)
15050
15051 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15052
15053 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15054 Call force-mode-line-update is the proper buffer (bug#16042).
15055
15056 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15057
15058 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15059 `log-edit-remember-comment', make argument optional. Adjust all
15060 callers.
15061 (log-edit-mode): Add `log-edit-remember-comment' to
15062 `kill-buffer-hook' locally.
15063 (log-edit-kill-buffer): Don't remember comment explicitly since
15064 the buffer is killed anyway.
15065
15066 2013-12-04 Juri Linkov <juri@jurta.org>
15067
15068 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15069 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15070
15071 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15072
15073 * notifications.el (notifications-close-notification): Call the
15074 D-Bus method with ID being a `:uint32'. (Bug#16030)
15075
15076 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15077
15078 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15079
15080 2013-12-03 Juri Linkov <juri@jurta.org>
15081
15082 * progmodes/compile.el (compilation-start): Rename window alist
15083 entry `no-display-ok' to `allow-no-window'.
15084
15085 * simple.el (shell-command): Add window alist entry
15086 `allow-no-window' to `display-buffer'.
15087 (async-shell-command): Doc fix.
15088
15089 * window.el (display-buffer-no-window): New action function.
15090 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15091
15092 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15093
15094 * vc/log-edit.el (log-edit-set-header): Extract from
15095 `log-edit-toggle-header'.
15096 (log-edit-extract-headers): Separate the summary, when extracted
15097 from header, from the rest of the message with an empty line.
15098
15099 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15100 line, if present, to the Summary header.
15101
15102 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15103
15104 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15105 in current-buffer (bug#16029).
15106
15107 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15108
15109 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15110 (debugger-mode-map): Bind it.
15111 (debugger--backtrace-base): New function.
15112 (debugger-eval-expression): Use it.
15113 (debugger-frame-number): Skip local vars when present.
15114 (debugger--locals-visible-p, debugger--insert-locals)
15115 (debugger--show-locals, debugger--hide-locals): New functions.
15116
15117 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15118
15119 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15120 "LC_ALL".
15121 (tramp-get-remote-locale): New defun.
15122 (tramp-open-connection-setup-interactive-shell): Use it.
15123
15124 2013-12-02 Leo Liu <sdl.web@gmail.com>
15125
15126 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15127
15128 * progmodes/sh-script.el (sh-shell-process):
15129 * progmodes/octave.el (inferior-octave-process-live-p):
15130 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15131 (gdb-inferior-io-sentinel):
15132 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15133
15134 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15135
15136 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15137 `save-selected-window' to `log-edit-hide-buf'. This makes
15138 `log-edit-show-files' idempotent.
15139 (log-edit-show-files): Mark the new window as dedicated.
15140
15141 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15142
15143 * vc/log-edit.el (log-edit-mode-map): Add binding for
15144 `log-edit-kill-biffer'.
15145 (log-edit-hide-buf): Add a FIXME comment.
15146 (log-edit-add-new-comment): New function, extracted from
15147 `log-edit-done'.
15148 (log-edit-done, log-edit-add-to-changelog): Use it.
15149 (log-edit-kill-buffer): New command.
15150
15151 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15152
15153 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15154 instead of killing the buffer.
15155
15156 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15157
15158 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15159
15160 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15161
15162 * net/eww.el (eww-form-checkbox-selected-symbol)
15163 (eww-form-checkbox-symbol): New customizable variable.
15164 (eww-form-checkbox, eww-toggle-checkbox):
15165 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15166
15167 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15168 (shr--get-media-pref, shr--extract-best-source): New function.
15169 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15170 no :src tag was specified.
15171
15172 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15173 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15174 Use \\` to match beginning of string instead of ^.
15175 (eww-browse-with-external-browser): Provide optional URL parameter.
15176 (eww-render): Set `eww-current-title' back to "".
15177
15178 * net/shr.el (shr-tag-video): Display content for video if no
15179 poster is available.
15180 (shr-tag-audio): Add support for <audio> tag.
15181
15182 * net/eww.el (eww-text-input-types): New const.
15183 (eww-process-text-input): Treat input types in
15184 `eww-text-input-types' as text.
15185
15186 * net/shr.el (shr-tag-table): Fix comment typo.
15187
15188 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15189
15190 * net/eww.el (eww-follow-link): New command to avoid reloading
15191 pages when we follow #target links (bug#15243).
15192 (eww-quit): Special mode buffers shouldn't query before exiting.
15193
15194 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15195
15196 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15197 forms.
15198
15199 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15200
15201 * net/eww.el (eww-restore-history): Update the window title after
15202 moving in the history.
15203 (eww-current-dom): New variable used to save the current DOM.
15204
15205 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15206
15207 * vc/log-edit.el (log-edit-mode-map): Add binding for
15208 `log-edit-beginning-of-line'.
15209 (log-edit-setup-add-author): New user option.
15210 (log-edit-beginning-of-line): New command.
15211 (log-edit): Move major mode call above the contents setup so that
15212 the local variable values are already applied.
15213 (log-edit): Only insert "Author: " when
15214 `log-edit-setup-add-author' is non-nil.
15215 (log-edit): When SETUP is non-nil, position point after ": "
15216 instead of point-min.
15217
15218 2013-12-01 Glenn Morris <rgm@gnu.org>
15219
15220 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15221
15222 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15223
15224 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15225 redisplay to make sure the initial frame gets a chance to become
15226 visible. (Bug#16014)
15227
15228 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15229
15230 Support resizing frames and windows pixelwise.
15231 * cus-start.el (frame-resize-pixelwise)
15232 (window-resize-pixelwise): New entries.
15233 * emacs-lisp/debug.el (debug): Use window-total-height instead
15234 of window-total-size.
15235 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15236 * help.el (describe-bindings-internal): Use help-buffer as
15237 argument for with-help-window.
15238 (temp-buffer-max-width): New option.
15239 (resize-temp-buffer-window, help-window-setup)
15240 (with-help-window): Rewrite.
15241 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15242 dragging dividers.
15243 * window.el (frame-char-size, window-min-pixel-height)
15244 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15245 (window-min-pixel-width, window-safe-min-pixel-size)
15246 (window-combination-p, window-safe-min-size)
15247 (window-resizable-p, window--size-to-pixel)
15248 (window--pixel-to-size, window--resize-apply-p): New functions.
15249 (window-safe-min-height): Fix doc-string.
15250 (window-size, window-min-size, window--min-size-1)
15251 (window-sizable, window-sizable-p, window--min-delta-1)
15252 (window-min-delta, window--max-delta-1, window-max-delta)
15253 (window--resizable, window--resizable-p, window-resizable)
15254 (window-full-height-p, window-full-width-p, window-at-side-p)
15255 (window--in-direction-2, window-in-direction)
15256 (window--resize-reset-1, window--resize-mini-window)
15257 (window-resize, window-resize-no-error)
15258 (window--resize-child-windows-normal)
15259 (window--resize-child-windows, window--resize-siblings)
15260 (window--resize-this-window, window--resize-root-window)
15261 (window--resize-root-window-vertically)
15262 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15263 (maximize-window, minimize-window, delete-window)
15264 (quit-restore-window, window-split-min-size, split-window)
15265 (balance-windows-2, balance-windows)
15266 (balance-windows-area-adjust, balance-windows-area)
15267 (window--state-get-1, window-state-get, window--state-put-1)
15268 (window--state-put-2, window-state-put)
15269 (display-buffer-record-window, window--display-buffer):
15270 Make functions handle pixelwise sizing of windows.
15271 (display-buffer--action-function-custom-type)
15272 (display-buffer-fallback-action):
15273 Add display-buffer-in-previous-window.
15274 (display-buffer-use-some-window): Resize window to height it had
15275 before.
15276 (fit-window-to-buffer-horizontally): New option.
15277 (fit-frame-to-buffer): Describe new values.
15278 (fit-frame-to-buffer-bottom-margin): Replace with
15279 fit-frame-to-buffer-margins.
15280 (window--sanitize-margin): New function.
15281 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15282 using window-text-pixel-size.
15283
15284 2013-11-30 Glenn Morris <rgm@gnu.org>
15285
15286 * emacs-lisp/bytecomp.el (byte-compile-form):
15287 Make the `interactive-only' warning like the `obsolete' one.
15288 * comint.el (comint-run):
15289 * files.el (insert-file-literally, insert-file):
15290 * replace.el (replace-string, replace-regexp):
15291 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15292 (goto-line, insert-buffer, next-line, previous-line):
15293 Tweak `interactive-only' spec.
15294
15295 Stop keeping (most) generated cedet grammar files in the repository.
15296 * Makefile.in (semantic): New.
15297 (compile-main): Depend on semantic.
15298
15299 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15300
15301 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15302 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15303
15304 * uniquify.el (uniquify-buffer-name-style): Change default.
15305
15306 * loadup.el: Preload "uniquify".
15307
15308 * time.el (display-time-update): Update all mode lines (bug#15999).
15309
15310 * electric.el (electric-indent-mode): Enable by default.
15311 * loadup.el: Preload "electric".
15312
15313 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15314
15315 * emacs-lisp/helpers.el (string-empty-p): New function.
15316 (string-blank-p): New function.
15317
15318 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15319
15320 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15321 (Bug#14029).
15322
15323 2013-11-29 Andreas Politz <politza@fh-trier.de>
15324 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15325 allow non-lambda lists as functions.
15326 (imenu--in-alist): Don't recurse into non-subalists.
15327 (imenu): Don't pass function itself as an argument (Bug#14029).
15328
15329 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15330
15331 * progmodes/python.el (python-mode-map): Remove binding for ":".
15332 (python-indent-electric-colon): Remove command.
15333 (python-indent-post-self-insert-function): Integrate the previous code
15334 of python-indent-electric-colon. Make it conditional on
15335 electric-indent-mode.
15336 (python-mode): Add ?: to electric-indent-chars.
15337 Move python-indent-post-self-insert-function to the end of
15338 post-self-insert-hook.
15339
15340 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15341
15342 * doc-view.el (doc-view-goto-page): Update mode-line.
15343
15344 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15345
15346 2013-11-27 Glenn Morris <rgm@gnu.org>
15347
15348 * international/charprop.el, international/uni-bidi.el:
15349 * international/uni-category.el, international/uni-combining.el:
15350 * international/uni-comment.el, international/uni-decimal.el:
15351 * international/uni-decomposition.el, international/uni-digit.el:
15352 * international/uni-lowercase.el, international/uni-mirrored.el:
15353 * international/uni-name.el, international/uni-numeric.el:
15354 * international/uni-old-name.el, international/uni-titlecase.el:
15355 * international/uni-uppercase.el:
15356 Remove generated files from VCS repository.
15357
15358 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15359
15360 * filenotify.el (file-notify-add-watch): Don't special-case
15361 w32notify when computing the directory to watch.
15362
15363 2013-11-27 Glenn Morris <rgm@gnu.org>
15364
15365 Make bootstrap without generated uni-*.el files possible again.
15366 * loadup.el: Update command-line-args checking for unidata-gen.
15367 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15368 * composite.el, international/characters.el:
15369 Handle unicode tables being undefined.
15370
15371 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15372 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15373 (compile-main): Depend on leim rule.
15374 (leim): New rule.
15375 * loadup.el: Move leim-list.el to leim/ subdirectory.
15376 * startup.el (normal-top-level): No more leim directory.
15377 * international/ja-dic-cnv.el (skkdic-convert):
15378 Disable version-control and autoloads in output files.
15379 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15380 Disable version-control and autoloads in output files.
15381 * leim/quail: Move here from ../leim.
15382 * leim/quail/hangul.el (hangul-input-method-activate):
15383 Add autoload cookie.
15384 (generated-autoload-load-name): Set file-local value.
15385 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15386 (generated-autoload-load-name): Set file-local value.
15387
15388 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15389
15390 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15391 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15392 (eww-quit): Ask confirmation before quitting eww.
15393
15394 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15395
15396 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15397 reading output from Diff on MS-Windows and MS-DOS.
15398
15399 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15400
15401 * emacs-lisp/helpers.el (string-reverse): New function.
15402
15403 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15404
15405 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15406 names on MS Windows, like "/[::1]:".
15407
15408 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15409 SWITCHES.
15410
15411 2013-11-26 Glenn Morris <rgm@gnu.org>
15412
15413 * progmodes/python.el (python-indent-guess-indent-offset):
15414 Avoid corner-case error. (Bug#15975)
15415
15416 Preload leim-list.el. (Bug#4789)
15417 * loadup.el: Load leim-list.el when found.
15418 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15419
15420 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15421
15422 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15423
15424 * emacs-lisp/helpers.el (string-join): New function.
15425
15426 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15427
15428 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15429 Mark as obsolete and replace it with a symbol property.
15430 (byte-compile-form): Use new 'interactive-only property.
15431 * comint.el, files.el, replace.el, simple.el:
15432 Apply new 'interactive-only properly.
15433
15434 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15435
15436 * window.el (display-buffer-at-bottom): Make sure that
15437 split-window-sensibly creates the new window on bottom
15438 (Bug#15961).
15439
15440 2013-11-23 David Kastrup <dak@gnu.org>
15441
15442 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15443 on the conflict markers when available.
15444 (smerge--get-marker): New function.
15445 (smerge-end-re, smerge-base-re): Add subgroup.
15446
15447 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15448
15449 * frame.el (handle-focus-in, handle-focus-out): Add missing
15450 interactive spec.
15451
15452 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15453
15454 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15455 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15456
15457 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15458
15459 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15460 (gomoku--last-pos): New var.
15461 (gomoku--intangible-chars): New const.
15462 (gomoku--intangible): New function.
15463 (gomoku-mode): Use it. Derive from special-mode.
15464 (gomoku-move-up): Adjust line count.
15465 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15466 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15467 Simplify accordingly.
15468
15469 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15470 Remove blink-cursor code.
15471 (blink-cursor-timer-function, blink-cursor-suspend):
15472 Don't special-case GUIs.
15473 (blink-cursor-mode): Use focus-in/out-hook.
15474
15475 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15476
15477 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15478 work when annotation is invisible (Bug#13886).
15479
15480 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15481
15482 * json.el (json-alist-p): Only return non-nil if the alist has
15483 simple keys (Bug#13518).
15484
15485 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15486
15487 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15488 when control-statement is the first statement in a buffer (Bug#15956).
15489
15490 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15491
15492 * imenu.el (imenu-generic-skip-comments-and-strings):
15493 New option (Bug#15560).
15494 (imenu--generic-function): Use it.
15495
15496 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15497
15498 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15499 (Bug#13898)
15500
15501 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15502
15503 * emacs-lisp/helpers.el: Add some string helpers.
15504 (string-trim-left): Removes leading whitespace.
15505 (string-trim-right): Removes trailing whitespace.
15506 (string-trim): Removes leading and trailing whitespace.
15507
15508 * subr.el (string-suffix-p): New function.
15509
15510 2013-11-23 Glenn Morris <rgm@gnu.org>
15511
15512 * progmodes/python.el (python-shell-send-file):
15513 Add option to delete file when done. (Bug#15647)
15514 (python-shell-send-string, python-shell-send-region): Use it.
15515
15516 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15517
15518 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15519 to set buffer-read-only to t, never to nil. (Bug#15938)
15520
15521 * textmodes/tex-mode.el (latex-noindent-environments):
15522 Add safe-local-variable property. (Bug#15936)
15523
15524 2013-11-23 Glenn Morris <rgm@gnu.org>
15525
15526 * textmodes/enriched.el (enriched-mode): Doc fix.
15527 * emacs-lisp/authors.el (authors-renamed-files-alist):
15528 Add enriched.doc -> enriched.txt.
15529
15530 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15531
15532 2013-11-22 Leo Liu <sdl.web@gmail.com>
15533
15534 * progmodes/octave.el (inferior-octave-startup): Spit out error
15535 message.
15536
15537 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15538
15539 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15540 Improve docstring.
15541 Add :version.
15542 (ruby-encoding-magic-comment-style): Add :version.
15543
15544 2013-11-22 Leo Liu <sdl.web@gmail.com>
15545
15546 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15547 (Bug#15076)
15548 (octave-help-mode): Adapt to change to help-mode-finish to use
15549 derived-mode-p on 2013-09-17.
15550 (inferior-octave-prompt): Also match octave-gui.
15551 (octave-kill-process): Don't ask twice. (Bug#10564)
15552
15553 2013-11-22 Leo Liu <sdl.web@gmail.com>
15554
15555 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15556 (inferior-octave-startup, inferior-octave-check-process)
15557 (inferior-octave-track-window-width-change)
15558 (octave-completion-at-point, octave-eldoc-function): Use it.
15559 (octave-kill-process): Provide confirmation. (Bug#10564)
15560
15561 2013-11-21 Leo Liu <sdl.web@gmail.com>
15562
15563 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15564 Fix obsolete variable comment-use-global-state.
15565
15566 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15567
15568 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15569 Add `octave-source-file'.
15570 (octave-source-file): New function. (Bug#15935)
15571
15572 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15573
15574 * net/eww.el (eww-local-regex): New variable.
15575 (eww): Use it to detect localhost and similar.
15576
15577 2013-11-21 Leo Liu <sdl.web@gmail.com>
15578
15579 Add completion for command `ag'.
15580 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15581 (pcomplete/ag): New function.
15582 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15583
15584 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15585
15586 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15587 (bug#14646).
15588 (make-obsolete): Remove interactive spec.
15589
15590 2013-11-21 Glenn Morris <rgm@gnu.org>
15591
15592 * startup.el (command-line-1): Use path-separator with -L.
15593
15594 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15595
15596 * emacs-lisp/package.el (describe-package-1): Add package archive
15597 to shown fields.
15598
15599 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15600
15601 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15602 Change default to "# encoding: %s" to differentiate it from the
15603 default Ruby encoding comment template.
15604
15605 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15606
15607 * ses.el (ses-mode): Doc fix. (Bug#14748)
15608
15609 2013-11-20 Leo Liu <sdl.web@gmail.com>
15610
15611 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15612
15613 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15614
15615 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15616 when rebase or bisect are in progress.
15617
15618 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15619
15620 * filenotify.el (file-notify-add-watch): Doc fix.
15621
15622 2013-11-19 Leo Liu <sdl.web@gmail.com>
15623
15624 * obsolete/rcompile.el: Mark obsolete.
15625
15626 * progmodes/compile.el (compilation-start)
15627 (compilation-goto-locus, compilation-find-file):
15628 Pass no-display-ok and handle nil value from display-buffer.
15629 (Bug#13594)
15630
15631 * window.el (display-buffer-alist, display-buffer): Document the
15632 new parameter no-display-ok. Return either a window or nil
15633 but never a non-window value.
15634
15635 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15636
15637 * electric.el (electric-indent-mode-map): Remove.
15638 (electric-indent-mode): Change the global-map instead (bug#15915).
15639
15640 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15641 Use add-function.
15642
15643 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15644
15645 * emacs-lisp/nadvice.el (remove-function): Align with
15646 add-function's behavior.
15647
15648 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15649 (gdb--string-regexp): New constant.
15650 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15651 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15652 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15653 submatch 1.
15654 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15655 Adjust use accordingly.
15656 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15657
15658 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15659
15660 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15661 interpolation curlies (Bug#15914).
15662
15663 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15664
15665 * calc/calc.el (calc-context-sensitive-enter): New variable.
15666 (calc-enter): Use `calc-context-sensitive-enter'.
15667
15668 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15669
15670 * progmodes/cfengine.el: Version bump.
15671 (cfengine-cf-promises): New defcustom to locate cf-promises.
15672 (cfengine3-vartypes): Add new "data" type.
15673 (cfengine3--current-word): New function to get current name-like
15674 word or its bounds.
15675 (cfengine3--current-function): New function to look up a CFEngine
15676 function's definition.
15677 (cfengine3-format-function-docstring): New function.
15678 (cfengine3-make-syntax-cache): New function.
15679 (cfengine3-documentation-function): New function: ElDoc glue.
15680 (cfengine3-completion-function): New function: completion glue.
15681 (cfengine3-mode): Set `compile-command',
15682 `eldoc-documentation-function', and add to
15683 `completion-at-point-functions'.
15684
15685 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
15686
15687 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15688 `tramp-current-connection'.
15689
15690 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
15691
15692 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15693 nil/self/true/false with "end of symbol".
15694
15695 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
15696
15697 * subr.el (version-regexp-alist): Fix a typo.
15698
15699 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
15700
15701 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15702 "en_US.utf8" and "LC_CTYPE" to "".
15703 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15704 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15705
15706 2013-11-15 Leo Liu <sdl.web@gmail.com>
15707
15708 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
15709
15710 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15711
15712 * progmodes/gud.el (ctl-x-map):
15713 Remove C-x SPC binding. (Bug#12342)
15714 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
15715
15716 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
15717
15718 * subr.el (version-regexp-alist):
15719 Recognize hg, svn and darcs versions as snapshot versions.
15720
15721 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
15722 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
15723 (ruby--encoding-comment-required-p): Extract from
15724 `ruby-mode-set-encoding'.
15725 (ruby-mode-set-encoding): Add the ability to always insert an
15726 utf-8 encoding comment. Fix and simplify coding comment update
15727 logic.
15728
15729 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
15730
15731 * net/tramp-gvfs.el (top): Run init code only when
15732 `tramp-gvfs-enabled' is not nil.
15733 (tramp-gvfs-enabled): Check also :system bus.
15734
15735 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15736
15737 Sync with upstream verilog-mode revision 78e66ba.
15738 * progmodes/verilog-mode.el (verilog-end-of-defun)
15739 (verilog-type-completion, verilog-get-list): Remove unused funcs.
15740 (verilog-get-end-of-defun): Remove unused argument.
15741 (verilog-comment-depth): Remove unused local `e'.
15742 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
15743 Don't pass arg to verilog-get-end-of-defun.
15744
15745 2013-11-14 Glenn Morris <rgm@gnu.org>
15746
15747 * obsolete/assoc.el (aget): Prefix dynamic variable.
15748
15749 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
15750
15751 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15752
15753 * widget.el, hfy-cmap.el: Remove bogus package version number.
15754
15755 2013-11-13 Glenn Morris <rgm@gnu.org>
15756
15757 * replace.el (replace-eval-replacement):
15758 Try to give more helpful error message. (Bug#15836)
15759
15760 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15761 (archive-7z-update): Avoid custom type mismatches.
15762
15763 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
15764
15765 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
15766
15767 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
15768 address can be empty.
15769
15770 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
15771 Accept nil SWITCHES.
15772 (tramp-gvfs-handle-write-region): Implement APPEND.
15773
15774 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
15775
15776 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
15777 binary "|" operator and closing block args delimiter.
15778 Remove FIXME comment referring to Ruby 1.8-only syntax.
15779 (ruby-smie--implicit-semi-p): Not after "|" operator.
15780 (ruby-smie--closing-pipe-p): New function.
15781 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
15782 (ruby-smie-rules): Indent after "|".
15783
15784 2013-11-12 Glenn Morris <rgm@gnu.org>
15785
15786 * ps-print.el (ps-face-attribute-list):
15787 Handle anonymous faces. (Bug#15827)
15788
15789 2013-11-12 Martin Rudalics <rudalics@gmx.at>
15790
15791 * window.el (display-buffer-other-frame): Fix doc-string.
15792 (Bug#15868)
15793
15794 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * subr.el (force-mode-line-update): Delete, move to buffer.c.
15797
15798 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
15799
15800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
15801 (tramp-sh-handle-file-local-copy): Don't write a message when
15802 saving temporary files.
15803
15804 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
15805 both directories are remote.
15806 (tramp-smb-handle-directory-files): Do not return double entries.
15807 Do not expand full file names.
15808 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
15809 (tramp-smb-handle-write-region): Implement APPEND.
15810 (tramp-smb-get-stat-capability): Fix a stupid bug.
15811
15812 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15813
15814 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
15815
15816 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15817
15818 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
15819 throwing error over malformed let/let* (bug#15814).
15820
15821 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15822
15823 * iswitchb.el (iswitchb-mode): Mark obsolete.
15824
15825 2013-11-11 Glenn Morris <rgm@gnu.org>
15826
15827 * international/uni-bidi.el, international/uni-category.el:
15828 * international/uni-name.el, international/uni-numeric.el:
15829 Regenerate for Unicode 6.3.0.
15830
15831 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
15832
15833 * net/tramp.el (tramp-methods):
15834 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
15835 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
15836
15837 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
15838
15839 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15840 Force highlighting text after Summary keyword in doc face for rpm.
15841
15842 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
15843
15844 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
15845 available and the word has no wildcards, append one to the grep pattern.
15846 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
15847 (ispell-complete-word): Call `ispell-lookup-words' with the value
15848 independent of `ispell-look-p'.
15849
15850 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15851
15852 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
15853 Not after "||".
15854 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
15855 their parent.
15856
15857 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15858
15859 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
15860 (ruby-font-lock-keywords): Use backquote.
15861
15862 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15863
15864 * progmodes/ruby-mode.el (ruby-smie--forward-token)
15865 (ruby-smie--backward-token): Only consider full-string matches.
15866
15867 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
15868
15869 * faces.el (describe-face): Add distant-foreground.
15870
15871 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
15872
15873 * progmodes/ruby-mode.el: Improve encoding comment handling.
15874 (ruby-encoding-magic-comment-style): New option.
15875 (ruby-custom-encoding-magic-comment-template): New option.
15876 (ruby--insert-coding-comment, ruby--detect-encoding):
15877 New functions extracted from `ruby-mode-set-encoding'.
15878 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
15879 to control the style of the auto-inserted encoding comment.
15880
15881 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15882
15883 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
15884 Use `smie-backward-sexp' with token argument.
15885
15886 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
15887
15888 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15889 Remove instrumentation code.
15890
15891 2013-11-08 Glenn Morris <rgm@gnu.org>
15892
15893 * progmodes/autoconf.el (autoconf-mode):
15894 Tweak comment-start-skip. (Bug#15822)
15895
15896 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15897
15898 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
15899 at bobp (bug#15826).
15900 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
15901
15902 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
15903
15904 * man.el (Man-start-calling): New macro, extracted from
15905 Man-getpage-in-background.
15906 (Man-getpage-in-background): Use it.
15907 (Man-update-manpage): New command.
15908 (Man-mode-map): Bind it.
15909
15910 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15911
15912 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
15913 of "and", "or", "&&" and "||".
15914 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
15915 argument. Prohibit opening curly brace because it could only be a
15916 block opener in that position.
15917 (ruby-smie--forward-token, ruby-smie--backward-token):
15918 Separate "|" from "&" or "*" going after it. That can happen in block
15919 arguments.
15920 (ruby-smie--indent-to-stmt): New function, seeks the end of
15921 previous statement or beginning of buffer.
15922 (ruby-smie-rules): Use it.
15923 (ruby-smie-rules): Check if there's a ":" before a curly block
15924 opener candidate; if there is, it's a hash.
15925
15926 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15927
15928 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
15929 (cl--block-wrapper): Fix last accidental change.
15930
15931 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
15932
15933 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15934 Instrument, in order to hunt failure on hydra.
15935
15936 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15937
15938 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
15939 malformed bindings form (bug#15814).
15940
15941 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
15942
15943 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
15944 "." compared to " @ ". This incidentally fixes some indentation
15945 examples with "do".
15946 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
15947 (ruby-smie-grammar): New tokens: "and" and "or".
15948 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
15949 Exclude "and" and "or". Remove "do" in order to work around token
15950 priorities.
15951 (ruby-smie-rules): Add all infix tokens. Handle the case of
15952 beginning-of-buffer.
15953
15954 2013-11-06 Glenn Morris <rgm@gnu.org>
15955
15956 * Makefile.in (setwins_almost, setwins_for_subdirs):
15957 Avoid accidental matches.
15958
15959 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15960
15961 * menu-bar.el (popup-menu): Use key-binding.
15962
15963 2013-11-06 Eli Zaretskii <eliz@gnu.org>
15964
15965 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
15966 menus, support also the menus produced by minor modes.
15967 (Bug#15817)
15968
15969 2013-11-06 Leo Liu <sdl.web@gmail.com>
15970
15971 * thingatpt.el (thing-at-point-looking-at): Add optional arg
15972 DISTANCE to bound the search. All uses changed. (Bug#15808)
15973
15974 2013-11-06 Glenn Morris <rgm@gnu.org>
15975
15976 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
15977 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
15978 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
15979
15980 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15981
15982 * electric.el (electric-indent-just-newline): New command.
15983 (electric-indent-mode-map): New keymap.
15984 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
15985 Re-add :group which weren't redundant.
15986
15987 * electric.el (electric-indent-local-mode): New minor mode.
15988 (electric-indent-functions-without-reindent): New var.
15989 (electric-indent-post-self-insert-function): Use it.
15990 * emacs-lisp/gv.el (buffer-local-value): Add setter.
15991
15992 2013-11-05 Eli Zaretskii <eliz@gnu.org>
15993
15994 * international/quail.el (quail-help): Be more explicit about the
15995 meaning of the labels shown on the keys. (Bug#15800)
15996
15997 * startup.el (normal-top-level): Load the subdirs.el files before
15998 setting the locale environment. (Bug#15805)
15999
16000 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16001
16002 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16003 via arguments so as to get the right ones (bug#15418).
16004
16005 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16006
16007 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16008
16009 Fix problems found while writing a test suite.
16010
16011 * net/tramp-compat.el (tramp-compat-load): New defun.
16012 * net/tramp.el (tramp-handle-load): Use it.
16013
16014 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16015 "(numberp ok-if-already-exists)" correctly.
16016
16017 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16018
16019 * international/characters.el (glyphless-char-display-control):
16020 Add usage note.
16021
16022 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16023
16024 * progmodes/python.el (python-mode):
16025 * progmodes/scheme.el (scheme-mode):
16026 * progmodes/prolog.el (prolog-mode):
16027 * progmodes/ruby-mode.el (ruby-mode):
16028 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16029 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16030
16031 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16032
16033 * rect.el (rectangle--highlight-for-redisplay):
16034 * emacs-lisp/smie.el (smie--next-indent-change):
16035 Use buffer-chars-modified-tick.
16036
16037 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16038
16039 * electric.el (electric-indent-post-self-insert-function):
16040 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16041
16042 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16043
16044 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16045
16046 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16047
16048 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16049 (bug#15786).
16050
16051 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16052
16053 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16054
16055 * progmodes/python.el: Fix up last change.
16056 (python-shell--save-temp-file): New function.
16057 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16058 `string' comes from the current buffer.
16059 (python-shell-send-string-no-output): Remove `msg' arg.
16060 (python--use-fake-loc): New var.
16061 (python-shell-buffer-substring): Obey it. Try to compensate for the
16062 extra coding line added by python-shell--save-temp-file.
16063 (python-shell-send-region): Use python-shell--save-temp-file and
16064 python-shell-send-file directly. Add `nomain' argument.
16065 (python-shell-send-buffer): Use python-shell-send-region.
16066 (python-electric-pair-string-delimiter): New function.
16067 (python-mode): Use it.
16068
16069 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16070
16071 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16072 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16073 environment and decoding all of the default-directory's to here
16074 from command-line.
16075 (command-line): Decode also argv[0].
16076
16077 * loadup.el: Error out if default-directory is a multibyte string
16078 when we are dumping.
16079
16080 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16081
16082 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16083
16084 * emacs-lisp/package.el (package-menu-mode)
16085 (package-menu--print-info, package-menu--archive-predicate):
16086 Add Archive column to package list.
16087
16088 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16089
16090 Fix problems found while writing a test suite.
16091
16092 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16093 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16094 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16095 to nil when running original file name handler. Otherwise,
16096 there are problems with constructs like "$$FOO".
16097
16098 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16099 for `localname'.
16100
16101 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16102
16103 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16104
16105 * subr.el (version<, version<=, version=):
16106 Update docstrings with information for snapshot versions.
16107
16108 * helpers.el: New library for misc helper functions.
16109 (hash-table-keys): New function returning a list of hash keys.
16110 (hash-table-values): New function returning a list of hash values.
16111
16112 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16113
16114 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16115 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16116
16117 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16118
16119 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16120 checking whether point is after a 1-letter word.
16121
16122 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16123
16124 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16125 Don't infloop when expanding region over `multiline' syntax-type that
16126 begins a line (bug#15778).
16127
16128 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16129
16130 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16131 Make it into a proper minor mode.
16132 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16133 (rectangle-mark-mode-map): New keymap.
16134 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16135
16136 2013-11-04 Glenn Morris <rgm@gnu.org>
16137
16138 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16139
16140 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16141
16142 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16143 (ruby-smie-rules): Use smie-rule-parent instead.
16144
16145 * emacs-lisp/smie.el (smie-rule-parent): Always call
16146 smie-indent-virtual rather than only for hanging tokens.
16147 (smie--next-indent-change): New helper command.
16148
16149 2013-11-03 Glenn Morris <rgm@gnu.org>
16150
16151 * Makefile.in (abs_srcdir): Remove.
16152 (emacs): Unset EMACSLOADPATH.
16153
16154 2013-11-02 Glenn Morris <rgm@gnu.org>
16155
16156 * Makefile.in (EMACS): Use a relative filename.
16157 (abs_top_builddir): Remove.
16158 (custom-deps, finder-data, autoloads): Use --chdir.
16159
16160 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16161
16162 Use relative filenames in TAGS files.
16163 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16164 (lisptagsfiles4, TAGS): Use relative file names.
16165 (TAGS-LISP): Remove.
16166 (maintainer-clean): No more TAGS-LISP file.
16167
16168 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16169 (lisptagsfiles4): Use absolute filenames again.
16170 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16171 Remove all *loaddefs files, not just the first. Remove esh-groups.
16172 (maintainer-clean): Delete TAGS, TAGS-LISP.
16173
16174 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16175
16176 * emacs-lisp/package.el (package-version-join):
16177 Recognize snapshot versions.
16178
16179 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16180
16181 * subr.el (version-regexp-alist): Add support for snapshot versions.
16182
16183 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16184
16185 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16186 New function, replacement for `smie-rule-parent' for when we want to
16187 skip over our direct parent if it's an assignment token..
16188 (ruby-smie-rules): Use it.
16189
16190 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16191
16192 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16193 unconditionally. Remove now unnecessary forward declarations.
16194 Remove XEmacs-specific setup.
16195 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16196 (ruby-font-lock-syntactic-keywords)
16197 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16198 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16199 (ruby-here-doc-end-syntax): Remove.
16200 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16201 defined as function.
16202
16203 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16204
16205 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16206
16207 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16208
16209 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16210 table and abbrev table, `define-derived-mode' does that for us
16211 anyway.
16212
16213 2013-11-01 Glenn Morris <rgm@gnu.org>
16214
16215 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16216 files is atomic for some time, so no parallel compilation issues).
16217
16218 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16219
16220 * faces.el (face-x-resources): Add :distant-foreground.
16221 (region): Use :distant-foreground for gtk and ns.
16222
16223 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16224
16225 Allow multiple bibliographies when BibLaTeX is used rather than
16226 BibTeX.
16227 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16228 (reftex-locate-bibliography-files): Us it.
16229
16230 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16231
16232 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16233 allow comments in pbm files.
16234
16235 * term/w32-win.el (dynamic-library-alist): Support newer versions
16236 of libjpeg starting with v7: look only for the DLL from the
16237 version against which Emacs was built.
16238 Support versions of libpng beyond 1.4.x.
16239 Support libtiff v4.x.
16240
16241 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16242
16243 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16244 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16245 Add property :safe.
16246 (ruby-deep-arglist): Add property :type.
16247
16248 2013-10-31 Glenn Morris <rgm@gnu.org>
16249
16250 * Makefile.in (custom-deps, finder-data): No need to setq the target
16251 variables, we are in the right directory and the defaults work fine.
16252
16253 2013-10-30 Glenn Morris <rgm@gnu.org>
16254
16255 * Makefile.in (autoloads): Do not use abs_lisp.
16256
16257 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16258 `newline' does not respect `standard-output', so use `princ'.
16259
16260 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16261
16262 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16263 * buff-menu.el (Buffer-menu--unmark): New function.
16264 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16265
16266 2013-10-30 Glenn Morris <rgm@gnu.org>
16267
16268 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16269
16270 * emacs-lisp/package.el (lm-homepage): Declare.
16271
16272 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16273 Fix doc typos.
16274
16275 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16276
16277 * Makefile.in (finder-data, autoloads, update-subdirs)
16278 (compile-main, compile-clean, compile-always, bootstrap-clean):
16279 Check return value of cd.
16280 (compile-calc): Remove.
16281
16282 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16283
16284 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16285
16286 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16287 (byte-compile-and-folded): New function.
16288 (=, <, >, <=, >=): Use it.
16289
16290 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16291 (path-separator, null-device, buffer-file-coding-system)
16292 (lpr-headers-switches): Check system-type before modifying them.
16293 (find-buffer-file-type-coding-system): Mark obsolete.
16294 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16295 find-file-not-found-set-buffer-file-coding-system.
16296 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16297 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16298 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16299 (w32-direct-print-region-helper, w32-direct-print-region-function)
16300 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16301 * startup.el (normal-top-level-add-subdirs-to-load-path):
16302 * ps-print.el (ps-print-region-function):
16303 * lpr.el (print-region-function): Use new name.
16304
16305 * subr.el (custom-declare-variable-early): Remove function.
16306 (custom-declare-variable-list): Remove var.
16307 (error, user-error): Remove `while' loop.
16308 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16309 (user-emacs-directory-warning, locate-user-emacs-file):
16310 Move to files.el.
16311 * simple.el (read-quoted-char-radix, read-quoted-char):
16312 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16313 Move from subr.el.
16314 * custom.el (custom-declare-variable-list): Don't process
16315 custom-declare-variable-list.
16316
16317 * progmodes/python.el (python-shell-get-buffer): New function.
16318 (python-shell-get-process): Use it.
16319 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16320 Python which encoding was used. Don't split-string since we only care
16321 about the first line. Return the temp-file, if applicable.
16322 (python-shell-send-region): Tell compile.el how to turn locations in
16323 the temp-file into locations in the source buffer.
16324
16325 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16326
16327 * subr.el (undefined): Add missing behavior from the C code for
16328 unbound keys.
16329
16330 * rect.el: Use lexical-binding. Add new rectangular region support.
16331 (rectangle-mark): New command.
16332 (rectangle--region): New var.
16333 (deactivate-mark-hook): Reset rectangle--region.
16334 (rectangle--extract-region, rectangle--insert-for-yank)
16335 (rectangle--highlight-for-redisplay)
16336 (rectangle--unhighlight-for-redisplay): New functions.
16337 (region-extract-function, redisplay-unhighlight-region-function)
16338 (redisplay-highlight-region-function): Use them to handle
16339 rectangular region.
16340 * simple.el (region-extract-function): New var.
16341 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16342 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16343 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16344 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16345 (redisplay-unhighlight-region-function)
16346 (redisplay-highlight-region-function): New vars.
16347 (redisplay--update-region-highlight): New function.
16348 (pre-redisplay-function): Use it.
16349 (exchange-point-and-mark): Don't deactivate the mark before
16350 reactivate-it anyway.
16351 * comint.el (comint-kill-region): Remove yank-handler argument.
16352 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16353 (delete-char): Remove property, since it's now part of their
16354 default behavior.
16355 (self-insert-iso): Remove property since this command doesn't exist.
16356
16357 * emacs-lisp/package.el (package--download-one-archive)
16358 (describe-package-1): Don't query the user about final newline.
16359
16360 2013-10-29 Daniel Colascione <dancol@dancol.org>
16361
16362 * net/tramp.el (tramp-methods): Document new functionality.
16363 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16364 tramp-hostname-checker if method provides one instead of scanning
16365 argument list for "%h" to decide hostname acceptability.
16366
16367 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16368
16369 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16370 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16371 Handle COPY-CONTENTS. (Bug#15737)
16372
16373 2013-10-28 Daiki Ueno <ueno@gnu.org>
16374
16375 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16376 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16377
16378 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16379
16380 * image.el (defimage, image-load-path): Doc fixes.
16381
16382 2013-10-27 Alan Mackenzie <acm@muc.de>
16383
16384 Indent statements in macros following "##" correctly.
16385 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16386 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16387
16388 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16389
16390 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16391
16392 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16393
16394 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16395 after `=' is probably a new expression.
16396
16397 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16398
16399 * man.el (man-imenu-title): New option.
16400 (Man-mode-map): Add menu. (Bug#15722)
16401 (Man-mode): Add imenu to menu.
16402
16403 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16404
16405 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16406 specific in what the first arg can be: a non-keyword word,
16407 string/regexp/percent literal opener, opening paren, or unary
16408 operator followed directly by word.
16409
16410 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16411
16412 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16413 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16414 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16415 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16416 Remove vars, they do not apply any more.
16417 (prolog-mode-abbrev-table): Remove redundant declaration.
16418 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16419 (prolog-use-smie): Remove.
16420 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16421 supported by prolog-electric-if-then-else-flag.
16422 (prolog-mode-variables, prolog-menu): Use setq-local.
16423 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16424 Remove binding to `Backspace' since this key doesn't exist anyway.
16425 Remove bindings for electric self-inserting keys.
16426 (prog-mode): Assume it's defined.
16427 (prolog-post-self-insert): New function.
16428 (prolog-mode): Use it.
16429 (prolog-indent-line, prolog-indent-level)
16430 (prolog-find-indent-of-matching-paren)
16431 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16432 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16433 (prolog-goto-next-paren, prolog-in-string-or-comment)
16434 (prolog-tokenize, prolog-inside-mline-comment)
16435 (prolog-find-start-of-mline-comment): Remove functions.
16436 (prolog-find-unmatched-paren, prolog-clause-end)
16437 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16438 (prolog-electric--if-then-else): Rename from
16439 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16440 (prolog-tokenize-searchkey): Remove const.
16441 (prolog-clause-info): Use forward-sexp.
16442 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16443 (prolog-electric-if-then-else): Remove commands.
16444 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16445 for use in post-self-insert-hook.
16446 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16447 for use in post-self-insert-hook.
16448 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16449 for use in post-self-insert-hook.
16450 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16451 adapt it for use in post-self-insert-hook.
16452
16453 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16454
16455 * emacs-lisp/ert.el (ert-run-tests-interactively):
16456 Use `completing-read'. (Bug#9756)
16457
16458 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16459
16460 * simple.el (line-move): Call line-move-1 instead of
16461 line-move-visual when the current window hscroll is zero, but
16462 temporary-goal-column indicates we will need to hscroll as result
16463 of the movement. (Bug#15712)
16464
16465 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16466
16467 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16468 capitalization. Use :visible instead of :active.
16469 Fix `ruby-indent-exp' reference. Add menu items for the generic
16470 commands that are used with SMIE.
16471 (ruby-do-end-to-brace): Insert space after `{'.
16472
16473 2013-10-25 John Anthony <john@jo.hnanthony.com>
16474
16475 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16476
16477 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16478
16479 2013-10-25 Glenn Morris <rgm@gnu.org>
16480
16481 * vc/vc.el (vc-print-log): Don't use a working revision unless
16482 one was explicitly specified. (Bug#15322)
16483
16484 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16485
16486 * subr.el (add-to-list): Preserve return value in compiler-macro
16487 (bug#15692).
16488
16489 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16490
16491 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16492 result. Ask user to retry using '-all' flag. (Bug#15701)
16493
16494 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16495
16496 * emacs-lisp/smie.el: New smie-config system.
16497 (smie-config): New defcustom.
16498 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16499 (smie-config-guess, smie-config-save): New commands.
16500 (smie-config--mode-local, smie-config--buffer-local)
16501 (smie-config--trace, smie-config--modefuns): New vars.
16502 (smie-config--advice, smie-config--mode-hook)
16503 (smie-config--setter, smie-config-local, smie-config--get-trace)
16504 (smie-config--guess-value, smie-config--guess): New functions.
16505 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16506 text properties. Treat "string fence" syntax like string syntax.
16507
16508 * progmodes/sh-script.el (sh-use-smie): Change default.
16509 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16510 (sh-var-value): Simplify by CSE.
16511 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16512 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16513 is used.
16514 (sh-guess-basic-offset): Use cl-incf.
16515 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16516
16517 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16518
16519 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16520 (bug#15699).
16521
16522 2013-10-24 Glenn Morris <rgm@gnu.org>
16523
16524 * Makefile.in (abs_top_srcdir): Remove.
16525 (update-subdirs): Use relative path to update-subdirs.
16526
16527 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16528
16529 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16530 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16531 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16532 Call unmsys--file-name before expand-file-name, not after it.
16533
16534 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16535
16536 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16537 (ert-test-skipped): New error.
16538 (ert-skip, ert-stats-skipped): New defuns.
16539 (ert--skip-unless): New macro.
16540 (ert-test-skipped): New struct.
16541 (ert--run-test-debugger, ert-test-result-type-p)
16542 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16543 (ert--stats-set-test-and-result, ert-char-for-test-result)
16544 (ert-string-for-test-result, ert-run-tests-batch)
16545 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16546 Handle skipped tests. (Bug#9803)
16547
16548 2013-10-24 Glenn Morris <rgm@gnu.org>
16549
16550 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16551
16552 * Makefile.in (abs_top_srcdir): New, set by configure.
16553 (update-subdirs): Correct build-aux location.
16554
16555 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16556
16557 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16558 value, whether we could auto-deduce `backend', or not.
16559
16560 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16561 with parameters" example. Simplify the "is it block or is it
16562 hash" check, but also make it more thorough.
16563
16564 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16565
16566 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16567
16568 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16569
16570 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16571 { if it is hanging.
16572
16573 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16574 :before ";".
16575
16576 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16577
16578 * progmodes/compile.el (compilation-directory-matcher)
16579 (compilation-page-delimiter):
16580 Support GNU Make-4.0 directory quoting. (Bug#15678)
16581
16582 2013-10-23 Leo Liu <sdl.web@gmail.com>
16583
16584 * ido.el (ido-tidy): Handle read-only text.
16585
16586 2013-10-23 Glenn Morris <rgm@gnu.org>
16587
16588 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16589 (emacs, compile, compile-always):
16590 Quote entities that might contain whitespace.
16591 (custom-deps, finder-data, autoloads): Use abs_lisp.
16592 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16593 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16594 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16595
16596 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16597
16598 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16599 Use `following-char'.
16600
16601 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16604 * progmodes/ruby-mode.el (ruby-smie-rules):
16605 Remove corresponding workaround. Fix indentation rule of ";" so it
16606 also applies when ";" is the parent.
16607
16608 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16609
16610 * frame.el (display-screens, display-pixel-height)
16611 (display-pixel-width, display-mm-width, display-backing-store)
16612 (display-save-under, display-planes, display-color-cells)
16613 (display-visual-class, display-monitor-attributes-list):
16614 Mention the optional ‘display’ argument in doc strings.
16615
16616 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16617
16618 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16619 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16620
16621 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16622
16623 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16624 TODO. Add "." after " @ ".
16625 (ruby-smie--at-dot-call): New function. Checks if point at method
16626 call with explicit target.
16627 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16628 to the method name tokens when it precedes them.
16629 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16630 (ruby-smie-rules): Add rule for indentation before and after "."
16631 token.
16632
16633 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16634
16635 * textmodes/remember.el (remember-diary-extract-entries):
16636 Avoid add-to-list.
16637
16638 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16639 an instruction.
16640
16641 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16642
16643 * progmodes/ruby-mode.el (ruby-smie-grammar):
16644 Add (almost) all infix operators.
16645 (ruby-smie--implicit-semi-p): Add new operator chars.
16646
16647 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16648 `smie-down-list'.
16649 (ruby-smie--args-separator-p): Check that there's no newline
16650 between method call and its arguments.
16651
16652 2013-10-20 Alan Mackenzie <acm@muc.de>
16653
16654 Allow comma separated lists after Java "implements".
16655
16656 * progmodes/cc-engine.el (c-backward-over-enum-header):
16657 Parse commas.
16658 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16659 from a "disallowed" list in enum fontification.
16660
16661 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16662
16663 * startup.el (default-frame-background-mode): Remove unused defvar.
16664
16665 * progmodes/verilog-mode.el (verilog-mode): Don't set
16666 comment-indent-function globally.
16667
16668 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16669
16670 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16671 Move Info menu item creation to ns-win.el.
16672
16673 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16674 in menu bar.
16675
16676 * menu-bar.el: Move GNUstep specific menus...
16677
16678 * term/ns-win.el (ns-initialize-window-system): ... to here.
16679
16680 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16681
16682 * simple.el (newline): Only run post-self-insert-hook when
16683 called interactively.
16684
16685 2013-10-19 Johan Bockgård <bojohan@gnu.org>
16686
16687 * icomplete.el (icomplete-with-completion-tables): Add :version.
16688
16689 2013-10-19 Alan Mackenzie <acm@muc.de>
16690
16691 Fix fontification bugs with constructors and const.
16692
16693 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16694 CASE 2) Remove the check for the absence of a suffix construct
16695 after a function declaration with only types (no identifiers) in
16696 the parentheses. Also, accept a function declaration with just a
16697 type inside the parentheses, if this type can be positively
16698 recognised as such, or if a prefix keyword like "explicit" nails
16699 down the construct as a declaration.
16700
16701 2013-10-19 Eli Zaretskii <eliz@gnu.org>
16702
16703 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16704 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
16705 the problem whereby selecting a menu item that leads to a
16706 minibuffer prompt moves the cursor out of the minibuffer window,
16707 making it hard to type at the prompt. Suggested by Stefan Monnier
16708 <monnier@iro.umontreal.ca>.
16709
16710 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
16711
16712 * menu-bar.el: Don't make Services menu.
16713
16714 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16715
16716 * ffap.el: Handle "/usr/include/c++/<version>" directories.
16717 (ffap-alist): Use ffap-c++-mode for c++-mode.
16718 (ffap-c++-path): New variable.
16719 (ffap-c++-mode): New function.
16720
16721 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
16722
16723 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
16724
16725 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
16726
16727 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
16728 introduced on 2013-09-08, which results in an infinite loop
16729 requesting a password.
16730
16731 2013-10-18 Glenn Morris <rgm@gnu.org>
16732
16733 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
16734
16735 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
16736
16737 Sync with upstream verilog-mode revision 1a6ecec7.
16738 * progmodes/verilog-mode.el (verilog-mode-version): Update.
16739 (verilog-mode-release-date): Remove.
16740 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
16741 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
16742 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
16743 (verilog-auto-tieoff-ignore-regexp)
16744 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
16745 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
16746 (verilog-signals-with, verilog-dir-cache-preserving)
16747 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
16748 Doc fixes.
16749 (verilog-case-fold): New option, to control case folding in
16750 regexp searches, bug597.
16751 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
16752 (verilog-string-match-fold, verilog-in-paren-count)
16753 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
16754 (verilog-at-close-struct-p): New functions.
16755 (verilog-beg-block-re-ordered, verilog-extended-case-re)
16756 (verilog-forward-sexp, verilog-set-auto-endcomments)
16757 (verilog-leap-to-case-head): Handle "unique0" case.
16758 (verilog-in-constraint-re): New constant.
16759 (verilog-keywords, verilog-type-font-keywords):
16760 Add some SystemVerilog 1800-2012 keywords.
16761 (verilog-label-be): Remove unimplemented argument, bug669.
16762 (verilog-batch-execute-func): When batch expanding clear
16763 create-lockfiles to prevent spurious user locks when a file ends
16764 up not changing.
16765 (verilog-calculate-indent, verilog-calc-1)
16766 (verilog-at-close-constraint-p, verilog-at-constraint-p)
16767 (verilog-do-indent): Fix indentation of nested constraints
16768 and structures.
16769 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
16770 (verilog-auto-inst-param): Use verilog-string-match-fold.
16771 (verilog-read-inst-module-matcher):
16772 Fix AUTOINST on gate primitives with #1.
16773 (verilog-read-decls): Fix double-declaring user-defined typed signals.
16774 Reads all user-defined typed variables.
16775 (verilog-read-defines): Fix reading definitions inside comments, bug647.
16776 (verilog-signals-matching-regexp)
16777 (verilog-signals-not-matching-regexp, verilog-auto):
16778 Respect verilog-case-fold.
16779 (verilog-diff-report): Fix line count.
16780 (verilog-auto-assign-modport): Remove unused local `modi'.
16781 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
16782 better handle multidimensional arrays.
16783 Fix packed array ports misadding bit index in AUTOINST, bug637.
16784 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
16785 to not double-declare existing outputs and inputs, respectively.
16786 (verilog-template-map): Bind U to verilog-sk-uvm-component.
16787 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
16788 (verilog-sk-uvm-component): New skeleton.
16789 (verilog-submit-bug-report): Add verilog-case-fold,
16790 remove verilog-mode-release-date.
16791
16792 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
16793
16794 * subr.el (sit-for): Call (input-pending-p t) so as to behave
16795 as before.
16796
16797 2013-10-18 Reuben Thomas <rrt@sc3d.org>
16798
16799 * textmodes/remember.el (remember): Set buffer-offer-save in
16800 remember buffers (bug#13566).
16801
16802 2013-10-18 Daniel Colascione <dancol@dancol.org>
16803
16804 When evaluating forms in ielm, direct standard output to ielm
16805 buffer. Add new ielm-return-for-effect command. Remove trailing
16806 whitespace throughout.
16807
16808 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
16809 (ielm-return-for-effect): New command.
16810 (ielm-send-input): Accept optional `for-effect' parameter.
16811 (ielm-eval-input): Accept optional `for-effect' parameter.
16812 Bind `standard-output' to stream we create using
16813 `ielm-standard-output-impl'. Suppress printing result when
16814 `for-effect'.
16815 (ielm-standard-output-impl): New function.
16816 (inferior-emacs-lisp-mode): Explain new features in documentation.
16817
16818 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
16819
16820 Code cleanup.
16821
16822 * net/tramp.el (tramp-debug-message): Do not check for connection
16823 buffer.
16824 (tramp-message): Use "vector" connection property.
16825
16826 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
16827 (tramp-equal-remote, tramp-eshell-directory-change)
16828 * net/tramp-adb.el (tramp-adb-handle-copy-file)
16829 (tramp-adb-handle-rename-file)
16830 * net/tramp-cmds.el (tramp-list-remote-buffers)
16831 (tramp-cleanup-connection, tramp-cleanup-this-connection)
16832 * net/tramp-compat.el (tramp-compat-process-running-p)
16833 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
16834 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
16835 (tramp-gvfs-handle-rename-file)
16836 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16837 (tramp-set-file-uid-gid)
16838 * net/tramp-smb.el (tramp-smb-handle-copy-file)
16839 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
16840 of `file-remote-p'.
16841
16842 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
16843 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16844 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
16845 (tramp-gw-open-network-stream): Suppress unrelated traces.
16846
16847 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
16848 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16849 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16850 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
16851 connection property.
16852
16853 * net/tramp-cache.el (top): Suppress traces when reading
16854 persistency file.
16855
16856 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16857 Refactor common code. Improve debug message.
16858 (tramp-maybe-open-connection)
16859 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
16860 connection buffer too early.
16861
16862 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
16863 from `tramp-smb-actions-with-acl'.
16864 (tramp-smb-actions-set-acl): New defconst.
16865 (tramp-smb-handle-copy-directory)
16866 (tramp-smb-action-get-acl): New defun, renamed from
16867 `tramp-smb-action-with-acl'.
16868 (tramp-smb-action-set-acl): New defun.
16869 (tramp-smb-handle-set-file-acl): Rewrite.
16870
16871 2013-10-17 Glenn Morris <rgm@gnu.org>
16872
16873 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
16874
16875 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16876
16877 * skeleton.el (skeleton-newline): Remove.
16878 (skeleton-internal-1): Use (insert "\n") instead.
16879
16880 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
16881 let-bindings.
16882
16883 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
16884 forward-sexp-function while we redo its job (bug#15613).
16885
16886 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
16887
16888 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
16889 represented by lists.
16890
16891 2013-10-16 Glenn Morris <rgm@gnu.org>
16892
16893 * tmm.el (tmm--history): New dynamic variable.
16894 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
16895
16896 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
16897
16898 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
16899 (tramp-smb-errors): Add error messages.
16900 (tramp-smb-actions-with-acl): New defconst.
16901 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
16902 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
16903 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
16904 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
16905 (tramp-smb-get-stat-capability): Fix tests.
16906
16907 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
16908
16909 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
16910 (bug#15580).
16911
16912 2013-10-16 Glenn Morris <rgm@gnu.org>
16913
16914 * ansi-color.el (ansi-color-drop-regexp):
16915 Add 1J, 1K, 2K. (Bug#15617)
16916
16917 * files.el (hack-local-variables--warned-lexical): New.
16918 (hack-local-variables):
16919 Warn about misplaced lexical-binding. (Bug#15616)
16920
16921 * net/eww.el (eww-render): Always set eww-current-url,
16922 and update header line. (Bug#15622)
16923 (eww-display-html): ... Rather than just doing it here.
16924
16925 2013-10-15 Eli Zaretskii <eliz@gnu.org>
16926
16927 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
16928 menu navigations commands.
16929
16930 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
16931
16932 * progmodes/subword.el (subword-capitalize): Be careful when
16933 the search for [[:alpha:]] fails (bug#15580).
16934
16935 2013-10-14 Eli Zaretskii <eliz@gnu.org>
16936
16937 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
16938 to commands that scroll the menu.
16939
16940 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
16941
16942 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
16943 Handle methods ending with `?' and `!'.
16944
16945 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
16946
16947 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
16948 `japanese-cp932' to `cp932' to fix the problem where saving a
16949 source file written in Shift_JIS twice would end up having
16950 `coding: japanese-cp932' which Ruby could not recognize.
16951 (ruby-mode-set-encoding): Add support for encodings mapped to nil
16952 in `ruby-encoding-map'.
16953 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
16954 doesn't need to be explicitly declared in magic comment.
16955 (ruby-encoding-map): Add type declaration for better customize UI.
16956
16957 2013-10-13 Glenn Morris <rgm@gnu.org>
16958
16959 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
16960 Occur buffers are read-only. http://bugs.debian.org/720775
16961
16962 * emacs-lisp/authors.el (authors-fixed-entries):
16963 Comment out old alpha stuff.
16964
16965 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
16966
16967 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
16968 to `after-save-hook' instead of `before-save-hook'.
16969 (ruby-mode-set-encoding): Use the value of coding system used to
16970 write the file. Call `basic-save-buffer-1' after modifying the
16971 buffer.
16972
16973 2013-10-13 Alan Mackenzie <acm@muc.de>
16974
16975 Fix indentation/fontification of Java enum with
16976 "implements"/generic.
16977
16978 * progmodes/cc-engine.el (c-backward-over-enum-header):
16979 Extracted from the three other places and enhanced to handle generics.
16980 (c-inside-bracelist-p): Uses new function above.
16981 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
16982 function above.
16983 (c-font-lock-enum-tail): Uses new function above.
16984
16985 2013-10-13 Kenichi Handa <handa@gnu.org>
16986
16987 * international/mule-cmds.el (select-safe-coding-system): Remove a
16988 superfluous condition in chekcing whether a coding system is safe
16989 or not.
16990
16991 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16992
16993 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
16994
16995 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
16996
16997 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
16998
16999 2013-10-13 Glenn Morris <rgm@gnu.org>
17000
17001 * menu-bar.el (menu-bar-update-buffers):
17002 Unify Buffers menu prompt string. (Bug#15576)
17003
17004 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17005
17006 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17007 Add some entries.
17008 (authors-fixed-entries): Use accented form of name.
17009
17010 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17011
17012 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17013 method calls (bug#15594).
17014 (ruby-smie--args-separator-p): New function.
17015 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17016 recognize paren-free method calls.
17017
17018 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17019 internals of universal-argument.
17020
17021 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17022
17023 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17024 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17025 dropped menu on second mouse click on the menu bar.
17026
17027 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17028
17029 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17030 (explicit-shell-file-name): Declare.
17031 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17032 (sh-completion-at-point-function): New function.
17033 (sh-mode): Use it.
17034 (sh-smie--keyword-p): Remove unused argument.
17035 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17036 vars.
17037 (sh-set-shell): Always setup SMIE, even if we use the
17038 old indentation code.
17039
17040 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17041
17042 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17043 cases of ? and =.
17044 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17045 predicate would return nil are almost non-existent.
17046 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17047
17048 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17049 cache also after commands that modify the buffer but don't move
17050 point.
17051
17052 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17053
17054 * env.el (substitute-env-in-file-name): New function.
17055 (substitute-env-vars): Extend the meaning of the optional arg.
17056
17057 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17058
17059 * term/w32-win.el (dynamic-library-alist): Define separate lists
17060 of GIF DLLs for versions before and after 5.0.0 of giflib.
17061 (Bug#15531)
17062
17063 2013-10-10 João Távora <joaotavora@gmail.com>
17064
17065 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17066 not locked, use last revision and current source as
17067 defaults. (Bug#15569)
17068
17069 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17070
17071 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17072 menu-bar is hidden.
17073
17074 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17075
17076 * window.el (pop-to-buffer-same-window): Fix doc-string.
17077 (Bug#15492)
17078
17079 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17082
17083 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17084
17085 * calendar/icalendar.el (icalendar-import-file):
17086 Fix interactive spec. (Bug#15482)
17087
17088 2013-10-10 Glenn Morris <rgm@gnu.org>
17089
17090 * desktop.el (desktop-save): Default to saving in .emacs.d,
17091 since PWD is no longer in desktop-path by default. (Bug#15319)
17092
17093 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17094 now that text mode has a menu with the same entry.
17095 (menu-bar-text-mode-auto-fill): Remove now unused func.
17096 * textmodes/text-mode.el (text-mode-map):
17097 Use auto-fill help text from menu-bar.el.
17098
17099 2013-10-10 John Anthony <john@jo.hnanthony.com>
17100
17101 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17102
17103 2013-10-09 Juri Linkov <juri@jurta.org>
17104
17105 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17106 instead of this-command-keys. Add universal-argument-more and
17107 universal-argument-minus to the list of prefix commands. (Bug#15568)
17108
17109 2013-10-09 Glenn Morris <rgm@gnu.org>
17110
17111 * vc/vc-svn.el (vc-svn-create-repo):
17112 Expand paths in file://... url. (Bug#15446)
17113
17114 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17115 Add some entries.
17116 (authors): Remove unused local variables.
17117
17118 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17119
17120 * profiler.el: Create a more coherent calltree from partial backtraces.
17121 (profiler-format): Hide the tail with `invisible' so that C-s can still
17122 find the hidden elements.
17123 (profiler-calltree-depth): Don't recurse so enthusiastically.
17124 (profiler-function-equal): New hash-table-test.
17125 (profiler-calltree-build-unified): New function.
17126 (profiler-calltree-build): Use it.
17127 (profiler-report-make-name-part): Indent the calltree less.
17128 (profiler-report-mode): Add visibility specs for profiler-format.
17129 (profiler-report-expand-entry, profiler-report-toggle-entry):
17130 Expand the whole subtree when provided with a prefix arg.
17131
17132 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17133
17134 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17135 iuwu-mod token.
17136 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17137 hanging iuwu-mod token.
17138 (ruby-smie--forward-token): Do not include a dot after a token in
17139 that token.
17140 (ruby-smie--backward-token): Likewise.
17141
17142 2013-10-08 Juri Linkov <juri@jurta.org>
17143
17144 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17145 to isearch-other-control-char.
17146 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17147 and isearch-post-command-hook to post-command-hook.
17148 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17149 and isearch-post-command-hook from post-command-hook.
17150 (isearch-unread-key-sequence)
17151 (isearch-reread-key-sequence-naturally)
17152 (isearch-lookup-scroll-key, isearch-other-control-char)
17153 (isearch-other-meta-char): Remove functions.
17154 (isearch-pre-command-hook, isearch-post-command-hook):
17155 New functions based on isearch-other-meta-char rewritten
17156 relying on the new behavior of overriding-terminal-local-map
17157 that does not replace the local keymaps any more. (Bug#15200)
17158
17159 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17160
17161 Support menus on text-mode terminals.
17162 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17163 functionality.
17164
17165 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17166
17167 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17168 Move here from mouse.el.
17169 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17170 and arrow keys.
17171 (tty-menu-navigation-map): New map for TTY menu navigation.
17172
17173 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17174
17175 * frame.el (display-mouse-p): Report text-mode mouse as available
17176 on w32.
17177 (display-popup-menus-p): Report availability if mouse is
17178 available; don't condition on window-system.
17179
17180 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17181 (tty-menu-selected-face): New faces.
17182
17183 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17184
17185 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17186 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17187 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17188 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17189 New constants.
17190 (lisp-mode-variables): New `elisp' argument.
17191 (emacs-lisp-mode): Use it.
17192 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17193 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17194
17195 * indent.el: Use lexical-binding.
17196 (indent-region): Add progress reporter.
17197 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17198 last step.
17199 (indent--next-tab-stop): New function to implement this behavior.
17200 (tab-to-tab-stop, move-to-tab-stop): Use it.
17201
17202 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17203
17204 * indent.el (indent-rigidly--current-indentation): New function.
17205 (indent-rigidly-map): New var.
17206 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17207
17208 2013-10-08 Bastien Guerry <bzg@gnu.org>
17209
17210 * register.el (insert-register): Fix 2013-10-07 change.
17211
17212 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17213
17214 * progmodes/perl-mode.el: Use lexical-binding.
17215 Remove redundant :group args.
17216 (perl-nochange): Change default to be closer to other major modes's
17217 standard behavior.
17218 (perl-indent-line): Don't consider text on current line as a
17219 valid beginning of function from which to indent.
17220
17221 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17222 with more than one argument (bug#15538).
17223
17224 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17225
17226 * vc/pcvs.el: Use lexical-binding.
17227 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17228 environment of `eval'.
17229 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17230 than a list of expressions. Adjust callers.
17231 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17232
17233 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17234
17235 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17236 case of the dot in a chained method call being on the following line.
17237
17238 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17239
17240 * electric.el (electric-indent-inhibit): New var.
17241 (electric-indent-post-self-insert-function): Use it.
17242 * progmodes/python.el (python-mode): Set it.
17243
17244 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17245 open braces.
17246
17247 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17248
17249 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17250 (css-mode): Use electric-indent-chars.
17251
17252 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17253 (font-lock-beg, font-lock-end): Move before first use.
17254 (nxml-mode): Use syntax-propertize-function.
17255 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17256 (nxml-extend-after-change-region): Remove.
17257 * nxml/xmltok.el: Use lexical-binding.
17258 (xmltok-save): Use `declare'.
17259 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17260 * nxml/nxml-util.el: Use lexical-binding.
17261 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17262 Use `declare'.
17263 * nxml/nxml-ns.el: Use lexical-binding.
17264 (nxml-ns-save): Use `declare'.
17265 (nxml-ns-prefixes-for): Avoid add-to-list.
17266 * nxml/rng-match.el: Use lexical-binding.
17267 (rng--ipattern): Use cl-defstruct.
17268 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17269 (rng-cons-group-after, rng-subst-group-after)
17270 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17271 Use closures instead of `(lambda...).
17272
17273 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17274
17275 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17276 of BEG and END.
17277
17278 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17279 Use `tramp-handle-insert-file-contents'.
17280 (tramp-gvfs-handle-insert-file-contents): Remove function.
17281
17282 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17283 Use `save-restriction' in order to keep markers.
17284
17285 * net/trampver.el: Update release number.
17286
17287 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17288
17289 * progmodes/compile.el (compilation-parse-errors):
17290 Use compilation--put-prop.
17291 (compilation--ensure-parse): Check compilation-multiline.
17292
17293 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17294
17295 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17296 lexical-binding.
17297
17298 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17299
17300 * progmodes/ruby-mode.el: Fix recently added tests.
17301 (ruby-smie-grammar): Add - and +.
17302 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17303 (ruby-smie--backward-id): New functions.
17304 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17305 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17306 any more.
17307
17308 2013-10-07 Leo Liu <sdl.web@gmail.com>
17309
17310 * register.el (register-preview-delay)
17311 (register-preview-functions): New variables.
17312 (register-read-with-preview, register-preview)
17313 (register-describe-oneline): New functions.
17314 (point-to-register, window-configuration-to-register)
17315 (frame-configuration-to-register, jump-to-register)
17316 (number-to-register, view-register, insert-register)
17317 (copy-to-register, append-to-register, prepend-to-register)
17318 (copy-rectangle-to-register): Use register-read-with-preview to
17319 read register. (Bug#15525)
17320
17321 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17322
17323 * net/network-stream.el (network-stream-open-starttls): Don't add
17324 --insecure if it's already present, because that gnutls-cli
17325 rejects getting that parameter twice.
17326
17327 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17328
17329 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17330 keyword, too.
17331
17332 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17333
17334 * newcomment.el (comment-use-global-state): Change default value
17335 to t, mark obsolete (Bug#15251).
17336 (comment-beginning): In addition to `comment-to-syntax', check the
17337 value of `comment-use-global-state'.
17338
17339 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17340
17341 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17342 (ruby-comment-column): Follow the global default, by default.
17343 (ruby-smie-grammar): Add assignment syntax.
17344 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17345 open-paren, a comma, or a \.
17346 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17347 and line continuations.
17348 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17349 followed by implicit semi-colons. Add rule for string concatenation
17350 and for indentation at BOB.
17351 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17352
17353 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17354 calling next-sexp, since next-token may have skipped chars which
17355 next-sexp doesn't know should be skipped!
17356
17357 2013-10-05 Leo Liu <sdl.web@gmail.com>
17358
17359 * progmodes/octave.el (octave-send-region):
17360 Call compilation-forget-errors.
17361
17362 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17363
17364 * vc/vc-svn.el (vc-svn-find-admin-dir):
17365 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17366 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17367 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17368 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17369
17370 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17371
17372 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17373
17374 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17375
17376 * subr.el (read-passwd): Hide chars even when called within a context
17377 where after-change-functions is disabled (bug#15501).
17378 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17379 until we removed ourself from overriding-terminal-local-map.
17380
17381 2013-10-04 Leo Liu <sdl.web@gmail.com>
17382
17383 * progmodes/octave.el (inferior-octave-mode):
17384 Call compilation-forget-errors.
17385
17386 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17387
17388 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17389
17390 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17391
17392 * net/secrets.el (secrets-create-collection): Add optional
17393 argument ALIAS. Use proper Label keyword. Append ALIAS as
17394 dbus-call-method argument. (Bug#15516)
17395
17396 2013-10-04 Leo Liu <sdl.web@gmail.com>
17397
17398 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17399 (inferior-octave-compilation-font-lock-keywords): New variables.
17400 (compilation-error-regexp-alist)
17401 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17402 (inferior-octave-mode): Use compilation-shell-minor-mode.
17403
17404 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17405
17406 * minibuffer.el (completion--replace): Be careful that `end' might be
17407 a marker.
17408
17409 2013-10-03 Daiki Ueno <ueno@gnu.org>
17410
17411 Add support for package signature checking.
17412 * emacs-lisp/package.el (url-http-file-exists-p)
17413 (epg-make-context, epg-context-set-home-directory)
17414 (epg-verify-string, epg-context-result-for)
17415 (epg-signature-status, epg-signature-to-string)
17416 (epg-check-configuration, epg-configuration)
17417 (epg-import-keys-from-file): Declare.
17418 (package-check-signature): New user option.
17419 (package-unsigned-archives): New user option.
17420 (package-desc): Add `signed' field.
17421 (package-load-descriptor): Set `signed' field if .signed file exists.
17422 (package--archive-file-exists-p): New function.
17423 (package--check-signature): New function.
17424 (package-install-from-archive): Check package signature.
17425 (package--download-one-archive): Check archive signature.
17426 (package-delete): Remove .signed file.
17427 (package-import-keyring): New command.
17428 (package-refresh-contents): Import default keyring.
17429 (package-desc-status): Add "unsigned" status.
17430 (describe-package-1, package-menu--print-info)
17431 (package-menu-mark-delete, package-menu--find-upgrades)
17432 (package-menu--status-predicate): Support "unsigned" status.
17433
17434 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17435
17436 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17437 the new compilation scheme using the new byte-codes.
17438
17439 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17440 (byte-pophandler): New byte codes.
17441 (byte-goto-ops): Adjust accordingly.
17442 (byte-compile--use-old-handlers): New var.
17443 (byte-compile-catch): Use new byte codes depending on
17444 byte-compile--use-old-handlers.
17445 (byte-compile-condition-case--old): Rename from
17446 byte-compile-condition-case.
17447 (byte-compile-condition-case--new): New function.
17448 (byte-compile-condition-case): New function that dispatches depending
17449 on byte-compile--use-old-handlers.
17450 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17451 when we can.
17452
17453 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17454 Optimize under `condition-case' and `catch' if
17455 byte-compile--use-old-handlers is nil.
17456 (disassemble-offset): Handle new bytecodes.
17457
17458 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17459
17460 * subr.el (error): Use `declare'.
17461 (decode-char, encode-char): Use advertised-calling-convention instead
17462 of the docstring to discourage use of the `restriction' arg.
17463
17464 2013-10-03 Daiki Ueno <ueno@gnu.org>
17465
17466 * epg.el (epg-verify-file): Add a comment saying that it does not
17467 notify verification error as a return value nor a signal.
17468 (epg-verify-string): Ditto.
17469
17470 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17471
17472 * progmodes/compile.el (compilation-start): Try globbing the arg to
17473 `cd' (bug#15417).
17474
17475 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17476
17477 Sync with Tramp 2.2.8.
17478
17479 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17480 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17481 * net/trampver.el: Update release number.
17482
17483 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17484
17485 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17486 and default-process-coding-system for darwin only.
17487
17488 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17489
17490 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17491
17492 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17493
17494 * vc/vc-git.el (vc-git-grep): Disable pager.
17495
17496 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17497
17498 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17499 Use :url instead of :homepage, as per
17500 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17501
17502 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17503 non-nil, use `syntax-ppss' (Bug#15251).
17504
17505 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17506
17507 * progmodes/octave.el (inferior-octave-startup-file):
17508 Prefer ~/.emacs.d/init_octave.m.
17509
17510 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17511
17512 * emacs-lisp/package.el (package-desc-from-define):
17513 Accept additional arguments as plist, convert them to an alist and store
17514 them in the `extras' slot.
17515 (package-generate-description-file): Convert extras alist back to
17516 plist and append to the `define-package' form arguments.
17517 (package--alist-to-plist): New function.
17518 (package--ac-desc): Add `extras' slot.
17519 (package--add-to-archive-contents): Check if the archive-contents
17520 vector is long enough, and if it is, pass its `extras' slot value
17521 to `package-desc-create'.
17522 (package-buffer-info): Call `lm-homepage', pass the returned value
17523 to `package-desc-from-define'.
17524 (describe-package-1): Render the homepage button (Bug#13291).
17525
17526 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17527 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17528
17529 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17530
17531 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17532 and default-process-coding-system to utf-8-unix (Bug#15402).
17533
17534 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17535
17536 * subr.el (looking-back): Do not recommend using looking-back.
17537
17538 2013-09-28 Alan Mackenzie <acm@muc.de>
17539
17540 Fix indentation/fontification of Java enum with "implements".
17541
17542 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17543 regexp which matches "implements", etc., in Java.
17544 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17545 specifier clauses coming after "enum".
17546 * progmodes/cc-fonts.el (c-font-lock-declarations)
17547 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17548 after "enum".
17549
17550 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17551
17552 * faces.el (region): Change ns_selection_color to
17553 ns_selection_fg_color, add ns_selection_bg_color.
17554
17555 2013-09-28 Leo Liu <sdl.web@gmail.com>
17556
17557 * progmodes/octave.el (inferior-octave-completion-table)
17558 (inferior-octave-completion-at-point): Minor tweaks.
17559
17560 * textmodes/ispell.el (ispell-lookup-words): Rename from
17561 lookup-words. (Bug#15460)
17562 (lookup-words): Obsolete.
17563 (ispell-complete-word, ispell-command-loop): All uses changed.
17564
17565 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17566
17567 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17568 (octave-mode-menu): Add octave-send-buffer.
17569 (octave-send-buffer): New function.
17570
17571 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17572
17573 * progmodes/octave.el (octave-mode-map): Add key binding for
17574 octave-lookfor.
17575 (octave-mode-menu): Add octave-lookfor.
17576 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17577 octave-lookfor.
17578 (octave-lookfor): New function.
17579
17580 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17581
17582 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17583 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17584 its convention.
17585 (cl--loop-set-iterator-function): New function.
17586 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17587 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17588 Bind `it' with `let' instead of substituting it with `cl-subst'.
17589 (cl--unused-var-p): New function.
17590 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17591 Eliminate some unused variable warnings (bug#15326).
17592
17593 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17594
17595 * doc-view.el (doc-view-scale-reset): Rename from
17596 `doc-view-reset-zoom-level'.
17597 (doc-view-scale-adjust): New command.
17598 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17599 `doc-view-scale-adjust'.
17600
17601 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17602
17603 * doc-view.el (doc-view-reset-zoom-level): New command.
17604 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17605 zoom commands (bug#15466).
17606
17607 2013-09-26 Kenichi Handa <handa@gnu.org>
17608
17609 * international/quail.el (quail-help): Make it not a command.
17610
17611 2013-09-26 Leo Liu <sdl.web@gmail.com>
17612
17613 * minibuffer.el (completion-all-sorted-completions): Make args
17614 optional as they are.
17615
17616 2013-09-25 Daniel Colascione <dancol@dancol.org>
17617
17618 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17619 specs are and that they're not evaluated.
17620
17621 2013-09-24 Sam Steingold <sds@gnu.org>
17622
17623 * midnight.el (clean-buffer-list-kill-regexps)
17624 (clean-buffer-list-kill-buffer-names): Update for the new Man
17625 buffer naming which includes the object name.
17626
17627 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17628
17629 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17630 (eshell-parse-command, eshell-parse-pipeline): Use it since
17631 eshell-separate-commands requires a dynamic scoped var.
17632 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17633
17634 2013-09-23 Leo Liu <sdl.web@gmail.com>
17635
17636 * autoinsert.el (auto-insert-alist): Make the value of
17637 lexical-binding match its file setting.
17638
17639 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17640
17641 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17642
17643 * autoarg.el (autoarg-kp-digit-argument):
17644 * electric.el (Electric-command-loop):
17645 * kmacro.el (kmacro-step-edit-insert):
17646 Do not set universal-argument-num-events.
17647
17648 2013-09-22 Leo Liu <sdl.web@gmail.com>
17649
17650 * files.el (interpreter-mode-alist): Add octave.
17651
17652 2013-09-21 Alan Mackenzie <acm@muc.de>
17653
17654 C++: fontify identifier in declaration following "public:" correctly.
17655 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17656 to match "public", etc.
17657 (c-decl-prefix-re): Add ":" into the C++ value.
17658 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17659 bit. Add a check for a ":" preceded by "public", etc.
17660
17661 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17662
17663 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17664 recognized by GDB 7.5 and later.
17665
17666 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17667
17668 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17669
17670 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17671
17672 * subr.el (internal--call-interactively): New const.
17673 (called-interactively-p): Use it (bug#3984).
17674
17675 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17676
17677 * vc/pcvs.el (cvs-mode-ignore):
17678 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17679 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17680
17681 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17682
17683 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
17684 (eshell-ls-orig-insert-directory): Remove.
17685 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
17686 (eshell-ls-use-in-dired): Use advice-add/remove.
17687 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17688 Add `orig-fun' arg for use in :around advice.
17689 Make it check (redundantly) eshell-ls-use-in-dired.
17690
17691 2013-09-19 Glenn Morris <rgm@gnu.org>
17692
17693 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17694
17695 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17696
17697 * emacs-lisp/eieio.el (class-parent): Undo previous change.
17698
17699 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
17700
17701 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17702 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17703 (tramp-get-remote-python): New defuns.
17704 (tramp-get-remote-uid-with-perl)
17705 (tramp-get-remote-gid-with-perl): New defuns. Perl code
17706 contributed by yary <not.com@gmail.com> (tiny change).
17707 (tramp-get-remote-uid-with-python)
17708 (tramp-get-remote-gid-with-python): New defuns. Python code
17709 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
17710 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
17711
17712 2013-09-19 Glenn Morris <rgm@gnu.org>
17713
17714 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
17715
17716 * eshell/em-unix.el (eshell-remove-entries):
17717 Rename argument to avoid name-clash with global `top-level'.
17718
17719 * eshell/esh-proc.el (eshell-kill-process-function):
17720 Remove eshell-reset-after-proc from eshell-kill-hook if present.
17721 (eshell-reset-after-proc): Remove unused arg `proc'.
17722
17723 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
17724 (directory-files-and-attributes): Mark unused arg.
17725
17726 * eshell/em-unix.el (eshell-remove-entries):
17727 Remove unused arg `path'. Update callers.
17728
17729 * eshell/em-hist.el (eshell-hist-parse-arguments):
17730 Remove unused arg `silent'. Update callers.
17731
17732 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
17733 Fix (f)boundp mix-up.
17734
17735 * eshell/em-smart.el (eshell-smart-scroll-window)
17736 (eshell-disable-after-change):
17737 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
17738
17739 2013-09-18 Alan Mackenzie <acm@muc.de>
17740
17741 Fix fontification of type when followed by "const".
17742 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
17743 "known" types from fontification.
17744
17745 2013-09-18 Glenn Morris <rgm@gnu.org>
17746
17747 * emacs-lisp/chart.el (x-display-color-cells): Declare.
17748 (chart-face-list): Drop Emacsen without display-color-p.
17749
17750 * net/eww.el (libxml-parse-html-region): Declare.
17751 (eww-display-html): Explicit error if no libxml2 support.
17752
17753 * doc-view.el (doc-view-mode): Silence --without-x compilation.
17754
17755 * image.el (image-type-from-buffer, image-multi-frame-p):
17756 Remove --without-x warning/error.
17757
17758 * mouse.el (mouse-yank-primary):
17759 * term.el (term-mouse-paste):
17760 Reorder to silence --without-x compilation.
17761
17762 * mpc.el (doc-view-mode): Silence --without-x compilation.
17763
17764 * mail/rmailmm.el (rmail-mime-set-bulk-data):
17765 Silence --without-x compilation.
17766
17767 * progmodes/gud.el (gud-find-file, gud-mode):
17768 Silence --without-x compilation.
17769 (tooltip-mode): Declare.
17770
17771 * wdired.el (dired-backup-overwrite): Remove declaration.
17772 (wdired-mode-map): Add doc string.
17773
17774 * custom.el (x-get-resource): Declare.
17775
17776 * eshell/em-glob.el (ange-cache):
17777 * eshell/em-unix.el (ange-cache): Declare.
17778
17779 * faces.el (x-display-list, x-open-connection, x-get-resource):
17780 Declare.
17781
17782 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
17783 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
17784 Declare.
17785
17786 * frame.el (x-display-grayscale-p, x-display-name): Declare.
17787
17788 * net/gnutls.el (gnutls-log-level): Declare.
17789
17790 * net/shr.el (image-size, image-animate): Declare.
17791
17792 * simple.el (font-info): Declare.
17793
17794 * subr.el (x-popup-dialog): Declare.
17795
17796 * term/common-win.el (x-select-enable-primary)
17797 (x-last-selected-text-primary, x-last-selected-text-clipboard):
17798 Declare.
17799
17800 * term/ns-win.el (x-handle-args): Declare.
17801
17802 * term/x-win.el (x-select-enable-clipboard): Declare.
17803
17804 * term/w32-win.el (create-default-fontset): Declare.
17805
17806 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
17807 Declare.
17808
17809 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
17810 (fit-frame-to-buffer): Explicit error if --without-x.
17811 (mouse-autoselect-window-select): Silence compiler.
17812
17813 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17814
17815 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
17816 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
17817 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
17818 * eshell/esh-util.el (eshell-sublist):
17819 Remove unused local variables.
17820
17821 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
17822
17823 * textmodes/two-column.el: Make 2C-split work for --without-x.
17824 (scroll-bar-columns): Autoload.
17825 (top-level): Require fringe when compiling.
17826
17827 2013-09-18 Leo Liu <sdl.web@gmail.com>
17828
17829 * subr.el (add-hook): Robustify to handle closure as well.
17830
17831 2013-09-17 Glenn Morris <rgm@gnu.org>
17832
17833 * simple.el (messages-buffer-mode-map): Unbind "g".
17834
17835 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * help-mode.el (help-mode-finish): Use derived-mode-p.
17838 Remove obsolete highlighting.
17839
17840 * play/life.el (life-mode): Use define-derived-mode. Derive from
17841 special-mode.
17842 (life): Let-bind inhibit-read-only.
17843 (life-setup): Avoid `setq'. Use `life-mode'.
17844
17845 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
17846 which should not be needed any more.
17847 (package-menu-refresh, package-menu-describe-package): Use user-error.
17848
17849 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
17850 (eshell-post-rewrite-command-hook): Make obsolete.
17851 (eshell-parse-command): Simplify.
17852 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
17853 (eshell--cmd): Declare.
17854 (eshell-parse-pipeline): Remove unused var `final-p'.
17855 Pass a dynvar to eshell-post-rewrite-command-hook.
17856 Implement the new eshell-post-rewrite-command-function.
17857 (eshell-invoke-directly): Remove unused arg `input'.
17858 * eshell/esh-io.el (eshell-io-initialize):
17859 Use eshell-post-rewrite-command-function (bug#15399).
17860 (eshell--apply-redirections): Rename from eshell-apply-redirections;
17861 adjust to new calling convention.
17862 (eshell-create-handles): Rename args to avoid clashing with dynvar
17863 `standard-output'.
17864
17865 2013-09-17 Glenn Morris <rgm@gnu.org>
17866
17867 * simple.el (messages-buffer-mode): New major mode.
17868 (messages-buffer): New function.
17869 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
17870 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
17871 (ert-run-test): Use `messages-buffer' function.
17872 (ert--force-message-log-buffer-truncation): Ignore read-only.
17873 * help.el (view-echo-area-messages): Use `messages-buffer' function.
17874 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
17875
17876 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17877
17878 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
17879
17880 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
17881
17882 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17883
17884 * icomplete.el (icomplete-in-buffer): New var.
17885 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
17886 vars and replace them with functions.
17887 (icomplete-minibuffer-setup): Adjust accordingly.
17888 (icomplete--completion-table, icomplete--completion-predicate)
17889 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
17890 New functions.
17891 (icomplete-forward-completions, icomplete-backward-completions)
17892 (icomplete-simple-completing-p, icomplete-exhibit)
17893 (icomplete-completions): Use them.
17894 (icomplete--in-region-buffer): New var.
17895 (icomplete--in-region-setup): New function.
17896 (icomplete-mode): Use it.
17897
17898 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
17899 (bug#15379).
17900 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
17901 return args and options.
17902 (eshell-eval-using-options): Use the new return value of
17903 eshell--do-opts to set the options's vars in their scope.
17904 (eshell--set-option): Rename from eshell-set-option.
17905 Add arg `opt-vals'.
17906 (eshell--process-option): Rename from eshell-process-option.
17907 Add arg `opt-vals'.
17908 (eshell--process-args): Use an `opt-vals' alist to store the options's
17909 values during their processing and return them additionally to the
17910 remaining args.
17911
17912 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
17913
17914 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
17915 continuation character an operator, as far as indentation is
17916 concerned (Bug#15369).
17917
17918 2013-09-15 Martin Rudalics <rudalics@gmx.at>
17919
17920 * window.el (window--state-put-2): Don't process buffer state
17921 when buffer doesn't exist any more (Bug#15382).
17922
17923 2013-09-15 Glenn Morris <rgm@gnu.org>
17924
17925 * eshell/em-unix.el (eshell/rm):
17926 Make -f ignore missing files. (Bug#15373)
17927
17928 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
17929 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
17930 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
17931
17932 2013-09-14 Glenn Morris <rgm@gnu.org>
17933
17934 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
17935
17936 2013-09-13 Glenn Morris <rgm@gnu.org>
17937
17938 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
17939 (dired-guess-default): Make `file' available in the env. (Bug#15363)
17940
17941 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
17942
17943 * frame.el (x-focus-frame): Mark as declared in frame.c.
17944
17945 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17946
17947 * ls-lisp.el: Use advice-add.
17948 (original-insert-directory): Remove.
17949 (ls-lisp--insert-directory): Rename from insert-directory; add
17950 `orig-fun' argument.
17951 (insert-directory): Advise.
17952
17953 2013-09-13 Eli Zaretskii <eliz@gnu.org>
17954
17955 * term.el (term-emulate-terminal): Decode the command string
17956 before passing it to term-command-hook. (Bug#15337)
17957
17958 2013-09-13 Glenn Morris <rgm@gnu.org>
17959
17960 * eshell/esh-util.el (ange-cache): Move declaration earlier.
17961
17962 * eshell/esh-ext.el (eshell-search-path): Declare.
17963
17964 * eshell/em-prompt.el (eshell/pwd): Autoload it.
17965 Otherwise an error occurs if eshell-dirs module not loaded.
17966
17967 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
17968
17969 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
17970
17971 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
17972 `tramp-check-proper-host'. Check for a valid method name.
17973
17974 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17975 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17976 * net/tramp-sh.el (tramp-maybe-open-connection):
17977 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
17978
17979 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
17980 also for hash values.
17981
17982 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17983
17984 * term/ns-win.el (parameters): Don't declare as dynamic.
17985 (before-make-frame-hook): Don't add ineffective function.
17986
17987 * eshell/*.el: Use lexical-binding (bug#15231).
17988
17989 2013-09-12 Kenichi Handa <handa@gnu.org>
17990
17991 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
17992
17993 2013-09-12 Glenn Morris <rgm@gnu.org>
17994
17995 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
17996 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
17997
17998 * subr.el (do-after-load-evaluation): Also give compiler warnings
17999 when obsolete files are used (except by obsolete files).
18000
18001 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18002 in the status output, assume `filename' is the first. (Bug#15322)
18003
18004 * vc/vc.el (vc-deduce-fileset): Doc fix.
18005
18006 * calc/calc-help.el (Info-goto-node):
18007 * progmodes/cperl-mode.el (Info-find-node):
18008 * vc/ediff.el (Info-goto-node): Update declarations.
18009
18010 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18011
18012 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18013 (vc-bzr-pull): Require vc-dispatcher.
18014 * vc/vc-git.el (vc-compilation-mode): Declare.
18015 (vc-git-pull): Require vc-dispatcher.
18016
18017 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18018
18019 * progmodes/octave.el (help-button-action): Declare.
18020
18021 * shell.el (shell-directory-tracker): Output error as a message
18022 rather than just returning it as a string.
18023 (shell-process-pushd): Remove useless use of message.
18024
18025 * dframe.el (dframe-timer-fn):
18026 * files.el (dir-locals-read-from-file):
18027 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18028 (mpc-format):
18029 * reveal.el (reveal-post-command):
18030 * saveplace.el (load-save-place-alist-from-file):
18031 * shell.el (shell-resync-dirs):
18032 * w32-common-fns.el (x-get-selection-value):
18033 * emacs-lisp/copyright.el (copyright-find-copyright):
18034 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18035 * emulation/tpu-edt.el (tpu-copy-keyfile):
18036 * play/bubbles.el (bubbles--mark-neighbourhood):
18037 * progmodes/executable.el
18038 (executable-make-buffer-file-executable-if-script-p):
18039 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18040
18041 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18042
18043 Cleanup Eshell to rely less on dynamic scoping.
18044 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18045 last-value, and ext-command here. Bind `args' closer to `body'.
18046 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18047 (eshell--args): Declare new dynamic var.
18048 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18049 last-value, and ext-command. Pass `args' to `body'.
18050 (eshell-process-args): Bind eshell--args.
18051 (eshell-set-option): Use eshell--args.
18052 * eshell/eshell.el (eshell): Use derived-mode-p.
18053 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18054 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18055 (eshell-glob-function): Declare.
18056 * eshell/esh-util.el: Require cl-lib.
18057 (eshell-read-hosts-file): Avoid add-to-list.
18058 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18059 `err'.
18060 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18061 Declare.
18062 (eshell/diff): Remove unused var `err'.
18063 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18064 `killflag'.
18065 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18066 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18067 first use.
18068 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18069 Move declaration before first use.
18070 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18071 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18072 rely on cl-return.
18073
18074 2013-09-12 Glenn Morris <rgm@gnu.org>
18075
18076 * term/ns-win.el (global-map): Remove binding for ispell-next,
18077 deleted 1999-05-29. (Bug#15357)
18078
18079 2013-09-11 Glenn Morris <rgm@gnu.org>
18080
18081 * echistory.el (electric-command-history): Remove call to deleted func.
18082
18083 * play/landmark.el (landmark-mode): Fix typos.
18084
18085 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18086 Check cvs-sort-ignore-file is bound.
18087
18088 * savehist.el: No need for cl when compiling on Emacs.
18089
18090 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18091
18092 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18093 (bug#15338).
18094 (eshell-self-insert-command, eshell-send-invisible):
18095 Remove unused argument.
18096 (eshell-handle-control-codes): Remove unused var `orig'.
18097 Avoid delete-backward-char.
18098
18099 * files.el (set-auto-mode): Simplify a bit further.
18100
18101 2013-09-11 Glenn Morris <rgm@gnu.org>
18102
18103 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18104 (set-auto-mode): Don't regexp-quote elements.
18105 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18106 * progmodes/cc-mode.el (interpreter-mode-alist):
18107 * progmodes/ruby-mode.el (interpreter-mode-alist):
18108 Revert previous change.
18109
18110 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18111
18112 * play/snake.el (snake-mode):
18113 * play/mpuz.el (mpuz-mode):
18114 * play/landmark.el (lm-mode):
18115 * play/blackbox.el (blackbox-mode):
18116 * play/5x5.el (5x5-mode):
18117 * obsolete/options.el (Edit-options-mode):
18118 * net/quickurl.el (quickurl-list-mode):
18119 * net/newst-treeview.el (newsticker-treeview-mode):
18120 * mail/rmailsum.el (rmail-summary-mode):
18121 * mail/mspools.el (mspools-mode):
18122 * locate.el (locate-mode):
18123 * ibuffer.el (ibuffer-mode):
18124 * emulation/ws-mode.el (wordstar-mode):
18125 * emacs-lisp/debug.el (debugger-mode):
18126 * array.el (array-mode):
18127 * net/eudc.el (eudc-mode): Use define-derived-mode.
18128 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18129 Move initialization into declaration.
18130 (mairix-searches-mode): Use define-derived-mode.
18131 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18132 (eudc-edit-hotlist): Use dolist.
18133 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18134 (Man-mode): Use define-derived-mode.
18135 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18136 (Info-edit-mode): Use define-derived-mode.
18137 (Info-cease-edit): Use Info-mode.
18138 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18139 into declaration.
18140 (eshell-mode): Use define-derived-mode.
18141 * chistory.el (command-history-mode-map): Rename from
18142 command-history-map.
18143 (command-history-mode): Use define-derived-mode.
18144 (Command-history-setup): Remove function.
18145 * calc/calc.el (calc-trail-mode-map): New var.
18146 (calc-trail-mode): Use define-derived-mode.
18147 (calc-trail-buffer): Set calc-main-buffer manually.
18148 * bookmark.el (bookmark-insert-annotation): New function.
18149 (bookmark-edit-annotation): Use it.
18150 (bookmark-edit-annotation-mode): Make it a proper major mode.
18151 (bookmark-send-edited-annotation): Use derived-mode-p.
18152 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18153 closer to its ideal place. Use \' to match EOS.
18154
18155 * profiler.el (profiler-calltree-find): Use function-equal.
18156
18157 2013-09-10 Glenn Morris <rgm@gnu.org>
18158
18159 * files.el (interpreter-mode-alist): Convert to regexps.
18160 (set-auto-mode): Adapt for this. (Bug#15306)
18161 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18162 Comment out unused variable.
18163 * progmodes/cc-mode.el (interpreter-mode-alist):
18164 * progmodes/python.el (interpreter-mode-alist):
18165 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18166 * progmodes/sh-script.el (sh-set-shell):
18167 No longer use interpreter-mode-alist to get list of shells.
18168
18169 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18170
18171 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18172
18173 * simple.el: Use set-temporary-overlay-map for universal-argument.
18174 (universal-argument-map): Don't use default-bindings (bug#15317).
18175 Bind switch-frame explicitly. Replace universal-argument-minus with
18176 a conditional binding.
18177 (universal-argument-num-events, saved-overriding-map): Remove.
18178 (restore-overriding-map): Remove.
18179 (universal-argument--mode): Rename from save&set-overriding-map,
18180 and rewrite.
18181 (universal-argument, universal-argument-more, negative-argument)
18182 (digit-argument): Adjust accordingly.
18183 (universal-argument-minus): Remove.
18184 (universal-argument-other-key): Remove.
18185
18186 * subr.el (with-demoted-errors): Add `format' argument.
18187
18188 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18189
18190 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18191 `tramp-cleanup-connection'.
18192
18193 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18194 parameters KEEP-DEBUG and KEEP-PASSWORD.
18195
18196 * net/tramp.el (tramp-file-name-handler):
18197 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18198 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18199 (tramp-maybe-open-connection):
18200 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18201 Use `tramp-cleanup-connection'.
18202
18203 * net/tramp-sh.el (tramp-maybe-open-connection):
18204 Catch 'uname-changed inside the progress reporter.
18205
18206 2013-09-10 Glenn Morris <rgm@gnu.org>
18207
18208 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18209
18210 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18211 returns "alternate access method" in mode (eg "-rw-r--r--.").
18212
18213 2013-09-08 Glenn Morris <rgm@gnu.org>
18214
18215 * saveplace.el (load-save-place-alist-from-file):
18216 Demote errors. (Bug#15305)
18217
18218 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18219
18220 Improve compatibility with older Emacsen, and XEmacs.
18221
18222 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18223 only if it is bound. It isn't for XEmacs.
18224 (with-tramp-progress-reporter): Do not let-bind `result'.
18225 This yields to scoping errors in XEmacs.
18226 (tramp-handle-make-auto-save-file-name): New function, moved from
18227 tramp-sh.el.
18228
18229 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18230 for `make-auto-save-file-name'.
18231 (tramp-adb--gnu-switches-to-ash):
18232 Use `tramp-compat-replace-regexp-in-string'.
18233
18234 * net/tramp-cache.el (tramp-cache-print): Call
18235 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18236
18237 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18238 bound. It isn't for XEmacs.
18239
18240 * net/tramp-compat.el (tramp-compat-copy-file):
18241 Catch `wrong-number-of-arguments' error.
18242 (tramp-compat-replace-regexp-in-string): New defun.
18243
18244 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18245 for `make-auto-save-file-name'.
18246 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18247 `copy-file'.
18248 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18249 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18250 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18251
18252 * net/tramp-gw.el (tramp-gw-open-network-stream):
18253 Use `tramp-compat-replace-regexp-in-string'.
18254
18255 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18256 Call `tramp-handle-make-auto-save-file-name'.
18257 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18258 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18259 (tramp-sh-file-inotifywait-process-filter):
18260 Use `tramp-compat-replace-regexp-in-string'.
18261 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18262
18263 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18264 for `make-auto-save-file-name'.
18265 (tramp-smb-handle-copy-directory):
18266 Call `tramp-compat-replace-regexp-in-string'.
18267 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18268 (tramp-smb-handle-copy-file): Improve error message.
18269 (tramp-smb-handle-rename-file): Rename directly only in case
18270 `newname' does not exist yet. This is a restriction of smbclient.
18271 (tramp-smb-maybe-open-connection): Rerun the function only when
18272 `auth-sources' is non-nil.
18273
18274 2013-09-08 Kenichi Handa <handa@gnu.org>
18275
18276 * international/characters.el: Set category "^" (Combining) for
18277 more characters.
18278
18279 2013-09-07 Alan Mackenzie <acm@muc.de>
18280
18281 Correctly fontify Java class constructors.
18282 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18283 in Java Mode.
18284 (c-recognize-typeless-decls): Set the Java value to t.
18285 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18286 While handling a "(", add a check for, effectively, Java, and handle a
18287 "typeless" declaration there.
18288
18289 2013-09-07 Roland Winkler <winkler@gnu.org>
18290
18291 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18292 field subtitle for entry type book.
18293
18294 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18295
18296 * minibuffer.el: Make minibuffer-complete call completion-in-region
18297 rather than other way around.
18298 (completion--some, completion-pcm--find-all-completions):
18299 Don't delay signals when debugging.
18300 (minibuffer-completion-contents): Beware fields within the
18301 minibuffer contents.
18302 (completion-all-sorted-completions): Use defvar-local.
18303 (completion--do-completion, completion--cache-all-sorted-completions)
18304 (completion-all-sorted-completions, minibuffer-force-complete):
18305 Add args `beg' and `end'.
18306 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18307 (minibuffer-complete): Use completion-in-region.
18308 (completion-complete-and-exit): New fun, extracted from
18309 minibuffer-complete-and-exit.
18310 (minibuffer-complete-and-exit): Use it.
18311 (completion--complete-and-exit): Rename from
18312 minibuffer--complete-and-exit.
18313 (completion-in-region--single-word): New function, extracted from
18314 minibuffer-complete-word.
18315 (minibuffer-complete-word): Use it.
18316 (display-completion-list): Make `common-substring' argument obsolete.
18317 (completion--in-region): Call completion--in-region-1 instead of
18318 minibuffer-complete.
18319 (completion-help-at-point): Pass boundaries to
18320 minibuffer-completion-help as args rather than via an overlay.
18321 (completion-pcm--string->pattern): Use `any-delim'.
18322 (completion-pcm--optimize-pattern): New function.
18323 (completion-pcm--pattern->regex): Handle `any-delim'.
18324 * icomplete.el (icomplete-forward-completions)
18325 (icomplete-backward-completions, icomplete-completions):
18326 Adjust calls to completion-all-sorted-completions and
18327 completion--cache-all-sorted-completions.
18328 (icomplete-with-completion-tables): Default to t.
18329 * emacs-lisp/crm.el (crm--current-element): Rename from
18330 crm--select-current-element. Don't put an overlay but return the
18331 boundaries instead.
18332 (crm--completion-command): Take two new args to bind to the boundaries.
18333 (crm-completion-help): Adjust accordingly.
18334 (crm-complete): Use completion-in-region.
18335 (crm-complete-word): Use completion-in-region--single-word.
18336 (crm-complete-and-exit): Use completion-complete-and-exit.
18337
18338 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18339
18340 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18341 than dynamically.
18342
18343 2013-09-06 Juri Linkov <juri@jurta.org>
18344
18345 * info.el (Info-display-images-node): When image file doesn't exist
18346 display text version of the image if it's provided in the Info file.
18347 Otherwise, display the location of missing image from SRC attribute.
18348 Add help-echo text property from ALT attribute. (Bug#15279)
18349
18350 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18351
18352 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18353 (edit-abbrevs-mode): Use define-derived-mode.
18354
18355 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18356 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18357 that it's defined.
18358 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18359 Use define-derived-mode.
18360
18361 * epg.el (epg-start-encrypt): Minor CSE simplification.
18362
18363 2013-09-06 William Xu <william.xwl@gmail.com>
18364
18365 * arc-mode.el: Add support for 7za (bug#15264).
18366 (archive-7z-program): New var.
18367 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18368 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18369 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18370
18371 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18372
18373 Remove URL syntax.
18374
18375 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18376 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18377 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18378 (tramp-postfix-host-format, tramp-file-name-regexp)
18379 (tramp-completion-file-name-regexp)
18380 (tramp-completion-dissect-file-name)
18381 (tramp-handle-substitute-in-file-name): Remove 'url case.
18382 (tramp-file-name-regexp-url)
18383 (tramp-completion-file-name-regexp-url): Remove constants.
18384
18385 2013-09-06 Glenn Morris <rgm@gnu.org>
18386
18387 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18388
18389 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18390
18391 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18392 keywords" below "here-doc beginnings" (Bug#15270).
18393
18394 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18395
18396 * subr.el (pop): Use `car-safe'.
18397 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18398 to detect unused `pop' return value.
18399
18400 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18401 var `block-regexp'.
18402 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18403 (python-fill-string): Remove unused var `marker'.
18404 (python-skeleton-add-menu-items): Remove unused var `items'.
18405
18406 * international/mule-cmds.el: Require CL.
18407 (find-coding-systems-for-charsets): Avoid add-to-list.
18408 (sanitize-coding-system-list): New function, extracted from
18409 select-safe-coding-system-interactively.
18410 (select-safe-coding-system-interactively): Use it.
18411 (read-input-method-name): Accept symbols for `default'.
18412
18413 * emacs-lisp/advice.el (defadvice): Add indent rule.
18414
18415 2013-09-05 Daniel Hackney <dan@haxney.org>
18416
18417 * dired-x.el:
18418 * net/ange-ftp.el:
18419 * net/browse-url.el:
18420 * net/dbus.el:
18421 * net/eudc.el:
18422 * net/eudcb-ldap.el:
18423 * net/eww.el:
18424 * net/imap.el:
18425 * printing.el:
18426 * vc/ediff-diff.el:
18427 * vc/ediff-init.el:
18428 * vc/ediff-merg.el:
18429 * vc/ediff-mult.el:
18430 * vc/ediff-util.el:
18431 * vc/ediff-wind.el:
18432 * vc/ediff.el:
18433 * vc/emerge.el:
18434 * vc/pcvs.el:
18435 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18436 byte compiler. Remove some unused let-bound variables.
18437
18438 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18439
18440 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18441 a "ref-cell", since it gets better optimized (bug#14883).
18442
18443 2013-09-05 Glenn Morris <rgm@gnu.org>
18444
18445 * progmodes/cc-awk.el (c-forward-sws): Declare.
18446
18447 2013-09-04 Glenn Morris <rgm@gnu.org>
18448
18449 * generic-x.el [rul-generic-mode]: Require cc-mode.
18450 (c++-mode-syntax-table): Declare.
18451 (rul-generic-mode-syntax-table): Init in the defvar.
18452
18453 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18454
18455 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18456 (vc-do-command, vc-set-async-update):
18457 * vc/vc-mtn.el (vc-mtn-dir-status):
18458 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18459 (vc-hg-pull, vc-hg-merge-branch):
18460 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18461 (vc-git-merge-branch):
18462 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18463 (vc-cvs-dir-status-files):
18464 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18465 (vc-bzr-dir-status-files):
18466 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18467 * vc/vc-annotate.el: Use lexical-binding.
18468 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18469 (vc-sentinel-movepoint): Declare.
18470 (vc-annotate): Don't use `goto-line'.
18471 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18472 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18473 (vc-sentinel-movepoint): Declare.
18474 * vc/vc-svn.el: Use lexical-binding.
18475 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18476 * vc/vc-sccs.el:
18477 * vc/vc-rcs.el: Use lexical-binding.
18478
18479 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18480 `deleted'. Don't drop errors silently.
18481
18482 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18483
18484 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18485
18486 * vc/vc.el (vc-ignore): Rewrite.
18487 (vc-default-ignore): New function.
18488 (vc-default-ignore-completion-table): Use find-ignore-file.
18489
18490 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18491 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18492 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18493 Remove. Most code moved to vc.el.
18494
18495 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18496
18497 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18498 * net/tramp-smb.el (tramp-smb-get-file-entries):
18499 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18500 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18501
18502 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18503 Update call to it.
18504 (eww-change-select): Remove unused var `properties'.
18505 (eww-make-unique-file-name): Remove unused var `base'.
18506
18507 * finder.el (finder-compile-keywords): Don't mess with windows.
18508
18509 * calculator.el (calculator-funcall): Fix typo in last change.
18510
18511 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18512
18513 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18514 <pkg>-autoloads.el file stop us.
18515
18516 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18517 warnings, and factor out common code.
18518
18519 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18520
18521 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18522 two-character operators and whether the character preceding them
18523 changes their meaning (Bug#15208).
18524
18525 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18526
18527 Format code sent to Python shell for robustness.
18528 * progmodes/python.el (python-shell-buffer-substring):
18529 New function.
18530 (python-shell-send-region, python-shell-send-buffer): Use it.
18531
18532 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18533
18534 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18535 * net/tramp.el (tramp-user-error): ... here.
18536 (tramp-find-method, tramp-check-proper-host)
18537 (tramp-dissect-file-name, tramp-debug-message)
18538 (tramp-handle-shell-command):
18539 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18540 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18541
18542 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18543
18544 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18545
18546 * avoid.el (mouse-avoidance-point-position)
18547 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18548 returns nil.
18549
18550 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18551
18552 * progmodes/python.el (python-shell-completion-get-completions):
18553 Drop use of deleted `comint-last-prompt-overlay'.
18554 (python-nav-if-name-main): New command.
18555
18556 2013-09-01 Glenn Morris <rgm@gnu.org>
18557
18558 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18559 Avoid leading space in $wins. Otherwise the sed command used by
18560 eg compile-main ends up containing "/*.el". (Bug#15170)
18561
18562 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18563
18564 2013-08-30 Glenn Morris <rgm@gnu.org>
18565
18566 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18567 Fix is-this-a-directory logic. (Bug#15220)
18568
18569 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18570
18571 * textmodes/css-mode.el: Use SMIE.
18572 (css-smie-grammar): New var.
18573 (css-smie--forward-token, css-smie--backward-token)
18574 (css-smie-rules): New functions.
18575 (css-mode): Use them.
18576 (css-navigation-syntax-table): Remove var.
18577 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18578 (css-indent-calculate, css-indent-line): Remove functions.
18579
18580 Misc changes to reduce use of `(lambda...); and other cleanups.
18581 * cus-edit.el: Use lexical-binding.
18582 (customize-push-and-save, customize-apropos)
18583 (custom-buffer-create-internal): Use closures.
18584 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18585 * progmodes/ada-xref.el: Use setq.
18586 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18587 * dframe.el: Use lexical-binding.
18588 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18589 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18590 * descr-text.el: Use lexical-binding.
18591 (describe-text-widget, describe-text-sexp, describe-property-list):
18592 Use closures.
18593 * comint.el (comint-history-isearch-push-state): Use a closure.
18594 * calculator.el: Use lexical-binding.
18595 (calculator-number-to-string): Make it work with lexical-binding.
18596 (calculator-funcall): Same and use cl-letf.
18597
18598 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18599 (lisp--company-doc-string, lisp--company-location): New functions.
18600 (lisp-completion-at-point): Use them to improve Company support.
18601
18602 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18603 params of lambda expressions.
18604 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18605 (ruby-smie--opening-pipe-p): New function.
18606 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18607 symbols and matched |...| for formal params.
18608 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18609 from being treated as hanging. Handle "rescue".
18610
18611 2013-08-29 Glenn Morris <rgm@gnu.org>
18612
18613 * progmodes/cc-engine.el (c-pull-open-brace):
18614 Move definition before use.
18615
18616 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18617
18618 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18619 are immutable. Don't use `unsafe' any more.
18620 (cl--defsubst-expand): Don't substitute at the same time as keeping
18621 a residual unused let-binding. Don't use `unsafe' any more.
18622
18623 2013-08-29 Glenn Morris <rgm@gnu.org>
18624
18625 * calendar/cal-china.el (calendar-chinese-year-cache):
18626 Recenter on 2015.
18627
18628 * nxml/nxml-util.el (nxml-debug-clear-inside):
18629 Use cl-loop rather than loop.
18630
18631 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18632
18633 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18634
18635 2013-08-28 Glenn Morris <rgm@gnu.org>
18636
18637 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18638
18639 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18640
18641 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18642
18643 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18644
18645 * simple.el (repeat-complex-command--called-interactively-skip):
18646 New function.
18647 (repeat-complex-command): Use it (bug#14136).
18648
18649 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18650 (c-define-abbrev-table): Add `doc' argument.
18651 (c-mode-abbrev-table, c++-mode-abbrev-table)
18652 (objc-mode-abbrev-table, java-mode-abbrev-table)
18653 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18654 (awk-mode-abbrev-table): Use it.
18655 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18656 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18657 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18658 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18659 Move initialization into the declaration; and remove any
18660 autoload cookie.
18661
18662 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18663 and dynamic let binding.
18664
18665 * vc/smerge-mode.el: Remove redundant :group args.
18666
18667 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18668 to load-path.
18669
18670 2013-08-28 Juri Linkov <juri@jurta.org>
18671
18672 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18673 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18674 (isearch-other-meta-char): Handle an undefined shifted printing
18675 character by downshifting it. (Bug#15200)
18676
18677 2013-08-28 Juri Linkov <juri@jurta.org>
18678
18679 * isearch.el (isearch-search): Change regexp error message for
18680 non-regexp searches. (Bug#15166)
18681
18682 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
18683
18684 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18685 for portability to hosts where /bin/sh has problems.
18686
18687 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18688
18689 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18690
18691 2013-08-27 Juri Linkov <juri@jurta.org>
18692
18693 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18694 in the keyboard macro. (Bug#15126)
18695
18696 2013-08-27 Juri Linkov <juri@jurta.org>
18697
18698 * isearch.el (isearch-quote-char): Comment out converting unibyte
18699 to multibyte, thus syncing with its `quoted-insert' counterpart.
18700 (Bug#15166)
18701
18702 2013-08-27 Martin Rudalics <rudalics@gmx.at>
18703
18704 * window.el (display-buffer-use-some-window): Add missing
18705 argument in call of get-largest-window (Bug#15185).
18706 Reported by Stephen Leake.
18707
18708 2013-08-27 Glenn Morris <rgm@gnu.org>
18709
18710 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
18711
18712 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18713
18714 * progmodes/python.el (python-font-lock-keywords): Don't return nil
18715 from a matcher-function unless there's no more matches (bug#15161).
18716
18717 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18718
18719 * minibuffer.el: Revert change from 2013-08-20.
18720
18721 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
18722 with text property `tramp-default', if appropriate.
18723 (tramp-check-proper-host): New defun.
18724 (tramp-dissect-file-name): Do not check hostname. Revert change
18725 of 2013-03-18.
18726 (tramp-backtrace): Make VEC-OR-PROC optional.
18727
18728 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18729 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18730 * net/tramp-sh.el (tramp-maybe-open-connection):
18731 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18732 Apply `tramp-check-proper-host'.
18733
18734 2013-08-26 Tassilo Horn <tsdh@gnu.org>
18735
18736 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
18737 lambda expression in order to have `describe-variable' display it.
18738
18739 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18740
18741 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
18742 BUF can be optional. (Bug#15186)
18743
18744 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
18745
18746 * progmodes/flymake.el (flymake-get-real-file-name-function):
18747 Fix broken customization. (Bug#15184)
18748
18749 2013-08-25 Alan Mackenzie <acm@muc.de>
18750
18751 Improve indentation of bracelists defined by macros (without "=").
18752
18753 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
18754 expansion begins with "{", regard it as bracelist when it doesn't
18755 contain a ";".
18756
18757 Parse C++ inher-intro when there's a template split over 2 lines.
18758
18759 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
18760 rigorously the search for "class" etc. followed by ":".
18761
18762 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
18763 random languages a regexp which never matches rather than nil.
18764
18765 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
18766
18767 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
18768 (c-awk-regexp-one-line-possibly-open-char-list-re)
18769 (c-awk-one-line-possibly-open-regexp-re)
18770 (c-awk-one-line-non-syn-ws*-re): Remove.
18771 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
18772 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
18773 (c-awk-space*-unclosed-regexp-/-re): New constants.
18774 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
18775 aren't regexp delimiters.
18776
18777 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
18778 handling for a rare situation in AWK Mode involving unterminated
18779 strings/regexps.
18780
18781 2013-08-23 Glenn Morris <rgm@gnu.org>
18782
18783 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
18784
18785 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
18786
18787 * files.el (create-file-buffer): If the result would begin with
18788 spaces, prepend a "|" instead of removing them. (Bug#15162)
18789
18790 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18791
18792 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
18793 text-properties (bug#15155).
18794
18795 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
18796 exist any more.
18797 (calc-keypad-redraw): Remove unused var `pad'.
18798 (calc-keypad-press): Remove unused var `menu'.
18799
18800 2013-08-23 Martin Rudalics <rudalics@gmx.at>
18801
18802 * window.el (display-buffer-pop-up-frame):
18803 Call pop-up-frame-function with BUFFER current so `make-frame' will
18804 use it as the new frame's buffer (Bug#15133).
18805
18806 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18807
18808 * calendar/timeclock.el: Minor cleanups.
18809 (timeclock-ask-before-exiting, timeclock-use-display-time):
18810 Use `symbol'.
18811 (timeclock-modeline-display): Define as alias before the
18812 actual definition.
18813 (timeclock-mode-line-display): Use define-minor-mode.
18814 (timeclock-day-list-template): Make it a function, add an argument.
18815 (timeclock-day-list-required, timeclock-day-list-length)
18816 (timeclock-day-list-debt, timeclock-day-list-span)
18817 (timeclock-day-list-break): Adjust calls accordingly.
18818
18819 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18820
18821 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
18822 Use read--expression so that completion works again.
18823
18824 2013-08-21 Sam Steingold <sds@gnu.org>
18825
18826 Add rudimentary inferior shell interaction
18827 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
18828 (sh-set-shell): Reset it.
18829 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
18830 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
18831
18832 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
18833
18834 * align.el: Use lexical-binding.
18835 (align-region): Simplify accordingly.
18836
18837 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
18838
18839 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
18840
18841 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
18842 `non-essential' up.
18843
18844 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
18845
18846 * net/tramp.el:
18847 * net/tramp-adb.el:
18848 * net/tramp-cmds.el:
18849 * net/tramp-ftp.el:
18850 * net/tramp-gvfs.el:
18851 * net/tramp-gw.el:
18852 * net/tramp-sh.el: Don't wrap external variable declarations by
18853 `eval-when-compile'.
18854
18855 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18856
18857 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
18858 now that Emacs supports ImageMagick animations.
18859
18860 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
18861
18862 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
18863 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
18864
18865 2013-08-16 Martin Rudalics <rudalics@gmx.at>
18866
18867 * window.el (mouse-autoselect-window-select): Do autoselect when
18868 mouse pointer is on margin.
18869
18870 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
18871
18872 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
18873
18874 2013-08-16 Glenn Morris <rgm@gnu.org>
18875
18876 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
18877 Handle "Remote Directory" response of some clients. (Bug#15058)
18878
18879 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
18880 Tweak warning. (Bug#14926)
18881
18882 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
18883 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
18884
18885 * image-mode.el (image-mode-map): Add menu items to reverse,
18886 increase, decrease, reset animation speed.
18887 (image--set-speed, image-increase-speed, image-decrease-speed)
18888 (image-reverse-speed, image-reset-speed): New functions.
18889 (image-mode-map): Add bindings for speed commands.
18890
18891 * image.el (image-animate-get-speed, image-animate-set-speed):
18892 New functions.
18893 (image-animate-timeout): Respect image :speed property.
18894
18895 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18896
18897 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
18898 previous line (bug#15101).
18899 (debugger-eval-expression, debugger-record-expression):
18900 Use read--expression (bug#15102).
18901
18902 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
18903
18904 Remove byte compiler warnings, visible when compiling with
18905 `byte-compile-force-lexical-warnings' set to t.
18906
18907 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
18908 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
18909 (tramp-handle-unhandled-file-name-directory)
18910 (tramp-handle-file-notify-add-watch, tramp-action-login)
18911 (tramp-action-succeed, tramp-action-permission-denied)
18912 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
18913 arguments with "_".
18914
18915 * net/tramp-adb.el (tramp-adb-parse-device-names)
18916 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
18917 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
18918 (tramp-adb-handle-file-truename): Remove unused arguments.
18919
18920 * net/tramp-cache.el (tramp-flush-directory-property)
18921 (tramp-flush-connection-property, tramp-list-connections)
18922 (tramp-parse-connection-properties): Prefix unused arguments with "_".
18923
18924 * net/tramp-compat.el (tramp-compat-make-temp-file):
18925 Rename FILENAME to F.
18926
18927 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
18928 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
18929 (tramp-zeroconf-parse-workstation-device-names)
18930 (tramp-zeroconf-parse-webdav-device-names)
18931 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
18932
18933 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
18934 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
18935
18936 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
18937 arguments.
18938 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
18939 (tramp-sh-handle-insert-file-contents-literally)
18940 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
18941 with "_".
18942 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
18943 Remove unused variables.
18944
18945 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
18946 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
18947 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
18948
18949 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
18950 Make them a defconst.
18951 (tramp-uuencode-region): Remove unused variable.
18952
18953 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
18954
18955 * frameset.el (frameset--prop-setter): New function.
18956 (frameset-prop): Add gv-setter declaration.
18957 (frameset-filter-minibuffer): Deal with the case that the minibuffer
18958 parameter was already set in FILTERED. Doc fix.
18959 (frameset--record-minibuffer-relationships): Allow saving a
18960 minibufferless frame without its corresponding minibuffer frame.
18961 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
18962 frame, if the frame id matches.
18963 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
18964 frames before orphaned ones.
18965 (frameset-restore): Warn about orphaned windows, instead of error out.
18966
18967 2013-08-14 Martin Rudalics <rudalics@gmx.at>
18968
18969 * window.el (window-make-atom): Don't overwrite parameter
18970 already present.
18971 (display-buffer-in-atom-window): Handle special case where we
18972 split an already atomic window.
18973 (window--major-non-side-window, display-buffer-in-side-window)
18974 (window--side-check): Ignore minibuffer window when walking
18975 window tree.
18976 (window-deletable-p): Return 'frame only if no other frame uses
18977 our minibuffer window.
18978 (record-window-buffer): Run buffer-list-update-hook.
18979 (split-window): Make sure window--check-frame won't destroy an
18980 existing atomic window in case the new window gets nested
18981 inside.
18982 (display-buffer-at-bottom): Ignore minibuffer window when
18983 walking window tree. Don't split a side window.
18984 (pop-to-buffer): Don't set-buffer here, the select-window call
18985 should do that.
18986 (mouse-autoselect-window-select): Autoselect only if we are in the
18987 text portion of the window.
18988
18989 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18990
18991 * net/shr.el (shr-parse-image-data): New function to grab both the
18992 data itself and the Content-Type.
18993 (shr-put-image): Use it.
18994
18995 * net/eww.el (eww-display-image): Ditto.
18996
18997 * image.el (image-content-type-suffixes): New variable.
18998
18999 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19000
19001 * progmodes/python.el (python-imenu--build-tree)
19002 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19003
19004 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19005
19006 * simple.el (backward-word): Mention the optional argument.
19007
19008 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19009
19010 * frameset.el (frameset--make): Rename constructor from make-frameset.
19011 (frameset-p, frameset-valid-p): Don't autoload.
19012 (frameset-valid-p): Use normal accessors.
19013
19014 2013-08-13 Glenn Morris <rgm@gnu.org>
19015
19016 * progmodes/compile.el (compile-command): Tweak example in doc.
19017 * obsolete/scribe.el (scribe-mode):
19018 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19019
19020 * mail/feedmail.el (feedmail-confirm-outgoing)
19021 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19022
19023 * cus-start.el (truncate-partial-width-windows): Fix type.
19024
19025 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19026
19027 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19028
19029 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19030
19031 * emacs-lisp/timer.el (timer--time-setter): New function.
19032 (timer--time): Use it as gv-setter.
19033
19034 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19035 setter is not a symbol.
19036
19037 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19038
19039 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19040 if sending fails. This makes debugging easier.
19041
19042 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19043
19044 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19045 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19046 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19047
19048 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19049
19050 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19051
19052 2013-08-12 Glenn Morris <rgm@gnu.org>
19053
19054 * format.el (format-annotate-function):
19055 Handle read-only text properties in the source. (Bug#14887)
19056
19057 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19058
19059 * net/eww.el (eww-display-html): Ignore coding system errors.
19060 One web site uses "utf-8lias" as the coding system.
19061
19062 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19063
19064 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19065
19066 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19067
19068 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19069 (tutorial--detailed-help): Remove unused local variables.
19070 (tutorial--save-tutorial-to): Use ignore-errors.
19071 (help-with-tutorial): Use looking-at-p.
19072
19073 * view.el (view-buffer-other-window, view-buffer-other-frame):
19074 Mark unused arguments.
19075
19076 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19077 (woman-select-symbol-fonts, woman, woman-find-file)
19078 (woman-insert-file-contents, woman-non-underline-faces):
19079 Use string-match-p.
19080 (woman1-unquote): Move declaration.
19081
19082 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19083 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19084 argument. Remove unused local variable.
19085 (xml-parse-elem-type): Use string-match-p.
19086 (xml-substitute-numeric-entities): Use ignore-errors.
19087
19088 * calculator.el (calculator): Mark unused argument.
19089 (calculator-paste, calculator-quit, calculator-integer-p):
19090 Use ignore-errors.
19091 (calculator-string-to-number, calculator-decimal, calculator-exp)
19092 (calculator-op-or-exp): Use string-match-p.
19093
19094 * dired.el (dired-buffer-more-recently-used-p): Declare.
19095 (dired-insert-set-properties, dired-insert-old-subdirs):
19096 Use ignore-errors.
19097
19098 * dired-aux.el (dired-compress): Use ignore-errors.
19099 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19100 (dired-do-async-shell-command, dired-do-shell-command)
19101 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19102 (dired-insert-subdir-validate): Use string-match-p.
19103 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19104 (dired-add-entry): Use string-match-p, looking-at-p.
19105 (dired-insert-subdir-newpos): Remove unused local variable.
19106
19107 * filenotify.el (file-notify-callback): Remove unused local variable.
19108
19109 * filesets.el (filesets-error): Mark unused argument.
19110 (filesets-which-command-p, filesets-filter-dir-names)
19111 (filesets-directory-files, filesets-get-external-viewer)
19112 (filesets-ingroup-get-data): Use string-match-p.
19113
19114 * find-file.el (ff-other-file-name, ff-other-file-name)
19115 (ff-find-the-other-file, ff-cc-hh-converter):
19116 Remove unused local variables.
19117 (ff-get-file-name): Use string-match-p.
19118 (ff-all-dirs-under): Use ignore-errors.
19119
19120 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19121 (follow-select-if-visible): Remove unused local variable.
19122
19123 * forms.el (read-file-filter): Move declaration.
19124 (forms--make-format, forms--make-parser, forms-insert-record):
19125 Quote function with #'.
19126 (forms--update): Use string-match-p. Quote function with #'.
19127
19128 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19129 (help-make-xrefs): Use looking-at-p.
19130 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19131
19132 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19133 (ibuffer-confirm-operation-on): Use string-match-p.
19134
19135 * msb.el (msb-item-handler, msb-dired-item-handler):
19136 Mark unused arguments.
19137
19138 * ses.el (ses-decode-cell-symbol)
19139 (ses-kill-override): Remove unused local variable.
19140 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19141 (ses-load): Use ignore-errors, looking-at-p.
19142 (ses-jump-safe): Use ignore-errors.
19143 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19144
19145 * tabify.el (untabify, tabify): Mark unused arguments.
19146
19147 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19148 Mark unused argument.
19149 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19150 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19151
19152 * emacs-lisp/timer.el (timer--time): Define setter with
19153 gv-define-setter to avoid deprecation warning.
19154
19155 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19156 (*record-cmpl-statistics-p*): Remove (was commented out).
19157 (cmpl-statistics-block): Remove (body was commented out).
19158 All callers changed.
19159 (add-completions-from-buffer, load-completions-from-file):
19160 Remove unused variables.
19161
19162 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19163
19164 * filecache.el (file-cache-delete-file-list):
19165 Print message only when told so.
19166 (file-cache-files-matching): Use #' in mapconcat argument.
19167
19168 * ffap.el (ffap-url-at-point): Fix reference to variable
19169 thing-at-point-default-mail-uri-scheme.
19170
19171 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19172
19173 * subr.el (define-error): New function.
19174 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19175 error-file-not-found and define with define-error.
19176 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19177 and define with define-error.
19178 * userlock.el (file-locked, file-supersession):
19179 * simple.el (mark-inactive):
19180 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19181 * progmodes/ada-mode.el (ada-mode-errors):
19182 * play/life.el (life-extinct):
19183 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19184 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19185 * nxml/rng-util.el (rng-error):
19186 * nxml/rng-uri.el (rng-uri-error):
19187 * nxml/rng-match.el (rng-compile-error):
19188 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19189 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19190 * nxml/nxml-rap.el (nxml-scan-error):
19191 * nxml/nxml-outln.el (nxml-outline-error):
19192 * net/soap-client.el (soap-error):
19193 * net/gnutls.el (gnutls-error):
19194 * net/ange-ftp.el (ftp-error):
19195 * mpc.el (mpc-proc-error):
19196 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19197 (json-number-format, json-string-escape, json-string-format)
19198 (json-key-format, json-object-format):
19199 * jka-compr.el (compression-error):
19200 * international/quail.el (quail-error):
19201 * international/kkc.el (kkc-error):
19202 * emacs-lisp/ert.el (ert-test-failed):
19203 * calc/calc.el (calc-error, inexact-result, math-overflow)
19204 (math-underflow):
19205 * bookmark.el (bookmark-error-no-filename):
19206 * epg.el (epg-error): Define with define-error.
19207
19208 * time.el (display-time-event-handler)
19209 (display-time-next-load-average): Don't call sit-for since it seems
19210 unnecessary (bug#15045).
19211
19212 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19213 Use #' instead of ' to quote functions.
19214 (checkdoc-output-mode): Use setq-local.
19215 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19216 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19217 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19218 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19219 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19220 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19221 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19222 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19223
19224 * ido.el (ido-completion-help): Fix up compiler warning.
19225
19226 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19227
19228 * frameset.el (frameset-p): Add autoload cookie.
19229 (frameset--jump-to-register): New function, based on code moved from
19230 register.el.
19231 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19232
19233 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19234 (frameset-restore, frameset-save, frameset-session-filter-alist):
19235 Remove declarations.
19236 (register-alist): Doc fix.
19237 (frameset-to-register): Move to frameset.el.
19238 (jump-to-register, describe-register-1): Remove frameset-specific code.
19239
19240 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19241
19242 * allout-widgets.el (allout-widgets-pre-command-business)
19243 (allout-widgets-post-command-business)
19244 (allout-widgets-after-change-handler)
19245 (allout-decorate-item-and-context, allout-set-boundary-marker)
19246 (allout-body-modification-handler)
19247 (allout-graphics-modification-handler): Mark ignored arguments.
19248 (allout-widgets-post-command-business)
19249 (allout-widgets-exposure-change-processor)
19250 (allout-widgets-exposure-undo-processor)
19251 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19252 (allout-parse-item-at-point, allout-decorate-item-guides)
19253 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19254 * allout.el (epa-passphrase-callback-function): Declare.
19255 (allout-overlay-insert-in-front-handler)
19256 (allout-overlay-interior-modification-handler)
19257 (allout-isearch-end-handler, allout-chart-siblings)
19258 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19259 (allout-yank-processing, allout-process-exposed)
19260 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19261 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19262 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19263 (lisp-indent-defform): Mark ignored arguments.
19264 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19265 (calculate-lisp-indent): Remove unused variables.
19266 * international/characters.el (indian-2-column, arabic-2-column)
19267 (tibetan): Mark ignored arguments.
19268 (use-cjk-char-width-table): Mark ignored arguments.
19269 Remove unused variables.
19270 * international/fontset.el (build-default-fontset-data)
19271 (x-compose-font-name, create-fontset-from-fontset-spec):
19272 Mark ignored arguments.
19273 (fontset-plain-name): Remove unused variables.
19274 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19275 (keyboard-coding-system): Mark ignored arguments.
19276 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19277 * help.el (resize-temp-buffer-window):
19278 * window.el (display-buffer-in-major-side-window)
19279 (display-buffer-in-side-window, display-buffer-in-previous-window):
19280 Remove unused variables.
19281 * isearch.el (isearch-forward-symbol):
19282 * version.el (emacs-bzr-version-bzr):
19283 * international/mule-cmds.el (current-language-environment):
19284 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19285 (x-handle-display):
19286 * term/pc-win.el (x-list-fonts, x-display-planes)
19287 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19288 (x-server-version, x-display-screens, x-display-mm-height)
19289 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19290 (x-selection-owner-p, x-own-selection-internal)
19291 (x-disown-selection-internal, x-get-selection-internal)
19292 (msdos-initialize-window-system):
19293 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19294 * term/x-win.el (x-handle-no-bitmap-icon):
19295 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19296 (vc-default-find-file-hook, vc-default-extra-menu):
19297 Mark ignored arguments.
19298
19299 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19300
19301 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19302 break-condition in the context of the debugged code (bug#12685).
19303
19304 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19305
19306 * comint.el:
19307 Do not use an overlay to highlight the last prompt. (Bug#14744)
19308 (comint-mode): Make comint-last-prompt buffer local.
19309 (comint-last-prompt): New variable.
19310 (comint-last-prompt-overlay): Remove. Superseded by
19311 comint-last-prompt.
19312 (comint-snapshot-last-prompt, comint-output-filter):
19313 Use comint-last-prompt.
19314
19315 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19316
19317 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19318 (frameset-save): Check validity of the resulting frameset.
19319
19320 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19321
19322 * ido.el (ido-record-command): Add doc string.
19323
19324 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19325
19326 * frameset.el (frameset): Do not disable creation of the default
19327 frameset-p predicate. Doc fix.
19328 (frameset-valid-p): New function, copied from the old predicate-p.
19329 Add additional checks.
19330 (frameset-restore): Check with frameset-valid-p.
19331 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19332 (frameset-name, frameset-description, frameset-properties)
19333 (frameset-states): Add docstring.
19334 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19335 (frameset-filter-alist): Doc fixes.
19336
19337 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19338
19339 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19340
19341 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19342
19343 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19344 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19345 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19346 (byte-compile-normal-call): Remove obsolescence check.
19347
19348 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19349
19350 * frameset.el (frameset-restore): Doc fix.
19351
19352 * register.el (frameset-frame-id, frameset-frame-with-id)
19353 (frameset-p, frameset-restore, frameset-save): Declare.
19354 (register-alist): Document framesets.
19355 (frameset-session-filter-alist): Declare.
19356 (frameset-to-register): New function.
19357 (jump-to-register): Implement jumping to framesets. Doc fix.
19358 (describe-register-1): Describe framesets.
19359
19360 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19361
19362 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19363
19364 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19365 Use lexical-binding.
19366
19367 * frameset.el (frameset): Use type vector, not list (incompatible
19368 change). Do not declare a new constructor, use the default one.
19369 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19370 `name' and `description', respectively, and add read-only slot
19371 `timestamp'. Doc fixes.
19372 (frameset-copy, frameset-persistent-filter-alist)
19373 (frameset-filter-alist, frameset-switch-to-gui-p)
19374 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19375 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19376 (frameset-filter-iconified, frameset-keep-original-display-p):
19377 Doc fixes.
19378 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19379 Rename from frameset-filter-(save|restore)-param. All callers changed.
19380 Doc fix.
19381 (frameset-p): Adapt to change to vector and be more thorough.
19382 Change arg name to OBJECT. Doc fix.
19383 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19384 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19385 All callers changed.
19386 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19387 All callers changed.
19388 (frameset--record-minibuffer-relationships): Rename from
19389 frameset--process-minibuffer-frames. All callers changed.
19390 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19391 Use new default constructor (again). Doc fix.
19392 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19393 All callers changed.
19394 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19395 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19396 Doc fix.
19397 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19398 PARAMETERS and WINDOW-STATE, respectively.
19399 (frameset-restore): Add new keyword argument PREDICATE.
19400 Reset frameset--target-display to nil. Doc fix.
19401
19402 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19403
19404 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19405 (bat-mode): Use it.
19406 (bat-mode-syntax-table): Mark \n as end-of-comment.
19407 (bat-font-lock-keywords): Remove comment rule.
19408
19409 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19410 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19411
19412 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19413 (byte-compile-callargs-warn): Use `push'.
19414 (byte-compile-arglist-warn): Ignore higher-order "calls".
19415 (byte-compile-file-form-autoload): Use `pcase'.
19416 (byte-compile-function-form): If quoting a symbol, check that it exists.
19417
19418 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19419
19420 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19421 and add a few popular commands found in batch files.
19422 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19423 (dos-mode): Doc fixes.
19424
19425 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19426
19427 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19428 (dos-mode): Use setq-local. Add space after "rem".
19429 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19430 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19431
19432 2013-08-07 Arni Magnusson <arnima@hafro.is>
19433
19434 * progmodes/dos.el: New file.
19435 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19436 dos-mode.
19437
19438 2013-08-06 Glenn Morris <rgm@gnu.org>
19439
19440 * calendar/calendar.el: Add new faces, and day-header-array.
19441 (calendar-weekday-header, calendar-weekend-header)
19442 (calendar-month-header): New faces.
19443 (calendar-day-header-construct): New function.
19444 (calendar-day-header-width): Also :set calendar-day-header-array.
19445 (calendar-american-month-header, calendar-european-month-header)
19446 (calendar-iso-month-header): Use calendar- faces.
19447 (calendar-generate-month):
19448 Use calendar-day-header-array for day headers; apply faces to them.
19449 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19450 (calendar-abbrev-construct): Add optional maxlen argument.
19451 (calendar-day-name-array): Doc fix.
19452 (calendar-day-name-array, calendar-abbrev-length)
19453 (calendar-day-abbrev-array):
19454 Also :set calendar-day-header-array, and maybe redraw.
19455 (calendar-day-header-array): New option. (Bug#15007)
19456 (calendar-font-lock-keywords): Set to nil and make obsolete.
19457 (calendar-day-name): Add option to use header array.
19458
19459 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19460
19461 * net/shr.el (shr-render-td): Remove debugging.
19462 (shr-render-td): Make width computation consistent by defaulting
19463 all zero-width columns to 10 characters. This may not be optimal,
19464 but it's at least consistent.
19465 (shr-make-table-1): Redo last change to fix the real problem in
19466 colspan handling.
19467
19468 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19469
19470 * files.el (cache-long-line-scans):
19471 Make obsolete alias to `cache-long-scans'.
19472
19473 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19474
19475 * frameset.el (frameset, frameset-filter-alist)
19476 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19477 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19478 (frameset-compute-pos): Rename from frameset--compute-pos,
19479 and add docstring.
19480 (frameset-move-onscreen): Use frameset-compute-pos.
19481 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19482
19483 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19484 Fix typos in docstrings.
19485
19486 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19487
19488 * frame.el (get-other-frame): Tiny cleanup.
19489
19490 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19491
19492 * vc/vc.el (vc-default-ignore-completion-table):
19493 Silence byte-compiler warning.
19494
19495 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19496 slot, which can indeed be nil.
19497 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19498 Move entry for `left' from persistent to live filter alist.
19499 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19500 Doc fixes.
19501 (frameset-filter-params): When restoring a frame, copy items added to
19502 `filtered', to avoid unwittingly modifying the original parameters.
19503 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19504 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19505
19506 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19507 to use looking-at-p instead of looking-at. (Bug#15028)
19508
19509 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19510
19511 Revert introduction of isearch-filter-predicates (bug#14714).
19512 Rely on add-function instead.
19513 * isearch.el (isearch-filter-predicates): Rename it back to
19514 isearch-filter-predicate.
19515 (isearch-message-prefix): Use advice-function-mapc and advice
19516 properties to get the isearch-message-prefix.
19517 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19518 instead of run-hook-with-args-until-failure.
19519 (isearch-filter-visible): Not obsolete any more.
19520 * loadup.el: Preload nadvice.
19521 * replace.el (perform-replace): Revert to funcall
19522 instead of run-hook-with-args-until-failure.
19523 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19524 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19525 dired-isearch-filenames-toggle; make it into a proper minor mode.
19526 Use add/remove-function.
19527 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19528 Call the minor-mode rather than add/remove-hook.
19529 (dired-isearch-filter-filenames):
19530 Remove isearch-message-prefix property.
19531 * info.el (Info--search-loop): New function, extracted from Info-search.
19532 Funcall isearch-filter-predicate instead of
19533 run-hook-with-args-until-failure isearch-filter-predicates.
19534 (Info-search): Use it.
19535 (Info-mode): Use isearch-filter-predicate instead of
19536 isearch-filter-predicates.
19537
19538 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19539
19540 Do not call to `selected-window' where it is assumed by default.
19541 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19542 `window-hscroll', `window-width', `window-height', `window-buffer',
19543 `window-frame', `window-start', `window-point', `next-window'
19544 and `window-display-table'.
19545 * abbrev.el (abbrev--default-expand):
19546 * bs.el (bs--show-with-configuration):
19547 * buff-menu.el (Buffer-menu-mouse-select):
19548 * calc/calc.el (calc):
19549 * calendar/calendar.el (calendar-generate-window):
19550 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19551 (diary-make-entry):
19552 * comint.el (send-invisible, comint-dynamic-complete-filename)
19553 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19554 * completion.el (complete):
19555 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19556 * disp-table.el (describe-current-display-table):
19557 * doc-view.el (doc-view-insert-image):
19558 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19559 * ehelp.el (with-electric-help):
19560 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19561 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19562 * emacs-lisp/helper.el (Helper-help-scroller):
19563 * emulation/cua-base.el (cua--post-command-handler-1):
19564 * eshell/esh-mode.el (eshell-output-filter):
19565 * ffap.el (ffap-gnus-wrapper):
19566 * help-macro.el (make-help-screen):
19567 * hilit-chg.el (highlight-compare-buffers):
19568 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19569 * hl-line.el (global-hl-line-highlight):
19570 * icomplete.el (icomplete-simple-completing-p):
19571 * isearch.el (isearch-done):
19572 * jit-lock.el (jit-lock-stealth-fontify):
19573 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19574 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19575 * mpc.el (mpc-tagbrowser, mpc):
19576 * net/rcirc.el (rcirc-any-buffer):
19577 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19578 * play/landmark.el (landmark-max-width, landmark-max-height):
19579 * play/zone.el (zone):
19580 * progmodes/compile.el (compilation-goto-locus):
19581 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19582 * progmodes/etags.el (find-tag-other-window):
19583 * progmodes/fortran.el (fortran-column-ruler):
19584 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19585 * progmodes/verilog-mode.el (verilog-point-text):
19586 * reposition.el (reposition-window):
19587 * rot13.el (toggle-rot13-mode):
19588 * server.el (server-switch-buffer):
19589 * shell.el (shell-dynamic-complete-command)
19590 (shell-dynamic-complete-environment-variable):
19591 * simple.el (insert-buffer, set-selective-display)
19592 (delete-completion-window):
19593 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19594 (speedbar-recenter):
19595 * startup.el (fancy-splash-head):
19596 * textmodes/ispell.el (ispell-command-loop):
19597 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19598 * tutorial.el (help-with-tutorial):
19599 * vc/add-log.el (add-change-log-entry):
19600 * vc/compare-w.el (compare-windows):
19601 * vc/ediff-help.el (ediff-indent-help-message):
19602 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19603 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19604 (ediff-setup-control-frame):
19605 * vc/emerge.el (emerge-position-region):
19606 * vc/pcvs-util.el (cvs-bury-buffer):
19607 * window.el (walk-windows, mouse-autoselect-window-select):
19608 * winner.el (winner-set-conf, winner-undo): Related users changed.
19609
19610 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19611
19612 * frameset.el (frameset--set-id): Doc fix.
19613 (frameset-frame-id, frameset-frame-id-equal-p)
19614 (frameset-locate-frame-id): New functions.
19615 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19616 (frameset-restore): Use them.
19617
19618 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19619
19620 Do not call to `selected-frame' where it is assumed by default.
19621 Affected functions are `raise-frame', `redraw-frame',
19622 `frame-first-window', `frame-terminal' and `delete-frame'.
19623 * calendar/appt.el (appt-disp-window):
19624 * epg.el (epg-wait-for-completion):
19625 * follow.el (follow-delete-other-windows-and-split)
19626 (follow-avoid-tail-recenter):
19627 * international/mule.el (set-terminal-coding-system):
19628 * mail/rmail.el (rmail-mail-return):
19629 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19630 * progmodes/f90.el (f90-add-imenu-menu):
19631 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19632 * server.el (server-switch-buffer):
19633 * simple.el (delete-completion-window):
19634 * talk.el (talk):
19635 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19636 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19637 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19638 * vc/ediff.el (ediff-documentation): Related users changed.
19639 * frame.el (selected-terminal): Remove the leftover.
19640
19641 2013-08-05 Glenn Morris <rgm@gnu.org>
19642
19643 * calendar/calendar.el (calendar-generate-month):
19644 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19645 (calendar-generate-month, calendar-font-lock-keywords):
19646 Fix for calendar-day-header-width > length of any day name.
19647
19648 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19649
19650 * desktop.el (desktop-clear): Use new name of sort predicate.
19651
19652 * frameset.el (frameset): Add docstring. Move :version property to its
19653 own `version' slot.
19654 (frameset-copy): Rename from copy-frameset.
19655 (frameset-p): Check more thoroughly.
19656 (frameset-prop): Do not check for :version, which is no longer a prop.
19657 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19658 Use new :never value instead of t.
19659 (frameset-filter-alist): Expand and clarify docstring.
19660 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19661 (frameset-filter-minibuffer, frameset-filter-save-param)
19662 (frameset-filter-restore-param, frameset-filter-iconified):
19663 Add pointer to docstring of frameset-filter-alist.
19664 (frameset-filter-params): Rename filter values to be more meaningful:
19665 :never instead of t, and reverse the meanings of :save and :restore.
19666 (frameset--process-minibuffer-frames): Clarify error message.
19667 (frameset-save): Avoid unnecessary and confusing call to framep.
19668 Use new BOA constructor for framesets.
19669 (frameset--reuse-list): Doc fix.
19670 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19671 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19672 (frameset-minibufferless-first-p): Doc fix.
19673 Rename from frameset-sort-frames-for-deletion.
19674 (frameset-restore): Doc fixes. Use new function names.
19675 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19676
19677 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19678
19679 * desktop.el (desktop-restore-forces-onscreen)
19680 (desktop-restore-reuses-frames): Document :keyword constant values.
19681 (desktop-filter-parameters-alist): Remove, now identical to
19682 frameset-filter-alist.
19683 (desktop--filter-tty*): Remove, moved to frameset.el.
19684 (desktop-save-frameset, desktop-restore-frameset):
19685 Do not pass :filters argument.
19686
19687 * frameset.el (frameset-live-filter-alist)
19688 (frameset-persistent-filter-alist): New variables.
19689 (frameset-filter-alist): Use them. Add autoload cookie.
19690 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19691 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19692 `frameset--id' (it's supposed to be internal to frameset.el).
19693 (frameset--process-minibuffer-frames): Ditto. Doc fix.
19694 (frameset--initial-params): New function.
19695 (frameset--get-frame): Use it. Doc fix.
19696 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19697 Accept :all, not 'all.
19698 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19699 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
19700 with fbound symbols. Fix frame id matching, and remove matching ids if
19701 the frame being restored is deleted. Obey :delete.
19702
19703 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19704
19705 * subr.el (macrop): New function.
19706 (text-clone--maintaining): New var.
19707 (text-clone--maintain): Rename from text-clone-maintain. Use it
19708 instead of inhibit-modification-hooks.
19709
19710 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
19711 a proxy, so as handle autoloads and redefinitions of the target.
19712 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
19713
19714 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
19715 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
19716 (pcase--mutually-exclusive-p): New function.
19717 (pcase--split-consp): Use it.
19718 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
19719 mutually exclusive with the current predicate.
19720
19721 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
19722 (edebug-macrop): Remove. Use `macrop' instead.
19723 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
19724 (ad-macro-p):
19725 * eshell/esh-cmd.el (eshell-macrop):
19726 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
19727
19728 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19729
19730 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
19731 (advice-mapc): New function, using it.
19732 (advice-function-member-p): New function.
19733 (advice--normalize): Store the cdr in advice--saved-rewrite since
19734 that's the part that will be changed.
19735 (advice--symbol-function): New function.
19736 (advice-remove): Handle removal before the function is defined.
19737 Adjust to new advice--saved-rewrite.
19738 (advice-member-p): Use advice-function-member-p and
19739 advice--symbol-function.
19740
19741 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19742
19743 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
19744 (frameset-filter-minibuffer): Doc fix.
19745 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
19746 (frameset--set-id, frameset--process-minibuffer-frames)
19747 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
19748 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
19749
19750 * desktop.el (desktop-clear): Only delete frames when called
19751 interactively and desktop-restore-frames is non-nil. Doc fix.
19752 (desktop-read): Set desktop-saved-frameset to nil.
19753
19754 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
19755
19756 * vc/vc.el (vc-ignore): Rewrite.
19757 (vc-default-ignore-completion-table, vc--read-lines)
19758 (vc--add-line, vc--remove-regexp): New functions.
19759
19760 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
19761 (vc-svn-ignore-completion-table): New function.
19762
19763 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
19764 (vc-hg-ignore-completion-table)
19765 (vc-hg-find-ignore-file): New functions.
19766
19767 * vc/vc-git.el (vc-git-ignore): Rewrite.
19768 (vc-git-ignore-completion-table)
19769 (vc-git-find-ignore-file): New functions.
19770
19771 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
19772
19773 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
19774 (vc-bzr-ignore-completion-table)
19775 (vc-bzr-find-ignore-file): New functions.
19776
19777 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
19778
19779 * frameset.el (frameset-prop): New function and setter.
19780 (frameset-save): Do not modify frame list passed by the caller.
19781
19782 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19783
19784 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
19785
19786 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
19787
19788 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
19789 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
19790
19791 * custom.el (custom-initialize-default, custom-initialize-set)
19792 (custom-initialize-reset, custom-initialize-changed): Affect the
19793 toplevel-default-value (bug#6275, bug#14586).
19794 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
19795 for bug#6275.
19796
19797 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19798
19799 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
19800 Add cl-def* expressions.
19801
19802 * frameset.el (frameset-filter-params): Fix order of arguments.
19803
19804 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19805
19806 Move code related to saving frames to frameset.el.
19807 * desktop.el: Require frameset.
19808 (desktop-restore-frames): Doc fix.
19809 (desktop-restore-reuses-frames): Rename from
19810 desktop-restoring-reuses-frames.
19811 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
19812 (desktop-clear): Clear frames too.
19813 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
19814 (desktop--filter-tty*, desktop-save, desktop-read):
19815 Use frameset functions.
19816 (desktop-before-saving-frames-functions, desktop--filter-*-color)
19817 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19818 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
19819 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
19820 (desktop--process-minibuffer-frames, desktop-save-frames)
19821 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
19822 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
19823 (desktop--sort-states, desktop-restoring-frames-p)
19824 (desktop-restore-frames): Remove. Most code moved to frameset.el.
19825 (desktop-restoring-frameset-p, desktop-restore-frameset)
19826 (desktop--check-dont-save, desktop-save-frameset): New functions.
19827 (desktop--app-id): New constant.
19828 (desktop-first-buffer, desktop-buffer-ok-count)
19829 (desktop-buffer-fail-count): Move before first use.
19830 * frameset.el: New file.
19831
19832 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19833
19834 * files.el: Use lexical-binding.
19835 (dir-locals-read-from-file): Remove unused `err' variable.
19836 (hack-dir-local-variables--warned-coding): New var.
19837 (hack-dir-local-variables): Use it to avoid repeated warnings.
19838 (make-backup-file-name--default-function): New function.
19839 (make-backup-file-name-function): Use it as default.
19840 (buffer-stale--default-function): New function.
19841 (buffer-stale-function): Use it as default.
19842 (revert-buffer-insert-file-contents--default-function): New function.
19843 (revert-buffer-insert-file-contents-function): Use it as default.
19844 (insert-directory): Avoid add-to-list.
19845
19846 * autorevert.el (auto-revert-handler): Simplify.
19847 Use buffer-stale--default-function.
19848
19849 2013-08-01 Tassilo Horn <tsdh@gnu.org>
19850
19851 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
19852
19853 * whitespace.el (whitespace-ensure-local-variables): New function.
19854 (whitespace-cleanup-region): Call it.
19855 (whitespace-turn-on): Call it.
19856
19857 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
19858
19859 Complete file name handlers.
19860
19861 * net/tramp.el (tramp-handle-set-visited-file-modtime)
19862 (tramp-handle-verify-visited-file-modtime)
19863 (tramp-handle-file-notify-rm-watch): New functions.
19864 (tramp-call-process): Do not bind `default-directory'.
19865
19866 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19867 Order alphabetically.
19868 <access-file, add-name-to-file, dired-call-process>:
19869 <dired-compress-file, file-acl, file-notify-rm-watch>:
19870 <file-ownership-preserved-p, file-selinux-context>:
19871 <make-directory-internal, make-symbolic-link, set-file-acl>:
19872 <set-file-selinux-context, set-visited-file-modtime>:
19873 <verify-visited-file-modtime>: Add handler.
19874 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
19875
19876 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
19877 <file-notify-add-watch, file-notify-rm-watch>:
19878 <set-file-times, set-visited-file-modtime>:
19879 <verify-visited-file-modtime>: Add handler.
19880 (with-tramp-gvfs-error-message)
19881 (tramp-gvfs-handle-set-visited-file-modtime)
19882 (tramp-gvfs-fuse-file-name): Remove.
19883 (tramp-gvfs-handle-file-notify-add-watch)
19884 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
19885 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
19886
19887 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19888 Order alphabetically.
19889 <file-notify-rm-watch>: Use default Tramp handler.
19890 <executable-find>: Remove private handler.
19891 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
19892 `default-directory'.
19893 (tramp-sh-handle-executable-find)
19894 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
19895 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19896 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
19897 Do not use `format' in `tramp-message'.
19898
19899 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
19900 <file-notify-rm-watch, set-visited-file-modtime>:
19901 <verify-visited-file-modtime>: Add handler.
19902 (tramp-smb-call-winexe): Do not bind `default-directory'.
19903
19904 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
19905
19906 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
19907
19908 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
19909
19910 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
19911 use it.
19912 (log-view-diff-changeset): Same.
19913 (log-view-diff-common): Call backend command `previous-revision'
19914 to find out the previous revision, in both cases. Swap the
19915 variables `to' and `fr', so that `fr' usually refers to the
19916 earlier revision (Bug#14989).
19917
19918 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
19919
19920 * ibuf-ext.el (ibuffer-filter-by-filename):
19921 Make it work with dired buffers too.
19922
19923 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
19924
19925 * emacs-lisp/re-builder.el (reb-color-display-p):
19926 * files.el (save-buffers-kill-terminal):
19927 * net/browse-url.el (browse-url):
19928 * server.el (server-save-buffers-kill-terminal):
19929 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
19930 Prefer nil to selected-frame for the first arg of frame-parameter.
19931
19932 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
19933
19934 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
19935
19936 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
19937
19938 * minibuffer.el (completion--twq-all): Try and preserve each
19939 completion's case choice (bug#14907).
19940
19941 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19942
19943 * net/network-stream.el (open-network-stream): Mention the new
19944 :nogreeting parameter.
19945 (network-stream-open-starttls): Use the :nogreeting parameter
19946 (bug#14938).
19947
19948 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
19949
19950 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
19951 more natural than popping.
19952
19953 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
19954 (shr-urlify): Highlight under mouse.
19955
19956 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19957
19958 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
19959
19960 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
19961
19962 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
19963 buffer for output.
19964
19965 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
19966 point-min==1. Fix search string. Fix parentheses missing.
19967
19968 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
19969 assume point-min==1. Fix search string. Fix parentheses missing.
19970
19971 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
19972
19973 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
19974 buffer for output.
19975
19976 2013-07-29 Eli Zaretskii <eliz@gnu.org>
19977
19978 * frame.el (frame-notice-user-settings): Avoid inflooping when the
19979 initial frame is minibuffer-less. (Bug#14841)
19980
19981 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
19982
19983 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
19984 option.
19985
19986 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19987 (tramp-maybe-open-connection): Use it.
19988
19989 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19990
19991 * desktop.el (desktop--make-frame): Include `minibuffer' in the
19992 minimal set of parameters passed when creating a frame, because
19993 the minibuffer status of a frame cannot be changed later.
19994
19995 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
19996
19997 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
19998 replace-regexp-in-string and inadvertent omissions in previous change.
19999 (todo-filter-items): Ensure only file names are comma-separated in
20000 name of filtered items buffer.
20001
20002 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20003
20004 * desktop.el: Optionally force offscreen frames back onscreen.
20005 (desktop-restoring-reuses-frames): New option.
20006 (desktop--compute-pos, desktop--move-onscreen): New functions.
20007 (desktop--make-frame): Use desktop--move-onscreen.
20008
20009 2013-07-27 Alan Mackenzie <acm@muc.de>
20010
20011 Fontify a Java generic method as a function.
20012 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20013 value to t.
20014
20015 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20016
20017 * calendar/todo-mode.el: Add command to rename todo files.
20018 (todo-rename-file): New command.
20019 (todo-key-bindings-t): Add key binding for it. Change the
20020 bindings of todo-filter-regexp-items(-multifile) to use `x'
20021 instead of `r', since the latter is better suited to the new
20022 renaming command.
20023
20024 2013-07-27 Alan Mackenzie <acm@muc.de>
20025
20026 Make Java try-with-resources statement parse properly.
20027 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20028 (c-block-stmt-1-2-key): New language constants/variables.
20029 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20030 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20031 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20032 with c-block-stmt-1-2-key.
20033
20034 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20035
20036 * desktop.el (desktop--make-frame): Apply most frame parameters after
20037 creating the frame to force (partially or totally) offscreen frames to
20038 be restored as such.
20039
20040 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20041
20042 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20043 (Bug#14948)
20044
20045 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20046
20047 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20048 `base' arg of backtrace-frame.
20049
20050 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20051
20052 * simple.el (list-processes): Doc fix.
20053
20054 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20055
20056 * desktop.el (desktop--select-frame):
20057 Try harder to reuse existing frames.
20058
20059 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20060
20061 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20062 (edebug-eval): Use backtrace-eval.
20063 (edebug--display, edebug--recursive-edit): Don't let-bind the
20064 edebug-outer-* vars that keep track of variables we locally let-bind.
20065 (edebug-outside-excursion): Don't restore outside values of locally
20066 let-bound vars.
20067 (edebug--display): Use user-error.
20068 (cl-lexical-debug, cl-debug-env): Remove.
20069
20070 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20071
20072 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20073 are restored to be sure that they are visible before deleting any
20074 remaining ones.
20075
20076 2013-07-26 Matthias Meulien <orontee@gmail.com>
20077
20078 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20079 vc-print-root-log. (Bug#14948)
20080
20081 2013-07-26 Richard Stallman <rms@gnu.org>
20082
20083 Add aliases for encrypting mail.
20084 * epa.el (epa-mail-aliases): New option.
20085 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20086 Bind inhibit-read-only so read-only text doesn't ruin everything.
20087 (epa-mail-default-recipients): New subroutine broken out.
20088 Handle epa-mail-aliases.
20089
20090 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20091
20092 Add support for lexical variables to the debugger's `e' command.
20093 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20094 vars, except for debugger-outer-match-data.
20095 (debugger-frame-number): Move check for "on a function call" from
20096 callers into it. Add `skip-base' argument.
20097 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20098 (debugger-env-macro): Only reset the state stored in non-variables,
20099 i.e. current-buffer and match-data.
20100 (debugger-eval-expression): Rewrite using backtrace-eval.
20101 * subr.el (internal--called-interactively-p--get-frame): Remove.
20102 (called-interactively-p):
20103 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20104 `base' arg of backtrace-frame instead.
20105
20106 2013-07-26 Glenn Morris <rgm@gnu.org>
20107
20108 * align.el (align-regexp): Doc fix. (Bug#14857)
20109 (align-region): Explicit error if subexpression missing/does not match.
20110
20111 * simple.el (global-visual-line-mode):
20112 Do not duplicate the mode lighter. (Bug#14858)
20113
20114 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20115
20116 * window.el (display-buffer): In display-buffer bind
20117 split-window-keep-point to t, bug#14829.
20118
20119 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20120
20121 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20122 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20123 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20124 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20125 Change accordingly.
20126 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20127 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20128
20129 2013-07-25 Glenn Morris <rgm@gnu.org>
20130
20131 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20132
20133 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20134
20135 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20136 parameter to modify-frame-parameters if the value has not changed;
20137 this is a workaround for bug#14949.
20138 (desktop--make-frame): On cl-delete-if call, check parameter name,
20139 not full parameter.
20140
20141 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20142
20143 * vc/vc.el (vc-ignore): New function.
20144
20145 * vc/vc-svn.el (vc-svn-ignore): New function.
20146
20147 * vc/vc-hg.el (vc-hg-ignore): New function.
20148
20149 * vc/vc-git.el (vc-git-ignore): New function.
20150
20151 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20152 (vc-dir-ignore): New function.
20153
20154 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20155 (cvs-append-to-ignore): Move here from pcvs.el.
20156
20157 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20158
20159 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20160
20161 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20162
20163 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20164 (desktop-restore-frames): Warn when deleting an existing frame failed.
20165
20166 2013-07-24 Glenn Morris <rgm@gnu.org>
20167
20168 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20169
20170 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20171
20172 * filenotify.el (file-notify-supported-p):
20173 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20174 Remove functions.
20175
20176 * autorevert.el (auto-revert-use-notify)
20177 (auto-revert-notify-add-watch):
20178 * net/tramp.el (tramp-file-name-for-operation):
20179 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20180 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20181 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20182 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20183 Remove `file-notify-supported-p' entry.
20184
20185 2013-07-24 Glenn Morris <rgm@gnu.org>
20186
20187 * printing.el: Replace all uses of deleted ps-windows-system,
20188 ps-lp-system, ps-flatten-list with lpr- versions.
20189
20190 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20191
20192 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20193 checked with memq (bug#14935).
20194
20195 * files.el (revert-buffer-function): Use a non-nil default.
20196 (revert-buffer-preserve-modes): Declare var to
20197 provide access to the `preserve-modes' argument.
20198 (revert-buffer): Let-bind it.
20199 (revert-buffer--default): New function, extracted from revert-buffer.
20200
20201 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20202
20203 * lpr.el: Signal print errors more prominently.
20204 (print-region-function): Don't default to nil.
20205 (lpr-print-region): New function, extracted from print-region-1.
20206 Check lpr's return value and signal an error in case of problem.
20207 (print-region-1): Use it.
20208 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20209 versions instead.
20210 (ps-printer-name): Default to nil.
20211 (ps-printer-name-option): Default to lpr-printer-switch.
20212 (ps-print-region-function): Don't default to nil.
20213 (ps-postscript-code-directory): Simplify default.
20214 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20215 (ps-string-list, ps-eval-switch, ps-flatten-list)
20216 (ps-flatten-list-1): Remove.
20217 (ps-multibyte-buffer): Avoid setq.
20218 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20219 (print-region-function, ps-print-region-function): Don't set them here.
20220
20221 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20222
20223 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20224 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20225 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20226 (ido-decorations): Doc fix.
20227
20228 * ansi-color.el: Fix old URL.
20229
20230 2013-07-23 Michael R. Mauger <michael@mauger.com>
20231
20232 * progmodes/sql.el: Version 3.3
20233 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20234 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20235 (sql-interactive-remove-continuation-prompt): Rewrite, use
20236 functions above. Fix continuation prompt and complete output line
20237 handling.
20238 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20239 redirected output buffer.
20240 (sql-mode): Restore deleted code (Bug#13591).
20241
20242 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20243
20244 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20245
20246 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20247
20248 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20249
20250 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20251 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20252 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20253
20254 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20255
20256 * desktop.el (desktop-clear): Simplify; remove useless checks
20257 against invalid buffer names.
20258 (desktop-list*): Use cl-list*.
20259 (desktop-buffer-info, desktop-create-buffer): Simplify.
20260
20261 2013-07-23 Leo Liu <sdl.web@gmail.com>
20262
20263 * bookmark.el (bookmark-make-record): Restore NAME as a default
20264 value. (Bug#14933)
20265
20266 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20267
20268 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20269 extracted from autoload--insert-text.
20270 (autoload--insert-text): Remove.
20271 (autoload--print-cookie-text): New function, extracted from
20272 autoload--insert-cookie-text.
20273 (autoload--insert-cookie-text): Remove.
20274 (autoload-generate-file-autoloads): Adjust calls accordingly.
20275
20276 * winner.el (winner-hook-installed-p): Remove.
20277 (winner-mode): Simplify accordingly.
20278
20279 * subr.el (add-to-list): Fix compiler-macro when `append' is
20280 not constant. Don't use `cl-member' for the base case.
20281
20282 * progmodes/subword.el: Fix boundary case (bug#13758).
20283 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20284 own group.
20285 (subword-backward-regexp): Make it a constant.
20286 (subword-forward-internal): Don't treat a trailing capital as the
20287 beginning of a word.
20288
20289 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20290
20291 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20292 global value of tabulated-list-revert-hook (bug#14930).
20293
20294 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20295
20296 * desktop.el: Require 'cl-lib.
20297 (desktop-before-saving-frames-functions): New hook.
20298 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20299 for frames being saved. Rename from desktop--save-minibuffer-frames.
20300 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20301 Do not save frames with non-nil `desktop-dont-save' parameter.
20302 Filter out deleted frames.
20303 (desktop--find-frame): Use cl-find-if.
20304 (desktop--select-frame): Use cl-(first|second|third) to access values
20305 of desktop-mini.
20306 (desktop--make-frame): Use cl-delete-if.
20307 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20308 (desktop-restore-frames): Use cl-(first|second|third) to access values
20309 of desktop-mini. Look for visible frame at the end, not while
20310 restoring frames.
20311
20312 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20313 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20314 Use string-match-p, looking-at-p (bug#14927).
20315
20316 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20317
20318 * desktop.el (desktop-saved-frame-states):
20319 Rename from desktop--saved-states; all users changed.
20320 (desktop-save-frames): Rename from desktop--save-frames.
20321 Do not save state to desktop file.
20322 (desktop-save): Save desktop-saved-frame-states to desktop file
20323 and reset to nil.
20324 (desktop-restoring-frames-p): New function.
20325 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20326 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20327 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20328
20329 * desktop.el: Correctly restore iconified frames.
20330 (desktop--filter-iconified-position): New function.
20331 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20332
20333 2013-07-20 Glenn Morris <rgm@gnu.org>
20334
20335 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20336 Let `message' do the formatting.
20337 (def-gdb-preempt-display-buffer): Add explicit format.
20338
20339 * image-dired.el (image-dired-track-original-file):
20340 Use with-current-buffer.
20341 (image-dired-track-thumbnail): Use with-current-buffer.
20342 Avoid changing point of wrong window.
20343
20344 * image-dired.el (image-dired-track-original-file):
20345 Avoid changing point of wrong window. (Bug#14909)
20346
20347 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20348
20349 * progmodes/gdb-mi.el (gdb-done-or-error):
20350 Guard against "%" in gdb output. (Bug#14127)
20351
20352 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20353
20354 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20355 (Bug#14826)
20356
20357 * international/mule.el (coding-system-iso-2022-flags): Fix last
20358 change.
20359
20360 2013-07-20 Kenichi Handa <handa@gnu.org>
20361
20362 * international/mule.el (coding-system-iso-2022-flags):
20363 Add `8-bit-level-4'. (Bug#8522)
20364
20365 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20366
20367 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20368 (bug#14815).
20369
20370 * net/eww.el (eww-process-text-input): Allow inputting when the
20371 point is at the start of the line, as the properties aren't
20372 front-sticky.
20373
20374 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20375 degenerate widths.
20376
20377 2013-07-19 Richard Stallman <rms@gnu.org>
20378
20379 * epa.el (epa-popup-info-window): Doc fix.
20380
20381 * subr.el (split-string): New arg TRIM.
20382
20383 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20384
20385 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20386 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20387
20388 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20389
20390 * filenotify.el (file-notify--library): Rename from
20391 `file-notify-support'. Do not autoload. Adapt all uses.
20392 (file-notify-supported-p): New defun.
20393
20394 * autorevert.el (auto-revert-use-notify):
20395 Use `file-notify-supported-p' instead of `file-notify-support'.
20396 Adapt docstring.
20397 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20398
20399 * net/tramp.el (tramp-file-name-for-operation):
20400 Add `file-notify-supported-p'.
20401
20402 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20403 New defun.
20404 (tramp-sh-file-name-handler-alist): Add it as handler for
20405 `file-notify-supported-p '.
20406
20407 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20408 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20409 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20410 Add `ignore' as handler for `file-notify-*' functions.
20411
20412 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20413
20414 * simple.el (line-move-partial, line-move): Don't start vscroll or
20415 scroll-up if the current line is not taller than the window.
20416 (Bug#14881)
20417
20418 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20419
20420 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20421 highlight question marks in the method names as strings.
20422 (ruby-block-beg-keywords): Inline.
20423 (ruby-font-lock-keyword-beg-re): Extract from
20424 `ruby-font-lock-keywords'.
20425
20426 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20427
20428 * frame.el (blink-cursor-blinks): New defcustom.
20429 (blink-cursor-blinks-done): New defvar.
20430 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20431 (blink-cursor-timer-function): Check if number of blinks has been
20432 done on X and NS.
20433 (blink-cursor-suspend, blink-cursor-check): New defuns.
20434
20435 2013-07-15 Glenn Morris <rgm@gnu.org>
20436
20437 * edmacro.el (edmacro-format-keys): Fix previous change.
20438
20439 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20440
20441 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20442 The hack didn't work outside English locales anyway.
20443
20444 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20445
20446 * simple.el (define-alternatives): Rename from alternatives-define,
20447 per RMS' suggestion.
20448
20449 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20450
20451 * desktop.el (desktop-restore-frames): Change default to t.
20452 (desktop-restore-in-current-display): Now offer more options.
20453 (desktop-restoring-reuses-frames): New customization option.
20454 (desktop--saved-states): Doc fix.
20455 (desktop-filter-parameters-alist): New variable, renamed and expanded
20456 from desktop--excluded-frame-parameters.
20457 (desktop--target-display): New variable.
20458 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20459 (desktop--filter-tty*, desktop--filter-*-color)
20460 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20461 (desktop--filter-save-desktop-parm)
20462 (desktop-restore-in-original-display-p): New functions.
20463 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20464 (desktop--save-minibuffer-frames): New function, inspired by a similar
20465 function from Martin Rudalics.
20466 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20467 (desktop--restore-in-this-display-p): Remove.
20468 (desktop--find-frame): Rename from desktop--find-frame-in-display
20469 and add predicate argument.
20470 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20471 (desktop--reuse-list): New variable.
20472 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20473 New functions.
20474 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20475
20476 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20477
20478 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20479
20480 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20481
20482 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20483 Highlight conversion methods on Kernel.
20484
20485 2013-07-13 Alan Mackenzie <acm@muc.de>
20486
20487 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20488 and comment it out. This out-commenting enables certain C++
20489 declarations to be parsed correctly.
20490
20491 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20492
20493 * international/mule.el (define-coding-system): Doc fix.
20494
20495 * simple.el (default-font-height): Don't call font-info if the
20496 frame's default font didn't change since the frame was created.
20497 (Bug#14838)
20498
20499 2013-07-13 Leo Liu <sdl.web@gmail.com>
20500
20501 * ido.el (ido-read-file-name): Guard against non-symbol value.
20502
20503 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20504
20505 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20506 in nested defuns.
20507
20508 2013-07-13 Leo Liu <sdl.web@gmail.com>
20509
20510 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20511 ido-set-matches call. (Bug#6852)
20512
20513 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20514
20515 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20516 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20517 Ruby 2.0.
20518 (ruby-font-lock-keywords): Distinguish calls to functions with
20519 module-like names from module references. Highlight character
20520 literals.
20521
20522 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20523
20524 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20525 (gdb-send): Handle continued commands. (Bug#14847)
20526
20527 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20528
20529 * desktop.el (desktop--v2s): Remove unused local variable.
20530 (desktop-save-buffer): Make defvar-local; adjust docstring.
20531 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20532 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20533
20534 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20535
20536 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20537
20538 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20539
20540 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20541 (Bug#14842)
20542
20543 2013-07-12 Glenn Morris <rgm@gnu.org>
20544
20545 * doc-view.el: Require cl-lib at runtime too.
20546 (doc-view-remove-if): Remove.
20547 (doc-view-search-next-match, doc-view-search-previous-match):
20548 Use cl-remove-if.
20549
20550 * edmacro.el: Require cl-lib at runtime too.
20551 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20552 (edmacro-mismatch, edmacro-subseq): Remove.
20553
20554 * shadowfile.el: Require cl-lib.
20555 (shadow-remove-if): Remove.
20556 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20557 Use cl-remove-if.
20558
20559 * wid-edit.el: Require cl-lib.
20560 (widget-choose): Use cl-remove-if.
20561 (widget-remove-if): Remove.
20562
20563 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20564 (ebrowse-delete-if-not): Remove.
20565 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20566 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20567 Use cl-delete-if-not.
20568
20569 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20570
20571 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20572 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20573
20574 2013-07-12 Leo Liu <sdl.web@gmail.com>
20575
20576 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20577
20578 2013-07-11 Glenn Morris <rgm@gnu.org>
20579
20580 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20581 (edebug-gensym-index, edebug-gensym):
20582 Remove reimplementation of cl-gensym.
20583 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20584
20585 * thumbs.el: Require cl-lib at run-time too.
20586 (thumbs-gensym-counter, thumbs-gensym):
20587 Remove reimplementation of cl-gensym.
20588 (thumbs-temp-file): Use cl-gensym.
20589
20590 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20591 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20592 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20593 (ert--union, ert--gensym-counter, ert--gensym-counter)
20594 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20595 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20596 (ert-make-test-unbound, ert--expand-should-1)
20597 (ert--expand-should, ert--should-error-handle-error)
20598 (should-error, ert--explain-equal-rec)
20599 (ert--plist-difference-explanation, ert-select-tests)
20600 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20601 Use cl-lib functions rather than reimplementations.
20602
20603 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20604
20605 * net/tramp.el (tramp-methods): Extend docstring.
20606 (tramp-connection-timeout): New defcustom.
20607 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20608 (with-tramp-progress-reporter): Simplify.
20609 (tramp-process-actions): Improve messages.
20610
20611 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20612 * net/tramp-sh.el (tramp-maybe-open-connection):
20613 Use `tramp-connection-timeout'.
20614 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20615 (Bug#14808)
20616
20617 2013-07-11 Leo Liu <sdl.web@gmail.com>
20618
20619 * ido.el (ido-read-file-name): Conform to the requirements of
20620 read-file-name. (Bug#11861)
20621 (ido-read-directory-name): Conform to the requirements of
20622 read-directory-name.
20623
20624 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20625
20626 * subr.el (delay-warning): New function.
20627
20628 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20629
20630 * simple.el (default-line-height): New function.
20631 (line-move-partial, line-move): Use it instead of computing the
20632 line height inline.
20633 (line-move-partial): Always compute ROWH. If the last line is
20634 partially-visible, but its text is completely visible, allow
20635 cursor to enter such a partially-visible line.
20636
20637 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20638
20639 Improve error messages. (Bug#14808)
20640
20641 * net/tramp.el (tramp-current-connection): New defvar, moved from
20642 tramp-sh.el.
20643 (tramp-message-show-progress-reporter-message): Remove, not
20644 needed anymore.
20645 (tramp-error-with-buffer): Show message in minibuffer.
20646 Discard input before waiting. Reset connection timestamp.
20647 (with-tramp-progress-reporter): Improve messages.
20648 (tramp-process-actions): Use progress reporter. Delete process in
20649 case of error. Improve messages.
20650
20651 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20652 Call `tramp-error-with-buffer' with vector and buffer.
20653 (tramp-current-connection): Remove.
20654 (tramp-maybe-open-connection): The car of
20655 `tramp-current-connection' are the first 3 slots of the vector.
20656
20657 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20658
20659 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20660 inside continued strings.
20661
20662 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20663
20664 Timestamp fixes for undo (Bug#14824).
20665 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20666
20667 2013-07-10 Leo Liu <sdl.web@gmail.com>
20668
20669 * files.el (require-final-newline): Allow safe local value.
20670 (Bug#14834)
20671
20672 2013-07-09 Leo Liu <sdl.web@gmail.com>
20673
20674 * ido.el (ido-read-directory-name): Handle fallback.
20675 (ido-read-file-name): Update DIR to ido-current-directory.
20676 (Bug#1516)
20677 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20678
20679 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20680
20681 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20682 "autoload". Remove "warn lower camel case" section, previously
20683 commented out. Highlight negation char. Do not highlight the
20684 target in singleton method definitions.
20685
20686 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20687
20688 * faces.el (tty-setup-hook): Declare the hook.
20689
20690 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20691 and detect when a guard/pred depends on local vars (bug#14773).
20692 (pcase--u1): Adjust caller.
20693
20694 2013-07-08 Eli Zaretskii <eliz@gnu.org>
20695
20696 * simple.el (line-move-partial, line-move): Account for
20697 line-spacing.
20698 (line-move-partial): Avoid setting vscroll when the last
20699 partially-visible line in window is of default height.
20700
20701 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20702
20703 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20704 been used a while.
20705
20706 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
20707
20708 * subr.el (read-quoted-char): Remove unused local variable `char'.
20709
20710 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
20711
20712 * vc/ediff.el (ediff-version): Version update.
20713 (ediff-files-command, ediff3-files-command, ediff-merge-command)
20714 (ediff-merge-with-ancestor-command, ediff-directories-command)
20715 (ediff-directories3-command, ediff-merge-directories-command)
20716 (ediff-merge-directories-with-ancestor-command): New functions.
20717 All are command-line interfaces to ediff: to facilitate calling
20718 Emacs with the appropriate ediff functions invoked.
20719
20720 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
20721 New function.
20722 (viper-save-kill-buffer): Check if buffer is modified.
20723
20724 * emulation/viper.el (viper-version): Version update.
20725 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
20726
20727 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
20728
20729 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
20730 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
20731 (viper-intercept-ESC-key): Simplify.
20732 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
20733 don't use kbd.
20734 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
20735 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
20736 (viper-setup-ESC-to-escape): New functions.
20737 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
20738 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
20739
20740 2013-07-07 Eli Zaretskii <eliz@gnu.org>
20741
20742 * simple.el (default-font-height, window-screen-lines):
20743 New functions.
20744 (line-move, line-move-partial): Use them instead of
20745 frame-char-height and window-text-height. This makes scrolling
20746 text smoother when the buffer's default face uses a font that is
20747 different from the frame's default font.
20748
20749 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
20750
20751 * files.el (write-file): Do not display confirm dialog for NS,
20752 it does its own dialog, which can't be canceled (Bug#14578).
20753
20754 2013-07-06 Eli Zaretskii <eliz@gnu.org>
20755
20756 * simple.el (line-move-partial): Adjust the row returned by
20757 posn-at-point for the current window-vscroll. (Bug#14567)
20758
20759 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
20760
20761 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
20762 (tramp-sh-file-inotifywait-process-filter): Handle file names with
20763 spaces.
20764
20765 2013-07-06 Martin Rudalics <rudalics@gmx.at>
20766
20767 * window.el (window-state-put-stale-windows): New variable.
20768 (window--state-put-2): Save list of windows without matching buffer.
20769 (window-state-put): Remove "bufferless" windows if possible.
20770
20771 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20772
20773 * simple.el (alternatives-define): Remove leftover :group keyword.
20774 Tweak docstring.
20775
20776 2013-07-06 Leo Liu <sdl.web@gmail.com>
20777
20778 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
20779 (ido-enable-virtual-buffers): New variable.
20780 (ido-buffer-internal, ido-toggle-virtual-buffers)
20781 (ido-make-buffer-list): Use it.
20782 (ido-exhibit): Support turning on and off virtual buffers
20783 automatically.
20784
20785 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20786
20787 * simple.el (alternatives-define): New macro.
20788
20789 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
20790
20791 * subr.el (read-quoted-char): Use read-key.
20792 (sit-for): Let read-event decode tty input (bug#14782).
20793
20794 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
20795
20796 * calendar/todo-mode.el: Add handling of file deletion, both by
20797 mode command and externally. Fix various related bugs.
20798 Clarify Commentary and improve some documentation strings and code.
20799 (todo-delete-file): New command.
20800 (todo-check-file): New function.
20801 (todo-show): Handle external deletion of the file we're trying to
20802 show (bug#14688). Replace called-interactively-p by an optional
20803 prefix argument to avoid problematic interaction with catch form
20804 when byte compiled (bug#14702).
20805 (todo-quit): Handle external deletion of the archive's todo file.
20806 Make sure the buffer that was visiting the archive file is still
20807 live before trying to bury it.
20808 (todo-category-completions): Handle external deletion of any
20809 category completion files.
20810 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
20811 of todo files, in case of external deletion.
20812 (todo-add-file): Replace unnecessary setq by let-binding.
20813 (todo-find-archive): Check whether there are any archives.
20814 Replace unnecessary setq by let-binding.
20815 (todo-archive-done-item): Use find-file-noselect to get the
20816 archive buffer whether or not the archive already exists.
20817 Remove superfluous code. Use file size instead of buffer-file-name to
20818 check if the archive is new; if it is, update list of archives.
20819 (todo-default-todo-file): Allow nil to be a valid value for when
20820 there are no todo files.
20821 (todo-reevaluate-default-file-defcustom): Use corrected definition
20822 of todo-default-todo-file.
20823 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
20824 (todo-delete-category, todo-show-categories-table)
20825 (todo-category-number): Clarify comment.
20826 (todo-filter-items): Clarify documentation string.
20827 (todo-show-current-file, todo-display-as-todo-file)
20828 (todo-reset-and-enable-done-separator): Tweak documentation string.
20829 (todo-done-separator): Make separator length window-width, since
20830 bug#2749 is now fixed.
20831
20832 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
20833
20834 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
20835 Support both "gvfs-monitor-dir" and "inotifywait".
20836 (tramp-sh-file-inotifywait-process-filter): Rename from
20837 `tramp-sh-file-notify-process-filter'.
20838 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20839 (tramp-get-remote-gvfs-monitor-dir): New defuns.
20840
20841 2013-07-05 Leo Liu <sdl.web@gmail.com>
20842
20843 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
20844
20845 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20846
20847 * frame.el (display-pixel-height, display-pixel-width)
20848 (display-mm-height, display-mm-width): Mention behavior on
20849 multi-monitor setups in docstrings.
20850 (w32-display-monitor-attributes-list): Declare function.
20851 (display-monitor-attributes-list): Use it.
20852
20853 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
20854
20855 * filenotify.el: New package.
20856
20857 * autorevert.el (top): Require filenotify.el.
20858 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
20859 instead.
20860 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20861 (auto-revert-notify-handler): Use `file-notify-*' functions.
20862
20863 * subr.el (file-notify-handle-event): Move function to filenotify.el.
20864
20865 * net/tramp.el (tramp-file-name-for-operation):
20866 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
20867
20868 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
20869 for `file-notify-add-watch' and `file-notify-rm-watch'.
20870 (tramp-process-sentinel): Improve trace.
20871 (tramp-sh-handle-file-notify-add-watch)
20872 (tramp-sh-file-notify-process-filter)
20873 (tramp-sh-handle-file-notify-rm-watch)
20874 (tramp-get-remote-inotifywait): New defuns.
20875
20876 2013-07-03 Juri Linkov <juri@jurta.org>
20877
20878 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
20879 call of `occur-read-primary-args' to interactive spec.
20880
20881 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
20882 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
20883
20884 2013-07-03 Matthias Meulien <orontee@gmail.com>
20885
20886 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
20887 `Buffer-menu-multi-occur'. Add it to the menu.
20888 (Buffer-menu-mode): Document it in docstring.
20889 (Buffer-menu-multi-occur): New command. (Bug#14673)
20890
20891 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20892
20893 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
20894 keywords and built-ins.
20895
20896 2013-07-03 Glenn Morris <rgm@gnu.org>
20897
20898 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
20899
20900 Make info-xref checks case-sensitive by default
20901 * info.el (Info-find-node, Info-find-in-tag-table)
20902 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
20903 Add option for exact case matching of nodes.
20904 * info-xref.el (info-xref): New custom group.
20905 (info-xref-case-fold): New option.
20906 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
20907
20908 2013-07-03 Leo Liu <sdl.web@gmail.com>
20909
20910 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
20911
20912 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20913
20914 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
20915 middle of block statement initially, lower the depth. Remove
20916 FIXME comment, not longer valid. Remove middle of block statement
20917 detection, no need to do that anymore since we've been using
20918 `ruby-parse-region' here.
20919
20920 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
20921
20922 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
20923
20924 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
20925
20926 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
20927
20928 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
20929
20930 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
20931 (desktop-restore-in-current-display): New customization option.
20932 (desktop--excluded-frame-parameters): Add `font'.
20933 (desktop--save-frames): Rename from desktop--save-windows.
20934 (desktop--restore-in-this-display-p): New function.
20935 (desktop--make-full-frame): Remove unwanted width/height from
20936 full(width|height) frames.
20937 (desktop--restore-frames): Rename from desktop--restore-windows.
20938 Obey desktop-restore-current-display. Do not delete old frames or
20939 select a new frame unless we were able to restore at least one frame.
20940
20941 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
20942
20943 * files.el (find-file-noselect): Simplify conditional expression.
20944
20945 * textmodes/remember.el (remember-append-to-file):
20946 Don't mix `find-buffer-visiting' and `get-file-buffer'.
20947
20948 Add `remember-notes' function to store random notes across Emacs
20949 restarts.
20950 * textmodes/remember.el (remember-data-file): Add :set callback to
20951 affect notes buffer (if any).
20952 (remember-notes): New command.
20953 (remember-notes-buffer-name, bury-remember-notes-on-kill):
20954 New defcustoms for the `remember-notes' function.
20955 (remember-notes-save-and-bury-buffer): New command.
20956 (remember-notes-mode-map): New variable.
20957 (remember-mode): New minor mode.
20958 (remember-notes--kill-buffer-query): New function.
20959 * startup.el (initial-buffer-choice): Add notes to custom type.
20960
20961 2013-06-30 Eli Zaretskii <eliz@gnu.org>
20962
20963 * bindings.el (right-char, left-char): Don't call sit-for, this is
20964 no longer needed. Use arithmetic comparison only for numerical
20965 arguments.
20966
20967 * international/mule-cmds.el (select-safe-coding-system):
20968 Handle the case of FROM being a string correctly. (Bug#14755)
20969
20970 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20971
20972 * net/shr.el (shr-make-table-1): Add a sanity check that allows
20973 progression on degenerate tables.
20974 (shr-rescale-image): ImageMagick animated images currently don't work.
20975
20976 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
20977
20978 Some fixes and improvements for desktop frame restoration.
20979 It is still experimental and disabled by default.
20980 * desktop.el (desktop--save-windows): Put the selected frame at
20981 the head of the list.
20982 (desktop--make-full-frame): New function.
20983 (desktop--restore-windows): Try to re-select the frame that was
20984 selected upon saving. Do not abort if some frames fail to restore,
20985 just show an error message and continue. Set up maximized frames
20986 so they have default non-maximized dimensions.
20987
20988 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
20989
20990 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
20991 Don't start heredoc inside a string or comment.
20992
20993 2013-06-29 Eli Zaretskii <eliz@gnu.org>
20994
20995 * bindings.el (visual-order-cursor-movement): New defcustom.
20996 (right-char, left-char): Provide visual-order cursor motion by
20997 calling move-point-visually. Update the doc strings.
20998
20999 2013-06-28 Kenichi Handa <handa@gnu.org>
21000
21001 * international/mule.el (define-coding-system): New coding system
21002 properties :inhibit-null-byte-detection,
21003 :inhibit-iso-escape-detection, and :prefer-utf-8.
21004 (set-buffer-file-coding-system): If :charset-list property of
21005 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21006 appropriate for setting.
21007
21008 * international/mule-cmds.el (select-safe-coding-system):
21009 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21010 multibyte characters, return utf-8 (or one of its siblings).
21011
21012 * international/mule-conf.el (prefer-utf-8): New coding system.
21013 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21014 files.
21015
21016 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21017
21018 * net/shr.el (shr-render-region): New function.
21019
21020 * net/eww.el: Autoload `eww-browse-url'.
21021
21022 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21023
21024 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21025 Adapt to `package-desc-version' being a list.
21026 Use `package--ac-desc-version' to retrieve version from a package
21027 archive element.
21028
21029 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21030
21031 New experimental feature to save&restore window and frame setup.
21032 * desktop.el (desktop-save-windows): New defcustom.
21033 (desktop--saved-states): New var.
21034 (desktop--excluded-frame-parameters): New defconst.
21035 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21036 (desktop--restore-windows, desktop--save-windows): New functions.
21037 (desktop-save): Call `desktop--save-windows'.
21038 (desktop-read): Call `desktop--restore-windows'.
21039
21040 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21041
21042 * net/shr.el (add-face-text-property): Remove compat definition.
21043
21044 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21045
21046 * info.el (Info-try-follow-nearest-node): Move search for footnote
21047 above search for node name to prevent missing a footnote (bug#14717).
21048
21049 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21050
21051 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21052
21053 2013-06-27 Leo Liu <sdl.web@gmail.com>
21054
21055 * net/eww.el (eww-read-bookmarks): Check file size.
21056
21057 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21058
21059 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21060 advice--pending if newdef is nil or an autoload (bug#13820).
21061 (advice-mapc): New function.
21062
21063 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21064
21065 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21066 probably.
21067 (eww-mode-map): Add a menu bar.
21068 (eww-add-bookmark): New command.
21069 (eww-bookmark-mode): New mode and commands.
21070 (eww-add-bookmark): Remove newlines from the title.
21071 (eww-bookmark-browse): Don't bug out if it's the only window.
21072
21073 2013-06-26 Glenn Morris <rgm@gnu.org>
21074
21075 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21076 (hfy-size): Handle ttys. (Bug#14668)
21077
21078 * info-xref.el: Update for Texinfo 5 change in *note format.
21079 (info-xref-node-re, info-xref-note-re): New constants.
21080 (info-xref-check-buffer): Use info-xref-note-re.
21081
21082 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21083
21084 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21085
21086 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21087 nil terminate the loop (bug#14718).
21088
21089 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21090
21091 * net/eww.el: Rework history traversal. When going forward/back,
21092 put these actions into the history, too, so that they can be
21093 replayed.
21094 (eww-render): Move the history reset to the correct buffer.
21095
21096 2013-06-25 Juri Linkov <juri@jurta.org>
21097
21098 * files-x.el (modify-dir-local-variable): Change the header comment
21099 in the file with directory local variables. (Bug#14692)
21100
21101 * files-x.el (read-file-local-variable-value): Add `default'.
21102 (Bug#14710)
21103
21104 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21105
21106 * net/eww.el (eww-make-unique-file-name): Create a unique file
21107 name before saving to entering `y' accidentally asynchronously.
21108
21109 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21110
21111 * net/eww.el (eww-download): New command and keystroke.
21112
21113 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21114
21115 * net/eww.el (eww-copy-page-url): Change name of command.
21116
21117 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21118 be more consistent with Info and dired.
21119
21120 * net/eww.el (eww-mode-map): Ditto.
21121
21122 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21123
21124 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21125 packages from archives.
21126 (package-archive-contents): Change format; include obsolete packages.
21127 (package-desc): Use `dir' to mark builtin packages.
21128 (package--from-builtin): Set the `dir' field to `builtin'.
21129 (generated-autoload-file, version-control): Declare.
21130 (package-compute-transaction): Change first arg and return value to be
21131 lists of package-descs. Adjust to new package-archive-contents format.
21132 (package--add-to-archive-contents): Adjust to new
21133 package-archive-contents format.
21134 (package-download-transaction): Arg is now a list of package-descs.
21135 (package-install): If `pkg' is a package name, pass it as
21136 a requirement, so it is subject to the usual (e.g. disabled) checks.
21137 (describe-package): Accept package-desc as well.
21138 (describe-package-1): Describe a specific package-desc. Add links to
21139 other package-descs for the same package name.
21140 (package-menu-describe-package): Pass the actual package-desc.
21141 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21142 works correctly.
21143 (package-desc-status): New function.
21144 (package-menu--refresh): New function, extracted
21145 from package-menu--generate.
21146 (package-menu--generate): Use it.
21147 (package-delete): Update package-alist.
21148 (package-menu-execute): Don't call package-initialize.
21149
21150 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21151 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21152 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21153 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21154 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21155 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21156
21157 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21158
21159 * window.el (window--state-get-1): Workaround for bug#14527.
21160 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21161
21162 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21163
21164 * net/eww.el (eww-back-url): Implement the history by stashing all
21165 the data into a list.
21166 (eww-forward-url): Allow going forward in the history, too.
21167
21168 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21169
21170 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21171 for values and use read--expression for expressions (bug#14710).
21172 (read-file-local-variable): Avoid setq.
21173 (read-file-local-variable-mode): Use minor-mode-list.
21174
21175 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21176
21177 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21178 for DOI URLs.
21179
21180 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21181
21182 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21183 Update imenu-support when dialect changes.
21184
21185 2013-06-25 Leo Liu <sdl.web@gmail.com>
21186
21187 * ido.el (ido-read-internal): Allow forward slash on windows.
21188
21189 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21190
21191 * net/eww.el (eww): Start of strings is \\`, not ^.
21192
21193 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21194
21195 * net/shr.el (shr-browse-url): Fix interactive spec.
21196
21197 * net/eww.el (eww): Add a trailing slash to domain names.
21198
21199 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21200
21201 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21202
21203 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21204
21205 * net/shr.el (shr-browse-url): Use an external browser if given a
21206 prefix.
21207
21208 * net/eww.el (eww-external-browser): Move to shr.
21209
21210 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21211
21212 * net/eww.el (eww): Work more correctly for file: URLs.
21213 (eww-detect-charset): Allow quoted charsets.
21214 (eww-yank-page-url): New command and keystroke.
21215
21216 2013-06-24 Daiki Ueno <ueno@gnu.org>
21217
21218 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21219 file name of gpg executable.
21220 (epg-context-program): New function.
21221 (epg-context-home-directory): New function.
21222 (epg-context-set-program): New function.
21223 (epg-context-set-home-directory): New function.
21224 (epg--start): Use `epg-context-program' instead of
21225 'epg-gpg-program'.
21226 (epg--list-keys-1): Likewise.
21227
21228 2013-06-24 Leo Liu <sdl.web@gmail.com>
21229
21230 * ido.el (ido-read-internal): Fix bug#14620.
21231
21232 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21233
21234 * faces.el (face-documentation): Simplify.
21235 (read-face-attribute, tty-find-type, x-resolve-font-name):
21236 Use `string-match-p'.
21237 (list-faces-display): Use `string-match-p'. Simplify.
21238 (face-spec-recalc): Check face to avoid face alias loops.
21239 (read-color): Use `string-match-p' and non-capturing parenthesis.
21240
21241 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21242
21243 * net/shr.el (shr-rescale-image): Use the new
21244 :max-width/:max-height functionality.
21245
21246 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21247
21248 * net/eww.el (eww-search-prefix): New variable.
21249 (eww): Use it.
21250 (eww-external-browser): New variable.
21251 (eww-mode-map): New keystroke.
21252 (eww-browse-with-external-browser): New command.
21253
21254 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21255
21256 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21257
21258 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21259 Don't skip aligning the next header field when padding is 0;
21260 otherwise, field width is not respected unless the title is as
21261 wide as the field.
21262
21263 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21264
21265 * emacs-lisp/package.el (package-el-version): Remove.
21266 (package-process-define-package): Fix inf-loop.
21267 (package-install): Allow symbols as arguments again.
21268
21269 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21270
21271 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21272 add some more keyword-like methods.
21273 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21274
21275 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21276
21277 * bs.el (bs-buffer-show-mark): Make defvar-local.
21278 (bs-mode): Use setq-local.
21279
21280 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21281 (emacs-lock--try-unlocking): Make defvar-local.
21282
21283 2013-06-22 Glenn Morris <rgm@gnu.org>
21284
21285 * play/cookie1.el (cookie-apropos): Minor simplification.
21286
21287 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21288
21289 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21290
21291 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21292 `regexp-opt', it breaks the build during dumping.
21293
21294 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21295
21296 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21297 Highlight keyword-like methods on Kernel and Module with
21298 font-lock-builtin-face.
21299 (auto-mode-alist): Consolidate different entries into one regexp
21300 and add more *file-s.
21301
21302 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21303
21304 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21305
21306 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21307 (diary-entry): Use it in the action of this button type instead of
21308 diary-goto-entry.
21309
21310 * calendar/todo-mode.el: New version.
21311 (todo-add-category): Append new category to end of file and give
21312 it the highest number, instead of putting it at the beginning and
21313 giving it 0. Incorporate noninteractive functionality.
21314 (todo-forward-category): Adapt to 1-based category numbering.
21315 Allow skipping over archived categories.
21316 (todo-backward-category): Derive from todo-forward-category.
21317 (todo-backward-item, todo-forward-item): Make noninteractive and
21318 delegate interactive part to new commands. Make sensitive to done items.
21319 (todo-categories): Make value an alist of category names and
21320 vectors of item counts.
21321 (todo-category-beg): Make a defconst.
21322 (todo-category-number): Use 1 instead of 0 as initial value.
21323 (todo-category-select): Make sensitive to overlays, optional item
21324 highlighting and done items.
21325 (todo-delete-item): Make sensitive to overlays and marked and done items.
21326 (todo-edit-item): Make sensitive to overlays and editing of
21327 date/time header optional. Add format checks.
21328 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21329 no-op if point is not on an item. Advertise using todo-edit-quit.
21330 (todo-edit-mode): Make sensitive to new format, font-locking, and
21331 multiple todo files.
21332 (todo-insert-item, todo-insert-item-here): Derive from
21333 todo-basic-insert-item and extend functionality.
21334 (todo-item-end, todo-item-start): Make sensitive to done items.
21335 (todo-item-string): Don't return text properties. Restore point.
21336 (todo-jump-to-category): Make sensitive to multiple todo files and
21337 todo archives. Use extended category completion.
21338 (todo-lower-item, todo-raise-item): Rename to *-priority and
21339 derive from todo-set-item-priority.
21340 (todo-mode): Derive from special-mode. Make sensitive to new
21341 format, font-locking and multiple todo files. Make read-only.
21342 (todo-mode-map): Don't suppress digit keys, so they can supply
21343 prefix arguments. Add many new key bindings.
21344 (todo-prefix): Insert as an overlay instead of file text.
21345 Change semantics from diary date expression to purely visual mark.
21346 (todo-print): Rename to todo-print-buffer. Make buffer display
21347 features printable. Remove option to restrict number of items
21348 printed. Add option to print to file.
21349 (todo-print-function): Rename to todo-print-buffer-function.
21350 (todo-quit): Extend to handle exiting new todo modes.
21351 (todo-remove-item): Make sensitive to overlays.
21352 (todo-save): Extend to buffers of filtered items.
21353 (todo-show): Make sensitive to done items, multiple todo files and
21354 new todo modes. Offer to convert legacy todo file before creating
21355 first new todo file.
21356 (todo-show-priorities): Rename to todo-top-priorities.
21357 Change semantics of value 0.
21358 (todo-top-priorities): Rename to todo-filter-top-priorities,
21359 derive from todo-filter-items and extend functionality.
21360 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21361 and extend functionality to other types of filtered items.
21362 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21363 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21364 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21365 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21366 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21367 (todo-edit-mode-hook, todo-entry-prefix-function)
21368 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21369 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21370 (todo-initials, todo-insert-threshold, todo-item-string-start)
21371 (todo-line-string, todo-menu, todo-mode-hook)
21372 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21373 (todo-print-priorities, todo-remove-separator)
21374 (todo-save-top-priorities-too, todo-string-count-lines)
21375 (todo-string-multiline-p, todo-time-string-format)
21376 (todo-tmp-buffer-name): Remove.
21377 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21378 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21379 (todo-edit-category-diary-inclusion)
21380 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21381 (todo-edit-file, todo-edit-item-date-day)
21382 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21383 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21384 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21385 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21386 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21387 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21388 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21389 (todo-filter-top-priorities-multifile, todo-find-archive)
21390 (todo-find-filtered-items-file, todo-go-to-source-item)
21391 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21392 (todo-jump-to-archive-category, todo-lower-category)
21393 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21394 (todo-move-category, todo-move-item, todo-next-button)
21395 (todo-next-item, todo-padded-string, todo-powerset)
21396 (todo-previous-button, todo-previous-item)
21397 (todo-print-buffer-to-file, todo-raise-category)
21398 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21399 (todo-set-category-number, todo-set-item-priority)
21400 (todo-set-top-priorities-in-category)
21401 (todo-set-top-priorities-in-file, todo-show-categories-table)
21402 (todo-sort-categories-alphabetically-or-numerically)
21403 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21404 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21405 (todo-toggle-item-header, todo-toggle-item-highlighting)
21406 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21407 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21408 (todo-unarchive-items, todo-unmark-category): New commands.
21409 (todo-absolute-file-name, todo-add-to-buffer-list)
21410 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21411 (todo-basic-insert-item, todo-category-completions)
21412 (todo-category-number, todo-category-string-matcher-1)
21413 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21414 (todo-check-format, todo-clear-matches)
21415 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21416 (todo-current-category, todo-date-string-matcher)
21417 (todo-define-insertion-command, todo-diary-expired-matcher)
21418 (todo-diary-goto-entry, todo-diary-item-p)
21419 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21420 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21421 (todo-done-item-section-p, todo-done-separator)
21422 (todo-done-string-matcher, todo-files, todo-filter-items)
21423 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21424 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21425 (todo-insert-category-line, todo-insert-item-from-calendar)
21426 (todo-insert-sort-button, todo-insert-with-overlays)
21427 (todo-insertion-command-name, todo-insertion-key-bindings)
21428 (todo-label-to-key, todo-longest-category-name-length)
21429 (todo-make-categories-list, todo-mode-external-set)
21430 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21431 (todo-modes-set-3, todo-multiple-filter-files)
21432 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21433 (todo-read-category, todo-read-date, todo-read-dayname)
21434 (todo-read-file-name, todo-read-time)
21435 (todo-reevaluate-category-completions-files-defcustom)
21436 (todo-reevaluate-default-file-defcustom)
21437 (todo-reevaluate-filelist-defcustoms)
21438 (todo-reevaluate-filter-files-defcustom)
21439 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21440 (todo-reset-done-separator, todo-reset-done-separator-string)
21441 (todo-reset-done-string, todo-reset-global-current-todo-file)
21442 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21443 (todo-reset-prefix, todo-set-categories)
21444 (todo-set-date-from-calendar, todo-set-show-current-file)
21445 (todo-set-top-priorities, todo-short-file-name)
21446 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21447 (todo-total-item-counts, todo-update-buffer-list)
21448 (todo-update-categories-display, todo-update-categories-sexp)
21449 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21450 New functions.
21451 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21452 New major modes.
21453 (todo-categories, todo-display, todo-edit, todo-faces)
21454 (todo-filtered): New defgroups.
21455 (todo-archived-only, todo-button, todo-category-string, todo-date)
21456 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21457 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21458 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21459 (todo-add-item-if-new-category, todo-always-add-time-string)
21460 (todo-categories-align, todo-categories-archived-label)
21461 (todo-categories-category-label, todo-categories-diary-label)
21462 (todo-categories-done-label, todo-categories-number-separator)
21463 (todo-categories-todo-label, todo-categories-totals-label)
21464 (todo-category-completions-files, todo-completion-ignore-case)
21465 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21466 (todo-done-separator-string, todo-done-string)
21467 (todo-files-function, todo-filter-done-items, todo-filter-files)
21468 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21469 (todo-initial-category, todo-initial-file, todo-item-mark)
21470 (todo-legacy-date-time-regexp, todo-mode-line-function)
21471 (todo-nondiary-marker, todo-number-prefix)
21472 (todo-print-buffer-function, todo-show-current-file)
21473 (todo-show-done-only, todo-show-first, todo-show-with-done)
21474 (todo-skip-archived-categories, todo-top-priorities-overrides)
21475 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21476 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21477 New defcustoms.
21478 (todo-category-done, todo-date-pattern, todo-date-string-start)
21479 (todo-diary-items-buffer, todo-done-string-start)
21480 (todo-filtered-items-buffer, todo-item-start)
21481 (todo-month-abbrev-array, todo-month-name-array)
21482 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21483 (todo-top-priorities-buffer): New defconsts.
21484 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21485 (todo-categories-with-marks, todo-category-string-face)
21486 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21487 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21488 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21489 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21490 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21491 (todo-font-lock-keywords, todo-global-current-todo-file)
21492 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21493 (todo-insertion-commands-args)
21494 (todo-insertion-commands-args-genlist)
21495 (todo-insertion-commands-names, todo-insertion-map)
21496 (todo-key-bindings-t, todo-key-bindings-t+a)
21497 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21498 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21499 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21500 (todo-visited): New variables.
21501
21502 2013-06-21 Glenn Morris <rgm@gnu.org>
21503
21504 * play/cookie1.el (cookie-apropos): Add optional display argument.
21505 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21506 (psychoanalyze-pinhead): Use cookie-doctor.
21507
21508 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21509
21510 * emacs-lisp/package.el (tar-get-file-descriptor)
21511 (tar--extract): Declare.
21512
21513 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21514
21515 Extend flymake's warning predicate to be a function (bug#14217).
21516 * progmodes/flymake.el (flymake-warning-predicate): New.
21517 (flymake-parse-line): Use it.
21518 (flymake-warning-re): Make obsolete alias to
21519 `flymake-warning-predicate'.
21520
21521 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21522
21523 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21524 (package-obsolete-list): Remove.
21525 (package-activate): Remove min-version argument. Add `force' argument.
21526 Adjust to new package-alist format.
21527 (package-mark-obsolete): Remove.
21528 (package-unpack): Force reload of the package's autoloads.
21529 (package-installed-p): Check builtins if the installed package is not
21530 recent enough.
21531 (package-initialize): Don't reset package-obsolete-list.
21532 Don't specify which package version to activate.
21533 (package-process-define-package, describe-package-1)
21534 (package-menu--generate): Adjust to new package-alist format.
21535
21536 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21537
21538 * allout-widgets.el (allout-widgets-mode-off)
21539 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21540 (allout-widgets-post-command-business)
21541 (allout-widgets-after-copy-or-kill-function)
21542 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21543 (allout-decorate-item-and-context)
21544 (allout-graphics-modification-handler): Fix typos in docstrings.
21545 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21546
21547 * cmuscheme.el (scheme-start-file): Doc fix.
21548 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21549 (scheme-input-filter): Use `string-match-p'.
21550
21551 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21552
21553 * dired-x.el: Use Dired consistently in docstrings.
21554
21555 * dired.el: Use Dired consistently in docstrings.
21556 (dired-readin, dired-mode): Use `setq-local'.
21557 (dired-switches-alist): Make defvar-local.
21558 (dired-buffers-for-dir): Use `zerop'.
21559 (dired-safe-switches-p, dired-switches-escape-p)
21560 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21561 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21562 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21563 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21564 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21565 (dired-toggle-marks, dired-mark-files-containing-regexp)
21566 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21567 (dired-flag-auto-save-files, dired-flag-backup-files):
21568 Use `looking-at-p'.
21569 (dired-mark-files-regexp, dired-build-subdir-alist):
21570 Use `string-match-p', `looking-at-p'.
21571
21572 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21573 (direct-print-region-helper): Use `string-match-p'.
21574
21575 2013-06-21 Leo Liu <sdl.web@gmail.com>
21576
21577 * comint.el (comint-redirect-results-list-from-process):
21578 Fix infinite loop.
21579
21580 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21581
21582 * net/eww.el (eww-update-header-line-format): Quote % characters.
21583
21584 2013-06-21 Glenn Morris <rgm@gnu.org>
21585
21586 * play/cookie1.el (cookie): New custom group.
21587 (cookie-file): New option.
21588 (cookie-check-file): New function.
21589 (cookie): Make it interactive. Make start and end messages optional.
21590 Interactively, display the result. Default to cookie-file.
21591 (cookie-insert): Default to cookie-file.
21592 (cookie-snarf): Make start and end messages optional.
21593 Default to cookie-file. Use with-temp-buffer.
21594 (cookie-read): Rename from read-cookie.
21595 Make start and end messages optional. Default to cookie-file.
21596 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21597 Do not autoload it.
21598 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21599 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21600
21601 2013-06-21 Leo Liu <sdl.web@gmail.com>
21602
21603 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21604
21605 2013-06-21 Glenn Morris <rgm@gnu.org>
21606
21607 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21608
21609 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21610 Daniel Hackney <dan@haxney.org>
21611
21612 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21613 Consolidate the single-file vs tarball code.
21614 (package-desc-suffix): New function.
21615 (package-desc-full-name): Don't bother inlining it.
21616 (package-load-descriptor): Return the new package-desc.
21617 (package-mark-obsolete): Remove unused arg `package'.
21618 (package-unpack): Make it work for single files as well.
21619 Make it update package-alist.
21620 (package--make-autoloads-and-stuff): Rename from
21621 package--make-autoloads-and-compile. Don't compile any more.
21622 (package--compile): New function.
21623 (package-generate-description-file): New function, extracted from
21624 package-unpack-single.
21625 (package-unpack-single): Remove.
21626 (package--with-work-buffer): Add indentation and debugging info.
21627 (package-download-single): Remove.
21628 (package-install-from-archive): Rename from package-download-tar, make
21629 it take a pkg-desc, and make it work for single files as well.
21630 (package-download-transaction): Simplify.
21631 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21632 external tar program.
21633 (package-install-from-buffer): Remove `pkg-desc' argument.
21634 Use package-tar-file-info for tar-mode buffers.
21635 (package-install-file): Simplify accordingly.
21636 (package-archive-base): Change to take a pkg-desc.
21637 * tar-mode.el (tar--check-descriptor): New function, extracted from
21638 tar-get-descriptor.
21639 (tar-get-descriptor): Use it.
21640 (tar-get-file-descriptor): New function.
21641 (tar--extract): New function, extracted from tar-extract.
21642 (tar--extract): Use it.
21643 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21644 case the summary uses non-ascii. Adjust to new calling convention of
21645 package-tar-file-info.
21646
21647 2013-06-21 Leo Liu <sdl.web@gmail.com>
21648
21649 * comint.el (comint-redirect-results-list-from-process):
21650 Fix random delay. (Bug#14681)
21651
21652 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21653
21654 * profiler.el (profiler-format-number): Use log, not log10.
21655
21656 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21657
21658 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21659
21660 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21661
21662 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21663 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21664 yet available.
21665 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21666 (AUTOGENEL): ... here.
21667 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21668 (cl--defsubst-expand): Use it.
21669
21670 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21671
21672 * subr.el (log10): Move here from C code, and declare as obsolete.
21673 All uses of (log10 X) replaced with (log X 10).
21674
21675 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21676
21677 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21678 Declare with `defvar-local'.
21679 (tabulated-list-use-header-line, tabulated-list-entries)
21680 (tabulated-list-padding, tabulated-list-printer)
21681 (tabulated-list-sort-key): Declare with `defvar-local'.
21682 (tabulated-list-init-header, tabulated-list-print-fake-header):
21683 Use `setq-local'.
21684
21685 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
21686
21687 * arc-mode.el (archive-mode): Add `archive-write-file' to
21688 `write-contents-functions' also for remote files. (Bug#14652)
21689
21690 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21691
21692 * cus-edit.el (custom-commands): Fix typos.
21693 (custom-display): Fix tooltip text.
21694 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21695 Fix typos in docstrings.
21696 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21697 (custom-unlispify-menu-entry, custom-magic-value-create)
21698 (custom-add-see-also, custom-group-value-create): Use ?\s.
21699 (custom-guess-type, customize-apropos, editable-field)
21700 (custom-face-value-create): Use `string-match-p'.
21701 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21702
21703 * custom.el (custom-load-symbol): Use `string-match-p'.
21704
21705 * ansi-color.el: Convert to lexical binding.
21706 (ansi-colors): Fix URL.
21707 (ansi-color-context, ansi-color-context-region): Use defvar-local.
21708 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
21709 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
21710
21711 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21712
21713 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
21714
21715 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
21716
21717 2013-06-19 Tom Tromey <tromey@redhat.com>
21718
21719 * net/eww.el (eww-top-url): Remove.
21720 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
21721 (eww-render): Set new variables. Don't set eww-top-url.
21722 (eww-handle-link): Handle "prev", "home", and "contents".
21723 Downcase the rel text.
21724 (eww-top-url): Choose best top URL.
21725
21726 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21727
21728 * net/eww.el: Rewrite to implement form elements "by hand" instead of
21729 relying in widget.el. Using widget.el leads to too many
21730 user interface inconsistencies.
21731 (eww-self-insert): Implement entering commands in text fields.
21732 (eww-process-text-input): New function to make text input field editing
21733 work.
21734 (eww-submit): Rewrite to use the new-style form methods.
21735 (eww-select-display): Display the correct selected item.
21736 (eww-change-select): Implement changing the select value.
21737 (eww-toggle-checkbox): Implement radio/checkboxes.
21738 (eww-update-field): Fix compilation error.
21739 (eww-tag-textarea): Implement <textarea>.
21740
21741 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
21742 we don't shadow mode-specific bindings.
21743
21744 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
21745 nothing to push.
21746
21747 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
21748
21749 2013-06-19 Glenn Morris <rgm@gnu.org>
21750
21751 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
21752
21753 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21754
21755 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
21756 not needed.
21757
21758 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
21759
21760 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21761
21762 * net/browse-url.el (browse-url-browser-function):
21763 `eww-browse-url' has the right calling signature, `eww' does not.
21764
21765 2013-06-19 Glenn Morris <rgm@gnu.org>
21766
21767 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21768 Only eval autoloaded macros.
21769 (byte-compile-autoload): Only give the macro warning for macros.
21770
21771 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
21772 (ps-underlined-faces): Declare.
21773
21774 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
21775 (speedbar-add-supported-extension): Declare.
21776
21777 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
21778 Don't include a date stamp in the header of the generated file;
21779 it leads to needless differences between output files.
21780
21781 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21782
21783 * net/secrets.el (secrets-struct-secret-content-type):
21784 Replace check of introspection data by a test call of "CreateItem".
21785 Some servers do not offer introspection.
21786
21787 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
21788
21789 * electric.el (electric-pair-mode): Improve interaction with
21790 electric-layout-mode.
21791 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
21792 (electric-pair-syntax): Use text-mode-syntax-table in comments
21793 and strings.
21794 (electric-pair--insert): New function.
21795 (electric-pair-post-self-insert-function): Use it and
21796 electric--after-char-pos.
21797
21798 2013-06-19 Leo Liu <sdl.web@gmail.com>
21799
21800 * progmodes/octave.el (octave-help): Fix regexp.
21801
21802 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21803
21804 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
21805 (shr-table-horizontal-line): Allow nil as a value, and change the
21806 default.
21807 (shr-insert-table-ruler): Respect the nil value.
21808
21809 2013-06-18 Tom Tromey <tromey@barimba>
21810
21811 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21812 New defvars.
21813 (eww-open-file): New defun.
21814 (eww-render): Initialize new variables.
21815 (eww-display-html): Handle "link" and "a".
21816 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
21817 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
21818 (eww-back-url): Rename from eww-previous-url.
21819 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21820 New defuns.
21821
21822 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
21823
21824 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
21825 Distinguish ternary operator tokens from slash symbol and slash
21826 char literal.
21827
21828 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21829
21830 Convert symbol prettification into minor mode and global minor mode.
21831
21832 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
21833 `prog-prettify-symbols', and make a local defvar instead of defcustom.
21834 (prettify-symbols--keywords): Rename from
21835 `prog-prettify-symbols-alist' and make a local defvar.
21836 (prettify-symbols--compose-symbol): Rename from
21837 `prog--prettify-font-lock-compose-symbol'.
21838 (prettify-symbols--make-keywords): Rename from
21839 `prog-prettify-font-lock-symbols-keywords' and simplify.
21840 (prog-prettify-install): Remove.
21841 (prettify-symbols-mode): New minor mode, based on
21842 `prog-prettify-install'.
21843 (turn-on-prettify-symbols-mode): New function.
21844 (global-prettify-symbols-mode): New globalized minor mode.
21845
21846 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21847 * progmodes/cfengine.el (cfengine3-mode):
21848 * progmodes/perl-mode.el (perl-mode): Don't call
21849 `prog-prettify-install'; set `prettify-symbols-alist' instead.
21850
21851 2013-06-18 Juri Linkov <juri@jurta.org>
21852
21853 * files-x.el (modify-file-local-variable-message): New function.
21854 (modify-file-local-variable)
21855 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
21856 and call `modify-file-local-variable-message' when it's non-nil.
21857 (add-file-local-variable, delete-file-local-variable)
21858 (add-file-local-variable-prop-line)
21859 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
21860 and use it. (Bug#9820)
21861
21862 2013-06-18 Juri Linkov <juri@jurta.org>
21863
21864 * emulation/vi.el (vi-shell-op):
21865 * emulation/vip.el (vip-execute-com, ex-command):
21866 * emulation/viper-cmd.el (viper-exec-bang):
21867 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
21868 the call of `shell-command-on-region'. (Bug#14637)
21869
21870 * simple.el (shell-command-on-region): Doc fix.
21871
21872 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21873
21874 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
21875 (bug#14633).
21876
21877 2013-06-18 Glenn Morris <rgm@gnu.org>
21878
21879 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
21880
21881 * newcomment.el (comment-search-forward, comment-search-backward):
21882 Doc fix. (Bug#14376)
21883
21884 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21885
21886 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
21887 (buffer-face-mode-invoke): Doc fix.
21888
21889 2013-06-18 Matthias Meulien <orontee@gmail.com>
21890
21891 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
21892 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
21893
21894 2013-06-18 Glenn Morris <rgm@gnu.org>
21895
21896 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
21897 Replace obsolete function generic-make-keywords with its expansion.
21898
21899 * progmodes/python.el (ffap-alist): Declare.
21900
21901 * textmodes/reftex.el (bibtex-mode-map): Declare.
21902
21903 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21904
21905 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
21906 (package-unpack, package-unpack-single): Return the pkg-dir.
21907 (package-download-transaction): Use it to update package-alist.
21908
21909 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21910
21911 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
21912 possible choice.
21913
21914 2013-06-17 Juri Linkov <juri@jurta.org>
21915
21916 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
21917
21918 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21919
21920 * emacs-lisp/package.el (package-load-descriptor):
21921 Remove `with-syntax-table' call, `read' doesn't need it.
21922 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
21923
21924 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21925
21926 * startup.el (command-line): Expand package name returned by
21927 `package--description-file' (bug#14639).
21928
21929 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21930
21931 * emacs-lisp/package.el (package-load-descriptor): Do not call
21932 `emacs-lisp-mode', just use its syntax table.
21933
21934 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21935
21936 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
21937 `font-lock-extra-managed-props' if any prettifying keyword is added.
21938 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
21939 (prog-mode): Use `setq-local'.
21940
21941 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21942
21943 * international/characters.el (standard-case-table): Set syntax of ?»
21944 and ?« to punctuation.
21945
21946 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
21947
21948 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
21949 Save relevant match data before calling `syntax-ppss' (bug#14595).
21950
21951 2013-06-15 Juri Linkov <juri@jurta.org>
21952
21953 * files-x.el (modify-file-local-variable-prop-line): Add local
21954 variables to the end of the existing comment on the first line.
21955 Use `file-auto-mode-skip' to skip interpreter magic line,
21956 and also skip XML declaration.
21957
21958 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21959
21960 * startup.el (package--builtin-versions): New var.
21961 (package-subdirectory-regexp): Remove.
21962 (package--description-file): Hard code its value instead.
21963
21964 * emacs-lisp/package.el: Don't activate packages older than builtin.
21965 (package-obsolete-list): Rename from package-obsolete-alist, and make
21966 it into a simple list of package-desc.
21967 (package-strip-version): Remove.
21968 (package-built-in-p): Use package--builtin-versions.
21969 (package-mark-obsolete): Simplify.
21970 (package-process-define-package): Mark it obsolete if older than the
21971 builtin version.
21972 (package-handle-response): Use line-end-position.
21973 (package-read-archive-contents, package--download-one-archive):
21974 Simplify.
21975 (package--add-to-archive-contents): Skip if older than the builtin or
21976 installed version.
21977 (package-menu-describe-package): Fix last change.
21978 (package-list-unversioned): New var.
21979 (package-menu--generate): Use it.
21980
21981 * emacs-lisp/autoload.el: Manage package--builtin-versions.
21982 (autoload--insert-text, autoload--insert-cookie-text): New functions.
21983 (autoload-builtin-package-versions): New variable.
21984 (autoload-generate-file-autoloads): Use them.
21985 Remove the list of autoloaded functions/macros from the
21986 (autoload...) comments.
21987
21988 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
21989
21990 2013-06-15 Eli Zaretskii <eliz@gnu.org>
21991
21992 * simple.el (line-move-partial): Don't jump to the next screen
21993 line as soon as it becomes visible. Instead, continue enlarging
21994 the vscroll until the portion of a tall screen line that's left on
21995 display is about the height of the frame's default font.
21996 (Bug#14567)
21997
21998 2013-06-15 Glenn Morris <rgm@gnu.org>
21999
22000 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22001 compilation-error-regexp-alist void, or local while let-bound.
22002
22003 * progmodes/make-mode.el (makefile-mode-syntax-table):
22004 Treat "=" as punctuation. (Bug#14614)
22005
22006 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22007
22008 * help-fns.el (describe-variable):
22009 Add extra line for permanent-local variables.
22010
22011 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22012
22013 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22014 Add export, import, library. (Bug#9164)
22015 (library): Set indent function.
22016
22017 2013-06-14 Glenn Morris <rgm@gnu.org>
22018
22019 * term/xterm.el (xterm--query):
22020 Stop after first matching handler. (Bug#14615)
22021
22022 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22023
22024 Add support for dired in saveplace.
22025 * dired.el (dired-initial-position-hook): New variable.
22026 (dired-initial-position): Call hook to place cursor position.
22027 * saveplace.el (save-place-to-alist): Add dired position.
22028 (save-place-dired-hook): New function.
22029
22030 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22031
22032 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22033 through a symbol rather than letrec.
22034
22035 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22036 (package-desc): Add `dir' field.
22037 (package-desc-full-name): New function.
22038 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22039 (package-maybe-load-descriptor): Remove.
22040 (package-load-all-descriptors): Just call package-load-descriptor.
22041 (package--disabled-p): New function.
22042 (package-desc-vers, package-desc-doc): Remove aliases.
22043 (package--dir): Remove function.
22044 (package-activate): Check if a package is disabled.
22045 (package-process-define-package): New function, extracted from
22046 define-package.
22047 (define-package): Turn into a place holder.
22048 (package-unpack-single, package-tar-file-info):
22049 Use package--description-file.
22050 (package-compute-transaction): Use package--disabled-p.
22051 (package-download-transaction): Don't call
22052 package-maybe-load-descriptor since they're all loaded anyway.
22053 (package-install): Change argument to be a pkg-desc.
22054 (package-delete): Use a single pkg-desc argument.
22055 (describe-package-1): Use package-desc-dir instead of package--dir.
22056 Use package-desc property instead of package-symbol.
22057 (package-install-button-action): Adjust accordingly.
22058 (package--push): Rewrite.
22059 (package-menu--print-info): Adjust accordingly. Change the ID format
22060 to be a pkg-desc.
22061 (package-menu-describe-package, package-menu-get-status)
22062 (package-menu--find-upgrades, package-menu-mark-upgrades)
22063 (package-menu-execute, package-menu--name-predicate):
22064 Adjust accordingly.
22065 * startup.el (package--description-file): New function.
22066 (command-line): Use it.
22067 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22068 Use package-desc-version.
22069
22070 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22071 (byte-compile-preprocess): Use it.
22072 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22073 can't quite recognize.
22074 (byte-compile-add-to-list): Remove.
22075 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22076 (cconv-closure-convert): Add assertion.
22077
22078 * emacs-lisp/map-ynp.el: Use lexical-binding.
22079 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22080 Factor out some repeated code.
22081
22082 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22083
22084 * subr.el (with-eval-after-load): New macro.
22085 (eval-after-load): Allow form to be a function.
22086 take advantage of lexical-binding.
22087 (do-after-load-evaluation): Use dolist and adjust to new format.
22088 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22089
22090 2013-06-13 Juri Linkov <juri@jurta.org>
22091
22092 * replace.el (perform-replace): Display "symbol " and other search
22093 modes from `isearch-message-prefix' in the *Help* buffer.
22094
22095 * isearch.el (isearch-query-replace): Add " symbol" and other
22096 possible search modes from `isearch-message-prefix' to the prompt.
22097 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22098 when reading a regexp to collect.
22099
22100 2013-06-13 Juri Linkov <juri@jurta.org>
22101
22102 * isearch.el (word-search-regexp): Match whitespace if the search
22103 string begins or ends in whitespace. The LAX arg is applied to
22104 both ends of the search string. Use `regexp-quote' and explicit
22105 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22106 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22107 boundaries are replaced with symbol boundaries, and characters
22108 between symbols match non-word non-symbol syntax. (Bug#14602)
22109
22110 2013-06-13 Juri Linkov <juri@jurta.org>
22111
22112 * isearch.el (isearch-del-char): Don't exceed the length of
22113 `isearch-string' by the prefix arg. (Bug#14563)
22114
22115 2013-06-13 Juri Linkov <juri@jurta.org>
22116
22117 * isearch.el (isearch-yank-word, isearch-yank-line)
22118 (isearch-char-by-name, isearch-quote-char)
22119 (isearch-printing-char, isearch-process-search-char):
22120 Add optional count prefix arg. (Bug#14563)
22121
22122 * international/isearch-x.el
22123 (isearch-process-search-multibyte-characters):
22124 Add optional count prefix arg.
22125
22126 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22127
22128 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22129 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22130 lexical-binding.
22131
22132 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22133
22134 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22135
22136 2013-06-13 Glenn Morris <rgm@gnu.org>
22137
22138 * startup.el (tty-handle-args):
22139 Don't just discard "--" and anything after. (Bug#14608)
22140
22141 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22142
22143 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22144
22145 Implement changes in Secret Service API. Make it backward compatible.
22146 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22147 (secrets-create-item): Use it. Prefix properties with interface.
22148
22149 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22150
22151 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22152 (term-emulate-terminal): Respect term-suppress-hard-newline.
22153
22154 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22155
22156 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22157 Only remove a `thumb-file' overlay. (Bug#14548)
22158
22159 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22160
22161 * mail/reporter.el (reporter-submit-bug-report):
22162 Handle missing package-name. (Bug#14600)
22163
22164 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22165
22166 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22167 (reftex-citation-prompt, reftex-default-bibliography)
22168 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22169 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22170 (reftex-bib-sort-author, reftex-bib-sort-year)
22171 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22172 (reftex-extract-bib-entries-from-thebibliography)
22173 (reftex-get-bibkey-default, reftex-get-bib-names)
22174 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22175 (reftex-format-bib-entry, reftex-parse-bibitem)
22176 (reftex-format-bibitem, reftex-do-citation)
22177 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22178 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22179 (reftex-insert-bib-matches, reftex-format-citation)
22180 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22181 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22182 existing comments into docstrings.
22183
22184 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22185
22186 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22187
22188 2013-06-12 Andreas Schwab <schwab@suse.de>
22189
22190 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22191 for auto-save files.
22192
22193 2013-06-12 Glenn Morris <rgm@gnu.org>
22194
22195 * ido.el (ido-delete-ignored-files): Remove.
22196 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22197 Go back to calling ido-ignore-item-p directly.
22198
22199 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22200
22201 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22202
22203 * ido.el (ido-delete-ignored-files): New function,
22204 split from ido-make-file-list-1.
22205 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22206 (ido-make-file-list-1): Use ido-delete-ignored-files.
22207
22208 2013-06-12 Leo Liu <sdl.web@gmail.com>
22209
22210 * progmodes/octave.el (inferior-octave-startup)
22211 (inferior-octave-completion-table)
22212 (inferior-octave-track-window-width-change)
22213 (octave-eldoc-function-signatures, octave-help)
22214 (octave-find-definition): Use single quoted strings.
22215 (inferior-octave-startup-args): Change default value.
22216 (inferior-octave-startup): Do not hard code "-i" and
22217 "--no-line-editing".
22218 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22219 (inferior-octave-directory-tracker): Use it.
22220 (octave-goto-function-definition): Robustify.
22221 (octave-help): Support highlighting operators in 'See also'.
22222 (octave-find-definition): Find subfunctions only in Octave mode.
22223
22224 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22225
22226 * help-fns.el (help-fns--compiler-macro): If the handler function is
22227 named, then put a link to it.
22228 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22229 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22230 (cl-typep): Use it.
22231 (cl-eval-when): Simplify debug spec.
22232 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22233 compiler-macro function instead of setting `compiler-macro-file'.
22234
22235 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22236
22237 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22238 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22239
22240 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22241 Daniel Hackney <dan@haxney.org>
22242
22243 First part of Daniel Hackney's patch to package.el.
22244 * emacs-lisp/package.el: Use defstruct.
22245 (package-desc): New, main struct.
22246 (package--bi-desc, package--ac-desc): New structs, used to describe the
22247 format in external files.
22248 (package-desc-vers): Replace with package-desc-version accessor.
22249 (package-desc-doc): Replace with package-desc-summary accessor.
22250 (package-activate-1): Remove `package' arg since the pkg-vec now
22251 includes the name.
22252 (define-package): Use package-desc-from-define.
22253 (package-unpack-single): Change file-name arg to be a symbol.
22254 (package--add-to-archive-contents): Use package-desc-create and new
22255 accessor functions to package--ac-desc.
22256 (package-buffer-info, package-tar-file-info): Return a package-desc.
22257 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22258 arg to be a package-desc.
22259 (package-install-file): Adjust accordingly. Use \' to match EOS.
22260 (package--from-builtin): New function.
22261 (describe-package-1, package-menu--generate): Use it.
22262 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22263 (package-generate-autoloads): Idem and return the name of the file.
22264 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22265 Change pkg-info arg to be a package-desc.
22266 Use package-make-ac-desc.
22267 (package-upload-file): Use \' to match EOS.
22268 * finder.el (finder-compile-keywords): Use package-make-builtin.
22269
22270 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22271
22272 * vc/vc.el (vc-deduce-fileset): Change error message.
22273 (vc-read-backend): New function.
22274 (vc-next-action): Use it.
22275
22276 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22277
22278 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22279 (prolog-font-lock-keywords): Use regexp-opt instead.
22280 Don't manually highlight strings.
22281 (prolog-mode-variables): Simplify comment-start-skip.
22282 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22283
22284 * emacs-lisp/generic.el (generic--normalise-comments)
22285 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22286 (generic-mode-set-comments): Use them.
22287 (generic-bracket-support): Use setq-local.
22288 (generic-make-keywords-list): Declare obsolete.
22289
22290 2013-06-11 Glenn Morris <rgm@gnu.org>
22291
22292 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22293 Prettify after setting font-lock-defaults. (Bug#14574)
22294
22295 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22296
22297 * replace.el (query-replace, occur-read-regexp-defaults-function)
22298 (replace-search):
22299 * subr.el (declare-function, number-sequence, local-set-key)
22300 (substitute-key-definition, locate-user-emacs-file)
22301 (with-silent-modifications, split-string, eval-after-load):
22302 Fix typos, remove unneeded backslashes and reflow some docstrings.
22303
22304 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22305
22306 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22307 default for Elisp files.
22308
22309 2013-06-11 Glenn Morris <rgm@gnu.org>
22310
22311 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22312 although define-derived-mode was doing this anyway. (Bug#14583)
22313
22314 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22315
22316 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22317 Fix make-variable-buffer-local call to refer to the correct variable.
22318
22319 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22320
22321 * eshell/em-term.el (eshell-visual-commands)
22322 (eshell-visual-subcommands, eshell-visual-options):
22323 Add summary line to docstrings. Add cross-references.
22324
22325 2013-06-10 Glenn Morris <rgm@gnu.org>
22326
22327 * epa.el (epa-read-file-name): New function. (Bug#14510)
22328 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22329
22330 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22331
22332 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22333 output redirection to be ignored with visual commands.
22334
22335 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22336
22337 * eshell/em-term.el (eshell-visual-command-p): New function.
22338 (eshell-term-initialize): Move long lambda to separate function
22339 eshell-visual-command-p.
22340 * eshell/em-dirs.el (eshell-dirs-initialize):
22341 * eshell/em-script.el (eshell-script-initialize):
22342 Add missing #' to lambda.
22343
22344 2013-06-08 Leo Liu <sdl.web@gmail.com>
22345
22346 * progmodes/octave.el (octave-add-log-current-defun): New function.
22347 (octave-mode): Set add-log-current-defun-function.
22348 (octave-goto-function-definition): Do not move point if not found.
22349 (octave-find-definition): Enhance to try subfunctions first.
22350
22351 2013-06-08 Glenn Morris <rgm@gnu.org>
22352
22353 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22354 (byte-compile-backward-char, byte-compile-backward-word):
22355 Improve previous change, to handle non-explicit nil.
22356
22357 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22358
22359 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22360 (smie--opener/closer-at-point): New function.
22361 (smie--matching-block-data): Use it. Don't match from right after an
22362 opener or right before a closer. Obey smie-blink-matching-inners.
22363 Don't signal a mismatch for repeated inners like "switch..case..case".
22364
22365 2013-06-07 Leo Liu <sdl.web@gmail.com>
22366
22367 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22368 to t. (Bug#14303)
22369 (octave-function-header-regexp): Fix. (Bug#14570)
22370 (octave-help-mode-finish-hook, octave-help-mode-finish):
22371 Remove. Just use temp-buffer-show-hook.
22372
22373 * newcomment.el (comment-search-backward): Revert last change.
22374 (Bug#14434)
22375
22376 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22377
22378 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22379
22380 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22381 through xargs, to avoid failure due to MS-Windows limitations on
22382 command-line length.
22383
22384 2013-06-06 Glenn Morris <rgm@gnu.org>
22385
22386 * font-lock.el (lisp-font-lock-keywords-2):
22387 Treat user-error like error.
22388
22389 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22390 (byte-compile-backward-char, byte-compile-backward-word):
22391 Handle explicit nil arguments. (Bug#14565)
22392
22393 2013-06-05 Alan Mackenzie <acm@muc.de>
22394
22395 * isearch.el (isearch-allow-prefix): New user option.
22396 (isearch-other-meta-char): Don't exit isearch when a prefix
22397 argument is typed whilst `isearch-allow-prefix' is non-nil.
22398 (Bug#9706)
22399
22400 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22401
22402 * autorevert.el (auto-revert-notify-handler): Use memq.
22403 Hide assertion failure.
22404
22405 * skeleton.el: Use cl-lib.
22406 (skeleton-further-elements): Use defvar-local.
22407 (skeleton-insert): Use cl-progv.
22408
22409 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22410
22411 * progmodes/prog-mode.el (prog-prettify-symbols)
22412 (prog-prettify-install): Update docstrings.
22413
22414 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22415
22416 * simple.el: Move all the prog-mode code to prog-mode.el.
22417 * progmodes/prog-mode.el: New file.
22418 * loadup.el: Add prog-mode.el.
22419
22420 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22421
22422 * simple.el (prog-prettify-symbols): Add version.
22423 (prog-prettify-install): Add convenience function to prettify symbols.
22424
22425 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22426 (perl--augmented-font-lock-keywords-1)
22427 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22428 variables and use it.
22429
22430 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22431 (cfengine3-mode): Remove unneeded variable and use it.
22432
22433 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22434 (lisp--augmented-font-lock-keywords-1)
22435 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22436 Remove unneeded variables and use it.
22437
22438 2013-06-05 João Távora <joaotavora@gmail.com>
22439
22440 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22441 to point when opening the connection. (Bug#14380)
22442
22443 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22444
22445 * subr.el (load-history-regexp, load-history-filename-element)
22446 (eval-after-load, after-load-functions, do-after-load-evaluation)
22447 (eval-next-after-load, display-delayed-warnings)
22448 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22449 definition of save-match-data.
22450 (overriding-local-map): Remove accidental obsolescence declaration.
22451
22452 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22453
22454 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22455
22456 Generalize symbol prettify support to prog-mode and implement it
22457 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22458 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22459 (prog--prettify-font-lock-compose-symbol)
22460 (prog-prettify-font-lock-symbols-keywords): New variables and
22461 functions to support symbol prettification.
22462 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22463 (lisp--augmented-font-lock-keywords-1)
22464 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22465 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22466 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22467 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22468 Implement prettify of -> => :: strings.
22469 * progmodes/perl-mode.el (perl-prettify-symbols)
22470 (perl--font-lock-compose-symbol)
22471 (perl--font-lock-symbols-keywords): Move to prog-mode.
22472 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22473 (perl-font-lock-keywords-1)
22474 (perl-font-lock-keywords-2): Remove explicit prettify support.
22475 (perl--augmented-font-lock-keywords)
22476 (perl--augmented-font-lock-keywords-1)
22477 (perl--augmented-font-lock-keywords-2, perl-mode):
22478 Implement prettify support.
22479
22480 2013-06-05 Leo Liu <sdl.web@gmail.com>
22481
22482 Re-implement SMIE matching block highlight using
22483 show-paren-data-function. (Bug#14395)
22484 * emacs-lisp/smie.el (smie-matching-block-highlight)
22485 (smie--highlight-matching-block-overlay)
22486 (smie--highlight-matching-block-lastpos)
22487 (smie-highlight-matching-block)
22488 (smie-highlight-matching-block-mode): Remove.
22489 (smie--matching-block-data-cache): New variable.
22490 (smie--matching-block-data): New function.
22491 (smie-setup): Use smie--matching-block-data for
22492 show-paren-data-function.
22493
22494 * progmodes/octave.el (octave-mode-menu): Fix.
22495 (octave-find-definition): Skip garbage lines.
22496
22497 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22498
22499 Fix compilation error with simultaneous dynamic+lexical scoping.
22500 Add warning when a defvar appears after the first let-binding.
22501 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22502 (byte-compile-close-variables): Initialize it.
22503 (byte-compile--declare-var): New function.
22504 (byte-compile-file-form-defvar)
22505 (byte-compile-file-form-define-abbrev-table)
22506 (byte-compile-file-form-custom-declare-variable): Use it.
22507 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22508 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22509 (byte-compile-bind): Handle dynamic bindings that shadow
22510 lexical bindings.
22511 (byte-compile-unbind): Make arg non-optional.
22512 (byte-compile-let): Simplify.
22513 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22514 (cconv--analyse-function, cconv-analyse-form): Populate it.
22515 Protect byte-compile-bound-variables to limit the scope of defvars.
22516 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22517 Remove unneeded rule for `declare'.
22518
22519 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22520 so as to avoid depending on cl-adjoin at run-time.
22521 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22522
22523 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22524 (macroexp--warn-and-return): Use it.
22525
22526 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22527
22528 * subr.el: Convert to lexical binding.
22529 (overriding-local-map): Make obsolete.
22530 (add-to-list): Doc fix. Add compiler macro.
22531 (read-key): Swap values of local maps.
22532
22533 2013-06-05 Leo Liu <sdl.web@gmail.com>
22534
22535 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22536
22537 2013-06-04 Leo Liu <sdl.web@gmail.com>
22538
22539 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22540 (compilation-auto-jump): Suppress the "Mark set" message to give
22541 way to exit message.
22542
22543 2013-06-04 Alan Mackenzie <acm@muc.de>
22544
22545 Remove faulty optimization from indentation calculation.
22546 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22547 search limit based on 2000 characters back from indent-point.
22548
22549 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22550
22551 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22552
22553 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22554
22555 * emacs-lisp/lisp.el: Use lexical-binding.
22556 (lisp--local-variables-1, lisp--local-variables): New functions.
22557 (lisp--local-variables-completion-table): New var.
22558 (lisp-completion-at-point): Use it complete let-bound vars.
22559
22560 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22561 eagerly (bug#14422).
22562
22563 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22564
22565 * autorevert.el (auto-revert-notify-enabled)
22566 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22567 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22568 (auto-revert-notify-handler): Handle also gfilenotify.
22569
22570 * subr.el (file-notify-handle-event): New defun. Replacing ...
22571 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22572 Remove.
22573
22574 2013-06-03 Juri Linkov <juri@jurta.org>
22575
22576 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22577 `M-s h .'. (Bug#14427)
22578
22579 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22580 command `hi-lock-face-symbol-at-point'.
22581 (hi-lock-face-symbol-at-point): New command.
22582 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22583 (hi-lock-menu): Add `highlight-symbol-at-point'.
22584 (hi-lock-mode): Doc fix.
22585
22586 * isearch.el (isearch-forward-symbol-at-point): New command.
22587 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22588 (isearch-highlight-regexp): Add a regexp which matches
22589 words/symbols for word/symbol mode.
22590
22591 * subr.el (find-tag-default-bounds): New function with the body
22592 mostly moved from `find-tag-default'.
22593 (find-tag-default): Move most code to `find-tag-default-bounds',
22594 call it and apply `buffer-substring-no-properties' afterwards.
22595
22596 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22597
22598 * eshell/em-term.el (eshell-term-initialize):
22599 Use `cl-intersection' rather than `intersection'.
22600
22601 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22602
22603 * vc/log-view.el: Doc fix.
22604 (log-view-mode-map): Copy keymap from `special-mode-map'.
22605
22606 2013-06-02 Eric Ludlam <zappo@gnu.org>
22607
22608 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22609 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22610 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22611 (eieio-unbound, eieio-default-superclass)
22612 (eieio--define-field-accessors, method-static, method-before)
22613 (method-primary, method-after, method-num-lists)
22614 (method-generic-before, method-generic-primary)
22615 (method-generic-after, method-num-slots)
22616 (eieio-specialized-key-to-generic-key)
22617 (eieio--check-type, class-v, class-p)
22618 (eieio-class-name, define-obsolete-function-alias)
22619 (eieio-class-parents-fast, eieio-class-children-fast)
22620 (same-class-fast-p, class-constructor, generic-p)
22621 (generic-primary-only-p, generic-primary-only-one-p)
22622 (class-option-assoc, class-option, eieio-object-p)
22623 (class-abstract-p, class-method-invocation-order)
22624 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22625 (eieio-class-un-autoload, eieio-defclass)
22626 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22627 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22628 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22629 (eieio-defgeneric-reset-generic-form)
22630 (eieio-defgeneric-form-primary-only)
22631 (eieio-defgeneric-reset-generic-form-primary-only)
22632 (eieio-defgeneric-form-primary-only-one)
22633 (eieio-defgeneric-reset-generic-form-primary-only-one)
22634 (eieio-unbind-method-implementations)
22635 (eieio--defmethod, eieio--typep)
22636 (eieio-perform-slot-validation, eieio-validate-slot-value)
22637 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22638 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22639 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22640 (eieio-slot-name-index, eieio-class-slot-name-index)
22641 (eieio-set-defaults, eieio-initarg-to-attribute)
22642 (eieio-attribute-to-initarg, eieio-c3-candidate)
22643 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22644 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22645 (eieio-class-precedence-list, eieio-generic-call-methodname)
22646 (eieio-generic-call-arglst, eieio-generic-call-key)
22647 (eieio-generic-call-next-method-list)
22648 (eieio-pre-method-execution-functions, eieio-generic-call)
22649 (eieio-generic-call-primary-only, eieiomt-method-list)
22650 (eieiomt-optimizing-obarray, eieiomt-install)
22651 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22652 (eieio-generic-form, eieio-defmethod, make-obsolete)
22653 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22654 (defclass): Remove `eval-and-compile' from macro.
22655 (call-next-method, shared-initialize): Instead of using
22656 `scoped-class' variable, use new eieio--scoped-class, and
22657 eieio--with-scoped-class.
22658 (initialize-instance): Rename local variable 'scoped-class' to
22659 'this-class' to remove ambiguitity from old global.
22660
22661 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22662 eieio.el.
22663 (eieio--scoped-class-stack): New variable.
22664 (eieio--scoped-class): New fcn.
22665 (eieio--with-scoped-class): New scoping macro.
22666 (eieio-defclass): Use pushnew instead of add-to-list.
22667 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22668 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22669 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22670 `scoped-class' variable, use new eieio--scoped-class, and
22671 eieio--with-scoped-class.
22672
22673 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22674
22675 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22676
22677 * eshell/esh-ext.el (eshell-external-command): Pass args to
22678 `eshell-find-interpreter'.
22679 (eshell-find-interpreter): Add new second parameter ARGS.
22680
22681 * eshell/em-script.el (eshell-script-initialize): Add second arg
22682 to the function added as MATCH to `eshell-interpreter-alist'.
22683
22684 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22685 the function added as MATCH to `eshell-interpreter-alist'.
22686
22687 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22688 (eshell-visual-options): New defcustom.
22689 (eshell-escape-control-x): Adapt docstring.
22690 (eshell-term-initialize): Test `eshell-visual-subcommands' and
22691 `eshell-visual-options' in addition to `eshell-visual-commands'.
22692 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22693
22694 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22695
22696 * progmodes/python.el (python-indent-block-enders): Add break,
22697 continue and raise keywords.
22698
22699 2013-06-01 Glenn Morris <rgm@gnu.org>
22700
22701 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22702
22703 Plain (f)boundp silences compilation warnings since Emacs 22.1.
22704 * progmodes/cc-cmds.el (delete-forward-p):
22705 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22706 * progmodes/cc-engine.el (buffer-syntactic-context):
22707 * progmodes/cc-fonts.el (face-property-instance):
22708 * progmodes/cc-mode.el (set-keymap-parents):
22709 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
22710 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
22711 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
22712 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
22713 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
22714
22715 * progmodes/cc-vars.el (other): Emacs has this widget since
22716 at least 21.1, so don't (re)define it.
22717
22718 * eshell/em-cmpl.el (eshell-cmpl-initialize):
22719 Replace the obsolete alias pcomplete-arg-quote-list.
22720
22721 2013-06-01 Leo Liu <sdl.web@gmail.com>
22722
22723 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
22724 punctuation syntax.
22725 (inferior-octave-minimal-columns)
22726 (inferior-octave-last-column-width): New variables.
22727 (inferior-octave-track-window-width-change): New function.
22728 (inferior-octave-mode): Adjust column width so that Octave output,
22729 for example from 'ls', can fit into the window nicely.
22730
22731 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22732
22733 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22734 Highlight expansions inside regexp literals.
22735
22736 2013-05-31 Glenn Morris <rgm@gnu.org>
22737
22738 * obsolete/sym-comp.el (symbol-complete):
22739 Replace obsolete completion-annotate-function.
22740
22741 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
22742
22743 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22744
22745 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22746 New function, checks if point is inside a literal that allows
22747 expression expansion.
22748 (ruby-syntax-propertize-expansion): Use it.
22749 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
22750 around the body.
22751
22752 2013-05-30 Juri Linkov <juri@jurta.org>
22753
22754 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
22755 to "\M-si".
22756 (isearch-invisible): New variable.
22757 (isearch-forward): Doc fix.
22758 (isearch-mode): Set `isearch-invisible'
22759 to the value of `search-invisible'.
22760 (isearch-toggle-case-fold): Doc fix.
22761 (isearch-toggle-invisible): New command.
22762 (isearch-query-replace): Let-bind `search-invisible'
22763 to the value of `isearch-invisible'.
22764 (isearch-search): Use `isearch-invisible' instead of
22765 `search-invisible'. Let-bind `search-invisible'
22766 to the value of `isearch-invisible'. (Bug#11378)
22767
22768 2013-05-30 Juri Linkov <juri@jurta.org>
22769
22770 * replace.el (perform-replace): Avoid `isearch-range-invisible'
22771 call when `query-flag' is nil and `search-invisible' is non-nil.
22772 (Bug#11746)
22773
22774 2013-05-30 Glenn Morris <rgm@gnu.org>
22775
22776 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
22777
22778 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
22779 (cc-require): Suppress spurious "noruntime" warnings.
22780 (cc-require-when-compile): Use fboundp, for sake of compiler.
22781
22782 * progmodes/cc-mode.el: Move load of cc-vars before that of
22783 cc-langs (which in turn loads cc-vars), to quieten compiler.
22784
22785 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22786
22787 * paren.el: Simplify the code.
22788 (show-paren-mode): Always start the timer.
22789 (show-paren--idle-timer): Rename from show-paren-idle-timer.
22790 (show-paren--overlay, show-paren--overlay-1): Rename from
22791 show-paren-overlay and show-paren-overlay-1, and initialize to an
22792 overlay rather than to nil.
22793 (show-paren-function): Misc cleanup and simplifications.
22794
22795 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22796
22797 * paren.el (show-paren-data-function): New hook.
22798 (show-paren--default): New function, extracted from show-paren-function.
22799 (show-paren-function): Use show-paren-data-function.
22800
22801 2013-05-30 Glenn Morris <rgm@gnu.org>
22802
22803 * ielm.el (ielm-map, ielm-complete-symbol):
22804 Use completion-at-point rather than obsolete functions.
22805 (inferior-emacs-lisp-mode): Doc fix.
22806 Set completion-at-point-functions, rather than
22807 comint-dynamic-complete-functions.
22808
22809 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
22810 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
22811 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
22812
22813 * image.el (image-animated-p): Tweak definition.
22814
22815 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
22816 (rlogin-process-connection-type): Tweak default. Add set-after.
22817 (rlogin-host): Doc fix.
22818 (rlogin): Tweak prompt.
22819 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
22820
22821 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
22822 * progmodes/tcl.el (inferior-tcl-mode-map):
22823 Use completion-at-point rather than obsolete alias.
22824
22825 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
22826
22827 * minibuffer.el (read-file-name-completion-ignore-case):
22828 Move before completion--in-region, for eager macro expansion.
22829
22830 2013-05-29 Juri Linkov <juri@jurta.org>
22831
22832 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
22833 for total count of matching lines. Add `global-matches' for total
22834 count of matches. Rename `matches' to `lines' for count of
22835 matching lines. Add `matches' for count of matches.
22836 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
22837 to `prev-line' for line number of prev match endpt.
22838 Increment `matches' for every match. Print the number of
22839 matching lines in the header.
22840 (occur-context-lines): Rename `lines' to `curr-line'.
22841 Rename `prev-lines' to `prev-line'. (Bug#14017)
22842
22843 2013-05-29 Juri Linkov <juri@jurta.org>
22844
22845 * replace.el (perform-replace): Add `skip-read-only-count',
22846 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
22847 Increment them for corresponding conditions and report the number
22848 of skipped occurrences in the final message. (Bug#11746)
22849 (query-replace, query-replace-regexp, query-replace-regexp-eval)
22850 (replace-string, replace-regexp): Doc fix.
22851
22852 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
22853
22854 * emacs-lisp/trace.el (trace--read-args): Provide a default.
22855
22856 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
22857 prog-mode-map (bug#14504).
22858
22859 2013-05-29 Leo Liu <sdl.web@gmail.com>
22860
22861 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
22862 (octave-help): Small simplification.
22863
22864 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
22865 off the highlight first.
22866
22867 2013-05-29 Glenn Morris <rgm@gnu.org>
22868
22869 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
22870 Handle idlwave-last-system-routine-info-cons-cell being nil.
22871
22872 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
22873 (idlwave-write-paths): Simplify via with-temp-buffer.
22874
22875 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
22876 * emulation/cua-rect.el: Also load cua-base at run time.
22877
22878 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
22879 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
22880 (cperl-imenu-on-info): Require imenu.
22881
22882 2013-05-28 Alan Mackenzie <acm@muc.de>
22883
22884 Handle "capitalised keywords" correctly.
22885 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
22886
22887 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
22888
22889 * eshell/em-unix.el: Add -r option to cp.
22890
22891 2013-05-28 Glenn Morris <rgm@gnu.org>
22892
22893 * vc/vc-arch.el (vc-exec-after): Declare.
22894 (vc-switches): Autoload.
22895 * vc/vc-bzr.el: No need to require vc when compiling.
22896 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
22897 (vc-resynch-buffer, vc-dir-refresh): Declare.
22898 (vc-setup-buffer, vc-switches): Autoload.
22899 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
22900 (vc-resynch-buffer): Declare.
22901 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
22902 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
22903 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
22904 (grep-read-regexp, grep-read-files, grep-expand-template)
22905 (vc-dir-refresh): Declare.
22906 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
22907 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
22908 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
22909 * vc/vc-mtn.el (vc-exec-after): Declare.
22910 (vc-switches): Autoload.
22911 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
22912 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
22913 (vc-file-tree-walk): Declare.
22914 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
22915 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
22916 (vc-tag-precondition, vc-rename-master): Autoload.
22917 * vc/vc-svn.el (vc-exec-after): Declare.
22918 (vc-switches, vc-setup-buffer): Autoload.
22919 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
22920 Autoload.
22921 (vc-resynch-buffer): Declare.
22922
22923 * obsolete/fast-lock.el (byte-compile-warnings):
22924 Don't warn about obsolete features in this obsolete file.
22925
22926 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
22927 Move definition before use.
22928
22929 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
22930 (dun-unix-verbs): Remove dun-zippy.
22931 (dun-zippy): Remove function.
22932
22933 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
22934
22935 2013-05-27 Juri Linkov <juri@jurta.org>
22936
22937 * replace.el (replace-search): New function with code moved out
22938 from `perform-replace'.
22939 (replace-highlight, replace-dehighlight): Move function definitions
22940 up closer to `replace-search'. (Bug#11746)
22941
22942 2013-05-27 Juri Linkov <juri@jurta.org>
22943
22944 * replace.el (perform-replace): Ignore invisible matches.
22945 In addition to checking `query-replace-skip-read-only', also
22946 filter out matches by calling `run-hook-with-args-until-failure'
22947 on `isearch-filter-predicates', and also check `search-invisible'
22948 for t or call `isearch-range-invisible'.
22949 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
22950
22951 2013-05-27 Juri Linkov <juri@jurta.org>
22952
22953 * isearch.el (isearch-filter-predicates): Rename from
22954 `isearch-filter-predicate'. Doc fix. (Bug#11378)
22955 (isearch-message-prefix): Display text from the property
22956 `isearch-message-prefix' of the currently active filters.
22957 (isearch-search): Don't compare `isearch-filter-predicate' with
22958 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
22959 on `isearch-filter-predicates'. Also check `search-invisible' for t
22960 or call `isearch-range-invisible'.
22961 (isearch-filter-visible): Make obsolete.
22962 (isearch-lazy-highlight-search):
22963 Call `run-hook-with-args-until-failure' on
22964 `isearch-filter-predicates' and use `isearch-range-invisible'.
22965
22966 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
22967 `isearch-filter-predicates' instead of `funcall'ing
22968 `isearch-filter-predicate'.
22969 (Info-mode): Set `Info-isearch-filter' to
22970 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
22971
22972 * dired-aux.el (dired-isearch-filter-predicate-orig):
22973 Remove variable.
22974 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
22975 (dired-isearch-filenames-end): Add and remove
22976 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
22977 instead of changing the value of `isearch-filter-predicate'.
22978 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
22979 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
22980 Put property `isearch-message-prefix' to "filename " on
22981 `dired-isearch-filter-filenames'.
22982
22983 * wdired.el (wdired-change-to-wdired-mode):
22984 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
22985 locally instead of changing `isearch-filter-predicate'.
22986 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
22987
22988 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
22989
22990 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
22991 return the commit hash (Bug#14459). Also set the
22992 `vc-git-detached' property.
22993 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
22994 (vc-git-mode-line-string): Use the same help-echo format whether
22995 in detached mode or not, because we know the actual revision now.
22996 When in detached mode, shorten the revision to 7 chars.
22997
22998 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22999
23000 * emacs-lisp/easy-mmode.el (define-minor-mode):
23001 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23002 mode hook and provide a docstring.
23003
23004 2013-05-27 Alan Mackenzie <acm@muc.de>
23005
23006 Remove spurious syntax-table text properties inserted by C-y.
23007 * progmodes/cc-mode.el (c-after-change): Also clear hard
23008 syntax-table property with value nil.
23009
23010 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23011
23012 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23013 when reading the events; the buffer layout shall not be changed.
23014
23015 2013-05-27 Leo Liu <sdl.web@gmail.com>
23016
23017 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23018 New variable.
23019 (inferior-octave-directory-tracker): Automatically re-sync
23020 default-directory.
23021 (octave-help): Improve handling of 'See also'.
23022
23023 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23024
23025 * doc-view.el: Minor naming convention tweaks.
23026 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23027
23028 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23029 even if there's no `display' property yet (bug#14435).
23030
23031 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23032
23033 * subr.el (unmsys--file-name): Rename from reveal-filename.
23034
23035 * Makefile.in (custom-deps, finder-data, autoloads)
23036 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23037 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23038 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23039
23040 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23041
23042 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23043 error-completion on the first 2 args of condition-case (bug#14446).
23044 Don't burp at EOB.
23045
23046 2013-05-25 Leo Liu <sdl.web@gmail.com>
23047
23048 * comint.el (comint-previous-matching-input): Do not flood the
23049 *Messages* buffer with trivial messages.
23050
23051 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23052
23053 * progmodes/flymake.el (flymake-nop): Don't return a string.
23054 (flymake-set-at): Fix typo.
23055
23056 * simple.el (read--expression): New function, extracted from
23057 eval-expression. Set completion-at-point-functions (bug#14465).
23058 (eval-expression, eval-minibuffer): Use it.
23059
23060 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23061
23062 * progmodes/flymake.el (flymake-save-buffer-in-file)
23063 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23064 (flymake-selected-frame, flymake-log, flymake-ins-after)
23065 (flymake-set-at, flymake-get-buildfile-from-cache)
23066 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23067 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23068 Refine the doc string.
23069 (flymake-get-file-name-mode-and-masks): Reformat.
23070 (flymake-get-real-file-name-function): Fix a minor bug.
23071
23072 2013-05-24 Juri Linkov <juri@jurta.org>
23073
23074 * progmodes/grep.el (grep-mode-font-lock-keywords):
23075 Support =linenumber= format used by git-grep for lines with
23076 function names. (Bug#13549)
23077
23078 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23079
23080 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23081 0 after a semi-colon; it works better for smie-auto-fill.
23082 (octave--indent-new-comment-line): New function.
23083 (octave-indent-new-comment-line): Use it (indirectly).
23084 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23085 modify comment-line-break-function.
23086
23087 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23088 (smie-setup): Use add-function to set it.
23089
23090 2013-05-24 Sam Steingold <sds@gnu.org>
23091
23092 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23093 argument (before the `interactive' argument).
23094
23095 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23096
23097 * image-mode.el (image-mode-winprops): Add winprops to
23098 image-mode-winprops-alist before running
23099 image-mode-new-window-functions.
23100 * doc-view.el (doc-view-new-window-function): Don't delay
23101 doc-view-goto-page via timers (bug#14435).
23102
23103 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23104
23105 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23106 (doc-view-desktop-save-buffer): New function.
23107 (doc-view-restore-desktop-buffer): New function.
23108 (desktop-buffer-mode-handlers):
23109 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23110 handler.
23111 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23112 `desktop-save-buffer' function.
23113
23114 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23115
23116 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23117 (tramp-gvfs-file-name-handler): Raise a user error when
23118 `tramp-gvfs-enabled' is nil.
23119 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23120 Do not raise a user error when loading package. (Bug#14447)
23121
23122 * net/xesam.el: Move to obsolete/.
23123
23124 2013-05-24 Glenn Morris <rgm@gnu.org>
23125
23126 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23127
23128 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23129
23130 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23131 (Info-find-node, Man-getpage-in-background): Declare.
23132
23133 * mail/unrmail.el (unrmail):
23134 Replace obsolete detect-coding-with-priority.
23135
23136 * net/socks.el (socks-split-string): Use this rather than split-string.
23137 (socks-nslookup-host): Update for above change.
23138 (dynamic-choice, s5-dynamic-choice-match)
23139 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23140 Comment out unused code.
23141
23142 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23143 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23144 (gud-tooltip-echo-area): Make obsolete.
23145 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23146
23147 * progmodes/js.el (js--optimize-arglist): Declare.
23148
23149 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23150
23151 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23152 (ediff-window-C): Declare.
23153
23154 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23155 Tweak requires to silence compiler.
23156
23157 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23158 (he-search-string, he-tried-table, he-expand-list)
23159 (he-init-string, he-string-member, he-substitute-string)
23160 (he-reset-string): Declare.
23161
23162 * obsolete/options.el (list-options): Use custom-variable-p,
23163 rather than obsolete alias.
23164
23165 2013-05-23 Sam Steingold <sds@gnu.org>
23166
23167 * simple.el (shell-command-on-region): Pass the `replace' argument
23168 down to `call-process-region' to comply with the doc as reported on
23169 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23170
23171 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23172
23173 * emacs-lisp/smie.el (smie-indent-forward-token)
23174 (smie-indent-backward-token): Handle string tokens (bug#14381).
23175
23176 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23177
23178 * ielm.el (ielm-menu): New menu.
23179 (inferior-emacs-lisp-mode): Set comment-start.
23180
23181 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23182
23183 * textmodes/reftex.el (reftex-ref-style-toggle):
23184 Fix deactivate action.
23185
23186 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23187 Add cleveref macros.
23188
23189 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23190 Accept options for bibliography commands.
23191 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23192 Add addbibresource. Basic Biblatex support.
23193
23194 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23195
23196 * net/tramp-gvfs.el (top):
23197 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23198 when loading package. (Bug#14447)
23199
23200 2013-05-23 Glenn Morris <rgm@gnu.org>
23201
23202 * progmodes/js.el: No need to load comint when compiling.
23203 (ring-insert, comint-send-string, comint-send-input)
23204 (comint-last-input-end, ido-chop): Declare.
23205
23206 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23207 * vc/ediff-mult.el: Adjust requires.
23208 (ediff-directories-internal, ediff-directory-revisions-internal)
23209 (ediff-patch-file-internal): Declare.
23210 * vc/ediff-ptch.el: Adjust requires.
23211 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23212 (ediff-find-file): Autoload.
23213 * vc/ediff-util.el: No need to load ediff when compiling.
23214 (ediff-regions-internal): Declare.
23215 * vc/ediff-wind.el: Adjust requires.
23216 (ediff-compute-toolbar-width): Define when compiling.
23217 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23218 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23219 (dired-get-filename, dired-get-marked-files)
23220 (ediff-last-dir-patch, ediff-patch-default-directory)
23221 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23222 (ediff-patch-buffer-internal): Declare.
23223
23224 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23225 (ispell-process, ispell-buffer-local-words, lm-summary)
23226 (lm-section-start, lm-section-end): Declare.
23227 (checkdoc-ispell-init): Simplify.
23228
23229 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23230 (he-string-member, he-reset-string, he-substitute-string): Declare.
23231
23232 * eshell/em-ls.el: Adjust requires.
23233 (eshell-glob-regexp): Declare.
23234 * eshell/em-tramp.el: Adjust requires.
23235 (eshell-parse-command): Autoload.
23236 * eshell/em-xtra.el: Adjust requires.
23237 (eshell-parse-command): Autoload.
23238 * eshell/esh-ext.el: Adjust requires.
23239 (eshell-parse-command, eshell-close-handles): Autoload.
23240 * eshell/esh-io.el: Adjust requires.
23241 (eshell-output-filter): Autoload.
23242 * eshell/esh-util.el: No need to load tramp when compiling.
23243 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23244 Declare.
23245 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23246 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23247 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23248 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23249 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23250 * eshell/esh-opt.el, eshell/esh-proc.el:
23251 * eshell/esh-var.el: Adjust requires.
23252 * eshell/eshell.el: Do not require esh-util twice.
23253 (eshell-add-input-to-history): Declare.
23254 (eshell-command): Check history module is active before using it.
23255
23256 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23257
23258 2013-05-22 Leo Liu <sdl.web@gmail.com>
23259
23260 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23261
23262 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23263
23264 * autorevert.el (auto-revert-notify-add-watch)
23265 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23266 it indicates changes in file modification time.
23267
23268 2013-05-22 Glenn Morris <rgm@gnu.org>
23269
23270 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23271 Always delete the autoloaded function from the noruntime and
23272 unresolved functions lists.
23273
23274 * allout.el: No need to load epa, epg, overlay when compiling.
23275 (epg-context-set-passphrase-callback, epg-list-keys)
23276 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23277 (epg-key-user-id-list): Declare.
23278
23279 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23280 (viper-set-parsing-style-toggling-macro)
23281 (viper-set-emacs-state-searchstyle-macros):
23282 Use called-interactively-p on Emacs.
23283 (viper-looking-back): Make it an obsolete alias. Update callers.
23284 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23285 Use looking-back rather than viper-looking-back.
23286 (viper-tmp-insert-at-eob, viper-enlarge-region)
23287 (viper-read-string-with-history, viper-register-to-point)
23288 (viper-append-to-register, viper-change-state-to-vi)
23289 (viper-backward-char-carefully, viper-forward-char-carefully)
23290 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23291 (viper-change-state-to-emacs): Declare.
23292 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23293 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23294 * emulation/viper-mous.el: Do not load viper-cmd.
23295 (viper-backward-char-carefully, viper-forward-char-carefully)
23296 (viper-forward-word, viper-adjust-window): Declare.
23297
23298 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23299
23300 * progmodes/idlw-help.el (idlwave-help-fontify):
23301 Use called-interactively-p.
23302
23303 * term/w32console.el (w32-get-console-codepage)
23304 (w32-get-console-output-codepage): Declare.
23305
23306 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23307 Remove unnecessary declarations.
23308 (dframe-message): Doc fix.
23309
23310 * info.el (dframe-select-attached-frame, dframe-current-frame):
23311 Declare.
23312
23313 * speedbar.el (speedbar-message): Make it an obsolete alias.
23314 Update all callers.
23315 (speedbar-with-attached-buffer)
23316 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23317 (speedbar-with-writable): Use backquote.
23318 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23319 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23320 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23321 rather than speedbar- aliases.
23322 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23323 (speedbar-make-specialized-keymap, speedbar-insert-button)
23324 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23325 (speedbar-do-function-pointer): Declare.
23326 (rmail-speedbar-button, rmail-speedbar-find-file)
23327 (rmail-speedbar-move-message):
23328 Use dframe-with-attached-buffer rather than speedbar- alias.
23329 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23330 (dframe-message, speedbar-make-specialized-keymap)
23331 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23332 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23333 (speedbar-insert-button, dframe-select-attached-frame)
23334 (dframe-maybee-jump-to-attached-frame)
23335 (speedbar-change-initial-expansion-list)
23336 (speedbar-previously-used-expansion-list-name): Declare.
23337 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23338 Use dframe-message, dframe-with-attached-buffer rather than
23339 speedbar- aliases.
23340 (gud-sentinel): Silence compiler.
23341 * progmodes/vhdl-mode.el (speedbar-refresh)
23342 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23343 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23344 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23345 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23346 (speedbar-file-lists, speedbar-make-tag-line)
23347 (speedbar-line-directory, speedbar-goto-this-file)
23348 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23349 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23350 (speedbar-make-button, speedbar-reset-scanners)
23351 (speedbar-files-item-info, speedbar-line-text)
23352 (speedbar-find-file-in-frame, speedbar-set-timer)
23353 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23354 (speedbar-with-writable): Do not (re)define it.
23355 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23356 rather than speedbar- alias.
23357
23358 2013-05-21 Leo Liu <sdl.web@gmail.com>
23359
23360 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23361 menu items.
23362 (octave-mode): Tweak fill-nobreak-predicate.
23363 (inferior-octave-startup): Check process to avoid infinite loop.
23364 (inferior-octave): Pop to buffer first to show abornmal process
23365 exit information.
23366
23367 2013-05-21 Glenn Morris <rgm@gnu.org>
23368
23369 * printing.el (pr-menu-bar): Define when compiling.
23370
23371 2013-05-21 Leo Liu <sdl.web@gmail.com>
23372
23373 * progmodes/octave.el (octave-auto-fill): Remove.
23374 (octave-indent-new-comment-line): Improve.
23375 (octave-mode): Use auto fill mode through
23376 comment-line-break-function and fill-nobreak-predicate.
23377 (octave-goto-function-definition): Support DEFUN_DLD.
23378 (octave-beginning-of-defun): Small tweak.
23379 (octave-help): Show parent directory.
23380
23381 2013-05-21 Glenn Morris <rgm@gnu.org>
23382
23383 * files.el (dired-unmark):
23384 * progmodes/gud.el (gdb-input): Update declarations.
23385
23386 * calculator.el (electric, ehelp): No need to load when compiling.
23387 (Electric-command-loop, electric-describe-mode): Declare.
23388
23389 * doc-view.el (doc-view-current-converter-processes): Move before use.
23390
23391 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23392 Move MODE-set-explicitly definition before use.
23393
23394 * international/mule-diag.el (mule-diag):
23395 Don't use obsolete window-system-version.
23396
23397 * mail/feedmail.el (smtpmail): No need to load when compiling.
23398 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23399
23400 * mail/mail-utils.el (rfc822): No need to load when compiling.
23401 (rfc822-addresses): Autoload it.
23402 (mail-strip-quoted-names): Trivial simplification.
23403
23404 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23405 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23406
23407 * net/snmp-mode.el (tempo): Don't duplicate requires.
23408
23409 * progmodes/prolog.el (info): No need to load when compiling.
23410 (comint): Require before shell requires it.
23411 (Info-goto-node): Autoload it.
23412 (Info-follow-nearest-node): Declare.
23413 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23414
23415 * textmodes/artist.el (picture-mode-exit): Declare.
23416
23417 * textmodes/reftex-parse.el (reftex-parse-from-file):
23418 Trivial rewrite so the compiler can parse it better.
23419
23420 2013-05-20 Leo Liu <sdl.web@gmail.com>
23421
23422 * progmodes/octave.el (octave-help-mode-map)
23423 (octave-help-mode-finish-hook): New variables.
23424 (octave-help-mode, octave-help-mode-finish): New functions.
23425 (octave-help): Use octave-help-mode.
23426
23427 2013-05-20 Glenn Morris <rgm@gnu.org>
23428
23429 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23430
23431 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23432
23433 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23434 start at point, so that expansion starting right after opening
23435 slash in a regexp is recognized.
23436 (ruby-syntax-before-regexp-re): New defvar, extracted from
23437 ruby-syntax-propertize-function. Since the value of this regexp
23438 is looked up at runtime now, we should be able to turn
23439 `ruby-syntax-methods-before-regexp' into a defcustom later.
23440 (ruby-syntax-propertize-function): Split regexp matching into two
23441 parts, for opening and closing slashes. That allows us to skip
23442 over string interpolations and support multiline regexps.
23443 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23444 for them, which calls `ruby-syntax-propertize-expansion'.
23445 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23446 call to `ruby-syntax-propertize-function'.
23447 (ruby-syntax-propertize-expansion): Extracted from
23448 `ruby-syntax-propertize-expansions'. Handles one expansion.
23449 (ruby-syntax-propertize-percent-literal): Leave point right after
23450 the percent symbol, so that the expression expansion rule can
23451 propertize the contents.
23452 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23453 heredoc openers.
23454 (ruby-syntax-propertize-expansions): Remove.
23455
23456 2013-05-18 Juri Linkov <juri@jurta.org>
23457
23458 * man.el (Man-default-man-entry): Remove `-' from the end
23459 of the default value. (Bug#14400)
23460
23461 2013-05-18 Glenn Morris <rgm@gnu.org>
23462
23463 * comint.el (comint-password-prompt-regexp):
23464 Allow "password for XXX" where XXX contains colons (eg https://...).
23465
23466 2013-05-18 Leo Liu <sdl.web@gmail.com>
23467
23468 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23469 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23470 (octave-source-directories): Don't check process.
23471 (octave-source-directories, octave-find-definition): Doc fix.
23472
23473 2013-05-18 Glenn Morris <rgm@gnu.org>
23474
23475 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23476 Remove backspace/delete bindings. (Bug#14392)
23477
23478 * cus-dep.el (custom-make-dependencies): Sort the output.
23479 (custom-versions-load-alist): Convert comment to doc.
23480
23481 2013-05-17 Leo Liu <sdl.web@gmail.com>
23482
23483 * newcomment.el (comment-search-backward): Stricter in finding
23484 comment start. (Bug#14303)
23485
23486 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23487 (octave-comment-start-skip): Properly anchored.
23488
23489 2013-05-17 Leo Liu <sdl.web@gmail.com>
23490
23491 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23492 Clean up when turned off. (Bug#14395)
23493 (smie--highlight-matching-block-overlay): No longer buffer-local.
23494 (smie-highlight-matching-block): Adjust.
23495
23496 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23497
23498 Doc string fix for "nanoseconds" (Bug#14406).
23499 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23500 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23501
23502 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23503
23504 * calc/calc-units.el (math-extract-units): Preserve powers
23505 of units.
23506
23507 2013-05-17 Leo Liu <sdl.web@gmail.com>
23508
23509 * subr.el (delete-consecutive-dups): New function.
23510 * ido.el (ido-set-matches-1): Use it.
23511 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23512 * ido.el (ido-remove-consecutive-dups): Remove.
23513
23514 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23515
23516 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23517 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23518 regexp-opt's `words'.
23519
23520 2013-05-16 Leo Liu <sdl.web@gmail.com>
23521
23522 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23523 (smie--highlight-matching-block-overlay)
23524 (smie--highlight-matching-block-lastpos)
23525 (smie--highlight-matching-block-timer): New variables.
23526 (smie-highlight-matching-block): New function.
23527 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23528 (smie-setup): Conditionally enable smie-blink-matching-open.
23529
23530 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23531
23532 Sync with upstream verilog-mode r840.
23533 * progmodes/verilog-mode.el (verilog-mode-version)
23534 (verilog-mode-release-date): Update.
23535 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23536 (verilog-sig-tieoff): Fix string error on
23537 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23538 (verilog-read-decls): Fix parameters confusing
23539 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23540
23541 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23542
23543 * subr.el (reveal-filename): New function.
23544
23545 * loadup.el: Compute Emacs executable versions on MS-Windows,
23546 where executables have the .exe extension. Add a hard link
23547 emacs-XX.YY.ZZ.exe on MS-Windows.
23548
23549 * Makefile.in (XARGS_LIMIT): New variable.
23550 (custom-deps, finder-data, autoloads)
23551 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23552 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23553 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23554 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23555
23556 2013-05-16 Leo Liu <sdl.web@gmail.com>
23557
23558 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23559 (octave-mode-menu, octave-mode-map): Remove its uses.
23560
23561 2013-05-16 Reto Zimmermann <reto@gnu.org>
23562
23563 Sync with upstream vhdl mode v3.34.2.
23564 * progmodes/vhdl-mode.el: Use `push' throughout.
23565 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23566 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23567 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23568 (vhdl-actual-generic-name): New option to derive actual generic name.
23569 (vhdl-port-paste-signals): Replace formal by actual generics.
23570 (vhdl-beautify): New name for old group vhdl-align. Update users.
23571 (vhdl-beautify-options): New option.
23572 (vhdl-last-input-event): New compat alias. Use throughout.
23573 (vhdl-goto-line): Replace user level function `goto-line'.
23574 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23575 vhdl-fix-statement-buffer.
23576 (vhdl-create-mode-menu): Add some entries.
23577 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23578 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23579 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23580 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23581 to force statements on one line.
23582 (vhdl-remove-trailing-spaces-region):
23583 New, split from vhdl-remove-trailing-spaces.
23584 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23585 Respect vhdl-beautify-options.
23586 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23587 (vhdl-update-sensitivity-list): Not add with index if exists without.
23588 Not include array index with signal. Ignore keywords in comments.
23589 (vhdl-get-visible-signals): Regexp tweaks.
23590 (vhdl-template-component-inst): Handle empty library.
23591 (vhdl-template-type): Add template for 'enum' type.
23592 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23593 Use vhdl-replace-string.
23594 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23595 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23596 (vhdl-speedbar-initialize): Update for above name change.
23597 (vhdl-compose-wire-components): Fix in handling of constants.
23598 (vhdl-error-regexp-emacs-alist): New variable.
23599 (vhdl-error-regexp-add-emacs): New function;
23600 adds support for new compile.el (Emacs 22+)
23601 (vhdl-generate-makefile-1): Change target order for single lib. units.
23602 Allow use of absolute file names.
23603
23604 2013-05-16 Leo Liu <sdl.web@gmail.com>
23605
23606 * simple.el (prog-indent-sexp): Indent enclosing defun.
23607
23608 2013-05-15 Glenn Morris <rgm@gnu.org>
23609
23610 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23611 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23612 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23613 (whitespace-highlight): Move to whitespace group.
23614
23615 * comint.el (comint-source):
23616 * pcmpl-linux.el (pcmpl-linux):
23617 * shell.el (shell-faces):
23618 * eshell/esh-opt.el (eshell-opt):
23619 * international/ccl.el (ccl): Remove empty custom groups.
23620
23621 * completion.el (dynamic-completion-mode):
23622 * jit-lock.el (jit-lock-debug-mode):
23623 * minibuffer.el (completion-in-region-mode):
23624 * type-break.el (type-break-mode-line-message-mode)
23625 (type-break-query-mode):
23626 * emulation/tpu-edt.el (tpu-edt-mode):
23627 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23628 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23629 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23630
23631 * term/xterm.el (xterm): Change parent group to terminals.
23632
23633 * master.el (master): Remove empty custom group.
23634 (master-mode): Remove unused :group argument.
23635 * textmodes/refill.el (refill): Remove empty custom group.
23636 (refill-mode): Remove unused :group argument.
23637
23638 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23639
23640 * cus-dep.el: Provide a feature.
23641 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23642 Don't mistakenly ignore files whose basenames match a basename
23643 from preloaded-file-list (eg cedet/ede/simple.el).
23644 Add a fallback method for getting :group.
23645
23646 2013-05-15 Juri Linkov <juri@jurta.org>
23647
23648 * isearch.el (isearch-char-by-name): Rename from
23649 `isearch-insert-char-by-name'. Doc fix.
23650 (isearch-forward): Mention `isearch-char-by-name' in
23651 the docstring. (Bug#13348)
23652
23653 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23654 `exit-minibuffer' instead of
23655 `isearch-nonincremental-exit-minibuffer'.
23656 (isearch-edit-string): Remove mention of
23657 `isearch-nonincremental-exit-minibuffer' from docstring.
23658 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23659 (isearch-forward-exit-minibuffer)
23660 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23661
23662 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23663
23664 * loadup.el: Just use unversioned DOC.
23665
23666 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23667 literals as extending to EOB.
23668 (nxml-last-fontify-end): Remove unused variable.
23669 (nxml-after-change1): Use with-silent-modifications.
23670 (nxml-extend-after-change-region): Simplify.
23671 (nxml-extend-after-change-region1): Remove function.
23672 (nxml-after-change1): Don't adjust for dependent regions.
23673 (nxml-fontify-matcher): Simplify.
23674 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23675 (xmltok-add-dependent): Remove function.
23676 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23677 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23678 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23679 unclosed <[[, <?, comment, and other literals as extending to EOB.
23680 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23681 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23682 Remove functions.
23683 (rng-do-some-validation-1): Don't mark dependent regions.
23684 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23685 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23686 (nxml-clear-dependent-regions): Remove functions.
23687 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23688 (nxml-ensure-scan-up-to-date):
23689 Don't clear&mark dependent regions.
23690
23691 2013-05-15 Leo Liu <sdl.web@gmail.com>
23692
23693 * progmodes/octave.el (octave-goto-function-definition):
23694 Improve and fix callers.
23695
23696 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23697
23698 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23699 the setter (bug#14387).
23700
23701 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23702 surrounding group (bug#14402).
23703
23704 2013-05-14 Juri Linkov <juri@jurta.org>
23705
23706 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
23707 (Bug#14390)
23708
23709 2013-05-14 Glenn Morris <rgm@gnu.org>
23710
23711 * progmodes/f90.el (f90-imenu-generic-expression):
23712 Fix typo in 2013-05-08 change. (Bug#14402)
23713
23714 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23715
23716 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
23717 Remove signals for which replies are never received.
23718
23719 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23720
23721 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
23722 (gdb-handler-alist, gdb-handler-number): Remove variables.
23723 (gdb-handler-list): New variable.
23724 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
23725 (gdb-pending-handler-p, gdb-handle-reply)
23726 (gdb-remove-all-pending-triggers): New functions.
23727 (gdb-discard-unordered-replies): New defcustom.
23728 (gdb-handler): New defstruct.
23729 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
23730 instead of gdb-pending-triggers. Update docstring.
23731 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
23732 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
23733 (gdb-var-update-handler, def-gdb-auto-update-trigger)
23734 (def-gdb-auto-update-handler, gdb-get-changed-registers)
23735 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
23736 (gdb-frame-handler): Pending triggers are now automatically managed.
23737 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
23738 Remove argument.
23739 (gdb-input): Automatically handles pending triggers. Update docstring.
23740 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
23741 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
23742 Update comments.
23743 (gdb-done-or-error): Now use gdb-handle-reply.
23744
23745 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23746
23747 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
23748 gdb-debug-log.
23749
23750 2013-05-14 Glenn Morris <rgm@gnu.org>
23751
23752 * subr.el (user-emacs-directory-warning): New option.
23753 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
23754
23755 2013-05-14 Leo Liu <sdl.web@gmail.com>
23756
23757 * progmodes/octave.el (octave-font-lock-keywords): Fix error
23758 during redisplay.
23759 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
23760 (octave-font-lock-texinfo-comment): Fix invalid search bound
23761 error: wrong side of point.
23762
23763 2013-05-14 Glenn Morris <rgm@gnu.org>
23764
23765 * progmodes/flymake.el (flymake-xml-program): New option.
23766 (flymake-xml-init): Use it.
23767
23768 * term/xterm.el: Provide a feature.
23769
23770 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
23771
23772 2013-05-13 Glenn Morris <rgm@gnu.org>
23773
23774 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
23775 Add compat aliases as a hack workaround. (Bug#14384)
23776
23777 2013-05-13 Leo Liu <sdl.web@gmail.com>
23778
23779 * progmodes/octave.el (octave-indent-comment): Fix indentation for
23780 ###, and %!.
23781 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
23782 C-M-q.
23783 (octave-comment-start-skip): Include %!.
23784 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
23785
23786 2013-05-12 Leo Liu <sdl.web@gmail.com>
23787
23788 * progmodes/octave.el (inferior-octave-startup): Store the value
23789 of __octave_srcdir__ for octave-source-directories.
23790 (inferior-octave-check-process): New function refactored out of
23791 inferior-octave-send-list-and-digest.
23792 (octave-source-directories)
23793 (octave-find-definition-filename-function): New variables.
23794 (octave-source-directories)
23795 (octave-find-definition-default-filename): New functions.
23796 (octave-find-definition): Improve to find functions implemented in C++.
23797
23798 2013-05-12 Glenn Morris <rgm@gnu.org>
23799
23800 * calendar/diary-lib.el (diary-outlook-format-1):
23801 Don't include dayname in the output. (Bug#14349)
23802
23803 2013-05-11 Glenn Morris <rgm@gnu.org>
23804
23805 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
23806
23807 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
23808 Treat cc-provide like provide.
23809
23810 2013-05-11 Kevin Ryde <user42@zip.com.au>
23811
23812 * cus-dep.el (custom-make-dependencies):
23813 Use generated-autoload-load-name for the sake of files such
23814 such cedet/semantic/bovine/c.el, where the base file name
23815 is not in load-path. (Bug#5277)
23816
23817 2013-05-11 Glenn Morris <rgm@gnu.org>
23818
23819 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
23820 Provide features.
23821
23822 2013-05-11 Leo Liu <sdl.web@gmail.com>
23823
23824 * progmodes/octave.el (octave-indent-comment): Improve.
23825 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
23826 (octave-eldoc-function-signatures, octave-eldoc-function):
23827 New functions.
23828 (octave-mode, inferior-octave-mode): Add eldoc support.
23829
23830 2013-05-11 Richard Stallman <rms@gnu.org>
23831
23832 * epa.el (epa-decrypt-file): Take output file name as argument
23833 and read it using `interactive'.
23834
23835 2013-05-11 Leo Liu <sdl.web@gmail.com>
23836
23837 * progmodes/octave.el (octave-beginning-of-line)
23838 (octave-end-of-line): Check before using up-list because it jumps
23839 out of more syntactic contructs since moving to smie.
23840 (octave-indent-comment): New function.
23841 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
23842 (octave-begin-keywords, octave-end-keywords)
23843 (octave-reserved-words, octave-smie-bnf-table)
23844 (octave-smie-rules): Add new keywords from Octave 3.6.4.
23845
23846 2013-05-11 Glenn Morris <rgm@gnu.org>
23847
23848 * faces.el (internal-face-x-get-resource):
23849 * frame.el (ns-display-monitor-attributes-list):
23850 * calc/calc-aent.el (math-to-radians-2):
23851 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
23852 Fix declarations.
23853
23854 * calc/calc-menu.el: Make it loadable in isolation.
23855
23856 * net/eudcb-bbdb.el: Make it loadable without bbdb.
23857 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
23858 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
23859 (eudc-bbdb-query-internal): Require 'bbdb.
23860
23861 * lpr.el (lpr-headers-switches):
23862 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
23863
23864 * progmodes/sql.el (sql-login-params): Fix and improve :type.
23865
23866 * emulation/edt-mapper.el: In batch mode, error rather than hang.
23867
23868 * term.el (term-set-escape-char): Make it idempotent.
23869
23870 2013-05-10 Leo Liu <sdl.web@gmail.com>
23871
23872 * progmodes/octave.el (inferior-octave-completion-table):
23873 No longer a function and all uses changed. Use cache to speed up
23874 completion due to bug#11906.
23875 (octave-beginning-of-defun): Re-write to be more general.
23876
23877 2013-05-10 Glenn Morris <rgm@gnu.org>
23878
23879 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
23880
23881 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
23882
23883 * comint.el (comint-redirect-send-command-to-process): Use :around
23884 rather than :override for comint-redirect-filter.
23885 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
23886 Call it instead of comint-redirect-original-filter-function (which
23887 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
23888
23889 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
23890
23891 * frame.el (display-monitor-attributes-list): Add NS case.
23892 (ns-display-monitor-attributes-list): Declare.
23893
23894 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
23895
23896 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
23897
23898 2013-05-09 Glenn Morris <rgm@gnu.org>
23899
23900 * international/fontset.el (vertical-centering-font-regexp):
23901 Set standard-value.
23902
23903 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
23904
23905 * bookmark.el (bookmark-search-delay):
23906 * cus-start.el (vertical-centering-font-regexp):
23907 * ps-mule.el (ps-mule-font-info-database-default):
23908 * ps-print.el (ps-default-fg, ps-default-bg):
23909 * type-break.el (type-break-good-break-interval):
23910 * whitespace.el (whitespace-indentation-regexp)
23911 (whitespace-space-after-tab-regexp):
23912 * emacs-lisp/testcover.el (testcover-1value-functions)
23913 (testcover-noreturn-functions, testcover-progn-functions)
23914 (testcover-prog1-functions):
23915 * emulation/viper-init.el (viper-emacs-state-cursor-color):
23916 * eshell/em-glob.el (eshell-glob-translate-alist):
23917 * play/tetris.el (tetris-tty-colors):
23918 * progmodes/cpp.el (cpp-face-default-list):
23919 * progmodes/flymake.el (flymake-allowed-file-name-masks):
23920 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
23921 (idlwave-help-browser-generic-args):
23922 * progmodes/make-mode.el (makefile-special-targets-list):
23923 * progmodes/python.el (python-shell-virtualenv-path):
23924 * progmodes/verilog-mode.el (verilog-active-low-regexp)
23925 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
23926 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
23927 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
23928 * textmodes/reftex-vars.el (reftex-format-label-function):
23929 * textmodes/remember.el (remember-diary-file): Fix custom types.
23930
23931 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
23932 Add :version.
23933
23934 2013-05-09 Leo Liu <sdl.web@gmail.com>
23935
23936 * progmodes/octave.el (inferior-octave-completion-at-point):
23937 Restore file completion. (Bug#14300)
23938 (inferior-octave-startup): Fix incorrect highlighting for the
23939 first prompt.
23940
23941 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23942
23943 * progmodes/ruby-mode.el: First cut at SMIE support.
23944 (ruby-use-smie): New var.
23945 (ruby-smie-grammar): New constant.
23946 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
23947 (ruby-smie--forward-token, ruby-smie--backward-token)
23948 (ruby-smie-rules): New functions.
23949 (ruby-mode-variables): Setup SMIE if applicable.
23950
23951 2013-05-08 Eli Zaretskii <eliz@gnu.org>
23952
23953 * simple.el (line-move-visual): Signal beginning/end of buffer
23954 only if vertical-motion moved less than it was requested. Avoids
23955 silly incorrect error messages when there are display strings with
23956 multiple newlines at EOL.
23957
23958 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23959
23960 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
23961 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
23962 (prolog-char-quote-workaround):
23963 * progmodes/cperl-mode.el (cperl-under-as-char):
23964 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
23965 Mark as obsolete.
23966 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
23967 their declaration.
23968 (vhdl-mode-syntax-table-init): Remove.
23969
23970 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
23971 last change.
23972
23973 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
23974 syntax for "_".
23975 (ld-script-font-lock-keywords):
23976 Change regexps to use things like \_< and \_>.
23977
23978 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
23979 Change all regexps to use things like \_< and \_>.
23980
23981 * progmodes/autoconf.el (autoconf-definition-regexp)
23982 (autoconf-font-lock-keywords, autoconf-current-defun-function):
23983 Handle a _ with symbol syntax.
23984 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
23985
23986 * progmodes/ada-mode.el (ada-mode-abbrev-table):
23987 Consolidate declaration.
23988 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
23989 the declaration.
23990 (ada-create-syntax-table): Remove.
23991 (ada-capitalize-word): Don't mess with the syntax of "_" since it
23992 already has the right syntax nowadays.
23993 (ada-goto-next-word): Don't change the syntax of "_".
23994
23995 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
23996 with-wrapper-hook.
23997
23998 2013-05-08 Sam Steingold <sds@gnu.org>
23999
24000 * thingatpt.el (thing-at-point): Accept optional second argument
24001 NO-PROPERTIES to strip the text properties from the return value.
24002 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24003 to `thing-at-point' instead of stripping the properties ourselves.
24004 Also, when `thing-at-point' fails to find a url, prepend "http://"
24005 to the filename at point on the assumption that the user is
24006 pointing at something like gnu.org/gnu.
24007
24008 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24009
24010 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24011 * faces.el (crm-separator):
24012 Silence byte-compiler.
24013
24014 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24015 (tool-bar-map): Remove unneeded defvars.
24016
24017 2013-05-08 Leo Liu <sdl.web@gmail.com>
24018
24019 Re-work a fix for bug#10994 based on Le Wang's patch.
24020 * ido.el (ido-remove-consecutive-dups): New helper.
24021 (ido-completing-read): Use it.
24022 (ido-chop): Revert fix for bug#10994.
24023
24024 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24025
24026 * cus-edit.el (custom-save-variables):
24027 Pretty-print long values. (Bug#14187)
24028
24029 2013-05-08 Glenn Morris <rgm@gnu.org>
24030
24031 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24032 (m4-mode-syntax-table): Init in the defvar.
24033 (m4-mode-abbrev-table): Let define-derived-mode define it.
24034
24035 2013-05-08 Tom Tromey <tromey@redhat.com>
24036
24037 * progmodes/m4-mode.el (m4-mode-syntax-table):
24038 Do not treat "_" as word constituent. (Bug#14167)
24039
24040 2013-05-07 Glenn Morris <rgm@gnu.org>
24041
24042 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24043 Remove explicit eshell-isearch-cancel-map.
24044
24045 * progmodes/f90.el (f90-smart-end-names): New option.
24046 (f90-smart-end): Doc fix.
24047 (f90-end-block-optional-name): New constant.
24048 (f90-block-match): Respect f90-smart-end-names.
24049
24050 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24051
24052 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24053 about implicit semi-colons (bug#14218).
24054
24055 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24056
24057 * frame.el (display-monitor-attributes-list)
24058 (frame-monitor-attributes): New functions.
24059
24060 2013-05-06 Leo Liu <sdl.web@gmail.com>
24061
24062 * progmodes/octave.el (octave-syntax-propertize-function): Change
24063 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24064 (octave-font-lock-keywords): Use octave-operator-regexp.
24065 (octave-completion-at-point): Rename from
24066 octave-completion-at-point-function.
24067 (inferior-octave-directory-tracker): Robustify.
24068 (octave-text-functions): Remove and fix its uses. No such things
24069 any more.
24070
24071 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24072
24073 * emacs-lisp/trace.el (trace--display-buffer): New function.
24074 (trace-make-advice): Use it.
24075
24076 2013-05-06 Juri Linkov <juri@jurta.org>
24077
24078 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24079 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24080 Doc fix.
24081 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24082 in the help string. (Bug#12985)
24083
24084 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24085
24086 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24087
24088 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24089
24090 * progmodes/perl-mode.el: Add support for here documents.
24091 (perl-syntax-propertize-function): Match here-doc markers.
24092 (perl-syntax-propertize-special-constructs): Find their end.
24093 (perl-imenu-generic-expression): Use [:alnum:].
24094
24095 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24096 (advice--add-function): Refresh the advice if already present
24097 (bug#14317).
24098
24099 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24100
24101 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24102
24103 2013-05-06 Glenn Morris <rgm@gnu.org>
24104
24105 * w32-fns.el (w32-charset-info-alist): Declare.
24106
24107 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24108 of its defcustom properties.
24109 (eshell-cmpl-initialize): No need to load pcomplete.
24110
24111 * generic-x.el: No need to require comint when compiling.
24112
24113 * net/eudc-export.el: Make it loadable without bbdb.
24114 (top-level): Use require rather than load-library.
24115 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24116 (eudc-batch-export-records-to-bbdb)
24117 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24118 Require bbdb.
24119
24120 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24121
24122 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24123 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24124 some tweaks, instead.
24125
24126 2013-05-05 Leo Liu <sdl.web@gmail.com>
24127
24128 * progmodes/octave.el (octave-font-lock-keywords)
24129 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24130 (inferior-octave-send-list-and-digest): Improve error message.
24131 (octave-mode, inferior-octave-mode): Use setq-local.
24132 (octave-help): Set info-lookup-mode.
24133
24134 2013-05-05 Richard Stallman <rms@gnu.org>
24135
24136 * vc/compare-w.el (compare-windows-whitespace):
24137 Treat no-break space as whitespace.
24138
24139 * mail/rmailsum.el (rmail-summary-rmail-update):
24140 Detect empty summary and don't change selected message.
24141 (rmail-summary-goto-msg): Likewise.
24142
24143 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24144 Doc fixes, rename args.
24145
24146 2013-05-05 Alan Mackenzie <acm@muc.de>
24147
24148 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24149
24150 2013-05-05 Juri Linkov <juri@jurta.org>
24151
24152 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24153 to not add the length of the summary segment to the return value.
24154 (Bug#14125)
24155
24156 2013-05-05 Leo Liu <sdl.web@gmail.com>
24157
24158 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24159 (inferior-octave-output-filter): Remove.
24160 (octave-send-region, inferior-octave-startup): Fix callers.
24161 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24162 (octave-binary-file-extensions): New user variable.
24163 (octave-find-definition): Confirm if opening binary files.
24164 (octave-help-file): Use octave-find-definition to get the binary
24165 confirmation.
24166 (octave-help): Adjust for octave-help-file change.
24167
24168 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24169
24170 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24171 Merge the two entries that handle function definitions.
24172 (pascal--syntax-propertize): New const.
24173 (pascal-mode): Use it. Use setq-local.
24174
24175 2013-05-04 Glenn Morris <rgm@gnu.org>
24176
24177 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24178 (diary-from-outlook): Respect diary-from-outlook-function.
24179
24180 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24181
24182 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24183 Move the declaration from C.
24184 (read-minibuffer, eval-minibuffer): Move from C.
24185 (completion-setup-function): Avoid minibuffer-completion-contents.
24186
24187 2013-05-03 Leo Liu <sdl.web@gmail.com>
24188
24189 * progmodes/octave.el (octave-font-lock-keywords): Do not
24190 dehighlight 'end' in comments or strings.
24191 (octave-completing-read, octave-goto-function-definition):
24192 New helpers.
24193 (octave-help-buffer): New user variable.
24194 (octave-help-file, octave-help-function): New button types.
24195 (octave-help): New command and bind it to C-h ;.
24196 (octave-find-definition): New command and bind it to M-.
24197 (user-error): Alias to error if not defined.
24198
24199 2013-05-02 Leo Liu <sdl.web@gmail.com>
24200
24201 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24202 for \. (bug#14332)
24203 (octave-font-lock-keywords): Include [ and {.
24204
24205 2013-05-02 Leo Liu <sdl.web@gmail.com>
24206
24207 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24208 (inferior-octave): Remove calling comint-mode and return the buffer.
24209 (inferior-octave-startup): Cosmetic changes.
24210
24211 2013-05-02 Leo Liu <sdl.web@gmail.com>
24212
24213 * progmodes/octave.el (octave-syntax-propertize-function):
24214 Include the case when ' is at line beginning. (Bug#14336)
24215
24216 2013-05-02 Glenn Morris <rgm@gnu.org>
24217
24218 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24219 * desktop.el (vc-dir-mode): Just autoload it here.
24220
24221 2013-05-02 Alan Mackenzie <acm@muc.de>
24222
24223 Eliminate variable c-standard-font-lock-fontify-region-function.
24224 * progmodes/cc-mode.el
24225 (c-standard-font-lock-fontify-region-function): Remove.
24226 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24227
24228 2013-05-01 Leo Liu <sdl.web@gmail.com>
24229
24230 * progmodes/octave.el: Compatible with older emacs-24 releases.
24231 (inferior-octave-has-built-in-variables): Remove. Built-in
24232 variables were removed from Octave in 2007.
24233 (inferior-octave-startup): Fix uses.
24234 (comint-line-beginning-position): Remove compatibility code for
24235 emacs 21.
24236
24237 2013-05-01 Juri Linkov <juri@jurta.org>
24238
24239 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24240
24241 2013-05-01 Juri Linkov <juri@jurta.org>
24242
24243 * comint.el (comint-previous-matching-input): Don't print message
24244 "History item: %d" when `isearch-mode' is active.
24245 (comint-history-isearch-message): Print message "History item: %d"
24246 when `comint-input-ring-index' is not empty and this function is
24247 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24248
24249 2013-05-01 Leo Liu <sdl.web@gmail.com>
24250
24251 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24252 definitions. Use completion-at-point to insert keywords.
24253 (octave-abbrev-start): Remove.
24254 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24255
24256 2013-04-30 Leo Liu <sdl.web@gmail.com>
24257
24258 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24259 change.
24260
24261 2013-04-30 Alan Mackenzie <acm@muc.de>
24262
24263 Handle arbitrarily long C++ member initialization lists.
24264 * progmodes/cc-engine.el (c-back-over-member-initializers):
24265 new function.
24266 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24267 (most) member init lists.
24268
24269 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24270
24271 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24272 variable.
24273
24274 2013-04-30 Leo Liu <sdl.web@gmail.com>
24275
24276 * progmodes/octave.el (octave-variables): Remove. No builtin
24277 variables any more. All converted to functions.
24278 (octave-font-lock-keywords, octave-completion-at-point-function):
24279 Fix uses.
24280 (octave-font-lock-texinfo-comment): New user variable.
24281 (octave-texinfo-font-lock-keywords): New variable for texinfo
24282 comment block.
24283 (octave-function-comment-block): New face.
24284 (octave-font-lock-texinfo-comment): New function.
24285 (octave-mode): Font lock texinfo comment block.
24286
24287 2013-04-29 Leo Liu <sdl.web@gmail.com>
24288
24289 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24290 indexing expression.
24291 (octave-continuation-string): Do not use \.
24292 (inferior-octave-complete-impossible): Remove.
24293 (inferior-octave-completion-table)
24294 (inferior-octave-completion-at-point): Remove its uses.
24295 (inferior-octave-startup): completion_matches was introduced to
24296 Octave in 1996 so safe to assume it.
24297 (octave-function-file-comment): Improve to follow how Octave does it.
24298 (octave-update-function-file-comment): Tweak.
24299
24300 2013-04-29 Leo Liu <sdl.web@gmail.com>
24301
24302 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24303 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24304 (octave-function-file-comment): Fix typo.
24305 (octave-sync-function-file-names): Use read-char-choice.
24306
24307 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24308
24309 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24310 to t for the less important warnings.
24311
24312 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24313
24314 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24315
24316 2013-04-27 Glenn Morris <rgm@gnu.org>
24317
24318 * vc/log-view.el (log-view-current-entry):
24319 Treat "---" separator lines as part of the following rev. (Bug#14169)
24320
24321 2013-04-27 Juri Linkov <juri@jurta.org>
24322
24323 * subr.el (read-number): Doc fix about using it by interactive
24324 code letter `n'. (Bug#14254)
24325
24326 2013-04-27 Juri Linkov <juri@jurta.org>
24327
24328 * desktop.el (desktop-auto-save-timeout): New option.
24329 (desktop-file-checksum): New variable.
24330 (desktop-save): Add optional arg `auto-save' and don't auto-save
24331 if nothing changed.
24332 (desktop-auto-save-timer): New variable.
24333 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24334 (after-init-hook): Call `desktop-auto-save-set-timer'.
24335 Suggested by Reuben Thomas <rrt@sc3d.org> in
24336 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24337
24338 2013-04-27 Leo Liu <sdl.web@gmail.com>
24339
24340 * progmodes/octave.el (octave-function-file-p)
24341 (octave-skip-comment-forward, octave-function-file-comment)
24342 (octave-update-function-file-comment): New functions.
24343 (octave-mode-map): Bind C-c ; to
24344 octave-update-function-file-comment.
24345 (octave-mode-menu): Add octave-update-function-file-comment.
24346 (octave-mode, inferior-octave-mode): Fix doc-string.
24347 (octave-insert-defun): Conform to Octave's coding convention.
24348 (Bug#14285)
24349
24350 * files.el (basic-save-buffer): Don't let errors in
24351 before-save-hook prevent saving buffer.
24352
24353 2013-04-20 Roland Winkler <winkler@gnu.org>
24354
24355 * faces.el (read-face-name): Use completing-read if arg multiple
24356 is nil.
24357
24358 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24359
24360 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24361 displayed, move point to after the totals line.
24362 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24363 for the details.
24364
24365 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24366
24367 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24368 Add current dir to the load-path.
24369 (package-generate-autoloads): Don't rely on
24370 autoload-ensure-default-file.
24371
24372 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24373
24374 * textmodes/remember.el (remember-store-in-files): Document that
24375 the file name format is passed to `format-time-string'.
24376
24377 2013-04-26 Leo Liu <sdl.web@gmail.com>
24378
24379 * progmodes/octave.el (octave-sync-function-file-names): New function.
24380 (octave-mode): Use it in before-save-hook.
24381
24382 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24383
24384 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24385 (bug#14274).
24386
24387 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24388 \n and comment, even if it's not an implicit ; (bug#14218).
24389
24390 2013-04-26 Glenn Morris <rgm@gnu.org>
24391
24392 * subr.el (read-number): Once more use `read' rather than
24393 `string-to-number', to trap non-numeric input. (Bug#14254)
24394
24395 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24396
24397 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24398 Use `syntax-multiline' text property consistently instead of
24399 `font-lock-multiline'. (Bug#14237)
24400
24401 2013-04-26 Glenn Morris <rgm@gnu.org>
24402
24403 * emacs-lisp/shadow.el (list-load-path-shadows):
24404 No longer necessary to check for duplicate simple.el, since
24405 2012-07-07 change to init_lread to not include installation lisp
24406 directories in load-path when running uninstalled. (Bug#14270)
24407
24408 2013-04-26 Leo Liu <sdl.web@gmail.com>
24409
24410 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24411 (octave-mode, inferior-octave-mode): Use setq-local.
24412 (octave-not-in-string-or-comment-p): Rename to
24413 octave-in-string-or-comment-p.
24414 (octave-in-comment-p, octave-in-string-p)
24415 (octave-in-string-or-comment-p): Replace defsubst with defun.
24416
24417 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24418
24419 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24420
24421 2013-04-25 Bastien Guerry <bzg@gnu.org>
24422
24423 * textmodes/remember.el (remember-data-directory)
24424 (remember-directory-file-name-format): Fix custom types.
24425
24426 2013-04-25 Leo Liu <sdl.web@gmail.com>
24427
24428 * progmodes/octave.el (octave-completion-at-point-function):
24429 Make use of inferior octave process.
24430 (octave-initialize-completions): Remove.
24431 (inferior-octave-completion-table): New function.
24432 (inferior-octave-completion-at-point): Use it.
24433 (octave-completion-alist): Remove.
24434
24435 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24436
24437 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24438 (opascal-mode-syntax-table): New var.
24439 (opascal-literal-kind, opascal-is-literal-end)
24440 (opascal-literal-token-at): Rewrite.
24441 (opascal--literal-start-re, opascal-font-lock-keywords)
24442 (opascal--syntax-propertize): New constants.
24443 (opascal-font-lock-defaults): Adjust.
24444 (opascal-mode): Use them. Set comment-<foo> variables as well.
24445 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24446 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24447 (delphi-other-face, opascal-other-face): Remove face variables.
24448 (opascal-save-state): Remove macro.
24449 (opascal-fontifying-progress-step): Remove constant.
24450 (opascal--ignore-changes): Remove var.
24451 (opascal-set-token-property, opascal-parse-next-literal)
24452 (opascal-is-stable-literal, opascal-complete-literal)
24453 (opascal-is-literal-start, opascal-face-of)
24454 (opascal-parse-region, opascal-parse-region-until-stable)
24455 (opascal-fontify-region, opascal-after-change)
24456 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24457 (opascal-debug-parse-region, opascal-debug-parse-window)
24458 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24459 (opascal-debug-fontify-buffer): Remove.
24460 (opascal-debug-mode-map): Adjust accordingly.
24461
24462 2013-04-25 Leo Liu <sdl.web@gmail.com>
24463
24464 Merge octave-mod.el and octave-inf.el into octave.el with some
24465 cleanups.
24466 * progmodes/octave.el: New file renamed from octave-mod.el.
24467 * progmodes/octave-inf.el: Merged into octave.el.
24468 * progmodes/octave-mod.el: Renamed to octave.el.
24469
24470 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24471
24472 * textmodes/reftex-vars.el
24473 (reftex-label-ignored-macros-and-environments): New defcustom.
24474
24475 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24476
24477 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24478
24479 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24480 (smie-indent-keyword): Improve the check to ensure that the next
24481 comment is really on the same line.
24482 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24483
24484 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24485 semi-colons if the line is not otherwise empty (bug#14218).
24486
24487 2013-04-25 Glenn Morris <rgm@gnu.org>
24488
24489 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24490
24491 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24492
24493 * progmodes/opascal.el (opascal-set-token-property): Rename from
24494 opascal-set-text-properties and only set `token' (bug#14134).
24495 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24496 (opascal-literal-text-properties): Remove.
24497 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24498 Adjust callers.
24499
24500 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24501
24502 * textmodes/remember.el (remember-handler-functions): Add an
24503 option for a new handler `remember-store-in-files'.
24504 (remember-data-directory, remember-directory-file-name-format):
24505 New options.
24506 (remember-store-in-files): New function to store remember notes
24507 as separate files within a directory.
24508
24509 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24510
24511 * progmodes/compile.el (compilation-next-error-function):
24512 Pass "formats" to compilation-find-file (bug#11777).
24513
24514 2013-04-24 Glenn Morris <rgm@gnu.org>
24515
24516 * vc/vc-bzr.el (vc-bzr-print-log):
24517 * vc/vc-hg.el (vc-hg-print-log):
24518 * vc/vc-svn.el (vc-svn-print-log):
24519 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24520
24521 * vc/vc-bzr.el (vc-bzr-print-log):
24522 * vc/vc-cvs.el (vc-cvs-print-log):
24523 * vc/vc-git.el (vc-git-print-log):
24524 * vc/vc-hg.el (vc-hg-print-log):
24525 * vc/vc-mtn.el (vc-mtn-print-log):
24526 * vc/vc-rcs.el (vc-rcs-print-log):
24527 * vc/vc-sccs.el (vc-sccs-print-log):
24528 * vc/vc-svn.el (vc-svn-print-log):
24529 * vc/vc.el (vc-print-log-internal): Doc fixes.
24530
24531 2013-04-23 Glenn Morris <rgm@gnu.org>
24532
24533 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24534 Remove venerable code attempting to avoid substitute-command-keys.
24535
24536 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24537
24538 * textmodes/reftex-vars.el (reftex-label-regexps):
24539 Call `reftex-compile-variables' after changes to this variable.
24540
24541 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24542
24543 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24544 Use lexical-binding.
24545 (jit-lock-force-redisplay): Use markers, check buffer's continued
24546 existence and beware narrowed buffers.
24547 (jit-lock-fontify-now): Adjust call accordingly.
24548
24549 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24550
24551 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24552 to avoid misleading the user.
24553
24554 2013-04-22 Leo Liu <sdl.web@gmail.com>
24555
24556 * info-look.el: Prefer latex2e.info. (Bug#14240)
24557
24558 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24559
24560 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24561
24562 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24563 * net/tramp.el (tramp-call-process): ... here.
24564 (tramp-set-completion-function, tramp-parse-putty):
24565 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24566 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24567 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24568 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24569 (tramp-call-local-coding-command): Use `tramp-call-process'
24570 instead of `tramp-compat-call-process'.
24571
24572 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24573 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24574 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24575 (tramp-find-inline-compress): Improve traces.
24576 (tramp-maybe-send-script): Check for Perl binary.
24577 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24578
24579 2013-04-22 Daiki Ueno <ueno@gnu.org>
24580
24581 * epg.el (epg-context-pinentry-mode): New function.
24582 (epg-context-set-pinentry-mode): New function.
24583 (epg--start): Pass --pinentry-mode option to gpg command.
24584
24585 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24586
24587 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24588 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24589 `completion-at-point'. (Bug#13774)
24590
24591 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24592 default key binding for `describe-distribution' has been moved to
24593 `C-h C-o'. (Bug#13970)
24594
24595 2013-04-21 Glenn Morris <rgm@gnu.org>
24596
24597 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24598 Add doc strings.
24599 (vc-print-log): Clarify interactive prompt.
24600
24601 2013-04-20 Glenn Morris <rgm@gnu.org>
24602
24603 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24604 No longer include timestamp etc information.
24605
24606 2013-04-20 Roland Winkler <winkler@gnu.org>
24607
24608 * faces.el (read-face-name): Bug fix, return just one face if arg
24609 multiple is nil. (Bug#14209)
24610
24611 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24612
24613 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24614 (remove-function): Autoload.
24615
24616 * comint.el (comint-redirect-original-filter-function): Remove.
24617 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24618 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24619 (vc-cvs-annotate-command):
24620 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24621 * progmodes/prolog.el (prolog-consult-compile):
24622 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24623 Use add/remove-function instead.
24624 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24625 (gud-tooltip-process-output, gud-tooltip-tips):
24626 Use add/remove-function instead.
24627 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24628 (scheme-interaction-mode, exit-scheme-interaction-mode):
24629 Use add/remove-function instead.
24630
24631 * vc/vc-dispatcher.el: Use lexical-binding.
24632 (vc--process-sentinel): Rename from vc-process-sentinel.
24633 Change last arg to be the code to run. Don't use vc-previous-sentinel
24634 and vc-sentinel-commands any more.
24635 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24636 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24637
24638 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24639
24640 * progmodes/sh-script.el (sh-imenu-generic-expression):
24641 Handle function names with a single character. (Bug#14111)
24642
24643 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24644
24645 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24646 for subroutines defined in an eval (bug#14182).
24647
24648 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24649
24650 * bookmark.el (bookmark-completing-read): Improve handling of empty
24651 string (bug#14176).
24652
24653 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24654
24655 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24656
24657 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24658
24659 New faster Imenu implementation (bug#14058).
24660 * progmodes/python.el (python-imenu-prev-index-position)
24661 (python-imenu-format-item-label-function)
24662 (python-imenu-format-parent-item-label-function)
24663 (python-imenu-format-parent-item-jump-label-function):
24664 New vars.
24665 (python-imenu-format-item-label)
24666 (python-imenu-format-parent-item-label)
24667 (python-imenu-format-parent-item-jump-label)
24668 (python-imenu--put-parent, python-imenu--build-tree)
24669 (python-imenu-create-index, python-imenu-create-flat-index)
24670 (python-util-popn): New functions.
24671 (python-mode): Set imenu-create-index-function to
24672 python-imenu-create-index.
24673
24674 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24675
24676 * winner.el (winner-active-region): Use region-active-p, activate-mark
24677 and deactivate-mark (bug#14225).
24678
24679 * simple.el (deactivate-mark): Don't inline it.
24680
24681 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
24682
24683 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24684
24685 2013-04-18 Tassilo Horn <tsdh@gnu.org>
24686
24687 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24688 file extensions from the archive-mode entry in order to prefer
24689 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24690
24691 2013-04-18 Leo Liu <sdl.web@gmail.com>
24692
24693 * bindings.el (help-event-list): Add ?\?.
24694
24695 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24696
24697 * subr.el (with-wrapper-hook): Declare obsolete.
24698 * simple.el (filter-buffer-substring-function): New hook.
24699 (filter-buffer-substring): Use it.
24700 (filter-buffer-substring-functions): Mark obsolete.
24701 * minibuffer.el (completion-in-region-function): New hook.
24702 (completion-in-region): Use it.
24703 (completion-in-region-functions): Mark obsolete.
24704 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24705 * abbrev.el (abbrev-expand-function): New hook.
24706 (expand-abbrev): Use it.
24707 (abbrev-expand-functions): Mark obsolete.
24708 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
24709 and :filter-return.
24710
24711 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24712
24713 * progmodes/python.el (python-nav--syntactically): Fix cornercases
24714 and do not care about match data.
24715
24716 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24717
24718 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
24719 completion tables when completing error conditions and
24720 `declare' arguments.
24721 (lisp-complete-symbol, field-complete): Mark as obsolete.
24722 (check-parens): Unmatched parens are user errors.
24723 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
24724
24725 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
24726
24727 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
24728 command changed buffer (ie. `flyspell-pre-buffer' is not current
24729 buffer), which prevents making decisions based on invalid value of
24730 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
24731 cause an error when `flyspell-pre-point' was nil after switching
24732 buffers.
24733 (flyspell-post-command-hook): No longer needs to change buffers when
24734 checking pre-word. While at it remove unnecessary progn.
24735
24736 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
24737
24738 * textmodes/ispell.el (ispell-add-per-file-word-list):
24739 Fix `flyspell-correct-word-before-point' error when accepting
24740 words and `coment-padding' is an integer by using
24741 `comment-normalize-vars' (Bug #14214).
24742
24743 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24744
24745 New defun movement commands.
24746 * progmodes/python.el (python-nav--syntactically)
24747 (python-nav--forward-defun, python-nav-backward-defun)
24748 (python-nav-forward-defun): New functions.
24749
24750 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24751
24752 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
24753 (python-syntax-context): Use named compiler-macro for backwards
24754 compatibility with Emacs 24.x.
24755
24756 2013-04-17 Leo Liu <sdl.web@gmail.com>
24757
24758 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
24759 octave-hide-process-buffer.
24760
24761 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24762
24763 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
24764 (bug#14216).
24765
24766 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
24767
24768 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
24769 Fix adjustment of offset when receiving incomplete responses from GDB
24770 (bug#14129).
24771
24772 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24773
24774 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
24775 python-mode-abbrev-table.
24776 (python-skeleton-define): Adjust accordingly.
24777 (python-mode-abbrev-table): New table that inherits from it so that
24778 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
24779
24780 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
24781 (abbrev-symbol): Use it.
24782 (abbrev--before-point): Use it since we already handle inheritance.
24783
24784 2013-04-16 Leo Liu <sdl.web@gmail.com>
24785
24786 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
24787 binding to info-lookup-symbol.
24788
24789 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
24790
24791 * minibuffer.el (completion--twq-all):
24792 * term/ns-win.el (ns-initialize-window-system):
24793 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
24794
24795 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24796
24797 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
24798 global bindings.
24799
24800 * doc-view.el (doc-view-start-process): Handle url-handler directories.
24801
24802 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
24803
24804 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
24805 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
24806 to nil.
24807 (ruby-end-of-defun): Remove the unused arg, change the docstring
24808 to reflect that this function is only used as the value of
24809 `end-of-defun-function'.
24810 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
24811 to reflect an earlier change that beginning/end-of-defun functions
24812 jump between methods in a class definition, as well as top-level
24813 functions.
24814
24815 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24816
24817 * minibuffer.el (minibuffer-complete): Don't just scroll
24818 a *Completions* that's been iconified.
24819 (minibuffer-force-complete): Make sure repetitions do cycle when going
24820 through completion-in-region -> minibuffer-complete.
24821
24822 2013-04-15 Alan Mackenzie <acm@muc.de>
24823
24824 Correct the placement of c-cpp-delimiters when there're #s not at
24825 col 0.
24826
24827 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
24828 place a submatch around the #.
24829 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
24830 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
24831 on the #, not BOL.
24832
24833 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24834
24835 * emacs-lisp/nadvice.el: Properly test names when adding advice.
24836 (advice--member-p): New arg `name'.
24837 (advice--add-function, advice-member-p): Use it (bug#14202).
24838
24839 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
24840
24841 Reformulate java imenu-generic-expression.
24842 The old expression contained ill formed regexps.
24843
24844 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
24845 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
24846 (cc-imenu-java-method-arg-regexp): New defconsts.
24847 (cc-imenu-java-build-type-args-regex): New defun.
24848 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
24849 handling of spaces in the regexp.
24850
24851 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24852
24853 * textmodes/ispell.el (ispell-command-loop): Remove
24854 flyspell highlight of a word when ispell accepts it (bug #14178).
24855
24856 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
24857
24858 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
24859 uses code from the previous `ange-ftp-run-real-handler'.
24860 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
24861 only in case that function exist. This is needed for proper
24862 unloading of Tramp.
24863
24864 2013-04-15 Tassilo Horn <tsdh@gnu.org>
24865
24866 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
24867
24868 * textmodes/reftex.el (reftex-compile-variables): Use it.
24869
24870 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24871
24872 * files.el (normal-mode): Only use default major-mode if no other mode
24873 was specified.
24874
24875 * emacs-lisp/trace.el (trace-values): New function.
24876
24877 * files.el: Allow : in local variables (bug#14089).
24878 (hack-local-variable-regexp): New var.
24879 (hack-local-variables-prop-line, hack-local-variables): Use it.
24880
24881 2013-04-13 Roland Winkler <winkler@gnu.org>
24882
24883 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
24884 data before it gets modified by bibtex-beginning-of-entry.
24885
24886 2013-04-13 Roland Winkler <winkler@gnu.org>
24887
24888 * textmodes/bibtex.el (bibtex-url): Doc fix.
24889
24890 2013-04-13 Roland Winkler <winkler@gnu.org>
24891
24892 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
24893 does not visit a BibTeX file, exclude it from the list of buffers
24894 returned by bibtex-initialize.
24895
24896 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
24897
24898 * window.el (split-window): Remove interactive form, since as a
24899 command this function is a special case of split-window-below.
24900 Correct doc string.
24901
24902 2013-04-12 Roland Winkler <winkler@gnu.org>
24903
24904 * faces.el (read-face-name): Do not override value of arg default.
24905 Allow single faces and strings as default values. Remove those
24906 elements from return value that are not faces.
24907 (describe-face): Simplify.
24908 (face-at-point): New optional args thing and multiple so that this
24909 function can provide the same functionality previously provided by
24910 read-face-name.
24911 (make-face-bold, make-face-unbold, make-face-italic)
24912 (make-face-unitalic, make-face-bold-italic, invert-face)
24913 (modify-face, read-face-and-attribute): Use face-at-point.
24914
24915 * cus-edit.el (customize-face, customize-face-other-window)
24916 * cus-theme.el (custom-theme-add-face)
24917 * face-remap.el (buffer-face-set)
24918 * facemenu.el (facemenu-set-face): Use face-at-point.
24919
24920 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
24921
24922 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
24923
24924 2013-04-10 Tassilo Horn <tsdh@gnu.org>
24925
24926 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
24927 off leading { and trailing } from field values.
24928
24929 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
24930
24931 * emacs-lisp/timer.el (timer--check): New function.
24932 (timer--time, timer-set-function, timer-event-handler): Use it.
24933 (timer-set-idle-time): Simplify.
24934 (timer--activate): CSE.
24935 (timer-event-handler): Give more info in error message.
24936 (internal-timer-start-idle): New function, moved from C.
24937
24938 * mpc.el (mpc-proc): Add `restart' argument.
24939 (mpc-proc-cmd): Use it.
24940 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
24941 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
24942 less often.
24943
24944 2013-04-10 Masatake YAMATO <yamato@redhat.com>
24945
24946 * progmodes/sh-script.el: Implement `sh-mode' own
24947 `add-log-current-defun-function' (bug#14112).
24948 (sh-current-defun-name): New function.
24949 (sh-mode): Use the function.
24950
24951 2013-04-09 Bastien Guerry <bzg@gnu.org>
24952
24953 * simple.el (choose-completion-string): Fix docstring (bug#14163).
24954
24955 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
24956
24957 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
24958
24959 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
24960 timer (bug#14156).
24961
24962 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
24963
24964 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
24965 declaration.
24966
24967 2013-04-07 Leo Liu <sdl.web@gmail.com>
24968
24969 * pcmpl-x.el: New file.
24970
24971 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
24972
24973 Do not set x-display-name until X connection is established.
24974 This is needed to prevent from weird situation described at
24975 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
24976 * frame.el (make-frame): Set x-display-name after call to
24977 window system initialization function, not before.
24978 * term/x-win.el (x-initialize-window-system): Add optional
24979 display argument and use it.
24980 * term/w32-win.el (w32-initialize-window-system):
24981 * term/ns-win.el (ns-initialize-window-system):
24982 * term/pc-win.el (msdos-initialize-window-system):
24983 Add compatible optional display argument.
24984
24985 2013-04-06 Eli Zaretskii <eliz@gnu.org>
24986
24987 * files.el (normal-backup-enable-predicate): On MS-Windows and
24988 MS-DOS compare truenames of temporary-file-directory and of the
24989 file, so that 8+3 aliases (usually found in $TEMP on Windows)
24990 don't fail comparison by compare-strings. Also, compare file
24991 names case-insensitively on MS-Windows and MS-DOS.
24992
24993 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24994
24995 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
24996 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
24997
24998 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
24999
25000 * whitespace.el (whitespace-color-on, whitespace-color-off):
25001 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25002
25003 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25004
25005 * ispell.el (ispell-set-spellchecker-params):
25006 Really set `ispell-args' for all equivs.
25007
25008 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25009
25010 * ido.el (ido-completions): Use extra elements of ido-decorations
25011 (bug#14143).
25012 (ido-decorations): Update docstring.
25013
25014 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25015
25016 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25017 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25018 nil during initialization, in order not to miss changes since the
25019 file was opened. (Bug#14140)
25020
25021 2013-04-05 Leo Liu <sdl.web@gmail.com>
25022
25023 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25024
25025 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25026
25027 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25028
25029 2013-04-04 Glenn Morris <rgm@gnu.org>
25030
25031 * electric.el (electric-pair-inhibit-predicate): Add :version.
25032
25033 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25034
25035 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25036 when a package is required several times (bug#14082).
25037
25038 2013-04-04 Roland Winkler <winkler@gnu.org>
25039
25040 * faces.el (read-face-name): Behave as promised by the docstring.
25041 Assume that arg default is a list of faces.
25042 (describe-face): Call read-face-name with list of default faces.
25043
25044 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25045
25046 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25047 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25048 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25049 the header.
25050 (bookmark-exit-hook-internal): Save even if list is empty.
25051
25052 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25053
25054 * emacs-lisp/package.el (package-pinned-packages): New var.
25055 (package--add-to-archive-contents): Obey it (bug#14118).
25056
25057 2013-04-03 Alan Mackenzie <acm@muc.de>
25058
25059 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25060 Also adapt to the new values of element 7 of a parse state.
25061
25062 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25063 parameter `not-in-delimiter'. Handle being inside comment opener.
25064 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25065 character in case we're typing a '*' after a '/'.
25066 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25067 instead by passing the parameter to c-state-pp-to-literal.
25068
25069 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25070 for elt. 7 of a parse state.
25071
25072 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25073
25074 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25075 * international/latin1-disp.el, international/mule-util.el:
25076 * language/cyril-util.el, language/european.el, language/ind-util.el:
25077 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25078 * language/tibetan.el, language/viet-util.el:
25079 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25080
25081 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25082
25083 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25084 (electric-pair-post-self-insert-function): Use it.
25085 (electric-pair-default-inhibit): New function, extracted from
25086 electric-pair-post-self-insert-function.
25087
25088 2013-03-31 Roland Winkler <winkler@gnu.org>
25089
25090 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25091
25092 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25093
25094 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25095
25096 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25097
25098 Un-indent after "pass" and "return" statements (Bug#13888)
25099 * progmodes/python.el (python-indent-block-enders): New var.
25100 (python-indent-calculate-indentation): Use it.
25101
25102 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25103
25104 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25105 defun. Defining it as defalias could introduce too eager
25106 byte-compiler optimization. (Bug#14030)
25107
25108 2013-03-30 Chong Yidong <cyd@gnu.org>
25109
25110 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25111
25112 2013-03-30 Leo Liu <sdl.web@gmail.com>
25113
25114 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25115 (kmacro-execute-from-register): Pass the keyboard macro to
25116 kmacro-call-macro or repeating won't work correctly.
25117
25118 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25119
25120 * progmodes/subword.el: Back to using `forward-symbol'.
25121
25122 * subr.el (forward-whitespace, forward-symbol)
25123 (forward-same-syntax): Move from thingatpt.el.
25124
25125 2013-03-29 Leo Liu <sdl.web@gmail.com>
25126
25127 * kmacro.el (kmacro-to-register): New command.
25128 (kmacro-execute-from-register): New function.
25129 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25130
25131 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25132
25133 * mpc.el: Use defvar-local and setq-local.
25134 (mpc--proc-connect): Connection failures are not bugs.
25135 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25136 (mpc-volume-map): Bind to the up-events.
25137
25138 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25139
25140 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25141 instead of `forward-symbol'.
25142
25143 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25144
25145 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25146 (edebug--recursive-edit): Use it.
25147 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25148 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25149
25150 2013-03-28 Leo Liu <sdl.web@gmail.com>
25151
25152 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25153
25154 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25155
25156 * facemenu.el (list-colors-callback): New defvar.
25157 (list-colors-redisplay): New function.
25158 (list-colors-display): Install list-colors-redisplay as the
25159 revert-buffer-function. (Bug#14063)
25160
25161 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25162
25163 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25164 and suffixes don't overlap (bug#14061).
25165
25166 * case-table.el: Use lexical-binding.
25167 (case-table-get-table): New function.
25168 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25169
25170 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25171
25172 * progmodes/subword.el: Add `superword-mode' to do word motion
25173 over symbol_words (parallels and leverages `subword-mode' which
25174 does word motion inside MixedCaseWords).
25175
25176 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25177
25178 * eshell/em-unix.el: Move su and sudo to...
25179 * eshell/em-tramp.el: ...Eshell tramp module.
25180
25181 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25182
25183 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25184 Change return value to be a sexp. Delay `get-buffer' to after
25185 restoring the desktop (bug#13951).
25186
25187 2013-03-26 Leo Liu <sdl.web@gmail.com>
25188
25189 * register.el: Move semantic tag handling back to
25190 cedet/semantic/senator.el. (Bug#14052)
25191
25192 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25193
25194 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25195 into the prompt either (bug#13963).
25196
25197 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25198
25199 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25200 part of "(error-foo)".
25201
25202 2013-03-24 Juri Linkov <juri@jurta.org>
25203
25204 * replace.el (list-matching-lines-prefix-face): New defcustom.
25205 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25206 `occur-engine' if `face-differs-from-default-p' returns t.
25207 (occur-engine): Add `,' inside backquote construct to evaluate
25208 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25209 Pass `prefix-face' to the functions `occur-context-lines' and
25210 `occur-engine-add-prefix'.
25211 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25212 `prefix-face' and propertize the prefix with `prefix-face'.
25213 (Bug#14017)
25214
25215 2013-03-24 Leo Liu <sdl.web@gmail.com>
25216
25217 * nxml/rng-valid.el (rng-validate-while-idle)
25218 (rng-validate-quick-while-idle): Guard against deleted buffer.
25219 (Bug#13999)
25220
25221 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25222 is the last entry in kill-buffer-hook.
25223
25224 * files.el (kill-buffer-hook): Doc fix.
25225
25226 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25227
25228 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25229 Make it safe-local.
25230
25231 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25232
25233 2013-03-23 Leo Liu <sdl.web@gmail.com>
25234
25235 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25236 Remove.
25237
25238 * nxml/rng-valid.el (rng-validate-mode)
25239 (rng-after-change-function, rng-do-some-validation):
25240 * nxml/rng-maint.el (rng-validate-buffer):
25241 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25242 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25243 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25244 (nxml-extend-after-change-region): Use with-silent-modifications.
25245
25246 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25247 timer-idle-list.
25248
25249 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25250 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25251 timer-idle-list. (Bug#13999)
25252
25253 2013-03-23 Juri Linkov <juri@jurta.org>
25254
25255 * info.el (info-index-match): New face.
25256 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25257 main pattern and add text properties with the new face to matches
25258 in index entries relative to the beginning of the index entry.
25259 (Bug#14015)
25260
25261 2013-03-21 Eric Ludlam <zappo@gnu.org>
25262
25263 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25264 Inhibit read only while inserting objects.
25265
25266 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25267
25268 * progmodes/cfengine.el: Update docs to mention
25269 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25270 symbol motion. Remove "_" from the word syntax.
25271
25272 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25273
25274 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25275 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25276
25277 2013-03-20 Juri Linkov <juri@jurta.org>
25278
25279 * info.el (Info-next-reference-or-link)
25280 (Info-prev-reference-or-link): New functions.
25281 (Info-next-reference, Info-prev-reference): Use them.
25282 (Info-try-follow-nearest-node): Handle footnote navigation.
25283 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25284
25285 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25286
25287 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25288 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25289
25290 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25291
25292 Suppress unnecessary non-ASCII chatter during build process.
25293 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25294 (batch-skkdic-convert): Suppress most of the chatter.
25295 It's not needed so much now that machines are faster,
25296 and its non-ASCII component was confusing; see Dmitry Gutov in
25297 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25298
25299 2013-03-20 Leo Liu <sdl.web@gmail.com>
25300
25301 * ido.el (ido-chop): Fix bug#10994.
25302
25303 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25304
25305 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25306 Remove vars.
25307 (whitespace-color-on, whitespace-color-off):
25308 Use `font-lock-fontify-buffer' (Bug#13817).
25309
25310 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25311
25312 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25313 remapping in mode-line.
25314 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25315
25316 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25317
25318 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25319 value for `whitespace-line' face (Bug#13875).
25320 (whitespace-font-lock-keywords): Change description.
25321 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25322 the constructed keywords instead.
25323 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25324
25325 2013-03-19 Leo Liu <sdl.web@gmail.com>
25326
25327 * progmodes/compile.el (compilation-display-error): New command.
25328 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25329 C-o. (Bug#13992)
25330
25331 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25332
25333 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25334
25335 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25336
25337 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25338
25339 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25340
25341 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25342
25343 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25344 * net/tramp-gvfs.el (top):
25345 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25346 (tramp-handle-shell-command): Use it.
25347 (tramp-dissect-file-name): Raise an error when hostname is a
25348 method name, and neither method nor user is specified.
25349
25350 * net/trampver.el: Update release number.
25351
25352 2013-03-18 Leo Liu <sdl.web@gmail.com>
25353
25354 Make sure eldoc can be turned off properly.
25355 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25356 eldoc-mode.
25357 (eldoc-display-message-p): Revert last change.
25358 (eldoc-display-message-no-interference-p)
25359 (eldoc-print-current-symbol-info): Tweak.
25360
25361 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25362
25363 * doc-view.el (doc-view-new-window-function): Check the new window
25364 overlay's display property instead the char property of the
25365 buffer's first char. Use `with-selected-window' instead of
25366 `save-window-excursion' with `select-window'.
25367 (doc-view-document->bitmap): Check the current doc-view overlay's
25368 display property instead the char property of the buffer's first char.
25369
25370 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25371
25372 Automate the build of ja-dic.el (Bug#13984).
25373 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25374 from the input, rather than assume that it's been done for us by the
25375 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25376 the current date into a ja-dic.el comment, as that complicates
25377 regression testing.
25378
25379 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25380
25381 * whitespace.el: Fix double evaluation.
25382 (whitespace-space, whitespace-hspace, whitespace-tab)
25383 (whitespace-newline, whitespace-trailing, whitespace-line)
25384 (whitespace-space-before-tab, whitespace-indentation)
25385 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25386 obsolete defvars.
25387 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25388 (whitespace-color-on): Use a single font-lock-add-keywords call.
25389 Fix double-evaluation of face variables.
25390
25391 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25392
25393 * net/tramp-adb.el (tramp-adb-parse-device-names):
25394 Use `start-process' instead of `call-process'. Otherwise, the
25395 function might be blocked under MS Windows. (Bug#13299)
25396
25397 2013-03-17 Leo Liu <sdl.web@gmail.com>
25398
25399 Extend eldoc to display info in the mode-line. (Bug#13978)
25400 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25401 (eldoc-mode-line-string): New variable.
25402 (eldoc-minibuffer-message): New function.
25403 (eldoc-message-function): New variable.
25404 (eldoc-message): Use it.
25405 (eldoc-display-message-p)
25406 (eldoc-display-message-no-interference-p):
25407 Support eldoc-post-insert-mode.
25408
25409 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25410 (eval-expression): Run it.
25411
25412 2013-03-17 Roland Winkler <winkler@gnu.org>
25413
25414 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25415 strings in the list of return values.
25416
25417 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25418
25419 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25420 radix before checking for HMS forms.
25421
25422 2013-03-16 Leo Liu <sdl.web@gmail.com>
25423
25424 * progmodes/scheme.el: Add indentation and font-locking for λ.
25425 (Bug#13975)
25426
25427 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25428
25429 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25430 token before point (bug#13942).
25431
25432 2013-03-16 Leo Liu <sdl.web@gmail.com>
25433
25434 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25435
25436 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25437
25438 * startup.el (command-line-normalize-file-name): Fix handling of
25439 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25440 <xfq.free@gmail.com> in
25441 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25442
25443 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25444
25445 Sync with Tramp 2.2.7.
25446
25447 * net/trampver.el: Update release number.
25448
25449 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25450
25451 * doc-view.el: Fix bug#13887.
25452 (doc-view-insert-image): Don't modify overlay associated to
25453 non-live windows, and implement horizontal centering of image in
25454 case it's smaller than the window.
25455 (doc-view-new-window-function): Force redisplay of new windows on
25456 doc-view buffers.
25457
25458 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25459
25460 * saveplace.el (save-place-alist-to-file): Don't sort
25461 `save-place-alist', just pretty-print it (bug#13882).
25462
25463 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25464
25465 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25466 Check whether `default-file-name-coding-system' is bound.
25467 It isn't in XEmacs.
25468
25469 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25470
25471 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25472 backquotes for `obsolete' (bug#13929).
25473
25474 * international/mule.el (find-auto-coding): Include file name in
25475 obsolescence warning (bug#13922).
25476
25477 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25478
25479 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25480 for CFEngine 3-specific indentation.
25481 (cfengine3-indent-line): Use it. Fix up category regex.
25482 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25483
25484 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25485
25486 * type-break.el (type-break-file-name):
25487 * textmodes/remember.el (remember-data-file):
25488 * strokes.el (strokes-file):
25489 * shadowfile.el (shadow-initialize):
25490 * saveplace.el (save-place-file):
25491 * ps-bdf.el (bdf-cache-file):
25492 * progmodes/idlwave.el (idlwave-config-directory):
25493 * net/quickurl.el (quickurl-url-file):
25494 * international/kkc.el (kkc-init-file-name):
25495 * ido.el (ido-save-directory-list-file):
25496 * emulation/viper.el (viper-custom-file-name):
25497 * emulation/vip.el (vip-startup-file):
25498 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25499 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25500
25501 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25502
25503 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25504 * language/thai-word.el: Switch to UTF-8.
25505
25506 See ChangeLog.16 for earlier changes.
25507
25508 ;; Local Variables:
25509 ;; coding: utf-8
25510 ;; End:
25511
25512 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25513
25514 This file is part of GNU Emacs.
25515
25516 GNU Emacs is free software: you can redistribute it and/or modify
25517 it under the terms of the GNU General Public License as published by
25518 the Free Software Foundation, either version 3 of the License, or
25519 (at your option) any later version.
25520
25521 GNU Emacs is distributed in the hope that it will be useful,
25522 but WITHOUT ANY WARRANTY; without even the implied warranty of
25523 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25524 GNU General Public License for more details.
25525
25526 You should have received a copy of the GNU General Public License
25527 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.