]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* bytecomp.el (byte-compile-report-error): Allow the argument to be a string.
[gnu-emacs] / lisp / ChangeLog
1 2014-11-08 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/bytecomp.el (byte-compile-report-error):
4 Allow the argument to be a string. Due to the vague doc,
5 it was already being used this way.
6
7 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
8
9 * net/tramp.el (tramp-check-cached-permissions): Include hop in
10 the constructed Tramp file name. (Bug#18943)
11
12 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
15 (bug#18952).
16 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
17 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
18
19 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
20
21 * files.el (file-name-non-special): Wrap the call of
22 `insert-file-contents' by `unwind-protect', in order to set the
23 buffer's file name anyway. (Bug#18891)
24
25 2014-11-07 Daiki Ueno <ueno@gnu.org>
26
27 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
28 (bug#18979). Reported by Hideki Saito.
29
30 2014-10-18 Alan Mackenzie <acm@muc.de>
31
32 Check that a "macro" found near point-min isn't a ## operator.
33 Fixes bug #18749. Backported from trunk, 2014-11-05.
34 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
35 (c-beginning-of-macro): Use the above new function.
36
37 2014-11-05 Alan Mackenzie <acm@muc.de>
38
39 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
40 * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
41 "(point-max)" as bound to c-font-lock-declarators, not "limit", as
42 the buffer is sometimes narrowed to less than "limit" (e.g., in
43 the presence of macros).
44
45 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
46
47 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
48 only when message appeared in minibuffer. (Bug#18891)
49
50 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
51 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
52 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
53 case of errors.
54
55 2014-11-04 Eli Zaretskii <eliz@gnu.org>
56
57 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
58 returned by load-average.
59
60 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
61
62 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
63 a local copy; setting `inhibit-file-name-handlers' proper might be
64 more performant. (Bug#18751)
65
66 2014-11-04 Glenn Morris <rgm@gnu.org>
67
68 * mail/emacsbug.el (report-emacs-bug): No longer include
69 recent-keys in the report. (Bug#18900)
70
71 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
72
73 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
74 local copy of FILENAME, when it is remote. (Bug#18751)
75
76 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
77
78 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
79 an error when the command fails; the return code must indicate.
80 (tramp-adb-send-command-and-check): Fix docstring.
81
82 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
83
84 * net/tramp-cache.el (tramp-get-file-property)
85 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
86 and `tramp-cache-set-count-*' are bound. Otherwise, there might
87 be compiler warnings.
88
89 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
90 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
91
92 2014-11-01 Eli Zaretskii <eliz@gnu.org>
93
94 * progmodes/compile.el (compilation-mode): Turn off deferred
95 fontifications locally. (Bug#18856)
96
97 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
98
99 * net/tramp-sh.el (tramp-send-command): Fix the case where the
100 remote-echo connection property is non-nil (bug#18858).
101
102 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
103
104 Backport Tramp changes from trunk.
105
106 * net/tramp.el (tramp-methods): Tweak docstring.
107 (tramp-file-name-handler): Apply `cons' where appropriate.
108 (tramp-handle-file-accessible-directory-p): Check for
109 `file-readable-p' instead of `file-executable-p'.
110 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
111 (tramp-handle-unhandled-file-name-directory): Return "/".
112 (tramp-check-cached-permissions):
113 Use `tramp-compat-file-attributes'.
114 (tramp-call-process): Add new argument VEC. Adapt callees in all
115 tramp*.el files.
116
117 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
118 (tramp-adb-handle-write-region): Improve messages.
119 (tramp-adb-maybe-open-connection): Don't set
120 `tramp-current-*' variables.
121
122 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
123 Suppress debug messages.
124
125 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
126 (tramp-ftp-file-name-handler):
127
128 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
129 (tramp-gvfs-methods-mounttracker)
130 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
131 during initialization. (Bug#18774)
132 (tramp-gvfs-handle-delete-file): Flush file properties, not
133 directory properties.
134 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
135 reading "unix::mode".
136 (tramp-gvfs-handle-file-name-all-completions):
137 Use "-h" option for "gvfs-ls".
138 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
139 `user' and `localname' could be nil.
140 (tramp-gvfs-send-command): Simplify traces.
141
142 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
143 (vc-git-program, vc-hg-program): Declare.
144 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
145 (tramp-methods) <nc>: Add new method.
146 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
147 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
148 `tramp-login-args'.
149 (tramp-default-user-alist): Add "nc".
150 (top): Remove completion function for "sftp". Add completion
151 functions for "nc" and "psftp".
152 (tramp-sh-handle-set-visited-file-modtime):
153 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
154 (tramp-do-copy-or-rename-file-out-of-band):
155 Use cached "remote-copy-args" value, if available. (Bug#18199)
156 Tweak docstring. Implement support for "nc" method.
157 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
158 (tramp-remote-coding-commands, tramp-call-local-coding-command):
159 Tweak docstring.
160 (tramp-sh-handle-start-file-process): Expand `default-directory'.
161 (tramp-sh-handle-write-region): Tweak error message.
162 (tramp-sh-handle-vc-registered): Remove backends when the remote
163 binary does not exist.
164 (tramp-open-connection-setup-interactive-shell):
165 Prefer utf-8 coding. (Bug#17859)
166 (tramp-find-inline-encoding): Do not raise an error.
167 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
168 the "nc" case. Quote result also locally.
169 (tramp-get-remote-id): Check also for "gid".
170 (tramp-get-remote-python):
171
172 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
173 (tramp-smb-handle-set-file-acl): Use `start-process'.
174 (tramp-smb-handle-insert-directory): Use progress reporter.
175 (tramp-smb-handle-rename-file): Flush also file properties of
176 FILENAME.
177
178 * net/trampver.el: Update release number.
179
180 2014-11-01 Reuben Thomas <rrt@sc3d.org>
181
182 * net/tramp.el (tramp-handle-file-symlink-p):
183 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
184 about VMS, which we no longer support.
185
186 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
189 the global vc-handled-backends (bug#18535).
190
191 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
192 Michael Albinus <michael.albinus@gmx.de>
193
194 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
195 Reduce the amount of set environment variable commands.
196
197 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
198
199 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
200 current-time.
201
202 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
203
204 * net/tramp-sh.el (tramp-get-remote-python): Also search for
205 executables named "python2" or "python3".
206 (tramp-get-remote-uid-with-python): Use parentheses around
207 arguments to `print' to make it compatible with Python 3.
208 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
209
210 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * simple.el (newline): Add assertions to try and help catch bug#18913.
213
214 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
215 (bug#18886).
216 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
217
218 2014-10-31 Eli Zaretskii <eliz@gnu.org>
219
220 * Makefile.in (repo-update): Fix a typo and slightly reword
221 commentary.
222
223 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
224
225 * Makefile.in: Change some production names so they're neutral
226 about the repository type.
227
228 2014-10-30 Kim F. Storm <storm@cua.dk>
229
230 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
231 * delsel.el (delete-selection-save-to-register)
232 (delsel--replace-text-or-position): New vars.
233 (delete-active-region): Use them.
234 (delete-selection-repeat-replace-region): New command, moved from
235 cua-base.el.
236 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
237 (cua-repeat-replace-region): Move command to delsel.el.
238 (cua--init-keymaps): Update binding accordingly.
239 (cua-mode): Set delete-selection-save-to-register.
240
241 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
244 (c-lang-defconst):
245 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
246
247 2014-10-29 Eli Zaretskii <eliz@gnu.org>
248
249 * progmodes/compile.el (compilation-start):
250 If compilation-scroll-output is non-nil, don't force window-start of
251 the compilation buffer to be at beginning of buffer. (Bug#18874)
252
253 2014-10-23 Tassilo Horn <tsdh@gnu.org>
254
255 * doc-view.el (doc-view-open-text): View the document's plain text
256 in the current buffer instead of a new one.
257 (doc-view-toggle-display): Handle the case where the current
258 buffer contains the plain text contents of the document.
259 (doc-view-initiate-display): Don't switch to fallback mode if the
260 user wants to view the doc's plain text. [Backport]
261
262 2014-10-23 Eli Zaretskii <eliz@gnu.org>
263
264 * startup.el (fancy-about-text): Read the entire tutorial, not
265 just its first 256 bytes. (Bug#18760)
266
267 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
268
269 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
270 * emacs-lisp/cl-extra.el: Add missing provide.
271
272 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
275 all args are copyable (bug#18767).
276 (=, <, >, <=, >=): Re-enable the optimization.
277
278 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
279
280 * vc/vc-hg.el (vc-hg-log-graph): New var.
281 (vc-hg-print-log): Use it.
282 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
283 graph output (bug#17515).
284
285 2014-10-20 Juri Linkov <juri@jurta.org>
286
287 * vc/diff-mode.el (diff-refine-changed): Rename from
288 `diff-refine-change' for consistency with `diff-changed'.
289 (diff-refine-change): Add obsolete face alias. (Bug#10181)
290
291 * vc/smerge-mode.el (smerge-refined-changed): Rename from
292 `smerge-refined-change'.
293 (smerge-refined-change): Add obsolete face alias.
294
295 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * subr.el (call-process-shell-command, process-file-shell-command):
298 Make the `args' obsolete (bug#18409).
299 (start-process-shell-command, start-file-process-shell-command):
300 Use `declare'.
301
302 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
303
304 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
305
306 2014-10-20 Glenn Morris <rgm@gnu.org>
307
308 * dired.el (dired-read-regexp): Make obsolete.
309 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
310 (dired-flag-files-regexp):
311 * dired-aux.el (dired-mark-read-regexp):
312 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
313
314 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * progmodes/python.el (inferior-python-mode): Use add-hook.
317
318 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
319
320 2014-10-20 Glenn Morris <rgm@gnu.org>
321
322 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
323 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
324 * emulation/ws-mode.el: Move to obsolete/. [Backport]
325
326 2014-10-20 Glenn Morris <rgm@gnu.org>
327
328 * cus-start.el (history-length): Bump :version. [Backport]
329
330 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * obsolete/cc-compat.el: Make obsolete (bug#18561).
333
334 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
335
336 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
337 case (bug#18767).
338
339 2014-10-20 Glenn Morris <rgm@gnu.org>
340
341 * Version 24.4 released.
342
343 2014-10-15 Alan Mackenzie <acm@muc.de>
344
345 * cus-edit.el (custom-command-apply): Specify the return value in
346 the doc string.
347 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
348 custom-command-apply has returned non-nil.
349
350 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
353 Backported (bug#18688).
354
355 2014-10-14 Eli Zaretskii <eliz@gnu.org>
356
357 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
358 Force bidi-paragraph-direction to 'left-to-right'. This fixes
359 buffer-menu display when the first buffer happens to start with
360 R2L letter.
361
362 2014-10-13 Glenn Morris <rgm@gnu.org>
363
364 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
365 (authors-obsolete-files-regexps): Additions.
366 (authors-no-scan-regexps): New constant.
367 (authors-no-scan-file-p): New function.
368 (authors): Respect authors-no-scan-file-p.
369
370 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
371
372 Fix import completion. (Bug#18582)
373 * progmodes/python.el (python-shell-completion-get-completions):
374 Fix import case regexp.
375
376 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
379 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
380 * progmodes/prolog.el (prolog-electric--underscore): Same.
381
382 2014-10-09 Glenn Morris <rgm@gnu.org>
383
384 * frame.el (display-monitor-attributes-list): Doc tweaks.
385
386 2014-10-08 Eli Zaretskii <eliz@gnu.org>
387
388 * faces.el (display-grayscale-p): Mention in the doc string that
389 the argument can be either a display name or a frame.
390
391 * frame.el (display-pixel-height, display-pixel-width)
392 (display-mm-height, display-mm-width, display-backing-store)
393 (display-save-under, display-planes, display-color-cells)
394 (display-visual-class, display-monitor-attributes-list)
395 (display-screens): Mention in the doc string that the argument can
396 be either a display name or a frame. Improve the docs of the
397 monitor attributes. (Bug#18636)
398
399 2014-10-06 Martin Rudalics <rudalics@gmx.at>
400
401 * term.el (term-window-width): Subtract 1 from the width when
402 any fringe has zero width, not just the right fringe. (Bug#18601)
403
404 2014-10-05 Leo Liu <sdl.web@gmail.com>
405
406 * imenu.el (imenu-default-goto-function): Fix typo.
407
408 2014-10-04 Glenn Morris <rgm@gnu.org>
409
410 * frame.el (frame-monitor-attributes)
411 (display-monitor-attributes-list): Doc fixes.
412
413 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
414
415 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
416 (vc-svn-ignore): Use it. (Bug#18619)
417
418 2014-10-03 Martin Rudalics <rudalics@gmx.at>
419
420 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
421 In doc-string mention need to set `frame-resize-pixelwise'.
422
423 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
426 similarly to Rogers's 2010-06-16 change for the remote case
427 (bug#18605).
428
429 2014-10-01 Glenn Morris <rgm@gnu.org>
430
431 * emacs-lisp/package.el (package-import-keyring):
432 Create gnupg directory private. (Bug#17625#155)
433
434 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * progmodes/python.el (python-shell-completion-get-completions):
437 Use python-shell--prompt-calculated-input-regexp from the
438 process buffer (bug#18582).
439 Don't assume that `line' comes from the process buffer.
440
441 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
442
443 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
444 (bug#18462).
445
446 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * emacs-lisp/package.el (package-check-signature): Default to nil if
449 GPG is not available.
450 (package-refresh-contents): Don't mess with the keyring if we won't
451 check the signatures anyway.
452
453 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
454
455 * window.el (fit-window-to-buffer): When counting buffer width,
456 count the whole visible buffer. Correctly convert the body-height
457 to pixel size for window-text-pixel-size (Bug#18498).
458
459 2014-09-14 Glenn Morris <rgm@gnu.org>
460
461 * image.el (image-multi-frame-p): Fix thinko - do not force
462 a delay if none was specified. (Bug#18334)
463
464 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
465
466 * window.el (fit-window-to-buffer): Doc fix.
467
468 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
469
470 * desktop.el (desktop-create-buffer): Check that buffers are still live
471 before burying them (bug#18373).
472
473 2014-09-09 Glenn Morris <rgm@gnu.org>
474
475 * calendar/diary-lib.el (diary-list-entries):
476 Restore 24.3 display behavior. (Bug#18381)
477
478 2014-09-09 Eli Zaretskii <eliz@gnu.org>
479
480 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
481 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
482 discrepancy between window-pixel-edges and mouse events, and
483 avoids moving mode line up when the mouse click is on the modeline
484 and no drag is attempted.
485
486 2014-09-08 Glenn Morris <rgm@gnu.org>
487
488 * calendar/calendar.el (calendar-basic-setup):
489 Avoid clobbering calendar with diary. (Bug#18381)
490
491 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
492
493 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
494
495 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
496
497 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
498 as well (bug#18400).
499
500 2014-09-04 Eli Zaretskii <eliz@gnu.org>
501
502 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
503
504 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * emacs-lisp/package.el (package-generate-description-file):
507 Properly quote the arguments (bug#18332). Change second arg.
508 (package--alist-to-plist-args): Rename from package--alist-to-plist and
509 quote the elements.
510 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
511 the *-pkg.el file. Adjust to new calling convention of
512 package-generate-description-file.
513
514 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
515 (gud-gdb-completions): Remove obsolete workaround.
516
517 2014-09-02 Eli Zaretskii <eliz@gnu.org>
518
519 * subr.el (posn-col-row): Revert the change from commit
520 2010-11-13T21:07:58Z!eliz@gnu.org, which
521 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
522 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
523 introduced an off-by-one error in the reported row when there is a
524 header line. (Bug#18384)
525
526 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
527
528 * progmodes/python.el (python-indent-post-self-insert-function):
529 Avoid electric colon at beginning-of-defun. (Bug#18228)
530
531 2014-09-01 Glenn Morris <rgm@gnu.org>
532
533 * tutorial.el (tutorial--display-changes):
534 Fix 2014-07-29 change. (Bug#18382)
535
536 2014-08-29 Ken Brown <kbrown@cornell.edu>
537
538 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
539 the Cygwin-w32 build. (Bug#18347)
540
541 2014-08-28 Glenn Morris <rgm@gnu.org>
542
543 * tar-mode.el (tar--extract, tar-extract):
544 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
545
546 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
547
548 * emacs-lisp/authors.el (authors-aliases): Addition.
549
550 * net/tramp-adb.el: Spell author name correctly.
551
552 2014-08-27 João Távora <joaotavora@gmail.com>
553
554 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
555 use url-expand-file-name. (Bug#18310)
556
557 2014-08-25 Glenn Morris <rgm@gnu.org>
558
559 * emulation/cua-rect.el (cua--highlight-rectangle):
560 Avoid error at point-min. (Bug#18309)
561
562 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
565 executable-find (bug#18244).
566
567 * simple.el (self-insert-uses-region-functions): Defvar.
568
569 2014-08-13 Leo Liu <sdl.web@gmail.com>
570
571 * speedbar.el (speedbar-generic-list-tag-p): Allow special
572 elements from imenu.
573
574 2014-08-11 Glenn Morris <rgm@gnu.org>
575
576 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
577
578 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
579 chose coding system for writing before backing up, since it causes
580 a more serious problem than the one it solves. (Closes Bug#18141,
581 reopens Bug#13522.)
582
583 2014-08-10 Martin Rudalics <rudalics@gmx.at>
584
585 * window.el (window-total-size): Make doc-string more
586 self-contained.
587
588 2014-08-09 Martin Rudalics <rudalics@gmx.at>
589
590 * window.el (display-buffer-below-selected): Restore original
591 behavior if buffer is already displayed in the window below the
592 selected one (Bug#18181).
593
594 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
597 event (bug#18212).
598
599 2014-08-08 Eli Zaretskii <eliz@gnu.org>
600
601 * info.el (info): Doc fix.
602
603 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * info.el (Info-mode-map): Override a global down-mouse-2 binding
606 (bug#18212).
607
608 2014-08-05 Eli Zaretskii <eliz@gnu.org>
609
610 * simple.el (default-line-height): A floating-point value of
611 line-spacing means a fraction of the default frame font's height,
612 not of the font currently used by the 'default' face.
613 Truncate the pixel value, like the display engine does.
614 (window-screen-lines): Use window-inside-pixel-edges for
615 determining the window height in pixels. (Bug#18195)
616
617 2014-07-29 Eli Zaretskii <eliz@gnu.org>
618
619 * tutorial.el (tutorial--display-changes): Accept punctuation
620 characters before the key binding. (Bug#18146)
621
622 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
623
624 * doc-view.el (doc-view-open-text): Don't require that the
625 document is saved in a file (e.g., email attachment).
626
627 2014-07-27 Eli Zaretskii <eliz@gnu.org>
628
629 * window.el (window--pixel-to-total): Use FRAME's root window, not
630 that of the selected frame. (Bug#18112, Bug#16674)
631
632 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
633
634 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
635 (Bug#18117)
636
637 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
638
639 * progmodes/python.el (inferior-python-mode): Doc fix.
640
641 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
642
643 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
644 not a character, ignore it instead of raising an error.
645
646 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
647
648 * calendar/todo-mode.el: Fix handling of marked items and make
649 minor code improvements.
650 (todo-edit-item): If there are marked items, ensure user can only
651 invoke editing commands that work with marked items.
652 (todo-edit-item--text): When there are marked items, make it a
653 noop if invoked with point not on an item; otherwise, ensure it
654 applies only to item at point.
655 (todo-item-undone): If there are marked not-done items, return
656 point to its original position before signaling user error.
657 (todo--user-error-if-marked-done-item): New function.
658 (todo-edit-item--header, todo-edit-item--diary-inclusion)
659 (todo-item-done): Use it.
660
661 2014-07-25 Glenn Morris <rgm@gnu.org>
662
663 * files.el (toggle-read-only): Re-add basic doc-string.
664 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
665
666 * progmodes/prolog.el (prolog-mode-keybindings-edit):
667 Replace missing `switch-to-prolog' with `run-prolog'.
668 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
669
670 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
671
672 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
673 of file-wide setting when changing category-wide setting.
674
675 2014-07-21 Glenn Morris <rgm@gnu.org>
676
677 * progmodes/hideif.el (hide-ifdef-mode-submap):
678 Also substitute read-only-mode.
679 * bindings.el (mode-line-toggle-read-only):
680 * bs.el (bs-toggle-readonly):
681 * buff-menu.el (Buffer-menu-toggle-read-only):
682 * dired.el (dired-toggle-read-only):
683 * files.el (view-read-only, find-file-read-only)
684 (find-file-read-only-other-window)
685 (find-file-read-only-other-frame):
686 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
687 Doc fixes re toggle-read-only.
688
689 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
690
691 * progmodes/python.el: Add comment about pipe buffering and
692 solutions for missing/delayed output in inferior Python shells.
693 (Bug#17304)
694
695 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
696
697 * progmodes/python.el (python-mode): Don't set
698 mode-require-final-newline. (Bug#17990)
699
700 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
701
702 Make python.el work with IPython automatically. (Bug#15510)
703 * progmodes/python.el:
704 (python-shell-completion-setup-code): New value supporting iPython.
705 (python-shell-completion-string-code): New value supporting iPython.
706 (python-shell-completion-get-completions): Use them.
707 (python-shell-completion-module-string-code): Make obsolete.
708 (python-shell-prompt-input-regexps)
709 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
710 (python-shell-output-filter): Fix comment typo.
711
712 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
713
714 Fix Python shell prompts detection for remote hosts.
715 * progmodes/python.el (python-shell-prompt-detect):
716 Replace call-process with process-file and make it more robust.
717
718 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
719
720 Autodetect Python shell prompts. (Bug#17370)
721 * progmodes/python.el:
722 (python-shell-interpreter-interactive-arg)
723 (python-shell-prompt-detect-enabled)
724 (python-shell-prompt-detect-failure-warning)
725 (python-shell-prompt-input-regexps)
726 (python-shell-prompt-output-regexps): New vars.
727 (python-shell-prompt-calculated-input-regexp)
728 (python-shell-prompt-calculated-output-regexp): New vars.
729 (python-shell-get-process-name)
730 (python-shell-internal-get-process-name)
731 (python-shell-output-filter)
732 (python-shell-completion-get-completions): Use them.
733 (python-shell-prompt-detect)
734 (python-shell-prompt-validate-regexps): New functions.
735 (python-shell-prompt-set-calculated-regexps): New function.
736 (inferior-python-mode): Use it. Also honor overridden
737 python-shell-interpreter and python-shell-interpreter-args.
738 (python-shell-make-comint): Honor overridden
739 python-shell-interpreter and python-shell-interpreter-args.
740 (python-shell-get-or-create-process): Make it testable by allowing
741 to call run-python non-interactively.
742 (python-util-valid-regexp-p): New function.
743 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
744 (python-shell-prompt-output-regexp)
745 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
746
747 2014-07-16 Glenn Morris <rgm@gnu.org>
748
749 * desktop.el (after-init-hook): Disable startup frame restoration
750 in non-graphical situations. (Bug#17693)
751
752 2014-07-14 Glenn Morris <rgm@gnu.org>
753
754 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
755 if it was "empty", or used for a different set of files. (Bug#17884)
756
757 2014-07-13 Eli Zaretskii <eliz@gnu.org>
758
759 * bindings.el (mode-line-remote): If default-directory is not a
760 string, don't call file-remote-p on it; instead state in the
761 help-echo that it is nil. (Bug#17986)
762
763 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
764
765 Fix bug: C-x v v discarded existing log message (Bug#17884).
766 * vc/vc-dispatcher.el (vc-log-edit):
767 Don't clobber an already-existing log message.
768
769 2014-07-10 Glenn Morris <rgm@gnu.org>
770
771 * vc/log-edit.el (log-edit-changelog-entries):
772 Check for a visited-but-never-saved ChangeLog.
773
774 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
777 a non-existing file (bug#17970).
778
779 * faces.el (face-name): Undo last change.
780 (x-resolve-font-name): Don't call face-name (bug#17956).
781
782 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
783
784 Fix dedenters and electric colon handling. (Bug#15163)
785
786 * progmodes/python.el
787 (python-rx-constituents): Add dedenter and block-ender.
788 (python-indent-dedenters, python-indent-block-enders): Delete.
789 (python-indent-context): Return new case for dedenter-statement.
790 (python-indent-calculate-indentation): Handle new case.
791 (python-indent-calculate-levels): Fix levels calculation for
792 dedenter statements.
793 (python-indent-post-self-insert-function): Fix colon handling.
794 (python-info-dedenter-opening-block-message): New function.
795 (python-indent-line): Use it.
796 (python-info-closing-block)
797 (python-info-closing-block-message): Remove.
798 (python-info-dedenter-opening-block-position)
799 (python-info-dedenter-opening-block-positions)
800 (python-info-dedenter-statement-p): New functions.
801
802 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
805 the middle of a line (bug#17896).
806
807 2014-07-08 Juri Linkov <juri@jurta.org>
808
809 * startup.el (command-line): Append displaying the warning about
810 the errors in the init file to the end of `after-init-hook'.
811 (Bug#17927)
812
813 2014-07-08 Juri Linkov <juri@jurta.org>
814
815 * faces.el (face-name): Return input arg `face' as is
816 when it's not a symbol.
817 (x-resolve-font-name): Don't check if the face is a symbol.
818 (Bug#17956)
819
820 2014-07-08 Juri Linkov <juri@jurta.org>
821
822 * facemenu.el (list-colors-print): In help-echo format use %.2f
823 instead of %d because now HSV values are floating-point components
824 between 0.0 and 1.0.
825
826 2014-07-06 Glenn Morris <rgm@gnu.org>
827
828 * emulation/cua-rect.el (cua--activate-rectangle):
829 Avoid setting cua--rectangle to nil. (Bug#17877)
830
831 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
832
833 * calendar/todo-mode.el: Fix wrong-type-argument error when
834 marking multiple consecutive items.
835 (todo-toggle-mark-item): Don't try to mark the empty lines at the
836 end of the todo and done items sections. Note in doc string that
837 items marked by passing a numeric prefix argument can include the
838 last todo and first done items.
839 (todo-mark-category): Don't try to mark the empty line between the
840 todo and done items sections.
841
842 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
845 proper Lisp quoting (bug#17934).
846
847 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
848 require-final-newline since prog-mode already took care of it (bug#17947).
849
850 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
851
852 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
853 refer to the Todo mode Info manual. Update the comment on
854 requiring cl-lib.
855 (todo-find-filtered-items-file): Add todo-prefix overlays.
856 (todo-filter-items): Reorder a let-bound variable to avoid a
857 wrong-type-argument error on canceling the file choice dialog.
858
859 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * progmodes/octave.el (inferior-octave-mode):
862 Set comint-input-ring-size to a number (bug#17912).
863
864 2014-07-03 Juri Linkov <juri@jurta.org>
865
866 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
867 and `isearch-mode' associated with nil. (Bug#17849)
868
869 2014-07-02 Juri Linkov <juri@jurta.org>
870
871 * desktop.el (desktop-save): Rename arg `auto-save' to
872 `only-if-changed'. Doc fix. (Bug#17873)
873
874 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
877 Use insert-for-yank (bug#17271).
878
879 2014-07-02 Leo Liu <sdl.web@gmail.com>
880
881 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
882 Support lexical-binding.
883
884 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * vc/log-edit.el (log-edit-goto-eoh): New function.
887 (log-edit--match-first-line): Use it (bug#17861).
888
889 2014-07-01 Glenn Morris <rgm@gnu.org>
890
891 * vc/log-edit.el (log-edit-hook): Add missing :version.
892
893 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
894
895 * progmodes/python.el (python-indent-post-self-insert-function):
896 Enhancements to electric indentation behavior inside
897 parens. (Bug#17658)
898
899 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
902 buffer-invisibility-spec (bug#17867).
903
904 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
905
906 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
907 pass "-a".
908
909 2014-06-29 Glenn Morris <rgm@gnu.org>
910
911 * cus-edit.el (help):
912 * finder.el (finder-known-keywords):
913 * help.el (help-for-help-internal):
914 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
915 (ediff-redraw-registry-buffer):
916 * vc/ediff-ptch.el (ediff-patch-file-internal):
917 Doc fixes re "online" help. (Bug#17803)
918
919 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
920 (idlwave-mode): Doc URL update.
921
922 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
923
924 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
925 account for file-wide setting of todo-top-priorities-overrides.
926 Make code a bit cleaner.
927
928 2014-06-27 Leo Liu <sdl.web@gmail.com>
929
930 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
931
932 2014-06-27 Glenn Morris <rgm@gnu.org>
933
934 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
935
936 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
937
938 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
939 category-wide setting of todo-top-priorities-overrides, check for
940 a file-wide setting and fontify accordingly.
941
942 2014-06-26 Glenn Morris <rgm@gnu.org>
943
944 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
945
946 2014-06-26 Daiki Ueno <ueno@gnu.org>
947
948 * emacs-lisp/package.el (package--check-signature):
949 If package-check-signature is allow-unsigned, don't signal error when
950 we can't verify signature because of missing public key
951 (backport for bug#17625).
952
953 2014-06-26 Glenn Morris <rgm@gnu.org>
954
955 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
956 Remove outdated declaration.
957
958 * emacs-lisp/authors.el (authors-valid-file-names)
959 (authors-renamed-files-alist): Additions.
960
961 2014-06-25 Leo Liu <sdl.web@gmail.com>
962
963 * textmodes/picture.el (picture-set-tab-stops):
964 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
965 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
966
967 * progmodes/asm-mode.el (asm-calculate-indentation):
968 Use indent-next-tab-stop.
969
970 * indent.el (indent-accumulate-tab-stops): New function.
971
972 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
975 (package-desc-status): Obey it.
976
977 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
978
979 * calendar/todo-mode.el: Fix two bugs.
980 (todo-insert-item--basic): If user cancels item insertion to
981 another category before setting priority, show original category
982 whether it is in the same or a different file.
983 (todo-set-item-priority): After selecting category, instead of
984 moving point to top, which extends an active region, restore it.
985
986 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * help-fns.el (describe-function-1): Check file-name is a string before
989 calling help-fns--autoloaded-p (bug#17564).
990
991 2014-06-24 Juri Linkov <juri@jurta.org>
992
993 * desktop.el (desktop-auto-save-enable)
994 (desktop-auto-save-disable): New functions.
995 (desktop-save-mode, desktop-auto-save-timeout): Use them.
996 (desktop-read): Disable the autosave before loading the desktop,
997 and enable afterwards. (Bug#17351)
998
999 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 Fix some indentation problem with \; and pipes (bug#17842).
1002 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1003 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1004 New functions.
1005 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1006 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1007 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1008
1009 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1010
1011 * international/fontset.el (script-representative-chars):
1012 Add representative characters for scripts added in Unicode 7.0.
1013 (otf-script-alist): Synchronize with the latest registry of OTF
1014 script tags.
1015
1016 * international/characters.el (char-script-table): Update for
1017 scripts added and codepoint ranges changed in Unicode 7.0.
1018
1019 2014-06-23 Leo Liu <sdl.web@gmail.com>
1020
1021 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1022 tab-stop-list to nil. (Bug#16381)
1023
1024 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1025 (indent-rigidly-left-to-tab-stop)
1026 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1027 (move-to-tab-stop): Change callers.
1028
1029 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1030
1031 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1032 wrt behavior of \n as the first/last element of a skeleton.
1033
1034 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1035
1036 * net/tramp-adb.el (tramp-adb-handle-process-file):
1037 * net/tramp-sh.el (tramp-sh-handle-process-file):
1038 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1039 the output buffer when DISPLAY is non-nil. (Bug#17815)
1040
1041 2014-06-21 Glenn Morris <rgm@gnu.org>
1042
1043 * play/landmark.el (landmark-move-down, landmark-move-up):
1044 Fix 2007-10-20 change - preserve horizontal position.
1045
1046 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1047
1048 Fix completion retrieval parsing (bug#17209).
1049 * progmodes/python.el (python-mode):
1050 (python-util-strip-string): New function.
1051 (python-shell-completion-get-completions): Use it.
1052
1053 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1054
1055 * skeleton.el (skeleton-insert): Fix last change.
1056
1057 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1058
1059 Enhancements for outline integration (bug#17796).
1060 * progmodes/python.el (python-mode): Properly set
1061 outline-heading-end-regexp so that comments after colons for
1062 defuns are supported.
1063
1064 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1065
1066 * skeleton.el (skeleton-insert): Doc fix.
1067
1068 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1071 (smie-config-guess): Use smie-config-local so the rules are obeyed
1072 (bug#17818).
1073
1074 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1075 since it's already done inside the loop (bug#17819).
1076
1077 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1078
1079 * mouse.el (mouse-drag-line): Re-remove code initially removed
1080 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1081 (Bug#17819).
1082
1083 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1086 align with the surrounding parent (bug#17721).
1087
1088 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1089
1090 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1091 locally to nil.
1092 (texinfo-insert-block, texinfo-insert-@end)
1093 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1094 local setting of skeleton-end-newline by adding an explicit \n to
1095 the skeletons where appropriate. (Bug#17801)
1096
1097 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1100 (smie-indent--hanging-p): Use it.
1101 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1102
1103 2014-06-20 Leo Liu <sdl.web@gmail.com>
1104
1105 * simple.el (read-quoted-char): Don't let help chars pop up help
1106 buffer. (Bug#16617)
1107
1108 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1111 for | (bug#17621).
1112
1113 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1116 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1117 burping.
1118
1119 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1120
1121 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1122 and later. (Bug#17790)
1123
1124 2014-06-18 Juri Linkov <juri@jurta.org>
1125
1126 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1127 to `soft'. (Bug#17554)
1128
1129 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1132 (bug#17737).
1133
1134 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1135
1136 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1137 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1138
1139 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1142 `unread-command-events'.
1143
1144 2014-06-14 Glenn Morris <rgm@gnu.org>
1145
1146 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1147 Replace delete-duplicates and mapcan by cl- versions throughout.
1148 And cl-macroexpand-all by macroexpand-all.
1149 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1150
1151 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1152
1153 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1154
1155 2014-06-14 Juri Linkov <juri@jurta.org>
1156
1157 * bindings.el: Put `ascii-character' property on keypad keys
1158 mapped to characters. (Bug#17759)
1159
1160 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1163 bumping forward into a closing paren (bug#17761).
1164
1165 * term/xterm.el (xterm--version-handler): Work around for OSX
1166 Terminal.app (bug#17607).
1167
1168 2014-06-08 Glenn Morris <rgm@gnu.org>
1169
1170 * startup.el (initial-buffer-choice): Doc fix.
1171 Reset :version (adding an option does not merit a :version bump).
1172
1173 * bookmark.el (bookmark-load):
1174 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1175
1176 2014-06-06 Juri Linkov <juri@jurta.org>
1177
1178 * desktop.el: Activate auto-saving on window configuration changes.
1179 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1180 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1181 (desktop-auto-save-set-timer): Change REPEAT arg of
1182 `run-with-idle-timer' from t to nil.
1183 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1184
1185 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1186
1187 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1188 vc-hg-command (bug#17570).
1189
1190 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1193 (bug#17702).
1194
1195 2014-06-06 Glenn Morris <rgm@gnu.org>
1196
1197 * startup.el (window-setup-hook): Doc fix.
1198
1199 2014-06-05 Glenn Morris <rgm@gnu.org>
1200
1201 * emacs-lisp/package.el (package-check-signature)
1202 (package-unsigned-archives): Doc fixes.
1203
1204 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1205
1206 * window.el (display-buffer-use-some-window): Don't make window
1207 used smaller than it was before (Bug#17671).
1208
1209 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1210
1211 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1212 'redisplay' instead of '(sit-for 0)'.
1213
1214 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1217 regexp. (Bug#17653)
1218
1219 2014-06-03 Glenn Morris <rgm@gnu.org>
1220
1221 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1222
1223 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1224
1225 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1226
1227 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1228
1229 * simple.el (keyboard-quit): Force update of mode lines, to remove
1230 the "Def" indicator, if we were defining a macro. (Bug#17615)
1231
1232 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * minibuffer.el (minibuffer-force-complete-and-exit):
1235 Obey minibuffer-default (bug#17545).
1236
1237 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1238 (bug#17619).
1239
1240 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * subr.el (set-transient-map): Don't wait for some "nested"
1243 transient-map to finish if we're only supposed to be active for
1244 the next command (bug#17642).
1245
1246 2014-05-31 Leo Liu <sdl.web@gmail.com>
1247
1248 * emacs-lisp/gv.el (window-buffer, window-display-table)
1249 (window-dedicated-p, window-hscroll, window-point, window-start):
1250 Fix gv-expander. (Bug#17630)
1251
1252 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1255 clicks (bug#17633).
1256
1257 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1258 for the single comma, since ", " is *very* common in normal French text
1259 (bug#17643).
1260
1261 2014-05-30 Glenn Morris <rgm@gnu.org>
1262
1263 * emacs-lisp/package.el (package-check-signature)
1264 (package-unsigned-archives): Fix :version.
1265
1266 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * subr.el (sit-for): Don't run input-methods (bug#15614).
1269
1270 2014-05-28 Glenn Morris <rgm@gnu.org>
1271
1272 * cus-start.el: Fix some :version numbers.
1273
1274 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * simple.el (deactivate-mark): Set mark-active to nil even if
1277 deactivation is done via setting transient-mark-mode to nil,
1278 since one is buffer-local and the other is global.
1279
1280 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1281 there can't be more than 2 arguments (bug#17584).
1282
1283 2014-05-27 Glenn Morris <rgm@gnu.org>
1284
1285 * simple.el (filter-buffer-substring-functions)
1286 (filter-buffer-substring-function, buffer-substring-filters)
1287 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1288
1289 * minibuffer.el (completion-in-region-functions, completion-in-region)
1290 (completion--in-region): Doc fixes.
1291
1292 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1293 (expand-abbrev, abbrev--default-expand): Doc fixes.
1294
1295 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1296
1297 Include sources used to create macuvs.h.
1298 * international/README: Refer to the Unicode Terms of Use rather
1299 than copying it bodily here, as that simplifies maintenance.
1300
1301 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1302
1303 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1304
1305 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1306
1307 * window.el (window--dump-frame): Remove interactive
1308 specification.
1309
1310 2014-05-23 Glenn Morris <rgm@gnu.org>
1311
1312 * hippie-exp.el (he-line-search-regexp):
1313 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1314
1315 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1316
1317 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1318 to avoid errors when trying to create or visit a file foo.todo
1319 located outside to todo-directory, and to allow having such files
1320 without them being tied to Todo mode (bug#17482).
1321 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1322 (todo-archive-done-item, todo-find-filtered-items-file)
1323 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1324 (todo-category-completions, todo-read-category): When visiting a
1325 Todo file, make sure we're in the right mode and the buffer local
1326 variables are set.
1327 (todo-make-categories-list, todo-reset-nondiary-marker)
1328 (todo-reset-done-string, todo-reset-comment-string):
1329 After processing all Todo files, kill the buffers of those files that
1330 weren't being visited before the processing.
1331 (todo-display-as-todo-file, todo-add-to-buffer-list)
1332 (todo-visit-files-commands): Comment out.
1333 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1334 (auto-mode-alist): Remove add-to-list calls making Todo file
1335 extensions unrestrictedly tied to Todo modes.
1336
1337 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1340 (advice-function-member-p): Tell it to check both names and functions
1341 (bug#17531).
1342 (advice--add-function): Adjust call accordingly.
1343
1344 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1345
1346 * calendar/todo-mode.el: Miscellaneous bug fixes.
1347 (todo-delete-file): When deleting an archive but not its todo
1348 file, make sure to update the todo file's category sexp.
1349 (todo-move-category): Keep the moved category's name unless the
1350 file moved to already has a category with that name. If the
1351 numerically last category of the source file was moved, make the
1352 first category current to avoid selecting a nonexisting category.
1353 (todo-merge-category): Fix implementation to make merging to a
1354 category in another file work as documented. Eliminate now
1355 insufficient and unnecessary renaming of archive category, correct
1356 document string accordingly, and clarify it. If the numerically
1357 last category of the source file was merged, make the first
1358 category current to avoid selecting a nonexisting category.
1359 (todo-archive-done-item): When there are marked items and point
1360 happens to be on an unmarked item, ignore the latter. Don't leave
1361 point below last item after archiving marked items.
1362 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1363 from an archive with only one category deletes the archive only
1364 when the category is empty after unarchiving. Make sure the todo
1365 file's category sexp is updated.
1366 (todo-read-file-name): Allow an existing file name even when it is
1367 not required (todo-move-category needs this to work as documented).
1368 (todo-add-file): Call todo-validate-name to reject the name of an
1369 existing todo file (needed due to fix in todo-read-file-name).
1370 (todo-reset-nondiary-marker): Also reset in filtered items files.
1371 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1372 regexp filtered items files.
1373 (todo-reset-highlight-item): Also reset in filtered items files.
1374 Fix incorrect variable reference in document string.
1375
1376 2014-05-22 Glenn Morris <rgm@gnu.org>
1377
1378 * window.el (window--dump-frame): Avoid error in --without-x builds.
1379
1380 2014-05-21 Glenn Morris <rgm@gnu.org>
1381
1382 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1383
1384 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1385
1386 * frame.el (set-frame-font): Doc fix.
1387
1388 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1389
1390 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1391
1392 * emacs-lisp/package.el (package--download-one-archive):
1393 Use `write-region' instead of `save-buffer' to avoid running various
1394 hooks. (Bug#17155)
1395 (describe-package-1): Same. Insert newline at the end of the
1396 buffer if appropriate.
1397
1398 2014-05-20 Juri Linkov <juri@jurta.org>
1399
1400 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1401 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1402 Add more modifiers: meta, control, shift, hyper, super, alt.
1403 (Bug#17439)
1404
1405 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1406 to allow changing its value with `set-variable'.
1407
1408 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1411 #; comments.
1412 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1413 New functions.
1414 (scheme-mode-variables): Set syntax-propertize-function instead of
1415 font-lock-syntactic-face-function.
1416 (scheme-font-lock-syntactic-face-function): Delete.
1417
1418 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1419
1420 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1423 (bug#17392).
1424
1425 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1426
1427 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1428 for a temporary file name.
1429
1430 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1431
1432 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1433
1434 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1435
1436 * net/dbus.el (dbus-init-bus, dbus-call-method)
1437 (dbus-call-method-asynchronously, dbus-send-signal)
1438 (dbus-method-return-internal, dbus-method-error-internal):
1439 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1440
1441 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1442
1443 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1444 methods which do not have a doc string. (Bug#17490)
1445
1446 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1447 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1450 suffix (bug#15419).
1451
1452 2014-05-14 Glenn Morris <rgm@gnu.org>
1453
1454 * vc/emerge.el (emerge-temp-file-prefix):
1455 Make pointless option obsolete.
1456 (emerge-temp-file-mode): Make non-functional option obsolete.
1457
1458 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1459
1460 * net/browse-url.el (browse-url):
1461 Use `unhandled-file-name-directory' when setting `default-directory',
1462 in order to circumvent stalled remote connections. (Bug#17425)
1463
1464 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1467 into autoloading just because of a silly indirection.
1468
1469 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1470
1471 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1472
1473 2014-05-11 Glenn Morris <rgm@gnu.org>
1474
1475 * emacs-lisp/find-gc.el: Move to ../admin.
1476
1477 2014-05-10 Glenn Morris <rgm@gnu.org>
1478
1479 * printing.el (pr-version):
1480 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1481
1482 * net/browse-url.el (browse-url-mosaic):
1483 Create /tmp/Mosaic.PID as a private file.
1484
1485 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1488 (advice--member-p): If name is given, only compare the name.
1489 (advice--remove-function): Don't stop at the first match.
1490 (advice--normalize-place): New function.
1491 (add-function, remove-function): Use it.
1492 (advice--add-function): Pass the name, if any, to
1493 advice--remove-function.
1494
1495 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1496
1497 * electric.el (electric-indent-post-self-insert-function): Don't use
1498 `pos' after modifying the buffer (bug#17449).
1499
1500 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * subr.el (function-put): Add function.
1503
1504 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1505
1506 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1507 Correct argument list to conform to todo-insert-item--basic.
1508
1509 2014-05-09 Glenn Morris <rgm@gnu.org>
1510
1511 * files.el (cd-absolute): Test if directory is accessible
1512 rather than executable. (Bug#17330)
1513
1514 * progmodes/compile.el (recompile):
1515 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1516
1517 2014-05-08 Juri Linkov <juri@jurta.org>
1518
1519 * dired.el (dired-check-switches, dired-switches-recursive-p):
1520 New functions. (Bug#17218)
1521 (dired-switches-escape-p, dired-move-to-end-of-filename):
1522 Use `dired-check-switches'.
1523 (dired-insert-old-subdirs, dired-build-subdir-alist)
1524 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1525
1526 2014-05-08 Glenn Morris <rgm@gnu.org>
1527
1528 * net/browse-url.el (browse-url-mosaic):
1529 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1530 This is CVE-2014-3423.
1531
1532 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1535 (xterm-mouse--read-event-sequence-1000): Return nil if something
1536 looks fishy.
1537 (xterm-mouse-event): Propagate it.
1538 (xterm-mouse-translate-1): Handle it.
1539
1540 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1541
1542 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1543 four slots of the parameter list are filled, make sure to pass it
1544 to the argument list of todo-insert-item--basic.
1545
1546 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1549 Add optional `seen' argument to detect and break infinite loops.
1550
1551 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1552
1553 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1554 (trace-unsafe, trace-use-tree): Make parentheses style be
1555 according to Emacs style.
1556
1557 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1558
1559 * net/tramp-sh.el (tramp-remote-process-environment):
1560 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1561 Add :version entry.
1562 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1563 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1564 extra "PSx=..." commands.
1565 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1566 (Bug#17295)
1567
1568 (tramp-uudecode): Replace the hard-coded temporary file name by a
1569 format specifier.
1570 (tramp-remote-coding-commands): Enhance docstring.
1571 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1572 name. (Bug#17415)
1573 This is CVE-2014-3424.
1574
1575 2014-05-06 Glenn Morris <rgm@gnu.org>
1576
1577 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1578 (find-gc-source-files): Update some names.
1579 (trace-call-tree): Simplify and update.
1580 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1581 This is CVE-2014-3422.
1582
1583 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1584
1585 * minibuffer.el (completion--try-word-completion): Revert fix for
1586 Bug#15980 (bug#17375).
1587
1588 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1589 Always store button numbers in the same way in xterm-mouse-last;
1590 Don't burp is xterm-mouse-last is not set as expected.
1591 Never return negative indices.
1592
1593 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1594
1595 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1596 Backtrack one char if the global/char-literal var matcher hits
1597 inside a string. The next char could be the beginning of an
1598 expression expansion.
1599
1600 2014-05-05 Glenn Morris <rgm@gnu.org>
1601
1602 * help-fns.el (describe-function-1): Test for an autoload before a
1603 macro, since `macrop' works on autoloads. (Bug#17410)
1604
1605 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1608
1609 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1610 Make sure the new point we return is within the new string (bug#17239).
1611
1612 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1613
1614 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1615
1616 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1619 Use nil rather than `default' for the "default" appearance (bug#17388).
1620 * vc/ediff-util.el (ediff-inferior-compare-regions)
1621 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1622 a misleading `default' value when it's really a boolean.
1623 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1624 overlay is not visible.
1625
1626 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1627
1628 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1629 (todo-menu): Uncomment and update.
1630
1631 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1632
1633 * calendar/todo-mode.el: Reimplement item editing to have the same
1634 basic user interface as item insertion, and make small UI and
1635 larger internal improvements to the latter.
1636 (todo-insert-item): Add reference to the Todo mode user manual to
1637 the documentation string.
1638 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1639 adjust all callers. Change signature to combine diary and
1640 nonmarking arguments. Incorporate functionality of deleted item
1641 copying command and add error checking. Remove detailed
1642 descriptions of the arguments from the documentation string, since
1643 this is treated in the Todo mode user manual.
1644 (todo-copy-item, todo-edit-multiline-item)
1645 (todo-edit-done-item-comment, todo-edit-item-header)
1646 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1647 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1648 (todo-edit-item-date-year, todo-edit-item-date-month)
1649 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1650 Remove.
1651 (todo-edit-item): Reimplement as wrapper command for
1652 todo-edit-item--next-key and make it distinguish done and not done
1653 todo items.
1654 (todo-edit-item--text): New function, replacing old command
1655 todo-edit-item and incorporating deleted commands
1656 todo-edit-multiline-item and todo-edit-done-item-comment.
1657 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1658 Use only numeric value of prefix argument. Remove detailed
1659 descriptions of the arguments from the documentation string, since
1660 this is treated in the Todo mode user manual.
1661 (todo-edit-item--diary-inclusion): New function, replacing old
1662 command todo-edit-item-diary-inclusion and incorporating and fixing
1663 functionality of deleted command todo-edit-item-diary-nonmarking,
1664 making sure to remove todo-nondiary-marker when adding
1665 diary-nonmarking-symbol.
1666 (todo-edit-category-diary-inclusion): Make sure to delete
1667 diary-nonmarking-symbol when adding todo-nondiary-marker.
1668 (todo-edit-category-diary-nonmarking): Fix indentation.
1669 (todo-insert-item--parameters): Group diary and nonmarking
1670 parameters together.
1671 (todo-insert-item--apply-args): Adjust to signature of
1672 todo-insert-item--basic and incorporate copy parameter.
1673 Make small code improvements.
1674 (todo-insert-item--next-param): Improve prompt and adjust it to
1675 new parameter grouping. Remove obsolete code.
1676 (todo-edit-item--param-key-alist)
1677 (todo-edit-item--date-param-key-alist)
1678 (todo-edit-done-item--param-key-alist): New defconsts.
1679 (todo-edit-item--prompt): New variable.
1680 (todo-edit-item--next-key): New function.
1681 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1682 Remove bindings of deleted commands.
1683
1684 2014-05-02 Leo Liu <sdl.web@gmail.com>
1685
1686 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1687
1688 2014-05-01 Glenn Morris <rgm@gnu.org>
1689
1690 * allout-widgets.el (allout-widgets-tally)
1691 (allout-decorate-item-guides):
1692 * menu-bar.el (menu-bar-positive-p):
1693 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1694 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1695 * progmodes/js.el (js--inside-param-list-p)
1696 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1697 * progmodes/prolog.el (region-exists-p):
1698 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1699 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1700 Doc fixes (replace `iff').
1701
1702 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1703
1704 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1705
1706 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1707
1708 * dired.el (dired-initial-position-hook, dired-initial-position):
1709 Doc string fixes.
1710
1711 2014-04-29 Glenn Morris <rgm@gnu.org>
1712
1713 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1714
1715 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1716
1717 * faces.el (face-spec-recalc): Apply X resources only after the
1718 defface spec has been applied. Thus, X resources are no longer
1719 overridden by the defface spec which also fixes issues on win32 where
1720 the toolbar coloring was wrong because it is set through X resources
1721 and was (wrongfully) overridden. (Bug#16694)
1722
1723 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * textmodes/rst.el (electric-pair-pairs): Declare.
1726 (rst-mode): Set it (bug#17131).
1727
1728 2014-04-27 Juri Linkov <juri@jurta.org>
1729
1730 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1731 and `print-level' to nil. (Bug#17351)
1732
1733 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1734
1735 * battery.el (battery-update): Handle the case where battery
1736 status is "N/A" (bug#17319).
1737
1738 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1739
1740 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1741 Use equal-including-properties to compare help-echo strings (bug#17331).
1742
1743 2014-04-24 Leo Liu <sdl.web@gmail.com>
1744
1745 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1746 Fix syntax for @. (Bug#17325)
1747
1748 2014-04-24 Daniel Colascione <dancol@dancol.org>
1749
1750 * emacs-lisp/cl.el (gv): Require gv early to break eager
1751 macro-expansion cycles.
1752
1753 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * simple.el (region-active-p): Check there's a mark (bug#17324).
1756
1757 * simple.el (completion-list-mode-map): Use choose-completion for the
1758 mouse binding as well (bug#17302).
1759 (completion-list-mode, completion-setup-function): Adjust docstring and
1760 echo area message accordingly.
1761 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1762 calling convention of choose-completion.
1763 * comint.el (comint-dynamic-list-completions):
1764 * term.el (term-dynamic-list-completions): Accept choose-completion.
1765
1766 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1767 &, |, +, - and * can't be a division (bug#17317).
1768
1769 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1772 features on gnome-terminal (bug#16988).
1773
1774 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1775
1776 * dired.el (dired-insert-set-properties): Do not consider
1777 subdirectory headings and empty lines to be information that
1778 `dired-hide-details-mode' should hide. (Bug#17228)
1779
1780 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1781
1782 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1783 Remove test messages.
1784 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1785 and `target' twice.
1786
1787 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1790 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1791
1792 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1793
1794 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1795
1796 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1797 Set "IFS=" when using read builtin, in order to preserve spaces in
1798 the file name. Add test messages for hunting a bug on hydra.
1799 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1800
1801 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1804 Don't prettify a word within a symbol.
1805
1806 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1807
1808 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1809 possible.
1810
1811 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1814 assignments such as "case=hello" (bug#17297).
1815
1816 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1817
1818 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1819 Do not autoload.
1820 (tramp-file-name-handler, tramp-completion-file-name-handler):
1821 Revert patch from 2014-04-10, it isn't necessary anymore.
1822 (tramp-autoload-file-name-handler)
1823 (tramp-register-autoload-file-name-handlers): New defuns.
1824 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1825 (tramp-register-file-name-handlers): Remove also
1826 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1827 Do not autoload its invocation, but eval it after loading of 'tramp.
1828
1829 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1830
1831 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1832
1833 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1836 was done (bug#17264).
1837 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1838 comment to EOB.
1839
1840 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1841 here-documents (bug#17262).
1842
1843 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1844
1845 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1846 Provide doc strings, as required by snarf-documentation.
1847
1848 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1851 arg of overlays-at. Use `invisible-p'.
1852
1853 * obsolete/lucid.el (extent-at):
1854 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1855 overlays-at.
1856 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1857
1858 2014-04-14 João Távora <joaotavora@gmail.com>
1859
1860 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1861 links. (Bug#17217).
1862
1863 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1864
1865 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1866 Use mapc to loop over a vector. (Bug#17257).
1867
1868 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1869
1870 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1871 patch, there are new problems with file names containing spaces.
1872 Get rid of backticks. (Bug#17238)
1873
1874 2014-04-13 João Távora <joaotavora@gmail.com>
1875
1876 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1877 possible bug.
1878
1879 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1880
1881 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1882 (blink-cursor-mode): Mention customization variables and the
1883 effect of 'blink-cursor-blinks'.
1884
1885 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1886
1887 * simple.el (undo): Prevent insertion of identity mapping into
1888 undo-equiv-table so as undo-only does not inf loop in the presence
1889 of consecutive nils in undo list.
1890
1891 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1892
1893 * faces.el (make-face): Deprecate optional argument as it is no
1894 longer needed/used since the conditional X resources handling
1895 has been pushed down to make-face-x-resource-internal itself.
1896 (make-empty-face): Don't pass optional argument to make-face.
1897
1898 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1899
1900 * international/characters.el <standard-case-table>: Add entries
1901 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1902 Set category of Coptic characters be 'g' (Greek).
1903
1904 2014-04-12 Leo Liu <sdl.web@gmail.com>
1905
1906 * progmodes/octave.el (completion-table-with-cache): Define if not
1907 available.
1908 (octave-goto-function-definition)
1909 (octave-sync-function-file-names)
1910 (octave-find-definition-default-filename): Backquote upattern for
1911 compatibility.
1912
1913 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1914
1915 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1916 name twice due to backticks. (Bug#17238)
1917
1918 2014-04-11 Glenn Morris <rgm@gnu.org>
1919
1920 * term/w32-win.el (x-win-suspend-error):
1921 * term/x-win.el (x-win-suspend-error): Sync docs.
1922
1923 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 Ediff's overlay priorities cause more trouble than they solve.
1926 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1927 (ediff-highest-priority): Remove function (bug#17234).
1928 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1929 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1930 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1931 overlay priorities.
1932
1933 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1934
1935 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1936 entry; use symbol boundaries to avoid mis-matches.
1937
1938 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1939
1940 * net/tramp.el (tramp-file-name-handler)
1941 (tramp-completion-file-name-handler): Avoid recursive loading.
1942
1943 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1944 Quote result also locally.
1945
1946 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1947
1948 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1949 Module methods. (Bug#17216)
1950
1951 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1954 (describe-bindings-internal): Mark obsolete.
1955
1956 2014-04-07 João Távora <joaotavora@gmail.com>
1957
1958 * elec-pair.el:
1959 (electric-pair--syntax-ppss): When inside comments parse from
1960 comment beginning.
1961 (electric-pair--balance-info): Fix typo in comment.
1962 (electric-pair--in-unterminated-string-p): Delete.
1963 (electric-pair--unbalanced-strings-p): New function.
1964 (electric-pair-string-bound-function): New var.
1965 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1966 according to `electric-pair--in-unterminated-string-p'
1967
1968 2014-04-07 João Távora <joaotavora@gmail.com>
1969
1970 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1971 Inhibit quote pairing if point-max is inside an unterminated string.
1972 (electric-pair--looking-at-unterminated-string-p): Delete.
1973 (electric-pair--in-unterminated-string-p): New function.
1974
1975 2014-04-07 Glenn Morris <rgm@gnu.org>
1976
1977 * shell.el (shell-directory-tracker):
1978 Go back to just ignoring failures. (Bug#17159)
1979
1980 2014-04-06 João Távora <joaotavora@gmail.com>
1981
1982 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1983 backspace. (bug#16981)
1984 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1985 (electric-pair-backward-delete-char-untabify): Delete.
1986 (electric-pair-mode-map): Bind backspace to a menu item filtering
1987 a new `electric-pair-delete-pair' command.
1988 (electric-pair-delete-pair): New command.
1989
1990 2014-04-06 João Távora <joaotavora@gmail.com>
1991
1992 * progmodes/python.el (python-electric-pair-string-delimiter):
1993 Fix triple-quoting electricity. (Bug#17192)
1994
1995 2014-04-06 João Távora <joaotavora@gmail.com>
1996
1997 * elec-pair.el (electric-pair-post-self-insert-function):
1998 Don't skip whitespace when `electric-pair-text-pairs' and
1999 `electric-pair-pairs' were used. syntax to
2000 electric-pair--skip-whitespace. (Bug#17183)
2001
2002 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2003
2004 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2005 "<F>". (Bug#17199)
2006
2007 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2010 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2011
2012 2014-04-05 Glenn Morris <rgm@gnu.org>
2013
2014 * help.el (view-lossage): Doc tweak.
2015
2016 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2017
2018 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2019 only when inhibit-x-resources is nil, and do that earlier in the
2020 function. Doc fix. (Bug#16694)
2021 (face-spec-choose): Accept additional optional argument, whose
2022 value is returned if no matching attributes are found.
2023 (face-spec-recalc): Use the new optional argument when calling
2024 face-spec-choose. (Bug#16378)
2025 (make-face-x-resource-internal): Do nothing when
2026 inhibit-x-resources is non-nil. Don't touch the default face if
2027 reversed video is given--as was done in previous versions of Emacs.
2028 (face-set-after-frame-default): Don't call
2029 make-face-x-resource-internal here. (Bug#16434)
2030
2031 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2032
2033 * doc-view.el (doc-view-bookmark-jump):
2034 Use `bookmark-after-jump-hook' to jump to the right page after the
2035 buffer is shown in a window. (bug#16090)
2036
2037 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2038
2039 * international/characters.el (mirroring): Fix last change:
2040 instead of loading uni-mirrored.el explicitly, do that implicitly
2041 by creating the 'mirroring' uniprop table. This avoids announcing
2042 the loading of uni-mirrored.el.
2043
2044 2014-04-04 Glenn Morris <rgm@gnu.org>
2045
2046 * files.el (buffer-stale--default-function)
2047 (buffer-stale-function, revert-buffer--default):
2048 * autorevert.el (auto-revert-buffers): Doc tweaks.
2049
2050 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2051
2052 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2053
2054 2014-04-03 Glenn Morris <rgm@gnu.org>
2055
2056 * files.el (make-backup-file-name-function)
2057 (make-backup-file-name, make-backup-file-name--default-function)
2058 (make-backup-file-name-1, find-backup-file-name)
2059 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2060 (buffer-stale--default-function, buffer-stale-function)
2061 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2062 (revert-buffer, revert-buffer--default)
2063 (revert-buffer-insert-file-contents--default-function):
2064 Doc fixes related to defaults no longer being nil.
2065 (make-backup-file-name-function): Bump :version.
2066 Restore nil as a valid but deprecated custom type.
2067
2068 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2069
2070 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2071 used as a variable (bug#17174).
2072
2073 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * progmodes/perl-mode.el (perl-indent-new-calculate):
2076 Handle forward-sexp failure (bug#16985).
2077 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2078 modifiers introducing expressions (bug#17116).
2079
2080 2014-04-02 Glenn Morris <rgm@gnu.org>
2081
2082 * menu-bar.el (menu-bar-file-menu):
2083 * vc/ediff.el (ediff-current-file):
2084 Update for revert-buffer-function no longer being nil by default.
2085
2086 * simple.el (command-execute): Respect nil disabled-command-function.
2087
2088 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2089
2090 * simple.el (command-execute): Do not execute the command when it
2091 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2092
2093 2014-03-29 Juri Linkov <juri@jurta.org>
2094
2095 * dired-aux.el (dired-compress-file): Don't use string-match-p
2096 because its match data is used afterwards.
2097
2098 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2101 0 like nil.
2102
2103 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2104
2105 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2106 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2107
2108 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2109 Don't propertize `?' or `!' as symbol constituent when after
2110 colon. (Bug#17097)
2111
2112 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2113
2114 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2115 which is no longer needed and causes trouble in GTK builds (bug#17046).
2116
2117 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2118 Use url-insert-file-contents; package-handle-response no longer exists.
2119
2120 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2121
2122 * emacs-lisp/package.el: Fix bug#16733 (again).
2123 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2124 (url-http-target-url): Remove unused declarations.
2125 (package-handle-response): Remove.
2126 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2127 (package--download-one-archive): Use current-buffer instead of
2128 dynamic binding of `buffer'.
2129 (describe-package-1): Do not decode readme-string.
2130
2131 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2132
2133 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2134
2135 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2136
2137 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2138
2139 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2140 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2141 `remote-file-name-inhibit-cache' to nil in the second pass.
2142 (tramp-find-executable): Do not call "which" on SunOS.
2143 (tramp-send-command-and-check): Fix docstring.
2144 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2145 check whether source directory has set the sticky bit.
2146
2147 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2148
2149 * simple.el (primitive-undo): Only process marker adjustments
2150 validated against their corresponding (TEXT . POS). Issue warning
2151 for lone marker adjustments in undo history. (Bug#16818)
2152 (undo-make-selective-list): Add marker adjustments to selective
2153 undo list based on whether their corresponding (TEXT . POS) is in
2154 the region. Remove variable adjusted-markers, which was unused
2155 and only non nil during undo-make-selective-list.
2156 (undo-elt-in-region): Return nil when passed a marker adjustment
2157 and explain in function doc.
2158
2159 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2160
2161 * emacs-lisp/package.el (package--add-to-archive-contents):
2162 Include already installed and built-in packages in
2163 `package-archive-contents'.
2164 (package-install): Don't include already installed packages in the
2165 options during interactive invocation. (Bug#16762)
2166
2167 2014-03-24 Daniel Colascione <dancol@dancol.org>
2168
2169 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2170 instead of cl-loop search function.
2171
2172 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2173
2174 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2175
2176 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2177
2178 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2179
2180 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2181
2182 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2183 Match special global variables without curlies, too.
2184 (ruby-font-lock-keywords): Simplify the matcher for special global
2185 variables. Don't require a non-word character after the variable.
2186 (Bug#17057)
2187
2188 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * simple.el (redisplay-highlight-region-function): Increase priority of
2191 overlay to make sure boundaries are visible (bug#15899).
2192
2193 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2194
2195 * frameset.el (frameset-restore): Compare display strings with equal.
2196
2197 * frame.el (make-frame): Don't quote display name in error message,
2198 it is already a string.
2199
2200 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2201
2202 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2203 the password.
2204
2205 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2206
2207 * emacs-lisp/package.el (package-show-package-list): If the buffer
2208 is already displayed in another window, switch to that window.
2209
2210 2014-03-21 Daniel Colascione <dancol@dancol.org>
2211
2212 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2213 information in bug reports.
2214
2215 2014-03-23 Daniel Colascione <dancol@dancol.org>
2216
2217 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2218 list to look for keyword arguments instead of `memq', fixing
2219 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2220 Please make bootstrap.
2221
2222 2014-03-23 Richard Stallman <rms@gnu.org>
2223
2224 * battery.el (battery-linux-sysfs): Search for each field
2225 from the beginning of the buffer.
2226
2227 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2228
2229 * emacs-lisp/package.el (package-desc): Use the contents of the
2230 quoted form, not its cdr. (Bug#16873)
2231
2232 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2233
2234 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2235 benefit of doc.c; change parameter profile to match the X function.
2236
2237 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2238
2239 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2240 and `tramp-copy-env'.
2241
2242 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2243 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2244
2245 2014-03-21 Glenn Morris <rgm@gnu.org>
2246
2247 * electric.el (electric-indent-post-self-insert-function): Add doc.
2248
2249 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2250
2251 * emacs-lisp/package.el (package-compute-transaction):
2252 Use `version-list-<=' to compare the requirement version against
2253 the version of package already to be installed. Update the error
2254 message. (Bug#16826)
2255
2256 * progmodes/ruby-mode.el (ruby-smie-rules):
2257 Add indentation rule for ` @ '. (Bug#17050)
2258
2259 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2260
2261 * align.el (align-regexp): Remove superfluous backslash.
2262
2263 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2264 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2265 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2266 Fix docstring typos.
2267 (ffap-next): Use C-u in docstring.
2268 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2269 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2270 Remove superfluous backslashes.
2271 (ffap-string-at-point): Reflow docstring.
2272
2273 * server.el (server-host): Reflow docstring.
2274 (server-unload-function): Fix docstring typo.
2275 (server-eval-at): Remove superfluous backslash.
2276
2277 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2278 (skeleton-insert): Doc fix.
2279 (skeleton-insert): Reflow docstring.
2280
2281 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2282 (tty-color-approximate, tty-color-by-index, tty-color-values)
2283 (tty-color-desc): Remove superfluous backslashes.
2284
2285 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * electric.el (electric-newline-and-maybe-indent): New command.
2288 Bind it globally to C-j.
2289 (electric-indent-mode): Don't mess with the global map any more.
2290 Don't drop the post-self-insert-hook is some buffer is still using it
2291 (bug#16770).
2292
2293 * bindings.el (global-map): Remove C-j binding.
2294
2295 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2296 the docstring of functions advised before dumping (bug#16993).
2297
2298 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2299
2300 * ps-print.el (ps-generate-postscript-with-faces):
2301 Explicitly deactivate the mark (bug#16866).
2302 * simple.el (deactivate-mark): Update region highlight.
2303
2304 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2305
2306 * emacs-lisp/package.el (describe-package-1):
2307 Decode commentary (bug#16733).
2308
2309 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2310
2311 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2312 modification of the value argument of :set (bug#16755).
2313
2314 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * simple.el (newline-and-indent): Do autofill (bug#17031).
2317
2318 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2319
2320 * newcomment.el (comment-normalize-vars): Only add escaping check
2321 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2322 (comment-beginning): Use `narrow-to-region' instead of moving back
2323 one character.
2324 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2325 (comment-start-skip): Update the docstring.
2326
2327 2014-03-18 Richard Stallman <rms@gnu.org>
2328
2329 * dired.el (dired-display-file): Force use of other window.
2330
2331 2014-03-18 Daniel Colascione <dancol@dancol.org>
2332
2333 * startup.el (tty-handle-args): Remove debug message from 2007.
2334
2335 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2338 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2339 (advice--make-1, advice-add, advice-remove):
2340 Remove braindead :advice-pending hack.
2341
2342 2014-03-17 Glenn Morris <rgm@gnu.org>
2343
2344 * calendar/calendar.el (calendar-generate-month): Apply weekend
2345 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2346
2347 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2350 (tramp-call-process): Trace also DESTINATION.
2351
2352 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2353 Quote file names when they are local. Remove superfluous trace.
2354
2355 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2356
2357 * newcomment.el (comment-beginning): If `comment-start-skip'
2358 doesn't match, move back one char and try again. (Bug#16971)
2359
2360 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2361 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2362 Set `comment-start-skip' to a simpler value that doesn't try to
2363 check if the semicolon is escaped (this is handled by
2364 `syntax-ppss' now). (Bug#16971)
2365
2366 * progmodes/scheme.el (scheme-mode-variables): Same.
2367
2368 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2369
2370 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2371 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2372 current (Bug#16816, Bug#17007).
2373 (with-current-buffer-window): New macro doing the same as
2374 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2375 * help.el (help-print-return-message): Warn in doc-string to not
2376 use this in `with-help-window'.
2377 (describe-bindings-internal): Call `describe-buffer-bindings'
2378 from within help buffer. See Juanma's scenario in (Bug#16816).
2379 (with-help-window): Update doc-string.
2380 * dired.el (dired-mark-pop-up):
2381 * files.el (save-buffers-kill-emacs):
2382 * register.el (register-preview): Use `with-current-buffer-window'
2383 instead of `with-temp-buffer-window'.
2384
2385 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2386
2387 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2388 Implement inserting into current buffer, documented in their docstrings.
2389 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2390 (rst-section-tree-point, rst-forward-section, rst-indent)
2391 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2392 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2393 (rst-font-lock-handle-adornment-pre-match-form)
2394 (rst-repeat-last-character): Reflow docstrings.
2395 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2396 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2397 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2398 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2399 Fix docstring typos.
2400 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2401 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2402 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2403
2404 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2405
2406 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2407 for compatibility with other ports.
2408 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2409 from the -xrm command line argument, but in the Nextstep port its value
2410 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2411
2412 * progmodes/python.el (defconst, python-syntax-count-quotes)
2413 (python-indent-region, python-indent-shift-right)
2414 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2415 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2416 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2417 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2418 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2419 (python-shell-buffer-substring, python-shell-send-buffer)
2420 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2421 (python-completion-complete-at-point, python-fill-docstring-style)
2422 (python-eldoc-function, python-imenu-format-item-label)
2423 (python-imenu-format-parent-item-label)
2424 (python-imenu-format-parent-item-jump-label)
2425 (python-imenu--build-tree, python-imenu-create-index)
2426 (python-imenu-create-flat-index): Fix docstring typos.
2427 (python-indent-context, python-shell-prompt-regexp, run-python):
2428 Remove superfluous backslashes.
2429 (python-indent-line, python-nav-beginning-of-defun)
2430 (python-shell-get-buffer, python-shell-get-process)
2431 (python-info-current-defun, python-info-current-line-comment-p)
2432 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2433 (python-indent-post-self-insert-function, python-shell-send-file)
2434 (python-shell-completion-get-completions)
2435 (python-shell-completion-complete-or-indent)
2436 (python-eldoc--get-doc-at-point): Reflow docstrings.
2437
2438 2014-03-14 Glenn Morris <rgm@gnu.org>
2439
2440 * emacs-lisp/package.el (package-menu-mode-map):
2441 Replace use of obsolete function alias. Tweak menu item text.
2442
2443 * info.el (Info-finder-find-node):
2444 Ignore the `emacs' metapackage. (Bug#10813)
2445
2446 * finder.el (finder-list-matches): Include unversioned packages
2447 in the result of a keyword search.
2448
2449 * finder.el (finder--builtins-descriptions): New constant.
2450 (finder-compile-keywords): Use finder--builtins-descriptions.
2451
2452 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2453
2454 * simple.el (blink-matching-paren): Describe the new value,
2455 `jump', enabling the old behavior.
2456 (blink-matching-open): Use that value. (Bug#17008)
2457
2458 2014-03-14 Glenn Morris <rgm@gnu.org>
2459
2460 * finder.el (finder-no-scan-regexp): Add leim-list.
2461 (finder-compile-keywords):
2462 Don't skip files with same basename. (Bug#14010)
2463 * Makefile.in (setwins_finder): New, excluding leim.
2464 (finder-data): Use setwins_finder.
2465
2466 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2467 (help-function-arglist, help-make-usage): Move from here...
2468 * help.el (help-split-fundoc, help-add-fundoc-usage)
2469 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2470 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2471
2472 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2473
2474 * net/socks.el (socks, socks-override-functions)
2475 (socks-find-services-entry):
2476 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2477 (hif-find-ifdef-block):
2478 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2479
2480 * net/tls.el (tls-program): Reflow docstring.
2481
2482 * progmodes/pascal.el (pascal-mode-abbrev-table)
2483 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2484 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2485 (pascal-outline-mode): Fix docstring typos.
2486 (pascal-mode): Let define-derived-mode document mode hook.
2487 (pascal-uncomment-area): Reflow.
2488 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2489
2490 * progmodes/opascal.el (opascal-compound-block-indent)
2491 (opascal-case-label-indent): Fix docstring typos.
2492 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2493
2494 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2495
2496 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2497 Fontify multiple adjacent negation chars. (Bug#17004)
2498
2499 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2500
2501 * emacs-lisp/package.el (package--prepare-dependencies):
2502 Accept requirements without explicit version (bug#14941).
2503
2504 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2505
2506 * register.el (register-separator, copy-to-register): Doc fixes.
2507 (register-preview-default): Remove unnecessary call to concat.
2508
2509 * frameset.el (frameset-restore): When checking for a visible frame,
2510 use the action map instead of calling visible-frame-list.
2511
2512 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2513
2514 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2515
2516 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2517
2518 * window.el (fit-frame-to-buffer): Get maximum width from
2519 display's width instead of height.
2520
2521 2014-03-12 Glenn Morris <rgm@gnu.org>
2522
2523 * desktop.el (desktop-restore-frames)
2524 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2525 (desktop-restore-reuses-frames): Doc tweaks.
2526
2527 * electric.el (electric-indent-mode): Doc fix.
2528
2529 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2530
2531 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2532 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2533 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2534 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2535 (cvs-dired-use-hook): Fix docstring typos.
2536 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2537 Doc fixes.
2538
2539 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2540 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2541 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2542 (cvs-execute-single-dir): Fix docstring typos.
2543
2544 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2545 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2546
2547 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2548
2549 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2550 Fix docstring typos.
2551
2552 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2553
2554 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2555 called from jump-to-register after unloading the frameset package.
2556
2557 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2560 (bug#16975). Deactivate the mark before setting it to nil.
2561 (activate-mark): Do nothing if region is already active.
2562
2563 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2564
2565 * frameset.el (frameset--target-display): Remove definition; declare.
2566 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2567
2568 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2571 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2572 when the advice is pending.
2573 (advice-remove): Remove this marker when not needed any more.
2574
2575 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2576
2577 * frameset.el: Separate options for reusing frames and cleaning up.
2578 (frameset--reuse-list): Remove definition; declare.
2579 (frameset--action-map): Declare.
2580 (frameset--find-frame-if): Doc fix.
2581 (frameset--restore-frame): Cache frame action.
2582 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2583 how to clean up the frame list after restoring. Remove cleaning
2584 options from REUSE-FRAMES. Change all keyword values to symbols.
2585 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2586
2587 * desktop.el (desktop-restore-forces-onscreen)
2588 (desktop-restore-reuses-frames): Use non-keyword values.
2589 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2590
2591 2014-03-10 Glenn Morris <rgm@gnu.org>
2592
2593 * files.el (find-file): Doc fix: update info node name.
2594
2595 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2596 Doc fix: remove references to deleted info nodes.
2597
2598 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2599
2600 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2601 Do not add `nil' to the environment, when there's no remote `locale'.
2602 (tramp-find-inline-encoding): Check, that the remote host has
2603 installed perl, before sending scripts.
2604
2605 2014-03-10 Leo Liu <sdl.web@gmail.com>
2606
2607 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2608 Clear eldoc-last-message. (Bug#16920)
2609
2610 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2613 (bug#14430).
2614
2615 2014-03-09 Juri Linkov <juri@jurta.org>
2616
2617 * ansi-color.el (ansi-color-names-vector): Copy default colors
2618 from `xterm-standard-colors' that look well on the default white
2619 background (and also on the black background) to avoid illegible
2620 color combinations like yellow-on-white and white-on-white.
2621 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2622
2623 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2624
2625 * frameset.el (frameset-restore): When no frame is visible, do not
2626 generate a list of frames, just make visible the selected one.
2627
2628 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2629
2630 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2631 it only contains the repository root. (Bug#16897)
2632
2633 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2634
2635 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2636 only when `remote-file-name-inhibit-cache' is nil.
2637 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2638
2639 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2640
2641 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2642 Fix doc-strings.
2643 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2644 fit-frame-to-buffer variable. Fix doc-string.
2645 (fit-window-to-buffer): Set ONLY argument in call of
2646 fit-frame-to-buffer. Fix doc-string.
2647
2648 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2649
2650 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2651 (tramp-action-password): Clear password cache if needed.
2652 (tramp-read-passwd): Do not clear password cache.
2653
2654 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2655 cache unless it is the first password request.
2656
2657 2014-03-06 Glenn Morris <rgm@gnu.org>
2658
2659 * simple.el (newline): Doc tweak.
2660
2661 * emacs-lisp/shadow.el (load-path-shadows-find):
2662 Ignore dir-locals. (Bug#12357)
2663
2664 2014-03-05 Glenn Morris <rgm@gnu.org>
2665
2666 * files.el (interpreter-mode-alist):
2667 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2668
2669 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2670
2671 * frameset.el (frameset--initial-params): Filter out null entries.
2672
2673 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2674
2675 * window.el (window-min-height, window-min-width):
2676 Rewrite doc-strings.
2677 (window-body-size): Add PIXELWISE argument to make it consistent
2678 with its callees.
2679
2680 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2681
2682 * finder.el (finder-mode-map, finder-mode-syntax-table):
2683 Revert part of 2014-02-28 change.
2684
2685 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2686
2687 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2688 (eww-setup-buffer): Clear next/prev/etc more reliably.
2689 (eww-textarea-map): [tab] doesn't work on tty.
2690 Reported by Mario Lang.
2691
2692 * net/shr.el (shr-map): Ditto.
2693
2694 2014-03-04 Glenn Morris <rgm@gnu.org>
2695
2696 * minibuffer.el (completion-hilit-commonality):
2697 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2698
2699 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2700
2701 * hilit-chg.el (hilit-chg-unload-function): New function.
2702 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2703 (hilit-chg-map-changes): Prefer cardinal number to digit.
2704 (hilit-chg-display-changes): Reflow docstring.
2705 (highlight-changes-rotate-faces): Remove superfluous backslash.
2706
2707 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2708
2709 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2710 `tramp-send-command-and-check'.
2711
2712 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2713
2714 * hexl.el (hexl-address-region, hexl-ascii-region)
2715 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2716 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2717 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2718 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2719 (hexl-mode): Doc fix.
2720 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2721 (hexl-mode-ruler): Fix typos in docstrings.
2722
2723 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2724 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2725 Remove superfluous backslashes.
2726 (strokes-last-stroke, strokes-global-map, strokes-mode):
2727 Reflow docstrings.
2728 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2729 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2730 (strokes-distance-squared, strokes-global-set-stroke)
2731 (strokes-global-set-stroke-string): Doc fixes.
2732 (strokes-help): Fix typos; reflow docstring.
2733
2734 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2735
2736 * window.el (window-in-direction): Fix doc-string.
2737
2738 2014-03-04 Glenn Morris <rgm@gnu.org>
2739
2740 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2741 Explicit error if no grammar.
2742 (smie-config-save): Doc fix. Fix quote typo.
2743
2744 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2747 electric-indent-mode-hook if we obey electric-indent-mode.
2748 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2749 decide whether we obey electric-indent-mode.
2750 (c-change-set-fl-decl-start, c-extend-after-change-region):
2751 Silence warnings.
2752 (c-electric-indent-mode-hook): Assume we do want to obey
2753 electric-indent-mode.
2754
2755 * electric.el (electric-indent-mode-has-been-called): Remove.
2756 (electric-indent-mode): Fix accordingly.
2757
2758 * files.el (hack-local-variables): Mention file name in warning.
2759
2760 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2761
2762 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2763
2764 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2765 * simple.el (delete-forward-char): Mark as interactive-only.
2766
2767 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2768
2769 * icomplete.el (icomplete-completions):
2770 Follow-up to 2014-03-01 change.
2771
2772 * icomplete.el: Miscellaneous doc fixes.
2773 Use Icomplete everywhere instead of icomplete for consistency.
2774 (icomplete-max-delay-chars): Fix typo.
2775 (icomplete-mode): Use \[].
2776 (icomplete-tidy, icomplete-exhibit): Reflow.
2777 (icomplete-minibuffer-setup-hook, icomplete-completions):
2778 Remove superfluous backlashes.
2779
2780 * ido.el: Miscellaneous doc fixes.
2781 Use Ido everywhere instead of ido or `ido' for consistency.
2782 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2783 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2784 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2785 (ido-separator): Extract obsolescence info from docstring and declare
2786 with make-obsolete-variable.
2787 (ido-minibuffer-setup-hook): Simplify example.
2788 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2789 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2790 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2791 (ido-everywhere): Reflow docstring.
2792 (ido-toggle-vc): Doc fix.
2793 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2794 of long list of keybindings.
2795
2796 2014-03-03 Glenn Morris <rgm@gnu.org>
2797
2798 * frame.el (display-pixel-height, display-pixel-width)
2799 (display-mm-dimensions-alist, display-mm-height)
2800 (display-mm-width): Doc tweaks.
2801
2802 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2803
2804 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2805 case of undo in region.
2806
2807 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2808
2809 * window.el (fit-window-to-buffer): Fix argument in window-size
2810 call when window is horizontally combined.
2811
2812 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2813
2814 * icomplete.el (icomplete-completions): Use string-width.
2815 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2816
2817 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2818
2819 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2820 Highlight regexp options. (Bug#16914)
2821
2822 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2823
2824 * window.el (window--max-delta-1): Round down when calculating
2825 how many lines/columns we can get from a window.
2826
2827 2014-03-01 Glenn Morris <rgm@gnu.org>
2828
2829 * isearch.el (search-invisible): Doc fix.
2830
2831 * minibuffer.el (completion-hilit-commonality):
2832 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2833 * comint.el (comint-dynamic-list-completions): Doc fix.
2834 * comint.el (comint-dynamic-list-completions):
2835 * filecache.el (file-cache-minibuffer-complete):
2836 * tempo.el (tempo-display-completions):
2837 * eshell/em-hist.el (eshell-list-history):
2838 Replace use of obsolete argument of display-completion-list.
2839
2840 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2841
2842 * icomplete.el (icomplete-completions):
2843 Revert back to using "..." when ?… cannot be displayed.
2844
2845 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2846
2847 * finder.el (finder-unload-function): New function.
2848
2849 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * dframe.el (dframe-detach):
2852 * find-dired.el (find-dired, find-name-dired):
2853 * finder.el (finder-mode-map, finder-mode-syntax-table)
2854 (finder-headmark, finder-select, finder-mouse-select):
2855 Fix docstring typos.
2856
2857 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2858
2859 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2860 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2861 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2862 Fix doc-string based on a suggestion by Nicolas Richard
2863 <theonewiththeevillook@yahoo.fr>.
2864 * help.el (with-help-window): Fix doc-string.
2865
2866 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2867
2868 * net/shr.el (shr-image-animate): New option.
2869 (shr-put-image): Respect shr-image-animate.
2870
2871 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * net/tramp-adb.el (tramp-adb-parse-device-names):
2874 Use `accept-process-output'.
2875 (tramp-adb-handle-file-truename): Cache the localname only.
2876 (tramp-adb-handle-make-directory)
2877 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2878 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2879 modes cannot be changed.
2880
2881 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2882 file properties of symlinks.
2883
2884 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2885
2886 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2887 required/optional fields to match development biblatex. (Bug#16781)
2888
2889 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2890
2891 * saveplace.el (toggle-save-place):
2892 Fix argument handling. (Bug#16673)
2893
2894 2014-02-28 Glenn Morris <rgm@gnu.org>
2895
2896 * minibuffer.el (completions-first-difference)
2897 (completions-common-part, completion-hilit-commonality): Doc fixes.
2898
2899 2014-02-28 Karl Berry <karl@gnu.org>
2900
2901 * info.el (Info-mode-map): Add H for describe-mode,
2902 to synchronize with standalone Info.
2903
2904 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2905
2906 * progmodes/sql.el (sql-interactive-mode):
2907 Avoid setting global comint-input-ring-separator. (Bug#16814)
2908
2909 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2910
2911 * net/dbus.el (dbus--init-bus): Declare function.
2912 (dbus-path-local, dbus-interface-local): New defconst.
2913 (dbus-init-bus): Use them.
2914 (dbus-return-values-table): Extend doc.
2915 (dbus-handle-bus-disconnect): Extend error message.
2916
2917 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2918
2919 * subr.el (y-or-n-p): Fix double space issue in message.
2920
2921 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2922
2923 * net/tramp.el (tramp-call-process): Improve trace message.
2924 (tramp-handle-insert-file-contents): Trace error case.
2925
2926 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2927 <insert-directory>: Use `tramp-handle-insert-directory'.
2928 (tramp-adb-handle-insert-directory): Remove function.
2929 (tramp-adb-send-command-and-check): New defun, replacing
2930 `tramp-adb-command-exit-status'. Change all callees.
2931 (tramp-adb-handle-file-attributes)
2932 (tramp-adb-handle-directory-files-and-attributes): Use it.
2933 (tramp-adb-ls-output-name-less-p):
2934 Use `directory-listing-before-filename-regexp'.
2935 (tramp-adb-handle-delete-directory): Flush also file properties of
2936 the truename of directory.
2937 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2938 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2939 (tramp-adb-handle-write-region): Implement APPEND.
2940 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2941 properties correctly.
2942 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2943 variables. Check for connected devices only when needed.
2944
2945 2014-02-27 Glenn Morris <rgm@gnu.org>
2946
2947 * minibuffer.el (completion-table-dynamic)
2948 (completion-table-with-cache): Doc fixes.
2949
2950 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2951 (completing-read-multiple): Doc fixes.
2952
2953 2014-02-27 Daniel Colascione <dancol@dancol.org>
2954
2955 * minibuffer.el (completion--nth-completion): Fix indentation.
2956
2957 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2958 explicit tramp path is empty.
2959
2960 2014-02-27 Glenn Morris <rgm@gnu.org>
2961
2962 * emacs-lisp/crm.el (completing-read-multiple):
2963 Empower help-enable-auto-load.
2964
2965 2014-02-26 Glenn Morris <rgm@gnu.org>
2966
2967 * startup.el (command-line): Don't init the tty in daemon mode.
2968
2969 Avoid calling tty-setup-hook twice, eg if a term file
2970 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2971 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2972 (tty-create-frame-with-faces): Use it.
2973 * startup.el (command-line): Pass run-hook argument
2974 to tty-run-terminal-initialization.
2975
2976 * dired.el (dired-restore-desktop-buffer): Demote errors;
2977 eg in case a glob match fails. (Bug#16884)
2978
2979 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2982 error from `read-from-string'. (Bug#16850)
2983
2984 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2985 result of `completing-read' in the interactive form. (Bug#16854)
2986
2987 2014-02-25 Glenn Morris <rgm@gnu.org>
2988
2989 * image.el (image-animate, image-animate-timeout):
2990 Stop animating images in dead buffers. (Bug#16878)
2991
2992 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2993
2994 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2995 Doc fixes.
2996 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2997 * term/sun.el (sun-raw-prefix-hooks):
2998 Use tty-setup-hook instead of term-setup-hook.
2999 (terminal-init-sun): Construct message from bytecomp plist.
3000 * term/wyse50.el (enable-arrow-keys): Doc fix.
3001
3002 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3003
3004 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3005 Fix docstring typos.
3006
3007 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3010
3011 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3012
3013 * minibuffer.el (completion--try-word-completion):
3014 Fix error when completing M-x commands (bug#16808).
3015
3016 2014-02-24 Leo Liu <sdl.web@gmail.com>
3017
3018 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3019
3020 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3021
3022 * apropos.el (apropos-print): Avoid formatting error when
3023 apropos-do-all and apropos-compact-layout are both t.
3024
3025 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3026
3027 * apropos.el (apropos-property, apropos-all-words-regexp)
3028 (apropos-true-hit, apropos-variable, apropos-print):
3029 Fix docstring typos, and remove obsolete comment.
3030
3031 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3032
3033 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3034 Preserve trailing "/". (Bug#16851)
3035
3036 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3037
3038 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3039 after `=>' (bug#16811).
3040 (ruby-smie-rules): Handle the inconsistent second element of the
3041 list returned by `smie-indent--parent'.
3042 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3043 method call.
3044
3045 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3046
3047 * elec-pair.el (electric-pair-text-syntax-table)
3048 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3049 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3050 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3051 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3052
3053 2014-02-22 Glenn Morris <rgm@gnu.org>
3054
3055 * imenu.el (imenu--generic-function): Doc fix.
3056
3057 * register.el (frame-configuration-to-register): Make obsolete.
3058
3059 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3060
3061 * desktop.el (desktop-save-buffer-p): Do not fail when
3062 desktop-files-not-to-save is nil. Return t for true result
3063 as the doc says.
3064
3065 2014-02-22 Daniel Colascione <dancol@dancol.org>
3066
3067 * net/secrets.el (secrets-create-item, secrets-search-items):
3068 Check that attribute values are strings, avoiding the construction
3069 of invalid dbus messages.
3070
3071 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3072
3073 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3074 defun-declarations-alist.
3075
3076 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3079 (bug#16829).
3080
3081 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3082
3083 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3084 (whitespace-newline, whitespace-trailing, whitespace-line)
3085 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3086 (whitespace-space-after-tab): Fix typo in docstrings.
3087
3088 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3089
3090 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3091
3092 * electric.el (electric-indent-functions-without-reindent):
3093 Add `yaml-indent-line'.
3094
3095 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3096
3097 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3098 It has done nothing for years; should be removed after the release.
3099
3100 * simple.el (choose-completion): Fix docstring typo.
3101 (read-quoted-char-radix): Remove unneeded * in docstring.
3102 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3103 Don't escape parentheses unnecessarily in docstrings.
3104
3105 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3106
3107 Fix handling of window-min-height/-width (Bug#16738).
3108 * window.el (window--dump-window, window--dump-frame):
3109 New functions.
3110 (window--min-size-1): Account for window dividers.
3111 When window-resize-pixelwise is nil, delay rounding till after the
3112 sum of the window components has been calculated.
3113 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3114 nil make sure at least one text line and two text columns remain
3115 fully visible.
3116 (window-resize): Signal an error when window-resize-apply fails.
3117 (window--resize-child-windows): Fix calculation of by how many
3118 pixels a window can still be shrunk via window-new-normal.
3119 (adjust-window-trailing-edge): Call window--resizable with
3120 correct TRAIL argument.
3121
3122 (with-temp-buffer-window): Don't evaluate BODY within
3123 with-current-buffer (Bug#16816).
3124
3125 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3126
3127 * net/tramp.el (tramp-check-cached-permissions):
3128 Call `file-attributes' with `suffix' being a symbol but a string.
3129
3130 2014-02-21 Daniel Colascione <dancol@dancol.org>
3131
3132 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3133 (dbus-init-bus): New function: call into dbus-init-bus-1
3134 and installs a handler for the disconnect signal.
3135 (dbus-call-method): Rewrite to look for result in cons.
3136 (dbus-call-method-handler): Store result in cons.
3137 (dbus-check-event): Recognize events with nil sender as valid.
3138 (dbus-handle-bus-disconnect): New function. React to bus
3139 disconnection signal by synthesizing dbus error for each
3140 pending synchronous or asynchronous call.
3141 (dbus-notice-synchronous-call-errors): New function.
3142 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3143 is true, not all the time.
3144
3145 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3146
3147 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3148 Remove obsolescence declarations, these variables do not exist anymore.
3149
3150 * savehist.el (savehist-save-minibuffer-history)
3151 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3152 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3153 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3154 mostly, refer to "Savehist mode" when talking about the mode,
3155 and not the function.
3156
3157 * saveplace.el (save-place): Remove redundant info in docstring.
3158 (save-place-forget-unreadable-files, toggle-save-place)
3159 (save-place-forget-unreadable-files, save-place-dired-hook):
3160 Fix typos and remove unneeded backslashes.
3161
3162 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3165 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3166
3167 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3168 <insert-directory>: Use `tramp-handle-insert-directory'.
3169 (tramp-gvfs-handle-insert-directory): Remove function.
3170
3171 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3172 Call `tramp-handle-insert-directory'.
3173
3174 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3175
3176 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3177 before the start of buffer/region (bug#16799).
3178
3179 2014-02-20 Glenn Morris <rgm@gnu.org>
3180
3181 * isearch.el (search-invisible): Doc fix.
3182
3183 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3184
3185 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3186 (bug#16657).
3187
3188 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3189
3190 * frameset.el (frameset-restore): Delay removing an old frame's
3191 duplicate id until the new frame has been correctly created.
3192
3193 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3194
3195 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3196 (tramp-check-cached-permissions): Call `file-attributes' if the
3197 cache is empty.
3198
3199 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3200 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3201
3202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3203 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3204 (tramp-gvfs-maybe-open-connection): Set always connection
3205 properties, even if target is mounted already.
3206
3207 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3208 Set tramp-autoload cookie.
3209 (tramp-get-remote-touch): New defun.
3210 (tramp-sh-handle-set-file-times): Use it.
3211 (tramp-sh-handle-directory-files-and-attributes):
3212 Use `tramp-handle-directory-files-and-attributes' if neither stat
3213 nor perl are available on the remote host.
3214
3215 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3216 "/". Write long listing only when "l" belongs to the switches.
3217
3218 * net/trampver.el: Update release number.
3219
3220 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3221
3222 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3223
3224 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3225
3226 * window.el (window-state-put): Allow WINDOW to refer to an
3227 internal window (Bug#16793).
3228
3229 2014-02-19 Glenn Morris <rgm@gnu.org>
3230
3231 * textmodes/remember.el: Move provide statement to end.
3232 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3233 (remember-notes): Doc fixes.
3234
3235 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * delsel.el (delete-char): Restore incorrectly erased property
3238 (bug#16795).
3239
3240 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3241
3242 * frameset.el (frameset--restore-frame): When a frame is being reused
3243 and its root window is not alive, delete all the frame's windows before
3244 restoring the window state. This works around the issue in bug#16793.
3245
3246 2014-02-18 Glenn Morris <rgm@gnu.org>
3247
3248 * textmodes/remember.el (remember-data-directory)
3249 (remember-directory-file-name-format, remember-store-in-files)
3250 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3251 (remember-notes-save-and-bury-buffer)
3252 (remember-notes--kill-buffer-query): Doc fixes.
3253
3254 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3255
3256 2014-02-17 Alan Mackenzie <acm@muc.de>
3257
3258 Connect electric-indent-mode up with CC Mode. Bug #15478.
3259 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3260 to electric-indent-{,local-}-mode.
3261 (c-basic-common-init): Set electric-indent-inhibit.
3262 Initialise c-electric-flag from electric-indent-mode.
3263 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3264 New hook functions which propagate electric-indent-mode to CC mode.
3265
3266 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3267 hit, toggle electric-indent-local-mode.
3268
3269 * electric.el (electric-indent-mode-has-been-called):
3270 New variable.
3271
3272 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3273
3274 * frameset.el (frameset-cfg-id): New function.
3275 (frameset--reuse-frame, frameset-restore): Use it.
3276 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3277
3278 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * ido.el (ido-file-internal): Remove unused var `d'.
3281 Use \` for to match BoS. Fit within 80n columns.
3282
3283 2014-02-17 Daniel Colascione <dancol@dancol.org>
3284
3285 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3286 dbus-call-method check for completion using a busy-wait loop with
3287 gradual backoff.
3288
3289 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3290
3291 Sync with Tramp 2.2.9.
3292
3293 * net/trampver.el: Update release number.
3294
3295 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3296
3297 * ido.el (ido-file-internal): Don't add the name of an existing
3298 directory twice. (Bug#16747)
3299
3300 2014-02-16 Glenn Morris <rgm@gnu.org>
3301
3302 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3303 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3304
3305 2014-02-15 Michael R. Mauger <michael@mauger.com>
3306
3307 * progmodes/sql.el: Version 3.4
3308 (sql-oracle-options): New default value ("-L").
3309 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3310 (sql-placeholders-filter): Correct placeholder pattern.
3311 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3312 (sql-login-delay): New variable.
3313 (sql-product-interactive): Use it.
3314
3315 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3316
3317 * frameset.el (frameset--jump-to-register): Check that buffer is live
3318 (bug#16749).
3319
3320 2014-02-15 Glenn Morris <rgm@gnu.org>
3321
3322 * info.el (info-initialize): Revert 2014-01-10 change.
3323
3324 2014-02-14 Glenn Morris <rgm@gnu.org>
3325
3326 * replace.el (map-query-replace-regexp)
3327 (read-regexp-defaults-function, read-regexp): Doc fixes.
3328
3329 * dired.el (dired-read-regexp):
3330 * faces.el (list-faces-display):
3331 * misearch.el (multi-isearch-read-matching-buffers)
3332 (multi-isearch-read-matching-files):
3333 * play/cookie1.el (cookie-apropos):
3334 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3335
3336 * textmodes/remember.el (remember): Use frameset-to-register
3337 rather than frame-configuration-to-register.
3338
3339 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3340
3341 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3342 incorrect keybinding.
3343
3344 2014-02-13 Daniel Colascione <dancol@dancol.org>
3345
3346 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3347 when adding overlays so that line numbers from compiler match line
3348 numbers we use.
3349
3350 2014-02-13 Glenn Morris <rgm@gnu.org>
3351
3352 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3353
3354 * jit-lock.el (jit-lock-mode): Doc fix.
3355
3356 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3357
3358 * apropos.el (apropos-read-pattern): When the user passes an empty
3359 string, give a more helpful error message than "Wrong type
3360 argument: stringp, nil".
3361
3362 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3365
3366 2014-02-13 Glenn Morris <rgm@gnu.org>
3367
3368 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3369
3370 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3373 shift-select commands.
3374
3375 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3376
3377 * progmodes/js.el (js-indent-line): Don't widen.
3378 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3379
3380 2014-02-12 Glenn Morris <rgm@gnu.org>
3381
3382 * icomplete.el (icomplete): Add info-link to defgroup.
3383 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3384 (icomplete-minibuffer-map, icomplete-mode)
3385 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3386
3387 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3388 (package-menu-filter): Rename from package-menu-filter-interactive.
3389 Doc fix.
3390
3391 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3392
3393 * frameset.el (frameset--jump-to-register): Select the required
3394 window and buffer before restoring position (bug#16696).
3395
3396 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3397
3398 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3399
3400 2014-02-10 Glenn Morris <rgm@gnu.org>
3401
3402 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3403
3404 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3405
3406 * w32-common-fns.el (x-get-selection): Doc fix.
3407 * select.el (x-get-selection): Doc fix. (Bug#15109)
3408
3409 * face-remap.el (face-remap-add-relative)
3410 (face-remap-remove-relative, face-remap-reset-base)
3411 (face-remap-set-base): Call force-mode-line-update to redisplay
3412 the current buffer due to potential change in faces. (Bug#16709)
3413
3414 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3415
3416 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3417 script more robustly.
3418
3419 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3420
3421 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3422
3423 * simple.el (choose-completion): Doc fix (bug#14160).
3424
3425 * subr.el (event-start): Say what a nil EVENT value means.
3426
3427 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3428 (bug#14197).
3429
3430 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3431
3432 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3433
3434 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3435
3436 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3437 predicate function (bug#15455).
3438
3439 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3440
3441 * ielm.el (inferior-emacs-lisp-mode): Instead of
3442 `comment-use-global-state', set `comment-use-syntax'.
3443
3444 2014-02-10 Glenn Morris <rgm@gnu.org>
3445
3446 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3447
3448 2014-02-09 Alan Mackenzie <acm@muc.de>
3449
3450 Fix c-invalidate-state-cache on narrowed buffers.
3451 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3452 Widen when setting and clearing the CPP delimiter properties.
3453
3454 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3455
3456 * help.el (describe-bindings): Doc fix (bug#9888).
3457
3458 * files.el (save-buffer): Use ARG as the parameter name for
3459 consistency (bug#10346).
3460 (save-buffer): Clarify the 0 argument (bug#10346).
3461
3462 * cus-edit.el (customize-apropos): Fix error string.
3463 (custom-buffer-create): Doc fix (bug#11122).
3464 (custom-sort-items): Doc fix (bug#11121).
3465
3466 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3467
3468 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3469 (icomplete-simple-completing-p): Mention the previous variable.
3470
3471 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3472 meaning of the parameter (bug#12282).
3473
3474 * files.el (find-file-noselect): Clarify prompt when changing
3475 readedness (bug#13261).
3476 (locate-file): Suffixes aren't returned, so don't say that they
3477 are (bug#12674).
3478 (backup-inhibited): Doc clarification (bug#12525).
3479
3480 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3481 before we actually start to delete things (bug#16331).
3482
3483 * subr.el (event-start): Doc fix (bug#14228).
3484 (event-end): Ditto.
3485
3486 2014-02-09 Glenn Morris <rgm@gnu.org>
3487
3488 * emacs-lisp/warnings.el (lwarn):
3489 Empower help-enable-auto-load. (Bug#15940)
3490
3491 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3492
3493 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3494 (Bug#16690)
3495
3496 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3497
3498 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3499 Insert output at end of buffer. (Bug#16120)
3500
3501 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3502
3503 * simple.el (choose-completion-string-functions): Document new
3504 calling convention (bug#14153).
3505 (execute-extended-command): Clarify doc string (bug#13373).
3506
3507 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3508
3509 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3510 (find-grep-dired): Doc fix (bug#14288).
3511
3512 2014-02-08 Juri Linkov <juri@jurta.org>
3513
3514 * isearch.el (isearch-quote-char): Check character validity
3515 like in `quoted-insert' (bug#16677).
3516
3517 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3518
3519 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3520
3521 * isearch.el (isearch-hide-immediately): Doc clarification
3522 (bug#14723).
3523
3524 * simple.el (line-move): Document utility function used many
3525 places in the Emacs sources (bug#14843).
3526
3527 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3528 (dired-prev-marked-file): Doc fix (bug#14855).
3529 (dired-up-directory): Doc fix (bug#14848).
3530
3531 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3532
3533 * files.el (file-relative-name): Doc fix (bug#15159).
3534
3535 * fringe.el (fringe-styles): Doc fix (bug#15239).
3536
3537 * isearch.el (isearch-filter-predicate): Documentation typo fix
3538 (bug#15474).
3539
3540 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3541
3542 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3543
3544 * replace.el (replace-match-maybe-edit): Doc clarification
3545 (bug#15632).
3546
3547 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3548
3549 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3550
3551 2014-02-08 Glenn Morris <rgm@gnu.org>
3552
3553 * help-fns.el (describe-variable):
3554 Check {file,dir}-local-variables-alist, and buffer-file-name,
3555 in the correct buffer.
3556
3557 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3558
3559 * help-fns.el (describe-variable): Fix the case where
3560 a value is directory-local with no dir-locals file. (Bug#16635)
3561
3562 2014-02-08 Glenn Morris <rgm@gnu.org>
3563
3564 * abbrev.el (edit-abbrevs-mode):
3565 Derive from fundamental-mode. (Bug#16682)
3566
3567 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * simple.el (quoted-insert): Check character validity (bug#16677).
3570
3571 2014-02-07 Juri Linkov <juri@jurta.org>
3572
3573 * desktop.el (desktop-read): Claim the lock when the owner is not
3574 the current process. (Bug#16157)
3575
3576 2014-02-07 Juri Linkov <juri@jurta.org>
3577
3578 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3579 to "\\` ". (Bug#16651)
3580
3581 2014-02-07 Juri Linkov <juri@jurta.org>
3582
3583 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3584 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3585 (desktop-auto-save-cancel-timer): New function with some code from
3586 `desktop-auto-save-set-timer'.
3587 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3588 Instead of setting `desktop-save-mode' to nil, call
3589 `desktop-save-mode' with arg 0. (Bug#16630)
3590
3591 2014-02-07 Glenn Morris <rgm@gnu.org>
3592
3593 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3594 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3595 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3596
3597 * obsolete/iswitchb.el: Move to obsolete/.
3598 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3599 since obsolete/ is not scanned for autoloads.
3600 * emacs-lisp/authors.el (authors-valid-file-names):
3601 Add iswitchb.el.
3602
3603 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3604 Disable now non-functional find-file-hook.
3605
3606 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3607
3608 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3609 instead of ";" in order to avoid additional prompts. Let heredoc
3610 scripts read from tty. (Bug#16582)
3611 (tramp-send-command): No special handling of heredocs, it isn't
3612 necessary anymore.
3613
3614 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3615
3616 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3617 with a space (bug#16664). Limit the symbols considered to the ones
3618 that are bound or fbound (bug#16646).
3619
3620 2014-02-06 Glenn Morris <rgm@gnu.org>
3621
3622 * epa.el (epa-mail-aliases): Doc fix.
3623
3624 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3625
3626 * emacs-lisp/lisp.el (lisp-completion-at-point):
3627 Use `completion-table-merge' instead of `completion-table-in-turn'
3628 (bug#16604).
3629
3630 * minibuffer.el (completion-table-merge): New function.
3631
3632 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3633
3634 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3635 (tramp-sh-handle-set-file-acl)
3636 (tramp-sh-handle-start-file-process)
3637 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3638 (tramp-find-executable, tramp-send-command): Use it.
3639
3640 2014-02-05 Glenn Morris <rgm@gnu.org>
3641
3642 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3643
3644 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3645
3646 * progmodes/python.el (python-shell-send-string)
3647 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3648
3649 2014-02-04 Anders Lindgren <andlind@gmail.com>
3650
3651 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3652 the names (bug#16620).
3653
3654 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3655
3656 * faces.el (window-divider): New default value. Rewrite doc-string.
3657 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3658
3659 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3660
3661 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3662 `protected' and `public' can also be called without arguments.
3663
3664 2014-02-03 Glenn Morris <rgm@gnu.org>
3665
3666 * register.el (window-configuration-to-register)
3667 (frame-configuration-to-register): Unadvertise unused argument.
3668 * frameset.el (frameset-to-register): Remove unused argument.
3669
3670 * frameset.el (frameset-to-register):
3671 * kmacro.el (kmacro-to-register):
3672 * register.el (increment-register):
3673 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3674 (calc-append-to-register, calc-prepend-to-register):
3675 * play/gametree.el (gametree-layout-to-register)
3676 (gametree-apply-register-layout):
3677 * textmodes/picture.el (picture-clear-rectangle-to-register)
3678 (picture-yank-rectangle-from-register):
3679 * vc/emerge.el (emerge-combine-versions-register):
3680 Use register-read-with-preview to read registers.
3681
3682 2014-02-03 João Távora <joaotavora@gmail.com>
3683
3684 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3685 when at beginning of (possibly narrowed) buffer.
3686
3687 2014-02-02 Daniel Colascione <dancol@dancol.org>
3688
3689 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3690 Also try to display local help from just before point.
3691
3692 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3693
3694 c-parse-state. Don't "append-lower-brace-pair" in certain
3695 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3696 recognised as a comment.
3697
3698 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3699 as well as normal comment starter.
3700 (c-parse-state-get-strategy): Extra return possibility
3701 'back-and-forward.
3702 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3703 return value list to indicate replacement of a brace-pair cons
3704 with its car.
3705 (c-parse-state-1): With 'back-and-forward, only call
3706 c-append-lower-brace-pair-to state-cache when cons-separated.
3707
3708 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3709
3710 * term/ns-win.el (ns-suspend-error): New function.
3711 (ns-initialize-window-system): Add ns-suspend-error to
3712 suspend-hook (Bug#16612).
3713
3714 2014-02-02 Daniel Colascione <dancol@dancol.org>
3715
3716 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3717 Make loading cc-mode silent.
3718
3719 2014-02-02 Daniel Colascione <dancol@dancol.org>
3720
3721 * comint.el (comint-prompt-read-only): Change doc to suggest
3722 remap keybinding.
3723
3724 2014-02-02 Glenn Morris <rgm@gnu.org>
3725
3726 * register.el (register-read-with-preview, point-to-register)
3727 (window-configuration-to-register, frame-configuration-to-register)
3728 (jump-to-register, number-to-register, view-register, insert-register)
3729 (copy-to-register, append-to-register, prepend-to-register)
3730 (copy-rectangle-to-register): Doc fixes.
3731
3732 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3735 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3736 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3737 * help-fns.el (describe-function-1): Use it.
3738
3739 2014-02-02 Glenn Morris <rgm@gnu.org>
3740
3741 * register.el (register-preview-default): New function,
3742 split from register-preview.
3743 (register-preview-function): Rename from register-preview-functions,
3744 make it not a hook.
3745 (register-preview): Use register-preview-function.
3746 (register-read-with-preview): Error on non-character event. (Bug#16595)
3747
3748 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3749
3750 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3751 `:' before binary operators (bug#16609). Don't check for `:'
3752 before `[' and `(', or their syntax status. A percent literal
3753 can't end with either.
3754 (ruby-font-lock-keywords): For built-ins that require arguments,
3755 check that they're followed by something that looks like argument
3756 (bug#16610).
3757
3758 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3759
3760 * subr.el (butlast): Document what an omitted N means (bug#13437).
3761 (nbutlast): Ditto.
3762
3763 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3764
3765 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3766 depth shallower (bug#16587).
3767 (shr-tag-svg): Respect `shr-inhibit-images'.
3768 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3769
3770 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3771
3772 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3773 (ruby-smie-grammar): Make "." right-associative. Make its priority
3774 lower than the ternary and all binary operators.
3775 (ruby-smie-rules): Indent "(" relative to the first non-"."
3776 parent, or the first "." parent at indentation.
3777 Use `ruby-align-chained-calls' for indentation of "." tokens.
3778 (Bug#16593)
3779
3780 2014-01-31 Juri Linkov <juri@jurta.org>
3781
3782 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3783 from `make-hash-table'.
3784
3785 * textmodes/ispell.el (ispell-init-process): Change message format
3786 to be consistent with other messages.
3787
3788 2014-01-31 Glenn Morris <rgm@gnu.org>
3789
3790 * delsel.el (delete-selection-mode): Doc fix.
3791
3792 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3793 (trace-function-background): Doc fixes.
3794
3795 * ido.el (ido-use-virtual-buffers): Doc fix.
3796 Reset :version, since the default value has not changed.
3797
3798 * register.el (register-preview-delay, register-read-with-preview):
3799 Doc fixes.
3800
3801 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3802 do not mess with mail-buffer position (fixes 2009-11-03 change).
3803 * progmodes/cc-mode.el (c-submit-bug-report):
3804 Check auto-fill-mode is bound. (Bug#16592)
3805
3806 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3807
3808 * startup.el (fancy-splash-image-file): New function,
3809 split from fancy-splash-head.
3810 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3811 so that we are both using the same image. (Bug#16574)
3812
3813 2014-01-30 Glenn Morris <rgm@gnu.org>
3814
3815 * simple.el (eval-expression): Doc fix.
3816
3817 * hexl.el (hexl-mode-hook):
3818 * ielm.el (ielm-mode-hook):
3819 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3820 (lisp-interaction-mode-hook):
3821 * progmodes/cfengine.el (cfengine3-documentation-function):
3822 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3823
3824 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3827 is a symbol (bug#16584).
3828
3829 2014-01-30 Glenn Morris <rgm@gnu.org>
3830
3831 * help.el (help-for-help-internal): Add "P" to text.
3832
3833 2014-01-29 Glenn Morris <rgm@gnu.org>
3834
3835 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3836
3837 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3838
3839 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3840 height constraints.
3841
3842 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3843
3844 * progmodes/hideif.el: Extend to full CPP expression syntax.
3845 (hif-token-alist): Add missing tokens.
3846 (hif-token-regexp): Add support for float/octal/hex immediates.
3847 (hif-string-literal-regexp): New const.
3848 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3849 (hif-exprlist): New function.
3850 (hif-parse-if-exp): Use it.
3851 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3852 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3853 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3854 (hif-logxor, hif-comma): New functions.
3855
3856 2014-01-28 Glenn Morris <rgm@gnu.org>
3857
3858 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3859
3860 * indent.el (tab-stop-list): Doc fix. Add :version.
3861
3862 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3863 (cvs-append-to-ignore): Add compatibility alias.
3864
3865 2014-01-27 Glenn Morris <rgm@gnu.org>
3866
3867 * dired.el (dired-hide-details-mode): Don't autoload it,
3868 since it cannot be used outside Dired buffers anyway.
3869
3870 * emulation/cua-base.el (cua-mode): Doc fix.
3871
3872 * dired.el (dired-hide-details-hide-symlink-targets)
3873 (dired-hide-details-hide-information-lines)
3874 (dired-hide-details-mode): Doc fixes.
3875
3876 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3877 * strokes.el (strokes-file): Doc fix. Bump :version.
3878 (strokes-help): Doc fix.
3879 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3880 * emulation/viper.el (viper): Doc fix for custom group.
3881 (top-level): Remove oh-so-no-longer-relevant text about vip.
3882 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3883
3884 * ido.el (ido-save-directory-list-file):
3885 * saveplace.el (save-place-file):
3886 * calendar/timeclock.el (timeclock-file):
3887 * net/quickurl.el (quickurl-url-file):
3888 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3889 * progmodes/idlwave.el (idlwave-config-directory):
3890 * textmodes/remember.el (remember-data-file):
3891 Bump :version.
3892
3893 2014-01-26 Glenn Morris <rgm@gnu.org>
3894
3895 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3896 Doc fix. Make obsolete.
3897 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3898
3899 * sort.el (delete-duplicate-lines): Doc fix.
3900
3901 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3902
3903 * progmodes/ada-mode.el (ada):
3904 * woman.el (woman): Link to info manual and Commentary section.
3905
3906 * progmodes/flymake.el (flymake):
3907 * nxml/nxml-mode.el (nxml):
3908 * net/eww.el (eww):
3909 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3910 * htmlfontify.el (htmlfontify):
3911 * ses.el (ses):
3912 * epa.el (epa):
3913 * ido.el (ido): Link to info manual.
3914
3915 2014-01-25 Leo Liu <sdl.web@gmail.com>
3916
3917 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3918
3919 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3920
3921 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3922 (bug#16537).
3923
3924 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3925
3926 * net/eww.el (eww-download-callback):
3927 Fix reference to eww-download-directory.
3928
3929 * emacs-lisp/bytecomp.el (byte-compile-file):
3930 Remove unused local variable `file-name'.
3931
3932 2014-01-24 Glenn Morris <rgm@gnu.org>
3933
3934 * woman.el (woman-default-faces, woman-monochrome-faces):
3935 Fix obsolescence specification.
3936
3937 * subr.el (with-demoted-errors): Doc fix.
3938
3939 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3942 (cl--macroexp-fboundp): New function.
3943 (cl--make-type-test): Use it.
3944
3945 2014-01-23 Glenn Morris <rgm@gnu.org>
3946
3947 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3948 * simple.el (eval-expression): Doc fixes.
3949
3950 2014-01-22 Glenn Morris <rgm@gnu.org>
3951
3952 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3953
3954 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3955
3956 * emacs-lisp/package.el: Write files silently.
3957 (package-autoload-ensure-default-file, package--write-file-no-coding)
3958 (package-generate-description-file, package--download-one-archive)
3959 (package-install-from-archive): Tell `write-region' to stay quiet.
3960 (package-menu-mode, package-menu--print-info): Omit the Archive column
3961 if there's only one archive.
3962 (package-all-keywords, package--has-keyword-p): Remove dead code.
3963
3964 2014-01-22 Glenn Morris <rgm@gnu.org>
3965
3966 * version.el (emacs-bzr-version-bzr): Fix typo.
3967
3968 * version.el (emacs-repository-get-version):
3969 Check either .bzr or .git, but not both.
3970 Make the git case actually use the DIR argument, and return nil
3971 rather than the empty string.
3972 Avoid error if .git exists but the git executable is not found.
3973
3974 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3975
3976 Fixes in window size functions around Bug#16430 and Bug#16470.
3977 * window.el (window-total-size, window-size): New argument ROUND.
3978 (window--min-delta-1, window-min-delta, window--max-delta-1):
3979 Be more conservative when calculating the numbers of lines or
3980 columns a window can shrink (Bug#16430).
3981 (fit-window-to-buffer): Simplify code.
3982 * term.el (term-window-width): Call window-body-width again.
3983
3984 2014-01-22 Glenn Morris <rgm@gnu.org>
3985
3986 * image.el (image-format-suffixes): Doc fix.
3987
3988 * international/quail.el (quail-define-package): Doc fix.
3989
3990 * emacs-lisp/authors.el (authors-valid-file-names)
3991 (authors-renamed-files-alist): Additions.
3992
3993 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3994 reverts 2014-01-09 change. (Bug#16422)
3995
3996 * calc/calc-embed.el (thing-at-point-looking-at):
3997 * emacs-lisp/map-ynp.el (x-popup-dialog):
3998 * obsolete/lmenu.el (x-popup-dialog):
3999 * emacs-lisp/package.el (url-recreate-url):
4000 * mail/mailclient.el (clipboard-kill-ring-save):
4001 * subr.el (x-popup-dialog): Update declaration.
4002 * mail/rmail.el (rmail-mime-message-p):
4003 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4004
4005 2014-01-21 Daniel Colascione <dancol@dancol.org>
4006
4007 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4008 Correctly detect when we're inside an arithmetic expansion form
4009 containing nested parenthesis.
4010 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4011 to detect cases where we shouldn't expand "<<" to a heredoc
4012 skeleton.
4013
4014 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4017 (eldoc--message-command-p): New function.
4018 (eldoc-display-message-p): Use it.
4019 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4020 message is not automatically erased for us.
4021 (eldoc-print-current-symbol-info): Erase previous message, if any.
4022
4023 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4024
4025 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4026 specify it's an interactive function.
4027
4028 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4029 Fix regex used for scanning for citation keys which failed for
4030 citations with optional arguments.
4031
4032 2014-01-21 Leo Liu <sdl.web@gmail.com>
4033
4034 * simple.el (read--expression): Don't enable eldoc-mode.
4035
4036 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * simple.el (move-beginning-of-line): Make sure we don't move forward
4039 (bug#16497).
4040
4041 2014-01-20 Juri Linkov <juri@jurta.org>
4042
4043 * saveplace.el (toggle-save-place, save-place-to-alist)
4044 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4045 'dired-mode) before checking for dired-directory. (Bug#16477)
4046
4047 2014-01-20 Juri Linkov <juri@jurta.org>
4048
4049 * indent.el (indent-line-to): Use backward-to-indentation
4050 instead of back-to-indentation. (Bug#16461)
4051
4052 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4053
4054 Revert some of the CANNOT_DUMP fix (Bug#16494).
4055 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4056 but fixing this can wait until after the next release.
4057 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4058
4059 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4060
4061 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4062 Use `password-word-equivalents'.
4063 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4064 to t. (Bug#5664, Bug#13124)
4065
4066 2014-01-19 Alan Mackenzie <acm@muc.de>
4067
4068 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4069 points.
4070 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4071 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4072 * progmodes/cc-mode.el (c-before-change, c-after-change)
4073 (c-font-lock-fontify-region): Bind it here.
4074
4075 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4076
4077 * term.el (term-window-width): Call window-text-width instead of
4078 window-width (Bug#16470).
4079
4080 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4081
4082 * simple.el (password-word-equivalents): Remove duplicates.
4083 Sort, to make this easier next time.
4084 Downcase. Omit ": " after "jelszó".
4085
4086 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4087
4088 * term/common-win.el (saved-region-selection): Defvar it.
4089 (x-select-text): Set saved-region-selection (Bug#16382).
4090
4091 2014-01-18 Glenn Morris <rgm@gnu.org>
4092
4093 * emacs-lisp/authors.el (authors-aliases)
4094 (authors-renamed-files-alist): Add some entries.
4095
4096 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4097
4098 * net/tramp.el (tramp-password-prompt-regexp):
4099 Use `password-word-equivalents' if available.
4100 (tramp-action-password, tramp-process-one-action)
4101 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4102
4103 2014-01-17 Chong Yidong <cyd@gnu.org>
4104
4105 * simple.el (password-word-equivalents): New defcustom.
4106 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4107 to 24.4.
4108 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4109 to t. (Bug#13124)
4110
4111 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4112
4113 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4114 (ruby-align-to-stmt-keywords): Change the default value.
4115 Use `ruby-alignable-keywords' to generate the possible customization
4116 choices.
4117 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4118 keywords, check against the value of `ruby-alignable-keywords'
4119 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4120
4121 2014-01-17 Glenn Morris <rgm@gnu.org>
4122
4123 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4124
4125 Make M-x authors return zero *Authors Errors* from current logs.
4126 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4127 (authors-ignored-files): Add some entries, remove others.
4128 (authors-ambiguous-files, authors-valid-file-names):
4129 Add some entries.
4130 (authors-renamed-files-alist): Add, remove, and adjust entries.
4131 (authors-renamed-files-regexps): Add some entries.
4132 Remove some very broad ones. Make some entries `lax'.
4133 (authors-lax-changelogs): New constant.
4134 (authors-disambiguate-file-name): Treat top-level specially.
4135 (authors-lax-changelog-p): New function.
4136 (authors-canonical-file-name): Check file as written against
4137 authors-valid-file-names. Do not special-case etc/.
4138 Handle `lax' logs and authors-renamed-files-regexps elements.
4139
4140 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4141
4142 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4143 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4144 callers.
4145
4146 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4149 Assume we're already in the proper buffer.
4150 Inspired by Anders Lindgren <andlind@gmail.com>.
4151 (follow-post-command-hook): Call it from the right buffer.
4152 (follow-comint-scroll-to-bottom): Adjust call.
4153 (follow-all-followers): Use get-buffer-window-list.
4154
4155 2014-01-15 Daniel Colascione <dancol@dancol.org>
4156
4157 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4158 `buffer-file-name' in interactive-form so that we don't leave
4159 pathless file names in `file-name-history'.
4160
4161 2014-01-15 Juri Linkov <juri@jurta.org>
4162
4163 * indent.el (indent-rigidly): Set deactivate-mark to nil
4164 in transient indentation mode. (Bug#16438)
4165
4166 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4167
4168 * emacs-lisp/package.el (package-desc-keywords): New function
4169 (Bug#16222).
4170 (describe-package-1, package-all-keywords)
4171 (package--has-keyword-p): Use it.
4172
4173 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4174
4175 * simple.el (define-alternatives): When creating the
4176 COMMAND-alternatives variable, assign COMMAND as its definition
4177 name so that `describe-variable' can relocate it.
4178
4179 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4180
4181 * font-lock.el (font-lock-keywords): Fix typo in docstring
4182 (bug#16307).
4183
4184 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4185
4186 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4187 line instead of wrongly reset `add-coment' (bug#13577).
4188
4189 2014-01-14 Daiki Ueno <ueno@gnu.org>
4190
4191 * epa-file.el (epa-file-write-region): Encode the region according
4192 to `buffer-file-format'. Problem reported at:
4193 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4194
4195 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4198 so it applies in the right buffer (bug#16410).
4199
4200 2014-01-13 Daniel Colascione <dancol@dancol.org>
4201
4202 * textmodes/rst.el (rst-define-key): Provide deprecated
4203 keybindings through named functions instead of anonymous ones so
4204 that "??" doesn't appear in describe-mode output.
4205
4206 2014-01-13 Bastien Guerry <bzg@gnu.org>
4207
4208 * simple.el (define-alternatives): Call the selected command
4209 interactively. When setting `COMMAND--implementation' for the
4210 first time, tell the user how to chose another implementation.
4211 Enhance the docstring.
4212
4213 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4216 (log-edit--match-first-line): New function.
4217 (log-edit-font-lock-keywords): Use it.
4218 (log-edit-mode): Make jit-lock-defer-multiline work.
4219
4220 2014-01-13 Bastien Guerry <bzg@gnu.org>
4221
4222 * rect.el (rectangle-mark-mode): When the region is not active,
4223 display a message saying that the mark as been set and that
4224 rectangle mode is in use.
4225 (rectangle--highlight-for-redisplay): Only put an overlay with a
4226 visible vertical bar when (display-graphic-p) is non-nil.
4227 This partially fixes Bug#16403.
4228
4229 2014-01-13 Juri Linkov <juri@jurta.org>
4230
4231 * info.el (Info-find-file): Go to DIR before displaying the error
4232 about a nonexistent file if no previous Info file is visited.
4233 Use `user-error' instead of `error' for "Info file %s does not exist".
4234 (Info-find-node-2): In case of a nonexistent node in unwind forms
4235 go to the Top node if there is no previous node to revert to.
4236 (Bug#16405)
4237
4238 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4239
4240 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4241 * window.el (fit-frame-to-buffer): Fix doc-string.
4242 Respect window-min-height/-width. Fit pixelwise when
4243 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4244 when avoiding that frame goes partially off-screen.
4245 (fit-window-to-buffer): Respect window-min-height/-width
4246 (Bug#14096).
4247
4248 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4251 after an empty line.
4252
4253 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * net/shr.el (shr-render-region): Autoload.
4256
4257 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4258
4259 * net/eww.el (eww-download-directory): Rename from
4260 `eww-download-path' (Bug#16419).
4261
4262 2014-01-12 Leo Liu <sdl.web@gmail.com>
4263
4264 * dired-x.el (dired-mode-map): Fix last change.
4265
4266 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4267
4268 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4269
4270 Spelling fixes.
4271 * emacs-lisp/generic.el (generic--normalize-comments):
4272 Rename from generic--normalise-comments. All uses changed.
4273 * play/bubbles.el (bubbles--neighborhood-score)
4274 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4275 (bubbles--neighborhood-available)
4276 (bubbles--update-neighborhood-score):
4277 Rename from names with 'neighbourhood'. All uses changed.
4278
4279 2014-01-12 Leo Liu <sdl.web@gmail.com>
4280
4281 Re-implement the feature of showing eldoc info after editing.
4282 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4283 (eldoc-edit-message-commands): New function.
4284 (eldoc-print-after-edit): New variable.
4285 (eldoc-pre-command-refresh-echo-area): Emit message only by
4286 eldoc-message-commands.
4287 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4288 if eldoc-print-after-edit is set. (Bug#16346)
4289 * simple.el (read--expression): Enable eldoc-mode.
4290 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4291
4292 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4293 Eric S. Raymond <esr@thyrsus.com>
4294
4295 * version.el (emacs-repository-get-version): Enhance so the
4296 function works correctly in either a Bazaar or Git repo.
4297
4298 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4299
4300 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4301 Goes with removal of the joke manpages from /etc.
4302
4303 2014-01-10 Kenichi Handa <handa@gnu.org>
4304
4305 * mail/rmail.el (rmail-get-coding-system):
4306 Check rmail-get-coding-function before "funcall"ing it.
4307
4308 2014-01-10 Glenn Morris <rgm@gnu.org>
4309
4310 * emacs-lisp/authors.el (authors-fixed-entries):
4311 Update for files that no longer exist.
4312
4313 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4314
4315 * version.el (emacs-bzr-get-version): Restore compatibilty with
4316 24.3 (Tested).
4317
4318 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4319
4320 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4321 and Podfile.
4322
4323 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4324
4325 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4326
4327 2014-01-10 Chong Yidong <cyd@gnu.org>
4328
4329 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4330
4331 2014-01-10 Anders Lindgren <andlind@gmail.com>
4332
4333 * follow.el (follow-cache-command-list): Include right-char and
4334 left-char.
4335
4336 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4337
4338 Spelling fixes.
4339 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4340 * woman.el (woman-mark-horizontal-position):
4341 Rename from woman-mark-horizonal-position. Use changed.
4342
4343 2014-01-10 Glenn Morris <rgm@gnu.org>
4344
4345 * info.el (info-initialize): If running uninstalled, ensure our
4346 own info files are always found first, even if INFOPATH is set.
4347
4348 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4349
4350 2014-01-09 David Engster <deng@randomsample.de>
4351
4352 * emacs-lisp/eieio-custom.el:
4353 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4354 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4355 * emacs-lisp/eieio.el: Regenerate autoloads.
4356
4357 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4358
4359 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4360 following renames. (Bug#8756)
4361
4362 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4365 (bug#16382).
4366 (activate-mark): Add `no-tmm' argument.
4367 (set-mark, push-mark-command): Use it instead of running
4368 activate-mark-hook by hand.
4369
4370 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4371
4372 In preparation for the move to git, sanitize out some
4373 Bazaar-specific names.
4374
4375 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4376
4377 * version.el (emacs-bzr-version): Name changed to
4378 emacs-repository-version. Obsolete-variable alias made.
4379 * loadup.el: Follow through on this name change.
4380 * mail/emacsbug.el (report-emacs-bug): Factor out any
4381 assumption about the version control system in use.
4382
4383 2014-01-08 David Engster <deng@randomsample.de>
4384
4385 * help-fns.el (help-fns-describe-function-functions):
4386 New variable to call functions for augmenting help buffers.
4387 (describe-function-1): Remove explicit calls to
4388 `help-fns--compiler-macro', `help-fns--parent-mode' and
4389 `help-fns--obsolete'. Put them in above new variable instead, and
4390 call them through `run-hook-with-args'.
4391 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4392 `eieio-describe-class'. Not meant for interactive use anymore,
4393 but to augment existing help buffers. Remove optional second
4394 argument. Create proper button for file location.
4395 Rewrite function to use `insert' instead of `princ' and `prin1' where
4396 possible.
4397 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4398 (eieio-method-def, eieio-class-def): Move further up.
4399 (describe-method, describe-generic, eieio-describe-method):
4400 Remove aliases.
4401 (eieio-help-constructor, eieio-help-generic): Rename from
4402 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4403 Rewrite to use `insert' in the current buffer and use proper help
4404 buttons.
4405 (eieio-help-find-method-definition)
4406 (eieio-help-find-class-definition): Also accept symbols as
4407 arguments.
4408 (eieio-help-mode-augmentation-maybee): Remove.
4409 (eieio-describe-class-sb): Use `describe-function'.
4410 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4411 Add `eieio-help-generic' and `eieio-help-constructor'.
4412
4413 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4414
4415 Spelling fixes.
4416 * language/china-util.el (hz-ascii-designation):
4417 Rename from hz-ascii-designnation.
4418 (hz-ascii-designation): Rename from hz-ascii-designnation.
4419 All uses changed.
4420
4421 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4424 package-alist.
4425
4426 2014-01-08 Bastien Guerry <bzg@gnu.org>
4427
4428 * emacs-lisp/package.el (package-delete):
4429 Correctly delete the package from package-alist.
4430
4431 2014-01-08 Daiki Ueno <ueno@gnu.org>
4432
4433 * emacs-lisp/package.el (url-recreate-url): Declare.
4434 (url-http-target-url): Declare.
4435 (package-handle-response): Include requested URL in the error message.
4436 (package--check-signature): Don't re-signal errors from
4437 package--with-work-buffer. Suggested by Stefan Monnier.
4438
4439 2014-01-07 Bastien Guerry <bzg@gnu.org>
4440
4441 * minibuffer.el (completion--try-word-completion): When both a
4442 hyphen and a space are possible candidates for the character
4443 following a word, display both candidates. (Bug#15980)
4444
4445 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4446
4447 * window.el (balance-windows-2): While rounding don't give a
4448 window more than the remainder. Bug#16351, bug#16383.
4449
4450 2014-01-07 Glenn Morris <rgm@gnu.org>
4451
4452 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4453 (menu-bar-help-menu): Use view-external-packages instead.
4454
4455 2014-01-07 Bastien Guerry <bzg@gnu.org>
4456
4457 * emacs-lisp/package.el (package-delete): Also delete the package
4458 name from `package-alist', not its description only.
4459
4460 2014-01-07 Glenn Morris <rgm@gnu.org>
4461
4462 * help.el (view-external-packages):
4463 * menu-bar.el (menu-bar-help-extra-packages):
4464 Visit efaq.info rather than etc/MORE.STUFF.
4465
4466 2014-01-07 Juri Linkov <juri@jurta.org>
4467
4468 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4469 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4470
4471 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4472 that shadows RET. (Bug#16342)
4473
4474 2014-01-07 Chong Yidong <cyd@gnu.org>
4475
4476 * isearch.el (isearch-yank-char, isearch-yank-word)
4477 (isearch-yank-line): Doc fix.
4478
4479 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4482 * emacs-lisp/elint.el (elint-find-builtins):
4483 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4484 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4485 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4486 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4487 * apropos.el (apropos-safe-documentation):
4488 * subr.el (symbol-file): Remove redundant fboundp.
4489 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4490
4491 2014-01-06 Bastien Guerry <bzg@gnu.org>
4492
4493 * hl-line.el (global-hl-line-overlay): Make a local variable.
4494 (global-hl-line-overlays): New variable to store all overlays.
4495 (global-hl-line-mode): Don't delete overlays from the current
4496 buffer when `global-hl-line-sticky-flag' is non-nil.
4497 (global-hl-line-highlight): Add new overlays to
4498 `global-hl-line-overlays'.
4499 (global-hl-line-unhighlight-all): New function to delete all
4500 overlays when turning off `global-hl-line-mode'.
4501 This fixes Bug#16183.
4502
4503 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * subr.el (set-transient-map): Fix nested case and docstring.
4506
4507 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4508
4509 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4510 `Texinfo' entry.
4511
4512 2014-01-06 Daniel Colascione <dancol@dancol.org>
4513
4514 Fix defun navigation in vc log view.
4515
4516 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4517 like `beginning-of-defun'.
4518 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4519 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4520 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4521 (log-view-extract-comment): Call `log-view-current-entry' directly
4522 instead of relying on broken `log-view-beginning-of-defun' behavior.
4523
4524 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4525
4526 Spelling fixes.
4527 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4528 * emacs-lisp/debug.el (cancel-debug-on-entry):
4529 * epg.el (epg-error-to-string):
4530 * files.el (recover-file):
4531 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4532 * mail/emacsbug.el (report-emacs-bug-hook):
4533 * mail/sendmail.el (mail-recover):
4534 * ses.el (ses-yank-resize):
4535 * term/ns-win.el (ns-print-buffer):
4536 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4537 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4538 All uses changed.
4539 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4540
4541 2014-01-06 Leo Liu <sdl.web@gmail.com>
4542
4543 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4544 to avoid shadowing global key. (Bug#16354)
4545
4546 2014-01-06 Daniel Colascione <dancol@dancol.org>
4547
4548 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4549 rst-mode.
4550
4551 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4552
4553 * window.el (balance-windows): Add mising t to fix Bug#16351.
4554
4555 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4556
4557 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4558 (bug#16285).
4559 (shr-insert): If we have a word that's longer than `shr-width',
4560 break after it anyway. Otherwise we'll do no breaking once we get
4561 such a long word.
4562
4563 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4564
4565 * net/eww.el (eww): Support single/double quote for search.
4566 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4567 (eww-history-quit): Delete and use quit-window.
4568 (eww-history-kill): Delete, because it doesn't work well and
4569 not necessary.
4570 (eww-history-mode-map): Delete some keys and add easy-menu.
4571
4572 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4573
4574 Fix misspelling of 'chinese' in rx (Bug#16237).
4575 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4576 chinese-two-byte.
4577
4578 Change subword regexps back to vars (Bug#16296).
4579 * progmodes/subword.el (subword-forward-regexp)
4580 (subword-backward-regexp): Change these back to variables.
4581
4582 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4585 syntax-begin-function (bug#16247).
4586
4587 2014-01-03 Chong Yidong <cyd@gnu.org>
4588
4589 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4590 (advice--docstring): Delete variable.
4591 (advice--make-1): Leave the docstring empty.
4592 (advice-add): Use function-documentation for advised docstring.
4593
4594 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4595 Ignore function-documentation property when getting documentation.
4596 (ad-activate-advised-definition): Use function-documentation
4597 generate the docstring.
4598 (ad-make-advised-definition): Don't call
4599 ad-make-advised-definition-docstring.
4600 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4601 Delete functions.
4602
4603 * progmodes/sql.el (sql-help): Use function-documentation instead
4604 of dynamic-docstring-function property. No need to autoload now.
4605 (sql--help-docstring): New variable.
4606 (sql--make-help-docstring): Use it.
4607
4608 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * ielm.el (ielm-tab): Retarget.
4611 (ielm-map): Use ielm-tab for tab.
4612 (ielm-complete-filename): Use comint-filename-completion.
4613 (ielm-complete-symbol): Remove.
4614 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4615 remove ielm-tab from completion-at-point-functions (bug#16224).
4616
4617 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4618 Beware signals raised by predicates (bug#16201).
4619
4620 2014-01-02 Richard Stallman <rms@gnu.org>
4621
4622 * dired-aux.el (dired-do-print): Handle printer-name.
4623
4624 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4625 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4626 (rmail-epa-decrypt): Turn off mime processing.
4627
4628 * mail/rmail.el (rmail-make-in-reply-to-field):
4629 Add parens in message-id.
4630
4631 * mail/rmail.el (rmail-get-coding-function): Variable.
4632 (rmail-get-coding-system): Use it.
4633
4634 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4635
4636 * international/mule-conf.el: Unify the charset indian-is13194.
4637 (indian-is13194): Specify unify-map.
4638
4639 2013-12-31 Leo Liu <sdl.web@gmail.com>
4640
4641 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4642
4643 2013-12-30 Daniel Colascione <dancol@dancol.org>
4644
4645 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4646 of printing a useless when we resume from sleep.
4647
4648 * progmodes/sh-script.el
4649 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4650 in indentation code. (Bug#16233)
4651
4652 2013-12-28 João Távora <joaotavora@gmail.com>
4653
4654 * elec-pair.el (electric-pair-post-self-insert-function):
4655 Don't open extra newlines at beginning of buffer. (Bug#16272)
4656
4657 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4658
4659 * frame.el (window-system-for-display): Don't allow to create a
4660 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4661
4662 2013-12-28 Glenn Morris <rgm@gnu.org>
4663
4664 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4665 Update callers.
4666
4667 * apropos.el (apropos-match-face):
4668 * calculator.el (calculator-displayer):
4669 * dabbrev.el (dabbrev-search-these-buffers-only):
4670 * face-remap.el (buffer-face-mode-face):
4671 * simple.el (yank-handled-properties):
4672 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4673 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4674 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4675 (hashcash-double-spend-database):
4676 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4677 (ruby-deep-indent-paren-style):
4678 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4679 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4680 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4681 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4682 Specify custom types.
4683
4684 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4685 * bookmark.el (bookmark-bmenu-use-header-line):
4686 * doc-view.el (doc-view-scale-internally):
4687 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4688 * register.el (register-preview-delay):
4689 * net/shr.el (shr-bullet):
4690 * progmodes/cfengine.el (cfengine-cf-promises)
4691 (cfengine-parameters-indent):
4692 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4693 * textmodes/reftex-vars.el (reftex-label-regexps):
4694 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4695
4696 * net/tls.el (tls-certtool-program): Fix default value.
4697
4698 * desktop.el (desktop-restore-in-current-display):
4699 * newcomment.el (comment-empty-lines):
4700 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4701 (idlwave-pad-keyword):
4702 * progmodes/tcl.el (tcl-tab-always-indent):
4703 * textmodes/reftex-vars.el (reftex-index-default-tag):
4704 * elec-pair.el (electric-pair-skip-whitespace):
4705 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4706
4707 * emacs-lisp/authors.el (authors-ignored-files)
4708 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4709
4710 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4711
4712 * shell.el (shell-dynamic-complete-command): Doc fix.
4713 (shell--command-completion-data): Shell completion now matches
4714 executable filenames from the current buffer's directory, on
4715 systems in which this behavior is the default (windows-nt, ms-dos).
4716
4717 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4718
4719 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4720
4721 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4724 (bug#16251).
4725
4726 * electric.el: Move all electric-pair-* to elec-pair.el.
4727 * elec-pair.el: New file, split from electric.el.
4728
4729 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4730
4731 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4732 indentation level is larger than the width, because that will
4733 infloop.
4734 (shr-insert): Fill repeatedly long texts, so that Japanese is
4735 formatted correctly (bug#16263).
4736 (shr-find-fill-point): Off by one error in comparison with the
4737 indentation.
4738
4739 2013-12-26 João Távora <joaotavora@gmail.com>
4740
4741 * electric.el (electric-pair-mode): More flexible engine for skip-
4742 and inhibit predicates, new options for pairing-related functionality.
4743 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4744 if that keeps or improves their balance in buffers.
4745 (electric-pair-delete-adjacent-pairs): Delete the pair when
4746 backspacing over adjacent matched delimiters.
4747 (electric-pair-open-extra-newline): Open extra newline when
4748 inserting newlines between adjacent matched delimiters.
4749 (electric--sort-post-self-insertion-hook):
4750 Sort post-self-insert-hook according to priority values when
4751 minor-modes are activated.
4752 * simple.el (newline-and-indent): Call newline with interactive
4753 set to t.
4754 (blink-paren-post-self-insert-function): Set priority to 100.
4755 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4756 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4757 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4758 electric-pair-open-newline-between-pairs to nil.
4759
4760 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4761
4762 * progmodes/python.el: Use lexical-binding.
4763 (python-nav-beginning-of-defun): Stop searching ASAP.
4764
4765 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4766
4767 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4768 Fix interactive spec. Doc fix. (Bug#15754)
4769
4770 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4771
4772 * emacs-lisp/byte-run.el (eval-when-compile):
4773 * progmodes/cc-defs.el (cc-eval-when-compile):
4774 Fix edebug spec (bug#16184).
4775
4776 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4777
4778 * net/shr.el (shr-visit-file): Remove debugging function.
4779 (shr-insert): Don't infloop if we can't find a good place to break
4780 the line (bug#16256).
4781
4782 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4783
4784 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4785 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4786 python-nav-lisp-forward-sexp-safe.
4787 (python-nav--forward-sexp): New argument SAFE allows switching
4788 forward sexp movement behavior for parens.
4789 (python-nav-forward-sexp): Throw errors on unterminated parens
4790 (Bug#16191).
4791 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4792 (python-nav-backward-sexp-safe): New functions.
4793 (python-shell-buffer-substring):
4794 Use `python-nav-forward-sexp-safe'.
4795
4796 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4797
4798 * net/shr.el (shr-find-fill-point): Don't break lines before a
4799 quotation mark.
4800 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4801 (shr-find-fill-point): Remove the special checks for the quotation
4802 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4803
4804 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4805
4806 * net/eww.el (eww-form-textarea): Use a different face for
4807 textareas than text input since they have different keymaps
4808 (bug#16142).
4809
4810 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4811
4812 * progmodes/python.el (python-nav-beginning-of-statement):
4813 Speed up (Bug#15295).
4814
4815 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4816
4817 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4818 the window configuration.
4819
4820 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4821
4822 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4823 we run on MS-Windows or MS-DOS.
4824
4825 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4826
4827 * window.el (balance-windows-area): Call window-size instead of
4828 window-height and window-width. Bug#16241.
4829
4830 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4831
4832 * net/eww.el (eww-bookmark-quit): Remove.
4833 (eww-bookmark-browse): Restore the window configuration when you
4834 choose a bookmark (bug#16144).
4835
4836 2013-12-24 Daniel Colascione <dancol@dancol.org>
4837
4838 * icomplete.el: Remove redundant :group arguments to `defcustom'
4839 throughout.
4840 (icomplete-show-matches-on-no-input): New customizable variable.
4841 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4842 we have something to show.
4843 (icomplete-exhibit): Compute completions even if we have no user input.
4844
4845 2013-12-23 Daniel Colascione <dancol@dancol.org>
4846
4847 * icomplete.el: Move `provide' to end of file.
4848
4849 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4850
4851 * net/gnutls.el (gnutls-verify-error): Add version tag.
4852
4853 2013-12-23 Chong Yidong <cyd@gnu.org>
4854
4855 * subr.el (set-transient-map): Rename from
4856 set-temporary-overlay-map. Doc fix.
4857
4858 * face-remap.el (text-scale-adjust):
4859 * indent.el (indent-rigidly):
4860 * kmacro.el (kmacro-call-macro):
4861 * minibuffer.el (minibuffer-force-complete):
4862 * repeat.el (repeat):
4863 * simple.el (universal-argument--mode):
4864 * calendar/todo-mode.el (todo-insert-item--next-param):
4865 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4866
4867 * indent.el (indent-rigidly): Use substitute-command-keys.
4868
4869 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4870
4871 * net/eww.el (eww-tag-select): Add text-property to jump to next
4872 select field.
4873 (eww): Add non-supported ftp error.
4874
4875 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4876
4877 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4878 comments. Handle electric indent after typing `?' and `!'.
4879
4880 2013-12-22 Chong Yidong <cyd@gnu.org>
4881
4882 * faces.el (face-spec-recalc): If the theme specs are not
4883 applicable to a frame, fall back on the defface spec.
4884 This prevents themes from obliterating faces on low-color terminals.
4885
4886 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4887
4888 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4889 after `{'. We need it after block openers, and it doesn't seem
4890 to hurt after hash openers.
4891
4892 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4893
4894 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4895 extracted from `ruby-smie-rules'.
4896 (ruby--electric-indent-chars): New variable.
4897 (ruby--electric-indent-p): New function.
4898 (ruby-mode): Use `electric-indent-functions' instead of
4899 `electric-indent-chars'.
4900
4901 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4902
4903 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4904 docstring.
4905 (ruby-smie-rules): Indent plus one level after `=>'.
4906
4907 2013-12-21 Richard Stallman <rms@gnu.org>
4908
4909 * simple.el (newline): Doc fix.
4910
4911 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4912
4913 * net/eww.el (eww-list-histories, eww-list-histories)
4914 (eww-history-browse, eww-history-quit, eww-history-kill)
4915 (eww-history-mode-map, eww-history-mode): New command and
4916 functions to list browser histories.
4917 (eww-form-text): Support text form with disabled
4918 and readonly attributes.
4919 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4920
4921 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4922
4923 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4924 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4925 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4926 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4927 Use `user-error'.
4928 (eww-bookmark-mode-map): Add menu.
4929 (eww-render, eww-mode): Use `setq-local'.
4930 (eww-tool-bar-map): New variable.
4931 (eww-mode): Set `tool-bar-map'.
4932 (eww-view-source): Check for `html-mode' with `fboundp'.
4933
4934 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4935
4936 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4937 elements with text inside. Also remove debugging.
4938
4939 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4940
4941 * cus-start.el (all): Add ns-use-srgb-colorspace.
4942
4943 2013-12-21 Chong Yidong <cyd@gnu.org>
4944
4945 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4946 undefined. Thus, theme settings for undefined faces do not take
4947 effect until the faces are defined with defface, the same as with
4948 theme variables.
4949
4950 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4951 (face-spec-reset-face): Don't assign extra properties in temacs.
4952 (face-spec-recalc): Apply X resources too.
4953
4954 2013-12-21 Chong Yidong <cyd@gnu.org>
4955
4956 * faces.el (face-spec-set):
4957 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4958 * custom.el (defface): Doc fixes (Bug#16203).
4959
4960 * indent.el (indent-rigidly-map): Add docstring, and move commands
4961 into named functions.
4962 (indent-rigidly-left, indent-rigidly-right)
4963 (indent-rigidly-left-to-tab-stop)
4964 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4965 indentation direction based on bidi direction, and accumulate
4966 sequential commands in a single undo boundary.
4967 (indent-rigidly--pop-undo): New utility function.
4968
4969 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4970
4971 * faces.el (read-face-name): Require crm.el when using crm-separator.
4972
4973 2013-12-20 Daniel Colascione <dancol@dancol.org>
4974
4975 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4976 so that we don't reflow comments into the shebang line.
4977
4978 2013-12-20 Juri Linkov <juri@jurta.org>
4979
4980 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4981 a position when `dired-directory' is non-nil. Check integer
4982 positions with `integerp'.
4983 (toggle-save-place, save-places-to-alist): Add check for
4984 `dired-directory'.
4985 (save-place-find-file-hook): Check integer positions with
4986 `integerp'.
4987 (save-place-dired-hook): Use `dired-goto-file' when
4988 `dired-filename' is found in the assoc list. Check integer
4989 positions with `integerp'.
4990 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4991
4992 * dired.el (dired-initial-position-hook): Rename back from
4993 `dired-initial-point-hook'.
4994 (dired-initial-position): Rename `dired-initial-point-hook' to
4995 `dired-initial-position-hook'.
4996 (dired-file-name-at-point): Doc fix. (Bug#15329)
4997
4998 2013-12-20 Juri Linkov <juri@jurta.org>
4999
5000 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5001 (read-regexp-suggestions): New function.
5002 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5003 Use `read-regexp-suggestions'. Add non-empty default to history
5004 for empty input.
5005 (occur-read-regexp-defaults-function): Remove function.
5006 (occur-read-primary-args): Use `regexp-history-last' instead of
5007 `occur-read-regexp-defaults-function'.
5008
5009 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5010 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5011 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5012 `hi-lock-read-regexp-defaults-function'. Doc fix.
5013 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5014 with `find-tag-default-as-symbol-regexp'. Doc fix.
5015 (hi-lock-read-regexp-defaults): Remove function.
5016 (hi-lock-regexp-okay): Add check for null.
5017
5018 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5019 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5020
5021 * subr.el (find-tag-default-as-symbol-regexp): New function.
5022 (find-tag-default-as-regexp): Move symbol regexp formatting to
5023 `find-tag-default-as-symbol-regexp'.
5024
5025 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5026
5027 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5028 (Bug#14179)
5029
5030 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5031
5032 * calendar/todo-mode.el: New implementation of item insertion
5033 commands and key bindings.
5034 (todo-key-prompt): New face.
5035 (todo-insert-item): New command.
5036 (todo-insert-item--parameters): New defconst, replacing defvar
5037 todo-insertion-commands-args-genlist.
5038 (todo-insert-item--param-key-alist): New defconst, replacing
5039 defvar todo-insertion-commands-arg-key-list.
5040 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5041 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5042 (todo-insert-item--next-param): New functions.
5043 (todo-insert-item--args, todo-insert-item--argleft)
5044 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5045 New variables.
5046 (todo-key-bindings-t): Change binding of "i" from
5047 todo-insertion-map to todo-insert-item.
5048 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5049 (todo-insertion-command-name, todo-insertion-commands-names)
5050 (todo-define-insertion-command, todo-insertion-commands)
5051 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5052
5053 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5054
5055 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5056 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5057 eval-when-compile.
5058 (todo-move-category): Allow choosing a non-existing todo file to
5059 move the category to, and create that file.
5060 (todo-default-priority): New user option.
5061 (todo-set-item-priority): Use it.
5062 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5063 (desktop-restore-file-buffer): Declare.
5064 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5065 (todo-modes-set-2): Locally set desktop-save-buffer to
5066 todo-desktop-save-buffer.
5067 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5068 (auto-mode-alist): Add autoload cookie.
5069
5070 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5071
5072 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5073 helpers.el was a poor choice of name.
5074 (string-remove-prefix): New function.
5075 (string-remove-suffix): New function.
5076
5077 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5078
5079 Fix assignment for new window total sizes.
5080 * window.el (window--pixel-to-size): Remove function.
5081 (window--pixel-to-total-1, window--pixel-to-total):
5082 Fix calculation of new total sizes.
5083
5084 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5085
5086 * comint.el (comint-output-filter): Fix rear-nonsticky property
5087 placement (Bug#16010).
5088
5089 2013-12-20 Chong Yidong <cyd@gnu.org>
5090
5091 * faces.el (read-color): Minor fix for completion function.
5092
5093 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5094
5095 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5096 New option. (Bug#16182)
5097 (ruby-smie--indent-to-stmt-p): Use it.
5098 (ruby-smie-rules): Revert the logic in the handling of `when'.
5099 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5100 (ruby-deep-arglist, ruby-deep-indent-paren)
5101 (ruby-deep-indent-paren-style): Update docstrings to note that the
5102 vars don't have any effect with SMIE.
5103
5104 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5105
5106 * calc/calc.el (calc-enter, calc-pop): Use the variable
5107 `calc-context-sensitive-enter'.
5108
5109 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5110
5111 * net/shr.el (shr-insert): Protect against infloops in degenerate
5112 tables.
5113
5114 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5115
5116 * progmodes/octave.el (octave): Add link to manual and octave
5117 homepage.
5118 (octave-mode-menu): Link to octave-mode manual.
5119
5120 2013-12-20 Leo Liu <sdl.web@gmail.com>
5121
5122 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5123 insertion using skeleton-end-newline. (Bug#16138)
5124
5125 2013-12-20 Juri Linkov <juri@jurta.org>
5126
5127 * replace.el (occur-engine): Use `add-face-text-property'
5128 to add the face property to matches and titles. (Bug#14645)
5129
5130 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5131 the palette of other hi-lock colors.
5132 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5133
5134 2013-12-19 Juri Linkov <juri@jurta.org>
5135
5136 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5137 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5138 (minibuffer-history-symbol): Move variable declaration closer to
5139 its usage.
5140
5141 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5142 (Bug#14785)
5143
5144 2013-12-19 Juri Linkov <juri@jurta.org>
5145
5146 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5147 New function.
5148 (log-edit-hook): Add it to :options. (Bug#16170)
5149
5150 2013-12-19 Juri Linkov <juri@jurta.org>
5151
5152 * simple.el (eval-expression-print-format): Don't check for
5153 command names and the last command. Always display additional
5154 formats of the integer result in the echo area, and insert them
5155 to the current buffer only with a zero prefix arg.
5156 Display character when char-displayable-p is non-nil.
5157 (eval-expression): With a zero prefix arg, set `print-length' and
5158 `print-level' to nil, and insert the integer values from
5159 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5160
5161 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5162 `eval-last-sexp-arg-internal'. Doc fix.
5163 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5164 `eval-last-sexp-print-value'. Doc fix.
5165 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5166 Set `print-length' and `print-level' to nil when arg is zero.
5167 (eval-last-sexp): Doc fix.
5168 (eval-defun-2): Print the integer values from
5169 `eval-expression-print-format' at the end.
5170
5171 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5172 values from `eval-expression-print-format' at the end.
5173
5174 * ielm.el (ielm-eval-input): Print the integer
5175 values from `eval-expression-print-format' at the end.
5176
5177 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5178
5179 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5180 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5181
5182 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5185 (hl-line-highlight, global-hl-line-highlight): Use it.
5186 (hl-line-overlay): Use defvar-local.
5187
5188 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5189
5190 * term/ns-win.el: Require dnd.
5191 (global-map): Remove drag items.
5192 (ns-insert-text, ns-set-foreground-at-mouse)
5193 (ns-set-background-at-mouse):
5194 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5195 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5196 New functions.
5197
5198 2013-12-19 Glenn Morris <rgm@gnu.org>
5199
5200 * emacs-lisp/ert.el (ert-select-tests):
5201 Fix string/symbol mixup. (Bug#16121)
5202
5203 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5204
5205 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5206 keywords to their parent.
5207
5208 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5209
5210 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5211 first arg to be a string (fixed dead code), or an operator symbol.
5212 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5213 operator symbols.
5214 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5215 did nothing. Don't respond to `(:after ".")', it will be called
5216 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5217 change anything. Only return indentation for binary operators
5218 when they are hanging. De-dent opening paren when its parent is
5219 `.', otherwise it looks bad when the dot is not at bol or eol
5220 (bug#16182).
5221
5222 2013-12-19 Juri Linkov <juri@jurta.org>
5223
5224 * replace.el (query-replace-read-args): Split a non-negative arg
5225 and a negative arg into separate elements.
5226 (query-replace, query-replace-regexp, replace-string)
5227 (replace-regexp): Add arg `backward'. Doc fix.
5228 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5229 move point to the beginning of the match.
5230 (replace-search, replace-highlight): Use new arg `backward'
5231 to set the value of `isearch-forward'.
5232 (perform-replace): Add arg `backward' and use it to perform
5233 replacement backward. (Bug#14979)
5234
5235 * isearch.el (isearch-query-replace): Use a negative prefix arg
5236 to call `perform-replace' with a non-nil arg `backward'.
5237
5238 2013-12-18 Juri Linkov <juri@jurta.org>
5239
5240 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5241 to the default list. Move `log-edit-show-files' to the end.
5242 Add more available functions to options.
5243 (log-edit): Move default specific settings to
5244 `log-edit-insert-message-template'. Don't move point.
5245 (log-edit-insert-message-template): New function.
5246 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5247 (Bug#16170)
5248
5249 2013-12-18 Juri Linkov <juri@jurta.org>
5250
5251 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5252 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5253
5254 2013-12-18 Leo Liu <sdl.web@gmail.com>
5255
5256 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5257 (Bug#16186)
5258
5259 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5260
5261 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5262 formats for displaying file sizes when the -s switch is given.
5263 Instead, compute a separate format for displaying the size in
5264 blocks, which is displayed in addition to the "regular" size.
5265 When -h is given in addition to -s, produce size in blocks in
5266 human-readable form as well. (Bug#16179)
5267
5268 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5269
5270 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5271 Reference tables with ~\ref{...} instead of only \ref{...}.
5272
5273 2013-12-18 Chong Yidong <cyd@gnu.org>
5274
5275 * cus-edit.el (custom-magic-alist): Fix "themed" description
5276 (Bug#14348).
5277
5278 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5279 is non-nil, do not create a new entry in the symbol's theme-value
5280 or theme-face property; update theme-settings only (Bug#14664).
5281 (custom-available-themes): Doc fix.
5282
5283 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5284 (Bug#15674).
5285
5286 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5287
5288 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5289
5290 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5291 (Bug#13914).
5292
5293 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5294
5295 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5296
5297 2013-12-18 Glenn Morris <rgm@gnu.org>
5298
5299 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5300 * cus-start.el (load-prefer-newer): New option.
5301
5302 2013-12-18 Le Wang <l26wang@gmail.com>
5303
5304 * comint.el (comint-previous-matching-input-from-input):
5305 Retain point (Bug#13404).
5306
5307 2013-12-18 Chong Yidong <cyd@gnu.org>
5308
5309 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5310
5311 2013-12-18 Glenn Morris <rgm@gnu.org>
5312
5313 * mail/emacsbug.el (report-emacs-bug):
5314 Only mention enable-multibyte-characters if non-standard.
5315
5316 2013-12-17 Juri Linkov <juri@jurta.org>
5317
5318 * arc-mode.el (archive-extract-by-file): Check if directory exists
5319 before deletion to not show irrelevant errors if it doesn't exist.
5320
5321 2013-12-17 Juri Linkov <juri@jurta.org>
5322
5323 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5324 (Bug#14751)
5325
5326 * net/eww.el (browse-web): Add alias to `eww'.
5327 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5328 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5329
5330 * net/browse-url.el (browse-url-browser-function): Move `eww'
5331 closer to similar functions.
5332
5333 * startup.el (fancy-startup-screen, fancy-about-screen):
5334 Set browse-url-browser-function to eww-browse-url locally.
5335 (Bug#14751)
5336
5337 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * window.el (window--pixel-to-total): Remove unused `mini' var.
5340 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5341 (split-window): Remove unused `new' var.
5342 (window--display-buffer): Remove unused `frame' and `delta' vars.
5343 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5344 and display-width'.
5345
5346 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5347
5348 * dired.el (dired-mark-pop-up):
5349 * register.el (register-preview): Don't bind
5350 split-height-threshold here since it's now done in
5351 display-buffer-below-selected.
5352
5353 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5354
5355 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5356 xterm-rgb-convert-to-16bit.
5357 (rxvt-register-default-colors): Standardize with
5358 xterm-register-default-colors (Bug#14078).
5359
5360 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5361
5362 * simple.el (kill-region): Pass mark first, then point, so that
5363 kill-append works right (Bug#12819).
5364 (copy-region-as-kill, kill-ring-save): Likewise.
5365
5366 2013-12-17 Leo Liu <sdl.web@gmail.com>
5367
5368 * net/rcirc.el (rcirc-add-face):
5369 * eshell/em-prompt.el (eshell-emit-prompt):
5370 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5371 (Bug#16167)
5372
5373 2013-12-17 Chong Yidong <cyd@gnu.org>
5374
5375 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5376 Suggested by Xue Fuqiao.
5377
5378 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5379
5380 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5381
5382 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * net/shr.el (shr-insert-document): Remove unused var
5385 `shr-preliminary-table-render'.
5386 (shr-rescale-image): Remove unused arg `force'.
5387 (shr-put-image): Update calls accordingly.
5388 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5389
5390 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5391
5392 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5393 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5394 :close-all, to see which indentation method to use (Bug#16116).
5395 (smie-rules-function): Document the method :close-all.
5396
5397 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5398
5399 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5400
5401 * net/eww.el (eww-display-html): If we can't find the anchor we're
5402 looking for, then go to point-min.
5403
5404 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5405
5406 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5407 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5408 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5409 Expand dir too, in case it's relative.
5410
5411 2013-12-16 Juri Linkov <juri@jurta.org>
5412
5413 * desktop.el (desktop-auto-save-timeout): Change default to
5414 `auto-save-timeout'. Doc fix.
5415 (desktop-save): Skip the timestamp in desktop-saved-frameset
5416 when checking for auto-save changes.
5417 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5418 `desktop-auto-save' is called repeatedly by the idle timer.
5419 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5420 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5421 (Bug#15331)
5422
5423 2013-12-16 Juri Linkov <juri@jurta.org>
5424
5425 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5426 (Bug#16035)
5427 (isearch-pre-command-hook): Check `this-command' for symbolp.
5428
5429 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5432
5433 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5434
5435 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5436 (cfengine3--current-function): Bring in the current-function
5437 functionality from `cfengine3--current-word'.
5438 (cfengine3-completion-function): Bring in the
5439 bounds-of-current-word functionality from
5440 `cfengine3--current-word'.
5441
5442 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5443
5444 * window.el (display-buffer-below-selected):
5445 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5446
5447 2013-12-16 Leo Liu <sdl.web@gmail.com>
5448
5449 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5450 Remove NOMSG arg and all uses changed.
5451
5452 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5455 (cua--deactivate-rectangle): Don't deactivate the mark.
5456 (cua-set-rectangle-mark): Don't set mark-active since
5457 cua--activate-rectangle already does it for us.
5458 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5459 non-rectangular region.
5460
5461 * emulation/cua-base.el (cua-repeat-replace-region):
5462 Use with-current-buffer.
5463
5464 * net/gnutls.el: Use cl-lib.
5465 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5466
5467 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5468
5469 * emacs-lisp/package.el (package-built-in-p): Support both
5470 built-in and the package.el converted package descriptions.
5471 (package-show-package-list): Allow keywords.
5472 (package-keyword-button-action): Use it instead of
5473 `finder-list-matches'.
5474 (package-menu-filter-interactive): Interactive filtering (by
5475 keyword) function.
5476 (package-menu--generate): Support keywords and change keymappings
5477 and headers when they are given.
5478 (package--has-keyword-p): Helper function.
5479 (package-menu--refresh): Use it.
5480 (package--mapc): Helper function.
5481 (package-all-keywords): Use it.
5482 (package-menu-mode-map): Set up menu items and keybindings to
5483 provide a filtering UI.
5484
5485 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5486
5487 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5488 the behavior when a certificate fails validation. Defaults to
5489 old behavior: never abort, just warn.
5490 (gnutls-negotiate): Use it.
5491
5492 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5493
5494 * window.el (display-buffer-below-selected): Never split window
5495 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5496
5497 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5498
5499 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5500 (package-buffer-info): Use it (bug#15108).
5501
5502 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5503
5504 * icomplete.el (icomplete-completions): Make sure the prefix is already
5505 displayed elsewhere before hiding it (bug#16219).
5506
5507 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5508
5509 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5510 open-paren tokens when preceded by a open-paren, too.
5511 (ruby-smie-rules): Handle virtual indentation after open-paren
5512 tokens specially. If there is code between it and eol, return the
5513 column where is starts (Bug#16118).
5514
5515 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5516
5517 * progmodes/cfengine.el: Fix `add-hook' doc.
5518 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5519 (cfengine3--current-word): Fix parameters.
5520 (cfengine3-make-syntax-cache): Simplify further.
5521 (cfengine3-completion-function, cfengine3--current-function):
5522 Use `assq' for symbols.
5523 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5524
5525 2013-12-13 Glenn Morris <rgm@gnu.org>
5526
5527 * loadup.el (load-path): Warn if site-load or site-init changes it.
5528 No more need to reset it when bootstrapping.
5529
5530 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5531
5532 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5533 locations for cf-promises.
5534 (cfengine-mode-syntax-functions-regex): New caching variable.
5535 (cfengine3-fallback-syntax): Fallback syntax for cases where
5536 cf-promises doesn't run.
5537 (cfengine3--current-word): Reimplement using
5538 `cfengine-mode-syntax-functions-regex'.
5539 (cfengine3-completion-function, cfengine3--current-function):
5540 Use `cfengine3-make-syntax-cache' directly.
5541 (cfengine3-clear-syntax-cache): New function.
5542 (cfengine3-make-syntax-cache): Simplify and create
5543 `cfengine-mode-syntax-functions-regex' on demand.
5544 (cfengine3-format-function-docstring): Don't call
5545 `cfengine3-make-syntax-cache' explicitly.
5546
5547 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5548
5549 Fix windmove-find-other-window broken after pixelwise resizing
5550 (Bug#16017).
5551 * windmove.el (windmove-other-window-loc): Revert change from
5552 2013-12-04.
5553 (windmove-find-other-window): Call window-in-direction.
5554 * window.el (window-in-direction): New arguments SIGN, WRAP and
5555 MINI to emulate original windmove-find-other-window behavior.
5556
5557 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5558
5559 * simple.el (blink-matching--overlay): New variable.
5560 (blink-matching-open): Instead of moving point, highlight the
5561 matching paren with an overlay
5562 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5563
5564 * faces.el (paren-showing-faces, show-paren-match)
5565 (show-paren-mismatch): Move from paren.el.
5566
5567 2013-12-13 Leo Liu <sdl.web@gmail.com>
5568
5569 * indent.el (indent-region): Disable progress reporter in
5570 minibuffer. (Bug#16108)
5571
5572 * bindings.el (visual-order-cursor-movement): Fix version.
5573
5574 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5575
5576 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5577 Also match after beginning of line.
5578 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5579 files. Thanks to Russell Sim. (Bug#15378)
5580
5581 2013-12-13 Juri Linkov <juri@jurta.org>
5582
5583 * simple.el <Keypad support>: Remove key bindings duplicated
5584 with bindings.el. (Bug#14397)
5585
5586 2013-12-13 Juri Linkov <juri@jurta.org>
5587
5588 * comint.el (comint-mode-map): Replace `delete-char' with
5589 `delete-forward-char'. (Bug#16109)
5590
5591 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5592
5593 * progmodes/python.el (python-indent-calculate-indentation):
5594 Fix de-denters cornercase. (Bug#15731)
5595
5596 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5599 (advice--make): Pay attention to `depth'.
5600 (advice--make-1): Don't autoload commands eagerly.
5601 * emacs-lisp/elp.el (elp-instrument-function):
5602 * emacs-lisp/trace.el (trace-function-internal):
5603 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5604
5605 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5606
5607 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5608
5609 * term/w32-win.el (w32-handle-dropped-file):
5610 * startup.el (normal-top-level):
5611 * net/browse-url.el (browse-url-file-url):
5612 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5613 decode file names using 'utf-8' rather than
5614 file-name-coding-system.
5615
5616 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5617
5618 * progmodes/python.el (python-indent-context)
5619 (python-indent-calculate-indentation): Fix auto-identation
5620 behavior for comment blocks. (Bug#15916)
5621
5622 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5623
5624 * progmodes/python.el (python-indent-calculate-indentation):
5625 When determining indentation, don't treat "return", "pass", etc., as
5626 operators when they are just string constituents. (Bug#15812)
5627
5628 2013-12-12 Juri Linkov <juri@jurta.org>
5629
5630 * uniquify.el (uniquify-buffer-name-style): Change default to
5631 `post-forward-angle-brackets'.
5632
5633 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5634 `uniquify'. Change default to `post-forward-angle-brackets'.
5635
5636 2013-12-11 Glenn Morris <rgm@gnu.org>
5637
5638 * emacs-lisp/package.el (finder-list-matches):
5639 Autoload rather than falsely declaring.
5640
5641 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5642
5643 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5644 (eww-mode-map): Use them.
5645
5646 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5647
5648 * window.el (display-buffer-in-side-window): Fix doc-string
5649 (Bug#16115).
5650
5651 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5652
5653 * vc/vc-git.el: Silence byte-compiler warnings.
5654 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5655 (log-edit-set-header): Declare.
5656
5657 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5658
5659 * Makefile.in (custom-deps, finder-data): Run output file names
5660 through unmsys--file-name. (Bug#16099)
5661
5662 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5665 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5666
5667 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5668 instead of deleting the selection "by hand" (bug#16098).
5669 Rely on insert-for-yank to yank rectangles.
5670 (cua-highlight-region-shift-only): Mark obsolete.
5671 (cua-mode): Don't enable/disable transient-mark-mode,
5672 shift-select-mode (cua-mode works both with and without them), and
5673 pc-selection-mode (obsolete).
5674 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5675 (cua--deactivate-rectangle): Deactivate it.
5676
5677 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5678 (delete-selection-helper): Make sure yank starts at the top of the
5679 deleted region.
5680 (minibuffer-keyboard-quit): Use region-active-p.
5681
5682 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5683
5684 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5685 to `delete' (bug#16109).
5686
5687 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5688
5689 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5690 info manual and show keybindings and set `:group' keyword.
5691
5692 2013-12-11 Juri Linkov <juri@jurta.org>
5693
5694 * delsel.el (delete-active-region): Let-bind `this-command'
5695 to prevent `kill-region' from changing its original value.
5696 (delete-selection-helper): Handle `overwrite-mode' for the type
5697 `kill' exactly the same way as for the type `t'.
5698 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5699 Support more commands. (Bug#13312)
5700
5701 2013-12-11 Juri Linkov <juri@jurta.org>
5702
5703 * bindings.el: Map kp keys to non-kp keys systematically
5704 with basic modifiers control, meta and shift. (Bug#14397)
5705
5706 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5707
5708 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5709 "Close browser" menu items. Fix wrong function of "List
5710 bookmarks".
5711
5712 2013-12-11 Juri Linkov <juri@jurta.org>
5713
5714 * misearch.el (multi-isearch-buffers): Set the value of
5715 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5716 arg of isearch-forward to t.
5717 (multi-isearch-buffers-regexp): Set the value of
5718 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5719 arg of isearch-forward-regexp to t.
5720 (multi-isearch-files): Set the value of
5721 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5722 arg of isearch-forward to t.
5723 (multi-isearch-files-regexp): Set the value of
5724 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5725 arg of isearch-forward-regexp to t. (Bug#16035)
5726
5727 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5728 arg of isearch-forward to t.
5729 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5730 arg of isearch-forward-regexp to t.
5731 (dired-isearch-filter-filenames): Remove unnecessary check for
5732 `dired-isearch-filenames'.
5733
5734 * comint.el (comint-history-isearch-backward):
5735 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5736 (comint-history-isearch-backward-regexp):
5737 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5738
5739 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5740
5741 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5742 unmsys--file-name. (Bug#16099)
5743
5744 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5745
5746 * emacs-lisp/package.el (package-keyword-button-action):
5747 Remove finder.el require dependency.
5748
5749 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5750
5751 * emacs-lisp/package.el: Require finder.el.
5752 (describe-package-1): Add keyword buttons.
5753 (package-make-button): New convenience function.
5754 (package-keyword-button-action): Keyword button action using
5755 `finder-list-matches'.
5756
5757 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5758
5759 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5760 last commit.
5761
5762 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5763
5764 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5765 symlinked files.
5766
5767 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5768
5769 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5770 after the end of a percent literal.
5771
5772 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5773
5774 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5775 Handle caret-delimited strings (Bug#16079).
5776
5777 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5778
5779 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5780 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5781 `ruby-parse-partial' (Bug#16078).
5782
5783 2013-12-09 Leo Liu <sdl.web@gmail.com>
5784
5785 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5786
5787 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5788
5789 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5790 (js-switch-indent-offset): New option.
5791 (js--proper-indentation): Use it. And handle the case when
5792 "default" is actually a key in an object literal.
5793 (js--same-line): New function.
5794 (js--multi-line-declaration-indentation): Use it.
5795 (js--indent-in-array-comp, js--array-comp-indentation):
5796 New functions.
5797 (js--proper-indentation): Use them, to handle array comprehension
5798 continuations.
5799
5800 2013-12-08 Leo Liu <sdl.web@gmail.com>
5801
5802 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5803 (flymake-make-overlay): Remove arg MOUSE-FACE.
5804 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5805
5806 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5809 New function.
5810 (redisplay-highlight-region-function): Use it.
5811
5812 * emulation/cua-base.el (cua--explicit-region-start)
5813 (cua--last-region-shifted): Remove.
5814 (cua--deactivate): Use deactivate-mark.
5815 (cua--pre-command-handler-1): Don't handle shift-selection.
5816 (cua--post-command-handler-1): Don't change transient-mark-mode.
5817 (cua--select-keymaps): Use region-active-p rather than
5818 cua--explicit-region-start or cua--last-region-shifted.
5819 (cua-mode): Enable shift-select-mode.
5820
5821 2013-12-08 Leo Liu <sdl.web@gmail.com>
5822
5823 * progmodes/flymake.el (flymake-popup-current-error-menu):
5824 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5825 (flymake-posn-at-point-as-event, flymake-popup-menu)
5826 (flymake-make-emacs-menu): Remove. (Bug#16077)
5827
5828 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 * rect.el (rectangle-mark-mode): Activate mark even if
5831 transient-mark-mode is off (bug#16066).
5832 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5833 is > mark and at bolp.
5834
5835 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5836 (region-extract-function): Use it.
5837 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5838 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5839 Delete functions.
5840 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5841 kill-ring-save, kill-region, delete-char, delete-forward-char.
5842 Ignore self-insert-iso.
5843
5844 * emulation/cua-gmrk.el (cua--init-global-mark):
5845 Ignore `self-insert-iso'.
5846
5847 * emulation/cua-base.el (cua--prefix-copy-handler)
5848 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5849 checking cua--rectangle.
5850 (cua-delete-region): Use region-extract-function.
5851 (cua-replace-region): Delete function.
5852 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5853 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5854 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5855 (cua--init-keymaps): Don't remap delete-selection commands.
5856 (cua-mode): Use delete-selection-mode instead of rolling our own
5857 (bug#16085).
5858
5859 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5860 Obey region-extract-function.
5861
5862 Make registers and delete-selection-mode work on rectangles.
5863 * register.el (describe-register-1): Don't modify the register's value.
5864 (copy-to-register): Obey region-extract-function.
5865 * delsel.el (delete-active-region): Obey region-extract-function.
5866
5867 2013-12-08 Leo Liu <sdl.web@gmail.com>
5868
5869 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5870 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5871 (flymake-compilation-prevents-syntax-check)
5872 (flymake-start-syntax-check-on-newline)
5873 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5874 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5875 (flymake-xml-program, flymake-master-file-dirs)
5876 (flymake-master-file-count-limit)
5877 (flymake-allowed-file-name-masks): Relocate.
5878 (flymake-makehash, flymake-float-time)
5879 (flymake-replace-regexp-in-string, flymake-split-string)
5880 (flymake-get-temp-dir): Remove.
5881 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5882 (flymake-current-row, flymake-selected-frame)
5883 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5884 related functions. (Bug#16077)
5885
5886 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5887
5888 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5889
5890 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5891
5892 * help-fns.el (describe-function-1): Use new advice-* functions
5893 rather than old ad-* functions. Fix function type description and
5894 source links for advised functions and subrs.
5895
5896 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5897
5898 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5899
5900 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5901
5902 * progmodes/compile.el (compilation-start):
5903 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5904
5905 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5906 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5907
5908 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5909
5910 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5911 Touch up the last change.
5912
5913 2013-12-06 Leo Liu <sdl.web@gmail.com>
5914
5915 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5916 (inferior-octave-startup): Always use "octave> " for prompt.
5917 (octave-goto-function-definition)
5918 (octave-sync-function-file-names)
5919 (octave-find-definition-default-filename): Remove redundant backquotes.
5920
5921 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5922
5923 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5924 syntax for `?'.
5925 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5926 where appropriate already.
5927 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5928 end of method names (Bug#15874).
5929
5930 2013-12-06 Juri Linkov <juri@jurta.org>
5931
5932 * isearch.el (isearch--saved-overriding-local-map):
5933 New internal variable.
5934 (isearch-mode): Set it to the initial value of
5935 `overriding-terminal-local-map'.
5936 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5937 with `isearch--saved-overriding-local-map'. (Bug#16035)
5938
5939 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5940
5941 * progmodes/octave.el (inferior-octave-completion-table):
5942 Turn back into function, use `completion-table-with-cache'
5943 (Bug#11906). Update all references.
5944
5945 * minibuffer.el (completion-table-with-cache): New function.
5946
5947 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5948
5949 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5950
5951 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5952
5953 * net/eww.el (eww-current-source): New variable to store page
5954 source.
5955 (eww-display-html, eww-mode, eww-save-history)
5956 (eww-restore-history): Use it.
5957 (eww-view-source): New command to view page source.
5958 Opportunistically uses `html-mode' to highlight the buffer.
5959 (eww-mode-map): Install it.
5960
5961 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5962
5963 * net/dbus.el (dbus-unregister-service)
5964 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5965 Fix docstring.
5966 (dbus-unregister-service): Skip :serial entries in
5967 `dbus-registered-objects-table'.
5968 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5969
5970 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5971
5972 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5973 around keywords with extra `split-string' argument.
5974
5975 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5976
5977 * windmove.el (windmove-other-window-loc): Handle navigation
5978 between windows (excluding the minibuffer window - Bug#16017).
5979
5980 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5981
5982 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5983 in D-Bus type syntax.
5984 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5985 preserve unibyte strings. (Bug#16048)
5986
5987 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5990 Call force-mode-line-update is the proper buffer (bug#16042).
5991
5992 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5993
5994 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5995 `log-edit-remember-comment', make argument optional. Adjust all
5996 callers.
5997 (log-edit-mode): Add `log-edit-remember-comment' to
5998 `kill-buffer-hook' locally.
5999 (log-edit-kill-buffer): Don't remember comment explicitly since
6000 the buffer is killed anyway.
6001
6002 2013-12-04 Juri Linkov <juri@jurta.org>
6003
6004 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6005 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6006
6007 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6008
6009 * notifications.el (notifications-close-notification): Call the
6010 D-Bus method with ID being a `:uint32'. (Bug#16030)
6011
6012 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6013
6014 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6015
6016 2013-12-03 Juri Linkov <juri@jurta.org>
6017
6018 * progmodes/compile.el (compilation-start): Rename window alist
6019 entry `no-display-ok' to `allow-no-window'.
6020
6021 * simple.el (shell-command): Add window alist entry
6022 `allow-no-window' to `display-buffer'.
6023 (async-shell-command): Doc fix.
6024
6025 * window.el (display-buffer-no-window): New action function.
6026 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6027
6028 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6029
6030 * vc/log-edit.el (log-edit-set-header): Extract from
6031 `log-edit-toggle-header'.
6032 (log-edit-extract-headers): Separate the summary, when extracted
6033 from header, from the rest of the message with an empty line.
6034
6035 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6036 line, if present, to the Summary header.
6037
6038 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6041 in current-buffer (bug#16029).
6042
6043 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6044
6045 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6046 (debugger-mode-map): Bind it.
6047 (debugger--backtrace-base): New function.
6048 (debugger-eval-expression): Use it.
6049 (debugger-frame-number): Skip local vars when present.
6050 (debugger--locals-visible-p, debugger--insert-locals)
6051 (debugger--show-locals, debugger--hide-locals): New functions.
6052
6053 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6054
6055 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6056 "LC_ALL".
6057 (tramp-get-remote-locale): New defun.
6058 (tramp-open-connection-setup-interactive-shell): Use it.
6059
6060 2013-12-02 Leo Liu <sdl.web@gmail.com>
6061
6062 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6063
6064 * progmodes/sh-script.el (sh-shell-process):
6065 * progmodes/octave.el (inferior-octave-process-live-p):
6066 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6067 (gdb-inferior-io-sentinel):
6068 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6069
6070 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6071
6072 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6073 `save-selected-window' to `log-edit-hide-buf'. This makes
6074 `log-edit-show-files' idempotent.
6075 (log-edit-show-files): Mark the new window as dedicated.
6076
6077 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6078
6079 * vc/log-edit.el (log-edit-mode-map): Add binding for
6080 `log-edit-kill-biffer'.
6081 (log-edit-hide-buf): Add a FIXME comment.
6082 (log-edit-add-new-comment): New function, extracted from
6083 `log-edit-done'.
6084 (log-edit-done, log-edit-add-to-changelog): Use it.
6085 (log-edit-kill-buffer): New command.
6086
6087 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6088
6089 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6090 instead of killing the buffer.
6091
6092 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6095
6096 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6097
6098 * net/eww.el (eww-form-checkbox-selected-symbol)
6099 (eww-form-checkbox-symbol): New customizable variable.
6100 (eww-form-checkbox, eww-toggle-checkbox):
6101 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6102
6103 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6104 (shr--get-media-pref, shr--extract-best-source): New function.
6105 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6106 no :src tag was specified.
6107
6108 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6109 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6110 Use \\` to match beginning of string instead of ^.
6111 (eww-browse-with-external-browser): Provide optional URL parameter.
6112 (eww-render): Set `eww-current-title' back to "".
6113
6114 * net/shr.el (shr-tag-video): Display content for video if no
6115 poster is available.
6116 (shr-tag-audio): Add support for <audio> tag.
6117
6118 * net/eww.el (eww-text-input-types): New const.
6119 (eww-process-text-input): Treat input types in
6120 `eww-text-input-types' as text.
6121
6122 * net/shr.el (shr-tag-table): Fix comment typo.
6123
6124 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6125
6126 * net/eww.el (eww-follow-link): New command to avoid reloading
6127 pages when we follow #target links (bug#15243).
6128 (eww-quit): Special mode buffers shouldn't query before exiting.
6129
6130 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6131
6132 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6133 forms.
6134
6135 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6136
6137 * net/eww.el (eww-restore-history): Update the window title after
6138 moving in the history.
6139 (eww-current-dom): New variable used to save the current DOM.
6140
6141 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6142
6143 * vc/log-edit.el (log-edit-mode-map): Add binding for
6144 `log-edit-beginning-of-line'.
6145 (log-edit-setup-add-author): New user option.
6146 (log-edit-beginning-of-line): New command.
6147 (log-edit): Move major mode call above the contents setup so that
6148 the local variable values are already applied.
6149 (log-edit): Only insert "Author: " when
6150 `log-edit-setup-add-author' is non-nil.
6151 (log-edit): When SETUP is non-nil, position point after ": "
6152 instead of point-min.
6153
6154 2013-12-01 Glenn Morris <rgm@gnu.org>
6155
6156 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6157
6158 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6159
6160 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6161 redisplay to make sure the initial frame gets a chance to become
6162 visible. (Bug#16014)
6163
6164 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6165
6166 Support resizing frames and windows pixelwise.
6167 * cus-start.el (frame-resize-pixelwise)
6168 (window-resize-pixelwise): New entries.
6169 * emacs-lisp/debug.el (debug): Use window-total-height instead
6170 of window-total-size.
6171 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6172 * help.el (describe-bindings-internal): Use help-buffer as
6173 argument for with-help-window.
6174 (temp-buffer-max-width): New option.
6175 (resize-temp-buffer-window, help-window-setup)
6176 (with-help-window): Rewrite.
6177 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6178 dragging dividers.
6179 * window.el (frame-char-size, window-min-pixel-height)
6180 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6181 (window-min-pixel-width, window-safe-min-pixel-size)
6182 (window-combination-p, window-safe-min-size)
6183 (window-resizable-p, window--size-to-pixel)
6184 (window--pixel-to-size, window--resize-apply-p): New functions.
6185 (window-safe-min-height): Fix doc-string.
6186 (window-size, window-min-size, window--min-size-1)
6187 (window-sizable, window-sizable-p, window--min-delta-1)
6188 (window-min-delta, window--max-delta-1, window-max-delta)
6189 (window--resizable, window--resizable-p, window-resizable)
6190 (window-full-height-p, window-full-width-p, window-at-side-p)
6191 (window--in-direction-2, window-in-direction)
6192 (window--resize-reset-1, window--resize-mini-window)
6193 (window-resize, window-resize-no-error)
6194 (window--resize-child-windows-normal)
6195 (window--resize-child-windows, window--resize-siblings)
6196 (window--resize-this-window, window--resize-root-window)
6197 (window--resize-root-window-vertically)
6198 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6199 (maximize-window, minimize-window, delete-window)
6200 (quit-restore-window, window-split-min-size, split-window)
6201 (balance-windows-2, balance-windows)
6202 (balance-windows-area-adjust, balance-windows-area)
6203 (window--state-get-1, window-state-get, window--state-put-1)
6204 (window--state-put-2, window-state-put)
6205 (display-buffer-record-window, window--display-buffer):
6206 Make functions handle pixelwise sizing of windows.
6207 (display-buffer--action-function-custom-type)
6208 (display-buffer-fallback-action):
6209 Add display-buffer-in-previous-window.
6210 (display-buffer-use-some-window): Resize window to height it had
6211 before.
6212 (fit-window-to-buffer-horizontally): New option.
6213 (fit-frame-to-buffer): Describe new values.
6214 (fit-frame-to-buffer-bottom-margin): Replace with
6215 fit-frame-to-buffer-margins.
6216 (window--sanitize-margin): New function.
6217 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6218 using window-text-pixel-size.
6219
6220 2013-11-30 Glenn Morris <rgm@gnu.org>
6221
6222 * emacs-lisp/bytecomp.el (byte-compile-form):
6223 Make the `interactive-only' warning like the `obsolete' one.
6224 * comint.el (comint-run):
6225 * files.el (insert-file-literally, insert-file):
6226 * replace.el (replace-string, replace-regexp):
6227 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6228 (goto-line, insert-buffer, next-line, previous-line):
6229 Tweak `interactive-only' spec.
6230
6231 Stop keeping (most) generated cedet grammar files in the repository.
6232 * Makefile.in (semantic): New.
6233 (compile-main): Depend on semantic.
6234
6235 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6236
6237 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6238 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6239
6240 * uniquify.el (uniquify-buffer-name-style): Change default.
6241
6242 * loadup.el: Preload "uniquify".
6243
6244 * time.el (display-time-update): Update all mode lines (bug#15999).
6245
6246 * electric.el (electric-indent-mode): Enable by default.
6247 * loadup.el: Preload "electric".
6248
6249 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6250
6251 * emacs-lisp/helpers.el (string-empty-p): New function.
6252 (string-blank-p): New function.
6253
6254 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6255
6256 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6257 (Bug#14029).
6258
6259 2013-11-29 Andreas Politz <politza@fh-trier.de>
6260 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6261 allow non-lambda lists as functions.
6262 (imenu--in-alist): Don't recurse into non-subalists.
6263 (imenu): Don't pass function itself as an argument (Bug#14029).
6264
6265 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * progmodes/python.el (python-mode-map): Remove binding for ":".
6268 (python-indent-electric-colon): Remove command.
6269 (python-indent-post-self-insert-function): Integrate the previous code
6270 of python-indent-electric-colon. Make it conditional on
6271 electric-indent-mode.
6272 (python-mode): Add ?: to electric-indent-chars.
6273 Move python-indent-post-self-insert-function to the end of
6274 post-self-insert-hook.
6275
6276 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * doc-view.el (doc-view-goto-page): Update mode-line.
6279
6280 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6281
6282 2013-11-27 Glenn Morris <rgm@gnu.org>
6283
6284 * international/charprop.el, international/uni-bidi.el:
6285 * international/uni-category.el, international/uni-combining.el:
6286 * international/uni-comment.el, international/uni-decimal.el:
6287 * international/uni-decomposition.el, international/uni-digit.el:
6288 * international/uni-lowercase.el, international/uni-mirrored.el:
6289 * international/uni-name.el, international/uni-numeric.el:
6290 * international/uni-old-name.el, international/uni-titlecase.el:
6291 * international/uni-uppercase.el:
6292 Remove generated files from VCS repository.
6293
6294 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6295
6296 * filenotify.el (file-notify-add-watch): Don't special-case
6297 w32notify when computing the directory to watch.
6298
6299 2013-11-27 Glenn Morris <rgm@gnu.org>
6300
6301 Make bootstrap without generated uni-*.el files possible again.
6302 * loadup.el: Update command-line-args checking for unidata-gen.
6303 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6304 * composite.el, international/characters.el:
6305 Handle unicode tables being undefined.
6306
6307 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6308 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6309 (compile-main): Depend on leim rule.
6310 (leim): New rule.
6311 * loadup.el: Move leim-list.el to leim/ subdirectory.
6312 * startup.el (normal-top-level): No more leim directory.
6313 * international/ja-dic-cnv.el (skkdic-convert):
6314 Disable version-control and autoloads in output files.
6315 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6316 Disable version-control and autoloads in output files.
6317 * leim/quail: Move here from ../leim.
6318 * leim/quail/hangul.el (hangul-input-method-activate):
6319 Add autoload cookie.
6320 (generated-autoload-load-name): Set file-local value.
6321 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6322 (generated-autoload-load-name): Set file-local value.
6323
6324 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6325
6326 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6327 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6328 (eww-quit): Ask confirmation before quitting eww.
6329
6330 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6331
6332 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6333 reading output from Diff on MS-Windows and MS-DOS.
6334
6335 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6336
6337 * emacs-lisp/helpers.el (string-reverse): New function.
6338
6339 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6340
6341 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6342 names on MS Windows, like "/[::1]:".
6343
6344 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6345 SWITCHES.
6346
6347 2013-11-26 Glenn Morris <rgm@gnu.org>
6348
6349 * progmodes/python.el (python-indent-guess-indent-offset):
6350 Avoid corner-case error. (Bug#15975)
6351
6352 Preload leim-list.el. (Bug#4789)
6353 * loadup.el: Load leim-list.el when found.
6354 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6355
6356 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6357
6358 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6359
6360 * emacs-lisp/helpers.el (string-join): New function.
6361
6362 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6363
6364 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6365 Mark as obsolete and replace it with a symbol property.
6366 (byte-compile-form): Use new 'interactive-only property.
6367 * comint.el, files.el, replace.el, simple.el:
6368 Apply new 'interactive-only properly.
6369
6370 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6371
6372 * window.el (display-buffer-at-bottom): Make sure that
6373 split-window-sensibly creates the new window on bottom
6374 (Bug#15961).
6375
6376 2013-11-23 David Kastrup <dak@gnu.org>
6377
6378 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6379 on the conflict markers when available.
6380 (smerge--get-marker): New function.
6381 (smerge-end-re, smerge-base-re): Add subgroup.
6382
6383 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * frame.el (handle-focus-in, handle-focus-out): Add missing
6386 interactive spec.
6387
6388 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6389
6390 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6391 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6392
6393 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6394
6395 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6396 (gomoku--last-pos): New var.
6397 (gomoku--intangible-chars): New const.
6398 (gomoku--intangible): New function.
6399 (gomoku-mode): Use it. Derive from special-mode.
6400 (gomoku-move-up): Adjust line count.
6401 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6402 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6403 Simplify accordingly.
6404
6405 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6406 Remove blink-cursor code.
6407 (blink-cursor-timer-function, blink-cursor-suspend):
6408 Don't special-case GUIs.
6409 (blink-cursor-mode): Use focus-in/out-hook.
6410
6411 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6412
6413 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6414 work when annotation is invisible (Bug#13886).
6415
6416 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6417
6418 * json.el (json-alist-p): Only return non-nil if the alist has
6419 simple keys (Bug#13518).
6420
6421 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6422
6423 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6424 when control-statement is the first statement in a buffer (Bug#15956).
6425
6426 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6427
6428 * imenu.el (imenu-generic-skip-comments-and-strings):
6429 New option (Bug#15560).
6430 (imenu--generic-function): Use it.
6431
6432 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6433
6434 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6435 (Bug#13898)
6436
6437 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6438
6439 * emacs-lisp/helpers.el: Add some string helpers.
6440 (string-trim-left): Removes leading whitespace.
6441 (string-trim-right): Removes trailing whitespace.
6442 (string-trim): Removes leading and trailing whitespace.
6443
6444 * subr.el (string-suffix-p): New function.
6445
6446 2013-11-23 Glenn Morris <rgm@gnu.org>
6447
6448 * progmodes/python.el (python-shell-send-file):
6449 Add option to delete file when done. (Bug#15647)
6450 (python-shell-send-string, python-shell-send-region): Use it.
6451
6452 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6453
6454 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6455 to set buffer-read-only to t, never to nil. (Bug#15938)
6456
6457 * textmodes/tex-mode.el (latex-noindent-environments):
6458 Add safe-local-variable property. (Bug#15936)
6459
6460 2013-11-23 Glenn Morris <rgm@gnu.org>
6461
6462 * textmodes/enriched.el (enriched-mode): Doc fix.
6463 * emacs-lisp/authors.el (authors-renamed-files-alist):
6464 Add enriched.doc -> enriched.txt.
6465
6466 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6467
6468 2013-11-22 Leo Liu <sdl.web@gmail.com>
6469
6470 * progmodes/octave.el (inferior-octave-startup): Spit out error
6471 message.
6472
6473 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6474
6475 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6476 Improve docstring.
6477 Add :version.
6478 (ruby-encoding-magic-comment-style): Add :version.
6479
6480 2013-11-22 Leo Liu <sdl.web@gmail.com>
6481
6482 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6483 (Bug#15076)
6484 (octave-help-mode): Adapt to change to help-mode-finish to use
6485 derived-mode-p on 2013-09-17.
6486 (inferior-octave-prompt): Also match octave-gui.
6487 (octave-kill-process): Don't ask twice. (Bug#10564)
6488
6489 2013-11-22 Leo Liu <sdl.web@gmail.com>
6490
6491 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6492 (inferior-octave-startup, inferior-octave-check-process)
6493 (inferior-octave-track-window-width-change)
6494 (octave-completion-at-point, octave-eldoc-function): Use it.
6495 (octave-kill-process): Provide confirmation. (Bug#10564)
6496
6497 2013-11-21 Leo Liu <sdl.web@gmail.com>
6498
6499 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6500 Fix obsolete variable comment-use-global-state.
6501
6502 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6503
6504 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6505 Add `octave-source-file'.
6506 (octave-source-file): New function. (Bug#15935)
6507
6508 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6509
6510 * net/eww.el (eww-local-regex): New variable.
6511 (eww): Use it to detect localhost and similar.
6512
6513 2013-11-21 Leo Liu <sdl.web@gmail.com>
6514
6515 Add completion for command `ag'.
6516 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6517 (pcomplete/ag): New function.
6518 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6519
6520 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6523 (bug#14646).
6524 (make-obsolete): Remove interactive spec.
6525
6526 2013-11-21 Glenn Morris <rgm@gnu.org>
6527
6528 * startup.el (command-line-1): Use path-separator with -L.
6529
6530 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6531
6532 * emacs-lisp/package.el (describe-package-1): Add package archive
6533 to shown fields.
6534
6535 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6536
6537 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6538 Change default to "# encoding: %s" to differentiate it from the
6539 default Ruby encoding comment template.
6540
6541 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6542
6543 * ses.el (ses-mode): Doc fix. (Bug#14748)
6544
6545 2013-11-20 Leo Liu <sdl.web@gmail.com>
6546
6547 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6548
6549 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6550
6551 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6552 when rebase or bisect are in progress.
6553
6554 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6555
6556 * filenotify.el (file-notify-add-watch): Doc fix.
6557
6558 2013-11-19 Leo Liu <sdl.web@gmail.com>
6559
6560 * obsolete/rcompile.el: Mark obsolete.
6561
6562 * progmodes/compile.el (compilation-start)
6563 (compilation-goto-locus, compilation-find-file):
6564 Pass no-display-ok and handle nil value from display-buffer.
6565 (Bug#13594)
6566
6567 * window.el (display-buffer-alist, display-buffer): Document the
6568 new parameter no-display-ok. Return either a window or nil
6569 but never a non-window value.
6570
6571 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * electric.el (electric-indent-mode-map): Remove.
6574 (electric-indent-mode): Change the global-map instead (bug#15915).
6575
6576 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6577 Use add-function.
6578
6579 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * emacs-lisp/nadvice.el (remove-function): Align with
6582 add-function's behavior.
6583
6584 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6585 (gdb--string-regexp): New constant.
6586 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6587 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6588 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6589 submatch 1.
6590 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6591 Adjust use accordingly.
6592 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6593
6594 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6595
6596 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6597 interpolation curlies (Bug#15914).
6598
6599 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6600
6601 * calc/calc.el (calc-context-sensitive-enter): New variable.
6602 (calc-enter): Use `calc-context-sensitive-enter'.
6603
6604 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6605
6606 * progmodes/cfengine.el: Version bump.
6607 (cfengine-cf-promises): New defcustom to locate cf-promises.
6608 (cfengine3-vartypes): Add new "data" type.
6609 (cfengine3--current-word): New function to get current name-like
6610 word or its bounds.
6611 (cfengine3--current-function): New function to look up a CFEngine
6612 function's definition.
6613 (cfengine3-format-function-docstring): New function.
6614 (cfengine3-make-syntax-cache): New function.
6615 (cfengine3-documentation-function): New function: ElDoc glue.
6616 (cfengine3-completion-function): New function: completion glue.
6617 (cfengine3-mode): Set `compile-command',
6618 `eldoc-documentation-function', and add to
6619 `completion-at-point-functions'.
6620
6621 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6622
6623 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6624 `tramp-current-connection'.
6625
6626 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6627
6628 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6629 nil/self/true/false with "end of symbol".
6630
6631 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6632
6633 * subr.el (version-regexp-alist): Fix a typo.
6634
6635 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6636
6637 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6638 "en_US.utf8" and "LC_CTYPE" to "".
6639 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6640 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6641
6642 2013-11-15 Leo Liu <sdl.web@gmail.com>
6643
6644 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6645
6646 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * progmodes/gud.el (ctl-x-map):
6649 Remove C-x SPC binding. (Bug#12342)
6650 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6651
6652 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6653
6654 * subr.el (version-regexp-alist):
6655 Recognize hg, svn and darcs versions as snapshot versions.
6656
6657 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6658 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6659 (ruby--encoding-comment-required-p): Extract from
6660 `ruby-mode-set-encoding'.
6661 (ruby-mode-set-encoding): Add the ability to always insert an
6662 utf-8 encoding comment. Fix and simplify coding comment update
6663 logic.
6664
6665 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6666
6667 * net/tramp-gvfs.el (top): Run init code only when
6668 `tramp-gvfs-enabled' is not nil.
6669 (tramp-gvfs-enabled): Check also :system bus.
6670
6671 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 Sync with upstream verilog-mode revision 78e66ba.
6674 * progmodes/verilog-mode.el (verilog-end-of-defun)
6675 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6676 (verilog-get-end-of-defun): Remove unused argument.
6677 (verilog-comment-depth): Remove unused local `e'.
6678 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6679 Don't pass arg to verilog-get-end-of-defun.
6680
6681 2013-11-14 Glenn Morris <rgm@gnu.org>
6682
6683 * obsolete/assoc.el (aget): Prefix dynamic variable.
6684
6685 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6686
6687 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * widget.el, hfy-cmap.el: Remove bogus package version number.
6690
6691 2013-11-13 Glenn Morris <rgm@gnu.org>
6692
6693 * replace.el (replace-eval-replacement):
6694 Try to give more helpful error message. (Bug#15836)
6695
6696 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6697 (archive-7z-update): Avoid custom type mismatches.
6698
6699 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6700
6701 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6702
6703 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6704 address can be empty.
6705
6706 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6707 Accept nil SWITCHES.
6708 (tramp-gvfs-handle-write-region): Implement APPEND.
6709
6710 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6711
6712 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6713 binary "|" operator and closing block args delimiter.
6714 Remove FIXME comment referring to Ruby 1.8-only syntax.
6715 (ruby-smie--implicit-semi-p): Not after "|" operator.
6716 (ruby-smie--closing-pipe-p): New function.
6717 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6718 (ruby-smie-rules): Indent after "|".
6719
6720 2013-11-12 Glenn Morris <rgm@gnu.org>
6721
6722 * ps-print.el (ps-face-attribute-list):
6723 Handle anonymous faces. (Bug#15827)
6724
6725 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6726
6727 * window.el (display-buffer-other-frame): Fix doc-string.
6728 (Bug#15868)
6729
6730 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6733
6734 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6735
6736 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6737 (tramp-sh-handle-file-local-copy): Don't write a message when
6738 saving temporary files.
6739
6740 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6741 both directories are remote.
6742 (tramp-smb-handle-directory-files): Do not return double entries.
6743 Do not expand full file names.
6744 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6745 (tramp-smb-handle-write-region): Implement APPEND.
6746 (tramp-smb-get-stat-capability): Fix a stupid bug.
6747
6748 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6751
6752 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6753
6754 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6755 throwing error over malformed let/let* (bug#15814).
6756
6757 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6758
6759 * iswitchb.el (iswitchb-mode): Mark obsolete.
6760
6761 2013-11-11 Glenn Morris <rgm@gnu.org>
6762
6763 * international/uni-bidi.el, international/uni-category.el:
6764 * international/uni-name.el, international/uni-numeric.el:
6765 Regenerate for Unicode 6.3.0.
6766
6767 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6768
6769 * net/tramp.el (tramp-methods):
6770 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6771 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6772
6773 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6774
6775 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6776 Force highlighting text after Summary keyword in doc face for rpm.
6777
6778 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6779
6780 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6781 available and the word has no wildcards, append one to the grep pattern.
6782 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6783 (ispell-complete-word): Call `ispell-lookup-words' with the value
6784 independent of `ispell-look-p'.
6785
6786 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6787
6788 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6789 Not after "||".
6790 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6791 their parent.
6792
6793 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6796 (ruby-font-lock-keywords): Use backquote.
6797
6798 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6799
6800 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6801 (ruby-smie--backward-token): Only consider full-string matches.
6802
6803 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6804
6805 * faces.el (describe-face): Add distant-foreground.
6806
6807 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6808
6809 * progmodes/ruby-mode.el: Improve encoding comment handling.
6810 (ruby-encoding-magic-comment-style): New option.
6811 (ruby-custom-encoding-magic-comment-template): New option.
6812 (ruby--insert-coding-comment, ruby--detect-encoding):
6813 New functions extracted from `ruby-mode-set-encoding'.
6814 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6815 to control the style of the auto-inserted encoding comment.
6816
6817 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6818
6819 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6820 Use `smie-backward-sexp' with token argument.
6821
6822 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6823
6824 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6825 Remove instrumentation code.
6826
6827 2013-11-08 Glenn Morris <rgm@gnu.org>
6828
6829 * progmodes/autoconf.el (autoconf-mode):
6830 Tweak comment-start-skip. (Bug#15822)
6831
6832 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6835 at bobp (bug#15826).
6836 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6837
6838 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6839
6840 * man.el (Man-start-calling): New macro, extracted from
6841 Man-getpage-in-background.
6842 (Man-getpage-in-background): Use it.
6843 (Man-update-manpage): New command.
6844 (Man-mode-map): Bind it.
6845
6846 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6847
6848 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6849 of "and", "or", "&&" and "||".
6850 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6851 argument. Prohibit opening curly brace because it could only be a
6852 block opener in that position.
6853 (ruby-smie--forward-token, ruby-smie--backward-token):
6854 Separate "|" from "&" or "*" going after it. That can happen in block
6855 arguments.
6856 (ruby-smie--indent-to-stmt): New function, seeks the end of
6857 previous statement or beginning of buffer.
6858 (ruby-smie-rules): Use it.
6859 (ruby-smie-rules): Check if there's a ":" before a curly block
6860 opener candidate; if there is, it's a hash.
6861
6862 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6863
6864 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6865 (cl--block-wrapper): Fix last accidental change.
6866
6867 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6868
6869 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6870 Instrument, in order to hunt failure on hydra.
6871
6872 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6873
6874 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6875 malformed bindings form (bug#15814).
6876
6877 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6878
6879 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6880 "." compared to " @ ". This incidentally fixes some indentation
6881 examples with "do".
6882 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6883 (ruby-smie-grammar): New tokens: "and" and "or".
6884 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6885 Exclude "and" and "or". Remove "do" in order to work around token
6886 priorities.
6887 (ruby-smie-rules): Add all infix tokens. Handle the case of
6888 beginning-of-buffer.
6889
6890 2013-11-06 Glenn Morris <rgm@gnu.org>
6891
6892 * Makefile.in (setwins_almost, setwins_for_subdirs):
6893 Avoid accidental matches.
6894
6895 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * menu-bar.el (popup-menu): Use key-binding.
6898
6899 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6900
6901 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6902 menus, support also the menus produced by minor modes.
6903 (Bug#15817)
6904
6905 2013-11-06 Leo Liu <sdl.web@gmail.com>
6906
6907 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6908 DISTANCE to bound the search. All uses changed. (Bug#15808)
6909
6910 2013-11-06 Glenn Morris <rgm@gnu.org>
6911
6912 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6913 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6914 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6915
6916 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * electric.el (electric-indent-just-newline): New command.
6919 (electric-indent-mode-map): New keymap.
6920 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6921 Re-add :group which weren't redundant.
6922
6923 * electric.el (electric-indent-local-mode): New minor mode.
6924 (electric-indent-functions-without-reindent): New var.
6925 (electric-indent-post-self-insert-function): Use it.
6926 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6927
6928 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6929
6930 * international/quail.el (quail-help): Be more explicit about the
6931 meaning of the labels shown on the keys. (Bug#15800)
6932
6933 * startup.el (normal-top-level): Load the subdirs.el files before
6934 setting the locale environment. (Bug#15805)
6935
6936 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6939 via arguments so as to get the right ones (bug#15418).
6940
6941 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6942
6943 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6944
6945 Fix problems found while writing a test suite.
6946
6947 * net/tramp-compat.el (tramp-compat-load): New defun.
6948 * net/tramp.el (tramp-handle-load): Use it.
6949
6950 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6951 "(numberp ok-if-already-exists)" correctly.
6952
6953 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6954
6955 * international/characters.el (glyphless-char-display-control):
6956 Add usage note.
6957
6958 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6959
6960 * progmodes/python.el (python-mode):
6961 * progmodes/scheme.el (scheme-mode):
6962 * progmodes/prolog.el (prolog-mode):
6963 * progmodes/ruby-mode.el (ruby-mode):
6964 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6965 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6966
6967 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * rect.el (rectangle--highlight-for-redisplay):
6970 * emacs-lisp/smie.el (smie--next-indent-change):
6971 Use buffer-chars-modified-tick.
6972
6973 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6974
6975 * electric.el (electric-indent-post-self-insert-function):
6976 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6977
6978 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6979
6980 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6981
6982 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6983
6984 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6985 (bug#15786).
6986
6987 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6990
6991 * progmodes/python.el: Fix up last change.
6992 (python-shell--save-temp-file): New function.
6993 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6994 `string' comes from the current buffer.
6995 (python-shell-send-string-no-output): Remove `msg' arg.
6996 (python--use-fake-loc): New var.
6997 (python-shell-buffer-substring): Obey it. Try to compensate for the
6998 extra coding line added by python-shell--save-temp-file.
6999 (python-shell-send-region): Use python-shell--save-temp-file and
7000 python-shell-send-file directly. Add `nomain' argument.
7001 (python-shell-send-buffer): Use python-shell-send-region.
7002 (python-electric-pair-string-delimiter): New function.
7003 (python-mode): Use it.
7004
7005 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7006
7007 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7008 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7009 environment and decoding all of the default-directory's to here
7010 from command-line.
7011 (command-line): Decode also argv[0].
7012
7013 * loadup.el: Error out if default-directory is a multibyte string
7014 when we are dumping.
7015
7016 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7017
7018 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7019
7020 * emacs-lisp/package.el (package-menu-mode)
7021 (package-menu--print-info, package-menu--archive-predicate):
7022 Add Archive column to package list.
7023
7024 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7025
7026 Fix problems found while writing a test suite.
7027
7028 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7029 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7030 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7031 to nil when running original file name handler. Otherwise,
7032 there are problems with constructs like "$$FOO".
7033
7034 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7035 for `localname'.
7036
7037 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7038
7039 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7040
7041 * subr.el (version<, version<=, version=):
7042 Update docstrings with information for snapshot versions.
7043
7044 * helpers.el: New library for misc helper functions.
7045 (hash-table-keys): New function returning a list of hash keys.
7046 (hash-table-values): New function returning a list of hash values.
7047
7048 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7049
7050 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7051 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7052
7053 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7054
7055 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7056 checking whether point is after a 1-letter word.
7057
7058 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7059
7060 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7061 Don't infloop when expanding region over `multiline' syntax-type that
7062 begins a line (bug#15778).
7063
7064 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7067 Make it into a proper minor mode.
7068 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7069 (rectangle-mark-mode-map): New keymap.
7070 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7071
7072 2013-11-04 Glenn Morris <rgm@gnu.org>
7073
7074 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7075
7076 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7077
7078 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7079 (ruby-smie-rules): Use smie-rule-parent instead.
7080
7081 * emacs-lisp/smie.el (smie-rule-parent): Always call
7082 smie-indent-virtual rather than only for hanging tokens.
7083 (smie--next-indent-change): New helper command.
7084
7085 2013-11-03 Glenn Morris <rgm@gnu.org>
7086
7087 * Makefile.in (abs_srcdir): Remove.
7088 (emacs): Unset EMACSLOADPATH.
7089
7090 2013-11-02 Glenn Morris <rgm@gnu.org>
7091
7092 * Makefile.in (EMACS): Use a relative filename.
7093 (abs_top_builddir): Remove.
7094 (custom-deps, finder-data, autoloads): Use --chdir.
7095
7096 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7097
7098 Use relative filenames in TAGS files.
7099 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7100 (lisptagsfiles4, TAGS): Use relative file names.
7101 (TAGS-LISP): Remove.
7102 (maintainer-clean): No more TAGS-LISP file.
7103
7104 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7105 (lisptagsfiles4): Use absolute filenames again.
7106 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7107 Remove all *loaddefs files, not just the first. Remove esh-groups.
7108 (maintainer-clean): Delete TAGS, TAGS-LISP.
7109
7110 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7111
7112 * emacs-lisp/package.el (package-version-join):
7113 Recognize snapshot versions.
7114
7115 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7116
7117 * subr.el (version-regexp-alist): Add support for snapshot versions.
7118
7119 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7120
7121 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7122 New function, replacement for `smie-rule-parent' for when we want to
7123 skip over our direct parent if it's an assignment token..
7124 (ruby-smie-rules): Use it.
7125
7126 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7127
7128 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7129 unconditionally. Remove now unnecessary forward declarations.
7130 Remove XEmacs-specific setup.
7131 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7132 (ruby-font-lock-syntactic-keywords)
7133 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7134 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7135 (ruby-here-doc-end-syntax): Remove.
7136 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7137 defined as function.
7138
7139 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7140
7141 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7142
7143 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7144
7145 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7146 table and abbrev table, `define-derived-mode' does that for us
7147 anyway.
7148
7149 2013-11-01 Glenn Morris <rgm@gnu.org>
7150
7151 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7152 files is atomic for some time, so no parallel compilation issues).
7153
7154 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7155
7156 * faces.el (face-x-resources): Add :distant-foreground.
7157 (region): Use :distant-foreground for gtk and ns.
7158
7159 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7160
7161 Allow multiple bibliographies when BibLaTeX is used rather than
7162 BibTeX.
7163 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7164 (reftex-locate-bibliography-files): Us it.
7165
7166 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7167
7168 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7169 allow comments in pbm files.
7170
7171 * term/w32-win.el (dynamic-library-alist): Support newer versions
7172 of libjpeg starting with v7: look only for the DLL from the
7173 version against which Emacs was built.
7174 Support versions of libpng beyond 1.4.x.
7175 Support libtiff v4.x.
7176
7177 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7178
7179 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7180 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7181 Add property :safe.
7182 (ruby-deep-arglist): Add property :type.
7183
7184 2013-10-31 Glenn Morris <rgm@gnu.org>
7185
7186 * Makefile.in (custom-deps, finder-data): No need to setq the target
7187 variables, we are in the right directory and the defaults work fine.
7188
7189 2013-10-30 Glenn Morris <rgm@gnu.org>
7190
7191 * Makefile.in (autoloads): Do not use abs_lisp.
7192
7193 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7194 `newline' does not respect `standard-output', so use `princ'.
7195
7196 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7197
7198 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7199 * buff-menu.el (Buffer-menu--unmark): New function.
7200 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7201
7202 2013-10-30 Glenn Morris <rgm@gnu.org>
7203
7204 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7205
7206 * emacs-lisp/package.el (lm-homepage): Declare.
7207
7208 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7209 Fix doc typos.
7210
7211 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7212
7213 * Makefile.in (finder-data, autoloads, update-subdirs)
7214 (compile-main, compile-clean, compile-always, bootstrap-clean):
7215 Check return value of cd.
7216 (compile-calc): Remove.
7217
7218 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7221
7222 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7223 (byte-compile-and-folded): New function.
7224 (=, <, >, <=, >=): Use it.
7225
7226 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7227 (path-separator, null-device, buffer-file-coding-system)
7228 (lpr-headers-switches): Check system-type before modifying them.
7229 (find-buffer-file-type-coding-system): Mark obsolete.
7230 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7231 find-file-not-found-set-buffer-file-coding-system.
7232 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7233 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7234 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7235 (w32-direct-print-region-helper, w32-direct-print-region-function)
7236 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7237 * startup.el (normal-top-level-add-subdirs-to-load-path):
7238 * ps-print.el (ps-print-region-function):
7239 * lpr.el (print-region-function): Use new name.
7240
7241 * subr.el (custom-declare-variable-early): Remove function.
7242 (custom-declare-variable-list): Remove var.
7243 (error, user-error): Remove `while' loop.
7244 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7245 (user-emacs-directory-warning, locate-user-emacs-file):
7246 Move to files.el.
7247 * simple.el (read-quoted-char-radix, read-quoted-char):
7248 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7249 Move from subr.el.
7250 * custom.el (custom-declare-variable-list): Don't process
7251 custom-declare-variable-list.
7252
7253 * progmodes/python.el (python-shell-get-buffer): New function.
7254 (python-shell-get-process): Use it.
7255 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7256 Python which encoding was used. Don't split-string since we only care
7257 about the first line. Return the temp-file, if applicable.
7258 (python-shell-send-region): Tell compile.el how to turn locations in
7259 the temp-file into locations in the source buffer.
7260
7261 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * subr.el (undefined): Add missing behavior from the C code for
7264 unbound keys.
7265
7266 * rect.el: Use lexical-binding. Add new rectangular region support.
7267 (rectangle-mark): New command.
7268 (rectangle--region): New var.
7269 (deactivate-mark-hook): Reset rectangle--region.
7270 (rectangle--extract-region, rectangle--insert-for-yank)
7271 (rectangle--highlight-for-redisplay)
7272 (rectangle--unhighlight-for-redisplay): New functions.
7273 (region-extract-function, redisplay-unhighlight-region-function)
7274 (redisplay-highlight-region-function): Use them to handle
7275 rectangular region.
7276 * simple.el (region-extract-function): New var.
7277 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7278 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7279 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7280 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7281 (redisplay-unhighlight-region-function)
7282 (redisplay-highlight-region-function): New vars.
7283 (redisplay--update-region-highlight): New function.
7284 (pre-redisplay-function): Use it.
7285 (exchange-point-and-mark): Don't deactivate the mark before
7286 reactivate-it anyway.
7287 * comint.el (comint-kill-region): Remove yank-handler argument.
7288 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7289 (delete-char): Remove property, since it's now part of their
7290 default behavior.
7291 (self-insert-iso): Remove property since this command doesn't exist.
7292
7293 * emacs-lisp/package.el (package--download-one-archive)
7294 (describe-package-1): Don't query the user about final newline.
7295
7296 2013-10-29 Daniel Colascione <dancol@dancol.org>
7297
7298 * net/tramp.el (tramp-methods): Document new functionality.
7299 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7300 tramp-hostname-checker if method provides one instead of scanning
7301 argument list for "%h" to decide hostname acceptability.
7302
7303 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7304
7305 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7306 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7307 Handle COPY-CONTENTS. (Bug#15737)
7308
7309 2013-10-28 Daiki Ueno <ueno@gnu.org>
7310
7311 * epa-file.el
7312 (epa-file-cache-passphrase-for-symmetric-encryption):
7313 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7314
7315 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7316
7317 * image.el (defimage, image-load-path): Doc fixes.
7318
7319 2013-10-27 Alan Mackenzie <acm@muc.de>
7320
7321 Indent statements in macros following "##" correctly.
7322 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7323 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7324
7325 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7326
7327 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7328
7329 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7330
7331 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7332 after `=' is probably a new expression.
7333
7334 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7335
7336 * man.el (man-imenu-title): New option.
7337 (Man-mode-map): Add menu. (Bug#15722)
7338 (Man-mode): Add imenu to menu.
7339
7340 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7341
7342 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7343 specific in what the first arg can be: a non-keyword word,
7344 string/regexp/percent literal opener, opening paren, or unary
7345 operator followed directly by word.
7346
7347 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7350 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7351 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7352 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7353 Remove vars, they do not apply any more.
7354 (prolog-mode-abbrev-table): Remove redundant declaration.
7355 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7356 (prolog-use-smie): Remove.
7357 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7358 supported by prolog-electric-if-then-else-flag.
7359 (prolog-mode-variables, prolog-menu): Use setq-local.
7360 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7361 Remove binding to `Backspace' since this key doesn't exist anyway.
7362 Remove bindings for electric self-inserting keys.
7363 (prog-mode): Assume it's defined.
7364 (prolog-post-self-insert): New function.
7365 (prolog-mode): Use it.
7366 (prolog-indent-line, prolog-indent-level)
7367 (prolog-find-indent-of-matching-paren)
7368 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7369 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7370 (prolog-goto-next-paren, prolog-in-string-or-comment)
7371 (prolog-tokenize, prolog-inside-mline-comment)
7372 (prolog-find-start-of-mline-comment): Remove functions.
7373 (prolog-find-unmatched-paren, prolog-clause-end)
7374 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7375 (prolog-electric--if-then-else): Rename from
7376 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7377 (prolog-tokenize-searchkey): Remove const.
7378 (prolog-clause-info): Use forward-sexp.
7379 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7380 (prolog-electric-if-then-else): Remove commands.
7381 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7382 for use in post-self-insert-hook.
7383 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7384 for use in post-self-insert-hook.
7385 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7386 for use in post-self-insert-hook.
7387 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7388 adapt it for use in post-self-insert-hook.
7389
7390 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * emacs-lisp/ert.el (ert-run-tests-interactively):
7393 Use `completing-read'. (Bug#9756)
7394
7395 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7396
7397 * simple.el (line-move): Call line-move-1 instead of
7398 line-move-visual when the current window hscroll is zero, but
7399 temporary-goal-column indicates we will need to hscroll as result
7400 of the movement. (Bug#15712)
7401
7402 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7403
7404 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7405 capitalization. Use :visible instead of :active.
7406 Fix `ruby-indent-exp' reference. Add menu items for the generic
7407 commands that are used with SMIE.
7408 (ruby-do-end-to-brace): Insert space after `{'.
7409
7410 2013-10-25 John Anthony <john@jo.hnanthony.com>
7411
7412 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7413
7414 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7415
7416 2013-10-25 Glenn Morris <rgm@gnu.org>
7417
7418 * vc/vc.el (vc-print-log): Don't use a working revision unless
7419 one was explicitly specified. (Bug#15322)
7420
7421 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * subr.el (add-to-list): Preserve return value in compiler-macro
7424 (bug#15692).
7425
7426 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7427
7428 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7429 result. Ask user to retry using '-all' flag. (Bug#15701)
7430
7431 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * emacs-lisp/smie.el: New smie-config system.
7434 (smie-config): New defcustom.
7435 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7436 (smie-config-guess, smie-config-save): New commands.
7437 (smie-config--mode-local, smie-config--buffer-local)
7438 (smie-config--trace, smie-config--modefuns): New vars.
7439 (smie-config--advice, smie-config--mode-hook)
7440 (smie-config--setter, smie-config-local, smie-config--get-trace)
7441 (smie-config--guess-value, smie-config--guess): New functions.
7442 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7443 text properties. Treat "string fence" syntax like string syntax.
7444
7445 * progmodes/sh-script.el (sh-use-smie): Change default.
7446 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7447 (sh-var-value): Simplify by CSE.
7448 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7449 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7450 is used.
7451 (sh-guess-basic-offset): Use cl-incf.
7452 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7453
7454 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7455
7456 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7457 (bug#15699).
7458
7459 2013-10-24 Glenn Morris <rgm@gnu.org>
7460
7461 * Makefile.in (abs_top_srcdir): Remove.
7462 (update-subdirs): Use relative path to update-subdirs.
7463
7464 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7465
7466 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7467 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7468 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7469 Call unmsys--file-name before expand-file-name, not after it.
7470
7471 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7472
7473 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7474 (ert-test-skipped): New error.
7475 (ert-skip, ert-stats-skipped): New defuns.
7476 (ert--skip-unless): New macro.
7477 (ert-test-skipped): New struct.
7478 (ert--run-test-debugger, ert-test-result-type-p)
7479 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7480 (ert--stats-set-test-and-result, ert-char-for-test-result)
7481 (ert-string-for-test-result, ert-run-tests-batch)
7482 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7483 Handle skipped tests. (Bug#9803)
7484
7485 2013-10-24 Glenn Morris <rgm@gnu.org>
7486
7487 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7488
7489 * Makefile.in (abs_top_srcdir): New, set by configure.
7490 (update-subdirs): Correct build-aux location.
7491
7492 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7493
7494 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7495 value, whether we could auto-deduce `backend', or not.
7496
7497 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7498 with parameters" example. Simplify the "is it block or is it
7499 hash" check, but also make it more thorough.
7500
7501 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7502
7503 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7504
7505 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7508 { if it is hanging.
7509
7510 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7511 :before ";".
7512
7513 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7514
7515 * progmodes/compile.el (compilation-directory-matcher)
7516 (compilation-page-delimiter):
7517 Support GNU Make-4.0 directory quoting. (Bug#15678)
7518
7519 2013-10-23 Leo Liu <sdl.web@gmail.com>
7520
7521 * ido.el (ido-tidy): Handle read-only text.
7522
7523 2013-10-23 Glenn Morris <rgm@gnu.org>
7524
7525 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7526 (emacs, compile, compile-always):
7527 Quote entities that might contain whitespace.
7528 (custom-deps, finder-data, autoloads): Use abs_lisp.
7529 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7530 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7531 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7532
7533 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7534
7535 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7536 Use `following-char'.
7537
7538 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7541 * progmodes/ruby-mode.el (ruby-smie-rules):
7542 Remove corresponding workaround. Fix indentation rule of ";" so it
7543 also applies when ";" is the parent.
7544
7545 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7546
7547 * frame.el (display-screens, display-pixel-height)
7548 (display-pixel-width, display-mm-width, display-backing-store)
7549 (display-save-under, display-planes, display-color-cells)
7550 (display-visual-class, display-monitor-attributes-list):
7551 Mention the optional ‘display’ argument in doc strings.
7552
7553 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7554
7555 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7556 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7557
7558 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7559
7560 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7561 TODO. Add "." after " @ ".
7562 (ruby-smie--at-dot-call): New function. Checks if point at method
7563 call with explicit target.
7564 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7565 to the method name tokens when it precedes them.
7566 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7567 (ruby-smie-rules): Add rule for indentation before and after "."
7568 token.
7569
7570 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * textmodes/remember.el (remember-diary-extract-entries):
7573 Avoid add-to-list.
7574
7575 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7576 an instruction.
7577
7578 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7579
7580 * progmodes/ruby-mode.el (ruby-smie-grammar):
7581 Add (almost) all infix operators.
7582 (ruby-smie--implicit-semi-p): Add new operator chars.
7583
7584 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7585 `smie-down-list'.
7586 (ruby-smie--args-separator-p): Check that there's no newline
7587 between method call and its arguments.
7588
7589 2013-10-20 Alan Mackenzie <acm@muc.de>
7590
7591 Allow comma separated lists after Java "implements".
7592
7593 * progmodes/cc-engine.el (c-backward-over-enum-header):
7594 Parse commas.
7595 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7596 from a "disallowed" list in enum fontification.
7597
7598 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7599
7600 * startup.el (default-frame-background-mode): Remove unused defvar.
7601
7602 * progmodes/verilog-mode.el (verilog-mode): Don't set
7603 comment-indent-function globally.
7604
7605 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7606
7607 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7608 Move Info menu item creation to ns-win.el.
7609
7610 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7611 in menu bar.
7612
7613 * menu-bar.el: Move GNUstep specific menus...
7614
7615 * term/ns-win.el (ns-initialize-window-system): ... to here.
7616
7617 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * simple.el (newline): Only run post-self-insert-hook when
7620 called interactively.
7621
7622 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7623
7624 * icomplete.el (icomplete-with-completion-tables): Add :version.
7625
7626 2013-10-19 Alan Mackenzie <acm@muc.de>
7627
7628 Fix fontification bugs with constructors and const.
7629
7630 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7631 CASE 2) Remove the check for the absence of a suffix construct
7632 after a function declaration with only types (no identifiers) in
7633 the parentheses. Also, accept a function declaration with just a
7634 type inside the parentheses, if this type can be positively
7635 recognised as such, or if a prefix keyword like "explicit" nails
7636 down the construct as a declaration.
7637
7638 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7639
7640 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7641 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7642 the problem whereby selecting a menu item that leads to a
7643 minibuffer prompt moves the cursor out of the minibuffer window,
7644 making it hard to type at the prompt. Suggested by Stefan Monnier
7645 <monnier@iro.umontreal.ca>.
7646
7647 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7648
7649 * menu-bar.el: Don't make Services menu.
7650
7651 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7652
7653 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7654 (ffap-alist): Use ffap-c++-mode for c++-mode.
7655 (ffap-c++-path): New variable.
7656 (ffap-c++-mode): New function.
7657
7658 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7659
7660 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7661
7662 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7663
7664 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7665 introduced on 2013-09-08, which results in an infinite loop
7666 requesting a password.
7667
7668 2013-10-18 Glenn Morris <rgm@gnu.org>
7669
7670 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7671
7672 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7673
7674 Sync with upstream verilog-mode revision 1a6ecec7.
7675 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7676 (verilog-mode-release-date): Remove.
7677 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7678 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7679 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7680 (verilog-auto-tieoff-ignore-regexp)
7681 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7682 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7683 (verilog-signals-with, verilog-dir-cache-preserving)
7684 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7685 Doc fixes.
7686 (verilog-case-fold): New option, to control case folding in
7687 regexp searches, bug597.
7688 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7689 (verilog-string-match-fold, verilog-in-paren-count)
7690 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7691 (verilog-at-close-struct-p): New functions.
7692 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7693 (verilog-forward-sexp, verilog-set-auto-endcomments)
7694 (verilog-leap-to-case-head): Handle "unique0" case.
7695 (verilog-in-constraint-re): New constant.
7696 (verilog-keywords, verilog-type-font-keywords):
7697 Add some SystemVerilog 1800-2012 keywords.
7698 (verilog-label-be): Remove unimplemented argument, bug669.
7699 (verilog-batch-execute-func): When batch expanding clear
7700 create-lockfiles to prevent spurious user locks when a file ends
7701 up not changing.
7702 (verilog-calculate-indent, verilog-calc-1)
7703 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7704 (verilog-do-indent): Fix indentation of nested constraints
7705 and structures.
7706 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7707 (verilog-auto-inst-param): Use verilog-string-match-fold.
7708 (verilog-read-inst-module-matcher):
7709 Fix AUTOINST on gate primitives with #1.
7710 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7711 Reads all user-defined typed variables.
7712 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7713 (verilog-signals-matching-regexp)
7714 (verilog-signals-not-matching-regexp, verilog-auto):
7715 Respect verilog-case-fold.
7716 (verilog-diff-report): Fix line count.
7717 (verilog-auto-assign-modport): Remove unused local `modi'.
7718 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7719 better handle multidimensional arrays.
7720 Fix packed array ports misadding bit index in AUTOINST, bug637.
7721 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7722 to not double-declare existing outputs and inputs, respectively.
7723 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7724 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7725 (verilog-sk-uvm-component): New skeleton.
7726 (verilog-submit-bug-report): Add verilog-case-fold,
7727 remove verilog-mode-release-date.
7728
7729 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7730
7731 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7732 as before.
7733
7734 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7735
7736 * textmodes/remember.el (remember): Set buffer-offer-save in
7737 remember buffers (bug#13566).
7738
7739 2013-10-18 Daniel Colascione <dancol@dancol.org>
7740
7741 When evaluating forms in ielm, direct standard output to ielm
7742 buffer. Add new ielm-return-for-effect command. Remove trailing
7743 whitespace throughout.
7744
7745 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7746 (ielm-return-for-effect): New command.
7747 (ielm-send-input): Accept optional `for-effect' parameter.
7748 (ielm-eval-input): Accept optional `for-effect' parameter.
7749 Bind `standard-output' to stream we create using
7750 `ielm-standard-output-impl'. Suppress printing result when
7751 `for-effect'.
7752 (ielm-standard-output-impl): New function.
7753 (inferior-emacs-lisp-mode): Explain new features in documentation.
7754
7755 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7756
7757 Code cleanup.
7758
7759 * net/tramp.el (tramp-debug-message): Do not check for connection
7760 buffer.
7761 (tramp-message): Use "vector" connection property.
7762
7763 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7764 (tramp-equal-remote, tramp-eshell-directory-change)
7765 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7766 (tramp-adb-handle-rename-file)
7767 * net/tramp-cmds.el (tramp-list-remote-buffers)
7768 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7769 * net/tramp-compat.el (tramp-compat-process-running-p)
7770 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7771 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7772 (tramp-gvfs-handle-rename-file)
7773 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7774 (tramp-set-file-uid-gid)
7775 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7776 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7777 of `file-remote-p'.
7778
7779 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7780 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7781 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7782 (tramp-gw-open-network-stream): Suppress unrelated traces.
7783
7784 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7785 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7786 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7787 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7788 connection property.
7789
7790 * net/tramp-cache.el (top): Suppress traces when reading
7791 persistency file.
7792
7793 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7794 Refactor common code. Improve debug message.
7795 (tramp-maybe-open-connection)
7796 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7797 connection buffer too early.
7798
7799 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7800 from `tramp-smb-actions-with-acl'.
7801 (tramp-smb-actions-set-acl): New defconst.
7802 (tramp-smb-handle-copy-directory)
7803 (tramp-smb-action-get-acl): New defun, renamed from
7804 `tramp-smb-action-with-acl'.
7805 (tramp-smb-action-set-acl): New defun.
7806 (tramp-smb-handle-set-file-acl): Rewrite.
7807
7808 2013-10-17 Glenn Morris <rgm@gnu.org>
7809
7810 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7811
7812 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7813
7814 * skeleton.el (skeleton-newline): Remove.
7815 (skeleton-internal-1): Use (insert "\n") instead.
7816
7817 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7818 let-bindings.
7819
7820 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7821 forward-sexp-function while we redo its job (bug#15613).
7822
7823 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7824
7825 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7826 represented by lists.
7827
7828 2013-10-16 Glenn Morris <rgm@gnu.org>
7829
7830 * tmm.el (tmm--history): New dynamic variable.
7831 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7832
7833 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7834
7835 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7836 (tramp-smb-errors): Add error messages.
7837 (tramp-smb-actions-with-acl): New defconst.
7838 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7839 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7840 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7841 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7842 (tramp-smb-get-stat-capability): Fix tests.
7843
7844 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7845
7846 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7847 (bug#15580).
7848
7849 2013-10-16 Glenn Morris <rgm@gnu.org>
7850
7851 * ansi-color.el (ansi-color-drop-regexp):
7852 Add 1J, 1K, 2K. (Bug#15617)
7853
7854 * files.el (hack-local-variables--warned-lexical): New.
7855 (hack-local-variables):
7856 Warn about misplaced lexical-binding. (Bug#15616)
7857
7858 * net/eww.el (eww-render): Always set eww-current-url,
7859 and update header line. (Bug#15622)
7860 (eww-display-html): ... Rather than just doing it here.
7861
7862 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7863
7864 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7865 menu navigations commands.
7866
7867 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7868
7869 * progmodes/subword.el (subword-capitalize): Be careful when
7870 the search for [[:alpha:]] fails (bug#15580).
7871
7872 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7873
7874 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7875 to commands that scroll the menu.
7876
7877 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7878
7879 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7880 Handle methods ending with `?' and `!'.
7881
7882 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7883
7884 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7885 `japanese-cp932' to `cp932' to fix the problem where saving a
7886 source file written in Shift_JIS twice would end up having
7887 `coding: japanese-cp932' which Ruby could not recognize.
7888 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7889 in `ruby-encoding-map'.
7890 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7891 doesn't need to be explicitly declared in magic comment.
7892 (ruby-encoding-map): Add type declaration for better customize UI.
7893
7894 2013-10-13 Glenn Morris <rgm@gnu.org>
7895
7896 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7897 Occur buffers are read-only. http://bugs.debian.org/720775
7898
7899 * emacs-lisp/authors.el (authors-fixed-entries):
7900 Comment out old alpha stuff.
7901
7902 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7903
7904 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7905 to `after-save-hook' instead of `before-save-hook'.
7906 (ruby-mode-set-encoding): Use the value of coding system used to
7907 write the file. Call `basic-save-buffer-1' after modifying the
7908 buffer.
7909
7910 2013-10-13 Alan Mackenzie <acm@muc.de>
7911
7912 Fix indentation/fontification of Java enum with
7913 "implements"/generic.
7914
7915 * progmodes/cc-engine.el (c-backward-over-enum-header):
7916 Extracted from the three other places and enhanced to handle generics.
7917 (c-inside-bracelist-p): Uses new function above.
7918 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7919 function above.
7920 (c-font-lock-enum-tail): Uses new function above.
7921
7922 2013-10-13 Kenichi Handa <handa@gnu.org>
7923
7924 * international/mule-cmds.el (select-safe-coding-system): Remove a
7925 superfluous condition in chekcing whether a coding system is safe
7926 or not.
7927
7928 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7929
7930 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7931
7932 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7933
7934 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7935
7936 2013-10-13 Glenn Morris <rgm@gnu.org>
7937
7938 * menu-bar.el (menu-bar-update-buffers):
7939 Unify Buffers menu prompt string. (Bug#15576)
7940
7941 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7942
7943 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7944 Add some entries.
7945 (authors-fixed-entries): Use accented form of name.
7946
7947 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7948
7949 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7950 method calls (bug#15594).
7951 (ruby-smie--args-separator-p): New function.
7952 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7953 recognize paren-free method calls.
7954
7955 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7956 internals of universal-argument.
7957
7958 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7959
7960 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7961 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7962 dropped menu on second mouse click on the menu bar.
7963
7964 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7967 (explicit-shell-file-name): Declare.
7968 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7969 (sh-completion-at-point-function): New function.
7970 (sh-mode): Use it.
7971 (sh-smie--keyword-p): Remove unused argument.
7972 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7973 vars.
7974 (sh-set-shell): Always setup SMIE, even if we use the
7975 old indentation code.
7976
7977 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7978
7979 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7980 cases of ? and =.
7981 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7982 predicate would return nil are almost non-existent.
7983 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7984
7985 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7986 cache also after commands that modify the buffer but don't move
7987 point.
7988
7989 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * env.el (substitute-env-in-file-name): New function.
7992 (substitute-env-vars): Extend the meaning of the optional arg.
7993
7994 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7995
7996 * term/w32-win.el (dynamic-library-alist): Define separate lists
7997 of GIF DLLs for versions before and after 5.0.0 of giflib.
7998 (Bug#15531)
7999
8000 2013-10-10 João Távora <joaotavora@gmail.com>
8001
8002 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8003 not locked, use last revision and current source as
8004 defaults. (Bug#15569)
8005
8006 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8007
8008 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8009 menu-bar is hidden.
8010
8011 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (pop-to-buffer-same-window): Fix doc-string.
8014 (Bug#15492)
8015
8016 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8019
8020 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8021
8022 * calendar/icalendar.el (icalendar-import-file):
8023 Fix interactive spec. (Bug#15482)
8024
8025 2013-10-10 Glenn Morris <rgm@gnu.org>
8026
8027 * desktop.el (desktop-save): Default to saving in .emacs.d,
8028 since PWD is no longer in desktop-path by default. (Bug#15319)
8029
8030 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8031 now that text mode has a menu with the same entry.
8032 (menu-bar-text-mode-auto-fill): Remove now unused func.
8033 * textmodes/text-mode.el (text-mode-map):
8034 Use auto-fill help text from menu-bar.el.
8035
8036 2013-10-10 John Anthony <john@jo.hnanthony.com>
8037
8038 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8039
8040 2013-10-09 Juri Linkov <juri@jurta.org>
8041
8042 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8043 instead of this-command-keys. Add universal-argument-more and
8044 universal-argument-minus to the list of prefix commands. (Bug#15568)
8045
8046 2013-10-09 Glenn Morris <rgm@gnu.org>
8047
8048 * vc/vc-svn.el (vc-svn-create-repo):
8049 Expand paths in file://... url. (Bug#15446)
8050
8051 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8052 Add some entries.
8053 (authors): Remove unused local variables.
8054
8055 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * profiler.el: Create a more coherent calltree from partial backtraces.
8058 (profiler-format): Hide the tail with `invisible' so that C-s can still
8059 find the hidden elements.
8060 (profiler-calltree-depth): Don't recurse so enthusiastically.
8061 (profiler-function-equal): New hash-table-test.
8062 (profiler-calltree-build-unified): New function.
8063 (profiler-calltree-build): Use it.
8064 (profiler-report-make-name-part): Indent the calltree less.
8065 (profiler-report-mode): Add visibility specs for profiler-format.
8066 (profiler-report-expand-entry, profiler-report-toggle-entry):
8067 Expand the whole subtree when provided with a prefix arg.
8068
8069 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8070
8071 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8072 iuwu-mod token.
8073 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8074 hanging iuwu-mod token.
8075 (ruby-smie--forward-token): Do not include a dot after a token in
8076 that token.
8077 (ruby-smie--backward-token): Likewise.
8078
8079 2013-10-08 Juri Linkov <juri@jurta.org>
8080
8081 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8082 to isearch-other-control-char.
8083 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8084 and isearch-post-command-hook to post-command-hook.
8085 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8086 and isearch-post-command-hook from post-command-hook.
8087 (isearch-unread-key-sequence)
8088 (isearch-reread-key-sequence-naturally)
8089 (isearch-lookup-scroll-key, isearch-other-control-char)
8090 (isearch-other-meta-char): Remove functions.
8091 (isearch-pre-command-hook, isearch-post-command-hook):
8092 New functions based on isearch-other-meta-char rewritten
8093 relying on the new behavior of overriding-terminal-local-map
8094 that does not replace the local keymaps any more. (Bug#15200)
8095
8096 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8097
8098 Support menus on text-mode terminals.
8099 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8100 functionality.
8101
8102 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8103
8104 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8105 Move here from mouse.el.
8106 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8107 and arrow keys.
8108 (tty-menu-navigation-map): New map for TTY menu navigation.
8109
8110 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8111
8112 * frame.el (display-mouse-p): Report text-mode mouse as available
8113 on w32.
8114 (display-popup-menus-p): Report availability if mouse is
8115 available; don't condition on window-system.
8116
8117 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8118 (tty-menu-selected-face): New faces.
8119
8120 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8123 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8124 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8125 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8126 New constants.
8127 (lisp-mode-variables): New `elisp' argument.
8128 (emacs-lisp-mode): Use it.
8129 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8130 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8131
8132 * indent.el: Use lexical-binding.
8133 (indent-region): Add progress reporter.
8134 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8135 last step.
8136 (indent--next-tab-stop): New function to implement this behavior.
8137 (tab-to-tab-stop, move-to-tab-stop): Use it.
8138
8139 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8140
8141 * indent.el (indent-rigidly--current-indentation): New function.
8142 (indent-rigidly-map): New var.
8143 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8144
8145 2013-10-08 Bastien Guerry <bzg@gnu.org>
8146
8147 * register.el (insert-register): Fix 2013-10-07 change.
8148
8149 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * progmodes/perl-mode.el: Use lexical-binding.
8152 Remove redundant :group args.
8153 (perl-nochange): Change default to be closer to other major modes's
8154 standard behavior.
8155 (perl-indent-line): Don't consider text on current line as a
8156 valid beginning of function from which to indent.
8157
8158 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8159 with more than one argument (bug#15538).
8160
8161 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8162
8163 * vc/pcvs.el: Use lexical-binding.
8164 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8165 environment of `eval'.
8166 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8167 than a list of expressions. Adjust callers.
8168 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8169
8170 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8171
8172 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8173 case of the dot in a chained method call being on the following line.
8174
8175 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * electric.el (electric-indent-inhibit): New var.
8178 (electric-indent-post-self-insert-function): Use it.
8179 * progmodes/python.el (python-mode): Set it.
8180
8181 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8182 open braces.
8183
8184 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8185
8186 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8187 (css-mode): Use electric-indent-chars.
8188
8189 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8190 (font-lock-beg, font-lock-end): Move before first use.
8191 (nxml-mode): Use syntax-propertize-function.
8192 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8193 (nxml-extend-after-change-region): Remove.
8194 * nxml/xmltok.el: Use lexical-binding.
8195 (xmltok-save): Use `declare'.
8196 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8197 * nxml/nxml-util.el: Use lexical-binding.
8198 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8199 Use `declare'.
8200 * nxml/nxml-ns.el: Use lexical-binding.
8201 (nxml-ns-save): Use `declare'.
8202 (nxml-ns-prefixes-for): Avoid add-to-list.
8203 * nxml/rng-match.el: Use lexical-binding.
8204 (rng--ipattern): Use cl-defstruct.
8205 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8206 (rng-cons-group-after, rng-subst-group-after)
8207 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8208 Use closures instead of `(lambda...).
8209
8210 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8211
8212 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8213 of BEG and END.
8214
8215 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8216 Use `tramp-handle-insert-file-contents'.
8217 (tramp-gvfs-handle-insert-file-contents): Remove function.
8218
8219 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8220 Use `save-restriction' in order to keep markers.
8221
8222 * net/trampver.el: Update release number.
8223
8224 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * progmodes/compile.el (compilation-parse-errors):
8227 Use compilation--put-prop.
8228 (compilation--ensure-parse): Check compilation-multiline.
8229
8230 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8231
8232 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8233 lexical-binding.
8234
8235 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8236
8237 * progmodes/ruby-mode.el: Fix recently added tests.
8238 (ruby-smie-grammar): Add - and +.
8239 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8240 (ruby-smie--backward-id): New functions.
8241 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8242 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8243 any more.
8244
8245 2013-10-07 Leo Liu <sdl.web@gmail.com>
8246
8247 * register.el (register-preview-delay)
8248 (register-preview-functions): New variables.
8249 (register-read-with-preview, register-preview)
8250 (register-describe-oneline): New functions.
8251 (point-to-register, window-configuration-to-register)
8252 (frame-configuration-to-register, jump-to-register)
8253 (number-to-register, view-register, insert-register)
8254 (copy-to-register, append-to-register, prepend-to-register)
8255 (copy-rectangle-to-register): Use register-read-with-preview to
8256 read register. (Bug#15525)
8257
8258 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8259
8260 * net/network-stream.el (network-stream-open-starttls): Don't add
8261 --insecure if it's already present, because that gnutls-cli
8262 rejects getting that parameter twice.
8263
8264 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8265
8266 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8267 keyword, too.
8268
8269 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8270
8271 * newcomment.el (comment-use-global-state): Change default value
8272 to t, mark obsolete (Bug#15251).
8273 (comment-beginning): In addition to `comment-to-syntax', check the
8274 value of `comment-use-global-state'.
8275
8276 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8279 (ruby-comment-column): Follow the global default, by default.
8280 (ruby-smie-grammar): Add assignment syntax.
8281 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8282 open-paren, a comma, or a \.
8283 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8284 and line continuations.
8285 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8286 followed by implicit semi-colons. Add rule for string concatenation
8287 and for indentation at BOB.
8288 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8289
8290 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8291 calling next-sexp, since next-token may have skipped chars which
8292 next-sexp doesn't know should be skipped!
8293
8294 2013-10-05 Leo Liu <sdl.web@gmail.com>
8295
8296 * progmodes/octave.el (octave-send-region):
8297 Call compilation-forget-errors.
8298
8299 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8300
8301 * vc/vc-svn.el (vc-svn-find-admin-dir):
8302 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8303 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8304 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8305 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8306
8307 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8308
8309 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8310
8311 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * subr.el (read-passwd): Hide chars even when called within a context
8314 where after-change-functions is disabled (bug#15501).
8315 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8316 until we removed ourself from overriding-terminal-local-map.
8317
8318 2013-10-04 Leo Liu <sdl.web@gmail.com>
8319
8320 * progmodes/octave.el (inferior-octave-mode):
8321 Call compilation-forget-errors.
8322
8323 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8324
8325 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8326
8327 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8328
8329 * net/secrets.el (secrets-create-collection): Add optional
8330 argument ALIAS. Use proper Label keyword. Append ALIAS as
8331 dbus-call-method argument. (Bug#15516)
8332
8333 2013-10-04 Leo Liu <sdl.web@gmail.com>
8334
8335 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8336 (inferior-octave-compilation-font-lock-keywords): New variables.
8337 (compilation-error-regexp-alist)
8338 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8339 (inferior-octave-mode): Use compilation-shell-minor-mode.
8340
8341 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8342
8343 * minibuffer.el (completion--replace): Be careful that `end' might be
8344 a marker.
8345
8346 2013-10-03 Daiki Ueno <ueno@gnu.org>
8347
8348 Add support for package signature checking.
8349 * emacs-lisp/package.el (url-http-file-exists-p)
8350 (epg-make-context, epg-context-set-home-directory)
8351 (epg-verify-string, epg-context-result-for)
8352 (epg-signature-status, epg-signature-to-string)
8353 (epg-check-configuration, epg-configuration)
8354 (epg-import-keys-from-file): Declare.
8355 (package-check-signature): New user option.
8356 (package-unsigned-archives): New user option.
8357 (package-desc): Add `signed' field.
8358 (package-load-descriptor): Set `signed' field if .signed file exists.
8359 (package--archive-file-exists-p): New function.
8360 (package--check-signature): New function.
8361 (package-install-from-archive): Check package signature.
8362 (package--download-one-archive): Check archive signature.
8363 (package-delete): Remove .signed file.
8364 (package-import-keyring): New command.
8365 (package-refresh-contents): Import default keyring.
8366 (package-desc-status): Add "unsigned" status.
8367 (describe-package-1, package-menu--print-info)
8368 (package-menu-mark-delete, package-menu--find-upgrades)
8369 (package-menu--status-predicate): Support "unsigned" status.
8370
8371 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8374 the new compilation scheme using the new byte-codes.
8375
8376 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8377 (byte-pophandler): New byte codes.
8378 (byte-goto-ops): Adjust accordingly.
8379 (byte-compile--use-old-handlers): New var.
8380 (byte-compile-catch): Use new byte codes depending on
8381 byte-compile--use-old-handlers.
8382 (byte-compile-condition-case--old): Rename from
8383 byte-compile-condition-case.
8384 (byte-compile-condition-case--new): New function.
8385 (byte-compile-condition-case): New function that dispatches depending
8386 on byte-compile--use-old-handlers.
8387 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8388 when we can.
8389
8390 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8391 Optimize under `condition-case' and `catch' if
8392 byte-compile--use-old-handlers is nil.
8393 (disassemble-offset): Handle new bytecodes.
8394
8395 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * subr.el (error): Use `declare'.
8398 (decode-char, encode-char): Use advertised-calling-convention instead
8399 of the docstring to discourage use of the `restriction' arg.
8400
8401 2013-10-03 Daiki Ueno <ueno@gnu.org>
8402
8403 * epg.el (epg-verify-file): Add a comment saying that it does not
8404 notify verification error as a return value nor a signal.
8405 (epg-verify-string): Ditto.
8406
8407 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8408
8409 * progmodes/compile.el (compilation-start): Try globbing the arg to
8410 `cd' (bug#15417).
8411
8412 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8413
8414 Sync with Tramp 2.2.8.
8415
8416 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8417 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8418 * net/trampver.el: Update release number.
8419
8420 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8421
8422 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8423 and default-process-coding-system for darwin only.
8424
8425 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8428
8429 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8430
8431 * vc/vc-git.el (vc-git-grep): Disable pager.
8432
8433 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8434
8435 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8436 Use :url instead of :homepage, as per
8437 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8438
8439 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8440 non-nil, use `syntax-ppss' (Bug#15251).
8441
8442 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8443
8444 * progmodes/octave.el (inferior-octave-startup-file):
8445 Prefer ~/.emacs.d/init_octave.m.
8446
8447 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8448
8449 * emacs-lisp/package.el (package-desc-from-define):
8450 Accept additional arguments as plist, convert them to an alist and store
8451 them in the `extras' slot.
8452 (package-generate-description-file): Convert extras alist back to
8453 plist and append to the `define-package' form arguments.
8454 (package--alist-to-plist): New function.
8455 (package--ac-desc): Add `extras' slot.
8456 (package--add-to-archive-contents): Check if the archive-contents
8457 vector is long enough, and if it is, pass its `extras' slot value
8458 to `package-desc-create'.
8459 (package-buffer-info): Call `lm-homepage', pass the returned value
8460 to `package-desc-from-define'.
8461 (describe-package-1): Render the homepage button (Bug#13291).
8462
8463 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8464 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8465
8466 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8467
8468 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8469 and default-process-coding-system to utf-8-unix (Bug#15402).
8470
8471 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8472
8473 * subr.el (looking-back): Do not recommend using looking-back.
8474
8475 2013-09-28 Alan Mackenzie <acm@muc.de>
8476
8477 Fix indentation/fontification of Java enum with "implements".
8478
8479 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8480 regexp which matches "implements", etc., in Java.
8481 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8482 specifier clauses coming after "enum".
8483 * progmodes/cc-fonts.el (c-font-lock-declarations)
8484 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8485 after "enum".
8486
8487 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8488
8489 * faces.el (region): Change ns_selection_color to
8490 ns_selection_fg_color, add ns_selection_bg_color.
8491
8492 2013-09-28 Leo Liu <sdl.web@gmail.com>
8493
8494 * progmodes/octave.el (inferior-octave-completion-table)
8495 (inferior-octave-completion-at-point): Minor tweaks.
8496
8497 * textmodes/ispell.el (ispell-lookup-words): Rename from
8498 lookup-words. (Bug#15460)
8499 (lookup-words): Obsolete.
8500 (ispell-complete-word, ispell-command-loop): All uses changed.
8501
8502 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8503
8504 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8505 (octave-mode-menu): Add octave-send-buffer.
8506 (octave-send-buffer): New function.
8507
8508 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8509
8510 * progmodes/octave.el (octave-mode-map): Add key binding for
8511 octave-lookfor.
8512 (octave-mode-menu): Add octave-lookfor.
8513 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8514 octave-lookfor.
8515 (octave-lookfor): New function.
8516
8517 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8520 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8521 its convention.
8522 (cl--loop-set-iterator-function): New function.
8523 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8524 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8525 Bind `it' with `let' instead of substituting it with `cl-subst'.
8526 (cl--unused-var-p): New function.
8527 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8528 Eliminate some unused variable warnings (bug#15326).
8529
8530 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8531
8532 * doc-view.el (doc-view-scale-reset): Rename from
8533 `doc-view-reset-zoom-level'.
8534 (doc-view-scale-adjust): New command.
8535 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8536 `doc-view-scale-adjust'.
8537
8538 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8539
8540 * doc-view.el (doc-view-reset-zoom-level): New command.
8541 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8542 zoom commands (bug#15466).
8543
8544 2013-09-26 Kenichi Handa <handa@gnu.org>
8545
8546 * international/quail.el (quail-help): Make it not a command.
8547
8548 2013-09-26 Leo Liu <sdl.web@gmail.com>
8549
8550 * minibuffer.el (completion-all-sorted-completions): Make args
8551 optional as they are.
8552
8553 2013-09-25 Daniel Colascione <dancol@dancol.org>
8554
8555 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8556 specs are and that they're not evaluated.
8557
8558 2013-09-24 Sam Steingold <sds@gnu.org>
8559
8560 * midnight.el (clean-buffer-list-kill-regexps)
8561 (clean-buffer-list-kill-buffer-names): Update for the new Man
8562 buffer naming which includes the object name.
8563
8564 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8567 (eshell-parse-command, eshell-parse-pipeline): Use it since
8568 eshell-separate-commands requires a dynamic scoped var.
8569 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8570
8571 2013-09-23 Leo Liu <sdl.web@gmail.com>
8572
8573 * autoinsert.el (auto-insert-alist): Make the value of
8574 lexical-binding match its file setting.
8575
8576 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8577
8578 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8579
8580 * autoarg.el (autoarg-kp-digit-argument):
8581 * electric.el (Electric-command-loop):
8582 * kmacro.el (kmacro-step-edit-insert):
8583 Do not set universal-argument-num-events.
8584
8585 2013-09-22 Leo Liu <sdl.web@gmail.com>
8586
8587 * files.el (interpreter-mode-alist): Add octave.
8588
8589 2013-09-21 Alan Mackenzie <acm@muc.de>
8590
8591 C++: fontify identifier in declaration following "public:" correctly.
8592 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8593 to match "public", etc.
8594 (c-decl-prefix-re): Add ":" into the C++ value.
8595 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8596 bit. Add a check for a ":" preceded by "public", etc.
8597
8598 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8599
8600 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8601 recognized by GDB 7.5 and later.
8602
8603 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8604
8605 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8606
8607 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * subr.el (internal--call-interactively): New const.
8610 (called-interactively-p): Use it (bug#3984).
8611
8612 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8613
8614 * vc/pcvs.el (cvs-mode-ignore):
8615 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8616 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8617
8618 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8621 (eshell-ls-orig-insert-directory): Remove.
8622 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8623 (eshell-ls-use-in-dired): Use advice-add/remove.
8624 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8625 Add `orig-fun' arg for use in :around advice.
8626 Make it check (redundantly) eshell-ls-use-in-dired.
8627
8628 2013-09-19 Glenn Morris <rgm@gnu.org>
8629
8630 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8631
8632 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8633
8634 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8635
8636 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8639 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8640 (tramp-get-remote-python): New defuns.
8641 (tramp-get-remote-uid-with-perl)
8642 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8643 contributed by yary <not.com@gmail.com> (tiny change).
8644 (tramp-get-remote-uid-with-python)
8645 (tramp-get-remote-gid-with-python): New defuns. Python code
8646 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8647 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8648
8649 2013-09-19 Glenn Morris <rgm@gnu.org>
8650
8651 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8652
8653 * eshell/em-unix.el (eshell-remove-entries):
8654 Rename argument to avoid name-clash with global `top-level'.
8655
8656 * eshell/esh-proc.el (eshell-kill-process-function):
8657 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8658 (eshell-reset-after-proc): Remove unused arg `proc'.
8659
8660 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8661 (directory-files-and-attributes): Mark unused arg.
8662
8663 * eshell/em-unix.el (eshell-remove-entries):
8664 Remove unused arg `path'. Update callers.
8665
8666 * eshell/em-hist.el (eshell-hist-parse-arguments):
8667 Remove unused arg `silent'. Update callers.
8668
8669 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8670 Fix (f)boundp mix-up.
8671
8672 * eshell/em-smart.el (eshell-smart-scroll-window)
8673 (eshell-disable-after-change):
8674 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8675
8676 2013-09-18 Alan Mackenzie <acm@muc.de>
8677
8678 Fix fontification of type when followed by "const".
8679 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8680 "known" types from fontification.
8681
8682 2013-09-18 Glenn Morris <rgm@gnu.org>
8683
8684 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8685 (chart-face-list): Drop Emacsen without display-color-p.
8686
8687 * net/eww.el (libxml-parse-html-region): Declare.
8688 (eww-display-html): Explicit error if no libxml2 support.
8689
8690 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8691
8692 * image.el (image-type-from-buffer, image-multi-frame-p):
8693 Remove --without-x warning/error.
8694
8695 * mouse.el (mouse-yank-primary):
8696 * term.el (term-mouse-paste):
8697 Reorder to silence --without-x compilation.
8698
8699 * mpc.el (doc-view-mode): Silence --without-x compilation.
8700
8701 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8702 Silence --without-x compilation.
8703
8704 * progmodes/gud.el (gud-find-file, gud-mode):
8705 Silence --without-x compilation.
8706 (tooltip-mode): Declare.
8707
8708 * wdired.el (dired-backup-overwrite): Remove declaration.
8709 (wdired-mode-map): Add doc string.
8710
8711 * custom.el (x-get-resource): Declare.
8712
8713 * eshell/em-glob.el (ange-cache):
8714 * eshell/em-unix.el (ange-cache): Declare.
8715
8716 * faces.el (x-display-list, x-open-connection, x-get-resource):
8717 Declare.
8718
8719 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8720 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8721 Declare.
8722
8723 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8724
8725 * net/gnutls.el (gnutls-log-level): Declare.
8726
8727 * net/shr.el (image-size, image-animate): Declare.
8728
8729 * simple.el (font-info): Declare.
8730
8731 * subr.el (x-popup-dialog): Declare.
8732
8733 * term/common-win.el (x-select-enable-primary)
8734 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8735 Declare.
8736
8737 * term/ns-win.el (x-handle-args): Declare.
8738
8739 * term/x-win.el (x-select-enable-clipboard): Declare.
8740
8741 * term/w32-win.el (create-default-fontset): Declare.
8742
8743 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8744 Declare.
8745
8746 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8747 (fit-frame-to-buffer): Explicit error if --without-x.
8748 (mouse-autoselect-window-select): Silence compiler.
8749
8750 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8751
8752 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8753 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8754 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8755 * eshell/esh-util.el (eshell-sublist):
8756 Remove unused local variables.
8757
8758 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8759
8760 * textmodes/two-column.el: Make 2C-split work for --without-x.
8761 (scroll-bar-columns): Autoload.
8762 (top-level): Require fringe when compiling.
8763
8764 2013-09-18 Leo Liu <sdl.web@gmail.com>
8765
8766 * subr.el (add-hook): Robustify to handle closure as well.
8767
8768 2013-09-17 Glenn Morris <rgm@gnu.org>
8769
8770 * simple.el (messages-buffer-mode-map): Unbind "g".
8771
8772 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * help-mode.el (help-mode-finish): Use derived-mode-p.
8775 Remove obsolete highlighting.
8776
8777 * play/life.el (life-mode): Use define-derived-mode. Derive from
8778 special-mode.
8779 (life): Let-bind inhibit-read-only.
8780 (life-setup): Avoid `setq'. Use `life-mode'.
8781
8782 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8783 which should not be needed any more.
8784 (package-menu-refresh, package-menu-describe-package): Use user-error.
8785
8786 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8787 (eshell-post-rewrite-command-hook): Make obsolete.
8788 (eshell-parse-command): Simplify.
8789 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8790 (eshell--cmd): Declare.
8791 (eshell-parse-pipeline): Remove unused var `final-p'.
8792 Pass a dynvar to eshell-post-rewrite-command-hook.
8793 Implement the new eshell-post-rewrite-command-function.
8794 (eshell-invoke-directly): Remove unused arg `input'.
8795 * eshell/esh-io.el (eshell-io-initialize):
8796 Use eshell-post-rewrite-command-function (bug#15399).
8797 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8798 adjust to new calling convention.
8799 (eshell-create-handles): Rename args to avoid clashing with dynvar
8800 `standard-output'.
8801
8802 2013-09-17 Glenn Morris <rgm@gnu.org>
8803
8804 * simple.el (messages-buffer-mode): New major mode.
8805 (messages-buffer): New function.
8806 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8807 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8808 (ert-run-test): Use `messages-buffer' function.
8809 (ert--force-message-log-buffer-truncation): Ignore read-only.
8810 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8811 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8812
8813 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8816
8817 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8818
8819 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * icomplete.el (icomplete-in-buffer): New var.
8822 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8823 vars and replace them with functions.
8824 (icomplete-minibuffer-setup): Adjust accordingly.
8825 (icomplete--completion-table, icomplete--completion-predicate)
8826 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8827 New functions.
8828 (icomplete-forward-completions, icomplete-backward-completions)
8829 (icomplete-simple-completing-p, icomplete-exhibit)
8830 (icomplete-completions): Use them.
8831 (icomplete--in-region-buffer): New var.
8832 (icomplete--in-region-setup): New function.
8833 (icomplete-mode): Use it.
8834
8835 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8836 (bug#15379).
8837 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8838 return args and options.
8839 (eshell-eval-using-options): Use the new return value of
8840 eshell--do-opts to set the options's vars in their scope.
8841 (eshell--set-option): Rename from eshell-set-option.
8842 Add arg `opt-vals'.
8843 (eshell--process-option): Rename from eshell-process-option.
8844 Add arg `opt-vals'.
8845 (eshell--process-args): Use an `opt-vals' alist to store the options's
8846 values during their processing and return them additionally to the
8847 remaining args.
8848
8849 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8850
8851 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8852 continuation character an operator, as far as indentation is
8853 concerned (Bug#15369).
8854
8855 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8856
8857 * window.el (window--state-put-2): Don't process buffer state
8858 when buffer doesn't exist any more (Bug#15382).
8859
8860 2013-09-15 Glenn Morris <rgm@gnu.org>
8861
8862 * eshell/em-unix.el (eshell/rm):
8863 Make -f ignore missing files. (Bug#15373)
8864
8865 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8866 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8867 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8868
8869 2013-09-14 Glenn Morris <rgm@gnu.org>
8870
8871 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8872
8873 2013-09-13 Glenn Morris <rgm@gnu.org>
8874
8875 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8876 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8877
8878 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8879
8880 * frame.el (x-focus-frame): Mark as declared in frame.c.
8881
8882 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * ls-lisp.el: Use advice-add.
8885 (original-insert-directory): Remove.
8886 (ls-lisp--insert-directory): Rename from insert-directory; add
8887 `orig-fun' argument.
8888 (insert-directory): Advise.
8889
8890 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8891
8892 * term.el (term-emulate-terminal): Decode the command string
8893 before passing it to term-command-hook. (Bug#15337)
8894
8895 2013-09-13 Glenn Morris <rgm@gnu.org>
8896
8897 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8898
8899 * eshell/esh-ext.el (eshell-search-path): Declare.
8900
8901 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8902 Otherwise an error occurs if eshell-dirs module not loaded.
8903
8904 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8905
8906 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8907
8908 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8909 `tramp-check-proper-host'. Check for a valid method name.
8910
8911 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8912 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8913 * net/tramp-sh.el (tramp-maybe-open-connection):
8914 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8915
8916 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8917 also for hash values.
8918
8919 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * term/ns-win.el (parameters): Don't declare as dynamic.
8922 (before-make-frame-hook): Don't add ineffective function.
8923
8924 * eshell/*.el: Use lexical-binding (bug#15231).
8925
8926 2013-09-12 Kenichi Handa <handa@gnu.org>
8927
8928 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8929
8930 2013-09-12 Glenn Morris <rgm@gnu.org>
8931
8932 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8933 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8934
8935 * subr.el (do-after-load-evaluation): Also give compiler warnings
8936 when obsolete files are used (except by obsolete files).
8937
8938 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8939 in the status output, assume `filename' is the first. (Bug#15322)
8940
8941 * vc/vc.el (vc-deduce-fileset): Doc fix.
8942
8943 * calc/calc-help.el (Info-goto-node):
8944 * progmodes/cperl-mode.el (Info-find-node):
8945 * vc/ediff.el (Info-goto-node): Update declarations.
8946
8947 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8948
8949 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8950 (vc-bzr-pull): Require vc-dispatcher.
8951 * vc/vc-git.el (vc-compilation-mode): Declare.
8952 (vc-git-pull): Require vc-dispatcher.
8953
8954 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8955
8956 * progmodes/octave.el (help-button-action): Declare.
8957
8958 * shell.el (shell-directory-tracker): Output error as a message
8959 rather than just returning it as a string.
8960 (shell-process-pushd): Remove useless use of message.
8961
8962 * dframe.el (dframe-timer-fn):
8963 * files.el (dir-locals-read-from-file):
8964 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8965 (mpc-format):
8966 * reveal.el (reveal-post-command):
8967 * saveplace.el (load-save-place-alist-from-file):
8968 * shell.el (shell-resync-dirs):
8969 * w32-common-fns.el (x-get-selection-value):
8970 * emacs-lisp/copyright.el (copyright-find-copyright):
8971 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8972 * emulation/tpu-edt.el (tpu-copy-keyfile):
8973 * play/bubbles.el (bubbles--mark-neighbourhood):
8974 * progmodes/executable.el
8975 (executable-make-buffer-file-executable-if-script-p):
8976 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8977
8978 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 Cleanup Eshell to rely less on dynamic scoping.
8981 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8982 last-value, and ext-command here. Bind `args' closer to `body'.
8983 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8984 (eshell--args): Declare new dynamic var.
8985 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8986 last-value, and ext-command. Pass `args' to `body'.
8987 (eshell-process-args): Bind eshell--args.
8988 (eshell-set-option): Use eshell--args.
8989 * eshell/eshell.el (eshell): Use derived-mode-p.
8990 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8991 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8992 (eshell-glob-function): Declare.
8993 * eshell/esh-util.el: Require cl-lib.
8994 (eshell-read-hosts-file): Avoid add-to-list.
8995 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8996 `err'.
8997 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8998 Declare.
8999 (eshell/diff): Remove unused var `err'.
9000 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9001 `killflag'.
9002 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9003 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9004 first use.
9005 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9006 Move declaration before first use.
9007 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9008 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9009 rely on cl-return.
9010
9011 2013-09-12 Glenn Morris <rgm@gnu.org>
9012
9013 * term/ns-win.el (global-map): Remove binding for ispell-next,
9014 deleted 1999-05-29. (Bug#15357)
9015
9016 2013-09-11 Glenn Morris <rgm@gnu.org>
9017
9018 * echistory.el (electric-command-history): Remove call to deleted func.
9019
9020 * play/landmark.el (landmark-mode): Fix typos.
9021
9022 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9023 Check cvs-sort-ignore-file is bound.
9024
9025 * savehist.el: No need for cl when compiling on Emacs.
9026
9027 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9030 (bug#15338).
9031 (eshell-self-insert-command, eshell-send-invisible):
9032 Remove unused argument.
9033 (eshell-handle-control-codes): Remove unused var `orig'.
9034 Avoid delete-backward-char.
9035
9036 * files.el (set-auto-mode): Simplify a bit further.
9037
9038 2013-09-11 Glenn Morris <rgm@gnu.org>
9039
9040 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9041 (set-auto-mode): Don't regexp-quote elements.
9042 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9043 * progmodes/cc-mode.el (interpreter-mode-alist):
9044 * progmodes/ruby-mode.el (interpreter-mode-alist):
9045 Revert previous change.
9046
9047 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * play/snake.el (snake-mode):
9050 * play/mpuz.el (mpuz-mode):
9051 * play/landmark.el (lm-mode):
9052 * play/blackbox.el (blackbox-mode):
9053 * play/5x5.el (5x5-mode):
9054 * obsolete/options.el (Edit-options-mode):
9055 * net/quickurl.el (quickurl-list-mode):
9056 * net/newst-treeview.el (newsticker-treeview-mode):
9057 * mail/rmailsum.el (rmail-summary-mode):
9058 * mail/mspools.el (mspools-mode):
9059 * locate.el (locate-mode):
9060 * ibuffer.el (ibuffer-mode):
9061 * emulation/ws-mode.el (wordstar-mode):
9062 * emacs-lisp/debug.el (debugger-mode):
9063 * array.el (array-mode):
9064 * net/eudc.el (eudc-mode): Use define-derived-mode.
9065 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9066 Move initialization into declaration.
9067 (mairix-searches-mode): Use define-derived-mode.
9068 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9069 (eudc-edit-hotlist): Use dolist.
9070 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9071 (Man-mode): Use define-derived-mode.
9072 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9073 (Info-edit-mode): Use define-derived-mode.
9074 (Info-cease-edit): Use Info-mode.
9075 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9076 into declaration.
9077 (eshell-mode): Use define-derived-mode.
9078 * chistory.el (command-history-mode-map): Rename from
9079 command-history-map.
9080 (command-history-mode): Use define-derived-mode.
9081 (Command-history-setup): Remove function.
9082 * calc/calc.el (calc-trail-mode-map): New var.
9083 (calc-trail-mode): Use define-derived-mode.
9084 (calc-trail-buffer): Set calc-main-buffer manually.
9085 * bookmark.el (bookmark-insert-annotation): New function.
9086 (bookmark-edit-annotation): Use it.
9087 (bookmark-edit-annotation-mode): Make it a proper major mode.
9088 (bookmark-send-edited-annotation): Use derived-mode-p.
9089 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9090 closer to its ideal place. Use \' to match EOS.
9091
9092 * profiler.el (profiler-calltree-find): Use function-equal.
9093
9094 2013-09-10 Glenn Morris <rgm@gnu.org>
9095
9096 * files.el (interpreter-mode-alist): Convert to regexps.
9097 (set-auto-mode): Adapt for this. (Bug#15306)
9098 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9099 Comment out unused variable.
9100 * progmodes/cc-mode.el (interpreter-mode-alist):
9101 * progmodes/python.el (interpreter-mode-alist):
9102 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9103 * progmodes/sh-script.el (sh-set-shell):
9104 No longer use interpreter-mode-alist to get list of shells.
9105
9106 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9107
9108 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * simple.el: Use set-temporary-overlay-map for universal-argument.
9111 (universal-argument-map): Don't use default-bindings (bug#15317).
9112 Bind switch-frame explicitly. Replace universal-argument-minus with
9113 a conditional binding.
9114 (universal-argument-num-events, saved-overriding-map): Remove.
9115 (restore-overriding-map): Remove.
9116 (universal-argument--mode): Rename from save&set-overriding-map,
9117 and rewrite.
9118 (universal-argument, universal-argument-more, negative-argument)
9119 (digit-argument): Adjust accordingly.
9120 (universal-argument-minus): Remove.
9121 (universal-argument-other-key): Remove.
9122
9123 * subr.el (with-demoted-errors): Add `format' argument.
9124
9125 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9126
9127 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9128 `tramp-cleanup-connection'.
9129
9130 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9131 parameters KEEP-DEBUG and KEEP-PASSWORD.
9132
9133 * net/tramp.el (tramp-file-name-handler):
9134 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9135 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9136 (tramp-maybe-open-connection):
9137 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9138 Use `tramp-cleanup-connection'.
9139
9140 * net/tramp-sh.el (tramp-maybe-open-connection):
9141 Catch 'uname-changed inside the progress reporter.
9142
9143 2013-09-10 Glenn Morris <rgm@gnu.org>
9144
9145 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9146
9147 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9148 returns "alternate access method" in mode (eg "-rw-r--r--.").
9149
9150 2013-09-08 Glenn Morris <rgm@gnu.org>
9151
9152 * saveplace.el (load-save-place-alist-from-file):
9153 Demote errors. (Bug#15305)
9154
9155 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9156
9157 Improve compatibility with older Emacsen, and XEmacs.
9158
9159 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9160 only if it is bound. It isn't for XEmacs.
9161 (with-tramp-progress-reporter): Do not let-bind `result'.
9162 This yields to scoping errors in XEmacs.
9163 (tramp-handle-make-auto-save-file-name): New function, moved from
9164 tramp-sh.el.
9165
9166 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9167 for `make-auto-save-file-name'.
9168 (tramp-adb--gnu-switches-to-ash):
9169 Use `tramp-compat-replace-regexp-in-string'.
9170
9171 * net/tramp-cache.el (tramp-cache-print): Call
9172 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9173
9174 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9175 bound. It isn't for XEmacs.
9176
9177 * net/tramp-compat.el (tramp-compat-copy-file):
9178 Catch `wrong-number-of-arguments' error.
9179 (tramp-compat-replace-regexp-in-string): New defun.
9180
9181 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9182 for `make-auto-save-file-name'.
9183 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9184 `copy-file'.
9185 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9186 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9187 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9188
9189 * net/tramp-gw.el (tramp-gw-open-network-stream):
9190 Use `tramp-compat-replace-regexp-in-string'.
9191
9192 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9193 Call `tramp-handle-make-auto-save-file-name'.
9194 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9195 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9196 (tramp-sh-file-inotifywait-process-filter):
9197 Use `tramp-compat-replace-regexp-in-string'.
9198 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9199
9200 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9201 for `make-auto-save-file-name'.
9202 (tramp-smb-handle-copy-directory):
9203 Call `tramp-compat-replace-regexp-in-string'.
9204 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9205 (tramp-smb-handle-copy-file): Improve error message.
9206 (tramp-smb-handle-rename-file): Rename directly only in case
9207 `newname' does not exist yet. This is a restriction of smbclient.
9208 (tramp-smb-maybe-open-connection): Rerun the function only when
9209 `auth-sources' is non-nil.
9210
9211 2013-09-08 Kenichi Handa <handa@gnu.org>
9212
9213 * international/characters.el: Set category "^" (Combining) for
9214 more characters.
9215
9216 2013-09-07 Alan Mackenzie <acm@muc.de>
9217
9218 Correctly fontify Java class constructors.
9219 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9220 in Java Mode.
9221 (c-recognize-typeless-decls): Set the Java value to t.
9222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9223 While handling a "(", add a check for, effectively, Java, and handle a
9224 "typeless" declaration there.
9225
9226 2013-09-07 Roland Winkler <winkler@gnu.org>
9227
9228 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9229 field subtitle for entry type book.
9230
9231 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9232
9233 * minibuffer.el: Make minibuffer-complete call completion-in-region
9234 rather than other way around.
9235 (completion--some, completion-pcm--find-all-completions):
9236 Don't delay signals when debugging.
9237 (minibuffer-completion-contents): Beware fields within the
9238 minibuffer contents.
9239 (completion-all-sorted-completions): Use defvar-local.
9240 (completion--do-completion, completion--cache-all-sorted-completions)
9241 (completion-all-sorted-completions, minibuffer-force-complete):
9242 Add args `beg' and `end'.
9243 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9244 (minibuffer-complete): Use completion-in-region.
9245 (completion-complete-and-exit): New fun, extracted from
9246 minibuffer-complete-and-exit.
9247 (minibuffer-complete-and-exit): Use it.
9248 (completion--complete-and-exit): Rename from
9249 minibuffer--complete-and-exit.
9250 (completion-in-region--single-word): New function, extracted from
9251 minibuffer-complete-word.
9252 (minibuffer-complete-word): Use it.
9253 (display-completion-list): Make `common-substring' argument obsolete.
9254 (completion--in-region): Call completion--in-region-1 instead of
9255 minibuffer-complete.
9256 (completion-help-at-point): Pass boundaries to
9257 minibuffer-completion-help as args rather than via an overlay.
9258 (completion-pcm--string->pattern): Use `any-delim'.
9259 (completion-pcm--optimize-pattern): New function.
9260 (completion-pcm--pattern->regex): Handle `any-delim'.
9261 * icomplete.el (icomplete-forward-completions)
9262 (icomplete-backward-completions, icomplete-completions):
9263 Adjust calls to completion-all-sorted-completions and
9264 completion--cache-all-sorted-completions.
9265 (icomplete-with-completion-tables): Default to t.
9266 * emacs-lisp/crm.el (crm--current-element): Rename from
9267 crm--select-current-element. Don't put an overlay but return the
9268 boundaries instead.
9269 (crm--completion-command): Take two new args to bind to the boundaries.
9270 (crm-completion-help): Adjust accordingly.
9271 (crm-complete): Use completion-in-region.
9272 (crm-complete-word): Use completion-in-region--single-word.
9273 (crm-complete-and-exit): Use completion-complete-and-exit.
9274
9275 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9278 than dynamically.
9279
9280 2013-09-06 Juri Linkov <juri@jurta.org>
9281
9282 * info.el (Info-display-images-node): When image file doesn't exist
9283 display text version of the image if it's provided in the Info file.
9284 Otherwise, display the location of missing image from SRC attribute.
9285 Add help-echo text property from ALT attribute. (Bug#15279)
9286
9287 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9290 (edit-abbrevs-mode): Use define-derived-mode.
9291
9292 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9293 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9294 that it's defined.
9295 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9296 Use define-derived-mode.
9297
9298 * epg.el (epg-start-encrypt): Minor CSE simplification.
9299
9300 2013-09-06 William Xu <william.xwl@gmail.com>
9301
9302 * arc-mode.el: Add support for 7za (bug#15264).
9303 (archive-7z-program): New var.
9304 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9305 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9306 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9307
9308 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9309
9310 Remove URL syntax.
9311
9312 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9313 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9314 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9315 (tramp-postfix-host-format, tramp-file-name-regexp)
9316 (tramp-completion-file-name-regexp)
9317 (tramp-completion-dissect-file-name)
9318 (tramp-handle-substitute-in-file-name): Remove 'url case.
9319 (tramp-file-name-regexp-url)
9320 (tramp-completion-file-name-regexp-url): Remove constants.
9321
9322 2013-09-06 Glenn Morris <rgm@gnu.org>
9323
9324 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9325
9326 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9327
9328 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9329 keywords" below "here-doc beginnings" (Bug#15270).
9330
9331 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * subr.el (pop): Use `car-safe'.
9334 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9335 to detect unused `pop' return value.
9336
9337 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9338 var `block-regexp'.
9339 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9340 (python-fill-string): Remove unused var `marker'.
9341 (python-skeleton-add-menu-items): Remove unused var `items'.
9342
9343 * international/mule-cmds.el: Require CL.
9344 (find-coding-systems-for-charsets): Avoid add-to-list.
9345 (sanitize-coding-system-list): New function, extracted from
9346 select-safe-coding-system-interactively.
9347 (select-safe-coding-system-interactively): Use it.
9348 (read-input-method-name): Accept symbols for `default'.
9349
9350 * emacs-lisp/advice.el (defadvice): Add indent rule.
9351
9352 2013-09-05 Daniel Hackney <dan@haxney.org>
9353
9354 * dired-x.el:
9355 * net/ange-ftp.el:
9356 * net/browse-url.el:
9357 * net/dbus.el:
9358 * net/eudc.el:
9359 * net/eudcb-ldap.el:
9360 * net/eww.el:
9361 * net/imap.el:
9362 * printing.el:
9363 * vc/ediff-diff.el:
9364 * vc/ediff-init.el:
9365 * vc/ediff-merg.el:
9366 * vc/ediff-mult.el:
9367 * vc/ediff-util.el:
9368 * vc/ediff-wind.el:
9369 * vc/ediff.el:
9370 * vc/emerge.el:
9371 * vc/pcvs.el:
9372 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9373 byte compiler. Remove some unused let-bound variables.
9374
9375 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9378 a "ref-cell", since it gets better optimized (bug#14883).
9379
9380 2013-09-05 Glenn Morris <rgm@gnu.org>
9381
9382 * progmodes/cc-awk.el (c-forward-sws): Declare.
9383
9384 2013-09-04 Glenn Morris <rgm@gnu.org>
9385
9386 * generic-x.el [rul-generic-mode]: Require cc-mode.
9387 (c++-mode-syntax-table): Declare.
9388 (rul-generic-mode-syntax-table): Init in the defvar.
9389
9390 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9393 (vc-do-command, vc-set-async-update):
9394 * vc/vc-mtn.el (vc-mtn-dir-status):
9395 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9396 (vc-hg-pull, vc-hg-merge-branch):
9397 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9398 (vc-git-merge-branch):
9399 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9400 (vc-cvs-dir-status-files):
9401 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9402 (vc-bzr-dir-status-files):
9403 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9404 * vc/vc-annotate.el: Use lexical-binding.
9405 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9406 (vc-sentinel-movepoint): Declare.
9407 (vc-annotate): Don't use `goto-line'.
9408 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9409 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9410 (vc-sentinel-movepoint): Declare.
9411 * vc/vc-svn.el: Use lexical-binding.
9412 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9413 * vc/vc-sccs.el:
9414 * vc/vc-rcs.el: Use lexical-binding.
9415
9416 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9417 `deleted'. Don't drop errors silently.
9418
9419 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9420
9421 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9422
9423 * vc/vc.el (vc-ignore): Rewrite.
9424 (vc-default-ignore): New function.
9425 (vc-default-ignore-completion-table): Use find-ignore-file.
9426
9427 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9428 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9429 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9430 Remove. Most code moved to vc.el.
9431
9432 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9433
9434 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9435 * net/tramp-smb.el (tramp-smb-get-file-entries):
9436 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9437 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9438
9439 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9440 Update call to it.
9441 (eww-change-select): Remove unused var `properties'.
9442 (eww-make-unique-file-name): Remove unused var `base'.
9443
9444 * finder.el (finder-compile-keywords): Don't mess with windows.
9445
9446 * calculator.el (calculator-funcall): Fix typo in last change.
9447
9448 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9449
9450 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9451 <pkg>-autoloads.el file stop us.
9452
9453 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9454 warnings, and factor out common code.
9455
9456 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9457
9458 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9459 two-character operators and whether the character preceding them
9460 changes their meaning (Bug#15208).
9461
9462 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9463
9464 Format code sent to Python shell for robustness.
9465 * progmodes/python.el (python-shell-buffer-substring):
9466 New function.
9467 (python-shell-send-region, python-shell-send-buffer): Use it.
9468
9469 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9470
9471 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9472 * net/tramp.el (tramp-user-error): ... here.
9473 (tramp-find-method, tramp-check-proper-host)
9474 (tramp-dissect-file-name, tramp-debug-message)
9475 (tramp-handle-shell-command):
9476 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9477 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9478
9479 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9480
9481 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9482
9483 * avoid.el (mouse-avoidance-point-position)
9484 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9485 returns nil.
9486
9487 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9488
9489 * progmodes/python.el (python-shell-completion-get-completions):
9490 Drop use of deleted `comint-last-prompt-overlay'.
9491 (python-nav-if-name-main): New command.
9492
9493 2013-09-01 Glenn Morris <rgm@gnu.org>
9494
9495 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9496 Avoid leading space in $wins. Otherwise the sed command used by
9497 eg compile-main ends up containing "/*.el". (Bug#15170)
9498
9499 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9500
9501 2013-08-30 Glenn Morris <rgm@gnu.org>
9502
9503 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9504 Fix is-this-a-directory logic. (Bug#15220)
9505
9506 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * textmodes/css-mode.el: Use SMIE.
9509 (css-smie-grammar): New var.
9510 (css-smie--forward-token, css-smie--backward-token)
9511 (css-smie-rules): New functions.
9512 (css-mode): Use them.
9513 (css-navigation-syntax-table): Remove var.
9514 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9515 (css-indent-calculate, css-indent-line): Remove functions.
9516
9517 Misc changes to reduce use of `(lambda...); and other cleanups.
9518 * cus-edit.el: Use lexical-binding.
9519 (customize-push-and-save, customize-apropos)
9520 (custom-buffer-create-internal): Use closures.
9521 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9522 * progmodes/ada-xref.el: Use setq.
9523 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9524 * dframe.el: Use lexical-binding.
9525 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9526 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9527 * descr-text.el: Use lexical-binding.
9528 (describe-text-widget, describe-text-sexp, describe-property-list):
9529 Use closures.
9530 * comint.el (comint-history-isearch-push-state): Use a closure.
9531 * calculator.el: Use lexical-binding.
9532 (calculator-number-to-string): Make it work with lexical-binding.
9533 (calculator-funcall): Same and use cl-letf.
9534
9535 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9536 (lisp--company-doc-string, lisp--company-location): New functions.
9537 (lisp-completion-at-point): Use them to improve Company support.
9538
9539 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9540 params of lambda expressions.
9541 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9542 (ruby-smie--opening-pipe-p): New function.
9543 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9544 symbols and matched |...| for formal params.
9545 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9546 from being treated as hanging. Handle "rescue".
9547
9548 2013-08-29 Glenn Morris <rgm@gnu.org>
9549
9550 * progmodes/cc-engine.el (c-pull-open-brace):
9551 Move definition before use.
9552
9553 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9556 are immutable. Don't use `unsafe' any more.
9557 (cl--defsubst-expand): Don't substitute at the same time as keeping
9558 a residual unused let-binding. Don't use `unsafe' any more.
9559
9560 2013-08-29 Glenn Morris <rgm@gnu.org>
9561
9562 * calendar/cal-china.el (calendar-chinese-year-cache):
9563 Recenter on 2015.
9564
9565 * nxml/nxml-util.el (nxml-debug-clear-inside):
9566 Use cl-loop rather than loop.
9567
9568 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9569
9570 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9571
9572 2013-08-28 Glenn Morris <rgm@gnu.org>
9573
9574 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9575
9576 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9577
9578 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9579
9580 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9581
9582 * simple.el (repeat-complex-command--called-interactively-skip):
9583 New function.
9584 (repeat-complex-command): Use it (bug#14136).
9585
9586 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9587 (c-define-abbrev-table): Add `doc' argument.
9588 (c-mode-abbrev-table, c++-mode-abbrev-table)
9589 (objc-mode-abbrev-table, java-mode-abbrev-table)
9590 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9591 (awk-mode-abbrev-table): Use it.
9592 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9593 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9594 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9595 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9596 Move initialization into the declaration; and remove any
9597 autoload cookie.
9598
9599 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9600 and dynamic let binding.
9601
9602 * vc/smerge-mode.el: Remove redundant :group args.
9603
9604 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9605 to load-path.
9606
9607 2013-08-28 Juri Linkov <juri@jurta.org>
9608
9609 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9610 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9611 (isearch-other-meta-char): Handle an undefined shifted printing
9612 character by downshifting it. (Bug#15200)
9613
9614 2013-08-28 Juri Linkov <juri@jurta.org>
9615
9616 * isearch.el (isearch-search): Change regexp error message for
9617 non-regexp searches. (Bug#15166)
9618
9619 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9620
9621 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9622 for portability to hosts where /bin/sh has problems.
9623
9624 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9627
9628 2013-08-27 Juri Linkov <juri@jurta.org>
9629
9630 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9631 in the keyboard macro. (Bug#15126)
9632
9633 2013-08-27 Juri Linkov <juri@jurta.org>
9634
9635 * isearch.el (isearch-quote-char): Comment out converting unibyte
9636 to multibyte, thus syncing with its `quoted-insert' counterpart.
9637 (Bug#15166)
9638
9639 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9640
9641 * window.el (display-buffer-use-some-window): Add missing
9642 argument in call of get-largest-window (Bug#15185).
9643 Reported by Stephen Leake.
9644
9645 2013-08-27 Glenn Morris <rgm@gnu.org>
9646
9647 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9648
9649 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9652 from a matcher-function unless there's no more matches (bug#15161).
9653
9654 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9655
9656 * minibuffer.el: Revert change from 2013-08-20.
9657
9658 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9659 with text property `tramp-default', if appropriate.
9660 (tramp-check-proper-host): New defun.
9661 (tramp-dissect-file-name): Do not check hostname. Revert change
9662 of 2013-03-18.
9663 (tramp-backtrace): Make VEC-OR-PROC optional.
9664
9665 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9666 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9667 * net/tramp-sh.el (tramp-maybe-open-connection):
9668 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9669 Apply `tramp-check-proper-host'.
9670
9671 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9672
9673 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9674 lambda expression in order to have `describe-variable' display it.
9675
9676 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9677
9678 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9679 BUF can be optional. (Bug#15186)
9680
9681 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9682
9683 * progmodes/flymake.el (flymake-get-real-file-name-function):
9684 Fix broken customization. (Bug#15184)
9685
9686 2013-08-25 Alan Mackenzie <acm@muc.de>
9687
9688 Improve indentation of bracelists defined by macros (without "=").
9689
9690 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9691 expansion begins with "{", regard it as bracelist when it doesn't
9692 contain a ";".
9693
9694 Parse C++ inher-intro when there's a template split over 2 lines.
9695
9696 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9697 rigorously the search for "class" etc. followed by ":".
9698
9699 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9700 random languages a regexp which never matches rather than nil.
9701
9702 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9703
9704 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9705 (c-awk-regexp-one-line-possibly-open-char-list-re)
9706 (c-awk-one-line-possibly-open-regexp-re)
9707 (c-awk-one-line-non-syn-ws*-re): Remove.
9708 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9709 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9710 (c-awk-space*-unclosed-regexp-/-re): New constants.
9711 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9712 aren't regexp delimiters.
9713
9714 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9715 handling for a rare situation in AWK Mode involving unterminated
9716 strings/regexps.
9717
9718 2013-08-23 Glenn Morris <rgm@gnu.org>
9719
9720 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9721
9722 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9723
9724 * files.el (create-file-buffer): If the result would begin with
9725 spaces, prepend a "|" instead of removing them. (Bug#15162)
9726
9727 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9730 text-properties (bug#15155).
9731
9732 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9733 exist any more.
9734 (calc-keypad-redraw): Remove unused var `pad'.
9735 (calc-keypad-press): Remove unused var `menu'.
9736
9737 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9738
9739 * window.el (display-buffer-pop-up-frame):
9740 Call pop-up-frame-function with BUFFER current so `make-frame' will
9741 use it as the new frame's buffer (Bug#15133).
9742
9743 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * calendar/timeclock.el: Minor cleanups.
9746 (timeclock-ask-before-exiting, timeclock-use-display-time):
9747 Use `symbol'.
9748 (timeclock-modeline-display): Define as alias before the
9749 actual definition.
9750 (timeclock-mode-line-display): Use define-minor-mode.
9751 (timeclock-day-list-template): Make it a function, add an argument.
9752 (timeclock-day-list-required, timeclock-day-list-length)
9753 (timeclock-day-list-debt, timeclock-day-list-span)
9754 (timeclock-day-list-break): Adjust calls accordingly.
9755
9756 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9759 Use read--expression so that completion works again.
9760
9761 2013-08-21 Sam Steingold <sds@gnu.org>
9762
9763 Add rudimentary inferior shell interaction
9764 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9765 (sh-set-shell): Reset it.
9766 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9767 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9768
9769 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * align.el: Use lexical-binding.
9772 (align-region): Simplify accordingly.
9773
9774 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9775
9776 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9777
9778 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9779 `non-essential' up.
9780
9781 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9782
9783 * net/tramp.el:
9784 * net/tramp-adb.el:
9785 * net/tramp-cmds.el:
9786 * net/tramp-ftp.el:
9787 * net/tramp-gvfs.el:
9788 * net/tramp-gw.el:
9789 * net/tramp-sh.el: Don't wrap external variable declarations by
9790 `eval-when-compile'.
9791
9792 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9793
9794 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9795 now that Emacs supports ImageMagick animations.
9796
9797 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9798
9799 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9800 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9801
9802 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9803
9804 * window.el (mouse-autoselect-window-select): Do autoselect when
9805 mouse pointer is on margin.
9806
9807 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9808
9809 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9810
9811 2013-08-16 Glenn Morris <rgm@gnu.org>
9812
9813 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9814 Handle "Remote Directory" response of some clients. (Bug#15058)
9815
9816 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9817 Tweak warning. (Bug#14926)
9818
9819 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9820 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9821
9822 * image-mode.el (image-mode-map): Add menu items to reverse,
9823 increase, decrease, reset animation speed.
9824 (image--set-speed, image-increase-speed, image-decrease-speed)
9825 (image-reverse-speed, image-reset-speed): New functions.
9826 (image-mode-map): Add bindings for speed commands.
9827
9828 * image.el (image-animate-get-speed, image-animate-set-speed):
9829 New functions.
9830 (image-animate-timeout): Respect image :speed property.
9831
9832 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9835 previous line (bug#15101).
9836 (debugger-eval-expression, debugger-record-expression):
9837 Use read--expression (bug#15102).
9838
9839 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9840
9841 Remove byte compiler warnings, visible when compiling with
9842 `byte-compile-force-lexical-warnings' set to t.
9843
9844 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9845 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9846 (tramp-handle-unhandled-file-name-directory)
9847 (tramp-handle-file-notify-add-watch, tramp-action-login)
9848 (tramp-action-succeed, tramp-action-permission-denied)
9849 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9850 arguments with "_".
9851
9852 * net/tramp-adb.el (tramp-adb-parse-device-names)
9853 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9854 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9855 (tramp-adb-handle-file-truename): Remove unused arguments.
9856
9857 * net/tramp-cache.el (tramp-flush-directory-property)
9858 (tramp-flush-connection-property, tramp-list-connections)
9859 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9860
9861 * net/tramp-compat.el (tramp-compat-make-temp-file):
9862 Rename FILENAME to F.
9863
9864 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9865 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9866 (tramp-zeroconf-parse-workstation-device-names)
9867 (tramp-zeroconf-parse-webdav-device-names)
9868 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9869
9870 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9871 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9872
9873 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9874 arguments.
9875 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9876 (tramp-sh-handle-insert-file-contents-literally)
9877 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9878 with "_".
9879 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9880 Remove unused variables.
9881
9882 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9883 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9884 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9885
9886 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9887 Make them a defconst.
9888 (tramp-uuencode-region): Remove unused variable.
9889
9890 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9891
9892 * frameset.el (frameset--prop-setter): New function.
9893 (frameset-prop): Add gv-setter declaration.
9894 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9895 parameter was already set in FILTERED. Doc fix.
9896 (frameset--record-minibuffer-relationships): Allow saving a
9897 minibufferless frame without its corresponding minibuffer frame.
9898 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9899 frame, if the frame id matches.
9900 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9901 frames before orphaned ones.
9902 (frameset-restore): Warn about orphaned windows, instead of error out.
9903
9904 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9905
9906 * window.el (window-make-atom): Don't overwrite parameter
9907 already present.
9908 (display-buffer-in-atom-window): Handle special case where we
9909 split an already atomic window.
9910 (window--major-non-side-window, display-buffer-in-side-window)
9911 (window--side-check): Ignore minibuffer window when walking
9912 window tree.
9913 (window-deletable-p): Return 'frame only if no other frame uses
9914 our minibuffer window.
9915 (record-window-buffer): Run buffer-list-update-hook.
9916 (split-window): Make sure window--check-frame won't destroy an
9917 existing atomic window in case the new window gets nested
9918 inside.
9919 (display-buffer-at-bottom): Ignore minibuffer window when
9920 walking window tree. Don't split a side window.
9921 (pop-to-buffer): Don't set-buffer here, the select-window call
9922 should do that.
9923 (mouse-autoselect-window-select): Autoselect only if we are in the
9924 text portion of the window.
9925
9926 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9927
9928 * net/shr.el (shr-parse-image-data): New function to grab both the
9929 data itself and the Content-Type.
9930 (shr-put-image): Use it.
9931
9932 * net/eww.el (eww-display-image): Ditto.
9933
9934 * image.el (image-content-type-suffixes): New variable.
9935
9936 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9937
9938 * progmodes/python.el (python-imenu--build-tree)
9939 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9940
9941 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9942
9943 * simple.el (backward-word): Mention the optional argument.
9944
9945 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * frameset.el (frameset--make): Rename constructor from make-frameset.
9948 (frameset-p, frameset-valid-p): Don't autoload.
9949 (frameset-valid-p): Use normal accessors.
9950
9951 2013-08-13 Glenn Morris <rgm@gnu.org>
9952
9953 * progmodes/compile.el (compile-command): Tweak example in doc.
9954 * obsolete/scribe.el (scribe-mode):
9955 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9956
9957 * mail/feedmail.el (feedmail-confirm-outgoing)
9958 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9959
9960 * cus-start.el (truncate-partial-width-windows): Fix type.
9961
9962 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9963
9964 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9965
9966 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * emacs-lisp/timer.el (timer--time-setter): New function.
9969 (timer--time): Use it as gv-setter.
9970
9971 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9972 setter is not a symbol.
9973
9974 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9975
9976 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9977 if sending fails. This makes debugging easier.
9978
9979 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9980
9981 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9982 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9983 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9984
9985 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9986
9987 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9988
9989 2013-08-12 Glenn Morris <rgm@gnu.org>
9990
9991 * format.el (format-annotate-function):
9992 Handle read-only text properties in the source. (Bug#14887)
9993
9994 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9995
9996 * net/eww.el (eww-display-html): Ignore coding system errors.
9997 One web site uses "utf-8lias" as the coding system.
9998
9999 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10002
10003 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10004
10005 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10006 (tutorial--detailed-help): Remove unused local variables.
10007 (tutorial--save-tutorial-to): Use ignore-errors.
10008 (help-with-tutorial): Use looking-at-p.
10009
10010 * view.el (view-buffer-other-window, view-buffer-other-frame):
10011 Mark unused arguments.
10012
10013 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10014 (woman-select-symbol-fonts, woman, woman-find-file)
10015 (woman-insert-file-contents, woman-non-underline-faces):
10016 Use string-match-p.
10017 (woman1-unquote): Move declaration.
10018
10019 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10020 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10021 argument. Remove unused local variable.
10022 (xml-parse-elem-type): Use string-match-p.
10023 (xml-substitute-numeric-entities): Use ignore-errors.
10024
10025 * calculator.el (calculator): Mark unused argument.
10026 (calculator-paste, calculator-quit, calculator-integer-p):
10027 Use ignore-errors.
10028 (calculator-string-to-number, calculator-decimal, calculator-exp)
10029 (calculator-op-or-exp): Use string-match-p.
10030
10031 * dired.el (dired-buffer-more-recently-used-p): Declare.
10032 (dired-insert-set-properties, dired-insert-old-subdirs):
10033 Use ignore-errors.
10034
10035 * dired-aux.el (dired-compress): Use ignore-errors.
10036 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10037 (dired-do-async-shell-command, dired-do-shell-command)
10038 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10039 (dired-insert-subdir-validate): Use string-match-p.
10040 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10041 (dired-add-entry): Use string-match-p, looking-at-p.
10042 (dired-insert-subdir-newpos): Remove unused local variable.
10043
10044 * filenotify.el (file-notify-callback): Remove unused local variable.
10045
10046 * filesets.el (filesets-error): Mark unused argument.
10047 (filesets-which-command-p, filesets-filter-dir-names)
10048 (filesets-directory-files, filesets-get-external-viewer)
10049 (filesets-ingroup-get-data): Use string-match-p.
10050
10051 * find-file.el (ff-other-file-name, ff-other-file-name)
10052 (ff-find-the-other-file, ff-cc-hh-converter):
10053 Remove unused local variables.
10054 (ff-get-file-name): Use string-match-p.
10055 (ff-all-dirs-under): Use ignore-errors.
10056
10057 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10058 (follow-select-if-visible): Remove unused local variable.
10059
10060 * forms.el (read-file-filter): Move declaration.
10061 (forms--make-format, forms--make-parser, forms-insert-record):
10062 Quote function with #'.
10063 (forms--update): Use string-match-p. Quote function with #'.
10064
10065 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10066 (help-make-xrefs): Use looking-at-p.
10067 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10068
10069 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10070 (ibuffer-confirm-operation-on): Use string-match-p.
10071
10072 * msb.el (msb-item-handler, msb-dired-item-handler):
10073 Mark unused arguments.
10074
10075 * ses.el (ses-decode-cell-symbol)
10076 (ses-kill-override): Remove unused local variable.
10077 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10078 (ses-load): Use ignore-errors, looking-at-p.
10079 (ses-jump-safe): Use ignore-errors.
10080 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10081
10082 * tabify.el (untabify, tabify): Mark unused arguments.
10083
10084 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10085 Mark unused argument.
10086 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10087 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10088
10089 * emacs-lisp/timer.el (timer--time): Define setter with
10090 gv-define-setter to avoid deprecation warning.
10091
10092 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10093 (*record-cmpl-statistics-p*): Remove (was commented out).
10094 (cmpl-statistics-block): Remove (body was commented out).
10095 All callers changed.
10096 (add-completions-from-buffer, load-completions-from-file):
10097 Remove unused variables.
10098
10099 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10100
10101 * filecache.el (file-cache-delete-file-list):
10102 Print message only when told so.
10103 (file-cache-files-matching): Use #' in mapconcat argument.
10104
10105 * ffap.el (ffap-url-at-point): Fix reference to variable
10106 thing-at-point-default-mail-uri-scheme.
10107
10108 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * subr.el (define-error): New function.
10111 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10112 error-file-not-found and define with define-error.
10113 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10114 and define with define-error.
10115 * userlock.el (file-locked, file-supersession):
10116 * simple.el (mark-inactive):
10117 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10118 * progmodes/ada-mode.el (ada-mode-errors):
10119 * play/life.el (life-extinct):
10120 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10121 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10122 * nxml/rng-util.el (rng-error):
10123 * nxml/rng-uri.el (rng-uri-error):
10124 * nxml/rng-match.el (rng-compile-error):
10125 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10126 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10127 * nxml/nxml-rap.el (nxml-scan-error):
10128 * nxml/nxml-outln.el (nxml-outline-error):
10129 * net/soap-client.el (soap-error):
10130 * net/gnutls.el (gnutls-error):
10131 * net/ange-ftp.el (ftp-error):
10132 * mpc.el (mpc-proc-error):
10133 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10134 (json-number-format, json-string-escape, json-string-format)
10135 (json-key-format, json-object-format):
10136 * jka-compr.el (compression-error):
10137 * international/quail.el (quail-error):
10138 * international/kkc.el (kkc-error):
10139 * emacs-lisp/ert.el (ert-test-failed):
10140 * calc/calc.el (calc-error, inexact-result, math-overflow)
10141 (math-underflow):
10142 * bookmark.el (bookmark-error-no-filename):
10143 * epg.el (epg-error): Define with define-error.
10144
10145 * time.el (display-time-event-handler)
10146 (display-time-next-load-average): Don't call sit-for since it seems
10147 unnecessary (bug#15045).
10148
10149 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10150 Use #' instead of ' to quote functions.
10151 (checkdoc-output-mode): Use setq-local.
10152 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10153 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10154 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10155 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10156 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10157 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10158 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10159 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10160
10161 * ido.el (ido-completion-help): Fix up compiler warning.
10162
10163 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10164
10165 * frameset.el (frameset-p): Add autoload cookie.
10166 (frameset--jump-to-register): New function, based on code moved from
10167 register.el.
10168 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10169
10170 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10171 (frameset-restore, frameset-save, frameset-session-filter-alist):
10172 Remove declarations.
10173 (register-alist): Doc fix.
10174 (frameset-to-register): Move to frameset.el.
10175 (jump-to-register, describe-register-1): Remove frameset-specific code.
10176
10177 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10178
10179 * allout-widgets.el (allout-widgets-pre-command-business)
10180 (allout-widgets-post-command-business)
10181 (allout-widgets-after-change-handler)
10182 (allout-decorate-item-and-context, allout-set-boundary-marker)
10183 (allout-body-modification-handler)
10184 (allout-graphics-modification-handler): Mark ignored arguments.
10185 (allout-widgets-post-command-business)
10186 (allout-widgets-exposure-change-processor)
10187 (allout-widgets-exposure-undo-processor)
10188 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10189 (allout-parse-item-at-point, allout-decorate-item-guides)
10190 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10191 * allout.el (epa-passphrase-callback-function): Declare.
10192 (allout-overlay-insert-in-front-handler)
10193 (allout-overlay-interior-modification-handler)
10194 (allout-isearch-end-handler, allout-chart-siblings)
10195 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10196 (allout-yank-processing, allout-process-exposed)
10197 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10198 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10199 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10200 (lisp-indent-defform): Mark ignored arguments.
10201 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10202 (calculate-lisp-indent): Remove unused variables.
10203 * international/characters.el (indian-2-column, arabic-2-column)
10204 (tibetan): Mark ignored arguments.
10205 (use-cjk-char-width-table): Mark ignored arguments.
10206 Remove unused variables.
10207 * international/fontset.el (build-default-fontset-data)
10208 (x-compose-font-name, create-fontset-from-fontset-spec):
10209 Mark ignored arguments.
10210 (fontset-plain-name): Remove unused variables.
10211 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10212 (keyboard-coding-system): Mark ignored arguments.
10213 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10214 * help.el (resize-temp-buffer-window):
10215 * window.el (display-buffer-in-major-side-window)
10216 (display-buffer-in-side-window, display-buffer-in-previous-window):
10217 Remove unused variables.
10218 * isearch.el (isearch-forward-symbol):
10219 * version.el (emacs-bzr-version-bzr):
10220 * international/mule-cmds.el (current-language-environment):
10221 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10222 (x-handle-display):
10223 * term/pc-win.el (x-list-fonts, x-display-planes)
10224 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10225 (x-server-version, x-display-screens, x-display-mm-height)
10226 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10227 (x-selection-owner-p, x-own-selection-internal)
10228 (x-disown-selection-internal, x-get-selection-internal)
10229 (msdos-initialize-window-system):
10230 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10231 * term/x-win.el (x-handle-no-bitmap-icon):
10232 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10233 (vc-default-find-file-hook, vc-default-extra-menu):
10234 Mark ignored arguments.
10235
10236 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10239 break-condition in the context of the debugged code (bug#12685).
10240
10241 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10242
10243 * comint.el:
10244 Do not use an overlay to highlight the last prompt. (Bug#14744)
10245 (comint-mode): Make comint-last-prompt buffer local.
10246 (comint-last-prompt): New variable.
10247 (comint-last-prompt-overlay): Remove. Superseded by
10248 comint-last-prompt.
10249 (comint-snapshot-last-prompt, comint-output-filter):
10250 Use comint-last-prompt.
10251
10252 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10253
10254 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10255 (frameset-save): Check validity of the resulting frameset.
10256
10257 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10258
10259 * ido.el (ido-record-command): Add doc string.
10260
10261 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10262
10263 * frameset.el (frameset): Do not disable creation of the default
10264 frameset-p predicate. Doc fix.
10265 (frameset-valid-p): New function, copied from the old predicate-p.
10266 Add additional checks.
10267 (frameset-restore): Check with frameset-valid-p.
10268 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10269 (frameset-name, frameset-description, frameset-properties)
10270 (frameset-states): Add docstring.
10271 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10272 (frameset-filter-alist): Doc fixes.
10273
10274 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10275
10276 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10277
10278 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10281 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10282 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10283 (byte-compile-normal-call): Remove obsolescence check.
10284
10285 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10286
10287 * frameset.el (frameset-restore): Doc fix.
10288
10289 * register.el (frameset-frame-id, frameset-frame-with-id)
10290 (frameset-p, frameset-restore, frameset-save): Declare.
10291 (register-alist): Document framesets.
10292 (frameset-session-filter-alist): Declare.
10293 (frameset-to-register): New function.
10294 (jump-to-register): Implement jumping to framesets. Doc fix.
10295 (describe-register-1): Describe framesets.
10296
10297 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10298
10299 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10300
10301 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10302 Use lexical-binding.
10303
10304 * frameset.el (frameset): Use type vector, not list (incompatible
10305 change). Do not declare a new constructor, use the default one.
10306 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10307 `name' and `description', respectively, and add read-only slot
10308 `timestamp'. Doc fixes.
10309 (frameset-copy, frameset-persistent-filter-alist)
10310 (frameset-filter-alist, frameset-switch-to-gui-p)
10311 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10312 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10313 (frameset-filter-iconified, frameset-keep-original-display-p):
10314 Doc fixes.
10315 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10316 Rename from frameset-filter-(save|restore)-param. All callers changed.
10317 Doc fix.
10318 (frameset-p): Adapt to change to vector and be more thorough.
10319 Change arg name to OBJECT. Doc fix.
10320 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10321 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10322 All callers changed.
10323 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10324 All callers changed.
10325 (frameset--record-minibuffer-relationships): Rename from
10326 frameset--process-minibuffer-frames. All callers changed.
10327 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10328 Use new default constructor (again). Doc fix.
10329 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10330 All callers changed.
10331 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10332 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10333 Doc fix.
10334 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10335 PARAMETERS and WINDOW-STATE, respectively.
10336 (frameset-restore): Add new keyword argument PREDICATE.
10337 Reset frameset--target-display to nil. Doc fix.
10338
10339 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10340
10341 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10342 (bat-mode): Use it.
10343 (bat-mode-syntax-table): Mark \n as end-of-comment.
10344 (bat-font-lock-keywords): Remove comment rule.
10345
10346 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10347 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10348
10349 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10350 (byte-compile-callargs-warn): Use `push'.
10351 (byte-compile-arglist-warn): Ignore higher-order "calls".
10352 (byte-compile-file-form-autoload): Use `pcase'.
10353 (byte-compile-function-form): If quoting a symbol, check that it exists.
10354
10355 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10356
10357 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10358 and add a few popular commands found in batch files.
10359 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10360 (dos-mode): Doc fixes.
10361
10362 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10363
10364 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10365 (dos-mode): Use setq-local. Add space after "rem".
10366 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10367 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10368
10369 2013-08-07 Arni Magnusson <arnima@hafro.is>
10370
10371 * progmodes/dos.el: New file.
10372 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10373 dos-mode.
10374
10375 2013-08-06 Glenn Morris <rgm@gnu.org>
10376
10377 * calendar/calendar.el: Add new faces, and day-header-array.
10378 (calendar-weekday-header, calendar-weekend-header)
10379 (calendar-month-header): New faces.
10380 (calendar-day-header-construct): New function.
10381 (calendar-day-header-width): Also :set calendar-day-header-array.
10382 (calendar-american-month-header, calendar-european-month-header)
10383 (calendar-iso-month-header): Use calendar- faces.
10384 (calendar-generate-month):
10385 Use calendar-day-header-array for day headers; apply faces to them.
10386 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10387 (calendar-abbrev-construct): Add optional maxlen argument.
10388 (calendar-day-name-array): Doc fix.
10389 (calendar-day-name-array, calendar-abbrev-length)
10390 (calendar-day-abbrev-array):
10391 Also :set calendar-day-header-array, and maybe redraw.
10392 (calendar-day-header-array): New option. (Bug#15007)
10393 (calendar-font-lock-keywords): Set to nil and make obsolete.
10394 (calendar-day-name): Add option to use header array.
10395
10396 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10397
10398 * net/shr.el (shr-render-td): Remove debugging.
10399 (shr-render-td): Make width computation consistent by defaulting
10400 all zero-width columns to 10 characters. This may not be optimal,
10401 but it's at least consistent.
10402 (shr-make-table-1): Redo last change to fix the real problem in
10403 colspan handling.
10404
10405 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10406
10407 * files.el (cache-long-line-scans):
10408 Make obsolete alias to `cache-long-scans'.
10409
10410 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10411
10412 * frameset.el (frameset, frameset-filter-alist)
10413 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10414 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10415 (frameset-compute-pos): Rename from frameset--compute-pos,
10416 and add docstring.
10417 (frameset-move-onscreen): Use frameset-compute-pos.
10418 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10419
10420 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10421 Fix typos in docstrings.
10422
10423 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10424
10425 * frame.el (get-other-frame): Tiny cleanup.
10426
10427 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10428
10429 * vc/vc.el (vc-default-ignore-completion-table):
10430 Silence byte-compiler warning.
10431
10432 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10433 slot, which can indeed be nil.
10434 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10435 Move entry for `left' from persistent to live filter alist.
10436 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10437 Doc fixes.
10438 (frameset-filter-params): When restoring a frame, copy items added to
10439 `filtered', to avoid unwittingly modifying the original parameters.
10440 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10441 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10442
10443 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10444 to use looking-at-p instead of looking-at. (Bug#15028)
10445
10446 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 Revert introduction of isearch-filter-predicates (bug#14714).
10449 Rely on add-function instead.
10450 * isearch.el (isearch-filter-predicates): Rename it back to
10451 isearch-filter-predicate.
10452 (isearch-message-prefix): Use advice-function-mapc and advice
10453 properties to get the isearch-message-prefix.
10454 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10455 instead of run-hook-with-args-until-failure.
10456 (isearch-filter-visible): Not obsolete any more.
10457 * loadup.el: Preload nadvice.
10458 * replace.el (perform-replace): Revert to funcall
10459 instead of run-hook-with-args-until-failure.
10460 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10461 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10462 dired-isearch-filenames-toggle; make it into a proper minor mode.
10463 Use add/remove-function.
10464 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10465 Call the minor-mode rather than add/remove-hook.
10466 (dired-isearch-filter-filenames):
10467 Remove isearch-message-prefix property.
10468 * info.el (Info--search-loop): New function, extracted from Info-search.
10469 Funcall isearch-filter-predicate instead of
10470 run-hook-with-args-until-failure isearch-filter-predicates.
10471 (Info-search): Use it.
10472 (Info-mode): Use isearch-filter-predicate instead of
10473 isearch-filter-predicates.
10474
10475 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10476
10477 Do not call to `selected-window' where it is assumed by default.
10478 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10479 `window-hscroll', `window-width', `window-height', `window-buffer',
10480 `window-frame', `window-start', `window-point', `next-window'
10481 and `window-display-table'.
10482 * abbrev.el (abbrev--default-expand):
10483 * bs.el (bs--show-with-configuration):
10484 * buff-menu.el (Buffer-menu-mouse-select):
10485 * calc/calc.el (calc):
10486 * calendar/calendar.el (calendar-generate-window):
10487 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10488 (diary-make-entry):
10489 * comint.el (send-invisible, comint-dynamic-complete-filename)
10490 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10491 * completion.el (complete):
10492 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10493 * disp-table.el (describe-current-display-table):
10494 * doc-view.el (doc-view-insert-image):
10495 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10496 * ehelp.el (with-electric-help):
10497 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10498 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10499 * emacs-lisp/helper.el (Helper-help-scroller):
10500 * emulation/cua-base.el (cua--post-command-handler-1):
10501 * eshell/esh-mode.el (eshell-output-filter):
10502 * ffap.el (ffap-gnus-wrapper):
10503 * help-macro.el (make-help-screen):
10504 * hilit-chg.el (highlight-compare-buffers):
10505 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10506 * hl-line.el (global-hl-line-highlight):
10507 * icomplete.el (icomplete-simple-completing-p):
10508 * isearch.el (isearch-done):
10509 * jit-lock.el (jit-lock-stealth-fontify):
10510 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10511 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10512 * mpc.el (mpc-tagbrowser, mpc):
10513 * net/rcirc.el (rcirc-any-buffer):
10514 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10515 * play/landmark.el (landmark-max-width, landmark-max-height):
10516 * play/zone.el (zone):
10517 * progmodes/compile.el (compilation-goto-locus):
10518 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10519 * progmodes/etags.el (find-tag-other-window):
10520 * progmodes/fortran.el (fortran-column-ruler):
10521 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10522 * progmodes/verilog-mode.el (verilog-point-text):
10523 * reposition.el (reposition-window):
10524 * rot13.el (toggle-rot13-mode):
10525 * server.el (server-switch-buffer):
10526 * shell.el (shell-dynamic-complete-command)
10527 (shell-dynamic-complete-environment-variable):
10528 * simple.el (insert-buffer, set-selective-display)
10529 (delete-completion-window):
10530 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10531 (speedbar-recenter):
10532 * startup.el (fancy-splash-head):
10533 * textmodes/ispell.el (ispell-command-loop):
10534 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10535 * tutorial.el (help-with-tutorial):
10536 * vc/add-log.el (add-change-log-entry):
10537 * vc/compare-w.el (compare-windows):
10538 * vc/ediff-help.el (ediff-indent-help-message):
10539 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10540 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10541 (ediff-setup-control-frame):
10542 * vc/emerge.el (emerge-position-region):
10543 * vc/pcvs-util.el (cvs-bury-buffer):
10544 * window.el (walk-windows, mouse-autoselect-window-select):
10545 * winner.el (winner-set-conf, winner-undo): Related users changed.
10546
10547 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10548
10549 * frameset.el (frameset--set-id): Doc fix.
10550 (frameset-frame-id, frameset-frame-id-equal-p)
10551 (frameset-locate-frame-id): New functions.
10552 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10553 (frameset-restore): Use them.
10554
10555 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10556
10557 Do not call to `selected-frame' where it is assumed by default.
10558 Affected functions are `raise-frame', `redraw-frame',
10559 `frame-first-window', `frame-terminal' and `delete-frame'.
10560 * calendar/appt.el (appt-disp-window):
10561 * epg.el (epg-wait-for-completion):
10562 * follow.el (follow-delete-other-windows-and-split)
10563 (follow-avoid-tail-recenter):
10564 * international/mule.el (set-terminal-coding-system):
10565 * mail/rmail.el (rmail-mail-return):
10566 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10567 * progmodes/f90.el (f90-add-imenu-menu):
10568 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10569 * server.el (server-switch-buffer):
10570 * simple.el (delete-completion-window):
10571 * talk.el (talk):
10572 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10573 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10574 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10575 * vc/ediff.el (ediff-documentation): Related users changed.
10576 * frame.el (selected-terminal): Remove the leftover.
10577
10578 2013-08-05 Glenn Morris <rgm@gnu.org>
10579
10580 * calendar/calendar.el (calendar-generate-month):
10581 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10582 (calendar-generate-month, calendar-font-lock-keywords):
10583 Fix for calendar-day-header-width > length of any day name.
10584
10585 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10586
10587 * desktop.el (desktop-clear): Use new name of sort predicate.
10588
10589 * frameset.el (frameset): Add docstring. Move :version property to its
10590 own `version' slot.
10591 (frameset-copy): Rename from copy-frameset.
10592 (frameset-p): Check more thoroughly.
10593 (frameset-prop): Do not check for :version, which is no longer a prop.
10594 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10595 Use new :never value instead of t.
10596 (frameset-filter-alist): Expand and clarify docstring.
10597 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10598 (frameset-filter-minibuffer, frameset-filter-save-param)
10599 (frameset-filter-restore-param, frameset-filter-iconified):
10600 Add pointer to docstring of frameset-filter-alist.
10601 (frameset-filter-params): Rename filter values to be more meaningful:
10602 :never instead of t, and reverse the meanings of :save and :restore.
10603 (frameset--process-minibuffer-frames): Clarify error message.
10604 (frameset-save): Avoid unnecessary and confusing call to framep.
10605 Use new BOA constructor for framesets.
10606 (frameset--reuse-list): Doc fix.
10607 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10608 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10609 (frameset-minibufferless-first-p): Doc fix.
10610 Rename from frameset-sort-frames-for-deletion.
10611 (frameset-restore): Doc fixes. Use new function names.
10612 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10613
10614 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10615
10616 * desktop.el (desktop-restore-forces-onscreen)
10617 (desktop-restore-reuses-frames): Document :keyword constant values.
10618 (desktop-filter-parameters-alist): Remove, now identical to
10619 frameset-filter-alist.
10620 (desktop--filter-tty*): Remove, moved to frameset.el.
10621 (desktop-save-frameset, desktop-restore-frameset):
10622 Do not pass :filters argument.
10623
10624 * frameset.el (frameset-live-filter-alist)
10625 (frameset-persistent-filter-alist): New variables.
10626 (frameset-filter-alist): Use them. Add autoload cookie.
10627 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10628 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10629 `frameset--id' (it's supposed to be internal to frameset.el).
10630 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10631 (frameset--initial-params): New function.
10632 (frameset--get-frame): Use it. Doc fix.
10633 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10634 Accept :all, not 'all.
10635 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10636 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10637 with fbound symbols. Fix frame id matching, and remove matching ids if
10638 the frame being restored is deleted. Obey :delete.
10639
10640 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * subr.el (macrop): New function.
10643 (text-clone--maintaining): New var.
10644 (text-clone--maintain): Rename from text-clone-maintain. Use it
10645 instead of inhibit-modification-hooks.
10646
10647 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10648 a proxy, so as handle autoloads and redefinitions of the target.
10649 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10650
10651 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10652 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10653 (pcase--mutually-exclusive-p): New function.
10654 (pcase--split-consp): Use it.
10655 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10656 mutually exclusive with the current predicate.
10657
10658 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10659 (edebug-macrop): Remove. Use `macrop' instead.
10660 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10661 (ad-macro-p):
10662 * eshell/esh-cmd.el (eshell-macrop):
10663 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10664
10665 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10668 (advice-mapc): New function, using it.
10669 (advice-function-member-p): New function.
10670 (advice--normalize): Store the cdr in advice--saved-rewrite since
10671 that's the part that will be changed.
10672 (advice--symbol-function): New function.
10673 (advice-remove): Handle removal before the function is defined.
10674 Adjust to new advice--saved-rewrite.
10675 (advice-member-p): Use advice-function-member-p and
10676 advice--symbol-function.
10677
10678 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10679
10680 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10681 (frameset-filter-minibuffer): Doc fix.
10682 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10683 (frameset--set-id, frameset--process-minibuffer-frames)
10684 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10685 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10686
10687 * desktop.el (desktop-clear): Only delete frames when called
10688 interactively and desktop-restore-frames is non-nil. Doc fix.
10689 (desktop-read): Set desktop-saved-frameset to nil.
10690
10691 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10692
10693 * vc/vc.el (vc-ignore): Rewrite.
10694 (vc-default-ignore-completion-table, vc--read-lines)
10695 (vc--add-line, vc--remove-regexp): New functions.
10696
10697 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10698 (vc-svn-ignore-completion-table): New function.
10699
10700 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10701 (vc-hg-ignore-completion-table)
10702 (vc-hg-find-ignore-file): New functions.
10703
10704 * vc/vc-git.el (vc-git-ignore): Rewrite.
10705 (vc-git-ignore-completion-table)
10706 (vc-git-find-ignore-file): New functions.
10707
10708 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10709
10710 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10711 (vc-bzr-ignore-completion-table)
10712 (vc-bzr-find-ignore-file): New functions.
10713
10714 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10715
10716 * frameset.el (frameset-prop): New function and setter.
10717 (frameset-save): Do not modify frame list passed by the caller.
10718
10719 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10722
10723 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10726 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10727
10728 * custom.el (custom-initialize-default, custom-initialize-set)
10729 (custom-initialize-reset, custom-initialize-changed): Affect the
10730 toplevel-default-value (bug#6275, bug#14586).
10731 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10732 for bug#6275.
10733
10734 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10735
10736 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10737 Add cl-def* expressions.
10738
10739 * frameset.el (frameset-filter-params): Fix order of arguments.
10740
10741 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10742
10743 Move code related to saving frames to frameset.el.
10744 * desktop.el: Require frameset.
10745 (desktop-restore-frames): Doc fix.
10746 (desktop-restore-reuses-frames): Rename from
10747 desktop-restoring-reuses-frames.
10748 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10749 (desktop-clear): Clear frames too.
10750 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10751 (desktop--filter-tty*, desktop-save, desktop-read):
10752 Use frameset functions.
10753 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10754 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10755 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10756 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10757 (desktop--process-minibuffer-frames, desktop-save-frames)
10758 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10759 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10760 (desktop--sort-states, desktop-restoring-frames-p)
10761 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10762 (desktop-restoring-frameset-p, desktop-restore-frameset)
10763 (desktop--check-dont-save, desktop-save-frameset): New functions.
10764 (desktop--app-id): New constant.
10765 (desktop-first-buffer, desktop-buffer-ok-count)
10766 (desktop-buffer-fail-count): Move before first use.
10767 * frameset.el: New file.
10768
10769 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10770
10771 * files.el: Use lexical-binding.
10772 (dir-locals-read-from-file): Remove unused `err' variable.
10773 (hack-dir-local-variables--warned-coding): New var.
10774 (hack-dir-local-variables): Use it to avoid repeated warnings.
10775 (make-backup-file-name--default-function): New function.
10776 (make-backup-file-name-function): Use it as default.
10777 (buffer-stale--default-function): New function.
10778 (buffer-stale-function): Use it as default.
10779 (revert-buffer-insert-file-contents--default-function): New function.
10780 (revert-buffer-insert-file-contents-function): Use it as default.
10781 (insert-directory): Avoid add-to-list.
10782
10783 * autorevert.el (auto-revert-handler): Simplify.
10784 Use buffer-stale--default-function.
10785
10786 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10787
10788 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10789
10790 * whitespace.el (whitespace-ensure-local-variables): New function.
10791 (whitespace-cleanup-region): Call it.
10792 (whitespace-turn-on): Call it.
10793
10794 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10795
10796 Complete file name handlers.
10797
10798 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10799 (tramp-handle-verify-visited-file-modtime)
10800 (tramp-handle-file-notify-rm-watch): New functions.
10801 (tramp-call-process): Do not bind `default-directory'.
10802
10803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10804 Order alphabetically.
10805 <access-file, add-name-to-file, dired-call-process>:
10806 <dired-compress-file, file-acl, file-notify-rm-watch>:
10807 <file-ownership-preserved-p, file-selinux-context>:
10808 <make-directory-internal, make-symbolic-link, set-file-acl>:
10809 <set-file-selinux-context, set-visited-file-modtime>:
10810 <verify-visited-file-modtime>: Add handler.
10811 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10812
10813 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10814 <file-notify-add-watch, file-notify-rm-watch>:
10815 <set-file-times, set-visited-file-modtime>:
10816 <verify-visited-file-modtime>: Add handler.
10817 (with-tramp-gvfs-error-message)
10818 (tramp-gvfs-handle-set-visited-file-modtime)
10819 (tramp-gvfs-fuse-file-name): Remove.
10820 (tramp-gvfs-handle-file-notify-add-watch)
10821 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10822 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10823
10824 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10825 Order alphabetically.
10826 <file-notify-rm-watch>: Use default Tramp handler.
10827 <executable-find>: Remove private handler.
10828 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10829 `default-directory'.
10830 (tramp-sh-handle-executable-find)
10831 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10832 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10833 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10834 Do not use `format' in `tramp-message'.
10835
10836 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10837 <file-notify-rm-watch, set-visited-file-modtime>:
10838 <verify-visited-file-modtime>: Add handler.
10839 (tramp-smb-call-winexe): Do not bind `default-directory'.
10840
10841 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10842
10843 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10844
10845 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10846
10847 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10848 use it.
10849 (log-view-diff-changeset): Same.
10850 (log-view-diff-common): Call backend command `previous-revision'
10851 to find out the previous revision, in both cases. Swap the
10852 variables `to' and `fr', so that `fr' usually refers to the
10853 earlier revision (Bug#14989).
10854
10855 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10856
10857 * ibuf-ext.el (ibuffer-filter-by-filename):
10858 Make it work with dired buffers too.
10859
10860 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10861
10862 * emacs-lisp/re-builder.el (reb-color-display-p):
10863 * files.el (save-buffers-kill-terminal):
10864 * net/browse-url.el (browse-url):
10865 * server.el (server-save-buffers-kill-terminal):
10866 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10867 Prefer nil to selected-frame for the first arg of frame-parameter.
10868
10869 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10870
10871 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10872
10873 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10874
10875 * minibuffer.el (completion--twq-all): Try and preserve each
10876 completion's case choice (bug#14907).
10877
10878 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10879
10880 * net/network-stream.el (open-network-stream): Mention the new
10881 :nogreeting parameter.
10882 (network-stream-open-starttls): Use the :nogreeting parameter
10883 (bug#14938).
10884
10885 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10886
10887 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10888 more natural than popping.
10889
10890 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10891 (shr-urlify): Highlight under mouse.
10892
10893 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10894
10895 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10896
10897 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10898
10899 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10900 buffer for output.
10901
10902 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10903 point-min==1. Fix search string. Fix parentheses missing.
10904
10905 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10906 assume point-min==1. Fix search string. Fix parentheses missing.
10907
10908 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10909
10910 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10911 buffer for output.
10912
10913 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10914
10915 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10916 initial frame is minibuffer-less. (Bug#14841)
10917
10918 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10919
10920 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10921 option.
10922
10923 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10924 (tramp-maybe-open-connection): Use it.
10925
10926 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10927
10928 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10929 minimal set of parameters passed when creating a frame, because
10930 the minibuffer status of a frame cannot be changed later.
10931
10932 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10933
10934 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10935 replace-regexp-in-string and inadvertent omissions in previous change.
10936 (todo-filter-items): Ensure only file names are comma-separated in
10937 name of filtered items buffer.
10938
10939 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10940
10941 * desktop.el: Optionally force offscreen frames back onscreen.
10942 (desktop-restoring-reuses-frames): New option.
10943 (desktop--compute-pos, desktop--move-onscreen): New functions.
10944 (desktop--make-frame): Use desktop--move-onscreen.
10945
10946 2013-07-27 Alan Mackenzie <acm@muc.de>
10947
10948 Fontify a Java generic method as a function.
10949 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10950 value to t.
10951
10952 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10953
10954 * calendar/todo-mode.el: Add command to rename todo files.
10955 (todo-rename-file): New command.
10956 (todo-key-bindings-t): Add key binding for it. Change the
10957 bindings of todo-filter-regexp-items(-multifile) to use `x'
10958 instead of `r', since the latter is better suited to the new
10959 renaming command.
10960
10961 2013-07-27 Alan Mackenzie <acm@muc.de>
10962
10963 Make Java try-with-resources statement parse properly.
10964 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10965 (c-block-stmt-1-2-key): New language constants/variables.
10966 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10967 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10968 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10969 with c-block-stmt-1-2-key.
10970
10971 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10972
10973 * desktop.el (desktop--make-frame): Apply most frame parameters after
10974 creating the frame to force (partially or totally) offscreen frames to
10975 be restored as such.
10976
10977 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10978
10979 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10980 (Bug#14948)
10981
10982 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10985 `base' arg of backtrace-frame.
10986
10987 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10988
10989 * simple.el (list-processes): Doc fix.
10990
10991 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10992
10993 * desktop.el (desktop--select-frame):
10994 Try harder to reuse existing frames.
10995
10996 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10999 (edebug-eval): Use backtrace-eval.
11000 (edebug--display, edebug--recursive-edit): Don't let-bind the
11001 edebug-outer-* vars that keep track of variables we locally let-bind.
11002 (edebug-outside-excursion): Don't restore outside values of locally
11003 let-bound vars.
11004 (edebug--display): Use user-error.
11005 (cl-lexical-debug, cl-debug-env): Remove.
11006
11007 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11008
11009 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11010 are restored to be sure that they are visible before deleting any
11011 remaining ones.
11012
11013 2013-07-26 Matthias Meulien <orontee@gmail.com>
11014
11015 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11016 vc-print-root-log. (Bug#14948)
11017
11018 2013-07-26 Richard Stallman <rms@gnu.org>
11019
11020 Add aliases for encrypting mail.
11021 * epa.el (epa-mail-aliases): New option.
11022 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11023 Bind inhibit-read-only so read-only text doesn't ruin everything.
11024 (epa-mail-default-recipients): New subroutine broken out.
11025 Handle epa-mail-aliases.
11026
11027 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 Add support for lexical variables to the debugger's `e' command.
11030 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11031 vars, except for debugger-outer-match-data.
11032 (debugger-frame-number): Move check for "on a function call" from
11033 callers into it. Add `skip-base' argument.
11034 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11035 (debugger-env-macro): Only reset the state stored in non-variables,
11036 i.e. current-buffer and match-data.
11037 (debugger-eval-expression): Rewrite using backtrace-eval.
11038 * subr.el (internal--called-interactively-p--get-frame): Remove.
11039 (called-interactively-p):
11040 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11041 `base' arg of backtrace-frame instead.
11042
11043 2013-07-26 Glenn Morris <rgm@gnu.org>
11044
11045 * align.el (align-regexp): Doc fix. (Bug#14857)
11046 (align-region): Explicit error if subexpression missing/does not match.
11047
11048 * simple.el (global-visual-line-mode):
11049 Do not duplicate the mode lighter. (Bug#14858)
11050
11051 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11052
11053 * window.el (display-buffer): In display-buffer bind
11054 split-window-keep-point to t, bug#14829.
11055
11056 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11057
11058 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11059 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11060 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11061 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11062 Change accordingly.
11063 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11064 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11065
11066 2013-07-25 Glenn Morris <rgm@gnu.org>
11067
11068 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11069
11070 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11071
11072 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11073 parameter to modify-frame-parameters if the value has not changed;
11074 this is a workaround for bug#14949.
11075 (desktop--make-frame): On cl-delete-if call, check parameter name,
11076 not full parameter.
11077
11078 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11079
11080 * vc/vc.el (vc-ignore): New function.
11081
11082 * vc/vc-svn.el (vc-svn-ignore): New function.
11083
11084 * vc/vc-hg.el (vc-hg-ignore): New function.
11085
11086 * vc/vc-git.el (vc-git-ignore): New function.
11087
11088 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11089 (vc-dir-ignore): New function.
11090
11091 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11092 (cvs-append-to-ignore): Move here from pcvs.el.
11093
11094 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11095
11096 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11097
11098 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11101 (desktop-restore-frames): Warn when deleting an existing frame failed.
11102
11103 2013-07-24 Glenn Morris <rgm@gnu.org>
11104
11105 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11106
11107 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11108
11109 * filenotify.el (file-notify-supported-p):
11110 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11111 Remove functions.
11112
11113 * autorevert.el (auto-revert-use-notify)
11114 (auto-revert-notify-add-watch):
11115 * net/tramp.el (tramp-file-name-for-operation):
11116 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11117 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11118 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11119 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11120 Remove `file-notify-supported-p' entry.
11121
11122 2013-07-24 Glenn Morris <rgm@gnu.org>
11123
11124 * printing.el: Replace all uses of deleted ps-windows-system,
11125 ps-lp-system, ps-flatten-list with lpr- versions.
11126
11127 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11130 checked with memq (bug#14935).
11131
11132 * files.el (revert-buffer-function): Use a non-nil default.
11133 (revert-buffer-preserve-modes): Declare var to
11134 provide access to the `preserve-modes' argument.
11135 (revert-buffer): Let-bind it.
11136 (revert-buffer--default): New function, extracted from revert-buffer.
11137
11138 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * lpr.el: Signal print errors more prominently.
11141 (print-region-function): Don't default to nil.
11142 (lpr-print-region): New function, extracted from print-region-1.
11143 Check lpr's return value and signal an error in case of problem.
11144 (print-region-1): Use it.
11145 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11146 versions instead.
11147 (ps-printer-name): Default to nil.
11148 (ps-printer-name-option): Default to lpr-printer-switch.
11149 (ps-print-region-function): Don't default to nil.
11150 (ps-postscript-code-directory): Simplify default.
11151 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11152 (ps-string-list, ps-eval-switch, ps-flatten-list)
11153 (ps-flatten-list-1): Remove.
11154 (ps-multibyte-buffer): Avoid setq.
11155 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11156 (print-region-function, ps-print-region-function): Don't set them here.
11157
11158 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11159
11160 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11161 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11162 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11163 (ido-decorations): Doc fix.
11164
11165 * ansi-color.el: Fix old URL.
11166
11167 2013-07-23 Michael R. Mauger <michael@mauger.com>
11168
11169 * progmodes/sql.el: Version 3.3
11170 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11171 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11172 (sql-interactive-remove-continuation-prompt): Rewrite, use
11173 functions above. Fix continuation prompt and complete output line
11174 handling.
11175 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11176 redirected output buffer.
11177 (sql-mode): Restore deleted code (Bug#13591).
11178
11179 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11180
11181 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11182
11183 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11184
11185 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11186
11187 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11188 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11189 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11190
11191 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11192
11193 * desktop.el (desktop-clear): Simplify; remove useless checks
11194 against invalid buffer names.
11195 (desktop-list*): Use cl-list*.
11196 (desktop-buffer-info, desktop-create-buffer): Simplify.
11197
11198 2013-07-23 Leo Liu <sdl.web@gmail.com>
11199
11200 * bookmark.el (bookmark-make-record): Restore NAME as a default
11201 value. (Bug#14933)
11202
11203 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11206 extracted from autoload--insert-text.
11207 (autoload--insert-text): Remove.
11208 (autoload--print-cookie-text): New function, extracted from
11209 autoload--insert-cookie-text.
11210 (autoload--insert-cookie-text): Remove.
11211 (autoload-generate-file-autoloads): Adjust calls accordingly.
11212
11213 * winner.el (winner-hook-installed-p): Remove.
11214 (winner-mode): Simplify accordingly.
11215
11216 * subr.el (add-to-list): Fix compiler-macro when `append' is
11217 not constant. Don't use `cl-member' for the base case.
11218
11219 * progmodes/subword.el: Fix boundary case (bug#13758).
11220 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11221 own group.
11222 (subword-backward-regexp): Make it a constant.
11223 (subword-forward-internal): Don't treat a trailing capital as the
11224 beginning of a word.
11225
11226 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11227
11228 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11229 global value of tabulated-list-revert-hook (bug#14930).
11230
11231 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11232
11233 * desktop.el: Require 'cl-lib.
11234 (desktop-before-saving-frames-functions): New hook.
11235 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11236 for frames being saved. Rename from desktop--save-minibuffer-frames.
11237 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11238 Do not save frames with non-nil `desktop-dont-save' parameter.
11239 Filter out deleted frames.
11240 (desktop--find-frame): Use cl-find-if.
11241 (desktop--select-frame): Use cl-(first|second|third) to access values
11242 of desktop-mini.
11243 (desktop--make-frame): Use cl-delete-if.
11244 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11245 (desktop-restore-frames): Use cl-(first|second|third) to access values
11246 of desktop-mini. Look for visible frame at the end, not while
11247 restoring frames.
11248
11249 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11250 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11251 Use string-match-p, looking-at-p (bug#14927).
11252
11253 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11254
11255 * desktop.el (desktop-saved-frame-states):
11256 Rename from desktop--saved-states; all users changed.
11257 (desktop-save-frames): Rename from desktop--save-frames.
11258 Do not save state to desktop file.
11259 (desktop-save): Save desktop-saved-frame-states to desktop file
11260 and reset to nil.
11261 (desktop-restoring-frames-p): New function.
11262 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11263 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11264 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11265
11266 * desktop.el: Correctly restore iconified frames.
11267 (desktop--filter-iconified-position): New function.
11268 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11269
11270 2013-07-20 Glenn Morris <rgm@gnu.org>
11271
11272 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11273 Let `message' do the formatting.
11274 (def-gdb-preempt-display-buffer): Add explicit format.
11275
11276 * image-dired.el (image-dired-track-original-file):
11277 Use with-current-buffer.
11278 (image-dired-track-thumbnail): Use with-current-buffer.
11279 Avoid changing point of wrong window.
11280
11281 * image-dired.el (image-dired-track-original-file):
11282 Avoid changing point of wrong window. (Bug#14909)
11283
11284 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11285
11286 * progmodes/gdb-mi.el (gdb-done-or-error):
11287 Guard against "%" in gdb output. (Bug#14127)
11288
11289 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11290
11291 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11292 (Bug#14826)
11293
11294 * international/mule.el (coding-system-iso-2022-flags): Fix last
11295 change.
11296
11297 2013-07-20 Kenichi Handa <handa@gnu.org>
11298
11299 * international/mule.el (coding-system-iso-2022-flags):
11300 Add `8-bit-level-4'. (Bug#8522)
11301
11302 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11303
11304 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11305 (bug#14815).
11306
11307 * net/eww.el (eww-process-text-input): Allow inputting when the
11308 point is at the start of the line, as the properties aren't
11309 front-sticky.
11310
11311 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11312 degenerate widths.
11313
11314 2013-07-19 Richard Stallman <rms@gnu.org>
11315
11316 * epa.el (epa-popup-info-window): Doc fix.
11317
11318 * subr.el (split-string): New arg TRIM.
11319
11320 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11323 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11324
11325 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11326
11327 * filenotify.el (file-notify--library): Rename from
11328 `file-notify-support'. Do not autoload. Adapt all uses.
11329 (file-notify-supported-p): New defun.
11330
11331 * autorevert.el (auto-revert-use-notify):
11332 Use `file-notify-supported-p' instead of `file-notify-support'.
11333 Adapt docstring.
11334 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11335
11336 * net/tramp.el (tramp-file-name-for-operation):
11337 Add `file-notify-supported-p'.
11338
11339 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11340 New defun.
11341 (tramp-sh-file-name-handler-alist): Add it as handler for
11342 `file-notify-supported-p '.
11343
11344 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11345 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11346 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11347 Add `ignore' as handler for `file-notify-*' functions.
11348
11349 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11350
11351 * simple.el (line-move-partial, line-move): Don't start vscroll or
11352 scroll-up if the current line is not taller than the window.
11353 (Bug#14881)
11354
11355 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11356
11357 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11358 highlight question marks in the method names as strings.
11359 (ruby-block-beg-keywords): Inline.
11360 (ruby-font-lock-keyword-beg-re): Extract from
11361 `ruby-font-lock-keywords'.
11362
11363 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11364
11365 * frame.el (blink-cursor-blinks): New defcustom.
11366 (blink-cursor-blinks-done): New defvar.
11367 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11368 (blink-cursor-timer-function): Check if number of blinks has been
11369 done on X and NS.
11370 (blink-cursor-suspend, blink-cursor-check): New defuns.
11371
11372 2013-07-15 Glenn Morris <rgm@gnu.org>
11373
11374 * edmacro.el (edmacro-format-keys): Fix previous change.
11375
11376 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11377
11378 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11379 The hack didn't work outside English locales anyway.
11380
11381 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11382
11383 * simple.el (define-alternatives): Rename from alternatives-define,
11384 per RMS' suggestion.
11385
11386 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11387
11388 * desktop.el (desktop-restore-frames): Change default to t.
11389 (desktop-restore-in-current-display): Now offer more options.
11390 (desktop-restoring-reuses-frames): New customization option.
11391 (desktop--saved-states): Doc fix.
11392 (desktop-filter-parameters-alist): New variable, renamed and expanded
11393 from desktop--excluded-frame-parameters.
11394 (desktop--target-display): New variable.
11395 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11396 (desktop--filter-tty*, desktop--filter-*-color)
11397 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11398 (desktop--filter-save-desktop-parm)
11399 (desktop-restore-in-original-display-p): New functions.
11400 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11401 (desktop--save-minibuffer-frames): New function, inspired by a similar
11402 function from Martin Rudalics.
11403 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11404 (desktop--restore-in-this-display-p): Remove.
11405 (desktop--find-frame): Rename from desktop--find-frame-in-display
11406 and add predicate argument.
11407 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11408 (desktop--reuse-list): New variable.
11409 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11410 New functions.
11411 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11412
11413 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11414
11415 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11416
11417 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11418
11419 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11420 Highlight conversion methods on Kernel.
11421
11422 2013-07-13 Alan Mackenzie <acm@muc.de>
11423
11424 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11425 and comment it out. This out-commenting enables certain C++
11426 declarations to be parsed correctly.
11427
11428 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11429
11430 * international/mule.el (define-coding-system): Doc fix.
11431
11432 * simple.el (default-font-height): Don't call font-info if the
11433 frame's default font didn't change since the frame was created.
11434 (Bug#14838)
11435
11436 2013-07-13 Leo Liu <sdl.web@gmail.com>
11437
11438 * ido.el (ido-read-file-name): Guard against non-symbol value.
11439
11440 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11441
11442 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11443 in nested defuns.
11444
11445 2013-07-13 Leo Liu <sdl.web@gmail.com>
11446
11447 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11448 ido-set-matches call. (Bug#6852)
11449
11450 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11451
11452 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11453 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11454 Ruby 2.0.
11455 (ruby-font-lock-keywords): Distinguish calls to functions with
11456 module-like names from module references. Highlight character
11457 literals.
11458
11459 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11460
11461 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11462 (gdb-send): Handle continued commands. (Bug#14847)
11463
11464 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11465
11466 * desktop.el (desktop--v2s): Remove unused local variable.
11467 (desktop-save-buffer): Make defvar-local; adjust docstring.
11468 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11469 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11470
11471 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11472
11473 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11474
11475 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11476
11477 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11478 (Bug#14842)
11479
11480 2013-07-12 Glenn Morris <rgm@gnu.org>
11481
11482 * doc-view.el: Require cl-lib at runtime too.
11483 (doc-view-remove-if): Remove.
11484 (doc-view-search-next-match, doc-view-search-previous-match):
11485 Use cl-remove-if.
11486
11487 * edmacro.el: Require cl-lib at runtime too.
11488 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11489 (edmacro-mismatch, edmacro-subseq): Remove.
11490
11491 * shadowfile.el: Require cl-lib.
11492 (shadow-remove-if): Remove.
11493 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11494 Use cl-remove-if.
11495
11496 * wid-edit.el: Require cl-lib.
11497 (widget-choose): Use cl-remove-if.
11498 (widget-remove-if): Remove.
11499
11500 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11501 (ebrowse-delete-if-not): Remove.
11502 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11503 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11504 Use cl-delete-if-not.
11505
11506 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11507
11508 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11509 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11510
11511 2013-07-12 Leo Liu <sdl.web@gmail.com>
11512
11513 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11514
11515 2013-07-11 Glenn Morris <rgm@gnu.org>
11516
11517 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11518 (edebug-gensym-index, edebug-gensym):
11519 Remove reimplementation of cl-gensym.
11520 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11521
11522 * thumbs.el: Require cl-lib at run-time too.
11523 (thumbs-gensym-counter, thumbs-gensym):
11524 Remove reimplementation of cl-gensym.
11525 (thumbs-temp-file): Use cl-gensym.
11526
11527 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11528 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11529 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11530 (ert--union, ert--gensym-counter, ert--gensym-counter)
11531 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11532 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11533 (ert-make-test-unbound, ert--expand-should-1)
11534 (ert--expand-should, ert--should-error-handle-error)
11535 (should-error, ert--explain-equal-rec)
11536 (ert--plist-difference-explanation, ert-select-tests)
11537 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11538 Use cl-lib functions rather than reimplementations.
11539
11540 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11541
11542 * net/tramp.el (tramp-methods): Extend docstring.
11543 (tramp-connection-timeout): New defcustom.
11544 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11545 (with-tramp-progress-reporter): Simplify.
11546 (tramp-process-actions): Improve messages.
11547
11548 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11549 * net/tramp-sh.el (tramp-maybe-open-connection):
11550 Use `tramp-connection-timeout'.
11551 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11552 (Bug#14808)
11553
11554 2013-07-11 Leo Liu <sdl.web@gmail.com>
11555
11556 * ido.el (ido-read-file-name): Conform to the requirements of
11557 read-file-name. (Bug#11861)
11558 (ido-read-directory-name): Conform to the requirements of
11559 read-directory-name.
11560
11561 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11562
11563 * subr.el (delay-warning): New function.
11564
11565 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11566
11567 * simple.el (default-line-height): New function.
11568 (line-move-partial, line-move): Use it instead of computing the
11569 line height inline.
11570 (line-move-partial): Always compute ROWH. If the last line is
11571 partially-visible, but its text is completely visible, allow
11572 cursor to enter such a partially-visible line.
11573
11574 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11575
11576 Improve error messages. (Bug#14808)
11577
11578 * net/tramp.el (tramp-current-connection): New defvar, moved from
11579 tramp-sh.el.
11580 (tramp-message-show-progress-reporter-message): Remove, not
11581 needed anymore.
11582 (tramp-error-with-buffer): Show message in minibuffer.
11583 Discard input before waiting. Reset connection timestamp.
11584 (with-tramp-progress-reporter): Improve messages.
11585 (tramp-process-actions): Use progress reporter. Delete process in
11586 case of error. Improve messages.
11587
11588 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11589 Call `tramp-error-with-buffer' with vector and buffer.
11590 (tramp-current-connection): Remove.
11591 (tramp-maybe-open-connection): The car of
11592 `tramp-current-connection' are the first 3 slots of the vector.
11593
11594 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11595
11596 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11597 inside continued strings.
11598
11599 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11600
11601 Timestamp fixes for undo (Bug#14824).
11602 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11603
11604 2013-07-10 Leo Liu <sdl.web@gmail.com>
11605
11606 * files.el (require-final-newline): Allow safe local value.
11607 (Bug#14834)
11608
11609 2013-07-09 Leo Liu <sdl.web@gmail.com>
11610
11611 * ido.el (ido-read-directory-name): Handle fallback.
11612 (ido-read-file-name): Update DIR to ido-current-directory.
11613 (Bug#1516)
11614 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11615
11616 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11617
11618 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11619 "autoload". Remove "warn lower camel case" section, previously
11620 commented out. Highlight negation char. Do not highlight the
11621 target in singleton method definitions.
11622
11623 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * faces.el (tty-setup-hook): Declare the hook.
11626
11627 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11628 and detect when a guard/pred depends on local vars (bug#14773).
11629 (pcase--u1): Adjust caller.
11630
11631 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11632
11633 * simple.el (line-move-partial, line-move): Account for
11634 line-spacing.
11635 (line-move-partial): Avoid setting vscroll when the last
11636 partially-visible line in window is of default height.
11637
11638 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11639
11640 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11641 been used a while.
11642
11643 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11644
11645 * subr.el (read-quoted-char): Remove unused local variable `char'.
11646
11647 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11648
11649 * vc/ediff.el (ediff-version): Version update.
11650 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11651 (ediff-merge-with-ancestor-command, ediff-directories-command)
11652 (ediff-directories3-command, ediff-merge-directories-command)
11653 (ediff-merge-directories-with-ancestor-command): New functions.
11654 All are command-line interfaces to ediff: to facilitate calling
11655 Emacs with the appropriate ediff functions invoked.
11656
11657 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11658 New function.
11659 (viper-save-kill-buffer): Check if buffer is modified.
11660
11661 * emulation/viper.el (viper-version): Version update.
11662 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11663
11664 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11667 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11668 (viper-intercept-ESC-key): Simplify.
11669 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11670 don't use kbd.
11671 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11672 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11673 (viper-setup-ESC-to-escape): New functions.
11674 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11675 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11676
11677 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11678
11679 * simple.el (default-font-height, window-screen-lines):
11680 New functions.
11681 (line-move, line-move-partial): Use them instead of
11682 frame-char-height and window-text-height. This makes scrolling
11683 text smoother when the buffer's default face uses a font that is
11684 different from the frame's default font.
11685
11686 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11687
11688 * files.el (write-file): Do not display confirm dialog for NS,
11689 it does its own dialog, which can't be canceled (Bug#14578).
11690
11691 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11692
11693 * simple.el (line-move-partial): Adjust the row returned by
11694 posn-at-point for the current window-vscroll. (Bug#14567)
11695
11696 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11697
11698 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11699 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11700 spaces.
11701
11702 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11703
11704 * window.el (window-state-put-stale-windows): New variable.
11705 (window--state-put-2): Save list of windows without matching buffer.
11706 (window-state-put): Remove "bufferless" windows if possible.
11707
11708 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * simple.el (alternatives-define): Remove leftover :group keyword.
11711 Tweak docstring.
11712
11713 2013-07-06 Leo Liu <sdl.web@gmail.com>
11714
11715 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11716 (ido-enable-virtual-buffers): New variable.
11717 (ido-buffer-internal, ido-toggle-virtual-buffers)
11718 (ido-make-buffer-list): Use it.
11719 (ido-exhibit): Support turning on and off virtual buffers
11720 automatically.
11721
11722 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11723
11724 * simple.el (alternatives-define): New macro.
11725
11726 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * subr.el (read-quoted-char): Use read-key.
11729 (sit-for): Let read-event decode tty input (bug#14782).
11730
11731 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11732
11733 * calendar/todo-mode.el: Add handling of file deletion, both by
11734 mode command and externally. Fix various related bugs.
11735 Clarify Commentary and improve some documentation strings and code.
11736 (todo-delete-file): New command.
11737 (todo-check-file): New function.
11738 (todo-show): Handle external deletion of the file we're trying to
11739 show (bug#14688). Replace called-interactively-p by an optional
11740 prefix argument to avoid problematic interaction with catch form
11741 when byte compiled (bug#14702).
11742 (todo-quit): Handle external deletion of the archive's todo file.
11743 Make sure the buffer that was visiting the archive file is still
11744 live before trying to bury it.
11745 (todo-category-completions): Handle external deletion of any
11746 category completion files.
11747 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11748 of todo files, in case of external deletion.
11749 (todo-add-file): Replace unnecessary setq by let-binding.
11750 (todo-find-archive): Check whether there are any archives.
11751 Replace unnecessary setq by let-binding.
11752 (todo-archive-done-item): Use find-file-noselect to get the
11753 archive buffer whether or not the archive already exists.
11754 Remove superfluous code. Use file size instead of buffer-file-name to
11755 check if the archive is new; if it is, update list of archives.
11756 (todo-default-todo-file): Allow nil to be a valid value for when
11757 there are no todo files.
11758 (todo-reevaluate-default-file-defcustom): Use corrected definition
11759 of todo-default-todo-file.
11760 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11761 (todo-delete-category, todo-show-categories-table)
11762 (todo-category-number): Clarify comment.
11763 (todo-filter-items): Clarify documentation string.
11764 (todo-show-current-file, todo-display-as-todo-file)
11765 (todo-reset-and-enable-done-separator): Tweak documentation string.
11766 (todo-done-separator): Make separator length window-width, since
11767 bug#2749 is now fixed.
11768
11769 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11770
11771 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11772 Support both "gvfs-monitor-dir" and "inotifywait".
11773 (tramp-sh-file-inotifywait-process-filter): Rename from
11774 `tramp-sh-file-notify-process-filter'.
11775 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11776 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11777
11778 2013-07-05 Leo Liu <sdl.web@gmail.com>
11779
11780 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11781
11782 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11783
11784 * frame.el (display-pixel-height, display-pixel-width)
11785 (display-mm-height, display-mm-width): Mention behavior on
11786 multi-monitor setups in docstrings.
11787 (w32-display-monitor-attributes-list): Declare function.
11788 (display-monitor-attributes-list): Use it.
11789
11790 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11791
11792 * filenotify.el: New package.
11793
11794 * autorevert.el (top): Require filenotify.el.
11795 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11796 instead.
11797 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11798 (auto-revert-notify-handler): Use `file-notify-*' functions.
11799
11800 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11801
11802 * net/tramp.el (tramp-file-name-for-operation):
11803 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11804
11805 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11806 for `file-notify-add-watch' and `file-notify-rm-watch'.
11807 (tramp-process-sentinel): Improve trace.
11808 (tramp-sh-handle-file-notify-add-watch)
11809 (tramp-sh-file-notify-process-filter)
11810 (tramp-sh-handle-file-notify-rm-watch)
11811 (tramp-get-remote-inotifywait): New defuns.
11812
11813 2013-07-03 Juri Linkov <juri@jurta.org>
11814
11815 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11816 call of `occur-read-primary-args' to interactive spec.
11817
11818 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11819 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11820
11821 2013-07-03 Matthias Meulien <orontee@gmail.com>
11822
11823 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11824 `Buffer-menu-multi-occur'. Add it to the menu.
11825 (Buffer-menu-mode): Document it in docstring.
11826 (Buffer-menu-multi-occur): New command. (Bug#14673)
11827
11828 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11829
11830 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11831 keywords and built-ins.
11832
11833 2013-07-03 Glenn Morris <rgm@gnu.org>
11834
11835 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11836
11837 Make info-xref checks case-sensitive by default
11838 * info.el (Info-find-node, Info-find-in-tag-table)
11839 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11840 Add option for exact case matching of nodes.
11841 * info-xref.el (info-xref): New custom group.
11842 (info-xref-case-fold): New option.
11843 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11844
11845 2013-07-03 Leo Liu <sdl.web@gmail.com>
11846
11847 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11848
11849 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11850
11851 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11852 middle of block statement initially, lower the depth. Remove
11853 FIXME comment, not longer valid. Remove middle of block statement
11854 detection, no need to do that anymore since we've been using
11855 `ruby-parse-region' here.
11856
11857 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11858
11859 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11860
11861 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11862
11863 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11864
11865 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11866
11867 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11868 (desktop-restore-in-current-display): New customization option.
11869 (desktop--excluded-frame-parameters): Add `font'.
11870 (desktop--save-frames): Rename from desktop--save-windows.
11871 (desktop--restore-in-this-display-p): New function.
11872 (desktop--make-full-frame): Remove unwanted width/height from
11873 full(width|height) frames.
11874 (desktop--restore-frames): Rename from desktop--restore-windows.
11875 Obey desktop-restore-current-display. Do not delete old frames or
11876 select a new frame unless we were able to restore at least one frame.
11877
11878 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11879
11880 * files.el (find-file-noselect): Simplify conditional expression.
11881
11882 * textmodes/remember.el (remember-append-to-file):
11883 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11884
11885 Add `remember-notes' function to store random notes across Emacs
11886 restarts.
11887 * textmodes/remember.el (remember-data-file): Add :set callback to
11888 affect notes buffer (if any).
11889 (remember-notes): New command.
11890 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11891 New defcustoms for the `remember-notes' function.
11892 (remember-notes-save-and-bury-buffer): New command.
11893 (remember-notes-mode-map): New variable.
11894 (remember-mode): New minor mode.
11895 (remember-notes--kill-buffer-query): New function.
11896 * startup.el (initial-buffer-choice): Add notes to custom type.
11897
11898 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11899
11900 * bindings.el (right-char, left-char): Don't call sit-for, this is
11901 no longer needed. Use arithmetic comparison only for numerical
11902 arguments.
11903
11904 * international/mule-cmds.el (select-safe-coding-system):
11905 Handle the case of FROM being a string correctly. (Bug#14755)
11906
11907 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11908
11909 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11910 progression on degenerate tables.
11911 (shr-rescale-image): ImageMagick animated images currently don't work.
11912
11913 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11914
11915 Some fixes and improvements for desktop frame restoration.
11916 It is still experimental and disabled by default.
11917 * desktop.el (desktop--save-windows): Put the selected frame at
11918 the head of the list.
11919 (desktop--make-full-frame): New function.
11920 (desktop--restore-windows): Try to re-select the frame that was
11921 selected upon saving. Do not abort if some frames fail to restore,
11922 just show an error message and continue. Set up maximized frames
11923 so they have default non-maximized dimensions.
11924
11925 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11926
11927 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11928 Don't start heredoc inside a string or comment.
11929
11930 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11931
11932 * bindings.el (visual-order-cursor-movement): New defcustom.
11933 (right-char, left-char): Provide visual-order cursor motion by
11934 calling move-point-visually. Update the doc strings.
11935
11936 2013-06-28 Kenichi Handa <handa@gnu.org>
11937
11938 * international/mule.el (define-coding-system): New coding system
11939 properties :inhibit-null-byte-detection,
11940 :inhibit-iso-escape-detection, and :prefer-utf-8.
11941 (set-buffer-file-coding-system): If :charset-list property of
11942 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11943 appropriate for setting.
11944
11945 * international/mule-cmds.el (select-safe-coding-system):
11946 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11947 multibyte characters, return utf-8 (or one of its siblings).
11948
11949 * international/mule-conf.el (prefer-utf-8): New coding system.
11950 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11951 files.
11952
11953 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11954
11955 * net/shr.el (shr-render-region): New function.
11956
11957 * net/eww.el: Autoload `eww-browse-url'.
11958
11959 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11960
11961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11962 Adapt to `package-desc-version' being a list.
11963 Use `package--ac-desc-version' to retrieve version from a package
11964 archive element.
11965
11966 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11967
11968 New experimental feature to save&restore window and frame setup.
11969 * desktop.el (desktop-save-windows): New defcustom.
11970 (desktop--saved-states): New var.
11971 (desktop--excluded-frame-parameters): New defconst.
11972 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11973 (desktop--restore-windows, desktop--save-windows): New functions.
11974 (desktop-save): Call `desktop--save-windows'.
11975 (desktop-read): Call `desktop--restore-windows'.
11976
11977 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11978
11979 * net/shr.el (add-face-text-property): Remove compat definition.
11980
11981 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11982
11983 * info.el (Info-try-follow-nearest-node): Move search for footnote
11984 above search for node name to prevent missing a footnote (bug#14717).
11985
11986 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11987
11988 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11989
11990 2013-06-27 Leo Liu <sdl.web@gmail.com>
11991
11992 * net/eww.el (eww-read-bookmarks): Check file size.
11993
11994 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11997 advice--pending if newdef is nil or an autoload (bug#13820).
11998 (advice-mapc): New function.
11999
12000 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12001
12002 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12003 probably.
12004 (eww-mode-map): Add a menu bar.
12005 (eww-add-bookmark): New command.
12006 (eww-bookmark-mode): New mode and commands.
12007 (eww-add-bookmark): Remove newlines from the title.
12008 (eww-bookmark-browse): Don't bug out if it's the only window.
12009
12010 2013-06-26 Glenn Morris <rgm@gnu.org>
12011
12012 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12013 (hfy-size): Handle ttys. (Bug#14668)
12014
12015 * info-xref.el: Update for Texinfo 5 change in *note format.
12016 (info-xref-node-re, info-xref-note-re): New constants.
12017 (info-xref-check-buffer): Use info-xref-note-re.
12018
12019 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12020
12021 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12022
12023 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12024 nil terminate the loop (bug#14718).
12025
12026 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12027
12028 * net/eww.el: Rework history traversal. When going forward/back,
12029 put these actions into the history, too, so that they can be
12030 replayed.
12031 (eww-render): Move the history reset to the correct buffer.
12032
12033 2013-06-25 Juri Linkov <juri@jurta.org>
12034
12035 * files-x.el (modify-dir-local-variable): Change the header comment
12036 in the file with directory local variables. (Bug#14692)
12037
12038 * files-x.el (read-file-local-variable-value): Add `default'.
12039 (Bug#14710)
12040
12041 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12042
12043 * net/eww.el (eww-make-unique-file-name): Create a unique file
12044 name before saving to entering `y' accidentally asynchronously.
12045
12046 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12047
12048 * net/eww.el (eww-download): New command and keystroke.
12049
12050 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12051
12052 * net/eww.el (eww-copy-page-url): Change name of command.
12053
12054 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12055 be more consistent with Info and dired.
12056
12057 * net/eww.el (eww-mode-map): Ditto.
12058
12059 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12062 packages from archives.
12063 (package-archive-contents): Change format; include obsolete packages.
12064 (package-desc): Use `dir' to mark builtin packages.
12065 (package--from-builtin): Set the `dir' field to `builtin'.
12066 (generated-autoload-file, version-control): Declare.
12067 (package-compute-transaction): Change first arg and return value to be
12068 lists of package-descs. Adjust to new package-archive-contents format.
12069 (package--add-to-archive-contents): Adjust to new
12070 package-archive-contents format.
12071 (package-download-transaction): Arg is now a list of package-descs.
12072 (package-install): If `pkg' is a package name, pass it as
12073 a requirement, so it is subject to the usual (e.g. disabled) checks.
12074 (describe-package): Accept package-desc as well.
12075 (describe-package-1): Describe a specific package-desc. Add links to
12076 other package-descs for the same package name.
12077 (package-menu-describe-package): Pass the actual package-desc.
12078 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12079 works correctly.
12080 (package-desc-status): New function.
12081 (package-menu--refresh): New function, extracted
12082 from package-menu--generate.
12083 (package-menu--generate): Use it.
12084 (package-delete): Update package-alist.
12085 (package-menu-execute): Don't call package-initialize.
12086
12087 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12088 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12089 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12090 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12091 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12092 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12093
12094 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12095
12096 * window.el (window--state-get-1): Workaround for bug#14527.
12097 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12098
12099 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12100
12101 * net/eww.el (eww-back-url): Implement the history by stashing all
12102 the data into a list.
12103 (eww-forward-url): Allow going forward in the history, too.
12104
12105 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12108 for values and use read--expression for expressions (bug#14710).
12109 (read-file-local-variable): Avoid setq.
12110 (read-file-local-variable-mode): Use minor-mode-list.
12111
12112 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12113
12114 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12115 for DOI URLs.
12116
12117 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12118
12119 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12120 Update imenu-support when dialect changes.
12121
12122 2013-06-25 Leo Liu <sdl.web@gmail.com>
12123
12124 * ido.el (ido-read-internal): Allow forward slash on windows.
12125
12126 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12127
12128 * net/eww.el (eww): Start of strings is \\`, not ^.
12129
12130 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12131
12132 * net/shr.el (shr-browse-url): Fix interactive spec.
12133
12134 * net/eww.el (eww): Add a trailing slash to domain names.
12135
12136 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12137
12138 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12139
12140 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12141
12142 * net/shr.el (shr-browse-url): Use an external browser if given a
12143 prefix.
12144
12145 * net/eww.el (eww-external-browser): Move to shr.
12146
12147 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12148
12149 * net/eww.el (eww): Work more correctly for file: URLs.
12150 (eww-detect-charset): Allow quoted charsets.
12151 (eww-yank-page-url): New command and keystroke.
12152
12153 2013-06-24 Daiki Ueno <ueno@gnu.org>
12154
12155 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12156 file name of gpg executable.
12157 (epg-context-program): New function.
12158 (epg-context-home-directory): New function.
12159 (epg-context-set-program): New function.
12160 (epg-context-set-home-directory): New function.
12161 (epg--start): Use `epg-context-program' instead of
12162 'epg-gpg-program'.
12163 (epg--list-keys-1): Likewise.
12164
12165 2013-06-24 Leo Liu <sdl.web@gmail.com>
12166
12167 * ido.el (ido-read-internal): Fix bug#14620.
12168
12169 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12170
12171 * faces.el (face-documentation): Simplify.
12172 (read-face-attribute, tty-find-type, x-resolve-font-name):
12173 Use `string-match-p'.
12174 (list-faces-display): Use `string-match-p'. Simplify.
12175 (face-spec-recalc): Check face to avoid face alias loops.
12176 (read-color): Use `string-match-p' and non-capturing parenthesis.
12177
12178 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12179
12180 * net/shr.el (shr-rescale-image): Use the new
12181 :max-width/:max-height functionality.
12182
12183 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12184
12185 * net/eww.el (eww-search-prefix): New variable.
12186 (eww): Use it.
12187 (eww-external-browser): New variable.
12188 (eww-mode-map): New keystroke.
12189 (eww-browse-with-external-browser): New command.
12190
12191 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12192
12193 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12194
12195 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12196 Don't skip aligning the next header field when padding is 0;
12197 otherwise, field width is not respected unless the title is as
12198 wide as the field.
12199
12200 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12201
12202 * emacs-lisp/package.el (package-el-version): Remove.
12203 (package-process-define-package): Fix inf-loop.
12204 (package-install): Allow symbols as arguments again.
12205
12206 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12207
12208 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12209 add some more keyword-like methods.
12210 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12211
12212 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12213
12214 * bs.el (bs-buffer-show-mark): Make defvar-local.
12215 (bs-mode): Use setq-local.
12216
12217 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12218 (emacs-lock--try-unlocking): Make defvar-local.
12219
12220 2013-06-22 Glenn Morris <rgm@gnu.org>
12221
12222 * play/cookie1.el (cookie-apropos): Minor simplification.
12223
12224 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12225
12226 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12227
12228 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12229 `regexp-opt', it breaks the build during dumping.
12230
12231 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12232
12233 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12234 Highlight keyword-like methods on Kernel and Module with
12235 font-lock-builtin-face.
12236 (auto-mode-alist): Consolidate different entries into one regexp
12237 and add more *file-s.
12238
12239 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12240
12241 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12242
12243 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12244 (diary-entry): Use it in the action of this button type instead of
12245 diary-goto-entry.
12246
12247 * calendar/todo-mode.el: New version.
12248 (todo-add-category): Append new category to end of file and give
12249 it the highest number, instead of putting it at the beginning and
12250 giving it 0. Incorporate noninteractive functionality.
12251 (todo-forward-category): Adapt to 1-based category numbering.
12252 Allow skipping over archived categories.
12253 (todo-backward-category): Derive from todo-forward-category.
12254 (todo-backward-item, todo-forward-item): Make noninteractive and
12255 delegate interactive part to new commands. Make sensitive to done items.
12256 (todo-categories): Make value an alist of category names and
12257 vectors of item counts.
12258 (todo-category-beg): Make a defconst.
12259 (todo-category-number): Use 1 instead of 0 as initial value.
12260 (todo-category-select): Make sensitive to overlays, optional item
12261 highlighting and done items.
12262 (todo-delete-item): Make sensitive to overlays and marked and done items.
12263 (todo-edit-item): Make sensitive to overlays and editing of
12264 date/time header optional. Add format checks.
12265 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12266 no-op if point is not on an item. Advertise using todo-edit-quit.
12267 (todo-edit-mode): Make sensitive to new format, font-locking, and
12268 multiple todo files.
12269 (todo-insert-item, todo-insert-item-here): Derive from
12270 todo-basic-insert-item and extend functionality.
12271 (todo-item-end, todo-item-start): Make sensitive to done items.
12272 (todo-item-string): Don't return text properties. Restore point.
12273 (todo-jump-to-category): Make sensitive to multiple todo files and
12274 todo archives. Use extended category completion.
12275 (todo-lower-item, todo-raise-item): Rename to *-priority and
12276 derive from todo-set-item-priority.
12277 (todo-mode): Derive from special-mode. Make sensitive to new
12278 format, font-locking and multiple todo files. Make read-only.
12279 (todo-mode-map): Don't suppress digit keys, so they can supply
12280 prefix arguments. Add many new key bindings.
12281 (todo-prefix): Insert as an overlay instead of file text.
12282 Change semantics from diary date expression to purely visual mark.
12283 (todo-print): Rename to todo-print-buffer. Make buffer display
12284 features printable. Remove option to restrict number of items
12285 printed. Add option to print to file.
12286 (todo-print-function): Rename to todo-print-buffer-function.
12287 (todo-quit): Extend to handle exiting new todo modes.
12288 (todo-remove-item): Make sensitive to overlays.
12289 (todo-save): Extend to buffers of filtered items.
12290 (todo-show): Make sensitive to done items, multiple todo files and
12291 new todo modes. Offer to convert legacy todo file before creating
12292 first new todo file.
12293 (todo-show-priorities): Rename to todo-top-priorities.
12294 Change semantics of value 0.
12295 (todo-top-priorities): Rename to todo-filter-top-priorities,
12296 derive from todo-filter-items and extend functionality.
12297 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12298 and extend functionality to other types of filtered items.
12299 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12300 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12301 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12302 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12303 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12304 (todo-edit-mode-hook, todo-entry-prefix-function)
12305 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12306 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12307 (todo-initials, todo-insert-threshold, todo-item-string-start)
12308 (todo-line-string, todo-menu, todo-mode-hook)
12309 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12310 (todo-print-priorities, todo-remove-separator)
12311 (todo-save-top-priorities-too, todo-string-count-lines)
12312 (todo-string-multiline-p, todo-time-string-format)
12313 (todo-tmp-buffer-name): Remove.
12314 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12315 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12316 (todo-edit-category-diary-inclusion)
12317 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12318 (todo-edit-file, todo-edit-item-date-day)
12319 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12320 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12321 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12322 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12323 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12324 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12325 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12326 (todo-filter-top-priorities-multifile, todo-find-archive)
12327 (todo-find-filtered-items-file, todo-go-to-source-item)
12328 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12329 (todo-jump-to-archive-category, todo-lower-category)
12330 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12331 (todo-move-category, todo-move-item, todo-next-button)
12332 (todo-next-item, todo-padded-string, todo-powerset)
12333 (todo-previous-button, todo-previous-item)
12334 (todo-print-buffer-to-file, todo-raise-category)
12335 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12336 (todo-set-category-number, todo-set-item-priority)
12337 (todo-set-top-priorities-in-category)
12338 (todo-set-top-priorities-in-file, todo-show-categories-table)
12339 (todo-sort-categories-alphabetically-or-numerically)
12340 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12341 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12342 (todo-toggle-item-header, todo-toggle-item-highlighting)
12343 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12344 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12345 (todo-unarchive-items, todo-unmark-category): New commands.
12346 (todo-absolute-file-name, todo-add-to-buffer-list)
12347 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12348 (todo-basic-insert-item, todo-category-completions)
12349 (todo-category-number, todo-category-string-matcher-1)
12350 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12351 (todo-check-format, todo-clear-matches)
12352 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12353 (todo-current-category, todo-date-string-matcher)
12354 (todo-define-insertion-command, todo-diary-expired-matcher)
12355 (todo-diary-goto-entry, todo-diary-item-p)
12356 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12357 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12358 (todo-done-item-section-p, todo-done-separator)
12359 (todo-done-string-matcher, todo-files, todo-filter-items)
12360 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12361 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12362 (todo-insert-category-line, todo-insert-item-from-calendar)
12363 (todo-insert-sort-button, todo-insert-with-overlays)
12364 (todo-insertion-command-name, todo-insertion-key-bindings)
12365 (todo-label-to-key, todo-longest-category-name-length)
12366 (todo-make-categories-list, todo-mode-external-set)
12367 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12368 (todo-modes-set-3, todo-multiple-filter-files)
12369 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12370 (todo-read-category, todo-read-date, todo-read-dayname)
12371 (todo-read-file-name, todo-read-time)
12372 (todo-reevaluate-category-completions-files-defcustom)
12373 (todo-reevaluate-default-file-defcustom)
12374 (todo-reevaluate-filelist-defcustoms)
12375 (todo-reevaluate-filter-files-defcustom)
12376 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12377 (todo-reset-done-separator, todo-reset-done-separator-string)
12378 (todo-reset-done-string, todo-reset-global-current-todo-file)
12379 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12380 (todo-reset-prefix, todo-set-categories)
12381 (todo-set-date-from-calendar, todo-set-show-current-file)
12382 (todo-set-top-priorities, todo-short-file-name)
12383 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12384 (todo-total-item-counts, todo-update-buffer-list)
12385 (todo-update-categories-display, todo-update-categories-sexp)
12386 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12387 New functions.
12388 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12389 New major modes.
12390 (todo-categories, todo-display, todo-edit, todo-faces)
12391 (todo-filtered): New defgroups.
12392 (todo-archived-only, todo-button, todo-category-string, todo-date)
12393 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12394 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12395 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12396 (todo-add-item-if-new-category, todo-always-add-time-string)
12397 (todo-categories-align, todo-categories-archived-label)
12398 (todo-categories-category-label, todo-categories-diary-label)
12399 (todo-categories-done-label, todo-categories-number-separator)
12400 (todo-categories-todo-label, todo-categories-totals-label)
12401 (todo-category-completions-files, todo-completion-ignore-case)
12402 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12403 (todo-done-separator-string, todo-done-string)
12404 (todo-files-function, todo-filter-done-items, todo-filter-files)
12405 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12406 (todo-initial-category, todo-initial-file, todo-item-mark)
12407 (todo-legacy-date-time-regexp, todo-mode-line-function)
12408 (todo-nondiary-marker, todo-number-prefix)
12409 (todo-print-buffer-function, todo-show-current-file)
12410 (todo-show-done-only, todo-show-first, todo-show-with-done)
12411 (todo-skip-archived-categories, todo-top-priorities-overrides)
12412 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12413 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12414 New defcustoms.
12415 (todo-category-done, todo-date-pattern, todo-date-string-start)
12416 (todo-diary-items-buffer, todo-done-string-start)
12417 (todo-filtered-items-buffer, todo-item-start)
12418 (todo-month-abbrev-array, todo-month-name-array)
12419 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12420 (todo-top-priorities-buffer): New defconsts.
12421 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12422 (todo-categories-with-marks, todo-category-string-face)
12423 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12424 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12425 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12426 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12427 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12428 (todo-font-lock-keywords, todo-global-current-todo-file)
12429 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12430 (todo-insertion-commands-args)
12431 (todo-insertion-commands-args-genlist)
12432 (todo-insertion-commands-names, todo-insertion-map)
12433 (todo-key-bindings-t, todo-key-bindings-t+a)
12434 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12435 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12436 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12437 (todo-visited): New variables.
12438
12439 2013-06-21 Glenn Morris <rgm@gnu.org>
12440
12441 * play/cookie1.el (cookie-apropos): Add optional display argument.
12442 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12443 (psychoanalyze-pinhead): Use cookie-doctor.
12444
12445 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12446
12447 * emacs-lisp/package.el (tar-get-file-descriptor)
12448 (tar--extract): Declare.
12449
12450 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12451
12452 Extend flymake's warning predicate to be a function (bug#14217).
12453 * progmodes/flymake.el (flymake-warning-predicate): New.
12454 (flymake-parse-line): Use it.
12455 (flymake-warning-re): Make obsolete alias to
12456 `flymake-warning-predicate'.
12457
12458 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12459
12460 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12461 (package-obsolete-list): Remove.
12462 (package-activate): Remove min-version argument. Add `force' argument.
12463 Adjust to new package-alist format.
12464 (package-mark-obsolete): Remove.
12465 (package-unpack): Force reload of the package's autoloads.
12466 (package-installed-p): Check builtins if the installed package is not
12467 recent enough.
12468 (package-initialize): Don't reset package-obsolete-list.
12469 Don't specify which package version to activate.
12470 (package-process-define-package, describe-package-1)
12471 (package-menu--generate): Adjust to new package-alist format.
12472
12473 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12474
12475 * allout-widgets.el (allout-widgets-mode-off)
12476 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12477 (allout-widgets-post-command-business)
12478 (allout-widgets-after-copy-or-kill-function)
12479 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12480 (allout-decorate-item-and-context)
12481 (allout-graphics-modification-handler): Fix typos in docstrings.
12482 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12483
12484 * cmuscheme.el (scheme-start-file): Doc fix.
12485 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12486 (scheme-input-filter): Use `string-match-p'.
12487
12488 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12489
12490 * dired-x.el: Use Dired consistently in docstrings.
12491
12492 * dired.el: Use Dired consistently in docstrings.
12493 (dired-readin, dired-mode): Use `setq-local'.
12494 (dired-switches-alist): Make defvar-local.
12495 (dired-buffers-for-dir): Use `zerop'.
12496 (dired-safe-switches-p, dired-switches-escape-p)
12497 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12498 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12499 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12500 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12501 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12502 (dired-toggle-marks, dired-mark-files-containing-regexp)
12503 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12504 (dired-flag-auto-save-files, dired-flag-backup-files):
12505 Use `looking-at-p'.
12506 (dired-mark-files-regexp, dired-build-subdir-alist):
12507 Use `string-match-p', `looking-at-p'.
12508
12509 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12510 (direct-print-region-helper): Use `string-match-p'.
12511
12512 2013-06-21 Leo Liu <sdl.web@gmail.com>
12513
12514 * comint.el (comint-redirect-results-list-from-process):
12515 Fix infinite loop.
12516
12517 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12518
12519 * net/eww.el (eww-update-header-line-format): Quote % characters.
12520
12521 2013-06-21 Glenn Morris <rgm@gnu.org>
12522
12523 * play/cookie1.el (cookie): New custom group.
12524 (cookie-file): New option.
12525 (cookie-check-file): New function.
12526 (cookie): Make it interactive. Make start and end messages optional.
12527 Interactively, display the result. Default to cookie-file.
12528 (cookie-insert): Default to cookie-file.
12529 (cookie-snarf): Make start and end messages optional.
12530 Default to cookie-file. Use with-temp-buffer.
12531 (cookie-read): Rename from read-cookie.
12532 Make start and end messages optional. Default to cookie-file.
12533 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12534 Do not autoload it.
12535 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12536 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12537
12538 2013-06-21 Leo Liu <sdl.web@gmail.com>
12539
12540 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12541
12542 2013-06-21 Glenn Morris <rgm@gnu.org>
12543
12544 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12545
12546 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12547 Daniel Hackney <dan@haxney.org>
12548
12549 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12550 Consolidate the single-file vs tarball code.
12551 (package-desc-suffix): New function.
12552 (package-desc-full-name): Don't bother inlining it.
12553 (package-load-descriptor): Return the new package-desc.
12554 (package-mark-obsolete): Remove unused arg `package'.
12555 (package-unpack): Make it work for single files as well.
12556 Make it update package-alist.
12557 (package--make-autoloads-and-stuff): Rename from
12558 package--make-autoloads-and-compile. Don't compile any more.
12559 (package--compile): New function.
12560 (package-generate-description-file): New function, extracted from
12561 package-unpack-single.
12562 (package-unpack-single): Remove.
12563 (package--with-work-buffer): Add indentation and debugging info.
12564 (package-download-single): Remove.
12565 (package-install-from-archive): Rename from package-download-tar, make
12566 it take a pkg-desc, and make it work for single files as well.
12567 (package-download-transaction): Simplify.
12568 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12569 external tar program.
12570 (package-install-from-buffer): Remove `pkg-desc' argument.
12571 Use package-tar-file-info for tar-mode buffers.
12572 (package-install-file): Simplify accordingly.
12573 (package-archive-base): Change to take a pkg-desc.
12574 * tar-mode.el (tar--check-descriptor): New function, extracted from
12575 tar-get-descriptor.
12576 (tar-get-descriptor): Use it.
12577 (tar-get-file-descriptor): New function.
12578 (tar--extract): New function, extracted from tar-extract.
12579 (tar--extract): Use it.
12580 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12581 case the summary uses non-ascii. Adjust to new calling convention of
12582 package-tar-file-info.
12583
12584 2013-06-21 Leo Liu <sdl.web@gmail.com>
12585
12586 * comint.el (comint-redirect-results-list-from-process):
12587 Fix random delay. (Bug#14681)
12588
12589 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12590
12591 * profiler.el (profiler-format-number): Use log, not log10.
12592
12593 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12594
12595 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12596
12597 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12600 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12601 yet available.
12602 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12603 (AUTOGENEL): ... here.
12604 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12605 (cl--defsubst-expand): Use it.
12606
12607 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12608
12609 * subr.el (log10): Move here from C code, and declare as obsolete.
12610 All uses of (log10 X) replaced with (log X 10).
12611
12612 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12613
12614 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12615 Declare with `defvar-local'.
12616 (tabulated-list-use-header-line, tabulated-list-entries)
12617 (tabulated-list-padding, tabulated-list-printer)
12618 (tabulated-list-sort-key): Declare with `defvar-local'.
12619 (tabulated-list-init-header, tabulated-list-print-fake-header):
12620 Use `setq-local'.
12621
12622 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12623
12624 * arc-mode.el (archive-mode): Add `archive-write-file' to
12625 `write-contents-functions' also for remote files. (Bug#14652)
12626
12627 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12628
12629 * cus-edit.el (custom-commands): Fix typos.
12630 (custom-display): Fix tooltip text.
12631 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12632 Fix typos in docstrings.
12633 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12634 (custom-unlispify-menu-entry, custom-magic-value-create)
12635 (custom-add-see-also, custom-group-value-create): Use ?\s.
12636 (custom-guess-type, customize-apropos, editable-field)
12637 (custom-face-value-create): Use `string-match-p'.
12638 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12639
12640 * custom.el (custom-load-symbol): Use `string-match-p'.
12641
12642 * ansi-color.el: Convert to lexical binding.
12643 (ansi-colors): Fix URL.
12644 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12645 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12646 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12647
12648 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
12650 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12651
12652 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12653
12654 2013-06-19 Tom Tromey <tromey@redhat.com>
12655
12656 * net/eww.el (eww-top-url): Remove.
12657 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12658 (eww-render): Set new variables. Don't set eww-top-url.
12659 (eww-handle-link): Handle "prev", "home", and "contents".
12660 Downcase the rel text.
12661 (eww-top-url): Choose best top URL.
12662
12663 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12664
12665 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12666 relying in widget.el. Using widget.el leads to too many
12667 user interface inconsistencies.
12668 (eww-self-insert): Implement entering commands in text fields.
12669 (eww-process-text-input): New function to make text input field editing
12670 work.
12671 (eww-submit): Rewrite to use the new-style form methods.
12672 (eww-select-display): Display the correct selected item.
12673 (eww-change-select): Implement changing the select value.
12674 (eww-toggle-checkbox): Implement radio/checkboxes.
12675 (eww-update-field): Fix compilation error.
12676 (eww-tag-textarea): Implement <textarea>.
12677
12678 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12679 we don't shadow mode-specific bindings.
12680
12681 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12682 nothing to push.
12683
12684 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12685
12686 2013-06-19 Glenn Morris <rgm@gnu.org>
12687
12688 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12689
12690 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12691
12692 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12693 not needed.
12694
12695 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12696
12697 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12698
12699 * net/browse-url.el (browse-url-browser-function):
12700 `eww-browse-url' has the right calling signature, `eww' does not.
12701
12702 2013-06-19 Glenn Morris <rgm@gnu.org>
12703
12704 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12705 Only eval autoloaded macros.
12706 (byte-compile-autoload): Only give the macro warning for macros.
12707
12708 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12709 (ps-underlined-faces): Declare.
12710
12711 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12712 (speedbar-add-supported-extension): Declare.
12713
12714 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12715 Don't include a date stamp in the header of the generated file;
12716 it leads to needless differences between output files.
12717
12718 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12719
12720 * net/secrets.el (secrets-struct-secret-content-type):
12721 Replace check of introspection data by a test call of "CreateItem".
12722 Some servers do not offer introspection.
12723
12724 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12725
12726 * electric.el (electric-pair-mode): Improve interaction with
12727 electric-layout-mode.
12728 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12729 (electric-pair-syntax): Use text-mode-syntax-table in comments
12730 and strings.
12731 (electric-pair--insert): New function.
12732 (electric-pair-post-self-insert-function): Use it and
12733 electric--after-char-pos.
12734
12735 2013-06-19 Leo Liu <sdl.web@gmail.com>
12736
12737 * progmodes/octave.el (octave-help): Fix regexp.
12738
12739 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12740
12741 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12742 (shr-table-horizontal-line): Allow nil as a value, and change the
12743 default.
12744 (shr-insert-table-ruler): Respect the nil value.
12745
12746 2013-06-18 Tom Tromey <tromey@barimba>
12747
12748 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12749 New defvars.
12750 (eww-open-file): New defun.
12751 (eww-render): Initialize new variables.
12752 (eww-display-html): Handle "link" and "a".
12753 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12754 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12755 (eww-back-url): Rename from eww-previous-url.
12756 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12757 New defuns.
12758
12759 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12760
12761 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12762 Distinguish ternary operator tokens from slash symbol and slash
12763 char literal.
12764
12765 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12766
12767 Convert symbol prettification into minor mode and global minor mode.
12768
12769 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12770 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12771 (prettify-symbols--keywords): Rename from
12772 `prog-prettify-symbols-alist' and make a local defvar.
12773 (prettify-symbols--compose-symbol): Rename from
12774 `prog--prettify-font-lock-compose-symbol'.
12775 (prettify-symbols--make-keywords): Rename from
12776 `prog-prettify-font-lock-symbols-keywords' and simplify.
12777 (prog-prettify-install): Remove.
12778 (prettify-symbols-mode): New minor mode, based on
12779 `prog-prettify-install'.
12780 (turn-on-prettify-symbols-mode): New function.
12781 (global-prettify-symbols-mode): New globalized minor mode.
12782
12783 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12784 * progmodes/cfengine.el (cfengine3-mode):
12785 * progmodes/perl-mode.el (perl-mode): Don't call
12786 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12787
12788 2013-06-18 Juri Linkov <juri@jurta.org>
12789
12790 * files-x.el (modify-file-local-variable-message): New function.
12791 (modify-file-local-variable)
12792 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12793 and call `modify-file-local-variable-message' when it's non-nil.
12794 (add-file-local-variable, delete-file-local-variable)
12795 (add-file-local-variable-prop-line)
12796 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12797 and use it. (Bug#9820)
12798
12799 2013-06-18 Juri Linkov <juri@jurta.org>
12800
12801 * emulation/vi.el (vi-shell-op):
12802 * emulation/vip.el (vip-execute-com, ex-command):
12803 * emulation/viper-cmd.el (viper-exec-bang):
12804 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12805 the call of `shell-command-on-region'. (Bug#14637)
12806
12807 * simple.el (shell-command-on-region): Doc fix.
12808
12809 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12810
12811 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12812 (bug#14633).
12813
12814 2013-06-18 Glenn Morris <rgm@gnu.org>
12815
12816 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12817
12818 * newcomment.el (comment-search-forward, comment-search-backward):
12819 Doc fix. (Bug#14376)
12820
12821 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12822
12823 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12824 (buffer-face-mode-invoke): Doc fix.
12825
12826 2013-06-18 Matthias Meulien <orontee@gmail.com>
12827
12828 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12829 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12830
12831 2013-06-18 Glenn Morris <rgm@gnu.org>
12832
12833 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12834 Replace obsolete function generic-make-keywords with its expansion.
12835
12836 * progmodes/python.el (ffap-alist): Declare.
12837
12838 * textmodes/reftex.el (bibtex-mode-map): Declare.
12839
12840 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12841
12842 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12843 (package-unpack, package-unpack-single): Return the pkg-dir.
12844 (package-download-transaction): Use it to update package-alist.
12845
12846 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12847
12848 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12849 possible choice.
12850
12851 2013-06-17 Juri Linkov <juri@jurta.org>
12852
12853 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12854
12855 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12856
12857 * emacs-lisp/package.el (package-load-descriptor):
12858 Remove `with-syntax-table' call, `read' doesn't need it.
12859 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12860
12861 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12862
12863 * startup.el (command-line): Expand package name returned by
12864 `package--description-file' (bug#14639).
12865
12866 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12867
12868 * emacs-lisp/package.el (package-load-descriptor): Do not call
12869 `emacs-lisp-mode', just use its syntax table.
12870
12871 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12872
12873 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12874 `font-lock-extra-managed-props' if any prettifying keyword is added.
12875 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12876 (prog-mode): Use `setq-local'.
12877
12878 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * international/characters.el (standard-case-table): Set syntax of ?»
12881 and ?« to punctuation.
12882
12883 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12884
12885 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12886 Save relevant match data before calling `syntax-ppss' (bug#14595).
12887
12888 2013-06-15 Juri Linkov <juri@jurta.org>
12889
12890 * files-x.el (modify-file-local-variable-prop-line): Add local
12891 variables to the end of the existing comment on the first line.
12892 Use `file-auto-mode-skip' to skip interpreter magic line,
12893 and also skip XML declaration.
12894
12895 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * startup.el (package--builtin-versions): New var.
12898 (package-subdirectory-regexp): Remove.
12899 (package--description-file): Hard code its value instead.
12900
12901 * emacs-lisp/package.el: Don't activate packages older than builtin.
12902 (package-obsolete-list): Rename from package-obsolete-alist, and make
12903 it into a simple list of package-desc.
12904 (package-strip-version): Remove.
12905 (package-built-in-p): Use package--builtin-versions.
12906 (package-mark-obsolete): Simplify.
12907 (package-process-define-package): Mark it obsolete if older than the
12908 builtin version.
12909 (package-handle-response): Use line-end-position.
12910 (package-read-archive-contents, package--download-one-archive):
12911 Simplify.
12912 (package--add-to-archive-contents): Skip if older than the builtin or
12913 installed version.
12914 (package-menu-describe-package): Fix last change.
12915 (package-list-unversioned): New var.
12916 (package-menu--generate): Use it.
12917
12918 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12919 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12920 (autoload-builtin-package-versions): New variable.
12921 (autoload-generate-file-autoloads): Use them.
12922 Remove the list of autoloaded functions/macros from the
12923 (autoload...) comments.
12924
12925 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12926
12927 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12928
12929 * simple.el (line-move-partial): Don't jump to the next screen
12930 line as soon as it becomes visible. Instead, continue enlarging
12931 the vscroll until the portion of a tall screen line that's left on
12932 display is about the height of the frame's default font.
12933 (Bug#14567)
12934
12935 2013-06-15 Glenn Morris <rgm@gnu.org>
12936
12937 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12938 compilation-error-regexp-alist void, or local while let-bound.
12939
12940 * progmodes/make-mode.el (makefile-mode-syntax-table):
12941 Treat "=" as punctuation. (Bug#14614)
12942
12943 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12944
12945 * help-fns.el (describe-variable):
12946 Add extra line for permanent-local variables.
12947
12948 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12949
12950 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12951 Add export, import, library. (Bug#9164)
12952 (library): Set indent function.
12953
12954 2013-06-14 Glenn Morris <rgm@gnu.org>
12955
12956 * term/xterm.el (xterm--query):
12957 Stop after first matching handler. (Bug#14615)
12958
12959 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12960
12961 Add support for dired in saveplace.
12962 * dired.el (dired-initial-position-hook): New variable.
12963 (dired-initial-position): Call hook to place cursor position.
12964 * saveplace.el (save-place-to-alist): Add dired position.
12965 (save-place-dired-hook): New function.
12966
12967 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12968
12969 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12970 through a symbol rather than letrec.
12971
12972 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12973 (package-desc): Add `dir' field.
12974 (package-desc-full-name): New function.
12975 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12976 (package-maybe-load-descriptor): Remove.
12977 (package-load-all-descriptors): Just call package-load-descriptor.
12978 (package--disabled-p): New function.
12979 (package-desc-vers, package-desc-doc): Remove aliases.
12980 (package--dir): Remove function.
12981 (package-activate): Check if a package is disabled.
12982 (package-process-define-package): New function, extracted from
12983 define-package.
12984 (define-package): Turn into a place holder.
12985 (package-unpack-single, package-tar-file-info):
12986 Use package--description-file.
12987 (package-compute-transaction): Use package--disabled-p.
12988 (package-download-transaction): Don't call
12989 package-maybe-load-descriptor since they're all loaded anyway.
12990 (package-install): Change argument to be a pkg-desc.
12991 (package-delete): Use a single pkg-desc argument.
12992 (describe-package-1): Use package-desc-dir instead of package--dir.
12993 Use package-desc property instead of package-symbol.
12994 (package-install-button-action): Adjust accordingly.
12995 (package--push): Rewrite.
12996 (package-menu--print-info): Adjust accordingly. Change the ID format
12997 to be a pkg-desc.
12998 (package-menu-describe-package, package-menu-get-status)
12999 (package-menu--find-upgrades, package-menu-mark-upgrades)
13000 (package-menu-execute, package-menu--name-predicate):
13001 Adjust accordingly.
13002 * startup.el (package--description-file): New function.
13003 (command-line): Use it.
13004 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13005 Use package-desc-version.
13006
13007 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13008 (byte-compile-preprocess): Use it.
13009 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13010 can't quite recognize.
13011 (byte-compile-add-to-list): Remove.
13012 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13013 (cconv-closure-convert): Add assertion.
13014
13015 * emacs-lisp/map-ynp.el: Use lexical-binding.
13016 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13017 Factor out some repeated code.
13018
13019 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * subr.el (with-eval-after-load): New macro.
13022 (eval-after-load): Allow form to be a function.
13023 take advantage of lexical-binding.
13024 (do-after-load-evaluation): Use dolist and adjust to new format.
13025 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13026
13027 2013-06-13 Juri Linkov <juri@jurta.org>
13028
13029 * replace.el (perform-replace): Display "symbol " and other search
13030 modes from `isearch-message-prefix' in the *Help* buffer.
13031
13032 * isearch.el (isearch-query-replace): Add " symbol" and other
13033 possible search modes from `isearch-message-prefix' to the prompt.
13034 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13035 when reading a regexp to collect.
13036
13037 2013-06-13 Juri Linkov <juri@jurta.org>
13038
13039 * isearch.el (word-search-regexp): Match whitespace if the search
13040 string begins or ends in whitespace. The LAX arg is applied to
13041 both ends of the search string. Use `regexp-quote' and explicit
13042 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13043 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13044 boundaries are replaced with symbol boundaries, and characters
13045 between symbols match non-word non-symbol syntax. (Bug#14602)
13046
13047 2013-06-13 Juri Linkov <juri@jurta.org>
13048
13049 * isearch.el (isearch-del-char): Don't exceed the length of
13050 `isearch-string' by the prefix arg. (Bug#14563)
13051
13052 2013-06-13 Juri Linkov <juri@jurta.org>
13053
13054 * isearch.el (isearch-yank-word, isearch-yank-line)
13055 (isearch-char-by-name, isearch-quote-char)
13056 (isearch-printing-char, isearch-process-search-char):
13057 Add optional count prefix arg. (Bug#14563)
13058
13059 * international/isearch-x.el
13060 (isearch-process-search-multibyte-characters):
13061 Add optional count prefix arg.
13062
13063 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13064
13065 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13066 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13067 lexical-binding.
13068
13069 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13070
13071 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13072
13073 2013-06-13 Glenn Morris <rgm@gnu.org>
13074
13075 * startup.el (tty-handle-args):
13076 Don't just discard "--" and anything after. (Bug#14608)
13077
13078 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13079
13080 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13081
13082 Implement changes in Secret Service API. Make it backward compatible.
13083 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13084 (secrets-create-item): Use it. Prefix properties with interface.
13085
13086 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13087
13088 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13089 (term-emulate-terminal): Respect term-suppress-hard-newline.
13090
13091 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13092
13093 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13094 Only remove a `thumb-file' overlay. (Bug#14548)
13095
13096 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13097
13098 * mail/reporter.el (reporter-submit-bug-report):
13099 Handle missing package-name. (Bug#14600)
13100
13101 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13102
13103 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13104 (reftex-citation-prompt, reftex-default-bibliography)
13105 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13106 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13107 (reftex-bib-sort-author, reftex-bib-sort-year)
13108 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13109 (reftex-extract-bib-entries-from-thebibliography)
13110 (reftex-get-bibkey-default, reftex-get-bib-names)
13111 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13112 (reftex-format-bib-entry, reftex-parse-bibitem)
13113 (reftex-format-bibitem, reftex-do-citation)
13114 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13115 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13116 (reftex-insert-bib-matches, reftex-format-citation)
13117 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13118 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13119 existing comments into docstrings.
13120
13121 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13122
13123 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13124
13125 2013-06-12 Andreas Schwab <schwab@suse.de>
13126
13127 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13128 for auto-save files.
13129
13130 2013-06-12 Glenn Morris <rgm@gnu.org>
13131
13132 * ido.el (ido-delete-ignored-files): Remove.
13133 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13134 Go back to calling ido-ignore-item-p directly.
13135
13136 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13137
13138 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13139
13140 * ido.el (ido-delete-ignored-files): New function,
13141 split from ido-make-file-list-1.
13142 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13143 (ido-make-file-list-1): Use ido-delete-ignored-files.
13144
13145 2013-06-12 Leo Liu <sdl.web@gmail.com>
13146
13147 * progmodes/octave.el (inferior-octave-startup)
13148 (inferior-octave-completion-table)
13149 (inferior-octave-track-window-width-change)
13150 (octave-eldoc-function-signatures, octave-help)
13151 (octave-find-definition): Use single quoted strings.
13152 (inferior-octave-startup-args): Change default value.
13153 (inferior-octave-startup): Do not hard code "-i" and
13154 "--no-line-editing".
13155 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13156 (inferior-octave-directory-tracker): Use it.
13157 (octave-goto-function-definition): Robustify.
13158 (octave-help): Support highlighting operators in 'See also'.
13159 (octave-find-definition): Find subfunctions only in Octave mode.
13160
13161 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * help-fns.el (help-fns--compiler-macro): If the handler function is
13164 named, then put a link to it.
13165 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13166 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13167 (cl-typep): Use it.
13168 (cl-eval-when): Simplify debug spec.
13169 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13170 compiler-macro function instead of setting `compiler-macro-file'.
13171
13172 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13173
13174 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13175 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13176
13177 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13178 Daniel Hackney <dan@haxney.org>
13179
13180 First part of Daniel Hackney's patch to package.el.
13181 * emacs-lisp/package.el: Use defstruct.
13182 (package-desc): New, main struct.
13183 (package--bi-desc, package--ac-desc): New structs, used to describe the
13184 format in external files.
13185 (package-desc-vers): Replace with package-desc-version accessor.
13186 (package-desc-doc): Replace with package-desc-summary accessor.
13187 (package-activate-1): Remove `package' arg since the pkg-vec now
13188 includes the name.
13189 (define-package): Use package-desc-from-define.
13190 (package-unpack-single): Change file-name arg to be a symbol.
13191 (package--add-to-archive-contents): Use package-desc-create and new
13192 accessor functions to package--ac-desc.
13193 (package-buffer-info, package-tar-file-info): Return a package-desc.
13194 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13195 arg to be a package-desc.
13196 (package-install-file): Adjust accordingly. Use \' to match EOS.
13197 (package--from-builtin): New function.
13198 (describe-package-1, package-menu--generate): Use it.
13199 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13200 (package-generate-autoloads): Idem and return the name of the file.
13201 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13202 Change pkg-info arg to be a package-desc.
13203 Use package-make-ac-desc.
13204 (package-upload-file): Use \' to match EOS.
13205 * finder.el (finder-compile-keywords): Use package-make-builtin.
13206
13207 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13208
13209 * vc/vc.el (vc-deduce-fileset): Change error message.
13210 (vc-read-backend): New function.
13211 (vc-next-action): Use it.
13212
13213 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13214
13215 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13216 (prolog-font-lock-keywords): Use regexp-opt instead.
13217 Don't manually highlight strings.
13218 (prolog-mode-variables): Simplify comment-start-skip.
13219 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13220
13221 * emacs-lisp/generic.el (generic--normalise-comments)
13222 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13223 (generic-mode-set-comments): Use them.
13224 (generic-bracket-support): Use setq-local.
13225 (generic-make-keywords-list): Declare obsolete.
13226
13227 2013-06-11 Glenn Morris <rgm@gnu.org>
13228
13229 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13230 Prettify after setting font-lock-defaults. (Bug#14574)
13231
13232 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13233
13234 * replace.el (query-replace, occur-read-regexp-defaults-function)
13235 (replace-search):
13236 * subr.el (declare-function, number-sequence, local-set-key)
13237 (substitute-key-definition, locate-user-emacs-file)
13238 (with-silent-modifications, split-string, eval-after-load):
13239 Fix typos, remove unneeded backslashes and reflow some docstrings.
13240
13241 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13244 default for Elisp files.
13245
13246 2013-06-11 Glenn Morris <rgm@gnu.org>
13247
13248 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13249 although define-derived-mode was doing this anyway. (Bug#14583)
13250
13251 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13252
13253 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13254 Fix make-variable-buffer-local call to refer to the correct variable.
13255
13256 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13257
13258 * eshell/em-term.el (eshell-visual-commands)
13259 (eshell-visual-subcommands, eshell-visual-options):
13260 Add summary line to docstrings. Add cross-references.
13261
13262 2013-06-10 Glenn Morris <rgm@gnu.org>
13263
13264 * epa.el (epa-read-file-name): New function. (Bug#14510)
13265 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13266
13267 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13268
13269 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13270 output redirection to be ignored with visual commands.
13271
13272 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13273
13274 * eshell/em-term.el (eshell-visual-command-p): New function.
13275 (eshell-term-initialize): Move long lambda to separate function
13276 eshell-visual-command-p.
13277 * eshell/em-dirs.el (eshell-dirs-initialize):
13278 * eshell/em-script.el (eshell-script-initialize):
13279 Add missing #' to lambda.
13280
13281 2013-06-08 Leo Liu <sdl.web@gmail.com>
13282
13283 * progmodes/octave.el (octave-add-log-current-defun): New function.
13284 (octave-mode): Set add-log-current-defun-function.
13285 (octave-goto-function-definition): Do not move point if not found.
13286 (octave-find-definition): Enhance to try subfunctions first.
13287
13288 2013-06-08 Glenn Morris <rgm@gnu.org>
13289
13290 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13291 (byte-compile-backward-char, byte-compile-backward-word):
13292 Improve previous change, to handle non-explicit nil.
13293
13294 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13295
13296 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13297 (smie--opener/closer-at-point): New function.
13298 (smie--matching-block-data): Use it. Don't match from right after an
13299 opener or right before a closer. Obey smie-blink-matching-inners.
13300 Don't signal a mismatch for repeated inners like "switch..case..case".
13301
13302 2013-06-07 Leo Liu <sdl.web@gmail.com>
13303
13304 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13305 to t. (Bug#14303)
13306 (octave-function-header-regexp): Fix. (Bug#14570)
13307 (octave-help-mode-finish-hook, octave-help-mode-finish):
13308 Remove. Just use temp-buffer-show-hook.
13309
13310 * newcomment.el (comment-search-backward): Revert last change.
13311 (Bug#14434)
13312
13313 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13314
13315 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13316
13317 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13318 through xargs, to avoid failure due to MS-Windows limitations on
13319 command-line length.
13320
13321 2013-06-06 Glenn Morris <rgm@gnu.org>
13322
13323 * font-lock.el (lisp-font-lock-keywords-2):
13324 Treat user-error like error.
13325
13326 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13327 (byte-compile-backward-char, byte-compile-backward-word):
13328 Handle explicit nil arguments. (Bug#14565)
13329
13330 2013-06-05 Alan Mackenzie <acm@muc.de>
13331
13332 * isearch.el (isearch-allow-prefix): New user option.
13333 (isearch-other-meta-char): Don't exit isearch when a prefix
13334 argument is typed whilst `isearch-allow-prefix' is non-nil.
13335 (Bug#9706)
13336
13337 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 * autorevert.el (auto-revert-notify-handler): Use memq.
13340 Hide assertion failure.
13341
13342 * skeleton.el: Use cl-lib.
13343 (skeleton-further-elements): Use defvar-local.
13344 (skeleton-insert): Use cl-progv.
13345
13346 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13347
13348 * progmodes/prog-mode.el (prog-prettify-symbols)
13349 (prog-prettify-install): Update docstrings.
13350
13351 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * simple.el: Move all the prog-mode code to prog-mode.el.
13354 * progmodes/prog-mode.el: New file.
13355 * loadup.el: Add prog-mode.el.
13356
13357 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13358
13359 * simple.el (prog-prettify-symbols): Add version.
13360 (prog-prettify-install): Add convenience function to prettify symbols.
13361
13362 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13363 (perl--augmented-font-lock-keywords-1)
13364 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13365 variables and use it.
13366
13367 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13368 (cfengine3-mode): Remove unneeded variable and use it.
13369
13370 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13371 (lisp--augmented-font-lock-keywords-1)
13372 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13373 Remove unneeded variables and use it.
13374
13375 2013-06-05 João Távora <joaotavora@gmail.com>
13376
13377 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13378 to point when opening the connection. (Bug#14380)
13379
13380 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13381
13382 * subr.el (load-history-regexp, load-history-filename-element)
13383 (eval-after-load, after-load-functions, do-after-load-evaluation)
13384 (eval-next-after-load, display-delayed-warnings)
13385 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13386 definition of save-match-data.
13387 (overriding-local-map): Remove accidental obsolescence declaration.
13388
13389 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13390
13391 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13392
13393 Generalize symbol prettify support to prog-mode and implement it
13394 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13395 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13396 (prog--prettify-font-lock-compose-symbol)
13397 (prog-prettify-font-lock-symbols-keywords): New variables and
13398 functions to support symbol prettification.
13399 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13400 (lisp--augmented-font-lock-keywords-1)
13401 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13402 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13403 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13404 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13405 Implement prettify of -> => :: strings.
13406 * progmodes/perl-mode.el (perl-prettify-symbols)
13407 (perl--font-lock-compose-symbol)
13408 (perl--font-lock-symbols-keywords): Move to prog-mode.
13409 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13410 (perl-font-lock-keywords-1)
13411 (perl-font-lock-keywords-2): Remove explicit prettify support.
13412 (perl--augmented-font-lock-keywords)
13413 (perl--augmented-font-lock-keywords-1)
13414 (perl--augmented-font-lock-keywords-2, perl-mode):
13415 Implement prettify support.
13416
13417 2013-06-05 Leo Liu <sdl.web@gmail.com>
13418
13419 Re-implement SMIE matching block highlight using
13420 show-paren-data-function. (Bug#14395)
13421 * emacs-lisp/smie.el (smie-matching-block-highlight)
13422 (smie--highlight-matching-block-overlay)
13423 (smie--highlight-matching-block-lastpos)
13424 (smie-highlight-matching-block)
13425 (smie-highlight-matching-block-mode): Remove.
13426 (smie--matching-block-data-cache): New variable.
13427 (smie--matching-block-data): New function.
13428 (smie-setup): Use smie--matching-block-data for
13429 show-paren-data-function.
13430
13431 * progmodes/octave.el (octave-mode-menu): Fix.
13432 (octave-find-definition): Skip garbage lines.
13433
13434 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13435
13436 Fix compilation error with simultaneous dynamic+lexical scoping.
13437 Add warning when a defvar appears after the first let-binding.
13438 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13439 (byte-compile-close-variables): Initialize it.
13440 (byte-compile--declare-var): New function.
13441 (byte-compile-file-form-defvar)
13442 (byte-compile-file-form-define-abbrev-table)
13443 (byte-compile-file-form-custom-declare-variable): Use it.
13444 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13445 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13446 (byte-compile-bind): Handle dynamic bindings that shadow
13447 lexical bindings.
13448 (byte-compile-unbind): Make arg non-optional.
13449 (byte-compile-let): Simplify.
13450 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13451 (cconv--analyse-function, cconv-analyse-form): Populate it.
13452 Protect byte-compile-bound-variables to limit the scope of defvars.
13453 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13454 Remove unneeded rule for `declare'.
13455
13456 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13457 so as to avoid depending on cl-adjoin at run-time.
13458 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13459
13460 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13461 (macroexp--warn-and-return): Use it.
13462
13463 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 * subr.el: Convert to lexical binding.
13466 (overriding-local-map): Make obsolete.
13467 (add-to-list): Doc fix. Add compiler macro.
13468 (read-key): Swap values of local maps.
13469
13470 2013-06-05 Leo Liu <sdl.web@gmail.com>
13471
13472 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13473
13474 2013-06-04 Leo Liu <sdl.web@gmail.com>
13475
13476 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13477 (compilation-auto-jump): Suppress the "Mark set" message to give
13478 way to exit message.
13479
13480 2013-06-04 Alan Mackenzie <acm@muc.de>
13481
13482 Remove faulty optimisation from indentation calculation.
13483 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13484 search limit based on 2000 characters back from indent-point.
13485
13486 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13487
13488 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13489
13490 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * emacs-lisp/lisp.el: Use lexical-binding.
13493 (lisp--local-variables-1, lisp--local-variables): New functions.
13494 (lisp--local-variables-completion-table): New var.
13495 (lisp-completion-at-point): Use it complete let-bound vars.
13496
13497 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13498 eagerly (bug#14422).
13499
13500 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13501
13502 * autorevert.el (auto-revert-notify-enabled)
13503 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13504 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13505 (auto-revert-notify-handler): Handle also gfilenotify.
13506
13507 * subr.el (file-notify-handle-event): New defun. Replacing ...
13508 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13509 Remove.
13510
13511 2013-06-03 Juri Linkov <juri@jurta.org>
13512
13513 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13514 `M-s h .'. (Bug#14427)
13515
13516 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13517 command `hi-lock-face-symbol-at-point'.
13518 (hi-lock-face-symbol-at-point): New command.
13519 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13520 (hi-lock-menu): Add `highlight-symbol-at-point'.
13521 (hi-lock-mode): Doc fix.
13522
13523 * isearch.el (isearch-forward-symbol-at-point): New command.
13524 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13525 (isearch-highlight-regexp): Add a regexp which matches
13526 words/symbols for word/symbol mode.
13527
13528 * subr.el (find-tag-default-bounds): New function with the body
13529 mostly moved from `find-tag-default'.
13530 (find-tag-default): Move most code to `find-tag-default-bounds',
13531 call it and apply `buffer-substring-no-properties' afterwards.
13532
13533 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13534
13535 * eshell/em-term.el (eshell-term-initialize):
13536 Use `cl-intersection' rather than `intersection'.
13537
13538 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13539
13540 * vc/log-view.el: Doc fix.
13541 (log-view-mode-map): Copy keymap from `special-mode-map'.
13542
13543 2013-06-02 Eric Ludlam <zappo@gnu.org>
13544
13545 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13546 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13547 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13548 (eieio-unbound, eieio-default-superclass)
13549 (eieio--define-field-accessors, method-static, method-before)
13550 (method-primary, method-after, method-num-lists)
13551 (method-generic-before, method-generic-primary)
13552 (method-generic-after, method-num-slots)
13553 (eieio-specialized-key-to-generic-key)
13554 (eieio--check-type, class-v, class-p)
13555 (eieio-class-name, define-obsolete-function-alias)
13556 (eieio-class-parents-fast, eieio-class-children-fast)
13557 (same-class-fast-p, class-constructor, generic-p)
13558 (generic-primary-only-p, generic-primary-only-one-p)
13559 (class-option-assoc, class-option, eieio-object-p)
13560 (class-abstract-p, class-method-invocation-order)
13561 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13562 (eieio-class-un-autoload, eieio-defclass)
13563 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13564 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13565 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13566 (eieio-defgeneric-reset-generic-form)
13567 (eieio-defgeneric-form-primary-only)
13568 (eieio-defgeneric-reset-generic-form-primary-only)
13569 (eieio-defgeneric-form-primary-only-one)
13570 (eieio-defgeneric-reset-generic-form-primary-only-one)
13571 (eieio-unbind-method-implementations)
13572 (eieio--defmethod, eieio--typep)
13573 (eieio-perform-slot-validation, eieio-validate-slot-value)
13574 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13575 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13576 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13577 (eieio-slot-name-index, eieio-class-slot-name-index)
13578 (eieio-set-defaults, eieio-initarg-to-attribute)
13579 (eieio-attribute-to-initarg, eieio-c3-candidate)
13580 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13581 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13582 (eieio-class-precedence-list, eieio-generic-call-methodname)
13583 (eieio-generic-call-arglst, eieio-generic-call-key)
13584 (eieio-generic-call-next-method-list)
13585 (eieio-pre-method-execution-functions, eieio-generic-call)
13586 (eieio-generic-call-primary-only, eieiomt-method-list)
13587 (eieiomt-optimizing-obarray, eieiomt-install)
13588 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13589 (eieio-generic-form, eieio-defmethod, make-obsolete)
13590 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13591 (defclass): Remove `eval-and-compile' from macro.
13592 (call-next-method, shared-initialize): Instead of using
13593 `scoped-class' variable, use new eieio--scoped-class, and
13594 eieio--with-scoped-class.
13595 (initialize-instance): Rename local variable 'scoped-class' to
13596 'this-class' to remove ambiguitity from old global.
13597
13598 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13599 eieio.el.
13600 (eieio--scoped-class-stack): New variable.
13601 (eieio--scoped-class): New fcn.
13602 (eieio--with-scoped-class): New scoping macro.
13603 (eieio-defclass): Use pushnew instead of add-to-list.
13604 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13605 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13606 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13607 `scoped-class' variable, use new eieio--scoped-class, and
13608 eieio--with-scoped-class.
13609
13610 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13611
13612 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13613
13614 * eshell/esh-ext.el (eshell-external-command): Pass args to
13615 `eshell-find-interpreter'.
13616 (eshell-find-interpreter): Add new second parameter ARGS.
13617
13618 * eshell/em-script.el (eshell-script-initialize): Add second arg
13619 to the function added as MATCH to `eshell-interpreter-alist'.
13620
13621 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13622 the function added as MATCH to `eshell-interpreter-alist'.
13623
13624 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13625 (eshell-visual-options): New defcustom.
13626 (eshell-escape-control-x): Adapt docstring.
13627 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13628 `eshell-visual-options' in addition to `eshell-visual-commands'.
13629 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13630
13631 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13632
13633 * progmodes/python.el (python-indent-block-enders): Add break,
13634 continue and raise keywords.
13635
13636 2013-06-01 Glenn Morris <rgm@gnu.org>
13637
13638 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13639
13640 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13641 * progmodes/cc-cmds.el (delete-forward-p):
13642 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13643 * progmodes/cc-engine.el (buffer-syntactic-context):
13644 * progmodes/cc-fonts.el (face-property-instance):
13645 * progmodes/cc-mode.el (set-keymap-parents):
13646 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13647 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13648 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13649 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13650 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13651
13652 * progmodes/cc-vars.el (other): Emacs has this widget since
13653 at least 21.1, so don't (re)define it.
13654
13655 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13656 Replace the obsolete alias pcomplete-arg-quote-list.
13657
13658 2013-06-01 Leo Liu <sdl.web@gmail.com>
13659
13660 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13661 punctuation syntax.
13662 (inferior-octave-minimal-columns)
13663 (inferior-octave-last-column-width): New variables.
13664 (inferior-octave-track-window-width-change): New function.
13665 (inferior-octave-mode): Adjust column width so that Octave output,
13666 for example from 'ls', can fit into the window nicely.
13667
13668 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13669
13670 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13671 Highlight expansions inside regexp literals.
13672
13673 2013-05-31 Glenn Morris <rgm@gnu.org>
13674
13675 * obsolete/sym-comp.el (symbol-complete):
13676 Replace obsolete completion-annotate-function.
13677
13678 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13679
13680 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13681
13682 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13683 New function, checks if point is inside a literal that allows
13684 expression expansion.
13685 (ruby-syntax-propertize-expansion): Use it.
13686 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13687 around the body.
13688
13689 2013-05-30 Juri Linkov <juri@jurta.org>
13690
13691 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13692 to "\M-si".
13693 (isearch-invisible): New variable.
13694 (isearch-forward): Doc fix.
13695 (isearch-mode): Set `isearch-invisible'
13696 to the value of `search-invisible'.
13697 (isearch-toggle-case-fold): Doc fix.
13698 (isearch-toggle-invisible): New command.
13699 (isearch-query-replace): Let-bind `search-invisible'
13700 to the value of `isearch-invisible'.
13701 (isearch-search): Use `isearch-invisible' instead of
13702 `search-invisible'. Let-bind `search-invisible'
13703 to the value of `isearch-invisible'. (Bug#11378)
13704
13705 2013-05-30 Juri Linkov <juri@jurta.org>
13706
13707 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13708 call when `query-flag' is nil and `search-invisible' is non-nil.
13709 (Bug#11746)
13710
13711 2013-05-30 Glenn Morris <rgm@gnu.org>
13712
13713 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13714
13715 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13716 (cc-require): Suppress spurious "noruntime" warnings.
13717 (cc-require-when-compile): Use fboundp, for sake of compiler.
13718
13719 * progmodes/cc-mode.el: Move load of cc-vars before that of
13720 cc-langs (which in turn loads cc-vars), to quieten compiler.
13721
13722 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * paren.el: Simplify the code.
13725 (show-paren-mode): Always start the timer.
13726 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13727 (show-paren--overlay, show-paren--overlay-1): Rename from
13728 show-paren-overlay and show-paren-overlay-1, and initialize to an
13729 overlay rather than to nil.
13730 (show-paren-function): Misc cleanup and simplifications.
13731
13732 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * paren.el (show-paren-data-function): New hook.
13735 (show-paren--default): New function, extracted from show-paren-function.
13736 (show-paren-function): Use show-paren-data-function.
13737
13738 2013-05-30 Glenn Morris <rgm@gnu.org>
13739
13740 * ielm.el (ielm-map, ielm-complete-symbol):
13741 Use completion-at-point rather than obsolete functions.
13742 (inferior-emacs-lisp-mode): Doc fix.
13743 Set completion-at-point-functions, rather than
13744 comint-dynamic-complete-functions.
13745
13746 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13747 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13748 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13749
13750 * image.el (image-animated-p): Tweak definition.
13751
13752 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13753 (rlogin-process-connection-type): Tweak default. Add set-after.
13754 (rlogin-host): Doc fix.
13755 (rlogin): Tweak prompt.
13756 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13757
13758 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13759 * progmodes/tcl.el (inferior-tcl-mode-map):
13760 Use completion-at-point rather than obsolete alias.
13761
13762 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13763
13764 * minibuffer.el (read-file-name-completion-ignore-case):
13765 Move before completion--in-region, for eager macro expansion.
13766
13767 2013-05-29 Juri Linkov <juri@jurta.org>
13768
13769 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13770 for total count of matching lines. Add `global-matches' for total
13771 count of matches. Rename `matches' to `lines' for count of
13772 matching lines. Add `matches' for count of matches.
13773 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13774 to `prev-line' for line number of prev match endpt.
13775 Increment `matches' for every match. Print the number of
13776 matching lines in the header.
13777 (occur-context-lines): Rename `lines' to `curr-line'.
13778 Rename `prev-lines' to `prev-line'. (Bug#14017)
13779
13780 2013-05-29 Juri Linkov <juri@jurta.org>
13781
13782 * replace.el (perform-replace): Add `skip-read-only-count',
13783 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13784 Increment them for corresponding conditions and report the number
13785 of skipped occurrences in the final message. (Bug#11746)
13786 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13787 (replace-string, replace-regexp): Doc fix.
13788
13789 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13790
13791 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13792
13793 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13794 prog-mode-map (bug#14504).
13795
13796 2013-05-29 Leo Liu <sdl.web@gmail.com>
13797
13798 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13799 (octave-help): Small simplification.
13800
13801 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13802 off the highlight first.
13803
13804 2013-05-29 Glenn Morris <rgm@gnu.org>
13805
13806 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13807 Handle idlwave-last-system-routine-info-cons-cell being nil.
13808
13809 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13810 (idlwave-write-paths): Simplify via with-temp-buffer.
13811
13812 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13813 * emulation/cua-rect.el: Also load cua-base at run time.
13814
13815 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13816 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13817 (cperl-imenu-on-info): Require imenu.
13818
13819 2013-05-28 Alan Mackenzie <acm@muc.de>
13820
13821 Handle "capitalised keywords" correctly.
13822 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13823
13824 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13825
13826 * eshell/em-unix.el: Add -r option to cp.
13827
13828 2013-05-28 Glenn Morris <rgm@gnu.org>
13829
13830 * vc/vc-arch.el (vc-exec-after): Declare.
13831 (vc-switches): Autoload.
13832 * vc/vc-bzr.el: No need to require vc when compiling.
13833 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13834 (vc-resynch-buffer, vc-dir-refresh): Declare.
13835 (vc-setup-buffer, vc-switches): Autoload.
13836 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13837 (vc-resynch-buffer): Declare.
13838 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13839 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13840 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13841 (grep-read-regexp, grep-read-files, grep-expand-template)
13842 (vc-dir-refresh): Declare.
13843 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13844 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13845 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13846 * vc/vc-mtn.el (vc-exec-after): Declare.
13847 (vc-switches): Autoload.
13848 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13849 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13850 (vc-file-tree-walk): Declare.
13851 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13852 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13853 (vc-tag-precondition, vc-rename-master): Autoload.
13854 * vc/vc-svn.el (vc-exec-after): Declare.
13855 (vc-switches, vc-setup-buffer): Autoload.
13856 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13857 Autoload.
13858 (vc-resynch-buffer): Declare.
13859
13860 * obsolete/fast-lock.el (byte-compile-warnings):
13861 Don't warn about obsolete features in this obsolete file.
13862
13863 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13864 Move definition before use.
13865
13866 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13867 (dun-unix-verbs): Remove dun-zippy.
13868 (dun-zippy): Remove function.
13869
13870 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13871
13872 2013-05-27 Juri Linkov <juri@jurta.org>
13873
13874 * replace.el (replace-search): New function with code moved out
13875 from `perform-replace'.
13876 (replace-highlight, replace-dehighlight): Move function definitions
13877 up closer to `replace-search'. (Bug#11746)
13878
13879 2013-05-27 Juri Linkov <juri@jurta.org>
13880
13881 * replace.el (perform-replace): Ignore invisible matches.
13882 In addition to checking `query-replace-skip-read-only', also
13883 filter out matches by calling `run-hook-with-args-until-failure'
13884 on `isearch-filter-predicates', and also check `search-invisible'
13885 for t or call `isearch-range-invisible'.
13886 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13887
13888 2013-05-27 Juri Linkov <juri@jurta.org>
13889
13890 * isearch.el (isearch-filter-predicates): Rename from
13891 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13892 (isearch-message-prefix): Display text from the property
13893 `isearch-message-prefix' of the currently active filters.
13894 (isearch-search): Don't compare `isearch-filter-predicate' with
13895 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13896 on `isearch-filter-predicates'. Also check `search-invisible' for t
13897 or call `isearch-range-invisible'.
13898 (isearch-filter-visible): Make obsolete.
13899 (isearch-lazy-highlight-search):
13900 Call `run-hook-with-args-until-failure' on
13901 `isearch-filter-predicates' and use `isearch-range-invisible'.
13902
13903 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13904 `isearch-filter-predicates' instead of `funcall'ing
13905 `isearch-filter-predicate'.
13906 (Info-mode): Set `Info-isearch-filter' to
13907 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13908
13909 * dired-aux.el (dired-isearch-filter-predicate-orig):
13910 Remove variable.
13911 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13912 (dired-isearch-filenames-end): Add and remove
13913 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13914 instead of changing the value of `isearch-filter-predicate'.
13915 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13916 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13917 Put property `isearch-message-prefix' to "filename " on
13918 `dired-isearch-filter-filenames'.
13919
13920 * wdired.el (wdired-change-to-wdired-mode):
13921 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13922 locally instead of changing `isearch-filter-predicate'.
13923 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13924
13925 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13926
13927 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13928 return the commit hash (Bug#14459). Also set the
13929 `vc-git-detached' property.
13930 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13931 (vc-git-mode-line-string): Use the same help-echo format whether
13932 in detached mode or not, because we know the actual revision now.
13933 When in detached mode, shorten the revision to 7 chars.
13934
13935 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * emacs-lisp/easy-mmode.el (define-minor-mode):
13938 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13939 mode hook and provide a docstring.
13940
13941 2013-05-27 Alan Mackenzie <acm@muc.de>
13942
13943 Remove spurious syntax-table text properties inserted by C-y.
13944 * progmodes/cc-mode.el (c-after-change): Also clear hard
13945 syntax-table property with value nil.
13946
13947 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13948
13949 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13950 when reading the events; the buffer layout shall not be changed.
13951
13952 2013-05-27 Leo Liu <sdl.web@gmail.com>
13953
13954 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13955 New variable.
13956 (inferior-octave-directory-tracker): Automatically re-sync
13957 default-directory.
13958 (octave-help): Improve handling of 'See also'.
13959
13960 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13961
13962 * doc-view.el: Minor naming convention tweaks.
13963 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13964
13965 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13966 even if there's no `display' property yet (bug#14435).
13967
13968 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13969
13970 * subr.el (unmsys--file-name): Rename from reveal-filename.
13971
13972 * Makefile.in (custom-deps, finder-data, autoloads)
13973 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13974 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13975 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13976
13977 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13978
13979 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13980 error-completion on the first 2 args of condition-case (bug#14446).
13981 Don't burp at EOB.
13982
13983 2013-05-25 Leo Liu <sdl.web@gmail.com>
13984
13985 * comint.el (comint-previous-matching-input): Do not flood the
13986 *Messages* buffer with trivial messages.
13987
13988 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * progmodes/flymake.el (flymake-nop): Don't return a string.
13991 (flymake-set-at): Fix typo.
13992
13993 * simple.el (read--expression): New function, extracted from
13994 eval-expression. Set completion-at-point-functions (bug#14465).
13995 (eval-expression, eval-minibuffer): Use it.
13996
13997 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13998
13999 * progmodes/flymake.el (flymake-save-buffer-in-file)
14000 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14001 (flymake-selected-frame, flymake-log, flymake-ins-after)
14002 (flymake-set-at, flymake-get-buildfile-from-cache)
14003 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14004 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14005 Refine the doc string.
14006 (flymake-get-file-name-mode-and-masks): Reformat.
14007 (flymake-get-real-file-name-function): Fix a minor bug.
14008
14009 2013-05-24 Juri Linkov <juri@jurta.org>
14010
14011 * progmodes/grep.el (grep-mode-font-lock-keywords):
14012 Support =linenumber= format used by git-grep for lines with
14013 function names. (Bug#13549)
14014
14015 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14018 0 after a semi-colon; it works better for smie-auto-fill.
14019 (octave--indent-new-comment-line): New function.
14020 (octave-indent-new-comment-line): Use it (indirectly).
14021 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14022 modify comment-line-break-function.
14023
14024 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14025 (smie-setup): Use add-function to set it.
14026
14027 2013-05-24 Sam Steingold <sds@gnu.org>
14028
14029 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14030 argument (before the `interactive' argument).
14031
14032 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14033
14034 * image-mode.el (image-mode-winprops): Add winprops to
14035 image-mode-winprops-alist before running
14036 image-mode-new-window-functions.
14037 * doc-view.el (doc-view-new-window-function): Don't delay
14038 doc-view-goto-page via timers (bug#14435).
14039
14040 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14041
14042 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14043 (doc-view-desktop-save-buffer): New function.
14044 (doc-view-restore-desktop-buffer): New function.
14045 (desktop-buffer-mode-handlers):
14046 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14047 handler.
14048 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14049 `desktop-save-buffer' function.
14050
14051 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14052
14053 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14054 (tramp-gvfs-file-name-handler): Raise a user error when
14055 `tramp-gvfs-enabled' is nil.
14056 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14057 Do not raise a user error when loading package. (Bug#14447)
14058
14059 * net/xesam.el: Move to obsolete/.
14060
14061 2013-05-24 Glenn Morris <rgm@gnu.org>
14062
14063 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14064
14065 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14066
14067 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14068 (Info-find-node, Man-getpage-in-background): Declare.
14069
14070 * mail/unrmail.el (unrmail):
14071 Replace obsolete detect-coding-with-priority.
14072
14073 * net/socks.el (socks-split-string): Use this rather than split-string.
14074 (socks-nslookup-host): Update for above change.
14075 (dynamic-choice, s5-dynamic-choice-match)
14076 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14077 Comment out unused code.
14078
14079 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14080 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14081 (gud-tooltip-echo-area): Make obsolete.
14082 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14083
14084 * progmodes/js.el (js--optimize-arglist): Declare.
14085
14086 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14087
14088 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14089 (ediff-window-C): Declare.
14090
14091 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14092 Tweak requires to silence compiler.
14093
14094 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14095 (he-search-string, he-tried-table, he-expand-list)
14096 (he-init-string, he-string-member, he-substitute-string)
14097 (he-reset-string): Declare.
14098
14099 * obsolete/options.el (list-options): Use custom-variable-p,
14100 rather than obsolete alias.
14101
14102 2013-05-23 Sam Steingold <sds@gnu.org>
14103
14104 * simple.el (shell-command-on-region): Pass the `replace' argument
14105 down to `call-process-region' to comply with the doc as reported on
14106 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14107
14108 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14109
14110 * emacs-lisp/smie.el (smie-indent-forward-token)
14111 (smie-indent-backward-token): Handle string tokens (bug#14381).
14112
14113 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14114
14115 * ielm.el (ielm-menu): New menu.
14116 (inferior-emacs-lisp-mode): Set comment-start.
14117
14118 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14119
14120 * textmodes/reftex.el (reftex-ref-style-toggle):
14121 Fix deactivate action.
14122
14123 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14124 Add cleveref macros.
14125
14126 * textmodes/reftex-parse.el
14127 (reftex-locate-bibliography-files): Accept options for
14128 bibliography commands.
14129 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14130 Add addbibresource. Basic Biblatex support.
14131
14132 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14133
14134 * net/tramp-gvfs.el (top):
14135 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14136 when loading package. (Bug#14447)
14137
14138 2013-05-23 Glenn Morris <rgm@gnu.org>
14139
14140 * progmodes/js.el: No need to load comint when compiling.
14141 (ring-insert, comint-send-string, comint-send-input)
14142 (comint-last-input-end, ido-chop): Declare.
14143
14144 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14145 * vc/ediff-mult.el: Adjust requires.
14146 (ediff-directories-internal, ediff-directory-revisions-internal)
14147 (ediff-patch-file-internal): Declare.
14148 * vc/ediff-ptch.el: Adjust requires.
14149 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14150 (ediff-find-file): Autoload.
14151 * vc/ediff-util.el: No need to load ediff when compiling.
14152 (ediff-regions-internal): Declare.
14153 * vc/ediff-wind.el: Adjust requires.
14154 (ediff-compute-toolbar-width): Define when compiling.
14155 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14156 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14157 (dired-get-filename, dired-get-marked-files)
14158 (ediff-last-dir-patch, ediff-patch-default-directory)
14159 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14160 (ediff-patch-buffer-internal): Declare.
14161
14162 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14163 (ispell-process, ispell-buffer-local-words, lm-summary)
14164 (lm-section-start, lm-section-end): Declare.
14165 (checkdoc-ispell-init): Simplify.
14166
14167 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14168 (he-string-member, he-reset-string, he-substitute-string): Declare.
14169
14170 * eshell/em-ls.el: Adjust requires.
14171 (eshell-glob-regexp): Declare.
14172 * eshell/em-tramp.el: Adjust requires.
14173 (eshell-parse-command): Autoload.
14174 * eshell/em-xtra.el: Adjust requires.
14175 (eshell-parse-command): Autoload.
14176 * eshell/esh-ext.el: Adjust requires.
14177 (eshell-parse-command, eshell-close-handles): Autoload.
14178 * eshell/esh-io.el: Adjust requires.
14179 (eshell-output-filter): Autoload.
14180 * eshell/esh-util.el: No need to load tramp when compiling.
14181 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14182 Declare.
14183 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14184 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14185 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14186 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14187 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14188 * eshell/esh-opt.el, eshell/esh-proc.el:
14189 * eshell/esh-var.el: Adjust requires.
14190 * eshell/eshell.el: Do not require esh-util twice.
14191 (eshell-add-input-to-history): Declare.
14192 (eshell-command): Check history module is active before using it.
14193
14194 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14195
14196 2013-05-22 Leo Liu <sdl.web@gmail.com>
14197
14198 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14199
14200 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14201
14202 * autorevert.el (auto-revert-notify-add-watch)
14203 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14204 it indicates changes in file modification time.
14205
14206 2013-05-22 Glenn Morris <rgm@gnu.org>
14207
14208 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14209 Always delete the autoloaded function from the noruntime and
14210 unresolved functions lists.
14211
14212 * allout.el: No need to load epa, epg, overlay when compiling.
14213 (epg-context-set-passphrase-callback, epg-list-keys)
14214 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14215 (epg-key-user-id-list): Declare.
14216
14217 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14218 (viper-set-parsing-style-toggling-macro)
14219 (viper-set-emacs-state-searchstyle-macros):
14220 Use called-interactively-p on Emacs.
14221 (viper-looking-back): Make it an obsolete alias. Update callers.
14222 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14223 Use looking-back rather than viper-looking-back.
14224 (viper-tmp-insert-at-eob, viper-enlarge-region)
14225 (viper-read-string-with-history, viper-register-to-point)
14226 (viper-append-to-register, viper-change-state-to-vi)
14227 (viper-backward-char-carefully, viper-forward-char-carefully)
14228 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14229 (viper-change-state-to-emacs): Declare.
14230 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14231 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14232 * emulation/viper-mous.el: Do not load viper-cmd.
14233 (viper-backward-char-carefully, viper-forward-char-carefully)
14234 (viper-forward-word, viper-adjust-window): Declare.
14235
14236 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14237
14238 * progmodes/idlw-help.el (idlwave-help-fontify):
14239 Use called-interactively-p.
14240
14241 * term/w32console.el (w32-get-console-codepage)
14242 (w32-get-console-output-codepage): Declare.
14243
14244 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14245 Remove unnecessary declarations.
14246 (dframe-message): Doc fix.
14247
14248 * info.el (dframe-select-attached-frame, dframe-current-frame):
14249 Declare.
14250
14251 * speedbar.el (speedbar-message): Make it an obsolete alias.
14252 Update all callers.
14253 (speedbar-with-attached-buffer)
14254 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14255 (speedbar-with-writable): Use backquote.
14256 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14257 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14258 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14259 rather than speedbar- aliases.
14260 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14261 (speedbar-make-specialized-keymap, speedbar-insert-button)
14262 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14263 (speedbar-do-function-pointer): Declare.
14264 (rmail-speedbar-button, rmail-speedbar-find-file)
14265 (rmail-speedbar-move-message):
14266 Use dframe-with-attached-buffer rather than speedbar- alias.
14267 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14268 (dframe-message, speedbar-make-specialized-keymap)
14269 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14270 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14271 (speedbar-insert-button, dframe-select-attached-frame)
14272 (dframe-maybee-jump-to-attached-frame)
14273 (speedbar-change-initial-expansion-list)
14274 (speedbar-previously-used-expansion-list-name): Declare.
14275 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14276 Use dframe-message, dframe-with-attached-buffer rather than
14277 speedbar- aliases.
14278 (gud-sentinel): Silence compiler.
14279 * progmodes/vhdl-mode.el (speedbar-refresh)
14280 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14281 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14282 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14283 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14284 (speedbar-file-lists, speedbar-make-tag-line)
14285 (speedbar-line-directory, speedbar-goto-this-file)
14286 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14287 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14288 (speedbar-make-button, speedbar-reset-scanners)
14289 (speedbar-files-item-info, speedbar-line-text)
14290 (speedbar-find-file-in-frame, speedbar-set-timer)
14291 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14292 (speedbar-with-writable): Do not (re)define it.
14293 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14294 rather than speedbar- alias.
14295
14296 2013-05-21 Leo Liu <sdl.web@gmail.com>
14297
14298 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14299 menu items.
14300 (octave-mode): Tweak fill-nobreak-predicate.
14301 (inferior-octave-startup): Check process to avoid infinite loop.
14302 (inferior-octave): Pop to buffer first to show abornmal process
14303 exit information.
14304
14305 2013-05-21 Glenn Morris <rgm@gnu.org>
14306
14307 * printing.el (pr-menu-bar): Define when compiling.
14308
14309 2013-05-21 Leo Liu <sdl.web@gmail.com>
14310
14311 * progmodes/octave.el (octave-auto-fill): Remove.
14312 (octave-indent-new-comment-line): Improve.
14313 (octave-mode): Use auto fill mode through
14314 comment-line-break-function and fill-nobreak-predicate.
14315 (octave-goto-function-definition): Support DEFUN_DLD.
14316 (octave-beginning-of-defun): Small tweak.
14317 (octave-help): Show parent directory.
14318
14319 2013-05-21 Glenn Morris <rgm@gnu.org>
14320
14321 * files.el (dired-unmark):
14322 * progmodes/gud.el (gdb-input): Update declarations.
14323
14324 * calculator.el (electric, ehelp): No need to load when compiling.
14325 (Electric-command-loop, electric-describe-mode): Declare.
14326
14327 * doc-view.el (doc-view-current-converter-processes): Move before use.
14328
14329 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14330 Move MODE-set-explicitly definition before use.
14331
14332 * international/mule-diag.el (mule-diag):
14333 Don't use obsolete window-system-version.
14334
14335 * mail/feedmail.el (smtpmail): No need to load when compiling.
14336 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14337
14338 * mail/mail-utils.el (rfc822): No need to load when compiling.
14339 (rfc822-addresses): Autoload it.
14340 (mail-strip-quoted-names): Trivial simplification.
14341
14342 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14343 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14344
14345 * net/snmp-mode.el (tempo): Don't duplicate requires.
14346
14347 * progmodes/prolog.el (info): No need to load when compiling.
14348 (comint): Require before shell requires it.
14349 (Info-goto-node): Autoload it.
14350 (Info-follow-nearest-node): Declare.
14351 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14352
14353 * textmodes/artist.el (picture-mode-exit): Declare.
14354
14355 * textmodes/reftex-parse.el (reftex-parse-from-file):
14356 Trivial rewrite so the compiler can parse it better.
14357
14358 2013-05-20 Leo Liu <sdl.web@gmail.com>
14359
14360 * progmodes/octave.el (octave-help-mode-map)
14361 (octave-help-mode-finish-hook): New variables.
14362 (octave-help-mode, octave-help-mode-finish): New functions.
14363 (octave-help): Use octave-help-mode.
14364
14365 2013-05-20 Glenn Morris <rgm@gnu.org>
14366
14367 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14368
14369 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14370
14371 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14372 start at point, so that expansion starting right after opening
14373 slash in a regexp is recognized.
14374 (ruby-syntax-before-regexp-re): New defvar, extracted from
14375 ruby-syntax-propertize-function. Since the value of this regexp
14376 is looked up at runtime now, we should be able to turn
14377 `ruby-syntax-methods-before-regexp' into a defcustom later.
14378 (ruby-syntax-propertize-function): Split regexp matching into two
14379 parts, for opening and closing slashes. That allows us to skip
14380 over string interpolations and support multiline regexps.
14381 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14382 for them, which calls `ruby-syntax-propertize-expansion'.
14383 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14384 call to `ruby-syntax-propertize-function'.
14385 (ruby-syntax-propertize-expansion): Extracted from
14386 `ruby-syntax-propertize-expansions'. Handles one expansion.
14387 (ruby-syntax-propertize-percent-literal): Leave point right after
14388 the percent symbol, so that the expression expansion rule can
14389 propertize the contents.
14390 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14391 heredoc openers.
14392 (ruby-syntax-propertize-expansions): Remove.
14393
14394 2013-05-18 Juri Linkov <juri@jurta.org>
14395
14396 * man.el (Man-default-man-entry): Remove `-' from the end
14397 of the default value. (Bug#14400)
14398
14399 2013-05-18 Glenn Morris <rgm@gnu.org>
14400
14401 * comint.el (comint-password-prompt-regexp):
14402 Allow "password for XXX" where XXX contains colons (eg https://...).
14403
14404 2013-05-18 Leo Liu <sdl.web@gmail.com>
14405
14406 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14407 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14408 (octave-source-directories): Don't check process.
14409 (octave-source-directories, octave-find-definition): Doc fix.
14410
14411 2013-05-18 Glenn Morris <rgm@gnu.org>
14412
14413 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14414 Remove backspace/delete bindings. (Bug#14392)
14415
14416 * cus-dep.el (custom-make-dependencies): Sort the output.
14417 (custom-versions-load-alist): Convert comment to doc.
14418
14419 2013-05-17 Leo Liu <sdl.web@gmail.com>
14420
14421 * newcomment.el (comment-search-backward): Stricter in finding
14422 comment start. (Bug#14303)
14423
14424 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14425 (octave-comment-start-skip): Properly anchored.
14426
14427 2013-05-17 Leo Liu <sdl.web@gmail.com>
14428
14429 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14430 Clean up when turned off. (Bug#14395)
14431 (smie--highlight-matching-block-overlay): No longer buffer-local.
14432 (smie-highlight-matching-block): Adjust.
14433
14434 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14435
14436 Doc string fix for "nanoseconds" (Bug#14406).
14437 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14438 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14439
14440 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14441
14442 * calc/calc-units.el (math-extract-units): Preserve powers
14443 of units.
14444
14445 2013-05-17 Leo Liu <sdl.web@gmail.com>
14446
14447 * subr.el (delete-consecutive-dups): New function.
14448 * ido.el (ido-set-matches-1): Use it.
14449 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14450 * ido.el (ido-remove-consecutive-dups): Remove.
14451
14452 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14453
14454 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14455 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14456 regexp-opt's `words'.
14457
14458 2013-05-16 Leo Liu <sdl.web@gmail.com>
14459
14460 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14461 (smie--highlight-matching-block-overlay)
14462 (smie--highlight-matching-block-lastpos)
14463 (smie--highlight-matching-block-timer): New variables.
14464 (smie-highlight-matching-block): New function.
14465 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14466 (smie-setup): Conditionally enable smie-blink-matching-open.
14467
14468 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14469
14470 Sync with upstream verilog-mode r840.
14471 * progmodes/verilog-mode.el (verilog-mode-version)
14472 (verilog-mode-release-date): Update.
14473 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14474 (verilog-sig-tieoff): Fix string error on
14475 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14476 (verilog-read-decls): Fix parameters confusing
14477 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14478
14479 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14480
14481 * subr.el (reveal-filename): New function.
14482
14483 * loadup.el: Compute Emacs executable versions on MS-Windows,
14484 where executables have the .exe extension. Add a hard link
14485 emacs-XX.YY.ZZ.exe on MS-Windows.
14486
14487 * Makefile.in (XARGS_LIMIT): New variable.
14488 (custom-deps, finder-data, autoloads)
14489 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14490 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14491 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14492 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14493
14494 2013-05-16 Leo Liu <sdl.web@gmail.com>
14495
14496 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14497 (octave-mode-menu, octave-mode-map): Remove its uses.
14498
14499 2013-05-16 Reto Zimmermann <reto@gnu.org>
14500
14501 Sync with upstream vhdl mode v3.34.2.
14502 * progmodes/vhdl-mode.el: Use `push' throughout.
14503 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14504 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14505 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14506 (vhdl-actual-generic-name): New option to derive actual generic name.
14507 (vhdl-port-paste-signals): Replace formal by actual generics.
14508 (vhdl-beautify): New name for old group vhdl-align. Update users.
14509 (vhdl-beautify-options): New option.
14510 (vhdl-last-input-event): New compat alias. Use throughout.
14511 (vhdl-goto-line): Replace user level function `goto-line'.
14512 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14513 vhdl-fix-statement-buffer.
14514 (vhdl-create-mode-menu): Add some entries.
14515 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14516 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14517 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14518 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14519 to force statements on one line.
14520 (vhdl-remove-trailing-spaces-region):
14521 New, split from vhdl-remove-trailing-spaces.
14522 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14523 Respect vhdl-beautify-options.
14524 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14525 (vhdl-update-sensitivity-list): Not add with index if exists without.
14526 Not include array index with signal. Ignore keywords in comments.
14527 (vhdl-get-visible-signals): Regexp tweaks.
14528 (vhdl-template-component-inst): Handle empty library.
14529 (vhdl-template-type): Add template for 'enum' type.
14530 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14531 Use vhdl-replace-string.
14532 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14533 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14534 (vhdl-speedbar-initialize): Update for above name change.
14535 (vhdl-compose-wire-components): Fix in handling of constants.
14536 (vhdl-error-regexp-emacs-alist): New variable.
14537 (vhdl-error-regexp-add-emacs): New function;
14538 adds support for new compile.el (Emacs 22+)
14539 (vhdl-generate-makefile-1): Change target order for single lib. units.
14540 Allow use of absolute file names.
14541
14542 2013-05-16 Leo Liu <sdl.web@gmail.com>
14543
14544 * simple.el (prog-indent-sexp): Indent enclosing defun.
14545
14546 2013-05-15 Glenn Morris <rgm@gnu.org>
14547
14548 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14549 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14550 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14551 (whitespace-highlight): Move to whitespace group.
14552
14553 * comint.el (comint-source):
14554 * pcmpl-linux.el (pcmpl-linux):
14555 * shell.el (shell-faces):
14556 * eshell/esh-opt.el (eshell-opt):
14557 * international/ccl.el (ccl): Remove empty custom groups.
14558
14559 * completion.el (dynamic-completion-mode):
14560 * jit-lock.el (jit-lock-debug-mode):
14561 * minibuffer.el (completion-in-region-mode):
14562 * type-break.el (type-break-mode-line-message-mode)
14563 (type-break-query-mode):
14564 * emulation/tpu-edt.el (tpu-edt-mode):
14565 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14566 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14567 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14568
14569 * term/xterm.el (xterm): Change parent group to terminals.
14570
14571 * master.el (master): Remove empty custom group.
14572 (master-mode): Remove unused :group argument.
14573 * textmodes/refill.el (refill): Remove empty custom group.
14574 (refill-mode): Remove unused :group argument.
14575
14576 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14577
14578 * cus-dep.el: Provide a feature.
14579 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14580 Don't mistakenly ignore files whose basenames match a basename
14581 from preloaded-file-list (eg cedet/ede/simple.el).
14582 Add a fallback method for getting :group.
14583
14584 2013-05-15 Juri Linkov <juri@jurta.org>
14585
14586 * isearch.el (isearch-char-by-name): Rename from
14587 `isearch-insert-char-by-name'. Doc fix.
14588 (isearch-forward): Mention `isearch-char-by-name' in
14589 the docstring. (Bug#13348)
14590
14591 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14592 `exit-minibuffer' instead of
14593 `isearch-nonincremental-exit-minibuffer'.
14594 (isearch-edit-string): Remove mention of
14595 `isearch-nonincremental-exit-minibuffer' from docstring.
14596 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14597 (isearch-forward-exit-minibuffer)
14598 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14599
14600 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14601
14602 * loadup.el: Just use unversioned DOC.
14603
14604 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14605 literals as extending to EOB.
14606 (nxml-last-fontify-end): Remove unused variable.
14607 (nxml-after-change1): Use with-silent-modifications.
14608 (nxml-extend-after-change-region): Simplify.
14609 (nxml-extend-after-change-region1): Remove function.
14610 (nxml-after-change1): Don't adjust for dependent regions.
14611 (nxml-fontify-matcher): Simplify.
14612 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14613 (xmltok-add-dependent): Remove function.
14614 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14615 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14616 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14617 unclosed <[[, <?, comment, and other literals as extending to EOB.
14618 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14619 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14620 Remove functions.
14621 (rng-do-some-validation-1): Don't mark dependent regions.
14622 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14623 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14624 (nxml-clear-dependent-regions): Remove functions.
14625 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14626 (nxml-ensure-scan-up-to-date):
14627 Don't clear&mark dependent regions.
14628
14629 2013-05-15 Leo Liu <sdl.web@gmail.com>
14630
14631 * progmodes/octave.el (octave-goto-function-definition):
14632 Improve and fix callers.
14633
14634 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14637 the setter (bug#14387).
14638
14639 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14640 surrounding group (bug#14402).
14641
14642 2013-05-14 Juri Linkov <juri@jurta.org>
14643
14644 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14645 (Bug#14390)
14646
14647 2013-05-14 Glenn Morris <rgm@gnu.org>
14648
14649 * progmodes/f90.el (f90-imenu-generic-expression):
14650 Fix typo in 2013-05-08 change. (Bug#14402)
14651
14652 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14653
14654 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14655 Remove signals for which replies are never received.
14656
14657 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14658
14659 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14660 (gdb-handler-alist, gdb-handler-number): Remove variables.
14661 (gdb-handler-list): New variable.
14662 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14663 (gdb-pending-handler-p, gdb-handle-reply)
14664 (gdb-remove-all-pending-triggers): New functions.
14665 (gdb-discard-unordered-replies): New defcustom.
14666 (gdb-handler): New defstruct.
14667 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14668 instead of gdb-pending-triggers. Update docstring.
14669 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14670 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14671 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14672 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14673 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14674 (gdb-frame-handler): Pending triggers are now automatically managed.
14675 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14676 Remove argument.
14677 (gdb-input): Automatically handles pending triggers. Update docstring.
14678 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14679 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14680 Update comments.
14681 (gdb-done-or-error): Now use gdb-handle-reply.
14682
14683 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14684
14685 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14686 gdb-debug-log.
14687
14688 2013-05-14 Glenn Morris <rgm@gnu.org>
14689
14690 * subr.el (user-emacs-directory-warning): New option.
14691 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14692
14693 2013-05-14 Leo Liu <sdl.web@gmail.com>
14694
14695 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14696 during redisplay.
14697 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14698 (octave-font-lock-texinfo-comment): Fix invalid search bound
14699 error: wrong side of point.
14700
14701 2013-05-14 Glenn Morris <rgm@gnu.org>
14702
14703 * progmodes/flymake.el (flymake-xml-program): New option.
14704 (flymake-xml-init): Use it.
14705
14706 * term/xterm.el: Provide a feature.
14707
14708 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14709
14710 2013-05-13 Glenn Morris <rgm@gnu.org>
14711
14712 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14713 Add compat aliases as a hack workaround. (Bug#14384)
14714
14715 2013-05-13 Leo Liu <sdl.web@gmail.com>
14716
14717 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14718 ###, and %!.
14719 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14720 C-M-q.
14721 (octave-comment-start-skip): Include %!.
14722 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14723
14724 2013-05-12 Leo Liu <sdl.web@gmail.com>
14725
14726 * progmodes/octave.el (inferior-octave-startup): Store the value
14727 of __octave_srcdir__ for octave-source-directories.
14728 (inferior-octave-check-process): New function refactored out of
14729 inferior-octave-send-list-and-digest.
14730 (octave-source-directories)
14731 (octave-find-definition-filename-function): New variables.
14732 (octave-source-directories)
14733 (octave-find-definition-default-filename): New functions.
14734 (octave-find-definition): Improve to find functions implemented in C++.
14735
14736 2013-05-12 Glenn Morris <rgm@gnu.org>
14737
14738 * calendar/diary-lib.el (diary-outlook-format-1):
14739 Don't include dayname in the output. (Bug#14349)
14740
14741 2013-05-11 Glenn Morris <rgm@gnu.org>
14742
14743 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14744
14745 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14746 Treat cc-provide like provide.
14747
14748 2013-05-11 Kevin Ryde <user42@zip.com.au>
14749
14750 * cus-dep.el (custom-make-dependencies):
14751 Use generated-autoload-load-name for the sake of files such
14752 such cedet/semantic/bovine/c.el, where the base file name
14753 is not in load-path. (Bug#5277)
14754
14755 2013-05-11 Glenn Morris <rgm@gnu.org>
14756
14757 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14758 Provide features.
14759
14760 2013-05-11 Leo Liu <sdl.web@gmail.com>
14761
14762 * progmodes/octave.el (octave-indent-comment): Improve.
14763 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14764 (octave-eldoc-function-signatures, octave-eldoc-function):
14765 New functions.
14766 (octave-mode, inferior-octave-mode): Add eldoc support.
14767
14768 2013-05-11 Richard Stallman <rms@gnu.org>
14769
14770 * epa.el (epa-decrypt-file): Take output file name as argument
14771 and read it using `interactive'.
14772
14773 2013-05-11 Leo Liu <sdl.web@gmail.com>
14774
14775 * progmodes/octave.el (octave-beginning-of-line)
14776 (octave-end-of-line): Check before using up-list because it jumps
14777 out of more syntactic contructs since moving to smie.
14778 (octave-indent-comment): New function.
14779 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14780 (octave-begin-keywords, octave-end-keywords)
14781 (octave-reserved-words, octave-smie-bnf-table)
14782 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14783
14784 2013-05-11 Glenn Morris <rgm@gnu.org>
14785
14786 * faces.el (internal-face-x-get-resource):
14787 * frame.el (ns-display-monitor-attributes-list):
14788 * calc/calc-aent.el (math-to-radians-2):
14789 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14790 Fix declarations.
14791
14792 * calc/calc-menu.el: Make it loadable in isolation.
14793
14794 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14795 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14796 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14797 (eudc-bbdb-query-internal): Require 'bbdb.
14798
14799 * lpr.el (lpr-headers-switches):
14800 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14801
14802 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14803
14804 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14805
14806 * term.el (term-set-escape-char): Make it idempotent.
14807
14808 2013-05-10 Leo Liu <sdl.web@gmail.com>
14809
14810 * progmodes/octave.el (inferior-octave-completion-table):
14811 No longer a function and all uses changed. Use cache to speed up
14812 completion due to bug#11906.
14813 (octave-beginning-of-defun): Re-write to be more general.
14814
14815 2013-05-10 Glenn Morris <rgm@gnu.org>
14816
14817 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14818
14819 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14820
14821 * comint.el (comint-redirect-send-command-to-process): Use :around
14822 rather than :override for comint-redirect-filter.
14823 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14824 Call it instead of comint-redirect-original-filter-function (which
14825 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14826
14827 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14828
14829 * frame.el (display-monitor-attributes-list): Add NS case.
14830 (ns-display-monitor-attributes-list): Declare.
14831
14832 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14833
14834 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14835
14836 2013-05-09 Glenn Morris <rgm@gnu.org>
14837
14838 * international/fontset.el (vertical-centering-font-regexp):
14839 Set standard-value.
14840
14841 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14842
14843 * bookmark.el (bookmark-search-delay):
14844 * cus-start.el (vertical-centering-font-regexp):
14845 * ps-mule.el (ps-mule-font-info-database-default):
14846 * ps-print.el (ps-default-fg, ps-default-bg):
14847 * type-break.el (type-break-good-break-interval):
14848 * whitespace.el (whitespace-indentation-regexp)
14849 (whitespace-space-after-tab-regexp):
14850 * emacs-lisp/testcover.el (testcover-1value-functions)
14851 (testcover-noreturn-functions, testcover-progn-functions)
14852 (testcover-prog1-functions):
14853 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14854 * eshell/em-glob.el (eshell-glob-translate-alist):
14855 * play/tetris.el (tetris-tty-colors):
14856 * progmodes/cpp.el (cpp-face-default-list):
14857 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14858 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14859 (idlwave-help-browser-generic-args):
14860 * progmodes/make-mode.el (makefile-special-targets-list):
14861 * progmodes/python.el (python-shell-virtualenv-path):
14862 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14863 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14864 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14865 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14866 * textmodes/reftex-vars.el (reftex-format-label-function):
14867 * textmodes/remember.el (remember-diary-file): Fix custom types.
14868
14869 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14870 Add :version.
14871
14872 2013-05-09 Leo Liu <sdl.web@gmail.com>
14873
14874 * progmodes/octave.el (inferior-octave-completion-at-point):
14875 Restore file completion. (Bug#14300)
14876 (inferior-octave-startup): Fix incorrect highlighting for the
14877 first prompt.
14878
14879 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14880
14881 * progmodes/ruby-mode.el: First cut at SMIE support.
14882 (ruby-use-smie): New var.
14883 (ruby-smie-grammar): New constant.
14884 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14885 (ruby-smie--forward-token, ruby-smie--backward-token)
14886 (ruby-smie-rules): New functions.
14887 (ruby-mode-variables): Setup SMIE if applicable.
14888
14889 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14890
14891 * simple.el (line-move-visual): Signal beginning/end of buffer
14892 only if vertical-motion moved less than it was requested. Avoids
14893 silly incorrect error messages when there are display strings with
14894 multiple newlines at EOL.
14895
14896 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14899 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14900 (prolog-char-quote-workaround):
14901 * progmodes/cperl-mode.el (cperl-under-as-char):
14902 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14903 Mark as obsolete.
14904 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14905 their declaration.
14906 (vhdl-mode-syntax-table-init): Remove.
14907
14908 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14909 last change.
14910
14911 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14912 syntax for "_".
14913 (ld-script-font-lock-keywords):
14914 Change regexps to use things like \_< and \_>.
14915
14916 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14917 Change all regexps to use things like \_< and \_>.
14918
14919 * progmodes/autoconf.el (autoconf-definition-regexp)
14920 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14921 Handle a _ with symbol syntax.
14922 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14923
14924 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14925 Consolidate declaration.
14926 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14927 the declaration.
14928 (ada-create-syntax-table): Remove.
14929 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14930 already has the right syntax nowadays.
14931 (ada-goto-next-word): Don't change the syntax of "_".
14932
14933 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14934 with-wrapper-hook.
14935
14936 2013-05-08 Sam Steingold <sds@gnu.org>
14937
14938 * thingatpt.el (thing-at-point): Accept optional second argument
14939 NO-PROPERTIES to strip the text properties from the return value.
14940 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14941 to `thing-at-point' instead of stripping the properties ourselves.
14942 Also, when `thing-at-point' fails to find a url, prepend "http://"
14943 to the filename at point on the assumption that the user is
14944 pointing at something like gnu.org/gnu.
14945
14946 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14947
14948 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14949 * faces.el (crm-separator):
14950 Silence byte-compiler.
14951
14952 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14953 (tool-bar-map): Remove unneeded defvars.
14954
14955 2013-05-08 Leo Liu <sdl.web@gmail.com>
14956
14957 Re-work a fix for bug#10994 based on Le Wang's patch.
14958 * ido.el (ido-remove-consecutive-dups): New helper.
14959 (ido-completing-read): Use it.
14960 (ido-chop): Revert fix for bug#10994.
14961
14962 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14963
14964 * cus-edit.el (custom-save-variables):
14965 Pretty-print long values. (Bug#14187)
14966
14967 2013-05-08 Glenn Morris <rgm@gnu.org>
14968
14969 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14970 (m4-mode-syntax-table): Init in the defvar.
14971 (m4-mode-abbrev-table): Let define-derived-mode define it.
14972
14973 2013-05-08 Tom Tromey <tromey@redhat.com>
14974
14975 * progmodes/m4-mode.el (m4-mode-syntax-table):
14976 Do not treat "_" as word constituent. (Bug#14167)
14977
14978 2013-05-07 Glenn Morris <rgm@gnu.org>
14979
14980 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14981 Remove explicit eshell-isearch-cancel-map.
14982
14983 * progmodes/f90.el (f90-smart-end-names): New option.
14984 (f90-smart-end): Doc fix.
14985 (f90-end-block-optional-name): New constant.
14986 (f90-block-match): Respect f90-smart-end-names.
14987
14988 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14989
14990 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14991 about implicit semi-colons (bug#14218).
14992
14993 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14994
14995 * frame.el (display-monitor-attributes-list)
14996 (frame-monitor-attributes): New functions.
14997
14998 2013-05-06 Leo Liu <sdl.web@gmail.com>
14999
15000 * progmodes/octave.el (octave-syntax-propertize-function): Change
15001 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15002 (octave-font-lock-keywords): Use octave-operator-regexp.
15003 (octave-completion-at-point): Rename from
15004 octave-completion-at-point-function.
15005 (inferior-octave-directory-tracker): Robustify.
15006 (octave-text-functions): Remove and fix its uses. No such things
15007 any more.
15008
15009 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15010
15011 * emacs-lisp/trace.el (trace--display-buffer): New function.
15012 (trace-make-advice): Use it.
15013
15014 2013-05-06 Juri Linkov <juri@jurta.org>
15015
15016 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15017 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15018 Doc fix.
15019 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15020 in the help string. (Bug#12985)
15021
15022 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15023
15024 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15025
15026 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15027
15028 * progmodes/perl-mode.el: Add support for here documents.
15029 (perl-syntax-propertize-function): Match here-doc markers.
15030 (perl-syntax-propertize-special-constructs): Find their end.
15031 (perl-imenu-generic-expression): Use [:alnum:].
15032
15033 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15034 (advice--add-function): Refresh the advice if already present
15035 (bug#14317).
15036
15037 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15038
15039 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15040
15041 2013-05-06 Glenn Morris <rgm@gnu.org>
15042
15043 * w32-fns.el (w32-charset-info-alist): Declare.
15044
15045 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15046 of its defcustom properties.
15047 (eshell-cmpl-initialize): No need to load pcomplete.
15048
15049 * generic-x.el: No need to require comint when compiling.
15050
15051 * net/eudc-export.el: Make it loadable without bbdb.
15052 (top-level): Use require rather than load-library.
15053 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15054 (eudc-batch-export-records-to-bbdb)
15055 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15056 Require bbdb.
15057
15058 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15061 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15062 some tweaks, instead.
15063
15064 2013-05-05 Leo Liu <sdl.web@gmail.com>
15065
15066 * progmodes/octave.el (octave-font-lock-keywords)
15067 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15068 (inferior-octave-send-list-and-digest): Improve error message.
15069 (octave-mode, inferior-octave-mode): Use setq-local.
15070 (octave-help): Set info-lookup-mode.
15071
15072 2013-05-05 Richard Stallman <rms@gnu.org>
15073
15074 * vc/compare-w.el (compare-windows-whitespace):
15075 Treat no-break space as whitespace.
15076
15077 * mail/rmailsum.el (rmail-summary-rmail-update):
15078 Detect empty summary and don't change selected message.
15079 (rmail-summary-goto-msg): Likewise.
15080
15081 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15082 Doc fixes, rename args.
15083
15084 2013-05-05 Alan Mackenzie <acm@muc.de>
15085
15086 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15087
15088 2013-05-05 Juri Linkov <juri@jurta.org>
15089
15090 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15091 to not add the length of the summary segment to the return value.
15092 (Bug#14125)
15093
15094 2013-05-05 Leo Liu <sdl.web@gmail.com>
15095
15096 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15097 (inferior-octave-output-filter): Remove.
15098 (octave-send-region, inferior-octave-startup): Fix callers.
15099 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15100 (octave-binary-file-extensions): New user variable.
15101 (octave-find-definition): Confirm if opening binary files.
15102 (octave-help-file): Use octave-find-definition to get the binary
15103 confirmation.
15104 (octave-help): Adjust for octave-help-file change.
15105
15106 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15107
15108 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15109 Merge the two entries that handle function definitions.
15110 (pascal--syntax-propertize): New const.
15111 (pascal-mode): Use it. Use setq-local.
15112
15113 2013-05-04 Glenn Morris <rgm@gnu.org>
15114
15115 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15116 (diary-from-outlook): Respect diary-from-outlook-function.
15117
15118 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15119
15120 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15121 Move the declaration from C.
15122 (read-minibuffer, eval-minibuffer): Move from C.
15123 (completion-setup-function): Avoid minibuffer-completion-contents.
15124
15125 2013-05-03 Leo Liu <sdl.web@gmail.com>
15126
15127 * progmodes/octave.el (octave-font-lock-keywords): Do not
15128 dehighlight 'end' in comments or strings.
15129 (octave-completing-read, octave-goto-function-definition):
15130 New helpers.
15131 (octave-help-buffer): New user variable.
15132 (octave-help-file, octave-help-function): New button types.
15133 (octave-help): New command and bind it to C-h ;.
15134 (octave-find-definition): New command and bind it to M-.
15135 (user-error): Alias to error if not defined.
15136
15137 2013-05-02 Leo Liu <sdl.web@gmail.com>
15138
15139 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15140 for \. (bug#14332)
15141 (octave-font-lock-keywords): Include [ and {.
15142
15143 2013-05-02 Leo Liu <sdl.web@gmail.com>
15144
15145 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15146 (inferior-octave): Remove calling comint-mode and return the buffer.
15147 (inferior-octave-startup): Cosmetic changes.
15148
15149 2013-05-02 Leo Liu <sdl.web@gmail.com>
15150
15151 * progmodes/octave.el (octave-syntax-propertize-function):
15152 Include the case when ' is at line beginning. (Bug#14336)
15153
15154 2013-05-02 Glenn Morris <rgm@gnu.org>
15155
15156 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15157 * desktop.el (vc-dir-mode): Just autoload it here.
15158
15159 2013-05-02 Alan Mackenzie <acm@muc.de>
15160
15161 Eliminate variable c-standard-font-lock-fontify-region-function.
15162 * progmodes/cc-mode.el
15163 (c-standard-font-lock-fontify-region-function): Remove.
15164 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15165
15166 2013-05-01 Leo Liu <sdl.web@gmail.com>
15167
15168 * progmodes/octave.el: Compatible with older emacs-24 releases.
15169 (inferior-octave-has-built-in-variables): Remove. Built-in
15170 variables were removed from Octave in 2007.
15171 (inferior-octave-startup): Fix uses.
15172 (comint-line-beginning-position): Remove compatibility code for
15173 emacs 21.
15174
15175 2013-05-01 Juri Linkov <juri@jurta.org>
15176
15177 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15178
15179 2013-05-01 Juri Linkov <juri@jurta.org>
15180
15181 * comint.el (comint-previous-matching-input): Don't print message
15182 "History item: %d" when `isearch-mode' is active.
15183 (comint-history-isearch-message): Print message "History item: %d"
15184 when `comint-input-ring-index' is not empty and this function is
15185 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15186
15187 2013-05-01 Leo Liu <sdl.web@gmail.com>
15188
15189 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15190 definitions. Use completion-at-point to insert keywords.
15191 (octave-abbrev-start): Remove.
15192 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15193
15194 2013-04-30 Leo Liu <sdl.web@gmail.com>
15195
15196 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15197 change.
15198
15199 2013-04-30 Alan Mackenzie <acm@muc.de>
15200
15201 Handle arbitrarily long C++ member initialisation lists.
15202 * progmodes/cc-engine.el (c-back-over-member-initializers):
15203 new function.
15204 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15205 (most) member init lists.
15206
15207 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15208
15209 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15210 variable.
15211
15212 2013-04-30 Leo Liu <sdl.web@gmail.com>
15213
15214 * progmodes/octave.el (octave-variables): Remove. No builtin
15215 variables any more. All converted to functions.
15216 (octave-font-lock-keywords, octave-completion-at-point-function):
15217 Fix uses.
15218 (octave-font-lock-texinfo-comment): New user variable.
15219 (octave-texinfo-font-lock-keywords): New variable for texinfo
15220 comment block.
15221 (octave-function-comment-block): New face.
15222 (octave-font-lock-texinfo-comment): New function.
15223 (octave-mode): Font lock texinfo comment block.
15224
15225 2013-04-29 Leo Liu <sdl.web@gmail.com>
15226
15227 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15228 indexing expression.
15229 (octave-continuation-string): Do not use \.
15230 (inferior-octave-complete-impossible): Remove.
15231 (inferior-octave-completion-table)
15232 (inferior-octave-completion-at-point): Remove its uses.
15233 (inferior-octave-startup): completion_matches was introduced to
15234 Octave in 1996 so safe to assume it.
15235 (octave-function-file-comment): Improve to follow how Octave does it.
15236 (octave-update-function-file-comment): Tweak.
15237
15238 2013-04-29 Leo Liu <sdl.web@gmail.com>
15239
15240 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15241 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15242 (octave-function-file-comment): Fix typo.
15243 (octave-sync-function-file-names): Use read-char-choice.
15244
15245 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15246
15247 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15248 to t for the less important warnings.
15249
15250 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15251
15252 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15253
15254 2013-04-27 Glenn Morris <rgm@gnu.org>
15255
15256 * vc/log-view.el (log-view-current-entry):
15257 Treat "---" separator lines as part of the following rev. (Bug#14169)
15258
15259 2013-04-27 Juri Linkov <juri@jurta.org>
15260
15261 * subr.el (read-number): Doc fix about using it by interactive
15262 code letter `n'. (Bug#14254)
15263
15264 2013-04-27 Juri Linkov <juri@jurta.org>
15265
15266 * desktop.el (desktop-auto-save-timeout): New option.
15267 (desktop-file-checksum): New variable.
15268 (desktop-save): Add optional arg `auto-save' and don't auto-save
15269 if nothing changed.
15270 (desktop-auto-save-timer): New variable.
15271 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15272 (after-init-hook): Call `desktop-auto-save-set-timer'.
15273 Suggested by Reuben Thomas <rrt@sc3d.org> in
15274 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15275
15276 2013-04-27 Leo Liu <sdl.web@gmail.com>
15277
15278 * progmodes/octave.el (octave-function-file-p)
15279 (octave-skip-comment-forward, octave-function-file-comment)
15280 (octave-update-function-file-comment): New functions.
15281 (octave-mode-map): Bind C-c ; to
15282 octave-update-function-file-comment.
15283 (octave-mode-menu): Add octave-update-function-file-comment.
15284 (octave-mode, inferior-octave-mode): Fix doc-string.
15285 (octave-insert-defun): Conform to Octave's coding convention.
15286 (Bug#14285)
15287
15288 * files.el (basic-save-buffer): Don't let errors in
15289 before-save-hook prevent saving buffer.
15290
15291 2013-04-20 Roland Winkler <winkler@gnu.org>
15292
15293 * faces.el (read-face-name): Use completing-read if arg multiple
15294 is nil.
15295
15296 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15297
15298 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15299 displayed, move point to after the totals line.
15300 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15301 for the details.
15302
15303 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15304
15305 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15306 Add current dir to the load-path.
15307 (package-generate-autoloads): Don't rely on
15308 autoload-ensure-default-file.
15309
15310 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15311
15312 * textmodes/remember.el (remember-store-in-files): Document that
15313 the file name format is passed to `format-time-string'.
15314
15315 2013-04-26 Leo Liu <sdl.web@gmail.com>
15316
15317 * progmodes/octave.el (octave-sync-function-file-names): New function.
15318 (octave-mode): Use it in before-save-hook.
15319
15320 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15323 (bug#14274).
15324
15325 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15326 \n and comment, even if it's not an implicit ; (bug#14218).
15327
15328 2013-04-26 Glenn Morris <rgm@gnu.org>
15329
15330 * subr.el (read-number): Once more use `read' rather than
15331 `string-to-number', to trap non-numeric input. (Bug#14254)
15332
15333 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15334
15335 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15336 Use `syntax-multiline' text property consistently instead of
15337 `font-lock-multiline'. (Bug#14237)
15338
15339 2013-04-26 Glenn Morris <rgm@gnu.org>
15340
15341 * emacs-lisp/shadow.el (list-load-path-shadows):
15342 No longer necessary to check for duplicate simple.el, since
15343 2012-07-07 change to init_lread to not include installation lisp
15344 directories in load-path when running uninstalled. (Bug#14270)
15345
15346 2013-04-26 Leo Liu <sdl.web@gmail.com>
15347
15348 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15349 (octave-mode, inferior-octave-mode): Use setq-local.
15350 (octave-not-in-string-or-comment-p): Rename to
15351 octave-in-string-or-comment-p.
15352 (octave-in-comment-p, octave-in-string-p)
15353 (octave-in-string-or-comment-p): Replace defsubst with defun.
15354
15355 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15356
15357 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15358
15359 2013-04-25 Bastien Guerry <bzg@gnu.org>
15360
15361 * textmodes/remember.el (remember-data-directory)
15362 (remember-directory-file-name-format): Fix custom types.
15363
15364 2013-04-25 Leo Liu <sdl.web@gmail.com>
15365
15366 * progmodes/octave.el (octave-completion-at-point-function):
15367 Make use of inferior octave process.
15368 (octave-initialize-completions): Remove.
15369 (inferior-octave-completion-table): New function.
15370 (inferior-octave-completion-at-point): Use it.
15371 (octave-completion-alist): Remove.
15372
15373 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15374
15375 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15376 (opascal-mode-syntax-table): New var.
15377 (opascal-literal-kind, opascal-is-literal-end)
15378 (opascal-literal-token-at): Rewrite.
15379 (opascal--literal-start-re, opascal-font-lock-keywords)
15380 (opascal--syntax-propertize): New constants.
15381 (opascal-font-lock-defaults): Adjust.
15382 (opascal-mode): Use them. Set comment-<foo> variables as well.
15383 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15384 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15385 (delphi-other-face, opascal-other-face): Remove face variables.
15386 (opascal-save-state): Remove macro.
15387 (opascal-fontifying-progress-step): Remove constant.
15388 (opascal--ignore-changes): Remove var.
15389 (opascal-set-token-property, opascal-parse-next-literal)
15390 (opascal-is-stable-literal, opascal-complete-literal)
15391 (opascal-is-literal-start, opascal-face-of)
15392 (opascal-parse-region, opascal-parse-region-until-stable)
15393 (opascal-fontify-region, opascal-after-change)
15394 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15395 (opascal-debug-parse-region, opascal-debug-parse-window)
15396 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15397 (opascal-debug-fontify-buffer): Remove.
15398 (opascal-debug-mode-map): Adjust accordingly.
15399
15400 2013-04-25 Leo Liu <sdl.web@gmail.com>
15401
15402 Merge octave-mod.el and octave-inf.el into octave.el with some
15403 cleanups.
15404 * progmodes/octave.el: New file renamed from octave-mod.el.
15405 * progmodes/octave-inf.el: Merged into octave.el.
15406 * progmodes/octave-mod.el: Renamed to octave.el.
15407
15408 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15409
15410 * textmodes/reftex-vars.el
15411 (reftex-label-ignored-macros-and-environments): New defcustom.
15412
15413 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15414
15415 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15416
15417 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15418 (smie-indent-keyword): Improve the check to ensure that the next
15419 comment is really on the same line.
15420 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15421
15422 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15423 semi-colons if the line is not otherwise empty (bug#14218).
15424
15425 2013-04-25 Glenn Morris <rgm@gnu.org>
15426
15427 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15428
15429 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15430
15431 * progmodes/opascal.el (opascal-set-token-property): Rename from
15432 opascal-set-text-properties and only set `token' (bug#14134).
15433 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15434 (opascal-literal-text-properties): Remove.
15435 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15436 Adjust callers.
15437
15438 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15439
15440 * textmodes/remember.el (remember-handler-functions): Add an
15441 option for a new handler `remember-store-in-files'.
15442 (remember-data-directory, remember-directory-file-name-format):
15443 New options.
15444 (remember-store-in-files): New function to store remember notes
15445 as separate files within a directory.
15446
15447 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15448
15449 * progmodes/compile.el (compilation-next-error-function):
15450 Pass "formats" to compilation-find-file (bug#11777).
15451
15452 2013-04-24 Glenn Morris <rgm@gnu.org>
15453
15454 * vc/vc-bzr.el (vc-bzr-print-log):
15455 * vc/vc-hg.el (vc-hg-print-log):
15456 * vc/vc-svn.el (vc-svn-print-log):
15457 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15458
15459 * vc/vc-bzr.el (vc-bzr-print-log):
15460 * vc/vc-cvs.el (vc-cvs-print-log):
15461 * vc/vc-git.el (vc-git-print-log):
15462 * vc/vc-hg.el (vc-hg-print-log):
15463 * vc/vc-mtn.el (vc-mtn-print-log):
15464 * vc/vc-rcs.el (vc-rcs-print-log):
15465 * vc/vc-sccs.el (vc-sccs-print-log):
15466 * vc/vc-svn.el (vc-svn-print-log):
15467 * vc/vc.el (vc-print-log-internal): Doc fixes.
15468
15469 2013-04-23 Glenn Morris <rgm@gnu.org>
15470
15471 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15472 Remove venerable code attempting to avoid substitute-command-keys.
15473
15474 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15475
15476 * textmodes/reftex-vars.el (reftex-label-regexps):
15477 Call `reftex-compile-variables' after changes to this variable.
15478
15479 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15482 Use lexical-binding.
15483 (jit-lock-force-redisplay): Use markers, check buffer's continued
15484 existence and beware narrowed buffers.
15485 (jit-lock-fontify-now): Adjust call accordingly.
15486
15487 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15488
15489 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15490 to avoid misleading the user.
15491
15492 2013-04-22 Leo Liu <sdl.web@gmail.com>
15493
15494 * info-look.el: Prefer latex2e.info. (Bug#14240)
15495
15496 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15497
15498 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15499
15500 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15501 * net/tramp.el (tramp-call-process): ... here.
15502 (tramp-set-completion-function, tramp-parse-putty):
15503 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15504 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15505 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15506 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15507 (tramp-call-local-coding-command): Use `tramp-call-process'
15508 instead of `tramp-compat-call-process'.
15509
15510 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15511 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15512 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15513 (tramp-find-inline-compress): Improve traces.
15514 (tramp-maybe-send-script): Check for Perl binary.
15515 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15516
15517 2013-04-22 Daiki Ueno <ueno@gnu.org>
15518
15519 * epg.el (epg-context-pinentry-mode): New function.
15520 (epg-context-set-pinentry-mode): New function.
15521 (epg--start): Pass --pinentry-mode option to gpg command.
15522
15523 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15524
15525 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15526 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15527 `completion-at-point'. (Bug#13774)
15528
15529 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15530 default key binding for `describe-distribution' has been moved to
15531 `C-h C-o'. (Bug#13970)
15532
15533 2013-04-21 Glenn Morris <rgm@gnu.org>
15534
15535 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15536 Add doc strings.
15537 (vc-print-log): Clarify interactive prompt.
15538
15539 2013-04-20 Glenn Morris <rgm@gnu.org>
15540
15541 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15542 No longer include timestamp etc information.
15543
15544 2013-04-20 Roland Winkler <winkler@gnu.org>
15545
15546 * faces.el (read-face-name): Bug fix, return just one face if arg
15547 multiple is nil. (Bug#14209)
15548
15549 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15550
15551 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15552 (remove-function): Autoload.
15553
15554 * comint.el (comint-redirect-original-filter-function): Remove.
15555 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15556 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15557 (vc-cvs-annotate-command):
15558 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15559 * progmodes/prolog.el (prolog-consult-compile):
15560 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15561 Use add/remove-function instead.
15562 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15563 (gud-tooltip-process-output, gud-tooltip-tips):
15564 Use add/remove-function instead.
15565 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15566 (scheme-interaction-mode, exit-scheme-interaction-mode):
15567 Use add/remove-function instead.
15568
15569 * vc/vc-dispatcher.el: Use lexical-binding.
15570 (vc--process-sentinel): Rename from vc-process-sentinel.
15571 Change last arg to be the code to run. Don't use vc-previous-sentinel
15572 and vc-sentinel-commands any more.
15573 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15574 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15575
15576 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15577
15578 * progmodes/sh-script.el (sh-imenu-generic-expression):
15579 Handle function names with a single character. (Bug#14111)
15580
15581 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15582
15583 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15584 for subroutines defined in an eval (bug#14182).
15585
15586 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15587
15588 * bookmark.el (bookmark-completing-read): Improve handling of empty
15589 string (bug#14176).
15590
15591 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15592
15593 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15594
15595 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15596
15597 New faster Imenu implementation (bug#14058).
15598 * progmodes/python.el:
15599 (python-imenu-prev-index-position):
15600 (python-imenu-format-item-label-function)
15601 (python-imenu-format-parent-item-label-function)
15602 (python-imenu-format-parent-item-jump-label-function):
15603 New vars.
15604 (python-imenu-format-item-label)
15605 (python-imenu-format-parent-item-label)
15606 (python-imenu-format-parent-item-jump-label)
15607 (python-imenu--put-parent, python-imenu--build-tree)
15608 (python-imenu-create-index, python-imenu-create-flat-index)
15609 (python-util-popn): New functions.
15610 (python-mode): Set imenu-create-index-function to
15611 python-imenu-create-index.
15612
15613 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15614
15615 * winner.el (winner-active-region): Use region-active-p, activate-mark
15616 and deactivate-mark (bug#14225).
15617
15618 * simple.el (deactivate-mark): Don't inline it.
15619
15620 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15621
15622 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15623
15624 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15625
15626 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15627 file extensions from the archive-mode entry in order to prefer
15628 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15629
15630 2013-04-18 Leo Liu <sdl.web@gmail.com>
15631
15632 * bindings.el (help-event-list): Add ?\?.
15633
15634 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15635
15636 * subr.el (with-wrapper-hook): Declare obsolete.
15637 * simple.el (filter-buffer-substring-function): New hook.
15638 (filter-buffer-substring): Use it.
15639 (filter-buffer-substring-functions): Mark obsolete.
15640 * minibuffer.el (completion-in-region-function): New hook.
15641 (completion-in-region): Use it.
15642 (completion-in-region-functions): Mark obsolete.
15643 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15644 * abbrev.el (abbrev-expand-function): New hook.
15645 (expand-abbrev): Use it.
15646 (abbrev-expand-functions): Mark obsolete.
15647 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15648 and :filter-return.
15649
15650 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15651
15652 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15653 and do not care about match data.
15654
15655 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15656
15657 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15658 completion tables when completing error conditions and
15659 `declare' arguments.
15660 (lisp-complete-symbol, field-complete): Mark as obsolete.
15661 (check-parens): Unmatched parens are user errors.
15662 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15663
15664 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15665
15666 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15667 command changed buffer (ie. `flyspell-pre-buffer' is not current
15668 buffer), which prevents making decisions based on invalid value of
15669 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15670 cause an error when `flyspell-pre-point' was nil after switching
15671 buffers.
15672 (flyspell-post-command-hook): No longer needs to change buffers when
15673 checking pre-word. While at it remove unnecessary progn.
15674
15675 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15676
15677 * textmodes/ispell.el (ispell-add-per-file-word-list):
15678 Fix `flyspell-correct-word-before-point' error when accepting
15679 words and `coment-padding' is an integer by using
15680 `comment-normalize-vars' (Bug #14214).
15681
15682 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15683
15684 New defun movement commands.
15685 * progmodes/python.el (python-nav--syntactically)
15686 (python-nav--forward-defun, python-nav-backward-defun)
15687 (python-nav-forward-defun): New functions.
15688
15689 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15690
15691 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15692 (python-syntax-context): Use named compiler-macro for backwards
15693 compatibility with Emacs 24.x.
15694
15695 2013-04-17 Leo Liu <sdl.web@gmail.com>
15696
15697 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15698 octave-hide-process-buffer.
15699
15700 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15701
15702 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15703 (bug#14216).
15704
15705 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15706
15707 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15708 Fix adjustment of offset when receiving incomplete responses from GDB
15709 (bug#14129).
15710
15711 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15712
15713 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15714 python-mode-abbrev-table.
15715 (python-skeleton-define): Adjust accordingly.
15716 (python-mode-abbrev-table): New table that inherits from it so that
15717 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15718
15719 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15720 (abbrev-symbol): Use it.
15721 (abbrev--before-point): Use it since we already handle inheritance.
15722
15723 2013-04-16 Leo Liu <sdl.web@gmail.com>
15724
15725 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15726 binding to info-lookup-symbol.
15727
15728 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15729
15730 * minibuffer.el (completion--twq-all):
15731 * term/ns-win.el (ns-initialize-window-system):
15732 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15733
15734 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15737 global bindings.
15738
15739 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15740
15741 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15742
15743 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15744 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15745 to nil.
15746 (ruby-end-of-defun): Remove the unused arg, change the docstring
15747 to reflect that this function is only used as the value of
15748 `end-of-defun-function'.
15749 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15750 to reflect an earlier change that beginning/end-of-defun functions
15751 jump between methods in a class definition, as well as top-level
15752 functions.
15753
15754 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15755
15756 * minibuffer.el (minibuffer-complete): Don't just scroll
15757 a *Completions* that's been iconified.
15758 (minibuffer-force-complete): Make sure repetitions do cycle when going
15759 through completion-in-region -> minibuffer-complete.
15760
15761 2013-04-15 Alan Mackenzie <acm@muc.de>
15762
15763 Correct the placement of c-cpp-delimiters when there're #s not at
15764 col 0.
15765
15766 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15767 place a submatch around the #.
15768 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15769 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15770 on the #, not BOL.
15771
15772 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15773
15774 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15775 (advice--member-p): New arg `name'.
15776 (advice--add-function, advice-member-p): Use it (bug#14202).
15777
15778 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15779
15780 Reformulate java imenu-generic-expression.
15781 The old expression contained ill formed regexps.
15782
15783 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15784 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15785 (cc-imenu-java-method-arg-regexp): New defconsts.
15786 (cc-imenu-java-build-type-args-regex): New defun.
15787 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15788 handling of spaces in the regexp.
15789
15790 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15791
15792 * textmodes/ispell.el (ispell-command-loop): Remove
15793 flyspell highlight of a word when ispell accepts it (bug #14178).
15794
15795 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15796
15797 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15798 uses code from the previous `ange-ftp-run-real-handler'.
15799 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15800 only in case that function exist. This is needed for proper
15801 unloading of Tramp.
15802
15803 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15804
15805 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15806
15807 * textmodes/reftex.el (reftex-compile-variables): Use it.
15808
15809 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * files.el (normal-mode): Only use default major-mode if no other mode
15812 was specified.
15813
15814 * emacs-lisp/trace.el (trace-values): New function.
15815
15816 * files.el: Allow : in local variables (bug#14089).
15817 (hack-local-variable-regexp): New var.
15818 (hack-local-variables-prop-line, hack-local-variables): Use it.
15819
15820 2013-04-13 Roland Winkler <winkler@gnu.org>
15821
15822 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15823 data before it gets modified by bibtex-beginning-of-entry.
15824
15825 2013-04-13 Roland Winkler <winkler@gnu.org>
15826
15827 * textmodes/bibtex.el (bibtex-url): Doc fix.
15828
15829 2013-04-13 Roland Winkler <winkler@gnu.org>
15830
15831 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15832 does not visit a BibTeX file, exclude it from the list of buffers
15833 returned by bibtex-initialize.
15834
15835 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15836
15837 * window.el (split-window): Remove interactive form, since as a
15838 command this function is a special case of split-window-below.
15839 Correct doc string.
15840
15841 2013-04-12 Roland Winkler <winkler@gnu.org>
15842
15843 * faces.el (read-face-name): Do not override value of arg default.
15844 Allow single faces and strings as default values. Remove those
15845 elements from return value that are not faces.
15846 (describe-face): Simplify.
15847 (face-at-point): New optional args thing and multiple so that this
15848 function can provide the same functionality previously provided by
15849 read-face-name.
15850 (make-face-bold, make-face-unbold, make-face-italic)
15851 (make-face-unitalic, make-face-bold-italic, invert-face)
15852 (modify-face, read-face-and-attribute): Use face-at-point.
15853
15854 * cus-edit.el (customize-face, customize-face-other-window)
15855 * cus-theme.el (custom-theme-add-face)
15856 * face-remap.el (buffer-face-set)
15857 * facemenu.el (facemenu-set-face): Use face-at-point.
15858
15859 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15860
15861 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15862
15863 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15864
15865 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15866 off leading { and trailing } from field values.
15867
15868 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15869
15870 * emacs-lisp/timer.el (timer--check): New function.
15871 (timer--time, timer-set-function, timer-event-handler): Use it.
15872 (timer-set-idle-time): Simplify.
15873 (timer--activate): CSE.
15874 (timer-event-handler): Give more info in error message.
15875 (internal-timer-start-idle): New function, moved from C.
15876
15877 * mpc.el (mpc-proc): Add `restart' argument.
15878 (mpc-proc-cmd): Use it.
15879 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15880 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15881 less often.
15882
15883 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15884
15885 * progmodes/sh-script.el: Implement `sh-mode' own
15886 `add-log-current-defun-function' (bug#14112).
15887 (sh-current-defun-name): New function.
15888 (sh-mode): Use the function.
15889
15890 2013-04-09 Bastien Guerry <bzg@gnu.org>
15891
15892 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15893
15894 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15895
15896 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15897
15898 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15899 timer (bug#14156).
15900
15901 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15902
15903 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15904 declaration.
15905
15906 2013-04-07 Leo Liu <sdl.web@gmail.com>
15907
15908 * pcmpl-x.el: New file.
15909
15910 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15911
15912 Do not set x-display-name until X connection is established.
15913 This is needed to prevent from weird situation described at
15914 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15915 * frame.el (make-frame): Set x-display-name after call to
15916 window system initialization function, not before.
15917 * term/x-win.el (x-initialize-window-system): Add optional
15918 display argument and use it.
15919 * term/w32-win.el (w32-initialize-window-system):
15920 * term/ns-win.el (ns-initialize-window-system):
15921 * term/pc-win.el (msdos-initialize-window-system):
15922 Add compatible optional display argument.
15923
15924 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15925
15926 * files.el (normal-backup-enable-predicate): On MS-Windows and
15927 MS-DOS compare truenames of temporary-file-directory and of the
15928 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15929 don't fail comparison by compare-strings. Also, compare file
15930 names case-insensitively on MS-Windows and MS-DOS.
15931
15932 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15935 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15936
15937 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15938
15939 * whitespace.el (whitespace-color-on, whitespace-color-off):
15940 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15941
15942 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15943
15944 * ispell.el (ispell-set-spellchecker-params):
15945 Really set `ispell-args' for all equivs.
15946
15947 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15948
15949 * ido.el (ido-completions): Use extra elements of ido-decorations
15950 (bug#14143).
15951 (ido-decorations): Update docstring.
15952
15953 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15954
15955 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15956 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15957 nil during initialization, in order not to miss changes since the
15958 file was opened. (Bug#14140)
15959
15960 2013-04-05 Leo Liu <sdl.web@gmail.com>
15961
15962 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15963
15964 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15965
15966 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15967
15968 2013-04-04 Glenn Morris <rgm@gnu.org>
15969
15970 * electric.el (electric-pair-inhibit-predicate): Add :version.
15971
15972 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15973
15974 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15975 when a package is required several times (bug#14082).
15976
15977 2013-04-04 Roland Winkler <winkler@gnu.org>
15978
15979 * faces.el (read-face-name): Behave as promised by the docstring.
15980 Assume that arg default is a list of faces.
15981 (describe-face): Call read-face-name with list of default faces.
15982
15983 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15984
15985 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15986 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15987 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15988 the header.
15989 (bookmark-exit-hook-internal): Save even if list is empty.
15990
15991 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15992
15993 * emacs-lisp/package.el (package-pinned-packages): New var.
15994 (package--add-to-archive-contents): Obey it (bug#14118).
15995
15996 2013-04-03 Alan Mackenzie <acm@muc.de>
15997
15998 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15999 Also adapt to the new values of element 7 of a parse state.
16000
16001 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16002 parameter `not-in-delimiter'. Handle being inside comment opener.
16003 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16004 character in case we're typing a '*' after a '/'.
16005 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16006 instead by passing the parameter to c-state-pp-to-literal.
16007
16008 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16009 for elt. 7 of a parse state.
16010
16011 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16012
16013 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16014 * international/latin1-disp.el, international/mule-util.el:
16015 * language/cyril-util.el, language/european.el, language/ind-util.el:
16016 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16017 * language/tibetan.el, language/viet-util.el:
16018 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16019
16020 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16021
16022 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16023 (electric-pair-post-self-insert-function): Use it.
16024 (electric-pair-default-inhibit): New function, extracted from
16025 electric-pair-post-self-insert-function.
16026
16027 2013-03-31 Roland Winkler <winkler@gnu.org>
16028
16029 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16030
16031 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16032
16033 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16034
16035 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16036
16037 Un-indent after "pass" and "return" statements (Bug#13888)
16038 * progmodes/python.el (python-indent-block-enders): New var.
16039 (python-indent-calculate-indentation): Use it.
16040
16041 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16042
16043 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16044 defun. Defining it as defalias could introduce too eager
16045 byte-compiler optimization. (Bug#14030)
16046
16047 2013-03-30 Chong Yidong <cyd@gnu.org>
16048
16049 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16050
16051 2013-03-30 Leo Liu <sdl.web@gmail.com>
16052
16053 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16054 (kmacro-execute-from-register): Pass the keyboard macro to
16055 kmacro-call-macro or repeating won't work correctly.
16056
16057 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16058
16059 * progmodes/subword.el: Back to using `forward-symbol'.
16060
16061 * subr.el (forward-whitespace, forward-symbol)
16062 (forward-same-syntax): Move from thingatpt.el.
16063
16064 2013-03-29 Leo Liu <sdl.web@gmail.com>
16065
16066 * kmacro.el (kmacro-to-register): New command.
16067 (kmacro-execute-from-register): New function.
16068 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16069
16070 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16071
16072 * mpc.el: Use defvar-local and setq-local.
16073 (mpc--proc-connect): Connection failures are not bugs.
16074 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16075 (mpc-volume-map): Bind to the up-events.
16076
16077 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16078
16079 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16080 instead of `forward-symbol'.
16081
16082 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16083
16084 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16085 (edebug--recursive-edit): Use it.
16086 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16087 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16088
16089 2013-03-28 Leo Liu <sdl.web@gmail.com>
16090
16091 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16092
16093 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16094
16095 * facemenu.el (list-colors-callback): New defvar.
16096 (list-colors-redisplay): New function.
16097 (list-colors-display): Install list-colors-redisplay as the
16098 revert-buffer-function. (Bug#14063)
16099
16100 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16103 and suffixes don't overlap (bug#14061).
16104
16105 * case-table.el: Use lexical-binding.
16106 (case-table-get-table): New function.
16107 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16108
16109 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16110
16111 * progmodes/subword.el: Add `superword-mode' to do word motion
16112 over symbol_words (parallels and leverages `subword-mode' which
16113 does word motion inside MixedCaseWords).
16114
16115 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16116
16117 * eshell/em-unix.el: Move su and sudo to...
16118 * eshell/em-tramp.el: ...Eshell tramp module.
16119
16120 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16121
16122 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16123 Change return value to be a sexp. Delay `get-buffer' to after
16124 restoring the desktop (bug#13951).
16125
16126 2013-03-26 Leo Liu <sdl.web@gmail.com>
16127
16128 * register.el: Move semantic tag handling back to
16129 cedet/semantic/senator.el. (Bug#14052)
16130
16131 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16132
16133 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16134 into the prompt either (bug#13963).
16135
16136 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16137
16138 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16139 part of "(error-foo)".
16140
16141 2013-03-24 Juri Linkov <juri@jurta.org>
16142
16143 * replace.el (list-matching-lines-prefix-face): New defcustom.
16144 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16145 `occur-engine' if `face-differs-from-default-p' returns t.
16146 (occur-engine): Add `,' inside backquote construct to evaluate
16147 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16148 Pass `prefix-face' to the functions `occur-context-lines' and
16149 `occur-engine-add-prefix'.
16150 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16151 `prefix-face' and propertize the prefix with `prefix-face'.
16152 (Bug#14017)
16153
16154 2013-03-24 Leo Liu <sdl.web@gmail.com>
16155
16156 * nxml/rng-valid.el (rng-validate-while-idle)
16157 (rng-validate-quick-while-idle): Guard against deleted buffer.
16158 (Bug#13999)
16159
16160 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16161 is the last entry in kill-buffer-hook.
16162
16163 * files.el (kill-buffer-hook): Doc fix.
16164
16165 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16166
16167 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16168 Make it safe-local.
16169
16170 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16171
16172 2013-03-23 Leo Liu <sdl.web@gmail.com>
16173
16174 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16175 Remove.
16176
16177 * nxml/rng-valid.el (rng-validate-mode)
16178 (rng-after-change-function, rng-do-some-validation):
16179 * nxml/rng-maint.el (rng-validate-buffer):
16180 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16181 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16182 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16183 (nxml-extend-after-change-region): Use with-silent-modifications.
16184
16185 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16186 timer-idle-list.
16187
16188 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16189 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16190 timer-idle-list. (Bug#13999)
16191
16192 2013-03-23 Juri Linkov <juri@jurta.org>
16193
16194 * info.el (info-index-match): New face.
16195 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16196 main pattern and add text properties with the new face to matches
16197 in index entries relative to the beginning of the index entry.
16198 (Bug#14015)
16199
16200 2013-03-21 Eric Ludlam <zappo@gnu.org>
16201
16202 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16203 Inhibit read only while inserting objects.
16204
16205 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16206
16207 * progmodes/cfengine.el: Update docs to mention
16208 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16209 symbol motion. Remove "_" from the word syntax.
16210
16211 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16212
16213 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16214 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16215
16216 2013-03-20 Juri Linkov <juri@jurta.org>
16217
16218 * info.el (Info-next-reference-or-link)
16219 (Info-prev-reference-or-link): New functions.
16220 (Info-next-reference, Info-prev-reference): Use them.
16221 (Info-try-follow-nearest-node): Handle footnote navigation.
16222 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16223
16224 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16225
16226 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16227 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16228
16229 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16230
16231 Suppress unnecessary non-ASCII chatter during build process.
16232 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16233 (batch-skkdic-convert): Suppress most of the chatter.
16234 It's not needed so much now that machines are faster,
16235 and its non-ASCII component was confusing; see Dmitry Gutov in
16236 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16237
16238 2013-03-20 Leo Liu <sdl.web@gmail.com>
16239
16240 * ido.el (ido-chop): Fix bug#10994.
16241
16242 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16243
16244 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16245 Remove vars.
16246 (whitespace-color-on, whitespace-color-off):
16247 Use `font-lock-fontify-buffer' (Bug#13817).
16248
16249 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16252 remapping in mode-line.
16253 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16254
16255 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16256
16257 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16258 value for `whitespace-line' face (Bug#13875).
16259 (whitespace-font-lock-keywords): Change description.
16260 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16261 the constructed keywords instead.
16262 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16263
16264 2013-03-19 Leo Liu <sdl.web@gmail.com>
16265
16266 * progmodes/compile.el (compilation-display-error): New command.
16267 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16268 C-o. (Bug#13992)
16269
16270 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16271
16272 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16273
16274 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16275
16276 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16277
16278 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16279
16280 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16281
16282 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16283 * net/tramp-gvfs.el (top):
16284 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16285 (tramp-handle-shell-command): Use it.
16286 (tramp-dissect-file-name): Raise an error when hostname is a
16287 method name, and neither method nor user is specified.
16288
16289 * net/trampver.el: Update release number.
16290
16291 2013-03-18 Leo Liu <sdl.web@gmail.com>
16292
16293 Make sure eldoc can be turned off properly.
16294 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16295 eldoc-mode.
16296 (eldoc-display-message-p): Revert last change.
16297 (eldoc-display-message-no-interference-p)
16298 (eldoc-print-current-symbol-info): Tweak.
16299
16300 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16301
16302 * doc-view.el (doc-view-new-window-function): Check the new window
16303 overlay's display property instead the char property of the
16304 buffer's first char. Use `with-selected-window' instead of
16305 `save-window-excursion' with `select-window'.
16306 (doc-view-document->bitmap): Check the current doc-view overlay's
16307 display property instead the char property of the buffer's first char.
16308
16309 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16310
16311 Automate the build of ja-dic.el (Bug#13984).
16312 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16313 from the input, rather than assume that it's been done for us by the
16314 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16315 the current date into a ja-dic.el comment, as that complicates
16316 regression testing.
16317
16318 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16319
16320 * whitespace.el: Fix double evaluation.
16321 (whitespace-space, whitespace-hspace, whitespace-tab)
16322 (whitespace-newline, whitespace-trailing, whitespace-line)
16323 (whitespace-space-before-tab, whitespace-indentation)
16324 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16325 obsolete defvars.
16326 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16327 (whitespace-color-on): Use a single font-lock-add-keywords call.
16328 Fix double-evaluation of face variables.
16329
16330 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16331
16332 * net/tramp-adb.el (tramp-adb-parse-device-names):
16333 Use `start-process' instead of `call-process'. Otherwise, the
16334 function might be blocked under MS Windows. (Bug#13299)
16335
16336 2013-03-17 Leo Liu <sdl.web@gmail.com>
16337
16338 Extend eldoc to display info in the mode-line. (Bug#13978)
16339 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16340 (eldoc-mode-line-string): New variable.
16341 (eldoc-minibuffer-message): New function.
16342 (eldoc-message-function): New variable.
16343 (eldoc-message): Use it.
16344 (eldoc-display-message-p)
16345 (eldoc-display-message-no-interference-p):
16346 Support eldoc-post-insert-mode.
16347
16348 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16349 (eval-expression): Run it.
16350
16351 2013-03-17 Roland Winkler <winkler@gnu.org>
16352
16353 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16354 strings in the list of return values.
16355
16356 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16357
16358 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16359 radix before checking for HMS forms.
16360
16361 2013-03-16 Leo Liu <sdl.web@gmail.com>
16362
16363 * progmodes/scheme.el: Add indentation and font-locking for λ.
16364 (Bug#13975)
16365
16366 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16367
16368 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16369 token before point (bug#13942).
16370
16371 2013-03-16 Leo Liu <sdl.web@gmail.com>
16372
16373 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16374
16375 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16376
16377 * startup.el (command-line-normalize-file-name): Fix handling of
16378 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16379 <xfq.free@gmail.com> in
16380 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16381
16382 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16383
16384 Sync with Tramp 2.2.7.
16385
16386 * net/trampver.el: Update release number.
16387
16388 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16389
16390 * doc-view.el: Fix bug#13887.
16391 (doc-view-insert-image): Don't modify overlay associated to
16392 non-live windows, and implement horizontal centering of image in
16393 case it's smaller than the window.
16394 (doc-view-new-window-function): Force redisplay of new windows on
16395 doc-view buffers.
16396
16397 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16398
16399 * saveplace.el (save-place-alist-to-file): Don't sort
16400 `save-place-alist', just pretty-print it (bug#13882).
16401
16402 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16403
16404 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16405 Check whether `default-file-name-coding-system' is bound.
16406 It isn't in XEmacs.
16407
16408 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16409
16410 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16411 backquotes for `obsolete' (bug#13929).
16412
16413 * international/mule.el (find-auto-coding): Include file name in
16414 obsolescence warning (bug#13922).
16415
16416 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16417
16418 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16419 for CFEngine 3-specific indentation.
16420 (cfengine3-indent-line): Use it. Fix up category regex.
16421 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16422
16423 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16424
16425 * type-break.el (type-break-file-name):
16426 * textmodes/remember.el (remember-data-file):
16427 * strokes.el (strokes-file):
16428 * shadowfile.el (shadow-initialize):
16429 * saveplace.el (save-place-file):
16430 * ps-bdf.el (bdf-cache-file):
16431 * progmodes/idlwave.el (idlwave-config-directory):
16432 * net/quickurl.el (quickurl-url-file):
16433 * international/kkc.el (kkc-init-file-name):
16434 * ido.el (ido-save-directory-list-file):
16435 * emulation/viper.el (viper-custom-file-name):
16436 * emulation/vip.el (vip-startup-file):
16437 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16438 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16439
16440 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16441
16442 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16443 * language/thai-word.el: Switch to UTF-8.
16444
16445 See ChangeLog.16 for earlier changes.
16446
16447 ;; Local Variables:
16448 ;; coding: utf-8
16449 ;; End:
16450
16451 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16452
16453 This file is part of GNU Emacs.
16454
16455 GNU Emacs is free software: you can redistribute it and/or modify
16456 it under the terms of the GNU General Public License as published by
16457 the Free Software Foundation, either version 3 of the License, or
16458 (at your option) any later version.
16459
16460 GNU Emacs is distributed in the hope that it will be useful,
16461 but WITHOUT ANY WARRANTY; without even the implied warranty of
16462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16463 GNU General Public License for more details.
16464
16465 You should have received a copy of the GNU General Public License
16466 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.