]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
epg: Adjust to GnuPG 2.1 key listing change
[gnu-emacs] / lisp / ChangeLog
1 2014-11-07 Daiki Ueno <ueno@gnu.org>
2
3 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
4 (bug#18979). Reported by Hideki Saito.
5
6 2014-10-18 Alan Mackenzie <acm@muc.de>
7
8 Check that a "macro" found near point-min isn't a ## operator.
9 Fixes bug #18749. Backported from trunk, 2014-11-05.
10 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
11 (c-beginning-of-macro): Use the above new function.
12
13 2014-11-05 Alan Mackenzie <acm@muc.de>
14
15 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
16 * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
17 "(point-max)" as bound to c-font-lock-declarators, not "limit", as
18 the buffer is sometimes narrowed to less than "limit" (e.g., in
19 the presence of macros).
20
21 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
22
23 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
24 only when message appeared in minibuffer. (Bug#18891)
25
26 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
27 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
28 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
29 case of errors.
30
31 2014-11-04 Eli Zaretskii <eliz@gnu.org>
32
33 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
34 returned by load-average.
35
36 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
37
38 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
39 a local copy; setting `inhibit-file-name-handlers' proper might be
40 more performant. (Bug#18751)
41
42 2014-11-04 Glenn Morris <rgm@gnu.org>
43
44 * mail/emacsbug.el (report-emacs-bug): No longer include
45 recent-keys in the report. (Bug#18900)
46
47 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
48
49 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
50 local copy of FILENAME, when it is remote. (Bug#18751)
51
52 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
53
54 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
55 an error when the command fails; the return code must indicate.
56 (tramp-adb-send-command-and-check): Fix docstring.
57
58 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
59
60 * net/tramp-cache.el (tramp-get-file-property)
61 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
62 and `tramp-cache-set-count-*' are bound. Otherwise, there might
63 be compiler warnings.
64
65 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
66 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
67
68 2014-11-01 Eli Zaretskii <eliz@gnu.org>
69
70 * progmodes/compile.el (compilation-mode): Turn off deferred
71 fontifications locally. (Bug#18856)
72
73 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
74
75 * net/tramp-sh.el (tramp-send-command): Fix the case where the
76 remote-echo connection property is non-nil (bug#18858).
77
78 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
79
80 Backport Tramp changes from trunk.
81
82 * net/tramp.el (tramp-methods): Tweak docstring.
83 (tramp-file-name-handler): Apply `cons' where appropriate.
84 (tramp-handle-file-accessible-directory-p): Check for
85 `file-readable-p' instead of `file-executable-p'.
86 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
87 (tramp-handle-unhandled-file-name-directory): Return "/".
88 (tramp-check-cached-permissions):
89 Use `tramp-compat-file-attributes'.
90 (tramp-call-process): Add new argument VEC. Adapt callees in all
91 tramp*.el files.
92
93 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
94 (tramp-adb-handle-write-region): Improve messages.
95 (tramp-adb-maybe-open-connection): Don't set
96 `tramp-current-*' variables.
97
98 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
99 Suppress debug messages.
100
101 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
102 (tramp-ftp-file-name-handler):
103
104 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
105 (tramp-gvfs-methods-mounttracker)
106 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
107 during initialization. (Bug#18774)
108 (tramp-gvfs-handle-delete-file): Flush file properties, not
109 directory properties.
110 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
111 reading "unix::mode".
112 (tramp-gvfs-handle-file-name-all-completions):
113 Use "-h" option for "gvfs-ls".
114 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
115 `user' and `localname' could be nil.
116 (tramp-gvfs-send-command): Simplify traces.
117
118 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
119 (vc-git-program, vc-hg-program): Declare.
120 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
121 (tramp-methods) <nc>: Add new method.
122 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
123 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
124 `tramp-login-args'.
125 (tramp-default-user-alist): Add "nc".
126 (top): Remove completion function for "sftp". Add completion
127 functions for "nc" and "psftp".
128 (tramp-sh-handle-set-visited-file-modtime):
129 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
130 (tramp-do-copy-or-rename-file-out-of-band):
131 Use cached "remote-copy-args" value, if available. (Bug#18199)
132 Tweak docstring. Implement support for "nc" method.
133 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
134 (tramp-remote-coding-commands, tramp-call-local-coding-command):
135 Tweak docstring.
136 (tramp-sh-handle-start-file-process): Expand `default-directory'.
137 (tramp-sh-handle-write-region): Tweak error message.
138 (tramp-sh-handle-vc-registered): Remove backends when the remote
139 binary does not exist.
140 (tramp-open-connection-setup-interactive-shell):
141 Prefer utf-8 coding. (Bug#17859)
142 (tramp-find-inline-encoding): Do not raise an error.
143 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
144 the "nc" case. Quote result also locally.
145 (tramp-get-remote-id): Check also for "gid".
146 (tramp-get-remote-python):
147
148 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
149 (tramp-smb-handle-set-file-acl): Use `start-process'.
150 (tramp-smb-handle-insert-directory): Use progress reporter.
151 (tramp-smb-handle-rename-file): Flush also file properties of
152 FILENAME.
153
154 * net/trampver.el: Update release number.
155
156 2014-11-01 Reuben Thomas <rrt@sc3d.org>
157
158 * net/tramp.el (tramp-handle-file-symlink-p):
159 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
160 about VMS, which we no longer support.
161
162 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
165 the global vc-handled-backends (bug#18535).
166
167 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
168 Michael Albinus <michael.albinus@gmx.de>
169
170 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
171 Reduce the amount of set environment variable commands.
172
173 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
174
175 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
176 current-time.
177
178 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
179
180 * net/tramp-sh.el (tramp-get-remote-python): Also search for
181 executables named "python2" or "python3".
182 (tramp-get-remote-uid-with-python): Use parentheses around
183 arguments to `print' to make it compatible with Python 3.
184 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
185
186 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * simple.el (newline): Add assertions to try and help catch bug#18913.
189
190 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
191 (bug#18886).
192 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
193
194 2014-10-31 Eli Zaretskii <eliz@gnu.org>
195
196 * Makefile.in (repo-update): Fix a typo and slightly reword
197 commentary.
198
199 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
200
201 * Makefile.in: Change some production names so they're neutral
202 about the repository type.
203
204 2014-10-30 Kim F. Storm <storm@cua.dk>
205
206 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
207 * delsel.el (delete-selection-save-to-register)
208 (delsel--replace-text-or-position): New vars.
209 (delete-active-region): Use them.
210 (delete-selection-repeat-replace-region): New command, moved from
211 cua-base.el.
212 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
213 (cua-repeat-replace-region): Move command to delsel.el.
214 (cua--init-keymaps): Update binding accordingly.
215 (cua-mode): Set delete-selection-save-to-register.
216
217 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
220 (c-lang-defconst):
221 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
222
223 2014-10-29 Eli Zaretskii <eliz@gnu.org>
224
225 * progmodes/compile.el (compilation-start):
226 If compilation-scroll-output is non-nil, don't force window-start of
227 the compilation buffer to be at beginning of buffer. (Bug#18874)
228
229 2014-10-23 Tassilo Horn <tsdh@gnu.org>
230
231 * doc-view.el (doc-view-open-text): View the document's plain text
232 in the current buffer instead of a new one.
233 (doc-view-toggle-display): Handle the case where the current
234 buffer contains the plain text contents of the document.
235 (doc-view-initiate-display): Don't switch to fallback mode if the
236 user wants to view the doc's plain text. [Backport]
237
238 2014-10-23 Eli Zaretskii <eliz@gnu.org>
239
240 * startup.el (fancy-about-text): Read the entire tutorial, not
241 just its first 256 bytes. (Bug#18760)
242
243 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
246 * emacs-lisp/cl-extra.el: Add missing provide.
247
248 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
251 all args are copyable (bug#18767).
252 (=, <, >, <=, >=): Re-enable the optimization.
253
254 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
255
256 * vc/vc-hg.el (vc-hg-log-graph): New var.
257 (vc-hg-print-log): Use it.
258 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
259 graph output (bug#17515).
260
261 2014-10-20 Juri Linkov <juri@jurta.org>
262
263 * vc/diff-mode.el (diff-refine-changed): Rename from
264 `diff-refine-change' for consistency with `diff-changed'.
265 (diff-refine-change): Add obsolete face alias. (Bug#10181)
266
267 * vc/smerge-mode.el (smerge-refined-changed): Rename from
268 `smerge-refined-change'.
269 (smerge-refined-change): Add obsolete face alias.
270
271 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * subr.el (call-process-shell-command, process-file-shell-command):
274 Make the `args' obsolete (bug#18409).
275 (start-process-shell-command, start-file-process-shell-command):
276 Use `declare'.
277
278 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
279
280 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
281
282 2014-10-20 Glenn Morris <rgm@gnu.org>
283
284 * dired.el (dired-read-regexp): Make obsolete.
285 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
286 (dired-flag-files-regexp):
287 * dired-aux.el (dired-mark-read-regexp):
288 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
289
290 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * progmodes/python.el (inferior-python-mode): Use add-hook.
293
294 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
295
296 2014-10-20 Glenn Morris <rgm@gnu.org>
297
298 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
299 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
300 * emulation/ws-mode.el: Move to obsolete/. [Backport]
301
302 2014-10-20 Glenn Morris <rgm@gnu.org>
303
304 * cus-start.el (history-length): Bump :version. [Backport]
305
306 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * obsolete/cc-compat.el: Make obsolete (bug#18561).
309
310 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
311
312 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
313 case (bug#18767).
314
315 2014-10-20 Glenn Morris <rgm@gnu.org>
316
317 * Version 24.4 released.
318
319 2014-10-15 Alan Mackenzie <acm@muc.de>
320
321 * cus-edit.el (custom-command-apply): Specify the return value in
322 the doc string.
323 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
324 custom-command-apply has returned non-nil.
325
326 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
329 Backported (bug#18688).
330
331 2014-10-14 Eli Zaretskii <eliz@gnu.org>
332
333 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
334 Force bidi-paragraph-direction to 'left-to-right'. This fixes
335 buffer-menu display when the first buffer happens to start with
336 R2L letter.
337
338 2014-10-13 Glenn Morris <rgm@gnu.org>
339
340 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
341 (authors-obsolete-files-regexps): Additions.
342 (authors-no-scan-regexps): New constant.
343 (authors-no-scan-file-p): New function.
344 (authors): Respect authors-no-scan-file-p.
345
346 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
347
348 Fix import completion. (Bug#18582)
349 * progmodes/python.el (python-shell-completion-get-completions):
350 Fix import case regexp.
351
352 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
355 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
356 * progmodes/prolog.el (prolog-electric--underscore): Same.
357
358 2014-10-09 Glenn Morris <rgm@gnu.org>
359
360 * frame.el (display-monitor-attributes-list): Doc tweaks.
361
362 2014-10-08 Eli Zaretskii <eliz@gnu.org>
363
364 * faces.el (display-grayscale-p): Mention in the doc string that
365 the argument can be either a display name or a frame.
366
367 * frame.el (display-pixel-height, display-pixel-width)
368 (display-mm-height, display-mm-width, display-backing-store)
369 (display-save-under, display-planes, display-color-cells)
370 (display-visual-class, display-monitor-attributes-list)
371 (display-screens): Mention in the doc string that the argument can
372 be either a display name or a frame. Improve the docs of the
373 monitor attributes. (Bug#18636)
374
375 2014-10-06 Martin Rudalics <rudalics@gmx.at>
376
377 * term.el (term-window-width): Subtract 1 from the width when
378 any fringe has zero width, not just the right fringe. (Bug#18601)
379
380 2014-10-05 Leo Liu <sdl.web@gmail.com>
381
382 * imenu.el (imenu-default-goto-function): Fix typo.
383
384 2014-10-04 Glenn Morris <rgm@gnu.org>
385
386 * frame.el (frame-monitor-attributes)
387 (display-monitor-attributes-list): Doc fixes.
388
389 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
390
391 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
392 (vc-svn-ignore): Use it. (Bug#18619)
393
394 2014-10-03 Martin Rudalics <rudalics@gmx.at>
395
396 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
397 In doc-string mention need to set `frame-resize-pixelwise'.
398
399 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
402 similarly to Rogers's 2010-06-16 change for the remote case
403 (bug#18605).
404
405 2014-10-01 Glenn Morris <rgm@gnu.org>
406
407 * emacs-lisp/package.el (package-import-keyring):
408 Create gnupg directory private. (Bug#17625#155)
409
410 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * progmodes/python.el (python-shell-completion-get-completions):
413 Use python-shell--prompt-calculated-input-regexp from the
414 process buffer (bug#18582).
415 Don't assume that `line' comes from the process buffer.
416
417 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
418
419 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
420 (bug#18462).
421
422 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/package.el (package-check-signature): Default to nil if
425 GPG is not available.
426 (package-refresh-contents): Don't mess with the keyring if we won't
427 check the signatures anyway.
428
429 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
430
431 * window.el (fit-window-to-buffer): When counting buffer width,
432 count the whole visible buffer. Correctly convert the body-height
433 to pixel size for window-text-pixel-size (Bug#18498).
434
435 2014-09-14 Glenn Morris <rgm@gnu.org>
436
437 * image.el (image-multi-frame-p): Fix thinko - do not force
438 a delay if none was specified. (Bug#18334)
439
440 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
441
442 * window.el (fit-window-to-buffer): Doc fix.
443
444 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
445
446 * desktop.el (desktop-create-buffer): Check that buffers are still live
447 before burying them (bug#18373).
448
449 2014-09-09 Glenn Morris <rgm@gnu.org>
450
451 * calendar/diary-lib.el (diary-list-entries):
452 Restore 24.3 display behavior. (Bug#18381)
453
454 2014-09-09 Eli Zaretskii <eliz@gnu.org>
455
456 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
457 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
458 discrepancy between window-pixel-edges and mouse events, and
459 avoids moving mode line up when the mouse click is on the modeline
460 and no drag is attempted.
461
462 2014-09-08 Glenn Morris <rgm@gnu.org>
463
464 * calendar/calendar.el (calendar-basic-setup):
465 Avoid clobbering calendar with diary. (Bug#18381)
466
467 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
470
471 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
472
473 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
474 as well (bug#18400).
475
476 2014-09-04 Eli Zaretskii <eliz@gnu.org>
477
478 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
479
480 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * emacs-lisp/package.el (package-generate-description-file):
483 Properly quote the arguments (bug#18332). Change second arg.
484 (package--alist-to-plist-args): Rename from package--alist-to-plist and
485 quote the elements.
486 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
487 the *-pkg.el file. Adjust to new calling convention of
488 package-generate-description-file.
489
490 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
491 (gud-gdb-completions): Remove obsolete workaround.
492
493 2014-09-02 Eli Zaretskii <eliz@gnu.org>
494
495 * subr.el (posn-col-row): Revert the change from commit
496 2010-11-13T21:07:58Z!eliz@gnu.org, which
497 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
498 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
499 introduced an off-by-one error in the reported row when there is a
500 header line. (Bug#18384)
501
502 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
503
504 * progmodes/python.el (python-indent-post-self-insert-function):
505 Avoid electric colon at beginning-of-defun. (Bug#18228)
506
507 2014-09-01 Glenn Morris <rgm@gnu.org>
508
509 * tutorial.el (tutorial--display-changes):
510 Fix 2014-07-29 change. (Bug#18382)
511
512 2014-08-29 Ken Brown <kbrown@cornell.edu>
513
514 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
515 the Cygwin-w32 build. (Bug#18347)
516
517 2014-08-28 Glenn Morris <rgm@gnu.org>
518
519 * tar-mode.el (tar--extract, tar-extract):
520 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
521
522 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
523
524 * emacs-lisp/authors.el (authors-aliases): Addition.
525
526 * net/tramp-adb.el: Spell author name correctly.
527
528 2014-08-27 João Távora <joaotavora@gmail.com>
529
530 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
531 use url-expand-file-name. (Bug#18310)
532
533 2014-08-25 Glenn Morris <rgm@gnu.org>
534
535 * emulation/cua-rect.el (cua--highlight-rectangle):
536 Avoid error at point-min. (Bug#18309)
537
538 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
541 executable-find (bug#18244).
542
543 * simple.el (self-insert-uses-region-functions): Defvar.
544
545 2014-08-13 Leo Liu <sdl.web@gmail.com>
546
547 * speedbar.el (speedbar-generic-list-tag-p): Allow special
548 elements from imenu.
549
550 2014-08-11 Glenn Morris <rgm@gnu.org>
551
552 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
553
554 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
555 chose coding system for writing before backing up, since it causes
556 a more serious problem than the one it solves. (Closes Bug#18141,
557 reopens Bug#13522.)
558
559 2014-08-10 Martin Rudalics <rudalics@gmx.at>
560
561 * window.el (window-total-size): Make doc-string more
562 self-contained.
563
564 2014-08-09 Martin Rudalics <rudalics@gmx.at>
565
566 * window.el (display-buffer-below-selected): Restore original
567 behavior if buffer is already displayed in the window below the
568 selected one (Bug#18181).
569
570 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
573 event (bug#18212).
574
575 2014-08-08 Eli Zaretskii <eliz@gnu.org>
576
577 * info.el (info): Doc fix.
578
579 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * info.el (Info-mode-map): Override a global down-mouse-2 binding
582 (bug#18212).
583
584 2014-08-05 Eli Zaretskii <eliz@gnu.org>
585
586 * simple.el (default-line-height): A floating-point value of
587 line-spacing means a fraction of the default frame font's height,
588 not of the font currently used by the 'default' face.
589 Truncate the pixel value, like the display engine does.
590 (window-screen-lines): Use window-inside-pixel-edges for
591 determining the window height in pixels. (Bug#18195)
592
593 2014-07-29 Eli Zaretskii <eliz@gnu.org>
594
595 * tutorial.el (tutorial--display-changes): Accept punctuation
596 characters before the key binding. (Bug#18146)
597
598 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
599
600 * doc-view.el (doc-view-open-text): Don't require that the
601 document is saved in a file (e.g., email attachment).
602
603 2014-07-27 Eli Zaretskii <eliz@gnu.org>
604
605 * window.el (window--pixel-to-total): Use FRAME's root window, not
606 that of the selected frame. (Bug#18112, Bug#16674)
607
608 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
609
610 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
611 (Bug#18117)
612
613 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
614
615 * progmodes/python.el (inferior-python-mode): Doc fix.
616
617 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
618
619 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
620 not a character, ignore it instead of raising an error.
621
622 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
623
624 * calendar/todo-mode.el: Fix handling of marked items and make
625 minor code improvements.
626 (todo-edit-item): If there are marked items, ensure user can only
627 invoke editing commands that work with marked items.
628 (todo-edit-item--text): When there are marked items, make it a
629 noop if invoked with point not on an item; otherwise, ensure it
630 applies only to item at point.
631 (todo-item-undone): If there are marked not-done items, return
632 point to its original position before signaling user error.
633 (todo--user-error-if-marked-done-item): New function.
634 (todo-edit-item--header, todo-edit-item--diary-inclusion)
635 (todo-item-done): Use it.
636
637 2014-07-25 Glenn Morris <rgm@gnu.org>
638
639 * files.el (toggle-read-only): Re-add basic doc-string.
640 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
641
642 * progmodes/prolog.el (prolog-mode-keybindings-edit):
643 Replace missing `switch-to-prolog' with `run-prolog'.
644 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
645
646 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
647
648 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
649 of file-wide setting when changing category-wide setting.
650
651 2014-07-21 Glenn Morris <rgm@gnu.org>
652
653 * progmodes/hideif.el (hide-ifdef-mode-submap):
654 Also substitute read-only-mode.
655 * bindings.el (mode-line-toggle-read-only):
656 * bs.el (bs-toggle-readonly):
657 * buff-menu.el (Buffer-menu-toggle-read-only):
658 * dired.el (dired-toggle-read-only):
659 * files.el (view-read-only, find-file-read-only)
660 (find-file-read-only-other-window)
661 (find-file-read-only-other-frame):
662 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
663 Doc fixes re toggle-read-only.
664
665 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
666
667 * progmodes/python.el: Add comment about pipe buffering and
668 solutions for missing/delayed output in inferior Python shells.
669 (Bug#17304)
670
671 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
672
673 * progmodes/python.el (python-mode): Don't set
674 mode-require-final-newline. (Bug#17990)
675
676 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
677
678 Make python.el work with IPython automatically. (Bug#15510)
679 * progmodes/python.el:
680 (python-shell-completion-setup-code): New value supporting iPython.
681 (python-shell-completion-string-code): New value supporting iPython.
682 (python-shell-completion-get-completions): Use them.
683 (python-shell-completion-module-string-code): Make obsolete.
684 (python-shell-prompt-input-regexps)
685 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
686 (python-shell-output-filter): Fix comment typo.
687
688 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
689
690 Fix Python shell prompts detection for remote hosts.
691 * progmodes/python.el (python-shell-prompt-detect):
692 Replace call-process with process-file and make it more robust.
693
694 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
695
696 Autodetect Python shell prompts. (Bug#17370)
697 * progmodes/python.el:
698 (python-shell-interpreter-interactive-arg)
699 (python-shell-prompt-detect-enabled)
700 (python-shell-prompt-detect-failure-warning)
701 (python-shell-prompt-input-regexps)
702 (python-shell-prompt-output-regexps): New vars.
703 (python-shell-prompt-calculated-input-regexp)
704 (python-shell-prompt-calculated-output-regexp): New vars.
705 (python-shell-get-process-name)
706 (python-shell-internal-get-process-name)
707 (python-shell-output-filter)
708 (python-shell-completion-get-completions): Use them.
709 (python-shell-prompt-detect)
710 (python-shell-prompt-validate-regexps): New functions.
711 (python-shell-prompt-set-calculated-regexps): New function.
712 (inferior-python-mode): Use it. Also honor overridden
713 python-shell-interpreter and python-shell-interpreter-args.
714 (python-shell-make-comint): Honor overridden
715 python-shell-interpreter and python-shell-interpreter-args.
716 (python-shell-get-or-create-process): Make it testable by allowing
717 to call run-python non-interactively.
718 (python-util-valid-regexp-p): New function.
719 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
720 (python-shell-prompt-output-regexp)
721 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
722
723 2014-07-16 Glenn Morris <rgm@gnu.org>
724
725 * desktop.el (after-init-hook): Disable startup frame restoration
726 in non-graphical situations. (Bug#17693)
727
728 2014-07-14 Glenn Morris <rgm@gnu.org>
729
730 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
731 if it was "empty", or used for a different set of files. (Bug#17884)
732
733 2014-07-13 Eli Zaretskii <eliz@gnu.org>
734
735 * bindings.el (mode-line-remote): If default-directory is not a
736 string, don't call file-remote-p on it; instead state in the
737 help-echo that it is nil. (Bug#17986)
738
739 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
740
741 Fix bug: C-x v v discarded existing log message (Bug#17884).
742 * vc/vc-dispatcher.el (vc-log-edit):
743 Don't clobber an already-existing log message.
744
745 2014-07-10 Glenn Morris <rgm@gnu.org>
746
747 * vc/log-edit.el (log-edit-changelog-entries):
748 Check for a visited-but-never-saved ChangeLog.
749
750 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
753 a non-existing file (bug#17970).
754
755 * faces.el (face-name): Undo last change.
756 (x-resolve-font-name): Don't call face-name (bug#17956).
757
758 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
759
760 Fix dedenters and electric colon handling. (Bug#15163)
761
762 * progmodes/python.el
763 (python-rx-constituents): Add dedenter and block-ender.
764 (python-indent-dedenters, python-indent-block-enders): Delete.
765 (python-indent-context): Return new case for dedenter-statement.
766 (python-indent-calculate-indentation): Handle new case.
767 (python-indent-calculate-levels): Fix levels calculation for
768 dedenter statements.
769 (python-indent-post-self-insert-function): Fix colon handling.
770 (python-info-dedenter-opening-block-message): New function.
771 (python-indent-line): Use it.
772 (python-info-closing-block)
773 (python-info-closing-block-message): Remove.
774 (python-info-dedenter-opening-block-position)
775 (python-info-dedenter-opening-block-positions)
776 (python-info-dedenter-statement-p): New functions.
777
778 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
781 the middle of a line (bug#17896).
782
783 2014-07-08 Juri Linkov <juri@jurta.org>
784
785 * startup.el (command-line): Append displaying the warning about
786 the errors in the init file to the end of `after-init-hook'.
787 (Bug#17927)
788
789 2014-07-08 Juri Linkov <juri@jurta.org>
790
791 * faces.el (face-name): Return input arg `face' as is
792 when it's not a symbol.
793 (x-resolve-font-name): Don't check if the face is a symbol.
794 (Bug#17956)
795
796 2014-07-08 Juri Linkov <juri@jurta.org>
797
798 * facemenu.el (list-colors-print): In help-echo format use %.2f
799 instead of %d because now HSV values are floating-point components
800 between 0.0 and 1.0.
801
802 2014-07-06 Glenn Morris <rgm@gnu.org>
803
804 * emulation/cua-rect.el (cua--activate-rectangle):
805 Avoid setting cua--rectangle to nil. (Bug#17877)
806
807 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
808
809 * calendar/todo-mode.el: Fix wrong-type-argument error when
810 marking multiple consecutive items.
811 (todo-toggle-mark-item): Don't try to mark the empty lines at the
812 end of the todo and done items sections. Note in doc string that
813 items marked by passing a numeric prefix argument can include the
814 last todo and first done items.
815 (todo-mark-category): Don't try to mark the empty line between the
816 todo and done items sections.
817
818 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
821 proper Lisp quoting (bug#17934).
822
823 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
824 require-final-newline since prog-mode already took care of it (bug#17947).
825
826 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
827
828 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
829 refer to the Todo mode Info manual. Update the comment on
830 requiring cl-lib.
831 (todo-find-filtered-items-file): Add todo-prefix overlays.
832 (todo-filter-items): Reorder a let-bound variable to avoid a
833 wrong-type-argument error on canceling the file choice dialog.
834
835 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * progmodes/octave.el (inferior-octave-mode):
838 Set comint-input-ring-size to a number (bug#17912).
839
840 2014-07-03 Juri Linkov <juri@jurta.org>
841
842 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
843 and `isearch-mode' associated with nil. (Bug#17849)
844
845 2014-07-02 Juri Linkov <juri@jurta.org>
846
847 * desktop.el (desktop-save): Rename arg `auto-save' to
848 `only-if-changed'. Doc fix. (Bug#17873)
849
850 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
853 Use insert-for-yank (bug#17271).
854
855 2014-07-02 Leo Liu <sdl.web@gmail.com>
856
857 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
858 Support lexical-binding.
859
860 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * vc/log-edit.el (log-edit-goto-eoh): New function.
863 (log-edit--match-first-line): Use it (bug#17861).
864
865 2014-07-01 Glenn Morris <rgm@gnu.org>
866
867 * vc/log-edit.el (log-edit-hook): Add missing :version.
868
869 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
870
871 * progmodes/python.el (python-indent-post-self-insert-function):
872 Enhancements to electric indentation behavior inside
873 parens. (Bug#17658)
874
875 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
878 buffer-invisibility-spec (bug#17867).
879
880 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
881
882 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
883 pass "-a".
884
885 2014-06-29 Glenn Morris <rgm@gnu.org>
886
887 * cus-edit.el (help):
888 * finder.el (finder-known-keywords):
889 * help.el (help-for-help-internal):
890 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
891 (ediff-redraw-registry-buffer):
892 * vc/ediff-ptch.el (ediff-patch-file-internal):
893 Doc fixes re "online" help. (Bug#17803)
894
895 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
896 (idlwave-mode): Doc URL update.
897
898 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
899
900 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
901 account for file-wide setting of todo-top-priorities-overrides.
902 Make code a bit cleaner.
903
904 2014-06-27 Leo Liu <sdl.web@gmail.com>
905
906 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
907
908 2014-06-27 Glenn Morris <rgm@gnu.org>
909
910 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
911
912 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
913
914 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
915 category-wide setting of todo-top-priorities-overrides, check for
916 a file-wide setting and fontify accordingly.
917
918 2014-06-26 Glenn Morris <rgm@gnu.org>
919
920 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
921
922 2014-06-26 Daiki Ueno <ueno@gnu.org>
923
924 * emacs-lisp/package.el (package--check-signature):
925 If package-check-signature is allow-unsigned, don't signal error when
926 we can't verify signature because of missing public key
927 (backport for bug#17625).
928
929 2014-06-26 Glenn Morris <rgm@gnu.org>
930
931 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
932 Remove outdated declaration.
933
934 * emacs-lisp/authors.el (authors-valid-file-names)
935 (authors-renamed-files-alist): Additions.
936
937 2014-06-25 Leo Liu <sdl.web@gmail.com>
938
939 * textmodes/picture.el (picture-set-tab-stops):
940 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
941 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
942
943 * progmodes/asm-mode.el (asm-calculate-indentation):
944 Use indent-next-tab-stop.
945
946 * indent.el (indent-accumulate-tab-stops): New function.
947
948 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
951 (package-desc-status): Obey it.
952
953 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
954
955 * calendar/todo-mode.el: Fix two bugs.
956 (todo-insert-item--basic): If user cancels item insertion to
957 another category before setting priority, show original category
958 whether it is in the same or a different file.
959 (todo-set-item-priority): After selecting category, instead of
960 moving point to top, which extends an active region, restore it.
961
962 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * help-fns.el (describe-function-1): Check file-name is a string before
965 calling help-fns--autoloaded-p (bug#17564).
966
967 2014-06-24 Juri Linkov <juri@jurta.org>
968
969 * desktop.el (desktop-auto-save-enable)
970 (desktop-auto-save-disable): New functions.
971 (desktop-save-mode, desktop-auto-save-timeout): Use them.
972 (desktop-read): Disable the autosave before loading the desktop,
973 and enable afterwards. (Bug#17351)
974
975 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 Fix some indentation problem with \; and pipes (bug#17842).
978 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
979 (sh-smie--default-forward-token, sh-smie--default-backward-token):
980 New functions.
981 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
982 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
983 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
984
985 2014-06-24 Eli Zaretskii <eliz@gnu.org>
986
987 * international/fontset.el (script-representative-chars):
988 Add representative characters for scripts added in Unicode 7.0.
989 (otf-script-alist): Synchronize with the latest registry of OTF
990 script tags.
991
992 * international/characters.el (char-script-table): Update for
993 scripts added and codepoint ranges changed in Unicode 7.0.
994
995 2014-06-23 Leo Liu <sdl.web@gmail.com>
996
997 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
998 tab-stop-list to nil. (Bug#16381)
999
1000 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1001 (indent-rigidly-left-to-tab-stop)
1002 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1003 (move-to-tab-stop): Change callers.
1004
1005 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1006
1007 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1008 wrt behavior of \n as the first/last element of a skeleton.
1009
1010 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * net/tramp-adb.el (tramp-adb-handle-process-file):
1013 * net/tramp-sh.el (tramp-sh-handle-process-file):
1014 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1015 the output buffer when DISPLAY is non-nil. (Bug#17815)
1016
1017 2014-06-21 Glenn Morris <rgm@gnu.org>
1018
1019 * play/landmark.el (landmark-move-down, landmark-move-up):
1020 Fix 2007-10-20 change - preserve horizontal position.
1021
1022 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1023
1024 Fix completion retrieval parsing (bug#17209).
1025 * progmodes/python.el (python-mode):
1026 (python-util-strip-string): New function.
1027 (python-shell-completion-get-completions): Use it.
1028
1029 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1030
1031 * skeleton.el (skeleton-insert): Fix last change.
1032
1033 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1034
1035 Enhancements for outline integration (bug#17796).
1036 * progmodes/python.el (python-mode): Properly set
1037 outline-heading-end-regexp so that comments after colons for
1038 defuns are supported.
1039
1040 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1041
1042 * skeleton.el (skeleton-insert): Doc fix.
1043
1044 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1047 (smie-config-guess): Use smie-config-local so the rules are obeyed
1048 (bug#17818).
1049
1050 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1051 since it's already done inside the loop (bug#17819).
1052
1053 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1054
1055 * mouse.el (mouse-drag-line): Re-remove code initially removed
1056 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1057 (Bug#17819).
1058
1059 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1062 align with the surrounding parent (bug#17721).
1063
1064 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1065
1066 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1067 locally to nil.
1068 (texinfo-insert-block, texinfo-insert-@end)
1069 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1070 local setting of skeleton-end-newline by adding an explicit \n to
1071 the skeletons where appropriate. (Bug#17801)
1072
1073 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1076 (smie-indent--hanging-p): Use it.
1077 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1078
1079 2014-06-20 Leo Liu <sdl.web@gmail.com>
1080
1081 * simple.el (read-quoted-char): Don't let help chars pop up help
1082 buffer. (Bug#16617)
1083
1084 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1087 for | (bug#17621).
1088
1089 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1092 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1093 burping.
1094
1095 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1096
1097 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1098 and later. (Bug#17790)
1099
1100 2014-06-18 Juri Linkov <juri@jurta.org>
1101
1102 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1103 to `soft'. (Bug#17554)
1104
1105 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1108 (bug#17737).
1109
1110 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1111
1112 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1113 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1114
1115 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1116
1117 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1118 `unread-command-events'.
1119
1120 2014-06-14 Glenn Morris <rgm@gnu.org>
1121
1122 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1123 Replace delete-duplicates and mapcan by cl- versions throughout.
1124 And cl-macroexpand-all by macroexpand-all.
1125 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1126
1127 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1128
1129 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1130
1131 2014-06-14 Juri Linkov <juri@jurta.org>
1132
1133 * bindings.el: Put `ascii-character' property on keypad keys
1134 mapped to characters. (Bug#17759)
1135
1136 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1139 bumping forward into a closing paren (bug#17761).
1140
1141 * term/xterm.el (xterm--version-handler): Work around for OSX
1142 Terminal.app (bug#17607).
1143
1144 2014-06-08 Glenn Morris <rgm@gnu.org>
1145
1146 * startup.el (initial-buffer-choice): Doc fix.
1147 Reset :version (adding an option does not merit a :version bump).
1148
1149 * bookmark.el (bookmark-load):
1150 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1151
1152 2014-06-06 Juri Linkov <juri@jurta.org>
1153
1154 * desktop.el: Activate auto-saving on window configuration changes.
1155 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1156 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1157 (desktop-auto-save-set-timer): Change REPEAT arg of
1158 `run-with-idle-timer' from t to nil.
1159 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1160
1161 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1162
1163 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1164 vc-hg-command (bug#17570).
1165
1166 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1169 (bug#17702).
1170
1171 2014-06-06 Glenn Morris <rgm@gnu.org>
1172
1173 * startup.el (window-setup-hook): Doc fix.
1174
1175 2014-06-05 Glenn Morris <rgm@gnu.org>
1176
1177 * emacs-lisp/package.el (package-check-signature)
1178 (package-unsigned-archives): Doc fixes.
1179
1180 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1181
1182 * window.el (display-buffer-use-some-window): Don't make window
1183 used smaller than it was before (Bug#17671).
1184
1185 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1186
1187 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1188 'redisplay' instead of '(sit-for 0)'.
1189
1190 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1191
1192 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1193 regexp. (Bug#17653)
1194
1195 2014-06-03 Glenn Morris <rgm@gnu.org>
1196
1197 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1198
1199 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1200
1201 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1202
1203 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1204
1205 * simple.el (keyboard-quit): Force update of mode lines, to remove
1206 the "Def" indicator, if we were defining a macro. (Bug#17615)
1207
1208 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1209
1210 * minibuffer.el (minibuffer-force-complete-and-exit):
1211 Obey minibuffer-default (bug#17545).
1212
1213 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1214 (bug#17619).
1215
1216 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * subr.el (set-transient-map): Don't wait for some "nested"
1219 transient-map to finish if we're only supposed to be active for
1220 the next command (bug#17642).
1221
1222 2014-05-31 Leo Liu <sdl.web@gmail.com>
1223
1224 * emacs-lisp/gv.el (window-buffer, window-display-table)
1225 (window-dedicated-p, window-hscroll, window-point, window-start):
1226 Fix gv-expander. (Bug#17630)
1227
1228 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1229
1230 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1231 clicks (bug#17633).
1232
1233 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1234 for the single comma, since ", " is *very* common in normal French text
1235 (bug#17643).
1236
1237 2014-05-30 Glenn Morris <rgm@gnu.org>
1238
1239 * emacs-lisp/package.el (package-check-signature)
1240 (package-unsigned-archives): Fix :version.
1241
1242 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * subr.el (sit-for): Don't run input-methods (bug#15614).
1245
1246 2014-05-28 Glenn Morris <rgm@gnu.org>
1247
1248 * cus-start.el: Fix some :version numbers.
1249
1250 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * simple.el (deactivate-mark): Set mark-active to nil even if
1253 deactivation is done via setting transient-mark-mode to nil,
1254 since one is buffer-local and the other is global.
1255
1256 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1257 there can't be more than 2 arguments (bug#17584).
1258
1259 2014-05-27 Glenn Morris <rgm@gnu.org>
1260
1261 * simple.el (filter-buffer-substring-functions)
1262 (filter-buffer-substring-function, buffer-substring-filters)
1263 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1264
1265 * minibuffer.el (completion-in-region-functions, completion-in-region)
1266 (completion--in-region): Doc fixes.
1267
1268 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1269 (expand-abbrev, abbrev--default-expand): Doc fixes.
1270
1271 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1272
1273 Include sources used to create macuvs.h.
1274 * international/README: Refer to the Unicode Terms of Use rather
1275 than copying it bodily here, as that simplifies maintenance.
1276
1277 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1278
1279 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1280
1281 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1282
1283 * window.el (window--dump-frame): Remove interactive
1284 specification.
1285
1286 2014-05-23 Glenn Morris <rgm@gnu.org>
1287
1288 * hippie-exp.el (he-line-search-regexp):
1289 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1290
1291 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1292
1293 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1294 to avoid errors when trying to create or visit a file foo.todo
1295 located outside to todo-directory, and to allow having such files
1296 without them being tied to Todo mode (bug#17482).
1297 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1298 (todo-archive-done-item, todo-find-filtered-items-file)
1299 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1300 (todo-category-completions, todo-read-category): When visiting a
1301 Todo file, make sure we're in the right mode and the buffer local
1302 variables are set.
1303 (todo-make-categories-list, todo-reset-nondiary-marker)
1304 (todo-reset-done-string, todo-reset-comment-string):
1305 After processing all Todo files, kill the buffers of those files that
1306 weren't being visited before the processing.
1307 (todo-display-as-todo-file, todo-add-to-buffer-list)
1308 (todo-visit-files-commands): Comment out.
1309 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1310 (auto-mode-alist): Remove add-to-list calls making Todo file
1311 extensions unrestrictedly tied to Todo modes.
1312
1313 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1316 (advice-function-member-p): Tell it to check both names and functions
1317 (bug#17531).
1318 (advice--add-function): Adjust call accordingly.
1319
1320 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1321
1322 * calendar/todo-mode.el: Miscellaneous bug fixes.
1323 (todo-delete-file): When deleting an archive but not its todo
1324 file, make sure to update the todo file's category sexp.
1325 (todo-move-category): Keep the moved category's name unless the
1326 file moved to already has a category with that name. If the
1327 numerically last category of the source file was moved, make the
1328 first category current to avoid selecting a nonexisting category.
1329 (todo-merge-category): Fix implementation to make merging to a
1330 category in another file work as documented. Eliminate now
1331 insufficient and unnecessary renaming of archive category, correct
1332 document string accordingly, and clarify it. If the numerically
1333 last category of the source file was merged, make the first
1334 category current to avoid selecting a nonexisting category.
1335 (todo-archive-done-item): When there are marked items and point
1336 happens to be on an unmarked item, ignore the latter. Don't leave
1337 point below last item after archiving marked items.
1338 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1339 from an archive with only one category deletes the archive only
1340 when the category is empty after unarchiving. Make sure the todo
1341 file's category sexp is updated.
1342 (todo-read-file-name): Allow an existing file name even when it is
1343 not required (todo-move-category needs this to work as documented).
1344 (todo-add-file): Call todo-validate-name to reject the name of an
1345 existing todo file (needed due to fix in todo-read-file-name).
1346 (todo-reset-nondiary-marker): Also reset in filtered items files.
1347 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1348 regexp filtered items files.
1349 (todo-reset-highlight-item): Also reset in filtered items files.
1350 Fix incorrect variable reference in document string.
1351
1352 2014-05-22 Glenn Morris <rgm@gnu.org>
1353
1354 * window.el (window--dump-frame): Avoid error in --without-x builds.
1355
1356 2014-05-21 Glenn Morris <rgm@gnu.org>
1357
1358 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1359
1360 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1361
1362 * frame.el (set-frame-font): Doc fix.
1363
1364 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1365
1366 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1367
1368 * emacs-lisp/package.el (package--download-one-archive):
1369 Use `write-region' instead of `save-buffer' to avoid running various
1370 hooks. (Bug#17155)
1371 (describe-package-1): Same. Insert newline at the end of the
1372 buffer if appropriate.
1373
1374 2014-05-20 Juri Linkov <juri@jurta.org>
1375
1376 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1377 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1378 Add more modifiers: meta, control, shift, hyper, super, alt.
1379 (Bug#17439)
1380
1381 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1382 to allow changing its value with `set-variable'.
1383
1384 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1387 #; comments.
1388 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1389 New functions.
1390 (scheme-mode-variables): Set syntax-propertize-function instead of
1391 font-lock-syntactic-face-function.
1392 (scheme-font-lock-syntactic-face-function): Delete.
1393
1394 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1395
1396 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1399 (bug#17392).
1400
1401 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1402
1403 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1404 for a temporary file name.
1405
1406 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1407
1408 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1409
1410 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1411
1412 * net/dbus.el (dbus-init-bus, dbus-call-method)
1413 (dbus-call-method-asynchronously, dbus-send-signal)
1414 (dbus-method-return-internal, dbus-method-error-internal):
1415 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1416
1417 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1418
1419 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1420 methods which do not have a doc string. (Bug#17490)
1421
1422 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1423 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1426 suffix (bug#15419).
1427
1428 2014-05-14 Glenn Morris <rgm@gnu.org>
1429
1430 * vc/emerge.el (emerge-temp-file-prefix):
1431 Make pointless option obsolete.
1432 (emerge-temp-file-mode): Make non-functional option obsolete.
1433
1434 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1435
1436 * net/browse-url.el (browse-url):
1437 Use `unhandled-file-name-directory' when setting `default-directory',
1438 in order to circumvent stalled remote connections. (Bug#17425)
1439
1440 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1441
1442 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1443 into autoloading just because of a silly indirection.
1444
1445 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1446
1447 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1448
1449 2014-05-11 Glenn Morris <rgm@gnu.org>
1450
1451 * emacs-lisp/find-gc.el: Move to ../admin.
1452
1453 2014-05-10 Glenn Morris <rgm@gnu.org>
1454
1455 * printing.el (pr-version):
1456 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1457
1458 * net/browse-url.el (browse-url-mosaic):
1459 Create /tmp/Mosaic.PID as a private file.
1460
1461 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1462
1463 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1464 (advice--member-p): If name is given, only compare the name.
1465 (advice--remove-function): Don't stop at the first match.
1466 (advice--normalize-place): New function.
1467 (add-function, remove-function): Use it.
1468 (advice--add-function): Pass the name, if any, to
1469 advice--remove-function.
1470
1471 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1472
1473 * electric.el (electric-indent-post-self-insert-function): Don't use
1474 `pos' after modifying the buffer (bug#17449).
1475
1476 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * subr.el (function-put): Add function.
1479
1480 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1481
1482 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1483 Correct argument list to conform to todo-insert-item--basic.
1484
1485 2014-05-09 Glenn Morris <rgm@gnu.org>
1486
1487 * files.el (cd-absolute): Test if directory is accessible
1488 rather than executable. (Bug#17330)
1489
1490 * progmodes/compile.el (recompile):
1491 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1492
1493 2014-05-08 Juri Linkov <juri@jurta.org>
1494
1495 * dired.el (dired-check-switches, dired-switches-recursive-p):
1496 New functions. (Bug#17218)
1497 (dired-switches-escape-p, dired-move-to-end-of-filename):
1498 Use `dired-check-switches'.
1499 (dired-insert-old-subdirs, dired-build-subdir-alist)
1500 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1501
1502 2014-05-08 Glenn Morris <rgm@gnu.org>
1503
1504 * net/browse-url.el (browse-url-mosaic):
1505 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1506 This is CVE-2014-3423.
1507
1508 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1511 (xterm-mouse--read-event-sequence-1000): Return nil if something
1512 looks fishy.
1513 (xterm-mouse-event): Propagate it.
1514 (xterm-mouse-translate-1): Handle it.
1515
1516 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1517
1518 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1519 four slots of the parameter list are filled, make sure to pass it
1520 to the argument list of todo-insert-item--basic.
1521
1522 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1525 Add optional `seen' argument to detect and break infinite loops.
1526
1527 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1528
1529 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1530 (trace-unsafe, trace-use-tree): Make parentheses style be
1531 according to Emacs style.
1532
1533 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1534
1535 * net/tramp-sh.el (tramp-remote-process-environment):
1536 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1537 Add :version entry.
1538 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1539 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1540 extra "PSx=..." commands.
1541 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1542 (Bug#17295)
1543
1544 (tramp-uudecode): Replace the hard-coded temporary file name by a
1545 format specifier.
1546 (tramp-remote-coding-commands): Enhance docstring.
1547 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1548 name. (Bug#17415)
1549 This is CVE-2014-3424.
1550
1551 2014-05-06 Glenn Morris <rgm@gnu.org>
1552
1553 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1554 (find-gc-source-files): Update some names.
1555 (trace-call-tree): Simplify and update.
1556 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1557 This is CVE-2014-3422.
1558
1559 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * minibuffer.el (completion--try-word-completion): Revert fix for
1562 Bug#15980 (bug#17375).
1563
1564 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1565 Always store button numbers in the same way in xterm-mouse-last;
1566 Don't burp is xterm-mouse-last is not set as expected.
1567 Never return negative indices.
1568
1569 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1570
1571 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1572 Backtrack one char if the global/char-literal var matcher hits
1573 inside a string. The next char could be the beginning of an
1574 expression expansion.
1575
1576 2014-05-05 Glenn Morris <rgm@gnu.org>
1577
1578 * help-fns.el (describe-function-1): Test for an autoload before a
1579 macro, since `macrop' works on autoloads. (Bug#17410)
1580
1581 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1584
1585 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1586 Make sure the new point we return is within the new string (bug#17239).
1587
1588 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1589
1590 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1591
1592 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1595 Use nil rather than `default' for the "default" appearance (bug#17388).
1596 * vc/ediff-util.el (ediff-inferior-compare-regions)
1597 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1598 a misleading `default' value when it's really a boolean.
1599 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1600 overlay is not visible.
1601
1602 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1603
1604 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1605 (todo-menu): Uncomment and update.
1606
1607 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1608
1609 * calendar/todo-mode.el: Reimplement item editing to have the same
1610 basic user interface as item insertion, and make small UI and
1611 larger internal improvements to the latter.
1612 (todo-insert-item): Add reference to the Todo mode user manual to
1613 the documentation string.
1614 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1615 adjust all callers. Change signature to combine diary and
1616 nonmarking arguments. Incorporate functionality of deleted item
1617 copying command and add error checking. Remove detailed
1618 descriptions of the arguments from the documentation string, since
1619 this is treated in the Todo mode user manual.
1620 (todo-copy-item, todo-edit-multiline-item)
1621 (todo-edit-done-item-comment, todo-edit-item-header)
1622 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1623 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1624 (todo-edit-item-date-year, todo-edit-item-date-month)
1625 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1626 Remove.
1627 (todo-edit-item): Reimplement as wrapper command for
1628 todo-edit-item--next-key and make it distinguish done and not done
1629 todo items.
1630 (todo-edit-item--text): New function, replacing old command
1631 todo-edit-item and incorporating deleted commands
1632 todo-edit-multiline-item and todo-edit-done-item-comment.
1633 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1634 Use only numeric value of prefix argument. Remove detailed
1635 descriptions of the arguments from the documentation string, since
1636 this is treated in the Todo mode user manual.
1637 (todo-edit-item--diary-inclusion): New function, replacing old
1638 command todo-edit-item-diary-inclusion and incorporating and fixing
1639 functionality of deleted command todo-edit-item-diary-nonmarking,
1640 making sure to remove todo-nondiary-marker when adding
1641 diary-nonmarking-symbol.
1642 (todo-edit-category-diary-inclusion): Make sure to delete
1643 diary-nonmarking-symbol when adding todo-nondiary-marker.
1644 (todo-edit-category-diary-nonmarking): Fix indentation.
1645 (todo-insert-item--parameters): Group diary and nonmarking
1646 parameters together.
1647 (todo-insert-item--apply-args): Adjust to signature of
1648 todo-insert-item--basic and incorporate copy parameter.
1649 Make small code improvements.
1650 (todo-insert-item--next-param): Improve prompt and adjust it to
1651 new parameter grouping. Remove obsolete code.
1652 (todo-edit-item--param-key-alist)
1653 (todo-edit-item--date-param-key-alist)
1654 (todo-edit-done-item--param-key-alist): New defconsts.
1655 (todo-edit-item--prompt): New variable.
1656 (todo-edit-item--next-key): New function.
1657 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1658 Remove bindings of deleted commands.
1659
1660 2014-05-02 Leo Liu <sdl.web@gmail.com>
1661
1662 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1663
1664 2014-05-01 Glenn Morris <rgm@gnu.org>
1665
1666 * allout-widgets.el (allout-widgets-tally)
1667 (allout-decorate-item-guides):
1668 * menu-bar.el (menu-bar-positive-p):
1669 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1670 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1671 * progmodes/js.el (js--inside-param-list-p)
1672 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1673 * progmodes/prolog.el (region-exists-p):
1674 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1675 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1676 Doc fixes (replace `iff').
1677
1678 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1681
1682 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1683
1684 * dired.el (dired-initial-position-hook, dired-initial-position):
1685 Doc string fixes.
1686
1687 2014-04-29 Glenn Morris <rgm@gnu.org>
1688
1689 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1690
1691 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1692
1693 * faces.el (face-spec-recalc): Apply X resources only after the
1694 defface spec has been applied. Thus, X resources are no longer
1695 overridden by the defface spec which also fixes issues on win32 where
1696 the toolbar coloring was wrong because it is set through X resources
1697 and was (wrongfully) overridden. (Bug#16694)
1698
1699 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * textmodes/rst.el (electric-pair-pairs): Declare.
1702 (rst-mode): Set it (bug#17131).
1703
1704 2014-04-27 Juri Linkov <juri@jurta.org>
1705
1706 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1707 and `print-level' to nil. (Bug#17351)
1708
1709 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1710
1711 * battery.el (battery-update): Handle the case where battery
1712 status is "N/A" (bug#17319).
1713
1714 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1715
1716 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1717 Use equal-including-properties to compare help-echo strings (bug#17331).
1718
1719 2014-04-24 Leo Liu <sdl.web@gmail.com>
1720
1721 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1722 Fix syntax for @. (Bug#17325)
1723
1724 2014-04-24 Daniel Colascione <dancol@dancol.org>
1725
1726 * emacs-lisp/cl.el (gv): Require gv early to break eager
1727 macro-expansion cycles.
1728
1729 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * simple.el (region-active-p): Check there's a mark (bug#17324).
1732
1733 * simple.el (completion-list-mode-map): Use choose-completion for the
1734 mouse binding as well (bug#17302).
1735 (completion-list-mode, completion-setup-function): Adjust docstring and
1736 echo area message accordingly.
1737 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1738 calling convention of choose-completion.
1739 * comint.el (comint-dynamic-list-completions):
1740 * term.el (term-dynamic-list-completions): Accept choose-completion.
1741
1742 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1743 &, |, +, - and * can't be a division (bug#17317).
1744
1745 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1748 features on gnome-terminal (bug#16988).
1749
1750 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1751
1752 * dired.el (dired-insert-set-properties): Do not consider
1753 subdirectory headings and empty lines to be information that
1754 `dired-hide-details-mode' should hide. (Bug#17228)
1755
1756 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1757
1758 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1759 Remove test messages.
1760 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1761 and `target' twice.
1762
1763 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1766 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1767
1768 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1769
1770 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1773 Set "IFS=" when using read builtin, in order to preserve spaces in
1774 the file name. Add test messages for hunting a bug on hydra.
1775 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1776
1777 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1780 Don't prettify a word within a symbol.
1781
1782 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1783
1784 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1785 possible.
1786
1787 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1790 assignments such as "case=hello" (bug#17297).
1791
1792 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1793
1794 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1795 Do not autoload.
1796 (tramp-file-name-handler, tramp-completion-file-name-handler):
1797 Revert patch from 2014-04-10, it isn't necessary anymore.
1798 (tramp-autoload-file-name-handler)
1799 (tramp-register-autoload-file-name-handlers): New defuns.
1800 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1801 (tramp-register-file-name-handlers): Remove also
1802 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1803 Do not autoload its invocation, but eval it after loading of 'tramp.
1804
1805 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1806
1807 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1808
1809 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1812 was done (bug#17264).
1813 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1814 comment to EOB.
1815
1816 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1817 here-documents (bug#17262).
1818
1819 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1820
1821 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1822 Provide doc strings, as required by snarf-documentation.
1823
1824 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1827 arg of overlays-at. Use `invisible-p'.
1828
1829 * obsolete/lucid.el (extent-at):
1830 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1831 overlays-at.
1832 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1833
1834 2014-04-14 João Távora <joaotavora@gmail.com>
1835
1836 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1837 links. (Bug#17217).
1838
1839 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1840
1841 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1842 Use mapc to loop over a vector. (Bug#17257).
1843
1844 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1845
1846 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1847 patch, there are new problems with file names containing spaces.
1848 Get rid of backticks. (Bug#17238)
1849
1850 2014-04-13 João Távora <joaotavora@gmail.com>
1851
1852 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1853 possible bug.
1854
1855 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1856
1857 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1858 (blink-cursor-mode): Mention customization variables and the
1859 effect of 'blink-cursor-blinks'.
1860
1861 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1862
1863 * simple.el (undo): Prevent insertion of identity mapping into
1864 undo-equiv-table so as undo-only does not inf loop in the presence
1865 of consecutive nils in undo list.
1866
1867 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1868
1869 * faces.el (make-face): Deprecate optional argument as it is no
1870 longer needed/used since the conditional X resources handling
1871 has been pushed down to make-face-x-resource-internal itself.
1872 (make-empty-face): Don't pass optional argument to make-face.
1873
1874 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1875
1876 * international/characters.el <standard-case-table>: Add entries
1877 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1878 Set category of Coptic characters be 'g' (Greek).
1879
1880 2014-04-12 Leo Liu <sdl.web@gmail.com>
1881
1882 * progmodes/octave.el (completion-table-with-cache): Define if not
1883 available.
1884 (octave-goto-function-definition)
1885 (octave-sync-function-file-names)
1886 (octave-find-definition-default-filename): Backquote upattern for
1887 compatibility.
1888
1889 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1890
1891 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1892 name twice due to backticks. (Bug#17238)
1893
1894 2014-04-11 Glenn Morris <rgm@gnu.org>
1895
1896 * term/w32-win.el (x-win-suspend-error):
1897 * term/x-win.el (x-win-suspend-error): Sync docs.
1898
1899 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 Ediff's overlay priorities cause more trouble than they solve.
1902 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1903 (ediff-highest-priority): Remove function (bug#17234).
1904 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1905 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1906 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1907 overlay priorities.
1908
1909 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1910
1911 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1912 entry; use symbol boundaries to avoid mis-matches.
1913
1914 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1915
1916 * net/tramp.el (tramp-file-name-handler)
1917 (tramp-completion-file-name-handler): Avoid recursive loading.
1918
1919 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1920 Quote result also locally.
1921
1922 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1923
1924 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1925 Module methods. (Bug#17216)
1926
1927 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1930 (describe-bindings-internal): Mark obsolete.
1931
1932 2014-04-07 João Távora <joaotavora@gmail.com>
1933
1934 * elec-pair.el:
1935 (electric-pair--syntax-ppss): When inside comments parse from
1936 comment beginning.
1937 (electric-pair--balance-info): Fix typo in comment.
1938 (electric-pair--in-unterminated-string-p): Delete.
1939 (electric-pair--unbalanced-strings-p): New function.
1940 (electric-pair-string-bound-function): New var.
1941 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1942 according to `electric-pair--in-unterminated-string-p'
1943
1944 2014-04-07 João Távora <joaotavora@gmail.com>
1945
1946 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1947 Inhibit quote pairing if point-max is inside an unterminated string.
1948 (electric-pair--looking-at-unterminated-string-p): Delete.
1949 (electric-pair--in-unterminated-string-p): New function.
1950
1951 2014-04-07 Glenn Morris <rgm@gnu.org>
1952
1953 * shell.el (shell-directory-tracker):
1954 Go back to just ignoring failures. (Bug#17159)
1955
1956 2014-04-06 João Távora <joaotavora@gmail.com>
1957
1958 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1959 backspace. (bug#16981)
1960 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1961 (electric-pair-backward-delete-char-untabify): Delete.
1962 (electric-pair-mode-map): Bind backspace to a menu item filtering
1963 a new `electric-pair-delete-pair' command.
1964 (electric-pair-delete-pair): New command.
1965
1966 2014-04-06 João Távora <joaotavora@gmail.com>
1967
1968 * progmodes/python.el (python-electric-pair-string-delimiter):
1969 Fix triple-quoting electricity. (Bug#17192)
1970
1971 2014-04-06 João Távora <joaotavora@gmail.com>
1972
1973 * elec-pair.el (electric-pair-post-self-insert-function):
1974 Don't skip whitespace when `electric-pair-text-pairs' and
1975 `electric-pair-pairs' were used. syntax to
1976 electric-pair--skip-whitespace. (Bug#17183)
1977
1978 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1979
1980 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1981 "<F>". (Bug#17199)
1982
1983 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1986 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1987
1988 2014-04-05 Glenn Morris <rgm@gnu.org>
1989
1990 * help.el (view-lossage): Doc tweak.
1991
1992 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1993
1994 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1995 only when inhibit-x-resources is nil, and do that earlier in the
1996 function. Doc fix. (Bug#16694)
1997 (face-spec-choose): Accept additional optional argument, whose
1998 value is returned if no matching attributes are found.
1999 (face-spec-recalc): Use the new optional argument when calling
2000 face-spec-choose. (Bug#16378)
2001 (make-face-x-resource-internal): Do nothing when
2002 inhibit-x-resources is non-nil. Don't touch the default face if
2003 reversed video is given--as was done in previous versions of Emacs.
2004 (face-set-after-frame-default): Don't call
2005 make-face-x-resource-internal here. (Bug#16434)
2006
2007 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2008
2009 * doc-view.el (doc-view-bookmark-jump):
2010 Use `bookmark-after-jump-hook' to jump to the right page after the
2011 buffer is shown in a window. (bug#16090)
2012
2013 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2014
2015 * international/characters.el (mirroring): Fix last change:
2016 instead of loading uni-mirrored.el explicitly, do that implicitly
2017 by creating the 'mirroring' uniprop table. This avoids announcing
2018 the loading of uni-mirrored.el.
2019
2020 2014-04-04 Glenn Morris <rgm@gnu.org>
2021
2022 * files.el (buffer-stale--default-function)
2023 (buffer-stale-function, revert-buffer--default):
2024 * autorevert.el (auto-revert-buffers): Doc tweaks.
2025
2026 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2027
2028 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2029
2030 2014-04-03 Glenn Morris <rgm@gnu.org>
2031
2032 * files.el (make-backup-file-name-function)
2033 (make-backup-file-name, make-backup-file-name--default-function)
2034 (make-backup-file-name-1, find-backup-file-name)
2035 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2036 (buffer-stale--default-function, buffer-stale-function)
2037 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2038 (revert-buffer, revert-buffer--default)
2039 (revert-buffer-insert-file-contents--default-function):
2040 Doc fixes related to defaults no longer being nil.
2041 (make-backup-file-name-function): Bump :version.
2042 Restore nil as a valid but deprecated custom type.
2043
2044 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2047 used as a variable (bug#17174).
2048
2049 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * progmodes/perl-mode.el (perl-indent-new-calculate):
2052 Handle forward-sexp failure (bug#16985).
2053 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2054 modifiers introducing expressions (bug#17116).
2055
2056 2014-04-02 Glenn Morris <rgm@gnu.org>
2057
2058 * menu-bar.el (menu-bar-file-menu):
2059 * vc/ediff.el (ediff-current-file):
2060 Update for revert-buffer-function no longer being nil by default.
2061
2062 * simple.el (command-execute): Respect nil disabled-command-function.
2063
2064 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2065
2066 * simple.el (command-execute): Do not execute the command when it
2067 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2068
2069 2014-03-29 Juri Linkov <juri@jurta.org>
2070
2071 * dired-aux.el (dired-compress-file): Don't use string-match-p
2072 because its match data is used afterwards.
2073
2074 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2075
2076 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2077 0 like nil.
2078
2079 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2080
2081 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2082 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2083
2084 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2085 Don't propertize `?' or `!' as symbol constituent when after
2086 colon. (Bug#17097)
2087
2088 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2089
2090 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2091 which is no longer needed and causes trouble in GTK builds (bug#17046).
2092
2093 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2094 Use url-insert-file-contents; package-handle-response no longer exists.
2095
2096 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2097
2098 * emacs-lisp/package.el: Fix bug#16733 (again).
2099 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2100 (url-http-target-url): Remove unused declarations.
2101 (package-handle-response): Remove.
2102 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2103 (package--download-one-archive): Use current-buffer instead of
2104 dynamic binding of `buffer'.
2105 (describe-package-1): Do not decode readme-string.
2106
2107 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2108
2109 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2110
2111 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2112
2113 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2114
2115 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2116 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2117 `remote-file-name-inhibit-cache' to nil in the second pass.
2118 (tramp-find-executable): Do not call "which" on SunOS.
2119 (tramp-send-command-and-check): Fix docstring.
2120 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2121 check whether source directory has set the sticky bit.
2122
2123 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2124
2125 * simple.el (primitive-undo): Only process marker adjustments
2126 validated against their corresponding (TEXT . POS). Issue warning
2127 for lone marker adjustments in undo history. (Bug#16818)
2128 (undo-make-selective-list): Add marker adjustments to selective
2129 undo list based on whether their corresponding (TEXT . POS) is in
2130 the region. Remove variable adjusted-markers, which was unused
2131 and only non nil during undo-make-selective-list.
2132 (undo-elt-in-region): Return nil when passed a marker adjustment
2133 and explain in function doc.
2134
2135 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * emacs-lisp/package.el (package--add-to-archive-contents):
2138 Include already installed and built-in packages in
2139 `package-archive-contents'.
2140 (package-install): Don't include already installed packages in the
2141 options during interactive invocation. (Bug#16762)
2142
2143 2014-03-24 Daniel Colascione <dancol@dancol.org>
2144
2145 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2146 instead of cl-loop search function.
2147
2148 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2149
2150 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2151
2152 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2153
2154 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2155
2156 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2157
2158 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2159 Match special global variables without curlies, too.
2160 (ruby-font-lock-keywords): Simplify the matcher for special global
2161 variables. Don't require a non-word character after the variable.
2162 (Bug#17057)
2163
2164 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * simple.el (redisplay-highlight-region-function): Increase priority of
2167 overlay to make sure boundaries are visible (bug#15899).
2168
2169 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2170
2171 * frameset.el (frameset-restore): Compare display strings with equal.
2172
2173 * frame.el (make-frame): Don't quote display name in error message,
2174 it is already a string.
2175
2176 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2177
2178 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2179 the password.
2180
2181 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2182
2183 * emacs-lisp/package.el (package-show-package-list): If the buffer
2184 is already displayed in another window, switch to that window.
2185
2186 2014-03-21 Daniel Colascione <dancol@dancol.org>
2187
2188 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2189 information in bug reports.
2190
2191 2014-03-23 Daniel Colascione <dancol@dancol.org>
2192
2193 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2194 list to look for keyword arguments instead of `memq', fixing
2195 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2196 Please make bootstrap.
2197
2198 2014-03-23 Richard Stallman <rms@gnu.org>
2199
2200 * battery.el (battery-linux-sysfs): Search for each field
2201 from the beginning of the buffer.
2202
2203 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2204
2205 * emacs-lisp/package.el (package-desc): Use the contents of the
2206 quoted form, not its cdr. (Bug#16873)
2207
2208 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2209
2210 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2211 benefit of doc.c; change parameter profile to match the X function.
2212
2213 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2214
2215 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2216 and `tramp-copy-env'.
2217
2218 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2219 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2220
2221 2014-03-21 Glenn Morris <rgm@gnu.org>
2222
2223 * electric.el (electric-indent-post-self-insert-function): Add doc.
2224
2225 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2226
2227 * emacs-lisp/package.el (package-compute-transaction):
2228 Use `version-list-<=' to compare the requirement version against
2229 the version of package already to be installed. Update the error
2230 message. (Bug#16826)
2231
2232 * progmodes/ruby-mode.el (ruby-smie-rules):
2233 Add indentation rule for ` @ '. (Bug#17050)
2234
2235 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2236
2237 * align.el (align-regexp): Remove superfluous backslash.
2238
2239 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2240 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2241 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2242 Fix docstring typos.
2243 (ffap-next): Use C-u in docstring.
2244 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2245 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2246 Remove superfluous backslashes.
2247 (ffap-string-at-point): Reflow docstring.
2248
2249 * server.el (server-host): Reflow docstring.
2250 (server-unload-function): Fix docstring typo.
2251 (server-eval-at): Remove superfluous backslash.
2252
2253 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2254 (skeleton-insert): Doc fix.
2255 (skeleton-insert): Reflow docstring.
2256
2257 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2258 (tty-color-approximate, tty-color-by-index, tty-color-values)
2259 (tty-color-desc): Remove superfluous backslashes.
2260
2261 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * electric.el (electric-newline-and-maybe-indent): New command.
2264 Bind it globally to C-j.
2265 (electric-indent-mode): Don't mess with the global map any more.
2266 Don't drop the post-self-insert-hook is some buffer is still using it
2267 (bug#16770).
2268
2269 * bindings.el (global-map): Remove C-j binding.
2270
2271 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2272 the docstring of functions advised before dumping (bug#16993).
2273
2274 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2275
2276 * ps-print.el (ps-generate-postscript-with-faces):
2277 Explicitly deactivate the mark (bug#16866).
2278 * simple.el (deactivate-mark): Update region highlight.
2279
2280 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2281
2282 * emacs-lisp/package.el (describe-package-1):
2283 Decode commentary (bug#16733).
2284
2285 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2286
2287 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2288 modification of the value argument of :set (bug#16755).
2289
2290 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * simple.el (newline-and-indent): Do autofill (bug#17031).
2293
2294 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2295
2296 * newcomment.el (comment-normalize-vars): Only add escaping check
2297 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2298 (comment-beginning): Use `narrow-to-region' instead of moving back
2299 one character.
2300 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2301 (comment-start-skip): Update the docstring.
2302
2303 2014-03-18 Richard Stallman <rms@gnu.org>
2304
2305 * dired.el (dired-display-file): Force use of other window.
2306
2307 2014-03-18 Daniel Colascione <dancol@dancol.org>
2308
2309 * startup.el (tty-handle-args): Remove debug message from 2007.
2310
2311 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2314 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2315 (advice--make-1, advice-add, advice-remove):
2316 Remove braindead :advice-pending hack.
2317
2318 2014-03-17 Glenn Morris <rgm@gnu.org>
2319
2320 * calendar/calendar.el (calendar-generate-month): Apply weekend
2321 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2322
2323 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2324
2325 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2326 (tramp-call-process): Trace also DESTINATION.
2327
2328 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2329 Quote file names when they are local. Remove superfluous trace.
2330
2331 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2332
2333 * newcomment.el (comment-beginning): If `comment-start-skip'
2334 doesn't match, move back one char and try again. (Bug#16971)
2335
2336 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2337 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2338 Set `comment-start-skip' to a simpler value that doesn't try to
2339 check if the semicolon is escaped (this is handled by
2340 `syntax-ppss' now). (Bug#16971)
2341
2342 * progmodes/scheme.el (scheme-mode-variables): Same.
2343
2344 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2345
2346 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2347 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2348 current (Bug#16816, Bug#17007).
2349 (with-current-buffer-window): New macro doing the same as
2350 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2351 * help.el (help-print-return-message): Warn in doc-string to not
2352 use this in `with-help-window'.
2353 (describe-bindings-internal): Call `describe-buffer-bindings'
2354 from within help buffer. See Juanma's scenario in (Bug#16816).
2355 (with-help-window): Update doc-string.
2356 * dired.el (dired-mark-pop-up):
2357 * files.el (save-buffers-kill-emacs):
2358 * register.el (register-preview): Use `with-current-buffer-window'
2359 instead of `with-temp-buffer-window'.
2360
2361 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2362
2363 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2364 Implement inserting into current buffer, documented in their docstrings.
2365 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2366 (rst-section-tree-point, rst-forward-section, rst-indent)
2367 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2368 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2369 (rst-font-lock-handle-adornment-pre-match-form)
2370 (rst-repeat-last-character): Reflow docstrings.
2371 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2372 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2373 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2374 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2375 Fix docstring typos.
2376 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2377 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2378 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2379
2380 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2381
2382 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2383 for compatibility with other ports.
2384 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2385 from the -xrm command line argument, but in the Nextstep port its value
2386 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2387
2388 * progmodes/python.el (defconst, python-syntax-count-quotes)
2389 (python-indent-region, python-indent-shift-right)
2390 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2391 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2392 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2393 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2394 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2395 (python-shell-buffer-substring, python-shell-send-buffer)
2396 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2397 (python-completion-complete-at-point, python-fill-docstring-style)
2398 (python-eldoc-function, python-imenu-format-item-label)
2399 (python-imenu-format-parent-item-label)
2400 (python-imenu-format-parent-item-jump-label)
2401 (python-imenu--build-tree, python-imenu-create-index)
2402 (python-imenu-create-flat-index): Fix docstring typos.
2403 (python-indent-context, python-shell-prompt-regexp, run-python):
2404 Remove superfluous backslashes.
2405 (python-indent-line, python-nav-beginning-of-defun)
2406 (python-shell-get-buffer, python-shell-get-process)
2407 (python-info-current-defun, python-info-current-line-comment-p)
2408 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2409 (python-indent-post-self-insert-function, python-shell-send-file)
2410 (python-shell-completion-get-completions)
2411 (python-shell-completion-complete-or-indent)
2412 (python-eldoc--get-doc-at-point): Reflow docstrings.
2413
2414 2014-03-14 Glenn Morris <rgm@gnu.org>
2415
2416 * emacs-lisp/package.el (package-menu-mode-map):
2417 Replace use of obsolete function alias. Tweak menu item text.
2418
2419 * info.el (Info-finder-find-node):
2420 Ignore the `emacs' metapackage. (Bug#10813)
2421
2422 * finder.el (finder-list-matches): Include unversioned packages
2423 in the result of a keyword search.
2424
2425 * finder.el (finder--builtins-descriptions): New constant.
2426 (finder-compile-keywords): Use finder--builtins-descriptions.
2427
2428 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2429
2430 * simple.el (blink-matching-paren): Describe the new value,
2431 `jump', enabling the old behavior.
2432 (blink-matching-open): Use that value. (Bug#17008)
2433
2434 2014-03-14 Glenn Morris <rgm@gnu.org>
2435
2436 * finder.el (finder-no-scan-regexp): Add leim-list.
2437 (finder-compile-keywords):
2438 Don't skip files with same basename. (Bug#14010)
2439 * Makefile.in (setwins_finder): New, excluding leim.
2440 (finder-data): Use setwins_finder.
2441
2442 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2443 (help-function-arglist, help-make-usage): Move from here...
2444 * help.el (help-split-fundoc, help-add-fundoc-usage)
2445 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2446 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2447
2448 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2449
2450 * net/socks.el (socks, socks-override-functions)
2451 (socks-find-services-entry):
2452 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2453 (hif-find-ifdef-block):
2454 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2455
2456 * net/tls.el (tls-program): Reflow docstring.
2457
2458 * progmodes/pascal.el (pascal-mode-abbrev-table)
2459 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2460 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2461 (pascal-outline-mode): Fix docstring typos.
2462 (pascal-mode): Let define-derived-mode document mode hook.
2463 (pascal-uncomment-area): Reflow.
2464 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2465
2466 * progmodes/opascal.el (opascal-compound-block-indent)
2467 (opascal-case-label-indent): Fix docstring typos.
2468 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2469
2470 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2471
2472 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2473 Fontify multiple adjacent negation chars. (Bug#17004)
2474
2475 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2476
2477 * emacs-lisp/package.el (package--prepare-dependencies):
2478 Accept requirements without explicit version (bug#14941).
2479
2480 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2481
2482 * register.el (register-separator, copy-to-register): Doc fixes.
2483 (register-preview-default): Remove unnecessary call to concat.
2484
2485 * frameset.el (frameset-restore): When checking for a visible frame,
2486 use the action map instead of calling visible-frame-list.
2487
2488 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2489
2490 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2491
2492 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2493
2494 * window.el (fit-frame-to-buffer): Get maximum width from
2495 display's width instead of height.
2496
2497 2014-03-12 Glenn Morris <rgm@gnu.org>
2498
2499 * desktop.el (desktop-restore-frames)
2500 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2501 (desktop-restore-reuses-frames): Doc tweaks.
2502
2503 * electric.el (electric-indent-mode): Doc fix.
2504
2505 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2506
2507 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2508 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2509 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2510 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2511 (cvs-dired-use-hook): Fix docstring typos.
2512 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2513 Doc fixes.
2514
2515 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2516 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2517 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2518 (cvs-execute-single-dir): Fix docstring typos.
2519
2520 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2521 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2522
2523 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2524
2525 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2526 Fix docstring typos.
2527
2528 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2529
2530 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2531 called from jump-to-register after unloading the frameset package.
2532
2533 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2534
2535 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2536 (bug#16975). Deactivate the mark before setting it to nil.
2537 (activate-mark): Do nothing if region is already active.
2538
2539 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2540
2541 * frameset.el (frameset--target-display): Remove definition; declare.
2542 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2543
2544 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2547 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2548 when the advice is pending.
2549 (advice-remove): Remove this marker when not needed any more.
2550
2551 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2552
2553 * frameset.el: Separate options for reusing frames and cleaning up.
2554 (frameset--reuse-list): Remove definition; declare.
2555 (frameset--action-map): Declare.
2556 (frameset--find-frame-if): Doc fix.
2557 (frameset--restore-frame): Cache frame action.
2558 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2559 how to clean up the frame list after restoring. Remove cleaning
2560 options from REUSE-FRAMES. Change all keyword values to symbols.
2561 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2562
2563 * desktop.el (desktop-restore-forces-onscreen)
2564 (desktop-restore-reuses-frames): Use non-keyword values.
2565 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2566
2567 2014-03-10 Glenn Morris <rgm@gnu.org>
2568
2569 * files.el (find-file): Doc fix: update info node name.
2570
2571 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2572 Doc fix: remove references to deleted info nodes.
2573
2574 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2577 Do not add `nil' to the environment, when there's no remote `locale'.
2578 (tramp-find-inline-encoding): Check, that the remote host has
2579 installed perl, before sending scripts.
2580
2581 2014-03-10 Leo Liu <sdl.web@gmail.com>
2582
2583 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2584 Clear eldoc-last-message. (Bug#16920)
2585
2586 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2589 (bug#14430).
2590
2591 2014-03-09 Juri Linkov <juri@jurta.org>
2592
2593 * ansi-color.el (ansi-color-names-vector): Copy default colors
2594 from `xterm-standard-colors' that look well on the default white
2595 background (and also on the black background) to avoid illegible
2596 color combinations like yellow-on-white and white-on-white.
2597 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2598
2599 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2600
2601 * frameset.el (frameset-restore): When no frame is visible, do not
2602 generate a list of frames, just make visible the selected one.
2603
2604 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2605
2606 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2607 it only contains the repository root. (Bug#16897)
2608
2609 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2610
2611 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2612 only when `remote-file-name-inhibit-cache' is nil.
2613 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2614
2615 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2616
2617 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2618 Fix doc-strings.
2619 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2620 fit-frame-to-buffer variable. Fix doc-string.
2621 (fit-window-to-buffer): Set ONLY argument in call of
2622 fit-frame-to-buffer. Fix doc-string.
2623
2624 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2627 (tramp-action-password): Clear password cache if needed.
2628 (tramp-read-passwd): Do not clear password cache.
2629
2630 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2631 cache unless it is the first password request.
2632
2633 2014-03-06 Glenn Morris <rgm@gnu.org>
2634
2635 * simple.el (newline): Doc tweak.
2636
2637 * emacs-lisp/shadow.el (load-path-shadows-find):
2638 Ignore dir-locals. (Bug#12357)
2639
2640 2014-03-05 Glenn Morris <rgm@gnu.org>
2641
2642 * files.el (interpreter-mode-alist):
2643 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2644
2645 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2646
2647 * frameset.el (frameset--initial-params): Filter out null entries.
2648
2649 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2650
2651 * window.el (window-min-height, window-min-width):
2652 Rewrite doc-strings.
2653 (window-body-size): Add PIXELWISE argument to make it consistent
2654 with its callees.
2655
2656 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2657
2658 * finder.el (finder-mode-map, finder-mode-syntax-table):
2659 Revert part of 2014-02-28 change.
2660
2661 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2662
2663 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2664 (eww-setup-buffer): Clear next/prev/etc more reliably.
2665 (eww-textarea-map): [tab] doesn't work on tty.
2666 Reported by Mario Lang.
2667
2668 * net/shr.el (shr-map): Ditto.
2669
2670 2014-03-04 Glenn Morris <rgm@gnu.org>
2671
2672 * minibuffer.el (completion-hilit-commonality):
2673 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2674
2675 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2676
2677 * hilit-chg.el (hilit-chg-unload-function): New function.
2678 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2679 (hilit-chg-map-changes): Prefer cardinal number to digit.
2680 (hilit-chg-display-changes): Reflow docstring.
2681 (highlight-changes-rotate-faces): Remove superfluous backslash.
2682
2683 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2684
2685 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2686 `tramp-send-command-and-check'.
2687
2688 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2689
2690 * hexl.el (hexl-address-region, hexl-ascii-region)
2691 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2692 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2693 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2694 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2695 (hexl-mode): Doc fix.
2696 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2697 (hexl-mode-ruler): Fix typos in docstrings.
2698
2699 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2700 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2701 Remove superfluous backslashes.
2702 (strokes-last-stroke, strokes-global-map, strokes-mode):
2703 Reflow docstrings.
2704 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2705 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2706 (strokes-distance-squared, strokes-global-set-stroke)
2707 (strokes-global-set-stroke-string): Doc fixes.
2708 (strokes-help): Fix typos; reflow docstring.
2709
2710 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2711
2712 * window.el (window-in-direction): Fix doc-string.
2713
2714 2014-03-04 Glenn Morris <rgm@gnu.org>
2715
2716 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2717 Explicit error if no grammar.
2718 (smie-config-save): Doc fix. Fix quote typo.
2719
2720 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2723 electric-indent-mode-hook if we obey electric-indent-mode.
2724 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2725 decide whether we obey electric-indent-mode.
2726 (c-change-set-fl-decl-start, c-extend-after-change-region):
2727 Silence warnings.
2728 (c-electric-indent-mode-hook): Assume we do want to obey
2729 electric-indent-mode.
2730
2731 * electric.el (electric-indent-mode-has-been-called): Remove.
2732 (electric-indent-mode): Fix accordingly.
2733
2734 * files.el (hack-local-variables): Mention file name in warning.
2735
2736 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2737
2738 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2739
2740 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2741 * simple.el (delete-forward-char): Mark as interactive-only.
2742
2743 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2744
2745 * icomplete.el (icomplete-completions):
2746 Follow-up to 2014-03-01 change.
2747
2748 * icomplete.el: Miscellaneous doc fixes.
2749 Use Icomplete everywhere instead of icomplete for consistency.
2750 (icomplete-max-delay-chars): Fix typo.
2751 (icomplete-mode): Use \[].
2752 (icomplete-tidy, icomplete-exhibit): Reflow.
2753 (icomplete-minibuffer-setup-hook, icomplete-completions):
2754 Remove superfluous backlashes.
2755
2756 * ido.el: Miscellaneous doc fixes.
2757 Use Ido everywhere instead of ido or `ido' for consistency.
2758 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2759 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2760 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2761 (ido-separator): Extract obsolescence info from docstring and declare
2762 with make-obsolete-variable.
2763 (ido-minibuffer-setup-hook): Simplify example.
2764 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2765 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2766 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2767 (ido-everywhere): Reflow docstring.
2768 (ido-toggle-vc): Doc fix.
2769 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2770 of long list of keybindings.
2771
2772 2014-03-03 Glenn Morris <rgm@gnu.org>
2773
2774 * frame.el (display-pixel-height, display-pixel-width)
2775 (display-mm-dimensions-alist, display-mm-height)
2776 (display-mm-width): Doc tweaks.
2777
2778 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2779
2780 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2781 case of undo in region.
2782
2783 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2784
2785 * window.el (fit-window-to-buffer): Fix argument in window-size
2786 call when window is horizontally combined.
2787
2788 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * icomplete.el (icomplete-completions): Use string-width.
2791 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2792
2793 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2794
2795 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2796 Highlight regexp options. (Bug#16914)
2797
2798 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2799
2800 * window.el (window--max-delta-1): Round down when calculating
2801 how many lines/columns we can get from a window.
2802
2803 2014-03-01 Glenn Morris <rgm@gnu.org>
2804
2805 * isearch.el (search-invisible): Doc fix.
2806
2807 * minibuffer.el (completion-hilit-commonality):
2808 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2809 * comint.el (comint-dynamic-list-completions): Doc fix.
2810 * comint.el (comint-dynamic-list-completions):
2811 * filecache.el (file-cache-minibuffer-complete):
2812 * tempo.el (tempo-display-completions):
2813 * eshell/em-hist.el (eshell-list-history):
2814 Replace use of obsolete argument of display-completion-list.
2815
2816 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2817
2818 * icomplete.el (icomplete-completions):
2819 Revert back to using "..." when ?… cannot be displayed.
2820
2821 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2822
2823 * finder.el (finder-unload-function): New function.
2824
2825 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2826
2827 * dframe.el (dframe-detach):
2828 * find-dired.el (find-dired, find-name-dired):
2829 * finder.el (finder-mode-map, finder-mode-syntax-table)
2830 (finder-headmark, finder-select, finder-mouse-select):
2831 Fix docstring typos.
2832
2833 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2834
2835 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2836 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2837 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2838 Fix doc-string based on a suggestion by Nicolas Richard
2839 <theonewiththeevillook@yahoo.fr>.
2840 * help.el (with-help-window): Fix doc-string.
2841
2842 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2843
2844 * net/shr.el (shr-image-animate): New option.
2845 (shr-put-image): Respect shr-image-animate.
2846
2847 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2848
2849 * net/tramp-adb.el (tramp-adb-parse-device-names):
2850 Use `accept-process-output'.
2851 (tramp-adb-handle-file-truename): Cache the localname only.
2852 (tramp-adb-handle-make-directory)
2853 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2854 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2855 modes cannot be changed.
2856
2857 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2858 file properties of symlinks.
2859
2860 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2861
2862 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2863 required/optional fields to match development biblatex. (Bug#16781)
2864
2865 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2866
2867 * saveplace.el (toggle-save-place):
2868 Fix argument handling. (Bug#16673)
2869
2870 2014-02-28 Glenn Morris <rgm@gnu.org>
2871
2872 * minibuffer.el (completions-first-difference)
2873 (completions-common-part, completion-hilit-commonality): Doc fixes.
2874
2875 2014-02-28 Karl Berry <karl@gnu.org>
2876
2877 * info.el (Info-mode-map): Add H for describe-mode,
2878 to synchronize with standalone Info.
2879
2880 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2881
2882 * progmodes/sql.el (sql-interactive-mode):
2883 Avoid setting global comint-input-ring-separator. (Bug#16814)
2884
2885 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2886
2887 * net/dbus.el (dbus--init-bus): Declare function.
2888 (dbus-path-local, dbus-interface-local): New defconst.
2889 (dbus-init-bus): Use them.
2890 (dbus-return-values-table): Extend doc.
2891 (dbus-handle-bus-disconnect): Extend error message.
2892
2893 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2894
2895 * subr.el (y-or-n-p): Fix double space issue in message.
2896
2897 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * net/tramp.el (tramp-call-process): Improve trace message.
2900 (tramp-handle-insert-file-contents): Trace error case.
2901
2902 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2903 <insert-directory>: Use `tramp-handle-insert-directory'.
2904 (tramp-adb-handle-insert-directory): Remove function.
2905 (tramp-adb-send-command-and-check): New defun, replacing
2906 `tramp-adb-command-exit-status'. Change all callees.
2907 (tramp-adb-handle-file-attributes)
2908 (tramp-adb-handle-directory-files-and-attributes): Use it.
2909 (tramp-adb-ls-output-name-less-p):
2910 Use `directory-listing-before-filename-regexp'.
2911 (tramp-adb-handle-delete-directory): Flush also file properties of
2912 the truename of directory.
2913 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2914 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2915 (tramp-adb-handle-write-region): Implement APPEND.
2916 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2917 properties correctly.
2918 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2919 variables. Check for connected devices only when needed.
2920
2921 2014-02-27 Glenn Morris <rgm@gnu.org>
2922
2923 * minibuffer.el (completion-table-dynamic)
2924 (completion-table-with-cache): Doc fixes.
2925
2926 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2927 (completing-read-multiple): Doc fixes.
2928
2929 2014-02-27 Daniel Colascione <dancol@dancol.org>
2930
2931 * minibuffer.el (completion--nth-completion): Fix indentation.
2932
2933 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2934 explicit tramp path is empty.
2935
2936 2014-02-27 Glenn Morris <rgm@gnu.org>
2937
2938 * emacs-lisp/crm.el (completing-read-multiple):
2939 Empower help-enable-auto-load.
2940
2941 2014-02-26 Glenn Morris <rgm@gnu.org>
2942
2943 * startup.el (command-line): Don't init the tty in daemon mode.
2944
2945 Avoid calling tty-setup-hook twice, eg if a term file
2946 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2947 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2948 (tty-create-frame-with-faces): Use it.
2949 * startup.el (command-line): Pass run-hook argument
2950 to tty-run-terminal-initialization.
2951
2952 * dired.el (dired-restore-desktop-buffer): Demote errors;
2953 eg in case a glob match fails. (Bug#16884)
2954
2955 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2956
2957 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2958 error from `read-from-string'. (Bug#16850)
2959
2960 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2961 result of `completing-read' in the interactive form. (Bug#16854)
2962
2963 2014-02-25 Glenn Morris <rgm@gnu.org>
2964
2965 * image.el (image-animate, image-animate-timeout):
2966 Stop animating images in dead buffers. (Bug#16878)
2967
2968 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2969
2970 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2971 Doc fixes.
2972 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2973 * term/sun.el (sun-raw-prefix-hooks):
2974 Use tty-setup-hook instead of term-setup-hook.
2975 (terminal-init-sun): Construct message from bytecomp plist.
2976 * term/wyse50.el (enable-arrow-keys): Doc fix.
2977
2978 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2979
2980 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2981 Fix docstring typos.
2982
2983 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2984
2985 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2986
2987 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2988
2989 * minibuffer.el (completion--try-word-completion):
2990 Fix error when completing M-x commands (bug#16808).
2991
2992 2014-02-24 Leo Liu <sdl.web@gmail.com>
2993
2994 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2995
2996 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2997
2998 * apropos.el (apropos-print): Avoid formatting error when
2999 apropos-do-all and apropos-compact-layout are both t.
3000
3001 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3002
3003 * apropos.el (apropos-property, apropos-all-words-regexp)
3004 (apropos-true-hit, apropos-variable, apropos-print):
3005 Fix docstring typos, and remove obsolete comment.
3006
3007 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3010 Preserve trailing "/". (Bug#16851)
3011
3012 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3013
3014 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3015 after `=>' (bug#16811).
3016 (ruby-smie-rules): Handle the inconsistent second element of the
3017 list returned by `smie-indent--parent'.
3018 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3019 method call.
3020
3021 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3022
3023 * elec-pair.el (electric-pair-text-syntax-table)
3024 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3025 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3026 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3027 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3028
3029 2014-02-22 Glenn Morris <rgm@gnu.org>
3030
3031 * imenu.el (imenu--generic-function): Doc fix.
3032
3033 * register.el (frame-configuration-to-register): Make obsolete.
3034
3035 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3036
3037 * desktop.el (desktop-save-buffer-p): Do not fail when
3038 desktop-files-not-to-save is nil. Return t for true result
3039 as the doc says.
3040
3041 2014-02-22 Daniel Colascione <dancol@dancol.org>
3042
3043 * net/secrets.el (secrets-create-item, secrets-search-items):
3044 Check that attribute values are strings, avoiding the construction
3045 of invalid dbus messages.
3046
3047 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3048
3049 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3050 defun-declarations-alist.
3051
3052 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3055 (bug#16829).
3056
3057 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3058
3059 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3060 (whitespace-newline, whitespace-trailing, whitespace-line)
3061 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3062 (whitespace-space-after-tab): Fix typo in docstrings.
3063
3064 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3065
3066 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3067
3068 * electric.el (electric-indent-functions-without-reindent):
3069 Add `yaml-indent-line'.
3070
3071 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3072
3073 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3074 It has done nothing for years; should be removed after the release.
3075
3076 * simple.el (choose-completion): Fix docstring typo.
3077 (read-quoted-char-radix): Remove unneeded * in docstring.
3078 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3079 Don't escape parentheses unnecessarily in docstrings.
3080
3081 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3082
3083 Fix handling of window-min-height/-width (Bug#16738).
3084 * window.el (window--dump-window, window--dump-frame):
3085 New functions.
3086 (window--min-size-1): Account for window dividers.
3087 When window-resize-pixelwise is nil, delay rounding till after the
3088 sum of the window components has been calculated.
3089 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3090 nil make sure at least one text line and two text columns remain
3091 fully visible.
3092 (window-resize): Signal an error when window-resize-apply fails.
3093 (window--resize-child-windows): Fix calculation of by how many
3094 pixels a window can still be shrunk via window-new-normal.
3095 (adjust-window-trailing-edge): Call window--resizable with
3096 correct TRAIL argument.
3097
3098 (with-temp-buffer-window): Don't evaluate BODY within
3099 with-current-buffer (Bug#16816).
3100
3101 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3102
3103 * net/tramp.el (tramp-check-cached-permissions):
3104 Call `file-attributes' with `suffix' being a symbol but a string.
3105
3106 2014-02-21 Daniel Colascione <dancol@dancol.org>
3107
3108 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3109 (dbus-init-bus): New function: call into dbus-init-bus-1
3110 and installs a handler for the disconnect signal.
3111 (dbus-call-method): Rewrite to look for result in cons.
3112 (dbus-call-method-handler): Store result in cons.
3113 (dbus-check-event): Recognize events with nil sender as valid.
3114 (dbus-handle-bus-disconnect): New function. React to bus
3115 disconnection signal by synthesizing dbus error for each
3116 pending synchronous or asynchronous call.
3117 (dbus-notice-synchronous-call-errors): New function.
3118 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3119 is true, not all the time.
3120
3121 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3122
3123 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3124 Remove obsolescence declarations, these variables do not exist anymore.
3125
3126 * savehist.el (savehist-save-minibuffer-history)
3127 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3128 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3129 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3130 mostly, refer to "Savehist mode" when talking about the mode,
3131 and not the function.
3132
3133 * saveplace.el (save-place): Remove redundant info in docstring.
3134 (save-place-forget-unreadable-files, toggle-save-place)
3135 (save-place-forget-unreadable-files, save-place-dired-hook):
3136 Fix typos and remove unneeded backslashes.
3137
3138 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3139
3140 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3141 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3142
3143 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3144 <insert-directory>: Use `tramp-handle-insert-directory'.
3145 (tramp-gvfs-handle-insert-directory): Remove function.
3146
3147 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3148 Call `tramp-handle-insert-directory'.
3149
3150 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3151
3152 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3153 before the start of buffer/region (bug#16799).
3154
3155 2014-02-20 Glenn Morris <rgm@gnu.org>
3156
3157 * isearch.el (search-invisible): Doc fix.
3158
3159 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3160
3161 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3162 (bug#16657).
3163
3164 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3165
3166 * frameset.el (frameset-restore): Delay removing an old frame's
3167 duplicate id until the new frame has been correctly created.
3168
3169 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3170
3171 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3172 (tramp-check-cached-permissions): Call `file-attributes' if the
3173 cache is empty.
3174
3175 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3176 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3177
3178 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3179 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3180 (tramp-gvfs-maybe-open-connection): Set always connection
3181 properties, even if target is mounted already.
3182
3183 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3184 Set tramp-autoload cookie.
3185 (tramp-get-remote-touch): New defun.
3186 (tramp-sh-handle-set-file-times): Use it.
3187 (tramp-sh-handle-directory-files-and-attributes):
3188 Use `tramp-handle-directory-files-and-attributes' if neither stat
3189 nor perl are available on the remote host.
3190
3191 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3192 "/". Write long listing only when "l" belongs to the switches.
3193
3194 * net/trampver.el: Update release number.
3195
3196 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3197
3198 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3199
3200 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3201
3202 * window.el (window-state-put): Allow WINDOW to refer to an
3203 internal window (Bug#16793).
3204
3205 2014-02-19 Glenn Morris <rgm@gnu.org>
3206
3207 * textmodes/remember.el: Move provide statement to end.
3208 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3209 (remember-notes): Doc fixes.
3210
3211 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * delsel.el (delete-char): Restore incorrectly erased property
3214 (bug#16795).
3215
3216 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3217
3218 * frameset.el (frameset--restore-frame): When a frame is being reused
3219 and its root window is not alive, delete all the frame's windows before
3220 restoring the window state. This works around the issue in bug#16793.
3221
3222 2014-02-18 Glenn Morris <rgm@gnu.org>
3223
3224 * textmodes/remember.el (remember-data-directory)
3225 (remember-directory-file-name-format, remember-store-in-files)
3226 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3227 (remember-notes-save-and-bury-buffer)
3228 (remember-notes--kill-buffer-query): Doc fixes.
3229
3230 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3231
3232 2014-02-17 Alan Mackenzie <acm@muc.de>
3233
3234 Connect electric-indent-mode up with CC Mode. Bug #15478.
3235 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3236 to electric-indent-{,local-}-mode.
3237 (c-basic-common-init): Set electric-indent-inhibit.
3238 Initialise c-electric-flag from electric-indent-mode.
3239 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3240 New hook functions which propagate electric-indent-mode to CC mode.
3241
3242 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3243 hit, toggle electric-indent-local-mode.
3244
3245 * electric.el (electric-indent-mode-has-been-called):
3246 New variable.
3247
3248 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3249
3250 * frameset.el (frameset-cfg-id): New function.
3251 (frameset--reuse-frame, frameset-restore): Use it.
3252 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3253
3254 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * ido.el (ido-file-internal): Remove unused var `d'.
3257 Use \` for to match BoS. Fit within 80n columns.
3258
3259 2014-02-17 Daniel Colascione <dancol@dancol.org>
3260
3261 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3262 dbus-call-method check for completion using a busy-wait loop with
3263 gradual backoff.
3264
3265 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3266
3267 Sync with Tramp 2.2.9.
3268
3269 * net/trampver.el: Update release number.
3270
3271 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3272
3273 * ido.el (ido-file-internal): Don't add the name of an existing
3274 directory twice. (Bug#16747)
3275
3276 2014-02-16 Glenn Morris <rgm@gnu.org>
3277
3278 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3279 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3280
3281 2014-02-15 Michael R. Mauger <michael@mauger.com>
3282
3283 * progmodes/sql.el: Version 3.4
3284 (sql-oracle-options): New default value ("-L").
3285 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3286 (sql-placeholders-filter): Correct placeholder pattern.
3287 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3288 (sql-login-delay): New variable.
3289 (sql-product-interactive): Use it.
3290
3291 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3292
3293 * frameset.el (frameset--jump-to-register): Check that buffer is live
3294 (bug#16749).
3295
3296 2014-02-15 Glenn Morris <rgm@gnu.org>
3297
3298 * info.el (info-initialize): Revert 2014-01-10 change.
3299
3300 2014-02-14 Glenn Morris <rgm@gnu.org>
3301
3302 * replace.el (map-query-replace-regexp)
3303 (read-regexp-defaults-function, read-regexp): Doc fixes.
3304
3305 * dired.el (dired-read-regexp):
3306 * faces.el (list-faces-display):
3307 * misearch.el (multi-isearch-read-matching-buffers)
3308 (multi-isearch-read-matching-files):
3309 * play/cookie1.el (cookie-apropos):
3310 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3311
3312 * textmodes/remember.el (remember): Use frameset-to-register
3313 rather than frame-configuration-to-register.
3314
3315 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3316
3317 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3318 incorrect keybinding.
3319
3320 2014-02-13 Daniel Colascione <dancol@dancol.org>
3321
3322 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3323 when adding overlays so that line numbers from compiler match line
3324 numbers we use.
3325
3326 2014-02-13 Glenn Morris <rgm@gnu.org>
3327
3328 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3329
3330 * jit-lock.el (jit-lock-mode): Doc fix.
3331
3332 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3333
3334 * apropos.el (apropos-read-pattern): When the user passes an empty
3335 string, give a more helpful error message than "Wrong type
3336 argument: stringp, nil".
3337
3338 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3341
3342 2014-02-13 Glenn Morris <rgm@gnu.org>
3343
3344 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3345
3346 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3349 shift-select commands.
3350
3351 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3352
3353 * progmodes/js.el (js-indent-line): Don't widen.
3354 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3355
3356 2014-02-12 Glenn Morris <rgm@gnu.org>
3357
3358 * icomplete.el (icomplete): Add info-link to defgroup.
3359 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3360 (icomplete-minibuffer-map, icomplete-mode)
3361 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3362
3363 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3364 (package-menu-filter): Rename from package-menu-filter-interactive.
3365 Doc fix.
3366
3367 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3368
3369 * frameset.el (frameset--jump-to-register): Select the required
3370 window and buffer before restoring position (bug#16696).
3371
3372 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3373
3374 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3375
3376 2014-02-10 Glenn Morris <rgm@gnu.org>
3377
3378 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3379
3380 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3381
3382 * w32-common-fns.el (x-get-selection): Doc fix.
3383 * select.el (x-get-selection): Doc fix. (Bug#15109)
3384
3385 * face-remap.el (face-remap-add-relative)
3386 (face-remap-remove-relative, face-remap-reset-base)
3387 (face-remap-set-base): Call force-mode-line-update to redisplay
3388 the current buffer due to potential change in faces. (Bug#16709)
3389
3390 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3391
3392 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3393 script more robustly.
3394
3395 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3396
3397 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3398
3399 * simple.el (choose-completion): Doc fix (bug#14160).
3400
3401 * subr.el (event-start): Say what a nil EVENT value means.
3402
3403 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3404 (bug#14197).
3405
3406 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3407
3408 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3409
3410 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3411
3412 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3413 predicate function (bug#15455).
3414
3415 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3416
3417 * ielm.el (inferior-emacs-lisp-mode): Instead of
3418 `comment-use-global-state', set `comment-use-syntax'.
3419
3420 2014-02-10 Glenn Morris <rgm@gnu.org>
3421
3422 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3423
3424 2014-02-09 Alan Mackenzie <acm@muc.de>
3425
3426 Fix c-invalidate-state-cache on narrowed buffers.
3427 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3428 Widen when setting and clearing the CPP delimiter properties.
3429
3430 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3431
3432 * help.el (describe-bindings): Doc fix (bug#9888).
3433
3434 * files.el (save-buffer): Use ARG as the parameter name for
3435 consistency (bug#10346).
3436 (save-buffer): Clarify the 0 argument (bug#10346).
3437
3438 * cus-edit.el (customize-apropos): Fix error string.
3439 (custom-buffer-create): Doc fix (bug#11122).
3440 (custom-sort-items): Doc fix (bug#11121).
3441
3442 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3443
3444 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3445 (icomplete-simple-completing-p): Mention the previous variable.
3446
3447 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3448 meaning of the parameter (bug#12282).
3449
3450 * files.el (find-file-noselect): Clarify prompt when changing
3451 readedness (bug#13261).
3452 (locate-file): Suffixes aren't returned, so don't say that they
3453 are (bug#12674).
3454 (backup-inhibited): Doc clarification (bug#12525).
3455
3456 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3457 before we actually start to delete things (bug#16331).
3458
3459 * subr.el (event-start): Doc fix (bug#14228).
3460 (event-end): Ditto.
3461
3462 2014-02-09 Glenn Morris <rgm@gnu.org>
3463
3464 * emacs-lisp/warnings.el (lwarn):
3465 Empower help-enable-auto-load. (Bug#15940)
3466
3467 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3468
3469 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3470 (Bug#16690)
3471
3472 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3473
3474 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3475 Insert output at end of buffer. (Bug#16120)
3476
3477 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3478
3479 * simple.el (choose-completion-string-functions): Document new
3480 calling convention (bug#14153).
3481 (execute-extended-command): Clarify doc string (bug#13373).
3482
3483 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3484
3485 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3486 (find-grep-dired): Doc fix (bug#14288).
3487
3488 2014-02-08 Juri Linkov <juri@jurta.org>
3489
3490 * isearch.el (isearch-quote-char): Check character validity
3491 like in `quoted-insert' (bug#16677).
3492
3493 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3494
3495 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3496
3497 * isearch.el (isearch-hide-immediately): Doc clarification
3498 (bug#14723).
3499
3500 * simple.el (line-move): Document utility function used many
3501 places in the Emacs sources (bug#14843).
3502
3503 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3504 (dired-prev-marked-file): Doc fix (bug#14855).
3505 (dired-up-directory): Doc fix (bug#14848).
3506
3507 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3508
3509 * files.el (file-relative-name): Doc fix (bug#15159).
3510
3511 * fringe.el (fringe-styles): Doc fix (bug#15239).
3512
3513 * isearch.el (isearch-filter-predicate): Documentation typo fix
3514 (bug#15474).
3515
3516 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3517
3518 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3519
3520 * replace.el (replace-match-maybe-edit): Doc clarification
3521 (bug#15632).
3522
3523 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3524
3525 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3526
3527 2014-02-08 Glenn Morris <rgm@gnu.org>
3528
3529 * help-fns.el (describe-variable):
3530 Check {file,dir}-local-variables-alist, and buffer-file-name,
3531 in the correct buffer.
3532
3533 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3534
3535 * help-fns.el (describe-variable): Fix the case where
3536 a value is directory-local with no dir-locals file. (Bug#16635)
3537
3538 2014-02-08 Glenn Morris <rgm@gnu.org>
3539
3540 * abbrev.el (edit-abbrevs-mode):
3541 Derive from fundamental-mode. (Bug#16682)
3542
3543 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3544
3545 * simple.el (quoted-insert): Check character validity (bug#16677).
3546
3547 2014-02-07 Juri Linkov <juri@jurta.org>
3548
3549 * desktop.el (desktop-read): Claim the lock when the owner is not
3550 the current process. (Bug#16157)
3551
3552 2014-02-07 Juri Linkov <juri@jurta.org>
3553
3554 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3555 to "\\` ". (Bug#16651)
3556
3557 2014-02-07 Juri Linkov <juri@jurta.org>
3558
3559 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3560 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3561 (desktop-auto-save-cancel-timer): New function with some code from
3562 `desktop-auto-save-set-timer'.
3563 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3564 Instead of setting `desktop-save-mode' to nil, call
3565 `desktop-save-mode' with arg 0. (Bug#16630)
3566
3567 2014-02-07 Glenn Morris <rgm@gnu.org>
3568
3569 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3570 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3571 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3572
3573 * obsolete/iswitchb.el: Move to obsolete/.
3574 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3575 since obsolete/ is not scanned for autoloads.
3576 * emacs-lisp/authors.el (authors-valid-file-names):
3577 Add iswitchb.el.
3578
3579 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3580 Disable now non-functional find-file-hook.
3581
3582 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3583
3584 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3585 instead of ";" in order to avoid additional prompts. Let heredoc
3586 scripts read from tty. (Bug#16582)
3587 (tramp-send-command): No special handling of heredocs, it isn't
3588 necessary anymore.
3589
3590 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3593 with a space (bug#16664). Limit the symbols considered to the ones
3594 that are bound or fbound (bug#16646).
3595
3596 2014-02-06 Glenn Morris <rgm@gnu.org>
3597
3598 * epa.el (epa-mail-aliases): Doc fix.
3599
3600 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3601
3602 * emacs-lisp/lisp.el (lisp-completion-at-point):
3603 Use `completion-table-merge' instead of `completion-table-in-turn'
3604 (bug#16604).
3605
3606 * minibuffer.el (completion-table-merge): New function.
3607
3608 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3609
3610 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3611 (tramp-sh-handle-set-file-acl)
3612 (tramp-sh-handle-start-file-process)
3613 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3614 (tramp-find-executable, tramp-send-command): Use it.
3615
3616 2014-02-05 Glenn Morris <rgm@gnu.org>
3617
3618 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3619
3620 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3621
3622 * progmodes/python.el (python-shell-send-string)
3623 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3624
3625 2014-02-04 Anders Lindgren <andlind@gmail.com>
3626
3627 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3628 the names (bug#16620).
3629
3630 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3631
3632 * faces.el (window-divider): New default value. Rewrite doc-string.
3633 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3634
3635 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3636
3637 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3638 `protected' and `public' can also be called without arguments.
3639
3640 2014-02-03 Glenn Morris <rgm@gnu.org>
3641
3642 * register.el (window-configuration-to-register)
3643 (frame-configuration-to-register): Unadvertise unused argument.
3644 * frameset.el (frameset-to-register): Remove unused argument.
3645
3646 * frameset.el (frameset-to-register):
3647 * kmacro.el (kmacro-to-register):
3648 * register.el (increment-register):
3649 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3650 (calc-append-to-register, calc-prepend-to-register):
3651 * play/gametree.el (gametree-layout-to-register)
3652 (gametree-apply-register-layout):
3653 * textmodes/picture.el (picture-clear-rectangle-to-register)
3654 (picture-yank-rectangle-from-register):
3655 * vc/emerge.el (emerge-combine-versions-register):
3656 Use register-read-with-preview to read registers.
3657
3658 2014-02-03 João Távora <joaotavora@gmail.com>
3659
3660 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3661 when at beginning of (possibly narrowed) buffer.
3662
3663 2014-02-02 Daniel Colascione <dancol@dancol.org>
3664
3665 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3666 Also try to display local help from just before point.
3667
3668 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3669
3670 c-parse-state. Don't "append-lower-brace-pair" in certain
3671 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3672 recognised as a comment.
3673
3674 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3675 as well as normal comment starter.
3676 (c-parse-state-get-strategy): Extra return possibility
3677 'back-and-forward.
3678 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3679 return value list to indicate replacement of a brace-pair cons
3680 with its car.
3681 (c-parse-state-1): With 'back-and-forward, only call
3682 c-append-lower-brace-pair-to state-cache when cons-separated.
3683
3684 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3685
3686 * term/ns-win.el (ns-suspend-error): New function.
3687 (ns-initialize-window-system): Add ns-suspend-error to
3688 suspend-hook (Bug#16612).
3689
3690 2014-02-02 Daniel Colascione <dancol@dancol.org>
3691
3692 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3693 Make loading cc-mode silent.
3694
3695 2014-02-02 Daniel Colascione <dancol@dancol.org>
3696
3697 * comint.el (comint-prompt-read-only): Change doc to suggest
3698 remap keybinding.
3699
3700 2014-02-02 Glenn Morris <rgm@gnu.org>
3701
3702 * register.el (register-read-with-preview, point-to-register)
3703 (window-configuration-to-register, frame-configuration-to-register)
3704 (jump-to-register, number-to-register, view-register, insert-register)
3705 (copy-to-register, append-to-register, prepend-to-register)
3706 (copy-rectangle-to-register): Doc fixes.
3707
3708 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3711 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3712 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3713 * help-fns.el (describe-function-1): Use it.
3714
3715 2014-02-02 Glenn Morris <rgm@gnu.org>
3716
3717 * register.el (register-preview-default): New function,
3718 split from register-preview.
3719 (register-preview-function): Rename from register-preview-functions,
3720 make it not a hook.
3721 (register-preview): Use register-preview-function.
3722 (register-read-with-preview): Error on non-character event. (Bug#16595)
3723
3724 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3725
3726 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3727 `:' before binary operators (bug#16609). Don't check for `:'
3728 before `[' and `(', or their syntax status. A percent literal
3729 can't end with either.
3730 (ruby-font-lock-keywords): For built-ins that require arguments,
3731 check that they're followed by something that looks like argument
3732 (bug#16610).
3733
3734 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3735
3736 * subr.el (butlast): Document what an omitted N means (bug#13437).
3737 (nbutlast): Ditto.
3738
3739 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3740
3741 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3742 depth shallower (bug#16587).
3743 (shr-tag-svg): Respect `shr-inhibit-images'.
3744 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3745
3746 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3747
3748 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3749 (ruby-smie-grammar): Make "." right-associative. Make its priority
3750 lower than the ternary and all binary operators.
3751 (ruby-smie-rules): Indent "(" relative to the first non-"."
3752 parent, or the first "." parent at indentation.
3753 Use `ruby-align-chained-calls' for indentation of "." tokens.
3754 (Bug#16593)
3755
3756 2014-01-31 Juri Linkov <juri@jurta.org>
3757
3758 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3759 from `make-hash-table'.
3760
3761 * textmodes/ispell.el (ispell-init-process): Change message format
3762 to be consistent with other messages.
3763
3764 2014-01-31 Glenn Morris <rgm@gnu.org>
3765
3766 * delsel.el (delete-selection-mode): Doc fix.
3767
3768 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3769 (trace-function-background): Doc fixes.
3770
3771 * ido.el (ido-use-virtual-buffers): Doc fix.
3772 Reset :version, since the default value has not changed.
3773
3774 * register.el (register-preview-delay, register-read-with-preview):
3775 Doc fixes.
3776
3777 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3778 do not mess with mail-buffer position (fixes 2009-11-03 change).
3779 * progmodes/cc-mode.el (c-submit-bug-report):
3780 Check auto-fill-mode is bound. (Bug#16592)
3781
3782 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3783
3784 * startup.el (fancy-splash-image-file): New function,
3785 split from fancy-splash-head.
3786 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3787 so that we are both using the same image. (Bug#16574)
3788
3789 2014-01-30 Glenn Morris <rgm@gnu.org>
3790
3791 * simple.el (eval-expression): Doc fix.
3792
3793 * hexl.el (hexl-mode-hook):
3794 * ielm.el (ielm-mode-hook):
3795 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3796 (lisp-interaction-mode-hook):
3797 * progmodes/cfengine.el (cfengine3-documentation-function):
3798 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3799
3800 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3803 is a symbol (bug#16584).
3804
3805 2014-01-30 Glenn Morris <rgm@gnu.org>
3806
3807 * help.el (help-for-help-internal): Add "P" to text.
3808
3809 2014-01-29 Glenn Morris <rgm@gnu.org>
3810
3811 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3812
3813 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3814
3815 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3816 height constraints.
3817
3818 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3819
3820 * progmodes/hideif.el: Extend to full CPP expression syntax.
3821 (hif-token-alist): Add missing tokens.
3822 (hif-token-regexp): Add support for float/octal/hex immediates.
3823 (hif-string-literal-regexp): New const.
3824 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3825 (hif-exprlist): New function.
3826 (hif-parse-if-exp): Use it.
3827 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3828 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3829 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3830 (hif-logxor, hif-comma): New functions.
3831
3832 2014-01-28 Glenn Morris <rgm@gnu.org>
3833
3834 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3835
3836 * indent.el (tab-stop-list): Doc fix. Add :version.
3837
3838 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3839 (cvs-append-to-ignore): Add compatibility alias.
3840
3841 2014-01-27 Glenn Morris <rgm@gnu.org>
3842
3843 * dired.el (dired-hide-details-mode): Don't autoload it,
3844 since it cannot be used outside Dired buffers anyway.
3845
3846 * emulation/cua-base.el (cua-mode): Doc fix.
3847
3848 * dired.el (dired-hide-details-hide-symlink-targets)
3849 (dired-hide-details-hide-information-lines)
3850 (dired-hide-details-mode): Doc fixes.
3851
3852 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3853 * strokes.el (strokes-file): Doc fix. Bump :version.
3854 (strokes-help): Doc fix.
3855 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3856 * emulation/viper.el (viper): Doc fix for custom group.
3857 (top-level): Remove oh-so-no-longer-relevant text about vip.
3858 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3859
3860 * ido.el (ido-save-directory-list-file):
3861 * saveplace.el (save-place-file):
3862 * calendar/timeclock.el (timeclock-file):
3863 * net/quickurl.el (quickurl-url-file):
3864 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3865 * progmodes/idlwave.el (idlwave-config-directory):
3866 * textmodes/remember.el (remember-data-file):
3867 Bump :version.
3868
3869 2014-01-26 Glenn Morris <rgm@gnu.org>
3870
3871 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3872 Doc fix. Make obsolete.
3873 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3874
3875 * sort.el (delete-duplicate-lines): Doc fix.
3876
3877 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3878
3879 * progmodes/ada-mode.el (ada):
3880 * woman.el (woman): Link to info manual and Commentary section.
3881
3882 * progmodes/flymake.el (flymake):
3883 * nxml/nxml-mode.el (nxml):
3884 * net/eww.el (eww):
3885 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3886 * htmlfontify.el (htmlfontify):
3887 * ses.el (ses):
3888 * epa.el (epa):
3889 * ido.el (ido): Link to info manual.
3890
3891 2014-01-25 Leo Liu <sdl.web@gmail.com>
3892
3893 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3894
3895 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3896
3897 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3898 (bug#16537).
3899
3900 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3901
3902 * net/eww.el (eww-download-callback):
3903 Fix reference to eww-download-directory.
3904
3905 * emacs-lisp/bytecomp.el (byte-compile-file):
3906 Remove unused local variable `file-name'.
3907
3908 2014-01-24 Glenn Morris <rgm@gnu.org>
3909
3910 * woman.el (woman-default-faces, woman-monochrome-faces):
3911 Fix obsolescence specification.
3912
3913 * subr.el (with-demoted-errors): Doc fix.
3914
3915 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3918 (cl--macroexp-fboundp): New function.
3919 (cl--make-type-test): Use it.
3920
3921 2014-01-23 Glenn Morris <rgm@gnu.org>
3922
3923 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3924 * simple.el (eval-expression): Doc fixes.
3925
3926 2014-01-22 Glenn Morris <rgm@gnu.org>
3927
3928 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3929
3930 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * emacs-lisp/package.el: Write files silently.
3933 (package-autoload-ensure-default-file, package--write-file-no-coding)
3934 (package-generate-description-file, package--download-one-archive)
3935 (package-install-from-archive): Tell `write-region' to stay quiet.
3936 (package-menu-mode, package-menu--print-info): Omit the Archive column
3937 if there's only one archive.
3938 (package-all-keywords, package--has-keyword-p): Remove dead code.
3939
3940 2014-01-22 Glenn Morris <rgm@gnu.org>
3941
3942 * version.el (emacs-bzr-version-bzr): Fix typo.
3943
3944 * version.el (emacs-repository-get-version):
3945 Check either .bzr or .git, but not both.
3946 Make the git case actually use the DIR argument, and return nil
3947 rather than the empty string.
3948 Avoid error if .git exists but the git executable is not found.
3949
3950 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3951
3952 Fixes in window size functions around Bug#16430 and Bug#16470.
3953 * window.el (window-total-size, window-size): New argument ROUND.
3954 (window--min-delta-1, window-min-delta, window--max-delta-1):
3955 Be more conservative when calculating the numbers of lines or
3956 columns a window can shrink (Bug#16430).
3957 (fit-window-to-buffer): Simplify code.
3958 * term.el (term-window-width): Call window-body-width again.
3959
3960 2014-01-22 Glenn Morris <rgm@gnu.org>
3961
3962 * image.el (image-format-suffixes): Doc fix.
3963
3964 * international/quail.el (quail-define-package): Doc fix.
3965
3966 * emacs-lisp/authors.el (authors-valid-file-names)
3967 (authors-renamed-files-alist): Additions.
3968
3969 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3970 reverts 2014-01-09 change. (Bug#16422)
3971
3972 * calc/calc-embed.el (thing-at-point-looking-at):
3973 * emacs-lisp/map-ynp.el (x-popup-dialog):
3974 * obsolete/lmenu.el (x-popup-dialog):
3975 * emacs-lisp/package.el (url-recreate-url):
3976 * mail/mailclient.el (clipboard-kill-ring-save):
3977 * subr.el (x-popup-dialog): Update declaration.
3978 * mail/rmail.el (rmail-mime-message-p):
3979 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3980
3981 2014-01-21 Daniel Colascione <dancol@dancol.org>
3982
3983 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3984 Correctly detect when we're inside an arithmetic expansion form
3985 containing nested parenthesis.
3986 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3987 to detect cases where we shouldn't expand "<<" to a heredoc
3988 skeleton.
3989
3990 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3993 (eldoc--message-command-p): New function.
3994 (eldoc-display-message-p): Use it.
3995 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3996 message is not automatically erased for us.
3997 (eldoc-print-current-symbol-info): Erase previous message, if any.
3998
3999 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4000
4001 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4002 specify it's an interactive function.
4003
4004 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4005 Fix regex used for scanning for citation keys which failed for
4006 citations with optional arguments.
4007
4008 2014-01-21 Leo Liu <sdl.web@gmail.com>
4009
4010 * simple.el (read--expression): Don't enable eldoc-mode.
4011
4012 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * simple.el (move-beginning-of-line): Make sure we don't move forward
4015 (bug#16497).
4016
4017 2014-01-20 Juri Linkov <juri@jurta.org>
4018
4019 * saveplace.el (toggle-save-place, save-place-to-alist)
4020 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4021 'dired-mode) before checking for dired-directory. (Bug#16477)
4022
4023 2014-01-20 Juri Linkov <juri@jurta.org>
4024
4025 * indent.el (indent-line-to): Use backward-to-indentation
4026 instead of back-to-indentation. (Bug#16461)
4027
4028 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4029
4030 Revert some of the CANNOT_DUMP fix (Bug#16494).
4031 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4032 but fixing this can wait until after the next release.
4033 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4034
4035 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4036
4037 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4038 Use `password-word-equivalents'.
4039 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4040 to t. (Bug#5664, Bug#13124)
4041
4042 2014-01-19 Alan Mackenzie <acm@muc.de>
4043
4044 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4045 points.
4046 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4047 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4048 * progmodes/cc-mode.el (c-before-change, c-after-change)
4049 (c-font-lock-fontify-region): Bind it here.
4050
4051 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4052
4053 * term.el (term-window-width): Call window-text-width instead of
4054 window-width (Bug#16470).
4055
4056 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4057
4058 * simple.el (password-word-equivalents): Remove duplicates.
4059 Sort, to make this easier next time.
4060 Downcase. Omit ": " after "jelszó".
4061
4062 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4063
4064 * term/common-win.el (saved-region-selection): Defvar it.
4065 (x-select-text): Set saved-region-selection (Bug#16382).
4066
4067 2014-01-18 Glenn Morris <rgm@gnu.org>
4068
4069 * emacs-lisp/authors.el (authors-aliases)
4070 (authors-renamed-files-alist): Add some entries.
4071
4072 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4073
4074 * net/tramp.el (tramp-password-prompt-regexp):
4075 Use `password-word-equivalents' if available.
4076 (tramp-action-password, tramp-process-one-action)
4077 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4078
4079 2014-01-17 Chong Yidong <cyd@gnu.org>
4080
4081 * simple.el (password-word-equivalents): New defcustom.
4082 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4083 to 24.4.
4084 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4085 to t. (Bug#13124)
4086
4087 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4088
4089 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4090 (ruby-align-to-stmt-keywords): Change the default value.
4091 Use `ruby-alignable-keywords' to generate the possible customization
4092 choices.
4093 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4094 keywords, check against the value of `ruby-alignable-keywords'
4095 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4096
4097 2014-01-17 Glenn Morris <rgm@gnu.org>
4098
4099 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4100
4101 Make M-x authors return zero *Authors Errors* from current logs.
4102 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4103 (authors-ignored-files): Add some entries, remove others.
4104 (authors-ambiguous-files, authors-valid-file-names):
4105 Add some entries.
4106 (authors-renamed-files-alist): Add, remove, and adjust entries.
4107 (authors-renamed-files-regexps): Add some entries.
4108 Remove some very broad ones. Make some entries `lax'.
4109 (authors-lax-changelogs): New constant.
4110 (authors-disambiguate-file-name): Treat top-level specially.
4111 (authors-lax-changelog-p): New function.
4112 (authors-canonical-file-name): Check file as written against
4113 authors-valid-file-names. Do not special-case etc/.
4114 Handle `lax' logs and authors-renamed-files-regexps elements.
4115
4116 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4117
4118 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4119 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4120 callers.
4121
4122 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4125 Assume we're already in the proper buffer.
4126 Inspired by Anders Lindgren <andlind@gmail.com>.
4127 (follow-post-command-hook): Call it from the right buffer.
4128 (follow-comint-scroll-to-bottom): Adjust call.
4129 (follow-all-followers): Use get-buffer-window-list.
4130
4131 2014-01-15 Daniel Colascione <dancol@dancol.org>
4132
4133 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4134 `buffer-file-name' in interactive-form so that we don't leave
4135 pathless file names in `file-name-history'.
4136
4137 2014-01-15 Juri Linkov <juri@jurta.org>
4138
4139 * indent.el (indent-rigidly): Set deactivate-mark to nil
4140 in transient indentation mode. (Bug#16438)
4141
4142 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4143
4144 * emacs-lisp/package.el (package-desc-keywords): New function
4145 (Bug#16222).
4146 (describe-package-1, package-all-keywords)
4147 (package--has-keyword-p): Use it.
4148
4149 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4150
4151 * simple.el (define-alternatives): When creating the
4152 COMMAND-alternatives variable, assign COMMAND as its definition
4153 name so that `describe-variable' can relocate it.
4154
4155 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4156
4157 * font-lock.el (font-lock-keywords): Fix typo in docstring
4158 (bug#16307).
4159
4160 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4161
4162 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4163 line instead of wrongly reset `add-coment' (bug#13577).
4164
4165 2014-01-14 Daiki Ueno <ueno@gnu.org>
4166
4167 * epa-file.el (epa-file-write-region): Encode the region according
4168 to `buffer-file-format'. Problem reported at:
4169 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4170
4171 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4172
4173 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4174 so it applies in the right buffer (bug#16410).
4175
4176 2014-01-13 Daniel Colascione <dancol@dancol.org>
4177
4178 * textmodes/rst.el (rst-define-key): Provide deprecated
4179 keybindings through named functions instead of anonymous ones so
4180 that "??" doesn't appear in describe-mode output.
4181
4182 2014-01-13 Bastien Guerry <bzg@gnu.org>
4183
4184 * simple.el (define-alternatives): Call the selected command
4185 interactively. When setting `COMMAND--implementation' for the
4186 first time, tell the user how to chose another implementation.
4187 Enhance the docstring.
4188
4189 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4192 (log-edit--match-first-line): New function.
4193 (log-edit-font-lock-keywords): Use it.
4194 (log-edit-mode): Make jit-lock-defer-multiline work.
4195
4196 2014-01-13 Bastien Guerry <bzg@gnu.org>
4197
4198 * rect.el (rectangle-mark-mode): When the region is not active,
4199 display a message saying that the mark as been set and that
4200 rectangle mode is in use.
4201 (rectangle--highlight-for-redisplay): Only put an overlay with a
4202 visible vertical bar when (display-graphic-p) is non-nil.
4203 This partially fixes Bug#16403.
4204
4205 2014-01-13 Juri Linkov <juri@jurta.org>
4206
4207 * info.el (Info-find-file): Go to DIR before displaying the error
4208 about a nonexistent file if no previous Info file is visited.
4209 Use `user-error' instead of `error' for "Info file %s does not exist".
4210 (Info-find-node-2): In case of a nonexistent node in unwind forms
4211 go to the Top node if there is no previous node to revert to.
4212 (Bug#16405)
4213
4214 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4215
4216 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4217 * window.el (fit-frame-to-buffer): Fix doc-string.
4218 Respect window-min-height/-width. Fit pixelwise when
4219 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4220 when avoiding that frame goes partially off-screen.
4221 (fit-window-to-buffer): Respect window-min-height/-width
4222 (Bug#14096).
4223
4224 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4227 after an empty line.
4228
4229 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * net/shr.el (shr-render-region): Autoload.
4232
4233 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4234
4235 * net/eww.el (eww-download-directory): Rename from
4236 `eww-download-path' (Bug#16419).
4237
4238 2014-01-12 Leo Liu <sdl.web@gmail.com>
4239
4240 * dired-x.el (dired-mode-map): Fix last change.
4241
4242 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4243
4244 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4245
4246 Spelling fixes.
4247 * emacs-lisp/generic.el (generic--normalize-comments):
4248 Rename from generic--normalise-comments. All uses changed.
4249 * play/bubbles.el (bubbles--neighborhood-score)
4250 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4251 (bubbles--neighborhood-available)
4252 (bubbles--update-neighborhood-score):
4253 Rename from names with 'neighbourhood'. All uses changed.
4254
4255 2014-01-12 Leo Liu <sdl.web@gmail.com>
4256
4257 Re-implement the feature of showing eldoc info after editing.
4258 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4259 (eldoc-edit-message-commands): New function.
4260 (eldoc-print-after-edit): New variable.
4261 (eldoc-pre-command-refresh-echo-area): Emit message only by
4262 eldoc-message-commands.
4263 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4264 if eldoc-print-after-edit is set. (Bug#16346)
4265 * simple.el (read--expression): Enable eldoc-mode.
4266 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4267
4268 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4269 Eric S. Raymond <esr@thyrsus.com>
4270
4271 * version.el (emacs-repository-get-version): Enhance so the
4272 function works correctly in either a Bazaar or Git repo.
4273
4274 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4275
4276 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4277 Goes with removal of the joke manpages from /etc.
4278
4279 2014-01-10 Kenichi Handa <handa@gnu.org>
4280
4281 * mail/rmail.el (rmail-get-coding-system):
4282 Check rmail-get-coding-function before "funcall"ing it.
4283
4284 2014-01-10 Glenn Morris <rgm@gnu.org>
4285
4286 * emacs-lisp/authors.el (authors-fixed-entries):
4287 Update for files that no longer exist.
4288
4289 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4290
4291 * version.el (emacs-bzr-get-version): Restore compatibilty with
4292 24.3 (Tested).
4293
4294 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4295
4296 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4297 and Podfile.
4298
4299 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4300
4301 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4302
4303 2014-01-10 Chong Yidong <cyd@gnu.org>
4304
4305 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4306
4307 2014-01-10 Anders Lindgren <andlind@gmail.com>
4308
4309 * follow.el (follow-cache-command-list): Include right-char and
4310 left-char.
4311
4312 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4313
4314 Spelling fixes.
4315 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4316 * woman.el (woman-mark-horizontal-position):
4317 Rename from woman-mark-horizonal-position. Use changed.
4318
4319 2014-01-10 Glenn Morris <rgm@gnu.org>
4320
4321 * info.el (info-initialize): If running uninstalled, ensure our
4322 own info files are always found first, even if INFOPATH is set.
4323
4324 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4325
4326 2014-01-09 David Engster <deng@randomsample.de>
4327
4328 * emacs-lisp/eieio-custom.el:
4329 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4330 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4331 * emacs-lisp/eieio.el: Regenerate autoloads.
4332
4333 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4334
4335 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4336 following renames. (Bug#8756)
4337
4338 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4341 (bug#16382).
4342 (activate-mark): Add `no-tmm' argument.
4343 (set-mark, push-mark-command): Use it instead of running
4344 activate-mark-hook by hand.
4345
4346 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4347
4348 In preparation for the move to git, sanitize out some
4349 Bazaar-specific names.
4350
4351 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4352
4353 * version.el (emacs-bzr-version): Name changed to
4354 emacs-repository-version. Obsolete-variable alias made.
4355 * loadup.el: Follow through on this name change.
4356 * mail/emacsbug.el (report-emacs-bug): Factor out any
4357 assumption about the version control system in use.
4358
4359 2014-01-08 David Engster <deng@randomsample.de>
4360
4361 * help-fns.el (help-fns-describe-function-functions):
4362 New variable to call functions for augmenting help buffers.
4363 (describe-function-1): Remove explicit calls to
4364 `help-fns--compiler-macro', `help-fns--parent-mode' and
4365 `help-fns--obsolete'. Put them in above new variable instead, and
4366 call them through `run-hook-with-args'.
4367 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4368 `eieio-describe-class'. Not meant for interactive use anymore,
4369 but to augment existing help buffers. Remove optional second
4370 argument. Create proper button for file location.
4371 Rewrite function to use `insert' instead of `princ' and `prin1' where
4372 possible.
4373 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4374 (eieio-method-def, eieio-class-def): Move further up.
4375 (describe-method, describe-generic, eieio-describe-method):
4376 Remove aliases.
4377 (eieio-help-constructor, eieio-help-generic): Rename from
4378 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4379 Rewrite to use `insert' in the current buffer and use proper help
4380 buttons.
4381 (eieio-help-find-method-definition)
4382 (eieio-help-find-class-definition): Also accept symbols as
4383 arguments.
4384 (eieio-help-mode-augmentation-maybee): Remove.
4385 (eieio-describe-class-sb): Use `describe-function'.
4386 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4387 Add `eieio-help-generic' and `eieio-help-constructor'.
4388
4389 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4390
4391 Spelling fixes.
4392 * language/china-util.el (hz-ascii-designation):
4393 Rename from hz-ascii-designnation.
4394 (hz-ascii-designation): Rename from hz-ascii-designnation.
4395 All uses changed.
4396
4397 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4398
4399 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4400 package-alist.
4401
4402 2014-01-08 Bastien Guerry <bzg@gnu.org>
4403
4404 * emacs-lisp/package.el (package-delete):
4405 Correctly delete the package from package-alist.
4406
4407 2014-01-08 Daiki Ueno <ueno@gnu.org>
4408
4409 * emacs-lisp/package.el (url-recreate-url): Declare.
4410 (url-http-target-url): Declare.
4411 (package-handle-response): Include requested URL in the error message.
4412 (package--check-signature): Don't re-signal errors from
4413 package--with-work-buffer. Suggested by Stefan Monnier.
4414
4415 2014-01-07 Bastien Guerry <bzg@gnu.org>
4416
4417 * minibuffer.el (completion--try-word-completion): When both a
4418 hyphen and a space are possible candidates for the character
4419 following a word, display both candidates. (Bug#15980)
4420
4421 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4422
4423 * window.el (balance-windows-2): While rounding don't give a
4424 window more than the remainder. Bug#16351, bug#16383.
4425
4426 2014-01-07 Glenn Morris <rgm@gnu.org>
4427
4428 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4429 (menu-bar-help-menu): Use view-external-packages instead.
4430
4431 2014-01-07 Bastien Guerry <bzg@gnu.org>
4432
4433 * emacs-lisp/package.el (package-delete): Also delete the package
4434 name from `package-alist', not its description only.
4435
4436 2014-01-07 Glenn Morris <rgm@gnu.org>
4437
4438 * help.el (view-external-packages):
4439 * menu-bar.el (menu-bar-help-extra-packages):
4440 Visit efaq.info rather than etc/MORE.STUFF.
4441
4442 2014-01-07 Juri Linkov <juri@jurta.org>
4443
4444 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4445 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4446
4447 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4448 that shadows RET. (Bug#16342)
4449
4450 2014-01-07 Chong Yidong <cyd@gnu.org>
4451
4452 * isearch.el (isearch-yank-char, isearch-yank-word)
4453 (isearch-yank-line): Doc fix.
4454
4455 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4458 * emacs-lisp/elint.el (elint-find-builtins):
4459 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4460 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4461 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4462 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4463 * apropos.el (apropos-safe-documentation):
4464 * subr.el (symbol-file): Remove redundant fboundp.
4465 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4466
4467 2014-01-06 Bastien Guerry <bzg@gnu.org>
4468
4469 * hl-line.el (global-hl-line-overlay): Make a local variable.
4470 (global-hl-line-overlays): New variable to store all overlays.
4471 (global-hl-line-mode): Don't delete overlays from the current
4472 buffer when `global-hl-line-sticky-flag' is non-nil.
4473 (global-hl-line-highlight): Add new overlays to
4474 `global-hl-line-overlays'.
4475 (global-hl-line-unhighlight-all): New function to delete all
4476 overlays when turning off `global-hl-line-mode'.
4477 This fixes Bug#16183.
4478
4479 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * subr.el (set-transient-map): Fix nested case and docstring.
4482
4483 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4484
4485 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4486 `Texinfo' entry.
4487
4488 2014-01-06 Daniel Colascione <dancol@dancol.org>
4489
4490 Fix defun navigation in vc log view.
4491
4492 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4493 like `beginning-of-defun'.
4494 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4495 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4496 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4497 (log-view-extract-comment): Call `log-view-current-entry' directly
4498 instead of relying on broken `log-view-beginning-of-defun' behavior.
4499
4500 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4501
4502 Spelling fixes.
4503 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4504 * emacs-lisp/debug.el (cancel-debug-on-entry):
4505 * epg.el (epg-error-to-string):
4506 * files.el (recover-file):
4507 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4508 * mail/emacsbug.el (report-emacs-bug-hook):
4509 * mail/sendmail.el (mail-recover):
4510 * ses.el (ses-yank-resize):
4511 * term/ns-win.el (ns-print-buffer):
4512 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4513 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4514 All uses changed.
4515 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4516
4517 2014-01-06 Leo Liu <sdl.web@gmail.com>
4518
4519 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4520 to avoid shadowing global key. (Bug#16354)
4521
4522 2014-01-06 Daniel Colascione <dancol@dancol.org>
4523
4524 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4525 rst-mode.
4526
4527 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4528
4529 * window.el (balance-windows): Add mising t to fix Bug#16351.
4530
4531 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4532
4533 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4534 (bug#16285).
4535 (shr-insert): If we have a word that's longer than `shr-width',
4536 break after it anyway. Otherwise we'll do no breaking once we get
4537 such a long word.
4538
4539 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4540
4541 * net/eww.el (eww): Support single/double quote for search.
4542 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4543 (eww-history-quit): Delete and use quit-window.
4544 (eww-history-kill): Delete, because it doesn't work well and
4545 not necessary.
4546 (eww-history-mode-map): Delete some keys and add easy-menu.
4547
4548 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4549
4550 Fix misspelling of 'chinese' in rx (Bug#16237).
4551 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4552 chinese-two-byte.
4553
4554 Change subword regexps back to vars (Bug#16296).
4555 * progmodes/subword.el (subword-forward-regexp)
4556 (subword-backward-regexp): Change these back to variables.
4557
4558 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4561 syntax-begin-function (bug#16247).
4562
4563 2014-01-03 Chong Yidong <cyd@gnu.org>
4564
4565 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4566 (advice--docstring): Delete variable.
4567 (advice--make-1): Leave the docstring empty.
4568 (advice-add): Use function-documentation for advised docstring.
4569
4570 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4571 Ignore function-documentation property when getting documentation.
4572 (ad-activate-advised-definition): Use function-documentation
4573 generate the docstring.
4574 (ad-make-advised-definition): Don't call
4575 ad-make-advised-definition-docstring.
4576 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4577 Delete functions.
4578
4579 * progmodes/sql.el (sql-help): Use function-documentation instead
4580 of dynamic-docstring-function property. No need to autoload now.
4581 (sql--help-docstring): New variable.
4582 (sql--make-help-docstring): Use it.
4583
4584 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * ielm.el (ielm-tab): Retarget.
4587 (ielm-map): Use ielm-tab for tab.
4588 (ielm-complete-filename): Use comint-filename-completion.
4589 (ielm-complete-symbol): Remove.
4590 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4591 remove ielm-tab from completion-at-point-functions (bug#16224).
4592
4593 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4594 Beware signals raised by predicates (bug#16201).
4595
4596 2014-01-02 Richard Stallman <rms@gnu.org>
4597
4598 * dired-aux.el (dired-do-print): Handle printer-name.
4599
4600 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4601 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4602 (rmail-epa-decrypt): Turn off mime processing.
4603
4604 * mail/rmail.el (rmail-make-in-reply-to-field):
4605 Add parens in message-id.
4606
4607 * mail/rmail.el (rmail-get-coding-function): Variable.
4608 (rmail-get-coding-system): Use it.
4609
4610 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4611
4612 * international/mule-conf.el: Unify the charset indian-is13194.
4613 (indian-is13194): Specify unify-map.
4614
4615 2013-12-31 Leo Liu <sdl.web@gmail.com>
4616
4617 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4618
4619 2013-12-30 Daniel Colascione <dancol@dancol.org>
4620
4621 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4622 of printing a useless when we resume from sleep.
4623
4624 * progmodes/sh-script.el
4625 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4626 in indentation code. (Bug#16233)
4627
4628 2013-12-28 João Távora <joaotavora@gmail.com>
4629
4630 * elec-pair.el (electric-pair-post-self-insert-function):
4631 Don't open extra newlines at beginning of buffer. (Bug#16272)
4632
4633 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4634
4635 * frame.el (window-system-for-display): Don't allow to create a
4636 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4637
4638 2013-12-28 Glenn Morris <rgm@gnu.org>
4639
4640 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4641 Update callers.
4642
4643 * apropos.el (apropos-match-face):
4644 * calculator.el (calculator-displayer):
4645 * dabbrev.el (dabbrev-search-these-buffers-only):
4646 * face-remap.el (buffer-face-mode-face):
4647 * simple.el (yank-handled-properties):
4648 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4649 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4650 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4651 (hashcash-double-spend-database):
4652 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4653 (ruby-deep-indent-paren-style):
4654 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4655 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4656 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4657 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4658 Specify custom types.
4659
4660 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4661 * bookmark.el (bookmark-bmenu-use-header-line):
4662 * doc-view.el (doc-view-scale-internally):
4663 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4664 * register.el (register-preview-delay):
4665 * net/shr.el (shr-bullet):
4666 * progmodes/cfengine.el (cfengine-cf-promises)
4667 (cfengine-parameters-indent):
4668 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4669 * textmodes/reftex-vars.el (reftex-label-regexps):
4670 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4671
4672 * net/tls.el (tls-certtool-program): Fix default value.
4673
4674 * desktop.el (desktop-restore-in-current-display):
4675 * newcomment.el (comment-empty-lines):
4676 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4677 (idlwave-pad-keyword):
4678 * progmodes/tcl.el (tcl-tab-always-indent):
4679 * textmodes/reftex-vars.el (reftex-index-default-tag):
4680 * elec-pair.el (electric-pair-skip-whitespace):
4681 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4682
4683 * emacs-lisp/authors.el (authors-ignored-files)
4684 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4685
4686 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4687
4688 * shell.el (shell-dynamic-complete-command): Doc fix.
4689 (shell--command-completion-data): Shell completion now matches
4690 executable filenames from the current buffer's directory, on
4691 systems in which this behavior is the default (windows-nt, ms-dos).
4692
4693 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4694
4695 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4696
4697 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4698
4699 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4700 (bug#16251).
4701
4702 * electric.el: Move all electric-pair-* to elec-pair.el.
4703 * elec-pair.el: New file, split from electric.el.
4704
4705 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4706
4707 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4708 indentation level is larger than the width, because that will
4709 infloop.
4710 (shr-insert): Fill repeatedly long texts, so that Japanese is
4711 formatted correctly (bug#16263).
4712 (shr-find-fill-point): Off by one error in comparison with the
4713 indentation.
4714
4715 2013-12-26 João Távora <joaotavora@gmail.com>
4716
4717 * electric.el (electric-pair-mode): More flexible engine for skip-
4718 and inhibit predicates, new options for pairing-related functionality.
4719 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4720 if that keeps or improves their balance in buffers.
4721 (electric-pair-delete-adjacent-pairs): Delete the pair when
4722 backspacing over adjacent matched delimiters.
4723 (electric-pair-open-extra-newline): Open extra newline when
4724 inserting newlines between adjacent matched delimiters.
4725 (electric--sort-post-self-insertion-hook):
4726 Sort post-self-insert-hook according to priority values when
4727 minor-modes are activated.
4728 * simple.el (newline-and-indent): Call newline with interactive
4729 set to t.
4730 (blink-paren-post-self-insert-function): Set priority to 100.
4731 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4732 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4733 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4734 electric-pair-open-newline-between-pairs to nil.
4735
4736 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4737
4738 * progmodes/python.el: Use lexical-binding.
4739 (python-nav-beginning-of-defun): Stop searching ASAP.
4740
4741 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4742
4743 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4744 Fix interactive spec. Doc fix. (Bug#15754)
4745
4746 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4747
4748 * emacs-lisp/byte-run.el (eval-when-compile):
4749 * progmodes/cc-defs.el (cc-eval-when-compile):
4750 Fix edebug spec (bug#16184).
4751
4752 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4753
4754 * net/shr.el (shr-visit-file): Remove debugging function.
4755 (shr-insert): Don't infloop if we can't find a good place to break
4756 the line (bug#16256).
4757
4758 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4759
4760 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4761 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4762 python-nav-lisp-forward-sexp-safe.
4763 (python-nav--forward-sexp): New argument SAFE allows switching
4764 forward sexp movement behavior for parens.
4765 (python-nav-forward-sexp): Throw errors on unterminated parens
4766 (Bug#16191).
4767 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4768 (python-nav-backward-sexp-safe): New functions.
4769 (python-shell-buffer-substring):
4770 Use `python-nav-forward-sexp-safe'.
4771
4772 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4773
4774 * net/shr.el (shr-find-fill-point): Don't break lines before a
4775 quotation mark.
4776 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4777 (shr-find-fill-point): Remove the special checks for the quotation
4778 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4779
4780 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4781
4782 * net/eww.el (eww-form-textarea): Use a different face for
4783 textareas than text input since they have different keymaps
4784 (bug#16142).
4785
4786 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4787
4788 * progmodes/python.el (python-nav-beginning-of-statement):
4789 Speed up (Bug#15295).
4790
4791 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4792
4793 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4794 the window configuration.
4795
4796 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4797
4798 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4799 we run on MS-Windows or MS-DOS.
4800
4801 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4802
4803 * window.el (balance-windows-area): Call window-size instead of
4804 window-height and window-width. Bug#16241.
4805
4806 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4807
4808 * net/eww.el (eww-bookmark-quit): Remove.
4809 (eww-bookmark-browse): Restore the window configuration when you
4810 choose a bookmark (bug#16144).
4811
4812 2013-12-24 Daniel Colascione <dancol@dancol.org>
4813
4814 * icomplete.el: Remove redundant :group arguments to `defcustom'
4815 throughout.
4816 (icomplete-show-matches-on-no-input): New customizable variable.
4817 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4818 we have something to show.
4819 (icomplete-exhibit): Compute completions even if we have no user input.
4820
4821 2013-12-23 Daniel Colascione <dancol@dancol.org>
4822
4823 * icomplete.el: Move `provide' to end of file.
4824
4825 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4826
4827 * net/gnutls.el (gnutls-verify-error): Add version tag.
4828
4829 2013-12-23 Chong Yidong <cyd@gnu.org>
4830
4831 * subr.el (set-transient-map): Rename from
4832 set-temporary-overlay-map. Doc fix.
4833
4834 * face-remap.el (text-scale-adjust):
4835 * indent.el (indent-rigidly):
4836 * kmacro.el (kmacro-call-macro):
4837 * minibuffer.el (minibuffer-force-complete):
4838 * repeat.el (repeat):
4839 * simple.el (universal-argument--mode):
4840 * calendar/todo-mode.el (todo-insert-item--next-param):
4841 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4842
4843 * indent.el (indent-rigidly): Use substitute-command-keys.
4844
4845 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4846
4847 * net/eww.el (eww-tag-select): Add text-property to jump to next
4848 select field.
4849 (eww): Add non-supported ftp error.
4850
4851 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4852
4853 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4854 comments. Handle electric indent after typing `?' and `!'.
4855
4856 2013-12-22 Chong Yidong <cyd@gnu.org>
4857
4858 * faces.el (face-spec-recalc): If the theme specs are not
4859 applicable to a frame, fall back on the defface spec.
4860 This prevents themes from obliterating faces on low-color terminals.
4861
4862 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4863
4864 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4865 after `{'. We need it after block openers, and it doesn't seem
4866 to hurt after hash openers.
4867
4868 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4869
4870 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4871 extracted from `ruby-smie-rules'.
4872 (ruby--electric-indent-chars): New variable.
4873 (ruby--electric-indent-p): New function.
4874 (ruby-mode): Use `electric-indent-functions' instead of
4875 `electric-indent-chars'.
4876
4877 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4878
4879 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4880 docstring.
4881 (ruby-smie-rules): Indent plus one level after `=>'.
4882
4883 2013-12-21 Richard Stallman <rms@gnu.org>
4884
4885 * simple.el (newline): Doc fix.
4886
4887 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4888
4889 * net/eww.el (eww-list-histories, eww-list-histories)
4890 (eww-history-browse, eww-history-quit, eww-history-kill)
4891 (eww-history-mode-map, eww-history-mode): New command and
4892 functions to list browser histories.
4893 (eww-form-text): Support text form with disabled
4894 and readonly attributes.
4895 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4896
4897 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4898
4899 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4900 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4901 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4902 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4903 Use `user-error'.
4904 (eww-bookmark-mode-map): Add menu.
4905 (eww-render, eww-mode): Use `setq-local'.
4906 (eww-tool-bar-map): New variable.
4907 (eww-mode): Set `tool-bar-map'.
4908 (eww-view-source): Check for `html-mode' with `fboundp'.
4909
4910 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4911
4912 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4913 elements with text inside. Also remove debugging.
4914
4915 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4916
4917 * cus-start.el (all): Add ns-use-srgb-colorspace.
4918
4919 2013-12-21 Chong Yidong <cyd@gnu.org>
4920
4921 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4922 undefined. Thus, theme settings for undefined faces do not take
4923 effect until the faces are defined with defface, the same as with
4924 theme variables.
4925
4926 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4927 (face-spec-reset-face): Don't assign extra properties in temacs.
4928 (face-spec-recalc): Apply X resources too.
4929
4930 2013-12-21 Chong Yidong <cyd@gnu.org>
4931
4932 * faces.el (face-spec-set):
4933 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4934 * custom.el (defface): Doc fixes (Bug#16203).
4935
4936 * indent.el (indent-rigidly-map): Add docstring, and move commands
4937 into named functions.
4938 (indent-rigidly-left, indent-rigidly-right)
4939 (indent-rigidly-left-to-tab-stop)
4940 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4941 indentation direction based on bidi direction, and accumulate
4942 sequential commands in a single undo boundary.
4943 (indent-rigidly--pop-undo): New utility function.
4944
4945 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4946
4947 * faces.el (read-face-name): Require crm.el when using crm-separator.
4948
4949 2013-12-20 Daniel Colascione <dancol@dancol.org>
4950
4951 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4952 so that we don't reflow comments into the shebang line.
4953
4954 2013-12-20 Juri Linkov <juri@jurta.org>
4955
4956 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4957 a position when `dired-directory' is non-nil. Check integer
4958 positions with `integerp'.
4959 (toggle-save-place, save-places-to-alist): Add check for
4960 `dired-directory'.
4961 (save-place-find-file-hook): Check integer positions with
4962 `integerp'.
4963 (save-place-dired-hook): Use `dired-goto-file' when
4964 `dired-filename' is found in the assoc list. Check integer
4965 positions with `integerp'.
4966 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4967
4968 * dired.el (dired-initial-position-hook): Rename back from
4969 `dired-initial-point-hook'.
4970 (dired-initial-position): Rename `dired-initial-point-hook' to
4971 `dired-initial-position-hook'.
4972 (dired-file-name-at-point): Doc fix. (Bug#15329)
4973
4974 2013-12-20 Juri Linkov <juri@jurta.org>
4975
4976 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4977 (read-regexp-suggestions): New function.
4978 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4979 Use `read-regexp-suggestions'. Add non-empty default to history
4980 for empty input.
4981 (occur-read-regexp-defaults-function): Remove function.
4982 (occur-read-primary-args): Use `regexp-history-last' instead of
4983 `occur-read-regexp-defaults-function'.
4984
4985 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4986 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4987 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4988 `hi-lock-read-regexp-defaults-function'. Doc fix.
4989 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4990 with `find-tag-default-as-symbol-regexp'. Doc fix.
4991 (hi-lock-read-regexp-defaults): Remove function.
4992 (hi-lock-regexp-okay): Add check for null.
4993
4994 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4995 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4996
4997 * subr.el (find-tag-default-as-symbol-regexp): New function.
4998 (find-tag-default-as-regexp): Move symbol regexp formatting to
4999 `find-tag-default-as-symbol-regexp'.
5000
5001 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5002
5003 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5004 (Bug#14179)
5005
5006 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5007
5008 * calendar/todo-mode.el: New implementation of item insertion
5009 commands and key bindings.
5010 (todo-key-prompt): New face.
5011 (todo-insert-item): New command.
5012 (todo-insert-item--parameters): New defconst, replacing defvar
5013 todo-insertion-commands-args-genlist.
5014 (todo-insert-item--param-key-alist): New defconst, replacing
5015 defvar todo-insertion-commands-arg-key-list.
5016 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5017 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5018 (todo-insert-item--next-param): New functions.
5019 (todo-insert-item--args, todo-insert-item--argleft)
5020 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5021 New variables.
5022 (todo-key-bindings-t): Change binding of "i" from
5023 todo-insertion-map to todo-insert-item.
5024 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5025 (todo-insertion-command-name, todo-insertion-commands-names)
5026 (todo-define-insertion-command, todo-insertion-commands)
5027 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5028
5029 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5030
5031 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5032 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5033 eval-when-compile.
5034 (todo-move-category): Allow choosing a non-existing todo file to
5035 move the category to, and create that file.
5036 (todo-default-priority): New user option.
5037 (todo-set-item-priority): Use it.
5038 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5039 (desktop-restore-file-buffer): Declare.
5040 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5041 (todo-modes-set-2): Locally set desktop-save-buffer to
5042 todo-desktop-save-buffer.
5043 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5044 (auto-mode-alist): Add autoload cookie.
5045
5046 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5047
5048 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5049 helpers.el was a poor choice of name.
5050 (string-remove-prefix): New function.
5051 (string-remove-suffix): New function.
5052
5053 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5054
5055 Fix assignment for new window total sizes.
5056 * window.el (window--pixel-to-size): Remove function.
5057 (window--pixel-to-total-1, window--pixel-to-total):
5058 Fix calculation of new total sizes.
5059
5060 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5061
5062 * comint.el (comint-output-filter): Fix rear-nonsticky property
5063 placement (Bug#16010).
5064
5065 2013-12-20 Chong Yidong <cyd@gnu.org>
5066
5067 * faces.el (read-color): Minor fix for completion function.
5068
5069 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5070
5071 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5072 New option. (Bug#16182)
5073 (ruby-smie--indent-to-stmt-p): Use it.
5074 (ruby-smie-rules): Revert the logic in the handling of `when'.
5075 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5076 (ruby-deep-arglist, ruby-deep-indent-paren)
5077 (ruby-deep-indent-paren-style): Update docstrings to note that the
5078 vars don't have any effect with SMIE.
5079
5080 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5081
5082 * calc/calc.el (calc-enter, calc-pop): Use the variable
5083 `calc-context-sensitive-enter'.
5084
5085 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5086
5087 * net/shr.el (shr-insert): Protect against infloops in degenerate
5088 tables.
5089
5090 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5091
5092 * progmodes/octave.el (octave): Add link to manual and octave
5093 homepage.
5094 (octave-mode-menu): Link to octave-mode manual.
5095
5096 2013-12-20 Leo Liu <sdl.web@gmail.com>
5097
5098 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5099 insertion using skeleton-end-newline. (Bug#16138)
5100
5101 2013-12-20 Juri Linkov <juri@jurta.org>
5102
5103 * replace.el (occur-engine): Use `add-face-text-property'
5104 to add the face property to matches and titles. (Bug#14645)
5105
5106 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5107 the palette of other hi-lock colors.
5108 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5109
5110 2013-12-19 Juri Linkov <juri@jurta.org>
5111
5112 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5113 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5114 (minibuffer-history-symbol): Move variable declaration closer to
5115 its usage.
5116
5117 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5118 (Bug#14785)
5119
5120 2013-12-19 Juri Linkov <juri@jurta.org>
5121
5122 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5123 New function.
5124 (log-edit-hook): Add it to :options. (Bug#16170)
5125
5126 2013-12-19 Juri Linkov <juri@jurta.org>
5127
5128 * simple.el (eval-expression-print-format): Don't check for
5129 command names and the last command. Always display additional
5130 formats of the integer result in the echo area, and insert them
5131 to the current buffer only with a zero prefix arg.
5132 Display character when char-displayable-p is non-nil.
5133 (eval-expression): With a zero prefix arg, set `print-length' and
5134 `print-level' to nil, and insert the integer values from
5135 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5136
5137 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5138 `eval-last-sexp-arg-internal'. Doc fix.
5139 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5140 `eval-last-sexp-print-value'. Doc fix.
5141 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5142 Set `print-length' and `print-level' to nil when arg is zero.
5143 (eval-last-sexp): Doc fix.
5144 (eval-defun-2): Print the integer values from
5145 `eval-expression-print-format' at the end.
5146
5147 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5148 values from `eval-expression-print-format' at the end.
5149
5150 * ielm.el (ielm-eval-input): Print the integer
5151 values from `eval-expression-print-format' at the end.
5152
5153 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5154
5155 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5156 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5157
5158 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5161 (hl-line-highlight, global-hl-line-highlight): Use it.
5162 (hl-line-overlay): Use defvar-local.
5163
5164 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5165
5166 * term/ns-win.el: Require dnd.
5167 (global-map): Remove drag items.
5168 (ns-insert-text, ns-set-foreground-at-mouse)
5169 (ns-set-background-at-mouse):
5170 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5171 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5172 New functions.
5173
5174 2013-12-19 Glenn Morris <rgm@gnu.org>
5175
5176 * emacs-lisp/ert.el (ert-select-tests):
5177 Fix string/symbol mixup. (Bug#16121)
5178
5179 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5180
5181 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5182 keywords to their parent.
5183
5184 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5185
5186 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5187 first arg to be a string (fixed dead code), or an operator symbol.
5188 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5189 operator symbols.
5190 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5191 did nothing. Don't respond to `(:after ".")', it will be called
5192 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5193 change anything. Only return indentation for binary operators
5194 when they are hanging. De-dent opening paren when its parent is
5195 `.', otherwise it looks bad when the dot is not at bol or eol
5196 (bug#16182).
5197
5198 2013-12-19 Juri Linkov <juri@jurta.org>
5199
5200 * replace.el (query-replace-read-args): Split a non-negative arg
5201 and a negative arg into separate elements.
5202 (query-replace, query-replace-regexp, replace-string)
5203 (replace-regexp): Add arg `backward'. Doc fix.
5204 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5205 move point to the beginning of the match.
5206 (replace-search, replace-highlight): Use new arg `backward'
5207 to set the value of `isearch-forward'.
5208 (perform-replace): Add arg `backward' and use it to perform
5209 replacement backward. (Bug#14979)
5210
5211 * isearch.el (isearch-query-replace): Use a negative prefix arg
5212 to call `perform-replace' with a non-nil arg `backward'.
5213
5214 2013-12-18 Juri Linkov <juri@jurta.org>
5215
5216 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5217 to the default list. Move `log-edit-show-files' to the end.
5218 Add more available functions to options.
5219 (log-edit): Move default specific settings to
5220 `log-edit-insert-message-template'. Don't move point.
5221 (log-edit-insert-message-template): New function.
5222 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5223 (Bug#16170)
5224
5225 2013-12-18 Juri Linkov <juri@jurta.org>
5226
5227 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5228 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5229
5230 2013-12-18 Leo Liu <sdl.web@gmail.com>
5231
5232 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5233 (Bug#16186)
5234
5235 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5236
5237 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5238 formats for displaying file sizes when the -s switch is given.
5239 Instead, compute a separate format for displaying the size in
5240 blocks, which is displayed in addition to the "regular" size.
5241 When -h is given in addition to -s, produce size in blocks in
5242 human-readable form as well. (Bug#16179)
5243
5244 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5245
5246 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5247 Reference tables with ~\ref{...} instead of only \ref{...}.
5248
5249 2013-12-18 Chong Yidong <cyd@gnu.org>
5250
5251 * cus-edit.el (custom-magic-alist): Fix "themed" description
5252 (Bug#14348).
5253
5254 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5255 is non-nil, do not create a new entry in the symbol's theme-value
5256 or theme-face property; update theme-settings only (Bug#14664).
5257 (custom-available-themes): Doc fix.
5258
5259 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5260 (Bug#15674).
5261
5262 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5263
5264 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5265
5266 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5267 (Bug#13914).
5268
5269 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5270
5271 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5272
5273 2013-12-18 Glenn Morris <rgm@gnu.org>
5274
5275 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5276 * cus-start.el (load-prefer-newer): New option.
5277
5278 2013-12-18 Le Wang <l26wang@gmail.com>
5279
5280 * comint.el (comint-previous-matching-input-from-input):
5281 Retain point (Bug#13404).
5282
5283 2013-12-18 Chong Yidong <cyd@gnu.org>
5284
5285 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5286
5287 2013-12-18 Glenn Morris <rgm@gnu.org>
5288
5289 * mail/emacsbug.el (report-emacs-bug):
5290 Only mention enable-multibyte-characters if non-standard.
5291
5292 2013-12-17 Juri Linkov <juri@jurta.org>
5293
5294 * arc-mode.el (archive-extract-by-file): Check if directory exists
5295 before deletion to not show irrelevant errors if it doesn't exist.
5296
5297 2013-12-17 Juri Linkov <juri@jurta.org>
5298
5299 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5300 (Bug#14751)
5301
5302 * net/eww.el (browse-web): Add alias to `eww'.
5303 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5304 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5305
5306 * net/browse-url.el (browse-url-browser-function): Move `eww'
5307 closer to similar functions.
5308
5309 * startup.el (fancy-startup-screen, fancy-about-screen):
5310 Set browse-url-browser-function to eww-browse-url locally.
5311 (Bug#14751)
5312
5313 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * window.el (window--pixel-to-total): Remove unused `mini' var.
5316 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5317 (split-window): Remove unused `new' var.
5318 (window--display-buffer): Remove unused `frame' and `delta' vars.
5319 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5320 and display-width'.
5321
5322 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5323
5324 * dired.el (dired-mark-pop-up):
5325 * register.el (register-preview): Don't bind
5326 split-height-threshold here since it's now done in
5327 display-buffer-below-selected.
5328
5329 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5330
5331 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5332 xterm-rgb-convert-to-16bit.
5333 (rxvt-register-default-colors): Standardize with
5334 xterm-register-default-colors (Bug#14078).
5335
5336 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5337
5338 * simple.el (kill-region): Pass mark first, then point, so that
5339 kill-append works right (Bug#12819).
5340 (copy-region-as-kill, kill-ring-save): Likewise.
5341
5342 2013-12-17 Leo Liu <sdl.web@gmail.com>
5343
5344 * net/rcirc.el (rcirc-add-face):
5345 * eshell/em-prompt.el (eshell-emit-prompt):
5346 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5347 (Bug#16167)
5348
5349 2013-12-17 Chong Yidong <cyd@gnu.org>
5350
5351 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5352 Suggested by Xue Fuqiao.
5353
5354 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5355
5356 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5357
5358 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * net/shr.el (shr-insert-document): Remove unused var
5361 `shr-preliminary-table-render'.
5362 (shr-rescale-image): Remove unused arg `force'.
5363 (shr-put-image): Update calls accordingly.
5364 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5365
5366 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5367
5368 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5369 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5370 :close-all, to see which indentation method to use (Bug#16116).
5371 (smie-rules-function): Document the method :close-all.
5372
5373 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5374
5375 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5376
5377 * net/eww.el (eww-display-html): If we can't find the anchor we're
5378 looking for, then go to point-min.
5379
5380 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5381
5382 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5383 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5384 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5385 Expand dir too, in case it's relative.
5386
5387 2013-12-16 Juri Linkov <juri@jurta.org>
5388
5389 * desktop.el (desktop-auto-save-timeout): Change default to
5390 `auto-save-timeout'. Doc fix.
5391 (desktop-save): Skip the timestamp in desktop-saved-frameset
5392 when checking for auto-save changes.
5393 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5394 `desktop-auto-save' is called repeatedly by the idle timer.
5395 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5396 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5397 (Bug#15331)
5398
5399 2013-12-16 Juri Linkov <juri@jurta.org>
5400
5401 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5402 (Bug#16035)
5403 (isearch-pre-command-hook): Check `this-command' for symbolp.
5404
5405 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5408
5409 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5410
5411 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5412 (cfengine3--current-function): Bring in the current-function
5413 functionality from `cfengine3--current-word'.
5414 (cfengine3-completion-function): Bring in the
5415 bounds-of-current-word functionality from
5416 `cfengine3--current-word'.
5417
5418 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5419
5420 * window.el (display-buffer-below-selected):
5421 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5422
5423 2013-12-16 Leo Liu <sdl.web@gmail.com>
5424
5425 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5426 Remove NOMSG arg and all uses changed.
5427
5428 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5429
5430 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5431 (cua--deactivate-rectangle): Don't deactivate the mark.
5432 (cua-set-rectangle-mark): Don't set mark-active since
5433 cua--activate-rectangle already does it for us.
5434 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5435 non-rectangular region.
5436
5437 * emulation/cua-base.el (cua-repeat-replace-region):
5438 Use with-current-buffer.
5439
5440 * net/gnutls.el: Use cl-lib.
5441 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5442
5443 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5444
5445 * emacs-lisp/package.el (package-built-in-p): Support both
5446 built-in and the package.el converted package descriptions.
5447 (package-show-package-list): Allow keywords.
5448 (package-keyword-button-action): Use it instead of
5449 `finder-list-matches'.
5450 (package-menu-filter-interactive): Interactive filtering (by
5451 keyword) function.
5452 (package-menu--generate): Support keywords and change keymappings
5453 and headers when they are given.
5454 (package--has-keyword-p): Helper function.
5455 (package-menu--refresh): Use it.
5456 (package--mapc): Helper function.
5457 (package-all-keywords): Use it.
5458 (package-menu-mode-map): Set up menu items and keybindings to
5459 provide a filtering UI.
5460
5461 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5462
5463 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5464 the behavior when a certificate fails validation. Defaults to
5465 old behavior: never abort, just warn.
5466 (gnutls-negotiate): Use it.
5467
5468 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5469
5470 * window.el (display-buffer-below-selected): Never split window
5471 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5472
5473 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5474
5475 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5476 (package-buffer-info): Use it (bug#15108).
5477
5478 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5479
5480 * icomplete.el (icomplete-completions): Make sure the prefix is already
5481 displayed elsewhere before hiding it (bug#16219).
5482
5483 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5484
5485 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5486 open-paren tokens when preceded by a open-paren, too.
5487 (ruby-smie-rules): Handle virtual indentation after open-paren
5488 tokens specially. If there is code between it and eol, return the
5489 column where is starts (Bug#16118).
5490
5491 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5492
5493 * progmodes/cfengine.el: Fix `add-hook' doc.
5494 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5495 (cfengine3--current-word): Fix parameters.
5496 (cfengine3-make-syntax-cache): Simplify further.
5497 (cfengine3-completion-function, cfengine3--current-function):
5498 Use `assq' for symbols.
5499 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5500
5501 2013-12-13 Glenn Morris <rgm@gnu.org>
5502
5503 * loadup.el (load-path): Warn if site-load or site-init changes it.
5504 No more need to reset it when bootstrapping.
5505
5506 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5507
5508 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5509 locations for cf-promises.
5510 (cfengine-mode-syntax-functions-regex): New caching variable.
5511 (cfengine3-fallback-syntax): Fallback syntax for cases where
5512 cf-promises doesn't run.
5513 (cfengine3--current-word): Reimplement using
5514 `cfengine-mode-syntax-functions-regex'.
5515 (cfengine3-completion-function, cfengine3--current-function):
5516 Use `cfengine3-make-syntax-cache' directly.
5517 (cfengine3-clear-syntax-cache): New function.
5518 (cfengine3-make-syntax-cache): Simplify and create
5519 `cfengine-mode-syntax-functions-regex' on demand.
5520 (cfengine3-format-function-docstring): Don't call
5521 `cfengine3-make-syntax-cache' explicitly.
5522
5523 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5524
5525 Fix windmove-find-other-window broken after pixelwise resizing
5526 (Bug#16017).
5527 * windmove.el (windmove-other-window-loc): Revert change from
5528 2013-12-04.
5529 (windmove-find-other-window): Call window-in-direction.
5530 * window.el (window-in-direction): New arguments SIGN, WRAP and
5531 MINI to emulate original windmove-find-other-window behavior.
5532
5533 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5534
5535 * simple.el (blink-matching--overlay): New variable.
5536 (blink-matching-open): Instead of moving point, highlight the
5537 matching paren with an overlay
5538 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5539
5540 * faces.el (paren-showing-faces, show-paren-match)
5541 (show-paren-mismatch): Move from paren.el.
5542
5543 2013-12-13 Leo Liu <sdl.web@gmail.com>
5544
5545 * indent.el (indent-region): Disable progress reporter in
5546 minibuffer. (Bug#16108)
5547
5548 * bindings.el (visual-order-cursor-movement): Fix version.
5549
5550 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5551
5552 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5553 Also match after beginning of line.
5554 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5555 files. Thanks to Russell Sim. (Bug#15378)
5556
5557 2013-12-13 Juri Linkov <juri@jurta.org>
5558
5559 * simple.el <Keypad support>: Remove key bindings duplicated
5560 with bindings.el. (Bug#14397)
5561
5562 2013-12-13 Juri Linkov <juri@jurta.org>
5563
5564 * comint.el (comint-mode-map): Replace `delete-char' with
5565 `delete-forward-char'. (Bug#16109)
5566
5567 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5568
5569 * progmodes/python.el (python-indent-calculate-indentation):
5570 Fix de-denters cornercase. (Bug#15731)
5571
5572 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5575 (advice--make): Pay attention to `depth'.
5576 (advice--make-1): Don't autoload commands eagerly.
5577 * emacs-lisp/elp.el (elp-instrument-function):
5578 * emacs-lisp/trace.el (trace-function-internal):
5579 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5580
5581 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5582
5583 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5584
5585 * term/w32-win.el (w32-handle-dropped-file):
5586 * startup.el (normal-top-level):
5587 * net/browse-url.el (browse-url-file-url):
5588 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5589 decode file names using 'utf-8' rather than
5590 file-name-coding-system.
5591
5592 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5593
5594 * progmodes/python.el (python-indent-context)
5595 (python-indent-calculate-indentation): Fix auto-identation
5596 behavior for comment blocks. (Bug#15916)
5597
5598 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5599
5600 * progmodes/python.el (python-indent-calculate-indentation):
5601 When determining indentation, don't treat "return", "pass", etc., as
5602 operators when they are just string constituents. (Bug#15812)
5603
5604 2013-12-12 Juri Linkov <juri@jurta.org>
5605
5606 * uniquify.el (uniquify-buffer-name-style): Change default to
5607 `post-forward-angle-brackets'.
5608
5609 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5610 `uniquify'. Change default to `post-forward-angle-brackets'.
5611
5612 2013-12-11 Glenn Morris <rgm@gnu.org>
5613
5614 * emacs-lisp/package.el (finder-list-matches):
5615 Autoload rather than falsely declaring.
5616
5617 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5618
5619 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5620 (eww-mode-map): Use them.
5621
5622 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5623
5624 * window.el (display-buffer-in-side-window): Fix doc-string
5625 (Bug#16115).
5626
5627 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5628
5629 * vc/vc-git.el: Silence byte-compiler warnings.
5630 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5631 (log-edit-set-header): Declare.
5632
5633 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5634
5635 * Makefile.in (custom-deps, finder-data): Run output file names
5636 through unmsys--file-name. (Bug#16099)
5637
5638 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5641 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5642
5643 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5644 instead of deleting the selection "by hand" (bug#16098).
5645 Rely on insert-for-yank to yank rectangles.
5646 (cua-highlight-region-shift-only): Mark obsolete.
5647 (cua-mode): Don't enable/disable transient-mark-mode,
5648 shift-select-mode (cua-mode works both with and without them), and
5649 pc-selection-mode (obsolete).
5650 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5651 (cua--deactivate-rectangle): Deactivate it.
5652
5653 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5654 (delete-selection-helper): Make sure yank starts at the top of the
5655 deleted region.
5656 (minibuffer-keyboard-quit): Use region-active-p.
5657
5658 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5659
5660 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5661 to `delete' (bug#16109).
5662
5663 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5664
5665 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5666 info manual and show keybindings and set `:group' keyword.
5667
5668 2013-12-11 Juri Linkov <juri@jurta.org>
5669
5670 * delsel.el (delete-active-region): Let-bind `this-command'
5671 to prevent `kill-region' from changing its original value.
5672 (delete-selection-helper): Handle `overwrite-mode' for the type
5673 `kill' exactly the same way as for the type `t'.
5674 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5675 Support more commands. (Bug#13312)
5676
5677 2013-12-11 Juri Linkov <juri@jurta.org>
5678
5679 * bindings.el: Map kp keys to non-kp keys systematically
5680 with basic modifiers control, meta and shift. (Bug#14397)
5681
5682 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5683
5684 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5685 "Close browser" menu items. Fix wrong function of "List
5686 bookmarks".
5687
5688 2013-12-11 Juri Linkov <juri@jurta.org>
5689
5690 * misearch.el (multi-isearch-buffers): Set the value of
5691 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5692 arg of isearch-forward to t.
5693 (multi-isearch-buffers-regexp): Set the value of
5694 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5695 arg of isearch-forward-regexp to t.
5696 (multi-isearch-files): Set the value of
5697 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5698 arg of isearch-forward to t.
5699 (multi-isearch-files-regexp): Set the value of
5700 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5701 arg of isearch-forward-regexp to t. (Bug#16035)
5702
5703 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5704 arg of isearch-forward to t.
5705 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5706 arg of isearch-forward-regexp to t.
5707 (dired-isearch-filter-filenames): Remove unnecessary check for
5708 `dired-isearch-filenames'.
5709
5710 * comint.el (comint-history-isearch-backward):
5711 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5712 (comint-history-isearch-backward-regexp):
5713 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5714
5715 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5716
5717 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5718 unmsys--file-name. (Bug#16099)
5719
5720 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5721
5722 * emacs-lisp/package.el (package-keyword-button-action):
5723 Remove finder.el require dependency.
5724
5725 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5726
5727 * emacs-lisp/package.el: Require finder.el.
5728 (describe-package-1): Add keyword buttons.
5729 (package-make-button): New convenience function.
5730 (package-keyword-button-action): Keyword button action using
5731 `finder-list-matches'.
5732
5733 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5734
5735 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5736 last commit.
5737
5738 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5739
5740 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5741 symlinked files.
5742
5743 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5744
5745 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5746 after the end of a percent literal.
5747
5748 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5749
5750 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5751 Handle caret-delimited strings (Bug#16079).
5752
5753 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5754
5755 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5756 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5757 `ruby-parse-partial' (Bug#16078).
5758
5759 2013-12-09 Leo Liu <sdl.web@gmail.com>
5760
5761 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5762
5763 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5764
5765 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5766 (js-switch-indent-offset): New option.
5767 (js--proper-indentation): Use it. And handle the case when
5768 "default" is actually a key in an object literal.
5769 (js--same-line): New function.
5770 (js--multi-line-declaration-indentation): Use it.
5771 (js--indent-in-array-comp, js--array-comp-indentation):
5772 New functions.
5773 (js--proper-indentation): Use them, to handle array comprehension
5774 continuations.
5775
5776 2013-12-08 Leo Liu <sdl.web@gmail.com>
5777
5778 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5779 (flymake-make-overlay): Remove arg MOUSE-FACE.
5780 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5781
5782 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5785 New function.
5786 (redisplay-highlight-region-function): Use it.
5787
5788 * emulation/cua-base.el (cua--explicit-region-start)
5789 (cua--last-region-shifted): Remove.
5790 (cua--deactivate): Use deactivate-mark.
5791 (cua--pre-command-handler-1): Don't handle shift-selection.
5792 (cua--post-command-handler-1): Don't change transient-mark-mode.
5793 (cua--select-keymaps): Use region-active-p rather than
5794 cua--explicit-region-start or cua--last-region-shifted.
5795 (cua-mode): Enable shift-select-mode.
5796
5797 2013-12-08 Leo Liu <sdl.web@gmail.com>
5798
5799 * progmodes/flymake.el (flymake-popup-current-error-menu):
5800 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5801 (flymake-posn-at-point-as-event, flymake-popup-menu)
5802 (flymake-make-emacs-menu): Remove. (Bug#16077)
5803
5804 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * rect.el (rectangle-mark-mode): Activate mark even if
5807 transient-mark-mode is off (bug#16066).
5808 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5809 is > mark and at bolp.
5810
5811 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5812 (region-extract-function): Use it.
5813 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5814 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5815 Delete functions.
5816 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5817 kill-ring-save, kill-region, delete-char, delete-forward-char.
5818 Ignore self-insert-iso.
5819
5820 * emulation/cua-gmrk.el (cua--init-global-mark):
5821 Ignore `self-insert-iso'.
5822
5823 * emulation/cua-base.el (cua--prefix-copy-handler)
5824 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5825 checking cua--rectangle.
5826 (cua-delete-region): Use region-extract-function.
5827 (cua-replace-region): Delete function.
5828 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5829 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5830 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5831 (cua--init-keymaps): Don't remap delete-selection commands.
5832 (cua-mode): Use delete-selection-mode instead of rolling our own
5833 (bug#16085).
5834
5835 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5836 Obey region-extract-function.
5837
5838 Make registers and delete-selection-mode work on rectangles.
5839 * register.el (describe-register-1): Don't modify the register's value.
5840 (copy-to-register): Obey region-extract-function.
5841 * delsel.el (delete-active-region): Obey region-extract-function.
5842
5843 2013-12-08 Leo Liu <sdl.web@gmail.com>
5844
5845 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5846 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5847 (flymake-compilation-prevents-syntax-check)
5848 (flymake-start-syntax-check-on-newline)
5849 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5850 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5851 (flymake-xml-program, flymake-master-file-dirs)
5852 (flymake-master-file-count-limit)
5853 (flymake-allowed-file-name-masks): Relocate.
5854 (flymake-makehash, flymake-float-time)
5855 (flymake-replace-regexp-in-string, flymake-split-string)
5856 (flymake-get-temp-dir): Remove.
5857 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5858 (flymake-current-row, flymake-selected-frame)
5859 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5860 related functions. (Bug#16077)
5861
5862 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5863
5864 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5865
5866 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5867
5868 * help-fns.el (describe-function-1): Use new advice-* functions
5869 rather than old ad-* functions. Fix function type description and
5870 source links for advised functions and subrs.
5871
5872 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5873
5874 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5875
5876 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * progmodes/compile.el (compilation-start):
5879 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5880
5881 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5882 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5883
5884 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5885
5886 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5887 Touch up the last change.
5888
5889 2013-12-06 Leo Liu <sdl.web@gmail.com>
5890
5891 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5892 (inferior-octave-startup): Always use "octave> " for prompt.
5893 (octave-goto-function-definition)
5894 (octave-sync-function-file-names)
5895 (octave-find-definition-default-filename): Remove redundant backquotes.
5896
5897 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5898
5899 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5900 syntax for `?'.
5901 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5902 where appropriate already.
5903 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5904 end of method names (Bug#15874).
5905
5906 2013-12-06 Juri Linkov <juri@jurta.org>
5907
5908 * isearch.el (isearch--saved-overriding-local-map):
5909 New internal variable.
5910 (isearch-mode): Set it to the initial value of
5911 `overriding-terminal-local-map'.
5912 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5913 with `isearch--saved-overriding-local-map'. (Bug#16035)
5914
5915 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5916
5917 * progmodes/octave.el (inferior-octave-completion-table):
5918 Turn back into function, use `completion-table-with-cache'
5919 (Bug#11906). Update all references.
5920
5921 * minibuffer.el (completion-table-with-cache): New function.
5922
5923 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5924
5925 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5926
5927 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5928
5929 * net/eww.el (eww-current-source): New variable to store page
5930 source.
5931 (eww-display-html, eww-mode, eww-save-history)
5932 (eww-restore-history): Use it.
5933 (eww-view-source): New command to view page source.
5934 Opportunistically uses `html-mode' to highlight the buffer.
5935 (eww-mode-map): Install it.
5936
5937 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5938
5939 * net/dbus.el (dbus-unregister-service)
5940 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5941 Fix docstring.
5942 (dbus-unregister-service): Skip :serial entries in
5943 `dbus-registered-objects-table'.
5944 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5945
5946 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5947
5948 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5949 around keywords with extra `split-string' argument.
5950
5951 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5952
5953 * windmove.el (windmove-other-window-loc): Handle navigation
5954 between windows (excluding the minibuffer window - Bug#16017).
5955
5956 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5957
5958 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5959 in D-Bus type syntax.
5960 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5961 preserve unibyte strings. (Bug#16048)
5962
5963 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5966 Call force-mode-line-update is the proper buffer (bug#16042).
5967
5968 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5969
5970 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5971 `log-edit-remember-comment', make argument optional. Adjust all
5972 callers.
5973 (log-edit-mode): Add `log-edit-remember-comment' to
5974 `kill-buffer-hook' locally.
5975 (log-edit-kill-buffer): Don't remember comment explicitly since
5976 the buffer is killed anyway.
5977
5978 2013-12-04 Juri Linkov <juri@jurta.org>
5979
5980 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5981 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5982
5983 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5984
5985 * notifications.el (notifications-close-notification): Call the
5986 D-Bus method with ID being a `:uint32'. (Bug#16030)
5987
5988 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5989
5990 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5991
5992 2013-12-03 Juri Linkov <juri@jurta.org>
5993
5994 * progmodes/compile.el (compilation-start): Rename window alist
5995 entry `no-display-ok' to `allow-no-window'.
5996
5997 * simple.el (shell-command): Add window alist entry
5998 `allow-no-window' to `display-buffer'.
5999 (async-shell-command): Doc fix.
6000
6001 * window.el (display-buffer-no-window): New action function.
6002 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6003
6004 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6005
6006 * vc/log-edit.el (log-edit-set-header): Extract from
6007 `log-edit-toggle-header'.
6008 (log-edit-extract-headers): Separate the summary, when extracted
6009 from header, from the rest of the message with an empty line.
6010
6011 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6012 line, if present, to the Summary header.
6013
6014 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6015
6016 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6017 in current-buffer (bug#16029).
6018
6019 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6020
6021 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6022 (debugger-mode-map): Bind it.
6023 (debugger--backtrace-base): New function.
6024 (debugger-eval-expression): Use it.
6025 (debugger-frame-number): Skip local vars when present.
6026 (debugger--locals-visible-p, debugger--insert-locals)
6027 (debugger--show-locals, debugger--hide-locals): New functions.
6028
6029 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6030
6031 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6032 "LC_ALL".
6033 (tramp-get-remote-locale): New defun.
6034 (tramp-open-connection-setup-interactive-shell): Use it.
6035
6036 2013-12-02 Leo Liu <sdl.web@gmail.com>
6037
6038 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6039
6040 * progmodes/sh-script.el (sh-shell-process):
6041 * progmodes/octave.el (inferior-octave-process-live-p):
6042 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6043 (gdb-inferior-io-sentinel):
6044 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6045
6046 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6047
6048 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6049 `save-selected-window' to `log-edit-hide-buf'. This makes
6050 `log-edit-show-files' idempotent.
6051 (log-edit-show-files): Mark the new window as dedicated.
6052
6053 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6054
6055 * vc/log-edit.el (log-edit-mode-map): Add binding for
6056 `log-edit-kill-biffer'.
6057 (log-edit-hide-buf): Add a FIXME comment.
6058 (log-edit-add-new-comment): New function, extracted from
6059 `log-edit-done'.
6060 (log-edit-done, log-edit-add-to-changelog): Use it.
6061 (log-edit-kill-buffer): New command.
6062
6063 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6064
6065 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6066 instead of killing the buffer.
6067
6068 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6071
6072 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6073
6074 * net/eww.el (eww-form-checkbox-selected-symbol)
6075 (eww-form-checkbox-symbol): New customizable variable.
6076 (eww-form-checkbox, eww-toggle-checkbox):
6077 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6078
6079 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6080 (shr--get-media-pref, shr--extract-best-source): New function.
6081 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6082 no :src tag was specified.
6083
6084 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6085 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6086 Use \\` to match beginning of string instead of ^.
6087 (eww-browse-with-external-browser): Provide optional URL parameter.
6088 (eww-render): Set `eww-current-title' back to "".
6089
6090 * net/shr.el (shr-tag-video): Display content for video if no
6091 poster is available.
6092 (shr-tag-audio): Add support for <audio> tag.
6093
6094 * net/eww.el (eww-text-input-types): New const.
6095 (eww-process-text-input): Treat input types in
6096 `eww-text-input-types' as text.
6097
6098 * net/shr.el (shr-tag-table): Fix comment typo.
6099
6100 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6101
6102 * net/eww.el (eww-follow-link): New command to avoid reloading
6103 pages when we follow #target links (bug#15243).
6104 (eww-quit): Special mode buffers shouldn't query before exiting.
6105
6106 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6107
6108 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6109 forms.
6110
6111 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6112
6113 * net/eww.el (eww-restore-history): Update the window title after
6114 moving in the history.
6115 (eww-current-dom): New variable used to save the current DOM.
6116
6117 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6118
6119 * vc/log-edit.el (log-edit-mode-map): Add binding for
6120 `log-edit-beginning-of-line'.
6121 (log-edit-setup-add-author): New user option.
6122 (log-edit-beginning-of-line): New command.
6123 (log-edit): Move major mode call above the contents setup so that
6124 the local variable values are already applied.
6125 (log-edit): Only insert "Author: " when
6126 `log-edit-setup-add-author' is non-nil.
6127 (log-edit): When SETUP is non-nil, position point after ": "
6128 instead of point-min.
6129
6130 2013-12-01 Glenn Morris <rgm@gnu.org>
6131
6132 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6133
6134 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6135
6136 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6137 redisplay to make sure the initial frame gets a chance to become
6138 visible. (Bug#16014)
6139
6140 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6141
6142 Support resizing frames and windows pixelwise.
6143 * cus-start.el (frame-resize-pixelwise)
6144 (window-resize-pixelwise): New entries.
6145 * emacs-lisp/debug.el (debug): Use window-total-height instead
6146 of window-total-size.
6147 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6148 * help.el (describe-bindings-internal): Use help-buffer as
6149 argument for with-help-window.
6150 (temp-buffer-max-width): New option.
6151 (resize-temp-buffer-window, help-window-setup)
6152 (with-help-window): Rewrite.
6153 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6154 dragging dividers.
6155 * window.el (frame-char-size, window-min-pixel-height)
6156 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6157 (window-min-pixel-width, window-safe-min-pixel-size)
6158 (window-combination-p, window-safe-min-size)
6159 (window-resizable-p, window--size-to-pixel)
6160 (window--pixel-to-size, window--resize-apply-p): New functions.
6161 (window-safe-min-height): Fix doc-string.
6162 (window-size, window-min-size, window--min-size-1)
6163 (window-sizable, window-sizable-p, window--min-delta-1)
6164 (window-min-delta, window--max-delta-1, window-max-delta)
6165 (window--resizable, window--resizable-p, window-resizable)
6166 (window-full-height-p, window-full-width-p, window-at-side-p)
6167 (window--in-direction-2, window-in-direction)
6168 (window--resize-reset-1, window--resize-mini-window)
6169 (window-resize, window-resize-no-error)
6170 (window--resize-child-windows-normal)
6171 (window--resize-child-windows, window--resize-siblings)
6172 (window--resize-this-window, window--resize-root-window)
6173 (window--resize-root-window-vertically)
6174 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6175 (maximize-window, minimize-window, delete-window)
6176 (quit-restore-window, window-split-min-size, split-window)
6177 (balance-windows-2, balance-windows)
6178 (balance-windows-area-adjust, balance-windows-area)
6179 (window--state-get-1, window-state-get, window--state-put-1)
6180 (window--state-put-2, window-state-put)
6181 (display-buffer-record-window, window--display-buffer):
6182 Make functions handle pixelwise sizing of windows.
6183 (display-buffer--action-function-custom-type)
6184 (display-buffer-fallback-action):
6185 Add display-buffer-in-previous-window.
6186 (display-buffer-use-some-window): Resize window to height it had
6187 before.
6188 (fit-window-to-buffer-horizontally): New option.
6189 (fit-frame-to-buffer): Describe new values.
6190 (fit-frame-to-buffer-bottom-margin): Replace with
6191 fit-frame-to-buffer-margins.
6192 (window--sanitize-margin): New function.
6193 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6194 using window-text-pixel-size.
6195
6196 2013-11-30 Glenn Morris <rgm@gnu.org>
6197
6198 * emacs-lisp/bytecomp.el (byte-compile-form):
6199 Make the `interactive-only' warning like the `obsolete' one.
6200 * comint.el (comint-run):
6201 * files.el (insert-file-literally, insert-file):
6202 * replace.el (replace-string, replace-regexp):
6203 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6204 (goto-line, insert-buffer, next-line, previous-line):
6205 Tweak `interactive-only' spec.
6206
6207 Stop keeping (most) generated cedet grammar files in the repository.
6208 * Makefile.in (semantic): New.
6209 (compile-main): Depend on semantic.
6210
6211 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6214 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6215
6216 * uniquify.el (uniquify-buffer-name-style): Change default.
6217
6218 * loadup.el: Preload "uniquify".
6219
6220 * time.el (display-time-update): Update all mode lines (bug#15999).
6221
6222 * electric.el (electric-indent-mode): Enable by default.
6223 * loadup.el: Preload "electric".
6224
6225 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6226
6227 * emacs-lisp/helpers.el (string-empty-p): New function.
6228 (string-blank-p): New function.
6229
6230 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6231
6232 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6233 (Bug#14029).
6234
6235 2013-11-29 Andreas Politz <politza@fh-trier.de>
6236 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6237 allow non-lambda lists as functions.
6238 (imenu--in-alist): Don't recurse into non-subalists.
6239 (imenu): Don't pass function itself as an argument (Bug#14029).
6240
6241 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * progmodes/python.el (python-mode-map): Remove binding for ":".
6244 (python-indent-electric-colon): Remove command.
6245 (python-indent-post-self-insert-function): Integrate the previous code
6246 of python-indent-electric-colon. Make it conditional on
6247 electric-indent-mode.
6248 (python-mode): Add ?: to electric-indent-chars.
6249 Move python-indent-post-self-insert-function to the end of
6250 post-self-insert-hook.
6251
6252 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * doc-view.el (doc-view-goto-page): Update mode-line.
6255
6256 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6257
6258 2013-11-27 Glenn Morris <rgm@gnu.org>
6259
6260 * international/charprop.el, international/uni-bidi.el:
6261 * international/uni-category.el, international/uni-combining.el:
6262 * international/uni-comment.el, international/uni-decimal.el:
6263 * international/uni-decomposition.el, international/uni-digit.el:
6264 * international/uni-lowercase.el, international/uni-mirrored.el:
6265 * international/uni-name.el, international/uni-numeric.el:
6266 * international/uni-old-name.el, international/uni-titlecase.el:
6267 * international/uni-uppercase.el:
6268 Remove generated files from VCS repository.
6269
6270 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6271
6272 * filenotify.el (file-notify-add-watch): Don't special-case
6273 w32notify when computing the directory to watch.
6274
6275 2013-11-27 Glenn Morris <rgm@gnu.org>
6276
6277 Make bootstrap without generated uni-*.el files possible again.
6278 * loadup.el: Update command-line-args checking for unidata-gen.
6279 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6280 * composite.el, international/characters.el:
6281 Handle unicode tables being undefined.
6282
6283 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6284 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6285 (compile-main): Depend on leim rule.
6286 (leim): New rule.
6287 * loadup.el: Move leim-list.el to leim/ subdirectory.
6288 * startup.el (normal-top-level): No more leim directory.
6289 * international/ja-dic-cnv.el (skkdic-convert):
6290 Disable version-control and autoloads in output files.
6291 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6292 Disable version-control and autoloads in output files.
6293 * leim/quail: Move here from ../leim.
6294 * leim/quail/hangul.el (hangul-input-method-activate):
6295 Add autoload cookie.
6296 (generated-autoload-load-name): Set file-local value.
6297 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6298 (generated-autoload-load-name): Set file-local value.
6299
6300 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6301
6302 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6303 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6304 (eww-quit): Ask confirmation before quitting eww.
6305
6306 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6307
6308 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6309 reading output from Diff on MS-Windows and MS-DOS.
6310
6311 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6312
6313 * emacs-lisp/helpers.el (string-reverse): New function.
6314
6315 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6316
6317 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6318 names on MS Windows, like "/[::1]:".
6319
6320 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6321 SWITCHES.
6322
6323 2013-11-26 Glenn Morris <rgm@gnu.org>
6324
6325 * progmodes/python.el (python-indent-guess-indent-offset):
6326 Avoid corner-case error. (Bug#15975)
6327
6328 Preload leim-list.el. (Bug#4789)
6329 * loadup.el: Load leim-list.el when found.
6330 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6331
6332 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6333
6334 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6335
6336 * emacs-lisp/helpers.el (string-join): New function.
6337
6338 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6339
6340 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6341 Mark as obsolete and replace it with a symbol property.
6342 (byte-compile-form): Use new 'interactive-only property.
6343 * comint.el, files.el, replace.el, simple.el:
6344 Apply new 'interactive-only properly.
6345
6346 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6347
6348 * window.el (display-buffer-at-bottom): Make sure that
6349 split-window-sensibly creates the new window on bottom
6350 (Bug#15961).
6351
6352 2013-11-23 David Kastrup <dak@gnu.org>
6353
6354 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6355 on the conflict markers when available.
6356 (smerge--get-marker): New function.
6357 (smerge-end-re, smerge-base-re): Add subgroup.
6358
6359 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6360
6361 * frame.el (handle-focus-in, handle-focus-out): Add missing
6362 interactive spec.
6363
6364 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6365
6366 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6367 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6368
6369 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6372 (gomoku--last-pos): New var.
6373 (gomoku--intangible-chars): New const.
6374 (gomoku--intangible): New function.
6375 (gomoku-mode): Use it. Derive from special-mode.
6376 (gomoku-move-up): Adjust line count.
6377 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6378 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6379 Simplify accordingly.
6380
6381 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6382 Remove blink-cursor code.
6383 (blink-cursor-timer-function, blink-cursor-suspend):
6384 Don't special-case GUIs.
6385 (blink-cursor-mode): Use focus-in/out-hook.
6386
6387 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6388
6389 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6390 work when annotation is invisible (Bug#13886).
6391
6392 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6393
6394 * json.el (json-alist-p): Only return non-nil if the alist has
6395 simple keys (Bug#13518).
6396
6397 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6398
6399 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6400 when control-statement is the first statement in a buffer (Bug#15956).
6401
6402 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6403
6404 * imenu.el (imenu-generic-skip-comments-and-strings):
6405 New option (Bug#15560).
6406 (imenu--generic-function): Use it.
6407
6408 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6409
6410 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6411 (Bug#13898)
6412
6413 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6414
6415 * emacs-lisp/helpers.el: Add some string helpers.
6416 (string-trim-left): Removes leading whitespace.
6417 (string-trim-right): Removes trailing whitespace.
6418 (string-trim): Removes leading and trailing whitespace.
6419
6420 * subr.el (string-suffix-p): New function.
6421
6422 2013-11-23 Glenn Morris <rgm@gnu.org>
6423
6424 * progmodes/python.el (python-shell-send-file):
6425 Add option to delete file when done. (Bug#15647)
6426 (python-shell-send-string, python-shell-send-region): Use it.
6427
6428 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6429
6430 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6431 to set buffer-read-only to t, never to nil. (Bug#15938)
6432
6433 * textmodes/tex-mode.el (latex-noindent-environments):
6434 Add safe-local-variable property. (Bug#15936)
6435
6436 2013-11-23 Glenn Morris <rgm@gnu.org>
6437
6438 * textmodes/enriched.el (enriched-mode): Doc fix.
6439 * emacs-lisp/authors.el (authors-renamed-files-alist):
6440 Add enriched.doc -> enriched.txt.
6441
6442 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6443
6444 2013-11-22 Leo Liu <sdl.web@gmail.com>
6445
6446 * progmodes/octave.el (inferior-octave-startup): Spit out error
6447 message.
6448
6449 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6450
6451 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6452 Improve docstring.
6453 Add :version.
6454 (ruby-encoding-magic-comment-style): Add :version.
6455
6456 2013-11-22 Leo Liu <sdl.web@gmail.com>
6457
6458 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6459 (Bug#15076)
6460 (octave-help-mode): Adapt to change to help-mode-finish to use
6461 derived-mode-p on 2013-09-17.
6462 (inferior-octave-prompt): Also match octave-gui.
6463 (octave-kill-process): Don't ask twice. (Bug#10564)
6464
6465 2013-11-22 Leo Liu <sdl.web@gmail.com>
6466
6467 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6468 (inferior-octave-startup, inferior-octave-check-process)
6469 (inferior-octave-track-window-width-change)
6470 (octave-completion-at-point, octave-eldoc-function): Use it.
6471 (octave-kill-process): Provide confirmation. (Bug#10564)
6472
6473 2013-11-21 Leo Liu <sdl.web@gmail.com>
6474
6475 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6476 Fix obsolete variable comment-use-global-state.
6477
6478 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6479
6480 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6481 Add `octave-source-file'.
6482 (octave-source-file): New function. (Bug#15935)
6483
6484 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6485
6486 * net/eww.el (eww-local-regex): New variable.
6487 (eww): Use it to detect localhost and similar.
6488
6489 2013-11-21 Leo Liu <sdl.web@gmail.com>
6490
6491 Add completion for command `ag'.
6492 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6493 (pcomplete/ag): New function.
6494 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6495
6496 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6499 (bug#14646).
6500 (make-obsolete): Remove interactive spec.
6501
6502 2013-11-21 Glenn Morris <rgm@gnu.org>
6503
6504 * startup.el (command-line-1): Use path-separator with -L.
6505
6506 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6507
6508 * emacs-lisp/package.el (describe-package-1): Add package archive
6509 to shown fields.
6510
6511 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6512
6513 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6514 Change default to "# encoding: %s" to differentiate it from the
6515 default Ruby encoding comment template.
6516
6517 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6518
6519 * ses.el (ses-mode): Doc fix. (Bug#14748)
6520
6521 2013-11-20 Leo Liu <sdl.web@gmail.com>
6522
6523 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6524
6525 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6526
6527 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6528 when rebase or bisect are in progress.
6529
6530 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6531
6532 * filenotify.el (file-notify-add-watch): Doc fix.
6533
6534 2013-11-19 Leo Liu <sdl.web@gmail.com>
6535
6536 * obsolete/rcompile.el: Mark obsolete.
6537
6538 * progmodes/compile.el (compilation-start)
6539 (compilation-goto-locus, compilation-find-file):
6540 Pass no-display-ok and handle nil value from display-buffer.
6541 (Bug#13594)
6542
6543 * window.el (display-buffer-alist, display-buffer): Document the
6544 new parameter no-display-ok. Return either a window or nil
6545 but never a non-window value.
6546
6547 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6548
6549 * electric.el (electric-indent-mode-map): Remove.
6550 (electric-indent-mode): Change the global-map instead (bug#15915).
6551
6552 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6553 Use add-function.
6554
6555 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * emacs-lisp/nadvice.el (remove-function): Align with
6558 add-function's behavior.
6559
6560 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6561 (gdb--string-regexp): New constant.
6562 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6563 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6564 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6565 submatch 1.
6566 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6567 Adjust use accordingly.
6568 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6569
6570 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6571
6572 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6573 interpolation curlies (Bug#15914).
6574
6575 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6576
6577 * calc/calc.el (calc-context-sensitive-enter): New variable.
6578 (calc-enter): Use `calc-context-sensitive-enter'.
6579
6580 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6581
6582 * progmodes/cfengine.el: Version bump.
6583 (cfengine-cf-promises): New defcustom to locate cf-promises.
6584 (cfengine3-vartypes): Add new "data" type.
6585 (cfengine3--current-word): New function to get current name-like
6586 word or its bounds.
6587 (cfengine3--current-function): New function to look up a CFEngine
6588 function's definition.
6589 (cfengine3-format-function-docstring): New function.
6590 (cfengine3-make-syntax-cache): New function.
6591 (cfengine3-documentation-function): New function: ElDoc glue.
6592 (cfengine3-completion-function): New function: completion glue.
6593 (cfengine3-mode): Set `compile-command',
6594 `eldoc-documentation-function', and add to
6595 `completion-at-point-functions'.
6596
6597 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6598
6599 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6600 `tramp-current-connection'.
6601
6602 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6603
6604 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6605 nil/self/true/false with "end of symbol".
6606
6607 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6608
6609 * subr.el (version-regexp-alist): Fix a typo.
6610
6611 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6612
6613 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6614 "en_US.utf8" and "LC_CTYPE" to "".
6615 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6616 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6617
6618 2013-11-15 Leo Liu <sdl.web@gmail.com>
6619
6620 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6621
6622 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * progmodes/gud.el (ctl-x-map):
6625 Remove C-x SPC binding. (Bug#12342)
6626 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6627
6628 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6629
6630 * subr.el (version-regexp-alist):
6631 Recognize hg, svn and darcs versions as snapshot versions.
6632
6633 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6634 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6635 (ruby--encoding-comment-required-p): Extract from
6636 `ruby-mode-set-encoding'.
6637 (ruby-mode-set-encoding): Add the ability to always insert an
6638 utf-8 encoding comment. Fix and simplify coding comment update
6639 logic.
6640
6641 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6642
6643 * net/tramp-gvfs.el (top): Run init code only when
6644 `tramp-gvfs-enabled' is not nil.
6645 (tramp-gvfs-enabled): Check also :system bus.
6646
6647 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 Sync with upstream verilog-mode revision 78e66ba.
6650 * progmodes/verilog-mode.el (verilog-end-of-defun)
6651 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6652 (verilog-get-end-of-defun): Remove unused argument.
6653 (verilog-comment-depth): Remove unused local `e'.
6654 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6655 Don't pass arg to verilog-get-end-of-defun.
6656
6657 2013-11-14 Glenn Morris <rgm@gnu.org>
6658
6659 * obsolete/assoc.el (aget): Prefix dynamic variable.
6660
6661 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6662
6663 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * widget.el, hfy-cmap.el: Remove bogus package version number.
6666
6667 2013-11-13 Glenn Morris <rgm@gnu.org>
6668
6669 * replace.el (replace-eval-replacement):
6670 Try to give more helpful error message. (Bug#15836)
6671
6672 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6673 (archive-7z-update): Avoid custom type mismatches.
6674
6675 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6676
6677 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6678
6679 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6680 address can be empty.
6681
6682 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6683 Accept nil SWITCHES.
6684 (tramp-gvfs-handle-write-region): Implement APPEND.
6685
6686 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6687
6688 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6689 binary "|" operator and closing block args delimiter.
6690 Remove FIXME comment referring to Ruby 1.8-only syntax.
6691 (ruby-smie--implicit-semi-p): Not after "|" operator.
6692 (ruby-smie--closing-pipe-p): New function.
6693 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6694 (ruby-smie-rules): Indent after "|".
6695
6696 2013-11-12 Glenn Morris <rgm@gnu.org>
6697
6698 * ps-print.el (ps-face-attribute-list):
6699 Handle anonymous faces. (Bug#15827)
6700
6701 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6702
6703 * window.el (display-buffer-other-frame): Fix doc-string.
6704 (Bug#15868)
6705
6706 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6709
6710 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6713 (tramp-sh-handle-file-local-copy): Don't write a message when
6714 saving temporary files.
6715
6716 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6717 both directories are remote.
6718 (tramp-smb-handle-directory-files): Do not return double entries.
6719 Do not expand full file names.
6720 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6721 (tramp-smb-handle-write-region): Implement APPEND.
6722 (tramp-smb-get-stat-capability): Fix a stupid bug.
6723
6724 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6727
6728 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6729
6730 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6731 throwing error over malformed let/let* (bug#15814).
6732
6733 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * iswitchb.el (iswitchb-mode): Mark obsolete.
6736
6737 2013-11-11 Glenn Morris <rgm@gnu.org>
6738
6739 * international/uni-bidi.el, international/uni-category.el:
6740 * international/uni-name.el, international/uni-numeric.el:
6741 Regenerate for Unicode 6.3.0.
6742
6743 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6744
6745 * net/tramp.el (tramp-methods):
6746 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6747 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6748
6749 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6750
6751 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6752 Force highlighting text after Summary keyword in doc face for rpm.
6753
6754 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6755
6756 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6757 available and the word has no wildcards, append one to the grep pattern.
6758 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6759 (ispell-complete-word): Call `ispell-lookup-words' with the value
6760 independent of `ispell-look-p'.
6761
6762 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6763
6764 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6765 Not after "||".
6766 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6767 their parent.
6768
6769 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6770
6771 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6772 (ruby-font-lock-keywords): Use backquote.
6773
6774 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6775
6776 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6777 (ruby-smie--backward-token): Only consider full-string matches.
6778
6779 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6780
6781 * faces.el (describe-face): Add distant-foreground.
6782
6783 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6784
6785 * progmodes/ruby-mode.el: Improve encoding comment handling.
6786 (ruby-encoding-magic-comment-style): New option.
6787 (ruby-custom-encoding-magic-comment-template): New option.
6788 (ruby--insert-coding-comment, ruby--detect-encoding):
6789 New functions extracted from `ruby-mode-set-encoding'.
6790 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6791 to control the style of the auto-inserted encoding comment.
6792
6793 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6794
6795 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6796 Use `smie-backward-sexp' with token argument.
6797
6798 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6799
6800 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6801 Remove instrumentation code.
6802
6803 2013-11-08 Glenn Morris <rgm@gnu.org>
6804
6805 * progmodes/autoconf.el (autoconf-mode):
6806 Tweak comment-start-skip. (Bug#15822)
6807
6808 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6811 at bobp (bug#15826).
6812 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6813
6814 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6815
6816 * man.el (Man-start-calling): New macro, extracted from
6817 Man-getpage-in-background.
6818 (Man-getpage-in-background): Use it.
6819 (Man-update-manpage): New command.
6820 (Man-mode-map): Bind it.
6821
6822 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6823
6824 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6825 of "and", "or", "&&" and "||".
6826 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6827 argument. Prohibit opening curly brace because it could only be a
6828 block opener in that position.
6829 (ruby-smie--forward-token, ruby-smie--backward-token):
6830 Separate "|" from "&" or "*" going after it. That can happen in block
6831 arguments.
6832 (ruby-smie--indent-to-stmt): New function, seeks the end of
6833 previous statement or beginning of buffer.
6834 (ruby-smie-rules): Use it.
6835 (ruby-smie-rules): Check if there's a ":" before a curly block
6836 opener candidate; if there is, it's a hash.
6837
6838 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6841 (cl--block-wrapper): Fix last accidental change.
6842
6843 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6844
6845 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6846 Instrument, in order to hunt failure on hydra.
6847
6848 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6849
6850 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6851 malformed bindings form (bug#15814).
6852
6853 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6854
6855 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6856 "." compared to " @ ". This incidentally fixes some indentation
6857 examples with "do".
6858 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6859 (ruby-smie-grammar): New tokens: "and" and "or".
6860 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6861 Exclude "and" and "or". Remove "do" in order to work around token
6862 priorities.
6863 (ruby-smie-rules): Add all infix tokens. Handle the case of
6864 beginning-of-buffer.
6865
6866 2013-11-06 Glenn Morris <rgm@gnu.org>
6867
6868 * Makefile.in (setwins_almost, setwins_for_subdirs):
6869 Avoid accidental matches.
6870
6871 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 * menu-bar.el (popup-menu): Use key-binding.
6874
6875 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6876
6877 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6878 menus, support also the menus produced by minor modes.
6879 (Bug#15817)
6880
6881 2013-11-06 Leo Liu <sdl.web@gmail.com>
6882
6883 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6884 DISTANCE to bound the search. All uses changed. (Bug#15808)
6885
6886 2013-11-06 Glenn Morris <rgm@gnu.org>
6887
6888 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6889 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6890 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6891
6892 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * electric.el (electric-indent-just-newline): New command.
6895 (electric-indent-mode-map): New keymap.
6896 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6897 Re-add :group which weren't redundant.
6898
6899 * electric.el (electric-indent-local-mode): New minor mode.
6900 (electric-indent-functions-without-reindent): New var.
6901 (electric-indent-post-self-insert-function): Use it.
6902 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6903
6904 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6905
6906 * international/quail.el (quail-help): Be more explicit about the
6907 meaning of the labels shown on the keys. (Bug#15800)
6908
6909 * startup.el (normal-top-level): Load the subdirs.el files before
6910 setting the locale environment. (Bug#15805)
6911
6912 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6915 via arguments so as to get the right ones (bug#15418).
6916
6917 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6918
6919 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6920
6921 Fix problems found while writing a test suite.
6922
6923 * net/tramp-compat.el (tramp-compat-load): New defun.
6924 * net/tramp.el (tramp-handle-load): Use it.
6925
6926 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6927 "(numberp ok-if-already-exists)" correctly.
6928
6929 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6930
6931 * international/characters.el (glyphless-char-display-control):
6932 Add usage note.
6933
6934 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6935
6936 * progmodes/python.el (python-mode):
6937 * progmodes/scheme.el (scheme-mode):
6938 * progmodes/prolog.el (prolog-mode):
6939 * progmodes/ruby-mode.el (ruby-mode):
6940 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6941 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6942
6943 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * rect.el (rectangle--highlight-for-redisplay):
6946 * emacs-lisp/smie.el (smie--next-indent-change):
6947 Use buffer-chars-modified-tick.
6948
6949 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6950
6951 * electric.el (electric-indent-post-self-insert-function):
6952 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6953
6954 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6955
6956 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6957
6958 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6959
6960 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6961 (bug#15786).
6962
6963 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6966
6967 * progmodes/python.el: Fix up last change.
6968 (python-shell--save-temp-file): New function.
6969 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6970 `string' comes from the current buffer.
6971 (python-shell-send-string-no-output): Remove `msg' arg.
6972 (python--use-fake-loc): New var.
6973 (python-shell-buffer-substring): Obey it. Try to compensate for the
6974 extra coding line added by python-shell--save-temp-file.
6975 (python-shell-send-region): Use python-shell--save-temp-file and
6976 python-shell-send-file directly. Add `nomain' argument.
6977 (python-shell-send-buffer): Use python-shell-send-region.
6978 (python-electric-pair-string-delimiter): New function.
6979 (python-mode): Use it.
6980
6981 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6982
6983 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6984 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6985 environment and decoding all of the default-directory's to here
6986 from command-line.
6987 (command-line): Decode also argv[0].
6988
6989 * loadup.el: Error out if default-directory is a multibyte string
6990 when we are dumping.
6991
6992 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6993
6994 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6995
6996 * emacs-lisp/package.el (package-menu-mode)
6997 (package-menu--print-info, package-menu--archive-predicate):
6998 Add Archive column to package list.
6999
7000 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7001
7002 Fix problems found while writing a test suite.
7003
7004 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7005 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7006 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7007 to nil when running original file name handler. Otherwise,
7008 there are problems with constructs like "$$FOO".
7009
7010 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7011 for `localname'.
7012
7013 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7014
7015 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7016
7017 * subr.el (version<, version<=, version=):
7018 Update docstrings with information for snapshot versions.
7019
7020 * helpers.el: New library for misc helper functions.
7021 (hash-table-keys): New function returning a list of hash keys.
7022 (hash-table-values): New function returning a list of hash values.
7023
7024 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7025
7026 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7027 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7028
7029 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7030
7031 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7032 checking whether point is after a 1-letter word.
7033
7034 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7035
7036 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7037 Don't infloop when expanding region over `multiline' syntax-type that
7038 begins a line (bug#15778).
7039
7040 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7043 Make it into a proper minor mode.
7044 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7045 (rectangle-mark-mode-map): New keymap.
7046 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7047
7048 2013-11-04 Glenn Morris <rgm@gnu.org>
7049
7050 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7051
7052 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7055 (ruby-smie-rules): Use smie-rule-parent instead.
7056
7057 * emacs-lisp/smie.el (smie-rule-parent): Always call
7058 smie-indent-virtual rather than only for hanging tokens.
7059 (smie--next-indent-change): New helper command.
7060
7061 2013-11-03 Glenn Morris <rgm@gnu.org>
7062
7063 * Makefile.in (abs_srcdir): Remove.
7064 (emacs): Unset EMACSLOADPATH.
7065
7066 2013-11-02 Glenn Morris <rgm@gnu.org>
7067
7068 * Makefile.in (EMACS): Use a relative filename.
7069 (abs_top_builddir): Remove.
7070 (custom-deps, finder-data, autoloads): Use --chdir.
7071
7072 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7073
7074 Use relative filenames in TAGS files.
7075 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7076 (lisptagsfiles4, TAGS): Use relative file names.
7077 (TAGS-LISP): Remove.
7078 (maintainer-clean): No more TAGS-LISP file.
7079
7080 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7081 (lisptagsfiles4): Use absolute filenames again.
7082 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7083 Remove all *loaddefs files, not just the first. Remove esh-groups.
7084 (maintainer-clean): Delete TAGS, TAGS-LISP.
7085
7086 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7087
7088 * emacs-lisp/package.el (package-version-join):
7089 Recognize snapshot versions.
7090
7091 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7092
7093 * subr.el (version-regexp-alist): Add support for snapshot versions.
7094
7095 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7096
7097 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7098 New function, replacement for `smie-rule-parent' for when we want to
7099 skip over our direct parent if it's an assignment token..
7100 (ruby-smie-rules): Use it.
7101
7102 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7103
7104 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7105 unconditionally. Remove now unnecessary forward declarations.
7106 Remove XEmacs-specific setup.
7107 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7108 (ruby-font-lock-syntactic-keywords)
7109 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7110 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7111 (ruby-here-doc-end-syntax): Remove.
7112 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7113 defined as function.
7114
7115 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7116
7117 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7118
7119 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7120
7121 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7122 table and abbrev table, `define-derived-mode' does that for us
7123 anyway.
7124
7125 2013-11-01 Glenn Morris <rgm@gnu.org>
7126
7127 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7128 files is atomic for some time, so no parallel compilation issues).
7129
7130 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7131
7132 * faces.el (face-x-resources): Add :distant-foreground.
7133 (region): Use :distant-foreground for gtk and ns.
7134
7135 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7136
7137 Allow multiple bibliographies when BibLaTeX is used rather than
7138 BibTeX.
7139 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7140 (reftex-locate-bibliography-files): Us it.
7141
7142 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7143
7144 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7145 allow comments in pbm files.
7146
7147 * term/w32-win.el (dynamic-library-alist): Support newer versions
7148 of libjpeg starting with v7: look only for the DLL from the
7149 version against which Emacs was built.
7150 Support versions of libpng beyond 1.4.x.
7151 Support libtiff v4.x.
7152
7153 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7154
7155 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7156 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7157 Add property :safe.
7158 (ruby-deep-arglist): Add property :type.
7159
7160 2013-10-31 Glenn Morris <rgm@gnu.org>
7161
7162 * Makefile.in (custom-deps, finder-data): No need to setq the target
7163 variables, we are in the right directory and the defaults work fine.
7164
7165 2013-10-30 Glenn Morris <rgm@gnu.org>
7166
7167 * Makefile.in (autoloads): Do not use abs_lisp.
7168
7169 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7170 `newline' does not respect `standard-output', so use `princ'.
7171
7172 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7173
7174 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7175 * buff-menu.el (Buffer-menu--unmark): New function.
7176 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7177
7178 2013-10-30 Glenn Morris <rgm@gnu.org>
7179
7180 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7181
7182 * emacs-lisp/package.el (lm-homepage): Declare.
7183
7184 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7185 Fix doc typos.
7186
7187 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7188
7189 * Makefile.in (finder-data, autoloads, update-subdirs)
7190 (compile-main, compile-clean, compile-always, bootstrap-clean):
7191 Check return value of cd.
7192 (compile-calc): Remove.
7193
7194 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7197
7198 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7199 (byte-compile-and-folded): New function.
7200 (=, <, >, <=, >=): Use it.
7201
7202 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7203 (path-separator, null-device, buffer-file-coding-system)
7204 (lpr-headers-switches): Check system-type before modifying them.
7205 (find-buffer-file-type-coding-system): Mark obsolete.
7206 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7207 find-file-not-found-set-buffer-file-coding-system.
7208 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7209 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7210 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7211 (w32-direct-print-region-helper, w32-direct-print-region-function)
7212 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7213 * startup.el (normal-top-level-add-subdirs-to-load-path):
7214 * ps-print.el (ps-print-region-function):
7215 * lpr.el (print-region-function): Use new name.
7216
7217 * subr.el (custom-declare-variable-early): Remove function.
7218 (custom-declare-variable-list): Remove var.
7219 (error, user-error): Remove `while' loop.
7220 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7221 (user-emacs-directory-warning, locate-user-emacs-file):
7222 Move to files.el.
7223 * simple.el (read-quoted-char-radix, read-quoted-char):
7224 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7225 Move from subr.el.
7226 * custom.el (custom-declare-variable-list): Don't process
7227 custom-declare-variable-list.
7228
7229 * progmodes/python.el (python-shell-get-buffer): New function.
7230 (python-shell-get-process): Use it.
7231 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7232 Python which encoding was used. Don't split-string since we only care
7233 about the first line. Return the temp-file, if applicable.
7234 (python-shell-send-region): Tell compile.el how to turn locations in
7235 the temp-file into locations in the source buffer.
7236
7237 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7238
7239 * subr.el (undefined): Add missing behavior from the C code for
7240 unbound keys.
7241
7242 * rect.el: Use lexical-binding. Add new rectangular region support.
7243 (rectangle-mark): New command.
7244 (rectangle--region): New var.
7245 (deactivate-mark-hook): Reset rectangle--region.
7246 (rectangle--extract-region, rectangle--insert-for-yank)
7247 (rectangle--highlight-for-redisplay)
7248 (rectangle--unhighlight-for-redisplay): New functions.
7249 (region-extract-function, redisplay-unhighlight-region-function)
7250 (redisplay-highlight-region-function): Use them to handle
7251 rectangular region.
7252 * simple.el (region-extract-function): New var.
7253 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7254 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7255 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7256 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7257 (redisplay-unhighlight-region-function)
7258 (redisplay-highlight-region-function): New vars.
7259 (redisplay--update-region-highlight): New function.
7260 (pre-redisplay-function): Use it.
7261 (exchange-point-and-mark): Don't deactivate the mark before
7262 reactivate-it anyway.
7263 * comint.el (comint-kill-region): Remove yank-handler argument.
7264 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7265 (delete-char): Remove property, since it's now part of their
7266 default behavior.
7267 (self-insert-iso): Remove property since this command doesn't exist.
7268
7269 * emacs-lisp/package.el (package--download-one-archive)
7270 (describe-package-1): Don't query the user about final newline.
7271
7272 2013-10-29 Daniel Colascione <dancol@dancol.org>
7273
7274 * net/tramp.el (tramp-methods): Document new functionality.
7275 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7276 tramp-hostname-checker if method provides one instead of scanning
7277 argument list for "%h" to decide hostname acceptability.
7278
7279 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7280
7281 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7282 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7283 Handle COPY-CONTENTS. (Bug#15737)
7284
7285 2013-10-28 Daiki Ueno <ueno@gnu.org>
7286
7287 * epa-file.el
7288 (epa-file-cache-passphrase-for-symmetric-encryption):
7289 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7290
7291 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7292
7293 * image.el (defimage, image-load-path): Doc fixes.
7294
7295 2013-10-27 Alan Mackenzie <acm@muc.de>
7296
7297 Indent statements in macros following "##" correctly.
7298 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7299 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7300
7301 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7302
7303 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7304
7305 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7306
7307 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7308 after `=' is probably a new expression.
7309
7310 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7311
7312 * man.el (man-imenu-title): New option.
7313 (Man-mode-map): Add menu. (Bug#15722)
7314 (Man-mode): Add imenu to menu.
7315
7316 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7317
7318 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7319 specific in what the first arg can be: a non-keyword word,
7320 string/regexp/percent literal opener, opening paren, or unary
7321 operator followed directly by word.
7322
7323 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7326 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7327 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7328 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7329 Remove vars, they do not apply any more.
7330 (prolog-mode-abbrev-table): Remove redundant declaration.
7331 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7332 (prolog-use-smie): Remove.
7333 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7334 supported by prolog-electric-if-then-else-flag.
7335 (prolog-mode-variables, prolog-menu): Use setq-local.
7336 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7337 Remove binding to `Backspace' since this key doesn't exist anyway.
7338 Remove bindings for electric self-inserting keys.
7339 (prog-mode): Assume it's defined.
7340 (prolog-post-self-insert): New function.
7341 (prolog-mode): Use it.
7342 (prolog-indent-line, prolog-indent-level)
7343 (prolog-find-indent-of-matching-paren)
7344 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7345 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7346 (prolog-goto-next-paren, prolog-in-string-or-comment)
7347 (prolog-tokenize, prolog-inside-mline-comment)
7348 (prolog-find-start-of-mline-comment): Remove functions.
7349 (prolog-find-unmatched-paren, prolog-clause-end)
7350 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7351 (prolog-electric--if-then-else): Rename from
7352 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7353 (prolog-tokenize-searchkey): Remove const.
7354 (prolog-clause-info): Use forward-sexp.
7355 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7356 (prolog-electric-if-then-else): Remove commands.
7357 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7358 for use in post-self-insert-hook.
7359 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7360 for use in post-self-insert-hook.
7361 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7362 for use in post-self-insert-hook.
7363 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7364 adapt it for use in post-self-insert-hook.
7365
7366 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7367
7368 * emacs-lisp/ert.el (ert-run-tests-interactively):
7369 Use `completing-read'. (Bug#9756)
7370
7371 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7372
7373 * simple.el (line-move): Call line-move-1 instead of
7374 line-move-visual when the current window hscroll is zero, but
7375 temporary-goal-column indicates we will need to hscroll as result
7376 of the movement. (Bug#15712)
7377
7378 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7379
7380 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7381 capitalization. Use :visible instead of :active.
7382 Fix `ruby-indent-exp' reference. Add menu items for the generic
7383 commands that are used with SMIE.
7384 (ruby-do-end-to-brace): Insert space after `{'.
7385
7386 2013-10-25 John Anthony <john@jo.hnanthony.com>
7387
7388 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7389
7390 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7391
7392 2013-10-25 Glenn Morris <rgm@gnu.org>
7393
7394 * vc/vc.el (vc-print-log): Don't use a working revision unless
7395 one was explicitly specified. (Bug#15322)
7396
7397 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * subr.el (add-to-list): Preserve return value in compiler-macro
7400 (bug#15692).
7401
7402 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7403
7404 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7405 result. Ask user to retry using '-all' flag. (Bug#15701)
7406
7407 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7408
7409 * emacs-lisp/smie.el: New smie-config system.
7410 (smie-config): New defcustom.
7411 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7412 (smie-config-guess, smie-config-save): New commands.
7413 (smie-config--mode-local, smie-config--buffer-local)
7414 (smie-config--trace, smie-config--modefuns): New vars.
7415 (smie-config--advice, smie-config--mode-hook)
7416 (smie-config--setter, smie-config-local, smie-config--get-trace)
7417 (smie-config--guess-value, smie-config--guess): New functions.
7418 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7419 text properties. Treat "string fence" syntax like string syntax.
7420
7421 * progmodes/sh-script.el (sh-use-smie): Change default.
7422 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7423 (sh-var-value): Simplify by CSE.
7424 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7425 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7426 is used.
7427 (sh-guess-basic-offset): Use cl-incf.
7428 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7429
7430 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7431
7432 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7433 (bug#15699).
7434
7435 2013-10-24 Glenn Morris <rgm@gnu.org>
7436
7437 * Makefile.in (abs_top_srcdir): Remove.
7438 (update-subdirs): Use relative path to update-subdirs.
7439
7440 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7441
7442 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7443 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7444 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7445 Call unmsys--file-name before expand-file-name, not after it.
7446
7447 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7448
7449 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7450 (ert-test-skipped): New error.
7451 (ert-skip, ert-stats-skipped): New defuns.
7452 (ert--skip-unless): New macro.
7453 (ert-test-skipped): New struct.
7454 (ert--run-test-debugger, ert-test-result-type-p)
7455 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7456 (ert--stats-set-test-and-result, ert-char-for-test-result)
7457 (ert-string-for-test-result, ert-run-tests-batch)
7458 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7459 Handle skipped tests. (Bug#9803)
7460
7461 2013-10-24 Glenn Morris <rgm@gnu.org>
7462
7463 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7464
7465 * Makefile.in (abs_top_srcdir): New, set by configure.
7466 (update-subdirs): Correct build-aux location.
7467
7468 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7469
7470 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7471 value, whether we could auto-deduce `backend', or not.
7472
7473 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7474 with parameters" example. Simplify the "is it block or is it
7475 hash" check, but also make it more thorough.
7476
7477 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7478
7479 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7480
7481 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7484 { if it is hanging.
7485
7486 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7487 :before ";".
7488
7489 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7490
7491 * progmodes/compile.el (compilation-directory-matcher)
7492 (compilation-page-delimiter):
7493 Support GNU Make-4.0 directory quoting. (Bug#15678)
7494
7495 2013-10-23 Leo Liu <sdl.web@gmail.com>
7496
7497 * ido.el (ido-tidy): Handle read-only text.
7498
7499 2013-10-23 Glenn Morris <rgm@gnu.org>
7500
7501 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7502 (emacs, compile, compile-always):
7503 Quote entities that might contain whitespace.
7504 (custom-deps, finder-data, autoloads): Use abs_lisp.
7505 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7506 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7507 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7508
7509 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7510
7511 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7512 Use `following-char'.
7513
7514 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7517 * progmodes/ruby-mode.el (ruby-smie-rules):
7518 Remove corresponding workaround. Fix indentation rule of ";" so it
7519 also applies when ";" is the parent.
7520
7521 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7522
7523 * frame.el (display-screens, display-pixel-height)
7524 (display-pixel-width, display-mm-width, display-backing-store)
7525 (display-save-under, display-planes, display-color-cells)
7526 (display-visual-class, display-monitor-attributes-list):
7527 Mention the optional ‘display’ argument in doc strings.
7528
7529 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7530
7531 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7532 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7533
7534 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7535
7536 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7537 TODO. Add "." after " @ ".
7538 (ruby-smie--at-dot-call): New function. Checks if point at method
7539 call with explicit target.
7540 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7541 to the method name tokens when it precedes them.
7542 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7543 (ruby-smie-rules): Add rule for indentation before and after "."
7544 token.
7545
7546 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * textmodes/remember.el (remember-diary-extract-entries):
7549 Avoid add-to-list.
7550
7551 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7552 an instruction.
7553
7554 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7555
7556 * progmodes/ruby-mode.el (ruby-smie-grammar):
7557 Add (almost) all infix operators.
7558 (ruby-smie--implicit-semi-p): Add new operator chars.
7559
7560 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7561 `smie-down-list'.
7562 (ruby-smie--args-separator-p): Check that there's no newline
7563 between method call and its arguments.
7564
7565 2013-10-20 Alan Mackenzie <acm@muc.de>
7566
7567 Allow comma separated lists after Java "implements".
7568
7569 * progmodes/cc-engine.el (c-backward-over-enum-header):
7570 Parse commas.
7571 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7572 from a "disallowed" list in enum fontification.
7573
7574 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7575
7576 * startup.el (default-frame-background-mode): Remove unused defvar.
7577
7578 * progmodes/verilog-mode.el (verilog-mode): Don't set
7579 comment-indent-function globally.
7580
7581 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7582
7583 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7584 Move Info menu item creation to ns-win.el.
7585
7586 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7587 in menu bar.
7588
7589 * menu-bar.el: Move GNUstep specific menus...
7590
7591 * term/ns-win.el (ns-initialize-window-system): ... to here.
7592
7593 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7594
7595 * simple.el (newline): Only run post-self-insert-hook when
7596 called interactively.
7597
7598 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7599
7600 * icomplete.el (icomplete-with-completion-tables): Add :version.
7601
7602 2013-10-19 Alan Mackenzie <acm@muc.de>
7603
7604 Fix fontification bugs with constructors and const.
7605
7606 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7607 CASE 2) Remove the check for the absence of a suffix construct
7608 after a function declaration with only types (no identifiers) in
7609 the parentheses. Also, accept a function declaration with just a
7610 type inside the parentheses, if this type can be positively
7611 recognised as such, or if a prefix keyword like "explicit" nails
7612 down the construct as a declaration.
7613
7614 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7615
7616 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7617 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7618 the problem whereby selecting a menu item that leads to a
7619 minibuffer prompt moves the cursor out of the minibuffer window,
7620 making it hard to type at the prompt. Suggested by Stefan Monnier
7621 <monnier@iro.umontreal.ca>.
7622
7623 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7624
7625 * menu-bar.el: Don't make Services menu.
7626
7627 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7628
7629 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7630 (ffap-alist): Use ffap-c++-mode for c++-mode.
7631 (ffap-c++-path): New variable.
7632 (ffap-c++-mode): New function.
7633
7634 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7635
7636 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7637
7638 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7639
7640 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7641 introduced on 2013-09-08, which results in an infinite loop
7642 requesting a password.
7643
7644 2013-10-18 Glenn Morris <rgm@gnu.org>
7645
7646 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7647
7648 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7649
7650 Sync with upstream verilog-mode revision 1a6ecec7.
7651 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7652 (verilog-mode-release-date): Remove.
7653 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7654 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7655 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7656 (verilog-auto-tieoff-ignore-regexp)
7657 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7658 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7659 (verilog-signals-with, verilog-dir-cache-preserving)
7660 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7661 Doc fixes.
7662 (verilog-case-fold): New option, to control case folding in
7663 regexp searches, bug597.
7664 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7665 (verilog-string-match-fold, verilog-in-paren-count)
7666 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7667 (verilog-at-close-struct-p): New functions.
7668 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7669 (verilog-forward-sexp, verilog-set-auto-endcomments)
7670 (verilog-leap-to-case-head): Handle "unique0" case.
7671 (verilog-in-constraint-re): New constant.
7672 (verilog-keywords, verilog-type-font-keywords):
7673 Add some SystemVerilog 1800-2012 keywords.
7674 (verilog-label-be): Remove unimplemented argument, bug669.
7675 (verilog-batch-execute-func): When batch expanding clear
7676 create-lockfiles to prevent spurious user locks when a file ends
7677 up not changing.
7678 (verilog-calculate-indent, verilog-calc-1)
7679 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7680 (verilog-do-indent): Fix indentation of nested constraints
7681 and structures.
7682 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7683 (verilog-auto-inst-param): Use verilog-string-match-fold.
7684 (verilog-read-inst-module-matcher):
7685 Fix AUTOINST on gate primitives with #1.
7686 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7687 Reads all user-defined typed variables.
7688 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7689 (verilog-signals-matching-regexp)
7690 (verilog-signals-not-matching-regexp, verilog-auto):
7691 Respect verilog-case-fold.
7692 (verilog-diff-report): Fix line count.
7693 (verilog-auto-assign-modport): Remove unused local `modi'.
7694 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7695 better handle multidimensional arrays.
7696 Fix packed array ports misadding bit index in AUTOINST, bug637.
7697 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7698 to not double-declare existing outputs and inputs, respectively.
7699 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7700 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7701 (verilog-sk-uvm-component): New skeleton.
7702 (verilog-submit-bug-report): Add verilog-case-fold,
7703 remove verilog-mode-release-date.
7704
7705 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7706
7707 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7708 as before.
7709
7710 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7711
7712 * textmodes/remember.el (remember): Set buffer-offer-save in
7713 remember buffers (bug#13566).
7714
7715 2013-10-18 Daniel Colascione <dancol@dancol.org>
7716
7717 When evaluating forms in ielm, direct standard output to ielm
7718 buffer. Add new ielm-return-for-effect command. Remove trailing
7719 whitespace throughout.
7720
7721 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7722 (ielm-return-for-effect): New command.
7723 (ielm-send-input): Accept optional `for-effect' parameter.
7724 (ielm-eval-input): Accept optional `for-effect' parameter.
7725 Bind `standard-output' to stream we create using
7726 `ielm-standard-output-impl'. Suppress printing result when
7727 `for-effect'.
7728 (ielm-standard-output-impl): New function.
7729 (inferior-emacs-lisp-mode): Explain new features in documentation.
7730
7731 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7732
7733 Code cleanup.
7734
7735 * net/tramp.el (tramp-debug-message): Do not check for connection
7736 buffer.
7737 (tramp-message): Use "vector" connection property.
7738
7739 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7740 (tramp-equal-remote, tramp-eshell-directory-change)
7741 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7742 (tramp-adb-handle-rename-file)
7743 * net/tramp-cmds.el (tramp-list-remote-buffers)
7744 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7745 * net/tramp-compat.el (tramp-compat-process-running-p)
7746 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7747 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7748 (tramp-gvfs-handle-rename-file)
7749 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7750 (tramp-set-file-uid-gid)
7751 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7752 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7753 of `file-remote-p'.
7754
7755 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7756 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7757 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7758 (tramp-gw-open-network-stream): Suppress unrelated traces.
7759
7760 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7761 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7762 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7763 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7764 connection property.
7765
7766 * net/tramp-cache.el (top): Suppress traces when reading
7767 persistency file.
7768
7769 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7770 Refactor common code. Improve debug message.
7771 (tramp-maybe-open-connection)
7772 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7773 connection buffer too early.
7774
7775 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7776 from `tramp-smb-actions-with-acl'.
7777 (tramp-smb-actions-set-acl): New defconst.
7778 (tramp-smb-handle-copy-directory)
7779 (tramp-smb-action-get-acl): New defun, renamed from
7780 `tramp-smb-action-with-acl'.
7781 (tramp-smb-action-set-acl): New defun.
7782 (tramp-smb-handle-set-file-acl): Rewrite.
7783
7784 2013-10-17 Glenn Morris <rgm@gnu.org>
7785
7786 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7787
7788 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * skeleton.el (skeleton-newline): Remove.
7791 (skeleton-internal-1): Use (insert "\n") instead.
7792
7793 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7794 let-bindings.
7795
7796 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7797 forward-sexp-function while we redo its job (bug#15613).
7798
7799 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7800
7801 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7802 represented by lists.
7803
7804 2013-10-16 Glenn Morris <rgm@gnu.org>
7805
7806 * tmm.el (tmm--history): New dynamic variable.
7807 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7808
7809 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7810
7811 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7812 (tramp-smb-errors): Add error messages.
7813 (tramp-smb-actions-with-acl): New defconst.
7814 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7815 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7816 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7817 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7818 (tramp-smb-get-stat-capability): Fix tests.
7819
7820 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7821
7822 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7823 (bug#15580).
7824
7825 2013-10-16 Glenn Morris <rgm@gnu.org>
7826
7827 * ansi-color.el (ansi-color-drop-regexp):
7828 Add 1J, 1K, 2K. (Bug#15617)
7829
7830 * files.el (hack-local-variables--warned-lexical): New.
7831 (hack-local-variables):
7832 Warn about misplaced lexical-binding. (Bug#15616)
7833
7834 * net/eww.el (eww-render): Always set eww-current-url,
7835 and update header line. (Bug#15622)
7836 (eww-display-html): ... Rather than just doing it here.
7837
7838 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7839
7840 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7841 menu navigations commands.
7842
7843 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7844
7845 * progmodes/subword.el (subword-capitalize): Be careful when
7846 the search for [[:alpha:]] fails (bug#15580).
7847
7848 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7849
7850 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7851 to commands that scroll the menu.
7852
7853 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7854
7855 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7856 Handle methods ending with `?' and `!'.
7857
7858 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7859
7860 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7861 `japanese-cp932' to `cp932' to fix the problem where saving a
7862 source file written in Shift_JIS twice would end up having
7863 `coding: japanese-cp932' which Ruby could not recognize.
7864 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7865 in `ruby-encoding-map'.
7866 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7867 doesn't need to be explicitly declared in magic comment.
7868 (ruby-encoding-map): Add type declaration for better customize UI.
7869
7870 2013-10-13 Glenn Morris <rgm@gnu.org>
7871
7872 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7873 Occur buffers are read-only. http://bugs.debian.org/720775
7874
7875 * emacs-lisp/authors.el (authors-fixed-entries):
7876 Comment out old alpha stuff.
7877
7878 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7879
7880 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7881 to `after-save-hook' instead of `before-save-hook'.
7882 (ruby-mode-set-encoding): Use the value of coding system used to
7883 write the file. Call `basic-save-buffer-1' after modifying the
7884 buffer.
7885
7886 2013-10-13 Alan Mackenzie <acm@muc.de>
7887
7888 Fix indentation/fontification of Java enum with
7889 "implements"/generic.
7890
7891 * progmodes/cc-engine.el (c-backward-over-enum-header):
7892 Extracted from the three other places and enhanced to handle generics.
7893 (c-inside-bracelist-p): Uses new function above.
7894 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7895 function above.
7896 (c-font-lock-enum-tail): Uses new function above.
7897
7898 2013-10-13 Kenichi Handa <handa@gnu.org>
7899
7900 * international/mule-cmds.el (select-safe-coding-system): Remove a
7901 superfluous condition in chekcing whether a coding system is safe
7902 or not.
7903
7904 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7905
7906 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7907
7908 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7909
7910 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7911
7912 2013-10-13 Glenn Morris <rgm@gnu.org>
7913
7914 * menu-bar.el (menu-bar-update-buffers):
7915 Unify Buffers menu prompt string. (Bug#15576)
7916
7917 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7918
7919 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7920 Add some entries.
7921 (authors-fixed-entries): Use accented form of name.
7922
7923 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7926 method calls (bug#15594).
7927 (ruby-smie--args-separator-p): New function.
7928 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7929 recognize paren-free method calls.
7930
7931 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7932 internals of universal-argument.
7933
7934 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7935
7936 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7937 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7938 dropped menu on second mouse click on the menu bar.
7939
7940 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7943 (explicit-shell-file-name): Declare.
7944 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7945 (sh-completion-at-point-function): New function.
7946 (sh-mode): Use it.
7947 (sh-smie--keyword-p): Remove unused argument.
7948 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7949 vars.
7950 (sh-set-shell): Always setup SMIE, even if we use the
7951 old indentation code.
7952
7953 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7954
7955 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7956 cases of ? and =.
7957 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7958 predicate would return nil are almost non-existent.
7959 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7960
7961 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7962 cache also after commands that modify the buffer but don't move
7963 point.
7964
7965 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7966
7967 * env.el (substitute-env-in-file-name): New function.
7968 (substitute-env-vars): Extend the meaning of the optional arg.
7969
7970 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7971
7972 * term/w32-win.el (dynamic-library-alist): Define separate lists
7973 of GIF DLLs for versions before and after 5.0.0 of giflib.
7974 (Bug#15531)
7975
7976 2013-10-10 João Távora <joaotavora@gmail.com>
7977
7978 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7979 not locked, use last revision and current source as
7980 defaults. (Bug#15569)
7981
7982 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7983
7984 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7985 menu-bar is hidden.
7986
7987 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7988
7989 * window.el (pop-to-buffer-same-window): Fix doc-string.
7990 (Bug#15492)
7991
7992 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7993
7994 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7995
7996 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7997
7998 * calendar/icalendar.el (icalendar-import-file):
7999 Fix interactive spec. (Bug#15482)
8000
8001 2013-10-10 Glenn Morris <rgm@gnu.org>
8002
8003 * desktop.el (desktop-save): Default to saving in .emacs.d,
8004 since PWD is no longer in desktop-path by default. (Bug#15319)
8005
8006 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8007 now that text mode has a menu with the same entry.
8008 (menu-bar-text-mode-auto-fill): Remove now unused func.
8009 * textmodes/text-mode.el (text-mode-map):
8010 Use auto-fill help text from menu-bar.el.
8011
8012 2013-10-10 John Anthony <john@jo.hnanthony.com>
8013
8014 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8015
8016 2013-10-09 Juri Linkov <juri@jurta.org>
8017
8018 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8019 instead of this-command-keys. Add universal-argument-more and
8020 universal-argument-minus to the list of prefix commands. (Bug#15568)
8021
8022 2013-10-09 Glenn Morris <rgm@gnu.org>
8023
8024 * vc/vc-svn.el (vc-svn-create-repo):
8025 Expand paths in file://... url. (Bug#15446)
8026
8027 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8028 Add some entries.
8029 (authors): Remove unused local variables.
8030
8031 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 * profiler.el: Create a more coherent calltree from partial backtraces.
8034 (profiler-format): Hide the tail with `invisible' so that C-s can still
8035 find the hidden elements.
8036 (profiler-calltree-depth): Don't recurse so enthusiastically.
8037 (profiler-function-equal): New hash-table-test.
8038 (profiler-calltree-build-unified): New function.
8039 (profiler-calltree-build): Use it.
8040 (profiler-report-make-name-part): Indent the calltree less.
8041 (profiler-report-mode): Add visibility specs for profiler-format.
8042 (profiler-report-expand-entry, profiler-report-toggle-entry):
8043 Expand the whole subtree when provided with a prefix arg.
8044
8045 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8046
8047 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8048 iuwu-mod token.
8049 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8050 hanging iuwu-mod token.
8051 (ruby-smie--forward-token): Do not include a dot after a token in
8052 that token.
8053 (ruby-smie--backward-token): Likewise.
8054
8055 2013-10-08 Juri Linkov <juri@jurta.org>
8056
8057 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8058 to isearch-other-control-char.
8059 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8060 and isearch-post-command-hook to post-command-hook.
8061 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8062 and isearch-post-command-hook from post-command-hook.
8063 (isearch-unread-key-sequence)
8064 (isearch-reread-key-sequence-naturally)
8065 (isearch-lookup-scroll-key, isearch-other-control-char)
8066 (isearch-other-meta-char): Remove functions.
8067 (isearch-pre-command-hook, isearch-post-command-hook):
8068 New functions based on isearch-other-meta-char rewritten
8069 relying on the new behavior of overriding-terminal-local-map
8070 that does not replace the local keymaps any more. (Bug#15200)
8071
8072 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8073
8074 Support menus on text-mode terminals.
8075 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8076 functionality.
8077
8078 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8079
8080 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8081 Move here from mouse.el.
8082 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8083 and arrow keys.
8084 (tty-menu-navigation-map): New map for TTY menu navigation.
8085
8086 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8087
8088 * frame.el (display-mouse-p): Report text-mode mouse as available
8089 on w32.
8090 (display-popup-menus-p): Report availability if mouse is
8091 available; don't condition on window-system.
8092
8093 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8094 (tty-menu-selected-face): New faces.
8095
8096 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8099 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8100 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8101 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8102 New constants.
8103 (lisp-mode-variables): New `elisp' argument.
8104 (emacs-lisp-mode): Use it.
8105 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8106 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8107
8108 * indent.el: Use lexical-binding.
8109 (indent-region): Add progress reporter.
8110 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8111 last step.
8112 (indent--next-tab-stop): New function to implement this behavior.
8113 (tab-to-tab-stop, move-to-tab-stop): Use it.
8114
8115 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8116
8117 * indent.el (indent-rigidly--current-indentation): New function.
8118 (indent-rigidly-map): New var.
8119 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8120
8121 2013-10-08 Bastien Guerry <bzg@gnu.org>
8122
8123 * register.el (insert-register): Fix 2013-10-07 change.
8124
8125 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * progmodes/perl-mode.el: Use lexical-binding.
8128 Remove redundant :group args.
8129 (perl-nochange): Change default to be closer to other major modes's
8130 standard behavior.
8131 (perl-indent-line): Don't consider text on current line as a
8132 valid beginning of function from which to indent.
8133
8134 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8135 with more than one argument (bug#15538).
8136
8137 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8138
8139 * vc/pcvs.el: Use lexical-binding.
8140 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8141 environment of `eval'.
8142 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8143 than a list of expressions. Adjust callers.
8144 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8145
8146 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8147
8148 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8149 case of the dot in a chained method call being on the following line.
8150
8151 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * electric.el (electric-indent-inhibit): New var.
8154 (electric-indent-post-self-insert-function): Use it.
8155 * progmodes/python.el (python-mode): Set it.
8156
8157 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8158 open braces.
8159
8160 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8161
8162 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8163 (css-mode): Use electric-indent-chars.
8164
8165 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8166 (font-lock-beg, font-lock-end): Move before first use.
8167 (nxml-mode): Use syntax-propertize-function.
8168 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8169 (nxml-extend-after-change-region): Remove.
8170 * nxml/xmltok.el: Use lexical-binding.
8171 (xmltok-save): Use `declare'.
8172 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8173 * nxml/nxml-util.el: Use lexical-binding.
8174 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8175 Use `declare'.
8176 * nxml/nxml-ns.el: Use lexical-binding.
8177 (nxml-ns-save): Use `declare'.
8178 (nxml-ns-prefixes-for): Avoid add-to-list.
8179 * nxml/rng-match.el: Use lexical-binding.
8180 (rng--ipattern): Use cl-defstruct.
8181 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8182 (rng-cons-group-after, rng-subst-group-after)
8183 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8184 Use closures instead of `(lambda...).
8185
8186 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8187
8188 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8189 of BEG and END.
8190
8191 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8192 Use `tramp-handle-insert-file-contents'.
8193 (tramp-gvfs-handle-insert-file-contents): Remove function.
8194
8195 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8196 Use `save-restriction' in order to keep markers.
8197
8198 * net/trampver.el: Update release number.
8199
8200 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 * progmodes/compile.el (compilation-parse-errors):
8203 Use compilation--put-prop.
8204 (compilation--ensure-parse): Check compilation-multiline.
8205
8206 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8207
8208 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8209 lexical-binding.
8210
8211 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8212
8213 * progmodes/ruby-mode.el: Fix recently added tests.
8214 (ruby-smie-grammar): Add - and +.
8215 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8216 (ruby-smie--backward-id): New functions.
8217 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8218 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8219 any more.
8220
8221 2013-10-07 Leo Liu <sdl.web@gmail.com>
8222
8223 * register.el (register-preview-delay)
8224 (register-preview-functions): New variables.
8225 (register-read-with-preview, register-preview)
8226 (register-describe-oneline): New functions.
8227 (point-to-register, window-configuration-to-register)
8228 (frame-configuration-to-register, jump-to-register)
8229 (number-to-register, view-register, insert-register)
8230 (copy-to-register, append-to-register, prepend-to-register)
8231 (copy-rectangle-to-register): Use register-read-with-preview to
8232 read register. (Bug#15525)
8233
8234 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8235
8236 * net/network-stream.el (network-stream-open-starttls): Don't add
8237 --insecure if it's already present, because that gnutls-cli
8238 rejects getting that parameter twice.
8239
8240 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8241
8242 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8243 keyword, too.
8244
8245 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8246
8247 * newcomment.el (comment-use-global-state): Change default value
8248 to t, mark obsolete (Bug#15251).
8249 (comment-beginning): In addition to `comment-to-syntax', check the
8250 value of `comment-use-global-state'.
8251
8252 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8255 (ruby-comment-column): Follow the global default, by default.
8256 (ruby-smie-grammar): Add assignment syntax.
8257 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8258 open-paren, a comma, or a \.
8259 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8260 and line continuations.
8261 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8262 followed by implicit semi-colons. Add rule for string concatenation
8263 and for indentation at BOB.
8264 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8265
8266 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8267 calling next-sexp, since next-token may have skipped chars which
8268 next-sexp doesn't know should be skipped!
8269
8270 2013-10-05 Leo Liu <sdl.web@gmail.com>
8271
8272 * progmodes/octave.el (octave-send-region):
8273 Call compilation-forget-errors.
8274
8275 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8276
8277 * vc/vc-svn.el (vc-svn-find-admin-dir):
8278 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8279 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8280 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8281 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8282
8283 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8286
8287 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8288
8289 * subr.el (read-passwd): Hide chars even when called within a context
8290 where after-change-functions is disabled (bug#15501).
8291 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8292 until we removed ourself from overriding-terminal-local-map.
8293
8294 2013-10-04 Leo Liu <sdl.web@gmail.com>
8295
8296 * progmodes/octave.el (inferior-octave-mode):
8297 Call compilation-forget-errors.
8298
8299 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8300
8301 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8302
8303 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8304
8305 * net/secrets.el (secrets-create-collection): Add optional
8306 argument ALIAS. Use proper Label keyword. Append ALIAS as
8307 dbus-call-method argument. (Bug#15516)
8308
8309 2013-10-04 Leo Liu <sdl.web@gmail.com>
8310
8311 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8312 (inferior-octave-compilation-font-lock-keywords): New variables.
8313 (compilation-error-regexp-alist)
8314 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8315 (inferior-octave-mode): Use compilation-shell-minor-mode.
8316
8317 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8318
8319 * minibuffer.el (completion--replace): Be careful that `end' might be
8320 a marker.
8321
8322 2013-10-03 Daiki Ueno <ueno@gnu.org>
8323
8324 Add support for package signature checking.
8325 * emacs-lisp/package.el (url-http-file-exists-p)
8326 (epg-make-context, epg-context-set-home-directory)
8327 (epg-verify-string, epg-context-result-for)
8328 (epg-signature-status, epg-signature-to-string)
8329 (epg-check-configuration, epg-configuration)
8330 (epg-import-keys-from-file): Declare.
8331 (package-check-signature): New user option.
8332 (package-unsigned-archives): New user option.
8333 (package-desc): Add `signed' field.
8334 (package-load-descriptor): Set `signed' field if .signed file exists.
8335 (package--archive-file-exists-p): New function.
8336 (package--check-signature): New function.
8337 (package-install-from-archive): Check package signature.
8338 (package--download-one-archive): Check archive signature.
8339 (package-delete): Remove .signed file.
8340 (package-import-keyring): New command.
8341 (package-refresh-contents): Import default keyring.
8342 (package-desc-status): Add "unsigned" status.
8343 (describe-package-1, package-menu--print-info)
8344 (package-menu-mark-delete, package-menu--find-upgrades)
8345 (package-menu--status-predicate): Support "unsigned" status.
8346
8347 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8350 the new compilation scheme using the new byte-codes.
8351
8352 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8353 (byte-pophandler): New byte codes.
8354 (byte-goto-ops): Adjust accordingly.
8355 (byte-compile--use-old-handlers): New var.
8356 (byte-compile-catch): Use new byte codes depending on
8357 byte-compile--use-old-handlers.
8358 (byte-compile-condition-case--old): Rename from
8359 byte-compile-condition-case.
8360 (byte-compile-condition-case--new): New function.
8361 (byte-compile-condition-case): New function that dispatches depending
8362 on byte-compile--use-old-handlers.
8363 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8364 when we can.
8365
8366 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8367 Optimize under `condition-case' and `catch' if
8368 byte-compile--use-old-handlers is nil.
8369 (disassemble-offset): Handle new bytecodes.
8370
8371 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * subr.el (error): Use `declare'.
8374 (decode-char, encode-char): Use advertised-calling-convention instead
8375 of the docstring to discourage use of the `restriction' arg.
8376
8377 2013-10-03 Daiki Ueno <ueno@gnu.org>
8378
8379 * epg.el (epg-verify-file): Add a comment saying that it does not
8380 notify verification error as a return value nor a signal.
8381 (epg-verify-string): Ditto.
8382
8383 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8384
8385 * progmodes/compile.el (compilation-start): Try globbing the arg to
8386 `cd' (bug#15417).
8387
8388 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8389
8390 Sync with Tramp 2.2.8.
8391
8392 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8393 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8394 * net/trampver.el: Update release number.
8395
8396 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8397
8398 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8399 and default-process-coding-system for darwin only.
8400
8401 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8404
8405 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8406
8407 * vc/vc-git.el (vc-git-grep): Disable pager.
8408
8409 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8410
8411 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8412 Use :url instead of :homepage, as per
8413 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8414
8415 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8416 non-nil, use `syntax-ppss' (Bug#15251).
8417
8418 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8419
8420 * progmodes/octave.el (inferior-octave-startup-file):
8421 Prefer ~/.emacs.d/init_octave.m.
8422
8423 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8424
8425 * emacs-lisp/package.el (package-desc-from-define):
8426 Accept additional arguments as plist, convert them to an alist and store
8427 them in the `extras' slot.
8428 (package-generate-description-file): Convert extras alist back to
8429 plist and append to the `define-package' form arguments.
8430 (package--alist-to-plist): New function.
8431 (package--ac-desc): Add `extras' slot.
8432 (package--add-to-archive-contents): Check if the archive-contents
8433 vector is long enough, and if it is, pass its `extras' slot value
8434 to `package-desc-create'.
8435 (package-buffer-info): Call `lm-homepage', pass the returned value
8436 to `package-desc-from-define'.
8437 (describe-package-1): Render the homepage button (Bug#13291).
8438
8439 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8440 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8441
8442 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8443
8444 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8445 and default-process-coding-system to utf-8-unix (Bug#15402).
8446
8447 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8448
8449 * subr.el (looking-back): Do not recommend using looking-back.
8450
8451 2013-09-28 Alan Mackenzie <acm@muc.de>
8452
8453 Fix indentation/fontification of Java enum with "implements".
8454
8455 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8456 regexp which matches "implements", etc., in Java.
8457 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8458 specifier clauses coming after "enum".
8459 * progmodes/cc-fonts.el (c-font-lock-declarations)
8460 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8461 after "enum".
8462
8463 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8464
8465 * faces.el (region): Change ns_selection_color to
8466 ns_selection_fg_color, add ns_selection_bg_color.
8467
8468 2013-09-28 Leo Liu <sdl.web@gmail.com>
8469
8470 * progmodes/octave.el (inferior-octave-completion-table)
8471 (inferior-octave-completion-at-point): Minor tweaks.
8472
8473 * textmodes/ispell.el (ispell-lookup-words): Rename from
8474 lookup-words. (Bug#15460)
8475 (lookup-words): Obsolete.
8476 (ispell-complete-word, ispell-command-loop): All uses changed.
8477
8478 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8479
8480 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8481 (octave-mode-menu): Add octave-send-buffer.
8482 (octave-send-buffer): New function.
8483
8484 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8485
8486 * progmodes/octave.el (octave-mode-map): Add key binding for
8487 octave-lookfor.
8488 (octave-mode-menu): Add octave-lookfor.
8489 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8490 octave-lookfor.
8491 (octave-lookfor): New function.
8492
8493 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8496 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8497 its convention.
8498 (cl--loop-set-iterator-function): New function.
8499 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8500 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8501 Bind `it' with `let' instead of substituting it with `cl-subst'.
8502 (cl--unused-var-p): New function.
8503 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8504 Eliminate some unused variable warnings (bug#15326).
8505
8506 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8507
8508 * doc-view.el (doc-view-scale-reset): Rename from
8509 `doc-view-reset-zoom-level'.
8510 (doc-view-scale-adjust): New command.
8511 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8512 `doc-view-scale-adjust'.
8513
8514 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8515
8516 * doc-view.el (doc-view-reset-zoom-level): New command.
8517 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8518 zoom commands (bug#15466).
8519
8520 2013-09-26 Kenichi Handa <handa@gnu.org>
8521
8522 * international/quail.el (quail-help): Make it not a command.
8523
8524 2013-09-26 Leo Liu <sdl.web@gmail.com>
8525
8526 * minibuffer.el (completion-all-sorted-completions): Make args
8527 optional as they are.
8528
8529 2013-09-25 Daniel Colascione <dancol@dancol.org>
8530
8531 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8532 specs are and that they're not evaluated.
8533
8534 2013-09-24 Sam Steingold <sds@gnu.org>
8535
8536 * midnight.el (clean-buffer-list-kill-regexps)
8537 (clean-buffer-list-kill-buffer-names): Update for the new Man
8538 buffer naming which includes the object name.
8539
8540 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8543 (eshell-parse-command, eshell-parse-pipeline): Use it since
8544 eshell-separate-commands requires a dynamic scoped var.
8545 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8546
8547 2013-09-23 Leo Liu <sdl.web@gmail.com>
8548
8549 * autoinsert.el (auto-insert-alist): Make the value of
8550 lexical-binding match its file setting.
8551
8552 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8553
8554 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8555
8556 * autoarg.el (autoarg-kp-digit-argument):
8557 * electric.el (Electric-command-loop):
8558 * kmacro.el (kmacro-step-edit-insert):
8559 Do not set universal-argument-num-events.
8560
8561 2013-09-22 Leo Liu <sdl.web@gmail.com>
8562
8563 * files.el (interpreter-mode-alist): Add octave.
8564
8565 2013-09-21 Alan Mackenzie <acm@muc.de>
8566
8567 C++: fontify identifier in declaration following "public:" correctly.
8568 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8569 to match "public", etc.
8570 (c-decl-prefix-re): Add ":" into the C++ value.
8571 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8572 bit. Add a check for a ":" preceded by "public", etc.
8573
8574 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8575
8576 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8577 recognized by GDB 7.5 and later.
8578
8579 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8580
8581 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8582
8583 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * subr.el (internal--call-interactively): New const.
8586 (called-interactively-p): Use it (bug#3984).
8587
8588 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8589
8590 * vc/pcvs.el (cvs-mode-ignore):
8591 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8592 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8593
8594 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8597 (eshell-ls-orig-insert-directory): Remove.
8598 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8599 (eshell-ls-use-in-dired): Use advice-add/remove.
8600 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8601 Add `orig-fun' arg for use in :around advice.
8602 Make it check (redundantly) eshell-ls-use-in-dired.
8603
8604 2013-09-19 Glenn Morris <rgm@gnu.org>
8605
8606 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8607
8608 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8609
8610 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8611
8612 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8613
8614 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8615 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8616 (tramp-get-remote-python): New defuns.
8617 (tramp-get-remote-uid-with-perl)
8618 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8619 contributed by yary <not.com@gmail.com> (tiny change).
8620 (tramp-get-remote-uid-with-python)
8621 (tramp-get-remote-gid-with-python): New defuns. Python code
8622 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8623 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8624
8625 2013-09-19 Glenn Morris <rgm@gnu.org>
8626
8627 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8628
8629 * eshell/em-unix.el (eshell-remove-entries):
8630 Rename argument to avoid name-clash with global `top-level'.
8631
8632 * eshell/esh-proc.el (eshell-kill-process-function):
8633 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8634 (eshell-reset-after-proc): Remove unused arg `proc'.
8635
8636 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8637 (directory-files-and-attributes): Mark unused arg.
8638
8639 * eshell/em-unix.el (eshell-remove-entries):
8640 Remove unused arg `path'. Update callers.
8641
8642 * eshell/em-hist.el (eshell-hist-parse-arguments):
8643 Remove unused arg `silent'. Update callers.
8644
8645 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8646 Fix (f)boundp mix-up.
8647
8648 * eshell/em-smart.el (eshell-smart-scroll-window)
8649 (eshell-disable-after-change):
8650 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8651
8652 2013-09-18 Alan Mackenzie <acm@muc.de>
8653
8654 Fix fontification of type when followed by "const".
8655 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8656 "known" types from fontification.
8657
8658 2013-09-18 Glenn Morris <rgm@gnu.org>
8659
8660 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8661 (chart-face-list): Drop Emacsen without display-color-p.
8662
8663 * net/eww.el (libxml-parse-html-region): Declare.
8664 (eww-display-html): Explicit error if no libxml2 support.
8665
8666 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8667
8668 * image.el (image-type-from-buffer, image-multi-frame-p):
8669 Remove --without-x warning/error.
8670
8671 * mouse.el (mouse-yank-primary):
8672 * term.el (term-mouse-paste):
8673 Reorder to silence --without-x compilation.
8674
8675 * mpc.el (doc-view-mode): Silence --without-x compilation.
8676
8677 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8678 Silence --without-x compilation.
8679
8680 * progmodes/gud.el (gud-find-file, gud-mode):
8681 Silence --without-x compilation.
8682 (tooltip-mode): Declare.
8683
8684 * wdired.el (dired-backup-overwrite): Remove declaration.
8685 (wdired-mode-map): Add doc string.
8686
8687 * custom.el (x-get-resource): Declare.
8688
8689 * eshell/em-glob.el (ange-cache):
8690 * eshell/em-unix.el (ange-cache): Declare.
8691
8692 * faces.el (x-display-list, x-open-connection, x-get-resource):
8693 Declare.
8694
8695 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8696 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8697 Declare.
8698
8699 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8700
8701 * net/gnutls.el (gnutls-log-level): Declare.
8702
8703 * net/shr.el (image-size, image-animate): Declare.
8704
8705 * simple.el (font-info): Declare.
8706
8707 * subr.el (x-popup-dialog): Declare.
8708
8709 * term/common-win.el (x-select-enable-primary)
8710 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8711 Declare.
8712
8713 * term/ns-win.el (x-handle-args): Declare.
8714
8715 * term/x-win.el (x-select-enable-clipboard): Declare.
8716
8717 * term/w32-win.el (create-default-fontset): Declare.
8718
8719 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8720 Declare.
8721
8722 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8723 (fit-frame-to-buffer): Explicit error if --without-x.
8724 (mouse-autoselect-window-select): Silence compiler.
8725
8726 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8727
8728 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8729 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8730 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8731 * eshell/esh-util.el (eshell-sublist):
8732 Remove unused local variables.
8733
8734 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8735
8736 * textmodes/two-column.el: Make 2C-split work for --without-x.
8737 (scroll-bar-columns): Autoload.
8738 (top-level): Require fringe when compiling.
8739
8740 2013-09-18 Leo Liu <sdl.web@gmail.com>
8741
8742 * subr.el (add-hook): Robustify to handle closure as well.
8743
8744 2013-09-17 Glenn Morris <rgm@gnu.org>
8745
8746 * simple.el (messages-buffer-mode-map): Unbind "g".
8747
8748 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * help-mode.el (help-mode-finish): Use derived-mode-p.
8751 Remove obsolete highlighting.
8752
8753 * play/life.el (life-mode): Use define-derived-mode. Derive from
8754 special-mode.
8755 (life): Let-bind inhibit-read-only.
8756 (life-setup): Avoid `setq'. Use `life-mode'.
8757
8758 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8759 which should not be needed any more.
8760 (package-menu-refresh, package-menu-describe-package): Use user-error.
8761
8762 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8763 (eshell-post-rewrite-command-hook): Make obsolete.
8764 (eshell-parse-command): Simplify.
8765 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8766 (eshell--cmd): Declare.
8767 (eshell-parse-pipeline): Remove unused var `final-p'.
8768 Pass a dynvar to eshell-post-rewrite-command-hook.
8769 Implement the new eshell-post-rewrite-command-function.
8770 (eshell-invoke-directly): Remove unused arg `input'.
8771 * eshell/esh-io.el (eshell-io-initialize):
8772 Use eshell-post-rewrite-command-function (bug#15399).
8773 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8774 adjust to new calling convention.
8775 (eshell-create-handles): Rename args to avoid clashing with dynvar
8776 `standard-output'.
8777
8778 2013-09-17 Glenn Morris <rgm@gnu.org>
8779
8780 * simple.el (messages-buffer-mode): New major mode.
8781 (messages-buffer): New function.
8782 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8783 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8784 (ert-run-test): Use `messages-buffer' function.
8785 (ert--force-message-log-buffer-truncation): Ignore read-only.
8786 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8787 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8788
8789 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8792
8793 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8794
8795 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * icomplete.el (icomplete-in-buffer): New var.
8798 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8799 vars and replace them with functions.
8800 (icomplete-minibuffer-setup): Adjust accordingly.
8801 (icomplete--completion-table, icomplete--completion-predicate)
8802 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8803 New functions.
8804 (icomplete-forward-completions, icomplete-backward-completions)
8805 (icomplete-simple-completing-p, icomplete-exhibit)
8806 (icomplete-completions): Use them.
8807 (icomplete--in-region-buffer): New var.
8808 (icomplete--in-region-setup): New function.
8809 (icomplete-mode): Use it.
8810
8811 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8812 (bug#15379).
8813 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8814 return args and options.
8815 (eshell-eval-using-options): Use the new return value of
8816 eshell--do-opts to set the options's vars in their scope.
8817 (eshell--set-option): Rename from eshell-set-option.
8818 Add arg `opt-vals'.
8819 (eshell--process-option): Rename from eshell-process-option.
8820 Add arg `opt-vals'.
8821 (eshell--process-args): Use an `opt-vals' alist to store the options's
8822 values during their processing and return them additionally to the
8823 remaining args.
8824
8825 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8826
8827 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8828 continuation character an operator, as far as indentation is
8829 concerned (Bug#15369).
8830
8831 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8832
8833 * window.el (window--state-put-2): Don't process buffer state
8834 when buffer doesn't exist any more (Bug#15382).
8835
8836 2013-09-15 Glenn Morris <rgm@gnu.org>
8837
8838 * eshell/em-unix.el (eshell/rm):
8839 Make -f ignore missing files. (Bug#15373)
8840
8841 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8842 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8843 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8844
8845 2013-09-14 Glenn Morris <rgm@gnu.org>
8846
8847 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8848
8849 2013-09-13 Glenn Morris <rgm@gnu.org>
8850
8851 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8852 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8853
8854 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8855
8856 * frame.el (x-focus-frame): Mark as declared in frame.c.
8857
8858 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * ls-lisp.el: Use advice-add.
8861 (original-insert-directory): Remove.
8862 (ls-lisp--insert-directory): Rename from insert-directory; add
8863 `orig-fun' argument.
8864 (insert-directory): Advise.
8865
8866 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8867
8868 * term.el (term-emulate-terminal): Decode the command string
8869 before passing it to term-command-hook. (Bug#15337)
8870
8871 2013-09-13 Glenn Morris <rgm@gnu.org>
8872
8873 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8874
8875 * eshell/esh-ext.el (eshell-search-path): Declare.
8876
8877 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8878 Otherwise an error occurs if eshell-dirs module not loaded.
8879
8880 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8881
8882 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8883
8884 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8885 `tramp-check-proper-host'. Check for a valid method name.
8886
8887 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8888 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8889 * net/tramp-sh.el (tramp-maybe-open-connection):
8890 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8891
8892 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8893 also for hash values.
8894
8895 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * term/ns-win.el (parameters): Don't declare as dynamic.
8898 (before-make-frame-hook): Don't add ineffective function.
8899
8900 * eshell/*.el: Use lexical-binding (bug#15231).
8901
8902 2013-09-12 Kenichi Handa <handa@gnu.org>
8903
8904 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8905
8906 2013-09-12 Glenn Morris <rgm@gnu.org>
8907
8908 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8909 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8910
8911 * subr.el (do-after-load-evaluation): Also give compiler warnings
8912 when obsolete files are used (except by obsolete files).
8913
8914 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8915 in the status output, assume `filename' is the first. (Bug#15322)
8916
8917 * vc/vc.el (vc-deduce-fileset): Doc fix.
8918
8919 * calc/calc-help.el (Info-goto-node):
8920 * progmodes/cperl-mode.el (Info-find-node):
8921 * vc/ediff.el (Info-goto-node): Update declarations.
8922
8923 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8924
8925 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8926 (vc-bzr-pull): Require vc-dispatcher.
8927 * vc/vc-git.el (vc-compilation-mode): Declare.
8928 (vc-git-pull): Require vc-dispatcher.
8929
8930 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8931
8932 * progmodes/octave.el (help-button-action): Declare.
8933
8934 * shell.el (shell-directory-tracker): Output error as a message
8935 rather than just returning it as a string.
8936 (shell-process-pushd): Remove useless use of message.
8937
8938 * dframe.el (dframe-timer-fn):
8939 * files.el (dir-locals-read-from-file):
8940 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8941 (mpc-format):
8942 * reveal.el (reveal-post-command):
8943 * saveplace.el (load-save-place-alist-from-file):
8944 * shell.el (shell-resync-dirs):
8945 * w32-common-fns.el (x-get-selection-value):
8946 * emacs-lisp/copyright.el (copyright-find-copyright):
8947 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8948 * emulation/tpu-edt.el (tpu-copy-keyfile):
8949 * play/bubbles.el (bubbles--mark-neighbourhood):
8950 * progmodes/executable.el
8951 (executable-make-buffer-file-executable-if-script-p):
8952 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8953
8954 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 Cleanup Eshell to rely less on dynamic scoping.
8957 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8958 last-value, and ext-command here. Bind `args' closer to `body'.
8959 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8960 (eshell--args): Declare new dynamic var.
8961 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8962 last-value, and ext-command. Pass `args' to `body'.
8963 (eshell-process-args): Bind eshell--args.
8964 (eshell-set-option): Use eshell--args.
8965 * eshell/eshell.el (eshell): Use derived-mode-p.
8966 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8967 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8968 (eshell-glob-function): Declare.
8969 * eshell/esh-util.el: Require cl-lib.
8970 (eshell-read-hosts-file): Avoid add-to-list.
8971 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8972 `err'.
8973 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8974 Declare.
8975 (eshell/diff): Remove unused var `err'.
8976 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8977 `killflag'.
8978 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8979 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8980 first use.
8981 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8982 Move declaration before first use.
8983 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8984 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8985 rely on cl-return.
8986
8987 2013-09-12 Glenn Morris <rgm@gnu.org>
8988
8989 * term/ns-win.el (global-map): Remove binding for ispell-next,
8990 deleted 1999-05-29. (Bug#15357)
8991
8992 2013-09-11 Glenn Morris <rgm@gnu.org>
8993
8994 * echistory.el (electric-command-history): Remove call to deleted func.
8995
8996 * play/landmark.el (landmark-mode): Fix typos.
8997
8998 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8999 Check cvs-sort-ignore-file is bound.
9000
9001 * savehist.el: No need for cl when compiling on Emacs.
9002
9003 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9006 (bug#15338).
9007 (eshell-self-insert-command, eshell-send-invisible):
9008 Remove unused argument.
9009 (eshell-handle-control-codes): Remove unused var `orig'.
9010 Avoid delete-backward-char.
9011
9012 * files.el (set-auto-mode): Simplify a bit further.
9013
9014 2013-09-11 Glenn Morris <rgm@gnu.org>
9015
9016 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9017 (set-auto-mode): Don't regexp-quote elements.
9018 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9019 * progmodes/cc-mode.el (interpreter-mode-alist):
9020 * progmodes/ruby-mode.el (interpreter-mode-alist):
9021 Revert previous change.
9022
9023 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * play/snake.el (snake-mode):
9026 * play/mpuz.el (mpuz-mode):
9027 * play/landmark.el (lm-mode):
9028 * play/blackbox.el (blackbox-mode):
9029 * play/5x5.el (5x5-mode):
9030 * obsolete/options.el (Edit-options-mode):
9031 * net/quickurl.el (quickurl-list-mode):
9032 * net/newst-treeview.el (newsticker-treeview-mode):
9033 * mail/rmailsum.el (rmail-summary-mode):
9034 * mail/mspools.el (mspools-mode):
9035 * locate.el (locate-mode):
9036 * ibuffer.el (ibuffer-mode):
9037 * emulation/ws-mode.el (wordstar-mode):
9038 * emacs-lisp/debug.el (debugger-mode):
9039 * array.el (array-mode):
9040 * net/eudc.el (eudc-mode): Use define-derived-mode.
9041 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9042 Move initialization into declaration.
9043 (mairix-searches-mode): Use define-derived-mode.
9044 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9045 (eudc-edit-hotlist): Use dolist.
9046 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9047 (Man-mode): Use define-derived-mode.
9048 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9049 (Info-edit-mode): Use define-derived-mode.
9050 (Info-cease-edit): Use Info-mode.
9051 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9052 into declaration.
9053 (eshell-mode): Use define-derived-mode.
9054 * chistory.el (command-history-mode-map): Rename from
9055 command-history-map.
9056 (command-history-mode): Use define-derived-mode.
9057 (Command-history-setup): Remove function.
9058 * calc/calc.el (calc-trail-mode-map): New var.
9059 (calc-trail-mode): Use define-derived-mode.
9060 (calc-trail-buffer): Set calc-main-buffer manually.
9061 * bookmark.el (bookmark-insert-annotation): New function.
9062 (bookmark-edit-annotation): Use it.
9063 (bookmark-edit-annotation-mode): Make it a proper major mode.
9064 (bookmark-send-edited-annotation): Use derived-mode-p.
9065 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9066 closer to its ideal place. Use \' to match EOS.
9067
9068 * profiler.el (profiler-calltree-find): Use function-equal.
9069
9070 2013-09-10 Glenn Morris <rgm@gnu.org>
9071
9072 * files.el (interpreter-mode-alist): Convert to regexps.
9073 (set-auto-mode): Adapt for this. (Bug#15306)
9074 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9075 Comment out unused variable.
9076 * progmodes/cc-mode.el (interpreter-mode-alist):
9077 * progmodes/python.el (interpreter-mode-alist):
9078 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9079 * progmodes/sh-script.el (sh-set-shell):
9080 No longer use interpreter-mode-alist to get list of shells.
9081
9082 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9083
9084 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * simple.el: Use set-temporary-overlay-map for universal-argument.
9087 (universal-argument-map): Don't use default-bindings (bug#15317).
9088 Bind switch-frame explicitly. Replace universal-argument-minus with
9089 a conditional binding.
9090 (universal-argument-num-events, saved-overriding-map): Remove.
9091 (restore-overriding-map): Remove.
9092 (universal-argument--mode): Rename from save&set-overriding-map,
9093 and rewrite.
9094 (universal-argument, universal-argument-more, negative-argument)
9095 (digit-argument): Adjust accordingly.
9096 (universal-argument-minus): Remove.
9097 (universal-argument-other-key): Remove.
9098
9099 * subr.el (with-demoted-errors): Add `format' argument.
9100
9101 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9102
9103 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9104 `tramp-cleanup-connection'.
9105
9106 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9107 parameters KEEP-DEBUG and KEEP-PASSWORD.
9108
9109 * net/tramp.el (tramp-file-name-handler):
9110 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9111 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9112 (tramp-maybe-open-connection):
9113 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9114 Use `tramp-cleanup-connection'.
9115
9116 * net/tramp-sh.el (tramp-maybe-open-connection):
9117 Catch 'uname-changed inside the progress reporter.
9118
9119 2013-09-10 Glenn Morris <rgm@gnu.org>
9120
9121 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9122
9123 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9124 returns "alternate access method" in mode (eg "-rw-r--r--.").
9125
9126 2013-09-08 Glenn Morris <rgm@gnu.org>
9127
9128 * saveplace.el (load-save-place-alist-from-file):
9129 Demote errors. (Bug#15305)
9130
9131 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9132
9133 Improve compatibility with older Emacsen, and XEmacs.
9134
9135 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9136 only if it is bound. It isn't for XEmacs.
9137 (with-tramp-progress-reporter): Do not let-bind `result'.
9138 This yields to scoping errors in XEmacs.
9139 (tramp-handle-make-auto-save-file-name): New function, moved from
9140 tramp-sh.el.
9141
9142 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9143 for `make-auto-save-file-name'.
9144 (tramp-adb--gnu-switches-to-ash):
9145 Use `tramp-compat-replace-regexp-in-string'.
9146
9147 * net/tramp-cache.el (tramp-cache-print): Call
9148 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9149
9150 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9151 bound. It isn't for XEmacs.
9152
9153 * net/tramp-compat.el (tramp-compat-copy-file):
9154 Catch `wrong-number-of-arguments' error.
9155 (tramp-compat-replace-regexp-in-string): New defun.
9156
9157 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9158 for `make-auto-save-file-name'.
9159 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9160 `copy-file'.
9161 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9162 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9163 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9164
9165 * net/tramp-gw.el (tramp-gw-open-network-stream):
9166 Use `tramp-compat-replace-regexp-in-string'.
9167
9168 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9169 Call `tramp-handle-make-auto-save-file-name'.
9170 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9171 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9172 (tramp-sh-file-inotifywait-process-filter):
9173 Use `tramp-compat-replace-regexp-in-string'.
9174 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9175
9176 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9177 for `make-auto-save-file-name'.
9178 (tramp-smb-handle-copy-directory):
9179 Call `tramp-compat-replace-regexp-in-string'.
9180 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9181 (tramp-smb-handle-copy-file): Improve error message.
9182 (tramp-smb-handle-rename-file): Rename directly only in case
9183 `newname' does not exist yet. This is a restriction of smbclient.
9184 (tramp-smb-maybe-open-connection): Rerun the function only when
9185 `auth-sources' is non-nil.
9186
9187 2013-09-08 Kenichi Handa <handa@gnu.org>
9188
9189 * international/characters.el: Set category "^" (Combining) for
9190 more characters.
9191
9192 2013-09-07 Alan Mackenzie <acm@muc.de>
9193
9194 Correctly fontify Java class constructors.
9195 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9196 in Java Mode.
9197 (c-recognize-typeless-decls): Set the Java value to t.
9198 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9199 While handling a "(", add a check for, effectively, Java, and handle a
9200 "typeless" declaration there.
9201
9202 2013-09-07 Roland Winkler <winkler@gnu.org>
9203
9204 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9205 field subtitle for entry type book.
9206
9207 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * minibuffer.el: Make minibuffer-complete call completion-in-region
9210 rather than other way around.
9211 (completion--some, completion-pcm--find-all-completions):
9212 Don't delay signals when debugging.
9213 (minibuffer-completion-contents): Beware fields within the
9214 minibuffer contents.
9215 (completion-all-sorted-completions): Use defvar-local.
9216 (completion--do-completion, completion--cache-all-sorted-completions)
9217 (completion-all-sorted-completions, minibuffer-force-complete):
9218 Add args `beg' and `end'.
9219 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9220 (minibuffer-complete): Use completion-in-region.
9221 (completion-complete-and-exit): New fun, extracted from
9222 minibuffer-complete-and-exit.
9223 (minibuffer-complete-and-exit): Use it.
9224 (completion--complete-and-exit): Rename from
9225 minibuffer--complete-and-exit.
9226 (completion-in-region--single-word): New function, extracted from
9227 minibuffer-complete-word.
9228 (minibuffer-complete-word): Use it.
9229 (display-completion-list): Make `common-substring' argument obsolete.
9230 (completion--in-region): Call completion--in-region-1 instead of
9231 minibuffer-complete.
9232 (completion-help-at-point): Pass boundaries to
9233 minibuffer-completion-help as args rather than via an overlay.
9234 (completion-pcm--string->pattern): Use `any-delim'.
9235 (completion-pcm--optimize-pattern): New function.
9236 (completion-pcm--pattern->regex): Handle `any-delim'.
9237 * icomplete.el (icomplete-forward-completions)
9238 (icomplete-backward-completions, icomplete-completions):
9239 Adjust calls to completion-all-sorted-completions and
9240 completion--cache-all-sorted-completions.
9241 (icomplete-with-completion-tables): Default to t.
9242 * emacs-lisp/crm.el (crm--current-element): Rename from
9243 crm--select-current-element. Don't put an overlay but return the
9244 boundaries instead.
9245 (crm--completion-command): Take two new args to bind to the boundaries.
9246 (crm-completion-help): Adjust accordingly.
9247 (crm-complete): Use completion-in-region.
9248 (crm-complete-word): Use completion-in-region--single-word.
9249 (crm-complete-and-exit): Use completion-complete-and-exit.
9250
9251 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9254 than dynamically.
9255
9256 2013-09-06 Juri Linkov <juri@jurta.org>
9257
9258 * info.el (Info-display-images-node): When image file doesn't exist
9259 display text version of the image if it's provided in the Info file.
9260 Otherwise, display the location of missing image from SRC attribute.
9261 Add help-echo text property from ALT attribute. (Bug#15279)
9262
9263 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9264
9265 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9266 (edit-abbrevs-mode): Use define-derived-mode.
9267
9268 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9269 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9270 that it's defined.
9271 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9272 Use define-derived-mode.
9273
9274 * epg.el (epg-start-encrypt): Minor CSE simplification.
9275
9276 2013-09-06 William Xu <william.xwl@gmail.com>
9277
9278 * arc-mode.el: Add support for 7za (bug#15264).
9279 (archive-7z-program): New var.
9280 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9281 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9282 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9283
9284 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9285
9286 Remove URL syntax.
9287
9288 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9289 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9290 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9291 (tramp-postfix-host-format, tramp-file-name-regexp)
9292 (tramp-completion-file-name-regexp)
9293 (tramp-completion-dissect-file-name)
9294 (tramp-handle-substitute-in-file-name): Remove 'url case.
9295 (tramp-file-name-regexp-url)
9296 (tramp-completion-file-name-regexp-url): Remove constants.
9297
9298 2013-09-06 Glenn Morris <rgm@gnu.org>
9299
9300 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9301
9302 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9303
9304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9305 keywords" below "here-doc beginnings" (Bug#15270).
9306
9307 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9308
9309 * subr.el (pop): Use `car-safe'.
9310 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9311 to detect unused `pop' return value.
9312
9313 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9314 var `block-regexp'.
9315 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9316 (python-fill-string): Remove unused var `marker'.
9317 (python-skeleton-add-menu-items): Remove unused var `items'.
9318
9319 * international/mule-cmds.el: Require CL.
9320 (find-coding-systems-for-charsets): Avoid add-to-list.
9321 (sanitize-coding-system-list): New function, extracted from
9322 select-safe-coding-system-interactively.
9323 (select-safe-coding-system-interactively): Use it.
9324 (read-input-method-name): Accept symbols for `default'.
9325
9326 * emacs-lisp/advice.el (defadvice): Add indent rule.
9327
9328 2013-09-05 Daniel Hackney <dan@haxney.org>
9329
9330 * dired-x.el:
9331 * net/ange-ftp.el:
9332 * net/browse-url.el:
9333 * net/dbus.el:
9334 * net/eudc.el:
9335 * net/eudcb-ldap.el:
9336 * net/eww.el:
9337 * net/imap.el:
9338 * printing.el:
9339 * vc/ediff-diff.el:
9340 * vc/ediff-init.el:
9341 * vc/ediff-merg.el:
9342 * vc/ediff-mult.el:
9343 * vc/ediff-util.el:
9344 * vc/ediff-wind.el:
9345 * vc/ediff.el:
9346 * vc/emerge.el:
9347 * vc/pcvs.el:
9348 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9349 byte compiler. Remove some unused let-bound variables.
9350
9351 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9352
9353 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9354 a "ref-cell", since it gets better optimized (bug#14883).
9355
9356 2013-09-05 Glenn Morris <rgm@gnu.org>
9357
9358 * progmodes/cc-awk.el (c-forward-sws): Declare.
9359
9360 2013-09-04 Glenn Morris <rgm@gnu.org>
9361
9362 * generic-x.el [rul-generic-mode]: Require cc-mode.
9363 (c++-mode-syntax-table): Declare.
9364 (rul-generic-mode-syntax-table): Init in the defvar.
9365
9366 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9369 (vc-do-command, vc-set-async-update):
9370 * vc/vc-mtn.el (vc-mtn-dir-status):
9371 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9372 (vc-hg-pull, vc-hg-merge-branch):
9373 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9374 (vc-git-merge-branch):
9375 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9376 (vc-cvs-dir-status-files):
9377 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9378 (vc-bzr-dir-status-files):
9379 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9380 * vc/vc-annotate.el: Use lexical-binding.
9381 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9382 (vc-sentinel-movepoint): Declare.
9383 (vc-annotate): Don't use `goto-line'.
9384 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9385 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9386 (vc-sentinel-movepoint): Declare.
9387 * vc/vc-svn.el: Use lexical-binding.
9388 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9389 * vc/vc-sccs.el:
9390 * vc/vc-rcs.el: Use lexical-binding.
9391
9392 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9393 `deleted'. Don't drop errors silently.
9394
9395 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9396
9397 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9398
9399 * vc/vc.el (vc-ignore): Rewrite.
9400 (vc-default-ignore): New function.
9401 (vc-default-ignore-completion-table): Use find-ignore-file.
9402
9403 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9404 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9405 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9406 Remove. Most code moved to vc.el.
9407
9408 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9411 * net/tramp-smb.el (tramp-smb-get-file-entries):
9412 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9413 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9414
9415 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9416 Update call to it.
9417 (eww-change-select): Remove unused var `properties'.
9418 (eww-make-unique-file-name): Remove unused var `base'.
9419
9420 * finder.el (finder-compile-keywords): Don't mess with windows.
9421
9422 * calculator.el (calculator-funcall): Fix typo in last change.
9423
9424 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9425
9426 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9427 <pkg>-autoloads.el file stop us.
9428
9429 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9430 warnings, and factor out common code.
9431
9432 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9433
9434 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9435 two-character operators and whether the character preceding them
9436 changes their meaning (Bug#15208).
9437
9438 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9439
9440 Format code sent to Python shell for robustness.
9441 * progmodes/python.el (python-shell-buffer-substring):
9442 New function.
9443 (python-shell-send-region, python-shell-send-buffer): Use it.
9444
9445 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9446
9447 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9448 * net/tramp.el (tramp-user-error): ... here.
9449 (tramp-find-method, tramp-check-proper-host)
9450 (tramp-dissect-file-name, tramp-debug-message)
9451 (tramp-handle-shell-command):
9452 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9453 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9454
9455 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9456
9457 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9458
9459 * avoid.el (mouse-avoidance-point-position)
9460 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9461 returns nil.
9462
9463 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9464
9465 * progmodes/python.el (python-shell-completion-get-completions):
9466 Drop use of deleted `comint-last-prompt-overlay'.
9467 (python-nav-if-name-main): New command.
9468
9469 2013-09-01 Glenn Morris <rgm@gnu.org>
9470
9471 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9472 Avoid leading space in $wins. Otherwise the sed command used by
9473 eg compile-main ends up containing "/*.el". (Bug#15170)
9474
9475 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9476
9477 2013-08-30 Glenn Morris <rgm@gnu.org>
9478
9479 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9480 Fix is-this-a-directory logic. (Bug#15220)
9481
9482 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * textmodes/css-mode.el: Use SMIE.
9485 (css-smie-grammar): New var.
9486 (css-smie--forward-token, css-smie--backward-token)
9487 (css-smie-rules): New functions.
9488 (css-mode): Use them.
9489 (css-navigation-syntax-table): Remove var.
9490 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9491 (css-indent-calculate, css-indent-line): Remove functions.
9492
9493 Misc changes to reduce use of `(lambda...); and other cleanups.
9494 * cus-edit.el: Use lexical-binding.
9495 (customize-push-and-save, customize-apropos)
9496 (custom-buffer-create-internal): Use closures.
9497 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9498 * progmodes/ada-xref.el: Use setq.
9499 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9500 * dframe.el: Use lexical-binding.
9501 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9502 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9503 * descr-text.el: Use lexical-binding.
9504 (describe-text-widget, describe-text-sexp, describe-property-list):
9505 Use closures.
9506 * comint.el (comint-history-isearch-push-state): Use a closure.
9507 * calculator.el: Use lexical-binding.
9508 (calculator-number-to-string): Make it work with lexical-binding.
9509 (calculator-funcall): Same and use cl-letf.
9510
9511 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9512 (lisp--company-doc-string, lisp--company-location): New functions.
9513 (lisp-completion-at-point): Use them to improve Company support.
9514
9515 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9516 params of lambda expressions.
9517 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9518 (ruby-smie--opening-pipe-p): New function.
9519 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9520 symbols and matched |...| for formal params.
9521 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9522 from being treated as hanging. Handle "rescue".
9523
9524 2013-08-29 Glenn Morris <rgm@gnu.org>
9525
9526 * progmodes/cc-engine.el (c-pull-open-brace):
9527 Move definition before use.
9528
9529 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9532 are immutable. Don't use `unsafe' any more.
9533 (cl--defsubst-expand): Don't substitute at the same time as keeping
9534 a residual unused let-binding. Don't use `unsafe' any more.
9535
9536 2013-08-29 Glenn Morris <rgm@gnu.org>
9537
9538 * calendar/cal-china.el (calendar-chinese-year-cache):
9539 Recenter on 2015.
9540
9541 * nxml/nxml-util.el (nxml-debug-clear-inside):
9542 Use cl-loop rather than loop.
9543
9544 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9545
9546 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9547
9548 2013-08-28 Glenn Morris <rgm@gnu.org>
9549
9550 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9551
9552 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9553
9554 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9555
9556 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * simple.el (repeat-complex-command--called-interactively-skip):
9559 New function.
9560 (repeat-complex-command): Use it (bug#14136).
9561
9562 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9563 (c-define-abbrev-table): Add `doc' argument.
9564 (c-mode-abbrev-table, c++-mode-abbrev-table)
9565 (objc-mode-abbrev-table, java-mode-abbrev-table)
9566 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9567 (awk-mode-abbrev-table): Use it.
9568 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9569 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9570 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9571 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9572 Move initialization into the declaration; and remove any
9573 autoload cookie.
9574
9575 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9576 and dynamic let binding.
9577
9578 * vc/smerge-mode.el: Remove redundant :group args.
9579
9580 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9581 to load-path.
9582
9583 2013-08-28 Juri Linkov <juri@jurta.org>
9584
9585 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9586 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9587 (isearch-other-meta-char): Handle an undefined shifted printing
9588 character by downshifting it. (Bug#15200)
9589
9590 2013-08-28 Juri Linkov <juri@jurta.org>
9591
9592 * isearch.el (isearch-search): Change regexp error message for
9593 non-regexp searches. (Bug#15166)
9594
9595 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9596
9597 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9598 for portability to hosts where /bin/sh has problems.
9599
9600 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9603
9604 2013-08-27 Juri Linkov <juri@jurta.org>
9605
9606 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9607 in the keyboard macro. (Bug#15126)
9608
9609 2013-08-27 Juri Linkov <juri@jurta.org>
9610
9611 * isearch.el (isearch-quote-char): Comment out converting unibyte
9612 to multibyte, thus syncing with its `quoted-insert' counterpart.
9613 (Bug#15166)
9614
9615 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9616
9617 * window.el (display-buffer-use-some-window): Add missing
9618 argument in call of get-largest-window (Bug#15185).
9619 Reported by Stephen Leake.
9620
9621 2013-08-27 Glenn Morris <rgm@gnu.org>
9622
9623 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9624
9625 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9628 from a matcher-function unless there's no more matches (bug#15161).
9629
9630 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9631
9632 * minibuffer.el: Revert change from 2013-08-20.
9633
9634 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9635 with text property `tramp-default', if appropriate.
9636 (tramp-check-proper-host): New defun.
9637 (tramp-dissect-file-name): Do not check hostname. Revert change
9638 of 2013-03-18.
9639 (tramp-backtrace): Make VEC-OR-PROC optional.
9640
9641 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9642 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9643 * net/tramp-sh.el (tramp-maybe-open-connection):
9644 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9645 Apply `tramp-check-proper-host'.
9646
9647 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9648
9649 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9650 lambda expression in order to have `describe-variable' display it.
9651
9652 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9653
9654 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9655 BUF can be optional. (Bug#15186)
9656
9657 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9658
9659 * progmodes/flymake.el (flymake-get-real-file-name-function):
9660 Fix broken customization. (Bug#15184)
9661
9662 2013-08-25 Alan Mackenzie <acm@muc.de>
9663
9664 Improve indentation of bracelists defined by macros (without "=").
9665
9666 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9667 expansion begins with "{", regard it as bracelist when it doesn't
9668 contain a ";".
9669
9670 Parse C++ inher-intro when there's a template split over 2 lines.
9671
9672 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9673 rigorously the search for "class" etc. followed by ":".
9674
9675 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9676 random languages a regexp which never matches rather than nil.
9677
9678 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9679
9680 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9681 (c-awk-regexp-one-line-possibly-open-char-list-re)
9682 (c-awk-one-line-possibly-open-regexp-re)
9683 (c-awk-one-line-non-syn-ws*-re): Remove.
9684 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9685 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9686 (c-awk-space*-unclosed-regexp-/-re): New constants.
9687 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9688 aren't regexp delimiters.
9689
9690 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9691 handling for a rare situation in AWK Mode involving unterminated
9692 strings/regexps.
9693
9694 2013-08-23 Glenn Morris <rgm@gnu.org>
9695
9696 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9697
9698 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9699
9700 * files.el (create-file-buffer): If the result would begin with
9701 spaces, prepend a "|" instead of removing them. (Bug#15162)
9702
9703 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9706 text-properties (bug#15155).
9707
9708 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9709 exist any more.
9710 (calc-keypad-redraw): Remove unused var `pad'.
9711 (calc-keypad-press): Remove unused var `menu'.
9712
9713 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9714
9715 * window.el (display-buffer-pop-up-frame):
9716 Call pop-up-frame-function with BUFFER current so `make-frame' will
9717 use it as the new frame's buffer (Bug#15133).
9718
9719 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * calendar/timeclock.el: Minor cleanups.
9722 (timeclock-ask-before-exiting, timeclock-use-display-time):
9723 Use `symbol'.
9724 (timeclock-modeline-display): Define as alias before the
9725 actual definition.
9726 (timeclock-mode-line-display): Use define-minor-mode.
9727 (timeclock-day-list-template): Make it a function, add an argument.
9728 (timeclock-day-list-required, timeclock-day-list-length)
9729 (timeclock-day-list-debt, timeclock-day-list-span)
9730 (timeclock-day-list-break): Adjust calls accordingly.
9731
9732 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9735 Use read--expression so that completion works again.
9736
9737 2013-08-21 Sam Steingold <sds@gnu.org>
9738
9739 Add rudimentary inferior shell interaction
9740 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9741 (sh-set-shell): Reset it.
9742 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9743 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9744
9745 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * align.el: Use lexical-binding.
9748 (align-region): Simplify accordingly.
9749
9750 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9751
9752 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9753
9754 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9755 `non-essential' up.
9756
9757 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9758
9759 * net/tramp.el:
9760 * net/tramp-adb.el:
9761 * net/tramp-cmds.el:
9762 * net/tramp-ftp.el:
9763 * net/tramp-gvfs.el:
9764 * net/tramp-gw.el:
9765 * net/tramp-sh.el: Don't wrap external variable declarations by
9766 `eval-when-compile'.
9767
9768 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9769
9770 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9771 now that Emacs supports ImageMagick animations.
9772
9773 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9774
9775 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9776 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9777
9778 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9779
9780 * window.el (mouse-autoselect-window-select): Do autoselect when
9781 mouse pointer is on margin.
9782
9783 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9784
9785 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9786
9787 2013-08-16 Glenn Morris <rgm@gnu.org>
9788
9789 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9790 Handle "Remote Directory" response of some clients. (Bug#15058)
9791
9792 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9793 Tweak warning. (Bug#14926)
9794
9795 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9796 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9797
9798 * image-mode.el (image-mode-map): Add menu items to reverse,
9799 increase, decrease, reset animation speed.
9800 (image--set-speed, image-increase-speed, image-decrease-speed)
9801 (image-reverse-speed, image-reset-speed): New functions.
9802 (image-mode-map): Add bindings for speed commands.
9803
9804 * image.el (image-animate-get-speed, image-animate-set-speed):
9805 New functions.
9806 (image-animate-timeout): Respect image :speed property.
9807
9808 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9811 previous line (bug#15101).
9812 (debugger-eval-expression, debugger-record-expression):
9813 Use read--expression (bug#15102).
9814
9815 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9816
9817 Remove byte compiler warnings, visible when compiling with
9818 `byte-compile-force-lexical-warnings' set to t.
9819
9820 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9821 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9822 (tramp-handle-unhandled-file-name-directory)
9823 (tramp-handle-file-notify-add-watch, tramp-action-login)
9824 (tramp-action-succeed, tramp-action-permission-denied)
9825 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9826 arguments with "_".
9827
9828 * net/tramp-adb.el (tramp-adb-parse-device-names)
9829 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9830 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9831 (tramp-adb-handle-file-truename): Remove unused arguments.
9832
9833 * net/tramp-cache.el (tramp-flush-directory-property)
9834 (tramp-flush-connection-property, tramp-list-connections)
9835 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9836
9837 * net/tramp-compat.el (tramp-compat-make-temp-file):
9838 Rename FILENAME to F.
9839
9840 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9841 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9842 (tramp-zeroconf-parse-workstation-device-names)
9843 (tramp-zeroconf-parse-webdav-device-names)
9844 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9845
9846 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9847 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9848
9849 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9850 arguments.
9851 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9852 (tramp-sh-handle-insert-file-contents-literally)
9853 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9854 with "_".
9855 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9856 Remove unused variables.
9857
9858 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9859 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9860 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9861
9862 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9863 Make them a defconst.
9864 (tramp-uuencode-region): Remove unused variable.
9865
9866 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9867
9868 * frameset.el (frameset--prop-setter): New function.
9869 (frameset-prop): Add gv-setter declaration.
9870 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9871 parameter was already set in FILTERED. Doc fix.
9872 (frameset--record-minibuffer-relationships): Allow saving a
9873 minibufferless frame without its corresponding minibuffer frame.
9874 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9875 frame, if the frame id matches.
9876 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9877 frames before orphaned ones.
9878 (frameset-restore): Warn about orphaned windows, instead of error out.
9879
9880 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9881
9882 * window.el (window-make-atom): Don't overwrite parameter
9883 already present.
9884 (display-buffer-in-atom-window): Handle special case where we
9885 split an already atomic window.
9886 (window--major-non-side-window, display-buffer-in-side-window)
9887 (window--side-check): Ignore minibuffer window when walking
9888 window tree.
9889 (window-deletable-p): Return 'frame only if no other frame uses
9890 our minibuffer window.
9891 (record-window-buffer): Run buffer-list-update-hook.
9892 (split-window): Make sure window--check-frame won't destroy an
9893 existing atomic window in case the new window gets nested
9894 inside.
9895 (display-buffer-at-bottom): Ignore minibuffer window when
9896 walking window tree. Don't split a side window.
9897 (pop-to-buffer): Don't set-buffer here, the select-window call
9898 should do that.
9899 (mouse-autoselect-window-select): Autoselect only if we are in the
9900 text portion of the window.
9901
9902 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903
9904 * net/shr.el (shr-parse-image-data): New function to grab both the
9905 data itself and the Content-Type.
9906 (shr-put-image): Use it.
9907
9908 * net/eww.el (eww-display-image): Ditto.
9909
9910 * image.el (image-content-type-suffixes): New variable.
9911
9912 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9913
9914 * progmodes/python.el (python-imenu--build-tree)
9915 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9916
9917 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9918
9919 * simple.el (backward-word): Mention the optional argument.
9920
9921 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * frameset.el (frameset--make): Rename constructor from make-frameset.
9924 (frameset-p, frameset-valid-p): Don't autoload.
9925 (frameset-valid-p): Use normal accessors.
9926
9927 2013-08-13 Glenn Morris <rgm@gnu.org>
9928
9929 * progmodes/compile.el (compile-command): Tweak example in doc.
9930 * obsolete/scribe.el (scribe-mode):
9931 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9932
9933 * mail/feedmail.el (feedmail-confirm-outgoing)
9934 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9935
9936 * cus-start.el (truncate-partial-width-windows): Fix type.
9937
9938 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9939
9940 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9941
9942 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * emacs-lisp/timer.el (timer--time-setter): New function.
9945 (timer--time): Use it as gv-setter.
9946
9947 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9948 setter is not a symbol.
9949
9950 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9951
9952 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9953 if sending fails. This makes debugging easier.
9954
9955 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9956
9957 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9958 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9959 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9960
9961 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9962
9963 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9964
9965 2013-08-12 Glenn Morris <rgm@gnu.org>
9966
9967 * format.el (format-annotate-function):
9968 Handle read-only text properties in the source. (Bug#14887)
9969
9970 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9971
9972 * net/eww.el (eww-display-html): Ignore coding system errors.
9973 One web site uses "utf-8lias" as the coding system.
9974
9975 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9976
9977 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9978
9979 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9980
9981 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9982 (tutorial--detailed-help): Remove unused local variables.
9983 (tutorial--save-tutorial-to): Use ignore-errors.
9984 (help-with-tutorial): Use looking-at-p.
9985
9986 * view.el (view-buffer-other-window, view-buffer-other-frame):
9987 Mark unused arguments.
9988
9989 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9990 (woman-select-symbol-fonts, woman, woman-find-file)
9991 (woman-insert-file-contents, woman-non-underline-faces):
9992 Use string-match-p.
9993 (woman1-unquote): Move declaration.
9994
9995 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9996 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9997 argument. Remove unused local variable.
9998 (xml-parse-elem-type): Use string-match-p.
9999 (xml-substitute-numeric-entities): Use ignore-errors.
10000
10001 * calculator.el (calculator): Mark unused argument.
10002 (calculator-paste, calculator-quit, calculator-integer-p):
10003 Use ignore-errors.
10004 (calculator-string-to-number, calculator-decimal, calculator-exp)
10005 (calculator-op-or-exp): Use string-match-p.
10006
10007 * dired.el (dired-buffer-more-recently-used-p): Declare.
10008 (dired-insert-set-properties, dired-insert-old-subdirs):
10009 Use ignore-errors.
10010
10011 * dired-aux.el (dired-compress): Use ignore-errors.
10012 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10013 (dired-do-async-shell-command, dired-do-shell-command)
10014 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10015 (dired-insert-subdir-validate): Use string-match-p.
10016 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10017 (dired-add-entry): Use string-match-p, looking-at-p.
10018 (dired-insert-subdir-newpos): Remove unused local variable.
10019
10020 * filenotify.el (file-notify-callback): Remove unused local variable.
10021
10022 * filesets.el (filesets-error): Mark unused argument.
10023 (filesets-which-command-p, filesets-filter-dir-names)
10024 (filesets-directory-files, filesets-get-external-viewer)
10025 (filesets-ingroup-get-data): Use string-match-p.
10026
10027 * find-file.el (ff-other-file-name, ff-other-file-name)
10028 (ff-find-the-other-file, ff-cc-hh-converter):
10029 Remove unused local variables.
10030 (ff-get-file-name): Use string-match-p.
10031 (ff-all-dirs-under): Use ignore-errors.
10032
10033 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10034 (follow-select-if-visible): Remove unused local variable.
10035
10036 * forms.el (read-file-filter): Move declaration.
10037 (forms--make-format, forms--make-parser, forms-insert-record):
10038 Quote function with #'.
10039 (forms--update): Use string-match-p. Quote function with #'.
10040
10041 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10042 (help-make-xrefs): Use looking-at-p.
10043 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10044
10045 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10046 (ibuffer-confirm-operation-on): Use string-match-p.
10047
10048 * msb.el (msb-item-handler, msb-dired-item-handler):
10049 Mark unused arguments.
10050
10051 * ses.el (ses-decode-cell-symbol)
10052 (ses-kill-override): Remove unused local variable.
10053 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10054 (ses-load): Use ignore-errors, looking-at-p.
10055 (ses-jump-safe): Use ignore-errors.
10056 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10057
10058 * tabify.el (untabify, tabify): Mark unused arguments.
10059
10060 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10061 Mark unused argument.
10062 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10063 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10064
10065 * emacs-lisp/timer.el (timer--time): Define setter with
10066 gv-define-setter to avoid deprecation warning.
10067
10068 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10069 (*record-cmpl-statistics-p*): Remove (was commented out).
10070 (cmpl-statistics-block): Remove (body was commented out).
10071 All callers changed.
10072 (add-completions-from-buffer, load-completions-from-file):
10073 Remove unused variables.
10074
10075 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10076
10077 * filecache.el (file-cache-delete-file-list):
10078 Print message only when told so.
10079 (file-cache-files-matching): Use #' in mapconcat argument.
10080
10081 * ffap.el (ffap-url-at-point): Fix reference to variable
10082 thing-at-point-default-mail-uri-scheme.
10083
10084 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * subr.el (define-error): New function.
10087 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10088 error-file-not-found and define with define-error.
10089 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10090 and define with define-error.
10091 * userlock.el (file-locked, file-supersession):
10092 * simple.el (mark-inactive):
10093 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10094 * progmodes/ada-mode.el (ada-mode-errors):
10095 * play/life.el (life-extinct):
10096 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10097 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10098 * nxml/rng-util.el (rng-error):
10099 * nxml/rng-uri.el (rng-uri-error):
10100 * nxml/rng-match.el (rng-compile-error):
10101 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10102 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10103 * nxml/nxml-rap.el (nxml-scan-error):
10104 * nxml/nxml-outln.el (nxml-outline-error):
10105 * net/soap-client.el (soap-error):
10106 * net/gnutls.el (gnutls-error):
10107 * net/ange-ftp.el (ftp-error):
10108 * mpc.el (mpc-proc-error):
10109 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10110 (json-number-format, json-string-escape, json-string-format)
10111 (json-key-format, json-object-format):
10112 * jka-compr.el (compression-error):
10113 * international/quail.el (quail-error):
10114 * international/kkc.el (kkc-error):
10115 * emacs-lisp/ert.el (ert-test-failed):
10116 * calc/calc.el (calc-error, inexact-result, math-overflow)
10117 (math-underflow):
10118 * bookmark.el (bookmark-error-no-filename):
10119 * epg.el (epg-error): Define with define-error.
10120
10121 * time.el (display-time-event-handler)
10122 (display-time-next-load-average): Don't call sit-for since it seems
10123 unnecessary (bug#15045).
10124
10125 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10126 Use #' instead of ' to quote functions.
10127 (checkdoc-output-mode): Use setq-local.
10128 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10129 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10130 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10131 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10132 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10133 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10134 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10135 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10136
10137 * ido.el (ido-completion-help): Fix up compiler warning.
10138
10139 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10140
10141 * frameset.el (frameset-p): Add autoload cookie.
10142 (frameset--jump-to-register): New function, based on code moved from
10143 register.el.
10144 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10145
10146 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10147 (frameset-restore, frameset-save, frameset-session-filter-alist):
10148 Remove declarations.
10149 (register-alist): Doc fix.
10150 (frameset-to-register): Move to frameset.el.
10151 (jump-to-register, describe-register-1): Remove frameset-specific code.
10152
10153 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * allout-widgets.el (allout-widgets-pre-command-business)
10156 (allout-widgets-post-command-business)
10157 (allout-widgets-after-change-handler)
10158 (allout-decorate-item-and-context, allout-set-boundary-marker)
10159 (allout-body-modification-handler)
10160 (allout-graphics-modification-handler): Mark ignored arguments.
10161 (allout-widgets-post-command-business)
10162 (allout-widgets-exposure-change-processor)
10163 (allout-widgets-exposure-undo-processor)
10164 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10165 (allout-parse-item-at-point, allout-decorate-item-guides)
10166 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10167 * allout.el (epa-passphrase-callback-function): Declare.
10168 (allout-overlay-insert-in-front-handler)
10169 (allout-overlay-interior-modification-handler)
10170 (allout-isearch-end-handler, allout-chart-siblings)
10171 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10172 (allout-yank-processing, allout-process-exposed)
10173 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10174 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10175 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10176 (lisp-indent-defform): Mark ignored arguments.
10177 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10178 (calculate-lisp-indent): Remove unused variables.
10179 * international/characters.el (indian-2-column, arabic-2-column)
10180 (tibetan): Mark ignored arguments.
10181 (use-cjk-char-width-table): Mark ignored arguments.
10182 Remove unused variables.
10183 * international/fontset.el (build-default-fontset-data)
10184 (x-compose-font-name, create-fontset-from-fontset-spec):
10185 Mark ignored arguments.
10186 (fontset-plain-name): Remove unused variables.
10187 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10188 (keyboard-coding-system): Mark ignored arguments.
10189 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10190 * help.el (resize-temp-buffer-window):
10191 * window.el (display-buffer-in-major-side-window)
10192 (display-buffer-in-side-window, display-buffer-in-previous-window):
10193 Remove unused variables.
10194 * isearch.el (isearch-forward-symbol):
10195 * version.el (emacs-bzr-version-bzr):
10196 * international/mule-cmds.el (current-language-environment):
10197 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10198 (x-handle-display):
10199 * term/pc-win.el (x-list-fonts, x-display-planes)
10200 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10201 (x-server-version, x-display-screens, x-display-mm-height)
10202 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10203 (x-selection-owner-p, x-own-selection-internal)
10204 (x-disown-selection-internal, x-get-selection-internal)
10205 (msdos-initialize-window-system):
10206 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10207 * term/x-win.el (x-handle-no-bitmap-icon):
10208 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10209 (vc-default-find-file-hook, vc-default-extra-menu):
10210 Mark ignored arguments.
10211
10212 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10213
10214 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10215 break-condition in the context of the debugged code (bug#12685).
10216
10217 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10218
10219 * comint.el:
10220 Do not use an overlay to highlight the last prompt. (Bug#14744)
10221 (comint-mode): Make comint-last-prompt buffer local.
10222 (comint-last-prompt): New variable.
10223 (comint-last-prompt-overlay): Remove. Superseded by
10224 comint-last-prompt.
10225 (comint-snapshot-last-prompt, comint-output-filter):
10226 Use comint-last-prompt.
10227
10228 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10229
10230 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10231 (frameset-save): Check validity of the resulting frameset.
10232
10233 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10234
10235 * ido.el (ido-record-command): Add doc string.
10236
10237 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10238
10239 * frameset.el (frameset): Do not disable creation of the default
10240 frameset-p predicate. Doc fix.
10241 (frameset-valid-p): New function, copied from the old predicate-p.
10242 Add additional checks.
10243 (frameset-restore): Check with frameset-valid-p.
10244 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10245 (frameset-name, frameset-description, frameset-properties)
10246 (frameset-states): Add docstring.
10247 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10248 (frameset-filter-alist): Doc fixes.
10249
10250 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10251
10252 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10253
10254 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10257 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10258 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10259 (byte-compile-normal-call): Remove obsolescence check.
10260
10261 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10262
10263 * frameset.el (frameset-restore): Doc fix.
10264
10265 * register.el (frameset-frame-id, frameset-frame-with-id)
10266 (frameset-p, frameset-restore, frameset-save): Declare.
10267 (register-alist): Document framesets.
10268 (frameset-session-filter-alist): Declare.
10269 (frameset-to-register): New function.
10270 (jump-to-register): Implement jumping to framesets. Doc fix.
10271 (describe-register-1): Describe framesets.
10272
10273 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10274
10275 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10276
10277 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10278 Use lexical-binding.
10279
10280 * frameset.el (frameset): Use type vector, not list (incompatible
10281 change). Do not declare a new constructor, use the default one.
10282 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10283 `name' and `description', respectively, and add read-only slot
10284 `timestamp'. Doc fixes.
10285 (frameset-copy, frameset-persistent-filter-alist)
10286 (frameset-filter-alist, frameset-switch-to-gui-p)
10287 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10288 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10289 (frameset-filter-iconified, frameset-keep-original-display-p):
10290 Doc fixes.
10291 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10292 Rename from frameset-filter-(save|restore)-param. All callers changed.
10293 Doc fix.
10294 (frameset-p): Adapt to change to vector and be more thorough.
10295 Change arg name to OBJECT. Doc fix.
10296 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10297 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10298 All callers changed.
10299 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10300 All callers changed.
10301 (frameset--record-minibuffer-relationships): Rename from
10302 frameset--process-minibuffer-frames. All callers changed.
10303 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10304 Use new default constructor (again). Doc fix.
10305 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10306 All callers changed.
10307 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10308 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10309 Doc fix.
10310 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10311 PARAMETERS and WINDOW-STATE, respectively.
10312 (frameset-restore): Add new keyword argument PREDICATE.
10313 Reset frameset--target-display to nil. Doc fix.
10314
10315 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10318 (bat-mode): Use it.
10319 (bat-mode-syntax-table): Mark \n as end-of-comment.
10320 (bat-font-lock-keywords): Remove comment rule.
10321
10322 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10323 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10324
10325 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10326 (byte-compile-callargs-warn): Use `push'.
10327 (byte-compile-arglist-warn): Ignore higher-order "calls".
10328 (byte-compile-file-form-autoload): Use `pcase'.
10329 (byte-compile-function-form): If quoting a symbol, check that it exists.
10330
10331 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10332
10333 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10334 and add a few popular commands found in batch files.
10335 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10336 (dos-mode): Doc fixes.
10337
10338 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10339
10340 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10341 (dos-mode): Use setq-local. Add space after "rem".
10342 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10343 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10344
10345 2013-08-07 Arni Magnusson <arnima@hafro.is>
10346
10347 * progmodes/dos.el: New file.
10348 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10349 dos-mode.
10350
10351 2013-08-06 Glenn Morris <rgm@gnu.org>
10352
10353 * calendar/calendar.el: Add new faces, and day-header-array.
10354 (calendar-weekday-header, calendar-weekend-header)
10355 (calendar-month-header): New faces.
10356 (calendar-day-header-construct): New function.
10357 (calendar-day-header-width): Also :set calendar-day-header-array.
10358 (calendar-american-month-header, calendar-european-month-header)
10359 (calendar-iso-month-header): Use calendar- faces.
10360 (calendar-generate-month):
10361 Use calendar-day-header-array for day headers; apply faces to them.
10362 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10363 (calendar-abbrev-construct): Add optional maxlen argument.
10364 (calendar-day-name-array): Doc fix.
10365 (calendar-day-name-array, calendar-abbrev-length)
10366 (calendar-day-abbrev-array):
10367 Also :set calendar-day-header-array, and maybe redraw.
10368 (calendar-day-header-array): New option. (Bug#15007)
10369 (calendar-font-lock-keywords): Set to nil and make obsolete.
10370 (calendar-day-name): Add option to use header array.
10371
10372 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10373
10374 * net/shr.el (shr-render-td): Remove debugging.
10375 (shr-render-td): Make width computation consistent by defaulting
10376 all zero-width columns to 10 characters. This may not be optimal,
10377 but it's at least consistent.
10378 (shr-make-table-1): Redo last change to fix the real problem in
10379 colspan handling.
10380
10381 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10382
10383 * files.el (cache-long-line-scans):
10384 Make obsolete alias to `cache-long-scans'.
10385
10386 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10387
10388 * frameset.el (frameset, frameset-filter-alist)
10389 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10390 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10391 (frameset-compute-pos): Rename from frameset--compute-pos,
10392 and add docstring.
10393 (frameset-move-onscreen): Use frameset-compute-pos.
10394 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10395
10396 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10397 Fix typos in docstrings.
10398
10399 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10400
10401 * frame.el (get-other-frame): Tiny cleanup.
10402
10403 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10404
10405 * vc/vc.el (vc-default-ignore-completion-table):
10406 Silence byte-compiler warning.
10407
10408 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10409 slot, which can indeed be nil.
10410 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10411 Move entry for `left' from persistent to live filter alist.
10412 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10413 Doc fixes.
10414 (frameset-filter-params): When restoring a frame, copy items added to
10415 `filtered', to avoid unwittingly modifying the original parameters.
10416 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10417 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10418
10419 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10420 to use looking-at-p instead of looking-at. (Bug#15028)
10421
10422 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 Revert introduction of isearch-filter-predicates (bug#14714).
10425 Rely on add-function instead.
10426 * isearch.el (isearch-filter-predicates): Rename it back to
10427 isearch-filter-predicate.
10428 (isearch-message-prefix): Use advice-function-mapc and advice
10429 properties to get the isearch-message-prefix.
10430 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10431 instead of run-hook-with-args-until-failure.
10432 (isearch-filter-visible): Not obsolete any more.
10433 * loadup.el: Preload nadvice.
10434 * replace.el (perform-replace): Revert to funcall
10435 instead of run-hook-with-args-until-failure.
10436 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10437 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10438 dired-isearch-filenames-toggle; make it into a proper minor mode.
10439 Use add/remove-function.
10440 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10441 Call the minor-mode rather than add/remove-hook.
10442 (dired-isearch-filter-filenames):
10443 Remove isearch-message-prefix property.
10444 * info.el (Info--search-loop): New function, extracted from Info-search.
10445 Funcall isearch-filter-predicate instead of
10446 run-hook-with-args-until-failure isearch-filter-predicates.
10447 (Info-search): Use it.
10448 (Info-mode): Use isearch-filter-predicate instead of
10449 isearch-filter-predicates.
10450
10451 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10452
10453 Do not call to `selected-window' where it is assumed by default.
10454 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10455 `window-hscroll', `window-width', `window-height', `window-buffer',
10456 `window-frame', `window-start', `window-point', `next-window'
10457 and `window-display-table'.
10458 * abbrev.el (abbrev--default-expand):
10459 * bs.el (bs--show-with-configuration):
10460 * buff-menu.el (Buffer-menu-mouse-select):
10461 * calc/calc.el (calc):
10462 * calendar/calendar.el (calendar-generate-window):
10463 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10464 (diary-make-entry):
10465 * comint.el (send-invisible, comint-dynamic-complete-filename)
10466 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10467 * completion.el (complete):
10468 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10469 * disp-table.el (describe-current-display-table):
10470 * doc-view.el (doc-view-insert-image):
10471 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10472 * ehelp.el (with-electric-help):
10473 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10474 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10475 * emacs-lisp/helper.el (Helper-help-scroller):
10476 * emulation/cua-base.el (cua--post-command-handler-1):
10477 * eshell/esh-mode.el (eshell-output-filter):
10478 * ffap.el (ffap-gnus-wrapper):
10479 * help-macro.el (make-help-screen):
10480 * hilit-chg.el (highlight-compare-buffers):
10481 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10482 * hl-line.el (global-hl-line-highlight):
10483 * icomplete.el (icomplete-simple-completing-p):
10484 * isearch.el (isearch-done):
10485 * jit-lock.el (jit-lock-stealth-fontify):
10486 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10487 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10488 * mpc.el (mpc-tagbrowser, mpc):
10489 * net/rcirc.el (rcirc-any-buffer):
10490 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10491 * play/landmark.el (landmark-max-width, landmark-max-height):
10492 * play/zone.el (zone):
10493 * progmodes/compile.el (compilation-goto-locus):
10494 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10495 * progmodes/etags.el (find-tag-other-window):
10496 * progmodes/fortran.el (fortran-column-ruler):
10497 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10498 * progmodes/verilog-mode.el (verilog-point-text):
10499 * reposition.el (reposition-window):
10500 * rot13.el (toggle-rot13-mode):
10501 * server.el (server-switch-buffer):
10502 * shell.el (shell-dynamic-complete-command)
10503 (shell-dynamic-complete-environment-variable):
10504 * simple.el (insert-buffer, set-selective-display)
10505 (delete-completion-window):
10506 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10507 (speedbar-recenter):
10508 * startup.el (fancy-splash-head):
10509 * textmodes/ispell.el (ispell-command-loop):
10510 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10511 * tutorial.el (help-with-tutorial):
10512 * vc/add-log.el (add-change-log-entry):
10513 * vc/compare-w.el (compare-windows):
10514 * vc/ediff-help.el (ediff-indent-help-message):
10515 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10516 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10517 (ediff-setup-control-frame):
10518 * vc/emerge.el (emerge-position-region):
10519 * vc/pcvs-util.el (cvs-bury-buffer):
10520 * window.el (walk-windows, mouse-autoselect-window-select):
10521 * winner.el (winner-set-conf, winner-undo): Related users changed.
10522
10523 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10524
10525 * frameset.el (frameset--set-id): Doc fix.
10526 (frameset-frame-id, frameset-frame-id-equal-p)
10527 (frameset-locate-frame-id): New functions.
10528 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10529 (frameset-restore): Use them.
10530
10531 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10532
10533 Do not call to `selected-frame' where it is assumed by default.
10534 Affected functions are `raise-frame', `redraw-frame',
10535 `frame-first-window', `frame-terminal' and `delete-frame'.
10536 * calendar/appt.el (appt-disp-window):
10537 * epg.el (epg-wait-for-completion):
10538 * follow.el (follow-delete-other-windows-and-split)
10539 (follow-avoid-tail-recenter):
10540 * international/mule.el (set-terminal-coding-system):
10541 * mail/rmail.el (rmail-mail-return):
10542 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10543 * progmodes/f90.el (f90-add-imenu-menu):
10544 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10545 * server.el (server-switch-buffer):
10546 * simple.el (delete-completion-window):
10547 * talk.el (talk):
10548 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10549 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10550 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10551 * vc/ediff.el (ediff-documentation): Related users changed.
10552 * frame.el (selected-terminal): Remove the leftover.
10553
10554 2013-08-05 Glenn Morris <rgm@gnu.org>
10555
10556 * calendar/calendar.el (calendar-generate-month):
10557 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10558 (calendar-generate-month, calendar-font-lock-keywords):
10559 Fix for calendar-day-header-width > length of any day name.
10560
10561 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10562
10563 * desktop.el (desktop-clear): Use new name of sort predicate.
10564
10565 * frameset.el (frameset): Add docstring. Move :version property to its
10566 own `version' slot.
10567 (frameset-copy): Rename from copy-frameset.
10568 (frameset-p): Check more thoroughly.
10569 (frameset-prop): Do not check for :version, which is no longer a prop.
10570 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10571 Use new :never value instead of t.
10572 (frameset-filter-alist): Expand and clarify docstring.
10573 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10574 (frameset-filter-minibuffer, frameset-filter-save-param)
10575 (frameset-filter-restore-param, frameset-filter-iconified):
10576 Add pointer to docstring of frameset-filter-alist.
10577 (frameset-filter-params): Rename filter values to be more meaningful:
10578 :never instead of t, and reverse the meanings of :save and :restore.
10579 (frameset--process-minibuffer-frames): Clarify error message.
10580 (frameset-save): Avoid unnecessary and confusing call to framep.
10581 Use new BOA constructor for framesets.
10582 (frameset--reuse-list): Doc fix.
10583 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10584 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10585 (frameset-minibufferless-first-p): Doc fix.
10586 Rename from frameset-sort-frames-for-deletion.
10587 (frameset-restore): Doc fixes. Use new function names.
10588 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10589
10590 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10591
10592 * desktop.el (desktop-restore-forces-onscreen)
10593 (desktop-restore-reuses-frames): Document :keyword constant values.
10594 (desktop-filter-parameters-alist): Remove, now identical to
10595 frameset-filter-alist.
10596 (desktop--filter-tty*): Remove, moved to frameset.el.
10597 (desktop-save-frameset, desktop-restore-frameset):
10598 Do not pass :filters argument.
10599
10600 * frameset.el (frameset-live-filter-alist)
10601 (frameset-persistent-filter-alist): New variables.
10602 (frameset-filter-alist): Use them. Add autoload cookie.
10603 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10604 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10605 `frameset--id' (it's supposed to be internal to frameset.el).
10606 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10607 (frameset--initial-params): New function.
10608 (frameset--get-frame): Use it. Doc fix.
10609 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10610 Accept :all, not 'all.
10611 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10612 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10613 with fbound symbols. Fix frame id matching, and remove matching ids if
10614 the frame being restored is deleted. Obey :delete.
10615
10616 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * subr.el (macrop): New function.
10619 (text-clone--maintaining): New var.
10620 (text-clone--maintain): Rename from text-clone-maintain. Use it
10621 instead of inhibit-modification-hooks.
10622
10623 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10624 a proxy, so as handle autoloads and redefinitions of the target.
10625 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10626
10627 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10628 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10629 (pcase--mutually-exclusive-p): New function.
10630 (pcase--split-consp): Use it.
10631 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10632 mutually exclusive with the current predicate.
10633
10634 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10635 (edebug-macrop): Remove. Use `macrop' instead.
10636 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10637 (ad-macro-p):
10638 * eshell/esh-cmd.el (eshell-macrop):
10639 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10640
10641 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10642
10643 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10644 (advice-mapc): New function, using it.
10645 (advice-function-member-p): New function.
10646 (advice--normalize): Store the cdr in advice--saved-rewrite since
10647 that's the part that will be changed.
10648 (advice--symbol-function): New function.
10649 (advice-remove): Handle removal before the function is defined.
10650 Adjust to new advice--saved-rewrite.
10651 (advice-member-p): Use advice-function-member-p and
10652 advice--symbol-function.
10653
10654 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10655
10656 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10657 (frameset-filter-minibuffer): Doc fix.
10658 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10659 (frameset--set-id, frameset--process-minibuffer-frames)
10660 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10661 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10662
10663 * desktop.el (desktop-clear): Only delete frames when called
10664 interactively and desktop-restore-frames is non-nil. Doc fix.
10665 (desktop-read): Set desktop-saved-frameset to nil.
10666
10667 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10668
10669 * vc/vc.el (vc-ignore): Rewrite.
10670 (vc-default-ignore-completion-table, vc--read-lines)
10671 (vc--add-line, vc--remove-regexp): New functions.
10672
10673 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10674 (vc-svn-ignore-completion-table): New function.
10675
10676 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10677 (vc-hg-ignore-completion-table)
10678 (vc-hg-find-ignore-file): New functions.
10679
10680 * vc/vc-git.el (vc-git-ignore): Rewrite.
10681 (vc-git-ignore-completion-table)
10682 (vc-git-find-ignore-file): New functions.
10683
10684 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10685
10686 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10687 (vc-bzr-ignore-completion-table)
10688 (vc-bzr-find-ignore-file): New functions.
10689
10690 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10691
10692 * frameset.el (frameset-prop): New function and setter.
10693 (frameset-save): Do not modify frame list passed by the caller.
10694
10695 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10696
10697 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10698
10699 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10702 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10703
10704 * custom.el (custom-initialize-default, custom-initialize-set)
10705 (custom-initialize-reset, custom-initialize-changed): Affect the
10706 toplevel-default-value (bug#6275, bug#14586).
10707 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10708 for bug#6275.
10709
10710 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10711
10712 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10713 Add cl-def* expressions.
10714
10715 * frameset.el (frameset-filter-params): Fix order of arguments.
10716
10717 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10718
10719 Move code related to saving frames to frameset.el.
10720 * desktop.el: Require frameset.
10721 (desktop-restore-frames): Doc fix.
10722 (desktop-restore-reuses-frames): Rename from
10723 desktop-restoring-reuses-frames.
10724 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10725 (desktop-clear): Clear frames too.
10726 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10727 (desktop--filter-tty*, desktop-save, desktop-read):
10728 Use frameset functions.
10729 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10730 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10731 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10732 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10733 (desktop--process-minibuffer-frames, desktop-save-frames)
10734 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10735 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10736 (desktop--sort-states, desktop-restoring-frames-p)
10737 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10738 (desktop-restoring-frameset-p, desktop-restore-frameset)
10739 (desktop--check-dont-save, desktop-save-frameset): New functions.
10740 (desktop--app-id): New constant.
10741 (desktop-first-buffer, desktop-buffer-ok-count)
10742 (desktop-buffer-fail-count): Move before first use.
10743 * frameset.el: New file.
10744
10745 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10746
10747 * files.el: Use lexical-binding.
10748 (dir-locals-read-from-file): Remove unused `err' variable.
10749 (hack-dir-local-variables--warned-coding): New var.
10750 (hack-dir-local-variables): Use it to avoid repeated warnings.
10751 (make-backup-file-name--default-function): New function.
10752 (make-backup-file-name-function): Use it as default.
10753 (buffer-stale--default-function): New function.
10754 (buffer-stale-function): Use it as default.
10755 (revert-buffer-insert-file-contents--default-function): New function.
10756 (revert-buffer-insert-file-contents-function): Use it as default.
10757 (insert-directory): Avoid add-to-list.
10758
10759 * autorevert.el (auto-revert-handler): Simplify.
10760 Use buffer-stale--default-function.
10761
10762 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10763
10764 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10765
10766 * whitespace.el (whitespace-ensure-local-variables): New function.
10767 (whitespace-cleanup-region): Call it.
10768 (whitespace-turn-on): Call it.
10769
10770 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10771
10772 Complete file name handlers.
10773
10774 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10775 (tramp-handle-verify-visited-file-modtime)
10776 (tramp-handle-file-notify-rm-watch): New functions.
10777 (tramp-call-process): Do not bind `default-directory'.
10778
10779 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10780 Order alphabetically.
10781 <access-file, add-name-to-file, dired-call-process>:
10782 <dired-compress-file, file-acl, file-notify-rm-watch>:
10783 <file-ownership-preserved-p, file-selinux-context>:
10784 <make-directory-internal, make-symbolic-link, set-file-acl>:
10785 <set-file-selinux-context, set-visited-file-modtime>:
10786 <verify-visited-file-modtime>: Add handler.
10787 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10788
10789 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10790 <file-notify-add-watch, file-notify-rm-watch>:
10791 <set-file-times, set-visited-file-modtime>:
10792 <verify-visited-file-modtime>: Add handler.
10793 (with-tramp-gvfs-error-message)
10794 (tramp-gvfs-handle-set-visited-file-modtime)
10795 (tramp-gvfs-fuse-file-name): Remove.
10796 (tramp-gvfs-handle-file-notify-add-watch)
10797 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10798 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10799
10800 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10801 Order alphabetically.
10802 <file-notify-rm-watch>: Use default Tramp handler.
10803 <executable-find>: Remove private handler.
10804 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10805 `default-directory'.
10806 (tramp-sh-handle-executable-find)
10807 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10808 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10809 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10810 Do not use `format' in `tramp-message'.
10811
10812 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10813 <file-notify-rm-watch, set-visited-file-modtime>:
10814 <verify-visited-file-modtime>: Add handler.
10815 (tramp-smb-call-winexe): Do not bind `default-directory'.
10816
10817 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10818
10819 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10820
10821 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10822
10823 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10824 use it.
10825 (log-view-diff-changeset): Same.
10826 (log-view-diff-common): Call backend command `previous-revision'
10827 to find out the previous revision, in both cases. Swap the
10828 variables `to' and `fr', so that `fr' usually refers to the
10829 earlier revision (Bug#14989).
10830
10831 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10832
10833 * ibuf-ext.el (ibuffer-filter-by-filename):
10834 Make it work with dired buffers too.
10835
10836 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10837
10838 * emacs-lisp/re-builder.el (reb-color-display-p):
10839 * files.el (save-buffers-kill-terminal):
10840 * net/browse-url.el (browse-url):
10841 * server.el (server-save-buffers-kill-terminal):
10842 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10843 Prefer nil to selected-frame for the first arg of frame-parameter.
10844
10845 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10846
10847 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10848
10849 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10850
10851 * minibuffer.el (completion--twq-all): Try and preserve each
10852 completion's case choice (bug#14907).
10853
10854 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10855
10856 * net/network-stream.el (open-network-stream): Mention the new
10857 :nogreeting parameter.
10858 (network-stream-open-starttls): Use the :nogreeting parameter
10859 (bug#14938).
10860
10861 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10862
10863 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10864 more natural than popping.
10865
10866 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10867 (shr-urlify): Highlight under mouse.
10868
10869 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10870
10871 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10872
10873 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10874
10875 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10876 buffer for output.
10877
10878 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10879 point-min==1. Fix search string. Fix parentheses missing.
10880
10881 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10882 assume point-min==1. Fix search string. Fix parentheses missing.
10883
10884 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10885
10886 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10887 buffer for output.
10888
10889 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10890
10891 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10892 initial frame is minibuffer-less. (Bug#14841)
10893
10894 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10895
10896 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10897 option.
10898
10899 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10900 (tramp-maybe-open-connection): Use it.
10901
10902 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10903
10904 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10905 minimal set of parameters passed when creating a frame, because
10906 the minibuffer status of a frame cannot be changed later.
10907
10908 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10909
10910 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10911 replace-regexp-in-string and inadvertent omissions in previous change.
10912 (todo-filter-items): Ensure only file names are comma-separated in
10913 name of filtered items buffer.
10914
10915 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10916
10917 * desktop.el: Optionally force offscreen frames back onscreen.
10918 (desktop-restoring-reuses-frames): New option.
10919 (desktop--compute-pos, desktop--move-onscreen): New functions.
10920 (desktop--make-frame): Use desktop--move-onscreen.
10921
10922 2013-07-27 Alan Mackenzie <acm@muc.de>
10923
10924 Fontify a Java generic method as a function.
10925 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10926 value to t.
10927
10928 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10929
10930 * calendar/todo-mode.el: Add command to rename todo files.
10931 (todo-rename-file): New command.
10932 (todo-key-bindings-t): Add key binding for it. Change the
10933 bindings of todo-filter-regexp-items(-multifile) to use `x'
10934 instead of `r', since the latter is better suited to the new
10935 renaming command.
10936
10937 2013-07-27 Alan Mackenzie <acm@muc.de>
10938
10939 Make Java try-with-resources statement parse properly.
10940 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10941 (c-block-stmt-1-2-key): New language constants/variables.
10942 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10943 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10944 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10945 with c-block-stmt-1-2-key.
10946
10947 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10948
10949 * desktop.el (desktop--make-frame): Apply most frame parameters after
10950 creating the frame to force (partially or totally) offscreen frames to
10951 be restored as such.
10952
10953 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10954
10955 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10956 (Bug#14948)
10957
10958 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10961 `base' arg of backtrace-frame.
10962
10963 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10964
10965 * simple.el (list-processes): Doc fix.
10966
10967 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10968
10969 * desktop.el (desktop--select-frame):
10970 Try harder to reuse existing frames.
10971
10972 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10973
10974 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10975 (edebug-eval): Use backtrace-eval.
10976 (edebug--display, edebug--recursive-edit): Don't let-bind the
10977 edebug-outer-* vars that keep track of variables we locally let-bind.
10978 (edebug-outside-excursion): Don't restore outside values of locally
10979 let-bound vars.
10980 (edebug--display): Use user-error.
10981 (cl-lexical-debug, cl-debug-env): Remove.
10982
10983 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10984
10985 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10986 are restored to be sure that they are visible before deleting any
10987 remaining ones.
10988
10989 2013-07-26 Matthias Meulien <orontee@gmail.com>
10990
10991 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10992 vc-print-root-log. (Bug#14948)
10993
10994 2013-07-26 Richard Stallman <rms@gnu.org>
10995
10996 Add aliases for encrypting mail.
10997 * epa.el (epa-mail-aliases): New option.
10998 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10999 Bind inhibit-read-only so read-only text doesn't ruin everything.
11000 (epa-mail-default-recipients): New subroutine broken out.
11001 Handle epa-mail-aliases.
11002
11003 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11004
11005 Add support for lexical variables to the debugger's `e' command.
11006 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11007 vars, except for debugger-outer-match-data.
11008 (debugger-frame-number): Move check for "on a function call" from
11009 callers into it. Add `skip-base' argument.
11010 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11011 (debugger-env-macro): Only reset the state stored in non-variables,
11012 i.e. current-buffer and match-data.
11013 (debugger-eval-expression): Rewrite using backtrace-eval.
11014 * subr.el (internal--called-interactively-p--get-frame): Remove.
11015 (called-interactively-p):
11016 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11017 `base' arg of backtrace-frame instead.
11018
11019 2013-07-26 Glenn Morris <rgm@gnu.org>
11020
11021 * align.el (align-regexp): Doc fix. (Bug#14857)
11022 (align-region): Explicit error if subexpression missing/does not match.
11023
11024 * simple.el (global-visual-line-mode):
11025 Do not duplicate the mode lighter. (Bug#14858)
11026
11027 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11028
11029 * window.el (display-buffer): In display-buffer bind
11030 split-window-keep-point to t, bug#14829.
11031
11032 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11033
11034 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11035 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11036 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11037 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11038 Change accordingly.
11039 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11040 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11041
11042 2013-07-25 Glenn Morris <rgm@gnu.org>
11043
11044 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11045
11046 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11047
11048 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11049 parameter to modify-frame-parameters if the value has not changed;
11050 this is a workaround for bug#14949.
11051 (desktop--make-frame): On cl-delete-if call, check parameter name,
11052 not full parameter.
11053
11054 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11055
11056 * vc/vc.el (vc-ignore): New function.
11057
11058 * vc/vc-svn.el (vc-svn-ignore): New function.
11059
11060 * vc/vc-hg.el (vc-hg-ignore): New function.
11061
11062 * vc/vc-git.el (vc-git-ignore): New function.
11063
11064 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11065 (vc-dir-ignore): New function.
11066
11067 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11068 (cvs-append-to-ignore): Move here from pcvs.el.
11069
11070 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11071
11072 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11073
11074 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11077 (desktop-restore-frames): Warn when deleting an existing frame failed.
11078
11079 2013-07-24 Glenn Morris <rgm@gnu.org>
11080
11081 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11082
11083 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11084
11085 * filenotify.el (file-notify-supported-p):
11086 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11087 Remove functions.
11088
11089 * autorevert.el (auto-revert-use-notify)
11090 (auto-revert-notify-add-watch):
11091 * net/tramp.el (tramp-file-name-for-operation):
11092 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11093 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11094 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11095 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11096 Remove `file-notify-supported-p' entry.
11097
11098 2013-07-24 Glenn Morris <rgm@gnu.org>
11099
11100 * printing.el: Replace all uses of deleted ps-windows-system,
11101 ps-lp-system, ps-flatten-list with lpr- versions.
11102
11103 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11106 checked with memq (bug#14935).
11107
11108 * files.el (revert-buffer-function): Use a non-nil default.
11109 (revert-buffer-preserve-modes): Declare var to
11110 provide access to the `preserve-modes' argument.
11111 (revert-buffer): Let-bind it.
11112 (revert-buffer--default): New function, extracted from revert-buffer.
11113
11114 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * lpr.el: Signal print errors more prominently.
11117 (print-region-function): Don't default to nil.
11118 (lpr-print-region): New function, extracted from print-region-1.
11119 Check lpr's return value and signal an error in case of problem.
11120 (print-region-1): Use it.
11121 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11122 versions instead.
11123 (ps-printer-name): Default to nil.
11124 (ps-printer-name-option): Default to lpr-printer-switch.
11125 (ps-print-region-function): Don't default to nil.
11126 (ps-postscript-code-directory): Simplify default.
11127 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11128 (ps-string-list, ps-eval-switch, ps-flatten-list)
11129 (ps-flatten-list-1): Remove.
11130 (ps-multibyte-buffer): Avoid setq.
11131 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11132 (print-region-function, ps-print-region-function): Don't set them here.
11133
11134 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11135
11136 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11137 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11138 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11139 (ido-decorations): Doc fix.
11140
11141 * ansi-color.el: Fix old URL.
11142
11143 2013-07-23 Michael R. Mauger <michael@mauger.com>
11144
11145 * progmodes/sql.el: Version 3.3
11146 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11147 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11148 (sql-interactive-remove-continuation-prompt): Rewrite, use
11149 functions above. Fix continuation prompt and complete output line
11150 handling.
11151 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11152 redirected output buffer.
11153 (sql-mode): Restore deleted code (Bug#13591).
11154
11155 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11156
11157 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11158
11159 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11160
11161 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11162
11163 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11164 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11165 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11166
11167 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11168
11169 * desktop.el (desktop-clear): Simplify; remove useless checks
11170 against invalid buffer names.
11171 (desktop-list*): Use cl-list*.
11172 (desktop-buffer-info, desktop-create-buffer): Simplify.
11173
11174 2013-07-23 Leo Liu <sdl.web@gmail.com>
11175
11176 * bookmark.el (bookmark-make-record): Restore NAME as a default
11177 value. (Bug#14933)
11178
11179 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11180
11181 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11182 extracted from autoload--insert-text.
11183 (autoload--insert-text): Remove.
11184 (autoload--print-cookie-text): New function, extracted from
11185 autoload--insert-cookie-text.
11186 (autoload--insert-cookie-text): Remove.
11187 (autoload-generate-file-autoloads): Adjust calls accordingly.
11188
11189 * winner.el (winner-hook-installed-p): Remove.
11190 (winner-mode): Simplify accordingly.
11191
11192 * subr.el (add-to-list): Fix compiler-macro when `append' is
11193 not constant. Don't use `cl-member' for the base case.
11194
11195 * progmodes/subword.el: Fix boundary case (bug#13758).
11196 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11197 own group.
11198 (subword-backward-regexp): Make it a constant.
11199 (subword-forward-internal): Don't treat a trailing capital as the
11200 beginning of a word.
11201
11202 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11203
11204 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11205 global value of tabulated-list-revert-hook (bug#14930).
11206
11207 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11208
11209 * desktop.el: Require 'cl-lib.
11210 (desktop-before-saving-frames-functions): New hook.
11211 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11212 for frames being saved. Rename from desktop--save-minibuffer-frames.
11213 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11214 Do not save frames with non-nil `desktop-dont-save' parameter.
11215 Filter out deleted frames.
11216 (desktop--find-frame): Use cl-find-if.
11217 (desktop--select-frame): Use cl-(first|second|third) to access values
11218 of desktop-mini.
11219 (desktop--make-frame): Use cl-delete-if.
11220 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11221 (desktop-restore-frames): Use cl-(first|second|third) to access values
11222 of desktop-mini. Look for visible frame at the end, not while
11223 restoring frames.
11224
11225 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11226 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11227 Use string-match-p, looking-at-p (bug#14927).
11228
11229 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11230
11231 * desktop.el (desktop-saved-frame-states):
11232 Rename from desktop--saved-states; all users changed.
11233 (desktop-save-frames): Rename from desktop--save-frames.
11234 Do not save state to desktop file.
11235 (desktop-save): Save desktop-saved-frame-states to desktop file
11236 and reset to nil.
11237 (desktop-restoring-frames-p): New function.
11238 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11239 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11240 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11241
11242 * desktop.el: Correctly restore iconified frames.
11243 (desktop--filter-iconified-position): New function.
11244 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11245
11246 2013-07-20 Glenn Morris <rgm@gnu.org>
11247
11248 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11249 Let `message' do the formatting.
11250 (def-gdb-preempt-display-buffer): Add explicit format.
11251
11252 * image-dired.el (image-dired-track-original-file):
11253 Use with-current-buffer.
11254 (image-dired-track-thumbnail): Use with-current-buffer.
11255 Avoid changing point of wrong window.
11256
11257 * image-dired.el (image-dired-track-original-file):
11258 Avoid changing point of wrong window. (Bug#14909)
11259
11260 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11261
11262 * progmodes/gdb-mi.el (gdb-done-or-error):
11263 Guard against "%" in gdb output. (Bug#14127)
11264
11265 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11266
11267 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11268 (Bug#14826)
11269
11270 * international/mule.el (coding-system-iso-2022-flags): Fix last
11271 change.
11272
11273 2013-07-20 Kenichi Handa <handa@gnu.org>
11274
11275 * international/mule.el (coding-system-iso-2022-flags):
11276 Add `8-bit-level-4'. (Bug#8522)
11277
11278 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11279
11280 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11281 (bug#14815).
11282
11283 * net/eww.el (eww-process-text-input): Allow inputting when the
11284 point is at the start of the line, as the properties aren't
11285 front-sticky.
11286
11287 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11288 degenerate widths.
11289
11290 2013-07-19 Richard Stallman <rms@gnu.org>
11291
11292 * epa.el (epa-popup-info-window): Doc fix.
11293
11294 * subr.el (split-string): New arg TRIM.
11295
11296 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11297
11298 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11299 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11300
11301 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11302
11303 * filenotify.el (file-notify--library): Rename from
11304 `file-notify-support'. Do not autoload. Adapt all uses.
11305 (file-notify-supported-p): New defun.
11306
11307 * autorevert.el (auto-revert-use-notify):
11308 Use `file-notify-supported-p' instead of `file-notify-support'.
11309 Adapt docstring.
11310 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11311
11312 * net/tramp.el (tramp-file-name-for-operation):
11313 Add `file-notify-supported-p'.
11314
11315 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11316 New defun.
11317 (tramp-sh-file-name-handler-alist): Add it as handler for
11318 `file-notify-supported-p '.
11319
11320 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11321 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11322 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11323 Add `ignore' as handler for `file-notify-*' functions.
11324
11325 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11326
11327 * simple.el (line-move-partial, line-move): Don't start vscroll or
11328 scroll-up if the current line is not taller than the window.
11329 (Bug#14881)
11330
11331 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11332
11333 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11334 highlight question marks in the method names as strings.
11335 (ruby-block-beg-keywords): Inline.
11336 (ruby-font-lock-keyword-beg-re): Extract from
11337 `ruby-font-lock-keywords'.
11338
11339 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11340
11341 * frame.el (blink-cursor-blinks): New defcustom.
11342 (blink-cursor-blinks-done): New defvar.
11343 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11344 (blink-cursor-timer-function): Check if number of blinks has been
11345 done on X and NS.
11346 (blink-cursor-suspend, blink-cursor-check): New defuns.
11347
11348 2013-07-15 Glenn Morris <rgm@gnu.org>
11349
11350 * edmacro.el (edmacro-format-keys): Fix previous change.
11351
11352 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11353
11354 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11355 The hack didn't work outside English locales anyway.
11356
11357 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11358
11359 * simple.el (define-alternatives): Rename from alternatives-define,
11360 per RMS' suggestion.
11361
11362 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11363
11364 * desktop.el (desktop-restore-frames): Change default to t.
11365 (desktop-restore-in-current-display): Now offer more options.
11366 (desktop-restoring-reuses-frames): New customization option.
11367 (desktop--saved-states): Doc fix.
11368 (desktop-filter-parameters-alist): New variable, renamed and expanded
11369 from desktop--excluded-frame-parameters.
11370 (desktop--target-display): New variable.
11371 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11372 (desktop--filter-tty*, desktop--filter-*-color)
11373 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11374 (desktop--filter-save-desktop-parm)
11375 (desktop-restore-in-original-display-p): New functions.
11376 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11377 (desktop--save-minibuffer-frames): New function, inspired by a similar
11378 function from Martin Rudalics.
11379 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11380 (desktop--restore-in-this-display-p): Remove.
11381 (desktop--find-frame): Rename from desktop--find-frame-in-display
11382 and add predicate argument.
11383 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11384 (desktop--reuse-list): New variable.
11385 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11386 New functions.
11387 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11388
11389 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11390
11391 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11392
11393 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11394
11395 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11396 Highlight conversion methods on Kernel.
11397
11398 2013-07-13 Alan Mackenzie <acm@muc.de>
11399
11400 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11401 and comment it out. This out-commenting enables certain C++
11402 declarations to be parsed correctly.
11403
11404 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11405
11406 * international/mule.el (define-coding-system): Doc fix.
11407
11408 * simple.el (default-font-height): Don't call font-info if the
11409 frame's default font didn't change since the frame was created.
11410 (Bug#14838)
11411
11412 2013-07-13 Leo Liu <sdl.web@gmail.com>
11413
11414 * ido.el (ido-read-file-name): Guard against non-symbol value.
11415
11416 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11417
11418 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11419 in nested defuns.
11420
11421 2013-07-13 Leo Liu <sdl.web@gmail.com>
11422
11423 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11424 ido-set-matches call. (Bug#6852)
11425
11426 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11427
11428 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11429 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11430 Ruby 2.0.
11431 (ruby-font-lock-keywords): Distinguish calls to functions with
11432 module-like names from module references. Highlight character
11433 literals.
11434
11435 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11436
11437 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11438 (gdb-send): Handle continued commands. (Bug#14847)
11439
11440 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11441
11442 * desktop.el (desktop--v2s): Remove unused local variable.
11443 (desktop-save-buffer): Make defvar-local; adjust docstring.
11444 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11445 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11446
11447 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11448
11449 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11450
11451 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11452
11453 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11454 (Bug#14842)
11455
11456 2013-07-12 Glenn Morris <rgm@gnu.org>
11457
11458 * doc-view.el: Require cl-lib at runtime too.
11459 (doc-view-remove-if): Remove.
11460 (doc-view-search-next-match, doc-view-search-previous-match):
11461 Use cl-remove-if.
11462
11463 * edmacro.el: Require cl-lib at runtime too.
11464 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11465 (edmacro-mismatch, edmacro-subseq): Remove.
11466
11467 * shadowfile.el: Require cl-lib.
11468 (shadow-remove-if): Remove.
11469 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11470 Use cl-remove-if.
11471
11472 * wid-edit.el: Require cl-lib.
11473 (widget-choose): Use cl-remove-if.
11474 (widget-remove-if): Remove.
11475
11476 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11477 (ebrowse-delete-if-not): Remove.
11478 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11479 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11480 Use cl-delete-if-not.
11481
11482 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11483
11484 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11485 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11486
11487 2013-07-12 Leo Liu <sdl.web@gmail.com>
11488
11489 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11490
11491 2013-07-11 Glenn Morris <rgm@gnu.org>
11492
11493 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11494 (edebug-gensym-index, edebug-gensym):
11495 Remove reimplementation of cl-gensym.
11496 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11497
11498 * thumbs.el: Require cl-lib at run-time too.
11499 (thumbs-gensym-counter, thumbs-gensym):
11500 Remove reimplementation of cl-gensym.
11501 (thumbs-temp-file): Use cl-gensym.
11502
11503 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11504 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11505 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11506 (ert--union, ert--gensym-counter, ert--gensym-counter)
11507 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11508 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11509 (ert-make-test-unbound, ert--expand-should-1)
11510 (ert--expand-should, ert--should-error-handle-error)
11511 (should-error, ert--explain-equal-rec)
11512 (ert--plist-difference-explanation, ert-select-tests)
11513 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11514 Use cl-lib functions rather than reimplementations.
11515
11516 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11517
11518 * net/tramp.el (tramp-methods): Extend docstring.
11519 (tramp-connection-timeout): New defcustom.
11520 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11521 (with-tramp-progress-reporter): Simplify.
11522 (tramp-process-actions): Improve messages.
11523
11524 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11525 * net/tramp-sh.el (tramp-maybe-open-connection):
11526 Use `tramp-connection-timeout'.
11527 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11528 (Bug#14808)
11529
11530 2013-07-11 Leo Liu <sdl.web@gmail.com>
11531
11532 * ido.el (ido-read-file-name): Conform to the requirements of
11533 read-file-name. (Bug#11861)
11534 (ido-read-directory-name): Conform to the requirements of
11535 read-directory-name.
11536
11537 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11538
11539 * subr.el (delay-warning): New function.
11540
11541 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11542
11543 * simple.el (default-line-height): New function.
11544 (line-move-partial, line-move): Use it instead of computing the
11545 line height inline.
11546 (line-move-partial): Always compute ROWH. If the last line is
11547 partially-visible, but its text is completely visible, allow
11548 cursor to enter such a partially-visible line.
11549
11550 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11551
11552 Improve error messages. (Bug#14808)
11553
11554 * net/tramp.el (tramp-current-connection): New defvar, moved from
11555 tramp-sh.el.
11556 (tramp-message-show-progress-reporter-message): Remove, not
11557 needed anymore.
11558 (tramp-error-with-buffer): Show message in minibuffer.
11559 Discard input before waiting. Reset connection timestamp.
11560 (with-tramp-progress-reporter): Improve messages.
11561 (tramp-process-actions): Use progress reporter. Delete process in
11562 case of error. Improve messages.
11563
11564 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11565 Call `tramp-error-with-buffer' with vector and buffer.
11566 (tramp-current-connection): Remove.
11567 (tramp-maybe-open-connection): The car of
11568 `tramp-current-connection' are the first 3 slots of the vector.
11569
11570 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11571
11572 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11573 inside continued strings.
11574
11575 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11576
11577 Timestamp fixes for undo (Bug#14824).
11578 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11579
11580 2013-07-10 Leo Liu <sdl.web@gmail.com>
11581
11582 * files.el (require-final-newline): Allow safe local value.
11583 (Bug#14834)
11584
11585 2013-07-09 Leo Liu <sdl.web@gmail.com>
11586
11587 * ido.el (ido-read-directory-name): Handle fallback.
11588 (ido-read-file-name): Update DIR to ido-current-directory.
11589 (Bug#1516)
11590 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11591
11592 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11593
11594 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11595 "autoload". Remove "warn lower camel case" section, previously
11596 commented out. Highlight negation char. Do not highlight the
11597 target in singleton method definitions.
11598
11599 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11600
11601 * faces.el (tty-setup-hook): Declare the hook.
11602
11603 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11604 and detect when a guard/pred depends on local vars (bug#14773).
11605 (pcase--u1): Adjust caller.
11606
11607 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11608
11609 * simple.el (line-move-partial, line-move): Account for
11610 line-spacing.
11611 (line-move-partial): Avoid setting vscroll when the last
11612 partially-visible line in window is of default height.
11613
11614 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11615
11616 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11617 been used a while.
11618
11619 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11620
11621 * subr.el (read-quoted-char): Remove unused local variable `char'.
11622
11623 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11624
11625 * vc/ediff.el (ediff-version): Version update.
11626 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11627 (ediff-merge-with-ancestor-command, ediff-directories-command)
11628 (ediff-directories3-command, ediff-merge-directories-command)
11629 (ediff-merge-directories-with-ancestor-command): New functions.
11630 All are command-line interfaces to ediff: to facilitate calling
11631 Emacs with the appropriate ediff functions invoked.
11632
11633 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11634 New function.
11635 (viper-save-kill-buffer): Check if buffer is modified.
11636
11637 * emulation/viper.el (viper-version): Version update.
11638 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11639
11640 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11641
11642 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11643 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11644 (viper-intercept-ESC-key): Simplify.
11645 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11646 don't use kbd.
11647 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11648 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11649 (viper-setup-ESC-to-escape): New functions.
11650 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11651 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11652
11653 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11654
11655 * simple.el (default-font-height, window-screen-lines):
11656 New functions.
11657 (line-move, line-move-partial): Use them instead of
11658 frame-char-height and window-text-height. This makes scrolling
11659 text smoother when the buffer's default face uses a font that is
11660 different from the frame's default font.
11661
11662 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11663
11664 * files.el (write-file): Do not display confirm dialog for NS,
11665 it does its own dialog, which can't be canceled (Bug#14578).
11666
11667 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11668
11669 * simple.el (line-move-partial): Adjust the row returned by
11670 posn-at-point for the current window-vscroll. (Bug#14567)
11671
11672 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11673
11674 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11675 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11676 spaces.
11677
11678 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11679
11680 * window.el (window-state-put-stale-windows): New variable.
11681 (window--state-put-2): Save list of windows without matching buffer.
11682 (window-state-put): Remove "bufferless" windows if possible.
11683
11684 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11685
11686 * simple.el (alternatives-define): Remove leftover :group keyword.
11687 Tweak docstring.
11688
11689 2013-07-06 Leo Liu <sdl.web@gmail.com>
11690
11691 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11692 (ido-enable-virtual-buffers): New variable.
11693 (ido-buffer-internal, ido-toggle-virtual-buffers)
11694 (ido-make-buffer-list): Use it.
11695 (ido-exhibit): Support turning on and off virtual buffers
11696 automatically.
11697
11698 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11699
11700 * simple.el (alternatives-define): New macro.
11701
11702 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11703
11704 * subr.el (read-quoted-char): Use read-key.
11705 (sit-for): Let read-event decode tty input (bug#14782).
11706
11707 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11708
11709 * calendar/todo-mode.el: Add handling of file deletion, both by
11710 mode command and externally. Fix various related bugs.
11711 Clarify Commentary and improve some documentation strings and code.
11712 (todo-delete-file): New command.
11713 (todo-check-file): New function.
11714 (todo-show): Handle external deletion of the file we're trying to
11715 show (bug#14688). Replace called-interactively-p by an optional
11716 prefix argument to avoid problematic interaction with catch form
11717 when byte compiled (bug#14702).
11718 (todo-quit): Handle external deletion of the archive's todo file.
11719 Make sure the buffer that was visiting the archive file is still
11720 live before trying to bury it.
11721 (todo-category-completions): Handle external deletion of any
11722 category completion files.
11723 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11724 of todo files, in case of external deletion.
11725 (todo-add-file): Replace unnecessary setq by let-binding.
11726 (todo-find-archive): Check whether there are any archives.
11727 Replace unnecessary setq by let-binding.
11728 (todo-archive-done-item): Use find-file-noselect to get the
11729 archive buffer whether or not the archive already exists.
11730 Remove superfluous code. Use file size instead of buffer-file-name to
11731 check if the archive is new; if it is, update list of archives.
11732 (todo-default-todo-file): Allow nil to be a valid value for when
11733 there are no todo files.
11734 (todo-reevaluate-default-file-defcustom): Use corrected definition
11735 of todo-default-todo-file.
11736 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11737 (todo-delete-category, todo-show-categories-table)
11738 (todo-category-number): Clarify comment.
11739 (todo-filter-items): Clarify documentation string.
11740 (todo-show-current-file, todo-display-as-todo-file)
11741 (todo-reset-and-enable-done-separator): Tweak documentation string.
11742 (todo-done-separator): Make separator length window-width, since
11743 bug#2749 is now fixed.
11744
11745 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11746
11747 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11748 Support both "gvfs-monitor-dir" and "inotifywait".
11749 (tramp-sh-file-inotifywait-process-filter): Rename from
11750 `tramp-sh-file-notify-process-filter'.
11751 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11752 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11753
11754 2013-07-05 Leo Liu <sdl.web@gmail.com>
11755
11756 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11757
11758 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11759
11760 * frame.el (display-pixel-height, display-pixel-width)
11761 (display-mm-height, display-mm-width): Mention behavior on
11762 multi-monitor setups in docstrings.
11763 (w32-display-monitor-attributes-list): Declare function.
11764 (display-monitor-attributes-list): Use it.
11765
11766 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11767
11768 * filenotify.el: New package.
11769
11770 * autorevert.el (top): Require filenotify.el.
11771 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11772 instead.
11773 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11774 (auto-revert-notify-handler): Use `file-notify-*' functions.
11775
11776 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11777
11778 * net/tramp.el (tramp-file-name-for-operation):
11779 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11780
11781 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11782 for `file-notify-add-watch' and `file-notify-rm-watch'.
11783 (tramp-process-sentinel): Improve trace.
11784 (tramp-sh-handle-file-notify-add-watch)
11785 (tramp-sh-file-notify-process-filter)
11786 (tramp-sh-handle-file-notify-rm-watch)
11787 (tramp-get-remote-inotifywait): New defuns.
11788
11789 2013-07-03 Juri Linkov <juri@jurta.org>
11790
11791 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11792 call of `occur-read-primary-args' to interactive spec.
11793
11794 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11795 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11796
11797 2013-07-03 Matthias Meulien <orontee@gmail.com>
11798
11799 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11800 `Buffer-menu-multi-occur'. Add it to the menu.
11801 (Buffer-menu-mode): Document it in docstring.
11802 (Buffer-menu-multi-occur): New command. (Bug#14673)
11803
11804 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11805
11806 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11807 keywords and built-ins.
11808
11809 2013-07-03 Glenn Morris <rgm@gnu.org>
11810
11811 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11812
11813 Make info-xref checks case-sensitive by default
11814 * info.el (Info-find-node, Info-find-in-tag-table)
11815 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11816 Add option for exact case matching of nodes.
11817 * info-xref.el (info-xref): New custom group.
11818 (info-xref-case-fold): New option.
11819 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11820
11821 2013-07-03 Leo Liu <sdl.web@gmail.com>
11822
11823 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11824
11825 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11826
11827 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11828 middle of block statement initially, lower the depth. Remove
11829 FIXME comment, not longer valid. Remove middle of block statement
11830 detection, no need to do that anymore since we've been using
11831 `ruby-parse-region' here.
11832
11833 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11834
11835 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11836
11837 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11838
11839 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11840
11841 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11842
11843 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11844 (desktop-restore-in-current-display): New customization option.
11845 (desktop--excluded-frame-parameters): Add `font'.
11846 (desktop--save-frames): Rename from desktop--save-windows.
11847 (desktop--restore-in-this-display-p): New function.
11848 (desktop--make-full-frame): Remove unwanted width/height from
11849 full(width|height) frames.
11850 (desktop--restore-frames): Rename from desktop--restore-windows.
11851 Obey desktop-restore-current-display. Do not delete old frames or
11852 select a new frame unless we were able to restore at least one frame.
11853
11854 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11855
11856 * files.el (find-file-noselect): Simplify conditional expression.
11857
11858 * textmodes/remember.el (remember-append-to-file):
11859 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11860
11861 Add `remember-notes' function to store random notes across Emacs
11862 restarts.
11863 * textmodes/remember.el (remember-data-file): Add :set callback to
11864 affect notes buffer (if any).
11865 (remember-notes): New command.
11866 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11867 New defcustoms for the `remember-notes' function.
11868 (remember-notes-save-and-bury-buffer): New command.
11869 (remember-notes-mode-map): New variable.
11870 (remember-mode): New minor mode.
11871 (remember-notes--kill-buffer-query): New function.
11872 * startup.el (initial-buffer-choice): Add notes to custom type.
11873
11874 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11875
11876 * bindings.el (right-char, left-char): Don't call sit-for, this is
11877 no longer needed. Use arithmetic comparison only for numerical
11878 arguments.
11879
11880 * international/mule-cmds.el (select-safe-coding-system):
11881 Handle the case of FROM being a string correctly. (Bug#14755)
11882
11883 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11884
11885 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11886 progression on degenerate tables.
11887 (shr-rescale-image): ImageMagick animated images currently don't work.
11888
11889 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11890
11891 Some fixes and improvements for desktop frame restoration.
11892 It is still experimental and disabled by default.
11893 * desktop.el (desktop--save-windows): Put the selected frame at
11894 the head of the list.
11895 (desktop--make-full-frame): New function.
11896 (desktop--restore-windows): Try to re-select the frame that was
11897 selected upon saving. Do not abort if some frames fail to restore,
11898 just show an error message and continue. Set up maximized frames
11899 so they have default non-maximized dimensions.
11900
11901 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11902
11903 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11904 Don't start heredoc inside a string or comment.
11905
11906 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11907
11908 * bindings.el (visual-order-cursor-movement): New defcustom.
11909 (right-char, left-char): Provide visual-order cursor motion by
11910 calling move-point-visually. Update the doc strings.
11911
11912 2013-06-28 Kenichi Handa <handa@gnu.org>
11913
11914 * international/mule.el (define-coding-system): New coding system
11915 properties :inhibit-null-byte-detection,
11916 :inhibit-iso-escape-detection, and :prefer-utf-8.
11917 (set-buffer-file-coding-system): If :charset-list property of
11918 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11919 appropriate for setting.
11920
11921 * international/mule-cmds.el (select-safe-coding-system):
11922 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11923 multibyte characters, return utf-8 (or one of its siblings).
11924
11925 * international/mule-conf.el (prefer-utf-8): New coding system.
11926 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11927 files.
11928
11929 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11930
11931 * net/shr.el (shr-render-region): New function.
11932
11933 * net/eww.el: Autoload `eww-browse-url'.
11934
11935 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11936
11937 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11938 Adapt to `package-desc-version' being a list.
11939 Use `package--ac-desc-version' to retrieve version from a package
11940 archive element.
11941
11942 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11943
11944 New experimental feature to save&restore window and frame setup.
11945 * desktop.el (desktop-save-windows): New defcustom.
11946 (desktop--saved-states): New var.
11947 (desktop--excluded-frame-parameters): New defconst.
11948 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11949 (desktop--restore-windows, desktop--save-windows): New functions.
11950 (desktop-save): Call `desktop--save-windows'.
11951 (desktop-read): Call `desktop--restore-windows'.
11952
11953 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11954
11955 * net/shr.el (add-face-text-property): Remove compat definition.
11956
11957 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11958
11959 * info.el (Info-try-follow-nearest-node): Move search for footnote
11960 above search for node name to prevent missing a footnote (bug#14717).
11961
11962 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11963
11964 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11965
11966 2013-06-27 Leo Liu <sdl.web@gmail.com>
11967
11968 * net/eww.el (eww-read-bookmarks): Check file size.
11969
11970 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11971
11972 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11973 advice--pending if newdef is nil or an autoload (bug#13820).
11974 (advice-mapc): New function.
11975
11976 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11977
11978 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11979 probably.
11980 (eww-mode-map): Add a menu bar.
11981 (eww-add-bookmark): New command.
11982 (eww-bookmark-mode): New mode and commands.
11983 (eww-add-bookmark): Remove newlines from the title.
11984 (eww-bookmark-browse): Don't bug out if it's the only window.
11985
11986 2013-06-26 Glenn Morris <rgm@gnu.org>
11987
11988 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11989 (hfy-size): Handle ttys. (Bug#14668)
11990
11991 * info-xref.el: Update for Texinfo 5 change in *note format.
11992 (info-xref-node-re, info-xref-note-re): New constants.
11993 (info-xref-check-buffer): Use info-xref-note-re.
11994
11995 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11998
11999 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12000 nil terminate the loop (bug#14718).
12001
12002 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12003
12004 * net/eww.el: Rework history traversal. When going forward/back,
12005 put these actions into the history, too, so that they can be
12006 replayed.
12007 (eww-render): Move the history reset to the correct buffer.
12008
12009 2013-06-25 Juri Linkov <juri@jurta.org>
12010
12011 * files-x.el (modify-dir-local-variable): Change the header comment
12012 in the file with directory local variables. (Bug#14692)
12013
12014 * files-x.el (read-file-local-variable-value): Add `default'.
12015 (Bug#14710)
12016
12017 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12018
12019 * net/eww.el (eww-make-unique-file-name): Create a unique file
12020 name before saving to entering `y' accidentally asynchronously.
12021
12022 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12023
12024 * net/eww.el (eww-download): New command and keystroke.
12025
12026 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12027
12028 * net/eww.el (eww-copy-page-url): Change name of command.
12029
12030 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12031 be more consistent with Info and dired.
12032
12033 * net/eww.el (eww-mode-map): Ditto.
12034
12035 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12038 packages from archives.
12039 (package-archive-contents): Change format; include obsolete packages.
12040 (package-desc): Use `dir' to mark builtin packages.
12041 (package--from-builtin): Set the `dir' field to `builtin'.
12042 (generated-autoload-file, version-control): Declare.
12043 (package-compute-transaction): Change first arg and return value to be
12044 lists of package-descs. Adjust to new package-archive-contents format.
12045 (package--add-to-archive-contents): Adjust to new
12046 package-archive-contents format.
12047 (package-download-transaction): Arg is now a list of package-descs.
12048 (package-install): If `pkg' is a package name, pass it as
12049 a requirement, so it is subject to the usual (e.g. disabled) checks.
12050 (describe-package): Accept package-desc as well.
12051 (describe-package-1): Describe a specific package-desc. Add links to
12052 other package-descs for the same package name.
12053 (package-menu-describe-package): Pass the actual package-desc.
12054 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12055 works correctly.
12056 (package-desc-status): New function.
12057 (package-menu--refresh): New function, extracted
12058 from package-menu--generate.
12059 (package-menu--generate): Use it.
12060 (package-delete): Update package-alist.
12061 (package-menu-execute): Don't call package-initialize.
12062
12063 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12064 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12065 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12066 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12067 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12068 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12069
12070 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12071
12072 * window.el (window--state-get-1): Workaround for bug#14527.
12073 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12074
12075 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12076
12077 * net/eww.el (eww-back-url): Implement the history by stashing all
12078 the data into a list.
12079 (eww-forward-url): Allow going forward in the history, too.
12080
12081 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12084 for values and use read--expression for expressions (bug#14710).
12085 (read-file-local-variable): Avoid setq.
12086 (read-file-local-variable-mode): Use minor-mode-list.
12087
12088 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12089
12090 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12091 for DOI URLs.
12092
12093 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12094
12095 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12096 Update imenu-support when dialect changes.
12097
12098 2013-06-25 Leo Liu <sdl.web@gmail.com>
12099
12100 * ido.el (ido-read-internal): Allow forward slash on windows.
12101
12102 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12103
12104 * net/eww.el (eww): Start of strings is \\`, not ^.
12105
12106 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12107
12108 * net/shr.el (shr-browse-url): Fix interactive spec.
12109
12110 * net/eww.el (eww): Add a trailing slash to domain names.
12111
12112 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12113
12114 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12115
12116 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12117
12118 * net/shr.el (shr-browse-url): Use an external browser if given a
12119 prefix.
12120
12121 * net/eww.el (eww-external-browser): Move to shr.
12122
12123 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12124
12125 * net/eww.el (eww): Work more correctly for file: URLs.
12126 (eww-detect-charset): Allow quoted charsets.
12127 (eww-yank-page-url): New command and keystroke.
12128
12129 2013-06-24 Daiki Ueno <ueno@gnu.org>
12130
12131 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12132 file name of gpg executable.
12133 (epg-context-program): New function.
12134 (epg-context-home-directory): New function.
12135 (epg-context-set-program): New function.
12136 (epg-context-set-home-directory): New function.
12137 (epg--start): Use `epg-context-program' instead of
12138 'epg-gpg-program'.
12139 (epg--list-keys-1): Likewise.
12140
12141 2013-06-24 Leo Liu <sdl.web@gmail.com>
12142
12143 * ido.el (ido-read-internal): Fix bug#14620.
12144
12145 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12146
12147 * faces.el (face-documentation): Simplify.
12148 (read-face-attribute, tty-find-type, x-resolve-font-name):
12149 Use `string-match-p'.
12150 (list-faces-display): Use `string-match-p'. Simplify.
12151 (face-spec-recalc): Check face to avoid face alias loops.
12152 (read-color): Use `string-match-p' and non-capturing parenthesis.
12153
12154 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12155
12156 * net/shr.el (shr-rescale-image): Use the new
12157 :max-width/:max-height functionality.
12158
12159 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12160
12161 * net/eww.el (eww-search-prefix): New variable.
12162 (eww): Use it.
12163 (eww-external-browser): New variable.
12164 (eww-mode-map): New keystroke.
12165 (eww-browse-with-external-browser): New command.
12166
12167 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12168
12169 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12170
12171 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12172 Don't skip aligning the next header field when padding is 0;
12173 otherwise, field width is not respected unless the title is as
12174 wide as the field.
12175
12176 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * emacs-lisp/package.el (package-el-version): Remove.
12179 (package-process-define-package): Fix inf-loop.
12180 (package-install): Allow symbols as arguments again.
12181
12182 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12183
12184 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12185 add some more keyword-like methods.
12186 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12187
12188 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12189
12190 * bs.el (bs-buffer-show-mark): Make defvar-local.
12191 (bs-mode): Use setq-local.
12192
12193 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12194 (emacs-lock--try-unlocking): Make defvar-local.
12195
12196 2013-06-22 Glenn Morris <rgm@gnu.org>
12197
12198 * play/cookie1.el (cookie-apropos): Minor simplification.
12199
12200 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12201
12202 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12203
12204 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12205 `regexp-opt', it breaks the build during dumping.
12206
12207 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12208
12209 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12210 Highlight keyword-like methods on Kernel and Module with
12211 font-lock-builtin-face.
12212 (auto-mode-alist): Consolidate different entries into one regexp
12213 and add more *file-s.
12214
12215 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12216
12217 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12218
12219 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12220 (diary-entry): Use it in the action of this button type instead of
12221 diary-goto-entry.
12222
12223 * calendar/todo-mode.el: New version.
12224 (todo-add-category): Append new category to end of file and give
12225 it the highest number, instead of putting it at the beginning and
12226 giving it 0. Incorporate noninteractive functionality.
12227 (todo-forward-category): Adapt to 1-based category numbering.
12228 Allow skipping over archived categories.
12229 (todo-backward-category): Derive from todo-forward-category.
12230 (todo-backward-item, todo-forward-item): Make noninteractive and
12231 delegate interactive part to new commands. Make sensitive to done items.
12232 (todo-categories): Make value an alist of category names and
12233 vectors of item counts.
12234 (todo-category-beg): Make a defconst.
12235 (todo-category-number): Use 1 instead of 0 as initial value.
12236 (todo-category-select): Make sensitive to overlays, optional item
12237 highlighting and done items.
12238 (todo-delete-item): Make sensitive to overlays and marked and done items.
12239 (todo-edit-item): Make sensitive to overlays and editing of
12240 date/time header optional. Add format checks.
12241 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12242 no-op if point is not on an item. Advertise using todo-edit-quit.
12243 (todo-edit-mode): Make sensitive to new format, font-locking, and
12244 multiple todo files.
12245 (todo-insert-item, todo-insert-item-here): Derive from
12246 todo-basic-insert-item and extend functionality.
12247 (todo-item-end, todo-item-start): Make sensitive to done items.
12248 (todo-item-string): Don't return text properties. Restore point.
12249 (todo-jump-to-category): Make sensitive to multiple todo files and
12250 todo archives. Use extended category completion.
12251 (todo-lower-item, todo-raise-item): Rename to *-priority and
12252 derive from todo-set-item-priority.
12253 (todo-mode): Derive from special-mode. Make sensitive to new
12254 format, font-locking and multiple todo files. Make read-only.
12255 (todo-mode-map): Don't suppress digit keys, so they can supply
12256 prefix arguments. Add many new key bindings.
12257 (todo-prefix): Insert as an overlay instead of file text.
12258 Change semantics from diary date expression to purely visual mark.
12259 (todo-print): Rename to todo-print-buffer. Make buffer display
12260 features printable. Remove option to restrict number of items
12261 printed. Add option to print to file.
12262 (todo-print-function): Rename to todo-print-buffer-function.
12263 (todo-quit): Extend to handle exiting new todo modes.
12264 (todo-remove-item): Make sensitive to overlays.
12265 (todo-save): Extend to buffers of filtered items.
12266 (todo-show): Make sensitive to done items, multiple todo files and
12267 new todo modes. Offer to convert legacy todo file before creating
12268 first new todo file.
12269 (todo-show-priorities): Rename to todo-top-priorities.
12270 Change semantics of value 0.
12271 (todo-top-priorities): Rename to todo-filter-top-priorities,
12272 derive from todo-filter-items and extend functionality.
12273 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12274 and extend functionality to other types of filtered items.
12275 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12276 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12277 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12278 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12279 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12280 (todo-edit-mode-hook, todo-entry-prefix-function)
12281 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12282 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12283 (todo-initials, todo-insert-threshold, todo-item-string-start)
12284 (todo-line-string, todo-menu, todo-mode-hook)
12285 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12286 (todo-print-priorities, todo-remove-separator)
12287 (todo-save-top-priorities-too, todo-string-count-lines)
12288 (todo-string-multiline-p, todo-time-string-format)
12289 (todo-tmp-buffer-name): Remove.
12290 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12291 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12292 (todo-edit-category-diary-inclusion)
12293 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12294 (todo-edit-file, todo-edit-item-date-day)
12295 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12296 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12297 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12298 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12299 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12300 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12301 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12302 (todo-filter-top-priorities-multifile, todo-find-archive)
12303 (todo-find-filtered-items-file, todo-go-to-source-item)
12304 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12305 (todo-jump-to-archive-category, todo-lower-category)
12306 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12307 (todo-move-category, todo-move-item, todo-next-button)
12308 (todo-next-item, todo-padded-string, todo-powerset)
12309 (todo-previous-button, todo-previous-item)
12310 (todo-print-buffer-to-file, todo-raise-category)
12311 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12312 (todo-set-category-number, todo-set-item-priority)
12313 (todo-set-top-priorities-in-category)
12314 (todo-set-top-priorities-in-file, todo-show-categories-table)
12315 (todo-sort-categories-alphabetically-or-numerically)
12316 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12317 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12318 (todo-toggle-item-header, todo-toggle-item-highlighting)
12319 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12320 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12321 (todo-unarchive-items, todo-unmark-category): New commands.
12322 (todo-absolute-file-name, todo-add-to-buffer-list)
12323 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12324 (todo-basic-insert-item, todo-category-completions)
12325 (todo-category-number, todo-category-string-matcher-1)
12326 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12327 (todo-check-format, todo-clear-matches)
12328 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12329 (todo-current-category, todo-date-string-matcher)
12330 (todo-define-insertion-command, todo-diary-expired-matcher)
12331 (todo-diary-goto-entry, todo-diary-item-p)
12332 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12333 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12334 (todo-done-item-section-p, todo-done-separator)
12335 (todo-done-string-matcher, todo-files, todo-filter-items)
12336 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12337 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12338 (todo-insert-category-line, todo-insert-item-from-calendar)
12339 (todo-insert-sort-button, todo-insert-with-overlays)
12340 (todo-insertion-command-name, todo-insertion-key-bindings)
12341 (todo-label-to-key, todo-longest-category-name-length)
12342 (todo-make-categories-list, todo-mode-external-set)
12343 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12344 (todo-modes-set-3, todo-multiple-filter-files)
12345 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12346 (todo-read-category, todo-read-date, todo-read-dayname)
12347 (todo-read-file-name, todo-read-time)
12348 (todo-reevaluate-category-completions-files-defcustom)
12349 (todo-reevaluate-default-file-defcustom)
12350 (todo-reevaluate-filelist-defcustoms)
12351 (todo-reevaluate-filter-files-defcustom)
12352 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12353 (todo-reset-done-separator, todo-reset-done-separator-string)
12354 (todo-reset-done-string, todo-reset-global-current-todo-file)
12355 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12356 (todo-reset-prefix, todo-set-categories)
12357 (todo-set-date-from-calendar, todo-set-show-current-file)
12358 (todo-set-top-priorities, todo-short-file-name)
12359 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12360 (todo-total-item-counts, todo-update-buffer-list)
12361 (todo-update-categories-display, todo-update-categories-sexp)
12362 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12363 New functions.
12364 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12365 New major modes.
12366 (todo-categories, todo-display, todo-edit, todo-faces)
12367 (todo-filtered): New defgroups.
12368 (todo-archived-only, todo-button, todo-category-string, todo-date)
12369 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12370 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12371 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12372 (todo-add-item-if-new-category, todo-always-add-time-string)
12373 (todo-categories-align, todo-categories-archived-label)
12374 (todo-categories-category-label, todo-categories-diary-label)
12375 (todo-categories-done-label, todo-categories-number-separator)
12376 (todo-categories-todo-label, todo-categories-totals-label)
12377 (todo-category-completions-files, todo-completion-ignore-case)
12378 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12379 (todo-done-separator-string, todo-done-string)
12380 (todo-files-function, todo-filter-done-items, todo-filter-files)
12381 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12382 (todo-initial-category, todo-initial-file, todo-item-mark)
12383 (todo-legacy-date-time-regexp, todo-mode-line-function)
12384 (todo-nondiary-marker, todo-number-prefix)
12385 (todo-print-buffer-function, todo-show-current-file)
12386 (todo-show-done-only, todo-show-first, todo-show-with-done)
12387 (todo-skip-archived-categories, todo-top-priorities-overrides)
12388 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12389 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12390 New defcustoms.
12391 (todo-category-done, todo-date-pattern, todo-date-string-start)
12392 (todo-diary-items-buffer, todo-done-string-start)
12393 (todo-filtered-items-buffer, todo-item-start)
12394 (todo-month-abbrev-array, todo-month-name-array)
12395 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12396 (todo-top-priorities-buffer): New defconsts.
12397 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12398 (todo-categories-with-marks, todo-category-string-face)
12399 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12400 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12401 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12402 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12403 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12404 (todo-font-lock-keywords, todo-global-current-todo-file)
12405 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12406 (todo-insertion-commands-args)
12407 (todo-insertion-commands-args-genlist)
12408 (todo-insertion-commands-names, todo-insertion-map)
12409 (todo-key-bindings-t, todo-key-bindings-t+a)
12410 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12411 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12412 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12413 (todo-visited): New variables.
12414
12415 2013-06-21 Glenn Morris <rgm@gnu.org>
12416
12417 * play/cookie1.el (cookie-apropos): Add optional display argument.
12418 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12419 (psychoanalyze-pinhead): Use cookie-doctor.
12420
12421 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12422
12423 * emacs-lisp/package.el (tar-get-file-descriptor)
12424 (tar--extract): Declare.
12425
12426 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12427
12428 Extend flymake's warning predicate to be a function (bug#14217).
12429 * progmodes/flymake.el (flymake-warning-predicate): New.
12430 (flymake-parse-line): Use it.
12431 (flymake-warning-re): Make obsolete alias to
12432 `flymake-warning-predicate'.
12433
12434 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12435
12436 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12437 (package-obsolete-list): Remove.
12438 (package-activate): Remove min-version argument. Add `force' argument.
12439 Adjust to new package-alist format.
12440 (package-mark-obsolete): Remove.
12441 (package-unpack): Force reload of the package's autoloads.
12442 (package-installed-p): Check builtins if the installed package is not
12443 recent enough.
12444 (package-initialize): Don't reset package-obsolete-list.
12445 Don't specify which package version to activate.
12446 (package-process-define-package, describe-package-1)
12447 (package-menu--generate): Adjust to new package-alist format.
12448
12449 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12450
12451 * allout-widgets.el (allout-widgets-mode-off)
12452 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12453 (allout-widgets-post-command-business)
12454 (allout-widgets-after-copy-or-kill-function)
12455 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12456 (allout-decorate-item-and-context)
12457 (allout-graphics-modification-handler): Fix typos in docstrings.
12458 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12459
12460 * cmuscheme.el (scheme-start-file): Doc fix.
12461 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12462 (scheme-input-filter): Use `string-match-p'.
12463
12464 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12465
12466 * dired-x.el: Use Dired consistently in docstrings.
12467
12468 * dired.el: Use Dired consistently in docstrings.
12469 (dired-readin, dired-mode): Use `setq-local'.
12470 (dired-switches-alist): Make defvar-local.
12471 (dired-buffers-for-dir): Use `zerop'.
12472 (dired-safe-switches-p, dired-switches-escape-p)
12473 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12474 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12475 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12476 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12477 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12478 (dired-toggle-marks, dired-mark-files-containing-regexp)
12479 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12480 (dired-flag-auto-save-files, dired-flag-backup-files):
12481 Use `looking-at-p'.
12482 (dired-mark-files-regexp, dired-build-subdir-alist):
12483 Use `string-match-p', `looking-at-p'.
12484
12485 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12486 (direct-print-region-helper): Use `string-match-p'.
12487
12488 2013-06-21 Leo Liu <sdl.web@gmail.com>
12489
12490 * comint.el (comint-redirect-results-list-from-process):
12491 Fix infinite loop.
12492
12493 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12494
12495 * net/eww.el (eww-update-header-line-format): Quote % characters.
12496
12497 2013-06-21 Glenn Morris <rgm@gnu.org>
12498
12499 * play/cookie1.el (cookie): New custom group.
12500 (cookie-file): New option.
12501 (cookie-check-file): New function.
12502 (cookie): Make it interactive. Make start and end messages optional.
12503 Interactively, display the result. Default to cookie-file.
12504 (cookie-insert): Default to cookie-file.
12505 (cookie-snarf): Make start and end messages optional.
12506 Default to cookie-file. Use with-temp-buffer.
12507 (cookie-read): Rename from read-cookie.
12508 Make start and end messages optional. Default to cookie-file.
12509 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12510 Do not autoload it.
12511 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12512 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12513
12514 2013-06-21 Leo Liu <sdl.web@gmail.com>
12515
12516 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12517
12518 2013-06-21 Glenn Morris <rgm@gnu.org>
12519
12520 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12521
12522 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12523 Daniel Hackney <dan@haxney.org>
12524
12525 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12526 Consolidate the single-file vs tarball code.
12527 (package-desc-suffix): New function.
12528 (package-desc-full-name): Don't bother inlining it.
12529 (package-load-descriptor): Return the new package-desc.
12530 (package-mark-obsolete): Remove unused arg `package'.
12531 (package-unpack): Make it work for single files as well.
12532 Make it update package-alist.
12533 (package--make-autoloads-and-stuff): Rename from
12534 package--make-autoloads-and-compile. Don't compile any more.
12535 (package--compile): New function.
12536 (package-generate-description-file): New function, extracted from
12537 package-unpack-single.
12538 (package-unpack-single): Remove.
12539 (package--with-work-buffer): Add indentation and debugging info.
12540 (package-download-single): Remove.
12541 (package-install-from-archive): Rename from package-download-tar, make
12542 it take a pkg-desc, and make it work for single files as well.
12543 (package-download-transaction): Simplify.
12544 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12545 external tar program.
12546 (package-install-from-buffer): Remove `pkg-desc' argument.
12547 Use package-tar-file-info for tar-mode buffers.
12548 (package-install-file): Simplify accordingly.
12549 (package-archive-base): Change to take a pkg-desc.
12550 * tar-mode.el (tar--check-descriptor): New function, extracted from
12551 tar-get-descriptor.
12552 (tar-get-descriptor): Use it.
12553 (tar-get-file-descriptor): New function.
12554 (tar--extract): New function, extracted from tar-extract.
12555 (tar--extract): Use it.
12556 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12557 case the summary uses non-ascii. Adjust to new calling convention of
12558 package-tar-file-info.
12559
12560 2013-06-21 Leo Liu <sdl.web@gmail.com>
12561
12562 * comint.el (comint-redirect-results-list-from-process):
12563 Fix random delay. (Bug#14681)
12564
12565 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12566
12567 * profiler.el (profiler-format-number): Use log, not log10.
12568
12569 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12570
12571 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12572
12573 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12574
12575 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12576 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12577 yet available.
12578 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12579 (AUTOGENEL): ... here.
12580 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12581 (cl--defsubst-expand): Use it.
12582
12583 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12584
12585 * subr.el (log10): Move here from C code, and declare as obsolete.
12586 All uses of (log10 X) replaced with (log X 10).
12587
12588 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12589
12590 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12591 Declare with `defvar-local'.
12592 (tabulated-list-use-header-line, tabulated-list-entries)
12593 (tabulated-list-padding, tabulated-list-printer)
12594 (tabulated-list-sort-key): Declare with `defvar-local'.
12595 (tabulated-list-init-header, tabulated-list-print-fake-header):
12596 Use `setq-local'.
12597
12598 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12599
12600 * arc-mode.el (archive-mode): Add `archive-write-file' to
12601 `write-contents-functions' also for remote files. (Bug#14652)
12602
12603 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12604
12605 * cus-edit.el (custom-commands): Fix typos.
12606 (custom-display): Fix tooltip text.
12607 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12608 Fix typos in docstrings.
12609 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12610 (custom-unlispify-menu-entry, custom-magic-value-create)
12611 (custom-add-see-also, custom-group-value-create): Use ?\s.
12612 (custom-guess-type, customize-apropos, editable-field)
12613 (custom-face-value-create): Use `string-match-p'.
12614 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12615
12616 * custom.el (custom-load-symbol): Use `string-match-p'.
12617
12618 * ansi-color.el: Convert to lexical binding.
12619 (ansi-colors): Fix URL.
12620 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12621 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12622 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12623
12624 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12625
12626 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12627
12628 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12629
12630 2013-06-19 Tom Tromey <tromey@redhat.com>
12631
12632 * net/eww.el (eww-top-url): Remove.
12633 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12634 (eww-render): Set new variables. Don't set eww-top-url.
12635 (eww-handle-link): Handle "prev", "home", and "contents".
12636 Downcase the rel text.
12637 (eww-top-url): Choose best top URL.
12638
12639 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12640
12641 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12642 relying in widget.el. Using widget.el leads to too many
12643 user interface inconsistencies.
12644 (eww-self-insert): Implement entering commands in text fields.
12645 (eww-process-text-input): New function to make text input field editing
12646 work.
12647 (eww-submit): Rewrite to use the new-style form methods.
12648 (eww-select-display): Display the correct selected item.
12649 (eww-change-select): Implement changing the select value.
12650 (eww-toggle-checkbox): Implement radio/checkboxes.
12651 (eww-update-field): Fix compilation error.
12652 (eww-tag-textarea): Implement <textarea>.
12653
12654 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12655 we don't shadow mode-specific bindings.
12656
12657 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12658 nothing to push.
12659
12660 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12661
12662 2013-06-19 Glenn Morris <rgm@gnu.org>
12663
12664 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12665
12666 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12667
12668 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12669 not needed.
12670
12671 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12672
12673 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12674
12675 * net/browse-url.el (browse-url-browser-function):
12676 `eww-browse-url' has the right calling signature, `eww' does not.
12677
12678 2013-06-19 Glenn Morris <rgm@gnu.org>
12679
12680 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12681 Only eval autoloaded macros.
12682 (byte-compile-autoload): Only give the macro warning for macros.
12683
12684 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12685 (ps-underlined-faces): Declare.
12686
12687 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12688 (speedbar-add-supported-extension): Declare.
12689
12690 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12691 Don't include a date stamp in the header of the generated file;
12692 it leads to needless differences between output files.
12693
12694 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12695
12696 * net/secrets.el (secrets-struct-secret-content-type):
12697 Replace check of introspection data by a test call of "CreateItem".
12698 Some servers do not offer introspection.
12699
12700 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12701
12702 * electric.el (electric-pair-mode): Improve interaction with
12703 electric-layout-mode.
12704 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12705 (electric-pair-syntax): Use text-mode-syntax-table in comments
12706 and strings.
12707 (electric-pair--insert): New function.
12708 (electric-pair-post-self-insert-function): Use it and
12709 electric--after-char-pos.
12710
12711 2013-06-19 Leo Liu <sdl.web@gmail.com>
12712
12713 * progmodes/octave.el (octave-help): Fix regexp.
12714
12715 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12716
12717 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12718 (shr-table-horizontal-line): Allow nil as a value, and change the
12719 default.
12720 (shr-insert-table-ruler): Respect the nil value.
12721
12722 2013-06-18 Tom Tromey <tromey@barimba>
12723
12724 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12725 New defvars.
12726 (eww-open-file): New defun.
12727 (eww-render): Initialize new variables.
12728 (eww-display-html): Handle "link" and "a".
12729 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12730 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12731 (eww-back-url): Rename from eww-previous-url.
12732 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12733 New defuns.
12734
12735 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12736
12737 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12738 Distinguish ternary operator tokens from slash symbol and slash
12739 char literal.
12740
12741 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12742
12743 Convert symbol prettification into minor mode and global minor mode.
12744
12745 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12746 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12747 (prettify-symbols--keywords): Rename from
12748 `prog-prettify-symbols-alist' and make a local defvar.
12749 (prettify-symbols--compose-symbol): Rename from
12750 `prog--prettify-font-lock-compose-symbol'.
12751 (prettify-symbols--make-keywords): Rename from
12752 `prog-prettify-font-lock-symbols-keywords' and simplify.
12753 (prog-prettify-install): Remove.
12754 (prettify-symbols-mode): New minor mode, based on
12755 `prog-prettify-install'.
12756 (turn-on-prettify-symbols-mode): New function.
12757 (global-prettify-symbols-mode): New globalized minor mode.
12758
12759 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12760 * progmodes/cfengine.el (cfengine3-mode):
12761 * progmodes/perl-mode.el (perl-mode): Don't call
12762 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12763
12764 2013-06-18 Juri Linkov <juri@jurta.org>
12765
12766 * files-x.el (modify-file-local-variable-message): New function.
12767 (modify-file-local-variable)
12768 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12769 and call `modify-file-local-variable-message' when it's non-nil.
12770 (add-file-local-variable, delete-file-local-variable)
12771 (add-file-local-variable-prop-line)
12772 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12773 and use it. (Bug#9820)
12774
12775 2013-06-18 Juri Linkov <juri@jurta.org>
12776
12777 * emulation/vi.el (vi-shell-op):
12778 * emulation/vip.el (vip-execute-com, ex-command):
12779 * emulation/viper-cmd.el (viper-exec-bang):
12780 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12781 the call of `shell-command-on-region'. (Bug#14637)
12782
12783 * simple.el (shell-command-on-region): Doc fix.
12784
12785 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12786
12787 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12788 (bug#14633).
12789
12790 2013-06-18 Glenn Morris <rgm@gnu.org>
12791
12792 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12793
12794 * newcomment.el (comment-search-forward, comment-search-backward):
12795 Doc fix. (Bug#14376)
12796
12797 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12798
12799 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12800 (buffer-face-mode-invoke): Doc fix.
12801
12802 2013-06-18 Matthias Meulien <orontee@gmail.com>
12803
12804 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12805 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12806
12807 2013-06-18 Glenn Morris <rgm@gnu.org>
12808
12809 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12810 Replace obsolete function generic-make-keywords with its expansion.
12811
12812 * progmodes/python.el (ffap-alist): Declare.
12813
12814 * textmodes/reftex.el (bibtex-mode-map): Declare.
12815
12816 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12817
12818 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12819 (package-unpack, package-unpack-single): Return the pkg-dir.
12820 (package-download-transaction): Use it to update package-alist.
12821
12822 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12823
12824 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12825 possible choice.
12826
12827 2013-06-17 Juri Linkov <juri@jurta.org>
12828
12829 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12830
12831 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12832
12833 * emacs-lisp/package.el (package-load-descriptor):
12834 Remove `with-syntax-table' call, `read' doesn't need it.
12835 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12836
12837 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12838
12839 * startup.el (command-line): Expand package name returned by
12840 `package--description-file' (bug#14639).
12841
12842 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12843
12844 * emacs-lisp/package.el (package-load-descriptor): Do not call
12845 `emacs-lisp-mode', just use its syntax table.
12846
12847 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12848
12849 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12850 `font-lock-extra-managed-props' if any prettifying keyword is added.
12851 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12852 (prog-mode): Use `setq-local'.
12853
12854 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12855
12856 * international/characters.el (standard-case-table): Set syntax of ?»
12857 and ?« to punctuation.
12858
12859 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12860
12861 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12862 Save relevant match data before calling `syntax-ppss' (bug#14595).
12863
12864 2013-06-15 Juri Linkov <juri@jurta.org>
12865
12866 * files-x.el (modify-file-local-variable-prop-line): Add local
12867 variables to the end of the existing comment on the first line.
12868 Use `file-auto-mode-skip' to skip interpreter magic line,
12869 and also skip XML declaration.
12870
12871 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * startup.el (package--builtin-versions): New var.
12874 (package-subdirectory-regexp): Remove.
12875 (package--description-file): Hard code its value instead.
12876
12877 * emacs-lisp/package.el: Don't activate packages older than builtin.
12878 (package-obsolete-list): Rename from package-obsolete-alist, and make
12879 it into a simple list of package-desc.
12880 (package-strip-version): Remove.
12881 (package-built-in-p): Use package--builtin-versions.
12882 (package-mark-obsolete): Simplify.
12883 (package-process-define-package): Mark it obsolete if older than the
12884 builtin version.
12885 (package-handle-response): Use line-end-position.
12886 (package-read-archive-contents, package--download-one-archive):
12887 Simplify.
12888 (package--add-to-archive-contents): Skip if older than the builtin or
12889 installed version.
12890 (package-menu-describe-package): Fix last change.
12891 (package-list-unversioned): New var.
12892 (package-menu--generate): Use it.
12893
12894 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12895 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12896 (autoload-builtin-package-versions): New variable.
12897 (autoload-generate-file-autoloads): Use them.
12898 Remove the list of autoloaded functions/macros from the
12899 (autoload...) comments.
12900
12901 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12902
12903 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12904
12905 * simple.el (line-move-partial): Don't jump to the next screen
12906 line as soon as it becomes visible. Instead, continue enlarging
12907 the vscroll until the portion of a tall screen line that's left on
12908 display is about the height of the frame's default font.
12909 (Bug#14567)
12910
12911 2013-06-15 Glenn Morris <rgm@gnu.org>
12912
12913 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12914 compilation-error-regexp-alist void, or local while let-bound.
12915
12916 * progmodes/make-mode.el (makefile-mode-syntax-table):
12917 Treat "=" as punctuation. (Bug#14614)
12918
12919 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12920
12921 * help-fns.el (describe-variable):
12922 Add extra line for permanent-local variables.
12923
12924 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12925
12926 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12927 Add export, import, library. (Bug#9164)
12928 (library): Set indent function.
12929
12930 2013-06-14 Glenn Morris <rgm@gnu.org>
12931
12932 * term/xterm.el (xterm--query):
12933 Stop after first matching handler. (Bug#14615)
12934
12935 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12936
12937 Add support for dired in saveplace.
12938 * dired.el (dired-initial-position-hook): New variable.
12939 (dired-initial-position): Call hook to place cursor position.
12940 * saveplace.el (save-place-to-alist): Add dired position.
12941 (save-place-dired-hook): New function.
12942
12943 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12944
12945 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12946 through a symbol rather than letrec.
12947
12948 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12949 (package-desc): Add `dir' field.
12950 (package-desc-full-name): New function.
12951 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12952 (package-maybe-load-descriptor): Remove.
12953 (package-load-all-descriptors): Just call package-load-descriptor.
12954 (package--disabled-p): New function.
12955 (package-desc-vers, package-desc-doc): Remove aliases.
12956 (package--dir): Remove function.
12957 (package-activate): Check if a package is disabled.
12958 (package-process-define-package): New function, extracted from
12959 define-package.
12960 (define-package): Turn into a place holder.
12961 (package-unpack-single, package-tar-file-info):
12962 Use package--description-file.
12963 (package-compute-transaction): Use package--disabled-p.
12964 (package-download-transaction): Don't call
12965 package-maybe-load-descriptor since they're all loaded anyway.
12966 (package-install): Change argument to be a pkg-desc.
12967 (package-delete): Use a single pkg-desc argument.
12968 (describe-package-1): Use package-desc-dir instead of package--dir.
12969 Use package-desc property instead of package-symbol.
12970 (package-install-button-action): Adjust accordingly.
12971 (package--push): Rewrite.
12972 (package-menu--print-info): Adjust accordingly. Change the ID format
12973 to be a pkg-desc.
12974 (package-menu-describe-package, package-menu-get-status)
12975 (package-menu--find-upgrades, package-menu-mark-upgrades)
12976 (package-menu-execute, package-menu--name-predicate):
12977 Adjust accordingly.
12978 * startup.el (package--description-file): New function.
12979 (command-line): Use it.
12980 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12981 Use package-desc-version.
12982
12983 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12984 (byte-compile-preprocess): Use it.
12985 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12986 can't quite recognize.
12987 (byte-compile-add-to-list): Remove.
12988 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12989 (cconv-closure-convert): Add assertion.
12990
12991 * emacs-lisp/map-ynp.el: Use lexical-binding.
12992 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12993 Factor out some repeated code.
12994
12995 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * subr.el (with-eval-after-load): New macro.
12998 (eval-after-load): Allow form to be a function.
12999 take advantage of lexical-binding.
13000 (do-after-load-evaluation): Use dolist and adjust to new format.
13001 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13002
13003 2013-06-13 Juri Linkov <juri@jurta.org>
13004
13005 * replace.el (perform-replace): Display "symbol " and other search
13006 modes from `isearch-message-prefix' in the *Help* buffer.
13007
13008 * isearch.el (isearch-query-replace): Add " symbol" and other
13009 possible search modes from `isearch-message-prefix' to the prompt.
13010 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13011 when reading a regexp to collect.
13012
13013 2013-06-13 Juri Linkov <juri@jurta.org>
13014
13015 * isearch.el (word-search-regexp): Match whitespace if the search
13016 string begins or ends in whitespace. The LAX arg is applied to
13017 both ends of the search string. Use `regexp-quote' and explicit
13018 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13019 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13020 boundaries are replaced with symbol boundaries, and characters
13021 between symbols match non-word non-symbol syntax. (Bug#14602)
13022
13023 2013-06-13 Juri Linkov <juri@jurta.org>
13024
13025 * isearch.el (isearch-del-char): Don't exceed the length of
13026 `isearch-string' by the prefix arg. (Bug#14563)
13027
13028 2013-06-13 Juri Linkov <juri@jurta.org>
13029
13030 * isearch.el (isearch-yank-word, isearch-yank-line)
13031 (isearch-char-by-name, isearch-quote-char)
13032 (isearch-printing-char, isearch-process-search-char):
13033 Add optional count prefix arg. (Bug#14563)
13034
13035 * international/isearch-x.el
13036 (isearch-process-search-multibyte-characters):
13037 Add optional count prefix arg.
13038
13039 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13042 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13043 lexical-binding.
13044
13045 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13046
13047 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13048
13049 2013-06-13 Glenn Morris <rgm@gnu.org>
13050
13051 * startup.el (tty-handle-args):
13052 Don't just discard "--" and anything after. (Bug#14608)
13053
13054 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13055
13056 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13057
13058 Implement changes in Secret Service API. Make it backward compatible.
13059 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13060 (secrets-create-item): Use it. Prefix properties with interface.
13061
13062 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13063
13064 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13065 (term-emulate-terminal): Respect term-suppress-hard-newline.
13066
13067 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13068
13069 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13070 Only remove a `thumb-file' overlay. (Bug#14548)
13071
13072 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13073
13074 * mail/reporter.el (reporter-submit-bug-report):
13075 Handle missing package-name. (Bug#14600)
13076
13077 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13078
13079 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13080 (reftex-citation-prompt, reftex-default-bibliography)
13081 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13082 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13083 (reftex-bib-sort-author, reftex-bib-sort-year)
13084 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13085 (reftex-extract-bib-entries-from-thebibliography)
13086 (reftex-get-bibkey-default, reftex-get-bib-names)
13087 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13088 (reftex-format-bib-entry, reftex-parse-bibitem)
13089 (reftex-format-bibitem, reftex-do-citation)
13090 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13091 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13092 (reftex-insert-bib-matches, reftex-format-citation)
13093 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13094 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13095 existing comments into docstrings.
13096
13097 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13098
13099 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13100
13101 2013-06-12 Andreas Schwab <schwab@suse.de>
13102
13103 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13104 for auto-save files.
13105
13106 2013-06-12 Glenn Morris <rgm@gnu.org>
13107
13108 * ido.el (ido-delete-ignored-files): Remove.
13109 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13110 Go back to calling ido-ignore-item-p directly.
13111
13112 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13113
13114 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13115
13116 * ido.el (ido-delete-ignored-files): New function,
13117 split from ido-make-file-list-1.
13118 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13119 (ido-make-file-list-1): Use ido-delete-ignored-files.
13120
13121 2013-06-12 Leo Liu <sdl.web@gmail.com>
13122
13123 * progmodes/octave.el (inferior-octave-startup)
13124 (inferior-octave-completion-table)
13125 (inferior-octave-track-window-width-change)
13126 (octave-eldoc-function-signatures, octave-help)
13127 (octave-find-definition): Use single quoted strings.
13128 (inferior-octave-startup-args): Change default value.
13129 (inferior-octave-startup): Do not hard code "-i" and
13130 "--no-line-editing".
13131 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13132 (inferior-octave-directory-tracker): Use it.
13133 (octave-goto-function-definition): Robustify.
13134 (octave-help): Support highlighting operators in 'See also'.
13135 (octave-find-definition): Find subfunctions only in Octave mode.
13136
13137 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13138
13139 * help-fns.el (help-fns--compiler-macro): If the handler function is
13140 named, then put a link to it.
13141 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13142 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13143 (cl-typep): Use it.
13144 (cl-eval-when): Simplify debug spec.
13145 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13146 compiler-macro function instead of setting `compiler-macro-file'.
13147
13148 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13149
13150 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13151 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13152
13153 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13154 Daniel Hackney <dan@haxney.org>
13155
13156 First part of Daniel Hackney's patch to package.el.
13157 * emacs-lisp/package.el: Use defstruct.
13158 (package-desc): New, main struct.
13159 (package--bi-desc, package--ac-desc): New structs, used to describe the
13160 format in external files.
13161 (package-desc-vers): Replace with package-desc-version accessor.
13162 (package-desc-doc): Replace with package-desc-summary accessor.
13163 (package-activate-1): Remove `package' arg since the pkg-vec now
13164 includes the name.
13165 (define-package): Use package-desc-from-define.
13166 (package-unpack-single): Change file-name arg to be a symbol.
13167 (package--add-to-archive-contents): Use package-desc-create and new
13168 accessor functions to package--ac-desc.
13169 (package-buffer-info, package-tar-file-info): Return a package-desc.
13170 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13171 arg to be a package-desc.
13172 (package-install-file): Adjust accordingly. Use \' to match EOS.
13173 (package--from-builtin): New function.
13174 (describe-package-1, package-menu--generate): Use it.
13175 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13176 (package-generate-autoloads): Idem and return the name of the file.
13177 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13178 Change pkg-info arg to be a package-desc.
13179 Use package-make-ac-desc.
13180 (package-upload-file): Use \' to match EOS.
13181 * finder.el (finder-compile-keywords): Use package-make-builtin.
13182
13183 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13184
13185 * vc/vc.el (vc-deduce-fileset): Change error message.
13186 (vc-read-backend): New function.
13187 (vc-next-action): Use it.
13188
13189 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13190
13191 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13192 (prolog-font-lock-keywords): Use regexp-opt instead.
13193 Don't manually highlight strings.
13194 (prolog-mode-variables): Simplify comment-start-skip.
13195 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13196
13197 * emacs-lisp/generic.el (generic--normalise-comments)
13198 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13199 (generic-mode-set-comments): Use them.
13200 (generic-bracket-support): Use setq-local.
13201 (generic-make-keywords-list): Declare obsolete.
13202
13203 2013-06-11 Glenn Morris <rgm@gnu.org>
13204
13205 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13206 Prettify after setting font-lock-defaults. (Bug#14574)
13207
13208 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13209
13210 * replace.el (query-replace, occur-read-regexp-defaults-function)
13211 (replace-search):
13212 * subr.el (declare-function, number-sequence, local-set-key)
13213 (substitute-key-definition, locate-user-emacs-file)
13214 (with-silent-modifications, split-string, eval-after-load):
13215 Fix typos, remove unneeded backslashes and reflow some docstrings.
13216
13217 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13220 default for Elisp files.
13221
13222 2013-06-11 Glenn Morris <rgm@gnu.org>
13223
13224 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13225 although define-derived-mode was doing this anyway. (Bug#14583)
13226
13227 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13228
13229 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13230 Fix make-variable-buffer-local call to refer to the correct variable.
13231
13232 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13233
13234 * eshell/em-term.el (eshell-visual-commands)
13235 (eshell-visual-subcommands, eshell-visual-options):
13236 Add summary line to docstrings. Add cross-references.
13237
13238 2013-06-10 Glenn Morris <rgm@gnu.org>
13239
13240 * epa.el (epa-read-file-name): New function. (Bug#14510)
13241 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13242
13243 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13244
13245 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13246 output redirection to be ignored with visual commands.
13247
13248 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13249
13250 * eshell/em-term.el (eshell-visual-command-p): New function.
13251 (eshell-term-initialize): Move long lambda to separate function
13252 eshell-visual-command-p.
13253 * eshell/em-dirs.el (eshell-dirs-initialize):
13254 * eshell/em-script.el (eshell-script-initialize):
13255 Add missing #' to lambda.
13256
13257 2013-06-08 Leo Liu <sdl.web@gmail.com>
13258
13259 * progmodes/octave.el (octave-add-log-current-defun): New function.
13260 (octave-mode): Set add-log-current-defun-function.
13261 (octave-goto-function-definition): Do not move point if not found.
13262 (octave-find-definition): Enhance to try subfunctions first.
13263
13264 2013-06-08 Glenn Morris <rgm@gnu.org>
13265
13266 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13267 (byte-compile-backward-char, byte-compile-backward-word):
13268 Improve previous change, to handle non-explicit nil.
13269
13270 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13273 (smie--opener/closer-at-point): New function.
13274 (smie--matching-block-data): Use it. Don't match from right after an
13275 opener or right before a closer. Obey smie-blink-matching-inners.
13276 Don't signal a mismatch for repeated inners like "switch..case..case".
13277
13278 2013-06-07 Leo Liu <sdl.web@gmail.com>
13279
13280 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13281 to t. (Bug#14303)
13282 (octave-function-header-regexp): Fix. (Bug#14570)
13283 (octave-help-mode-finish-hook, octave-help-mode-finish):
13284 Remove. Just use temp-buffer-show-hook.
13285
13286 * newcomment.el (comment-search-backward): Revert last change.
13287 (Bug#14434)
13288
13289 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13290
13291 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13292
13293 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13294 through xargs, to avoid failure due to MS-Windows limitations on
13295 command-line length.
13296
13297 2013-06-06 Glenn Morris <rgm@gnu.org>
13298
13299 * font-lock.el (lisp-font-lock-keywords-2):
13300 Treat user-error like error.
13301
13302 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13303 (byte-compile-backward-char, byte-compile-backward-word):
13304 Handle explicit nil arguments. (Bug#14565)
13305
13306 2013-06-05 Alan Mackenzie <acm@muc.de>
13307
13308 * isearch.el (isearch-allow-prefix): New user option.
13309 (isearch-other-meta-char): Don't exit isearch when a prefix
13310 argument is typed whilst `isearch-allow-prefix' is non-nil.
13311 (Bug#9706)
13312
13313 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * autorevert.el (auto-revert-notify-handler): Use memq.
13316 Hide assertion failure.
13317
13318 * skeleton.el: Use cl-lib.
13319 (skeleton-further-elements): Use defvar-local.
13320 (skeleton-insert): Use cl-progv.
13321
13322 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13323
13324 * progmodes/prog-mode.el (prog-prettify-symbols)
13325 (prog-prettify-install): Update docstrings.
13326
13327 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 * simple.el: Move all the prog-mode code to prog-mode.el.
13330 * progmodes/prog-mode.el: New file.
13331 * loadup.el: Add prog-mode.el.
13332
13333 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13334
13335 * simple.el (prog-prettify-symbols): Add version.
13336 (prog-prettify-install): Add convenience function to prettify symbols.
13337
13338 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13339 (perl--augmented-font-lock-keywords-1)
13340 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13341 variables and use it.
13342
13343 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13344 (cfengine3-mode): Remove unneeded variable and use it.
13345
13346 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13347 (lisp--augmented-font-lock-keywords-1)
13348 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13349 Remove unneeded variables and use it.
13350
13351 2013-06-05 João Távora <joaotavora@gmail.com>
13352
13353 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13354 to point when opening the connection. (Bug#14380)
13355
13356 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13357
13358 * subr.el (load-history-regexp, load-history-filename-element)
13359 (eval-after-load, after-load-functions, do-after-load-evaluation)
13360 (eval-next-after-load, display-delayed-warnings)
13361 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13362 definition of save-match-data.
13363 (overriding-local-map): Remove accidental obsolescence declaration.
13364
13365 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13366
13367 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13368
13369 Generalize symbol prettify support to prog-mode and implement it
13370 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13371 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13372 (prog--prettify-font-lock-compose-symbol)
13373 (prog-prettify-font-lock-symbols-keywords): New variables and
13374 functions to support symbol prettification.
13375 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13376 (lisp--augmented-font-lock-keywords-1)
13377 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13378 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13379 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13380 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13381 Implement prettify of -> => :: strings.
13382 * progmodes/perl-mode.el (perl-prettify-symbols)
13383 (perl--font-lock-compose-symbol)
13384 (perl--font-lock-symbols-keywords): Move to prog-mode.
13385 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13386 (perl-font-lock-keywords-1)
13387 (perl-font-lock-keywords-2): Remove explicit prettify support.
13388 (perl--augmented-font-lock-keywords)
13389 (perl--augmented-font-lock-keywords-1)
13390 (perl--augmented-font-lock-keywords-2, perl-mode):
13391 Implement prettify support.
13392
13393 2013-06-05 Leo Liu <sdl.web@gmail.com>
13394
13395 Re-implement SMIE matching block highlight using
13396 show-paren-data-function. (Bug#14395)
13397 * emacs-lisp/smie.el (smie-matching-block-highlight)
13398 (smie--highlight-matching-block-overlay)
13399 (smie--highlight-matching-block-lastpos)
13400 (smie-highlight-matching-block)
13401 (smie-highlight-matching-block-mode): Remove.
13402 (smie--matching-block-data-cache): New variable.
13403 (smie--matching-block-data): New function.
13404 (smie-setup): Use smie--matching-block-data for
13405 show-paren-data-function.
13406
13407 * progmodes/octave.el (octave-mode-menu): Fix.
13408 (octave-find-definition): Skip garbage lines.
13409
13410 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13411
13412 Fix compilation error with simultaneous dynamic+lexical scoping.
13413 Add warning when a defvar appears after the first let-binding.
13414 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13415 (byte-compile-close-variables): Initialize it.
13416 (byte-compile--declare-var): New function.
13417 (byte-compile-file-form-defvar)
13418 (byte-compile-file-form-define-abbrev-table)
13419 (byte-compile-file-form-custom-declare-variable): Use it.
13420 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13421 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13422 (byte-compile-bind): Handle dynamic bindings that shadow
13423 lexical bindings.
13424 (byte-compile-unbind): Make arg non-optional.
13425 (byte-compile-let): Simplify.
13426 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13427 (cconv--analyse-function, cconv-analyse-form): Populate it.
13428 Protect byte-compile-bound-variables to limit the scope of defvars.
13429 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13430 Remove unneeded rule for `declare'.
13431
13432 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13433 so as to avoid depending on cl-adjoin at run-time.
13434 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13435
13436 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13437 (macroexp--warn-and-return): Use it.
13438
13439 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13440
13441 * subr.el: Convert to lexical binding.
13442 (overriding-local-map): Make obsolete.
13443 (add-to-list): Doc fix. Add compiler macro.
13444 (read-key): Swap values of local maps.
13445
13446 2013-06-05 Leo Liu <sdl.web@gmail.com>
13447
13448 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13449
13450 2013-06-04 Leo Liu <sdl.web@gmail.com>
13451
13452 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13453 (compilation-auto-jump): Suppress the "Mark set" message to give
13454 way to exit message.
13455
13456 2013-06-04 Alan Mackenzie <acm@muc.de>
13457
13458 Remove faulty optimisation from indentation calculation.
13459 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13460 search limit based on 2000 characters back from indent-point.
13461
13462 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13463
13464 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13465
13466 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * emacs-lisp/lisp.el: Use lexical-binding.
13469 (lisp--local-variables-1, lisp--local-variables): New functions.
13470 (lisp--local-variables-completion-table): New var.
13471 (lisp-completion-at-point): Use it complete let-bound vars.
13472
13473 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13474 eagerly (bug#14422).
13475
13476 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13477
13478 * autorevert.el (auto-revert-notify-enabled)
13479 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13480 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13481 (auto-revert-notify-handler): Handle also gfilenotify.
13482
13483 * subr.el (file-notify-handle-event): New defun. Replacing ...
13484 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13485 Remove.
13486
13487 2013-06-03 Juri Linkov <juri@jurta.org>
13488
13489 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13490 `M-s h .'. (Bug#14427)
13491
13492 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13493 command `hi-lock-face-symbol-at-point'.
13494 (hi-lock-face-symbol-at-point): New command.
13495 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13496 (hi-lock-menu): Add `highlight-symbol-at-point'.
13497 (hi-lock-mode): Doc fix.
13498
13499 * isearch.el (isearch-forward-symbol-at-point): New command.
13500 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13501 (isearch-highlight-regexp): Add a regexp which matches
13502 words/symbols for word/symbol mode.
13503
13504 * subr.el (find-tag-default-bounds): New function with the body
13505 mostly moved from `find-tag-default'.
13506 (find-tag-default): Move most code to `find-tag-default-bounds',
13507 call it and apply `buffer-substring-no-properties' afterwards.
13508
13509 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13510
13511 * eshell/em-term.el (eshell-term-initialize):
13512 Use `cl-intersection' rather than `intersection'.
13513
13514 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13515
13516 * vc/log-view.el: Doc fix.
13517 (log-view-mode-map): Copy keymap from `special-mode-map'.
13518
13519 2013-06-02 Eric Ludlam <zappo@gnu.org>
13520
13521 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13522 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13523 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13524 (eieio-unbound, eieio-default-superclass)
13525 (eieio--define-field-accessors, method-static, method-before)
13526 (method-primary, method-after, method-num-lists)
13527 (method-generic-before, method-generic-primary)
13528 (method-generic-after, method-num-slots)
13529 (eieio-specialized-key-to-generic-key)
13530 (eieio--check-type, class-v, class-p)
13531 (eieio-class-name, define-obsolete-function-alias)
13532 (eieio-class-parents-fast, eieio-class-children-fast)
13533 (same-class-fast-p, class-constructor, generic-p)
13534 (generic-primary-only-p, generic-primary-only-one-p)
13535 (class-option-assoc, class-option, eieio-object-p)
13536 (class-abstract-p, class-method-invocation-order)
13537 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13538 (eieio-class-un-autoload, eieio-defclass)
13539 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13540 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13541 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13542 (eieio-defgeneric-reset-generic-form)
13543 (eieio-defgeneric-form-primary-only)
13544 (eieio-defgeneric-reset-generic-form-primary-only)
13545 (eieio-defgeneric-form-primary-only-one)
13546 (eieio-defgeneric-reset-generic-form-primary-only-one)
13547 (eieio-unbind-method-implementations)
13548 (eieio--defmethod, eieio--typep)
13549 (eieio-perform-slot-validation, eieio-validate-slot-value)
13550 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13551 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13552 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13553 (eieio-slot-name-index, eieio-class-slot-name-index)
13554 (eieio-set-defaults, eieio-initarg-to-attribute)
13555 (eieio-attribute-to-initarg, eieio-c3-candidate)
13556 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13557 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13558 (eieio-class-precedence-list, eieio-generic-call-methodname)
13559 (eieio-generic-call-arglst, eieio-generic-call-key)
13560 (eieio-generic-call-next-method-list)
13561 (eieio-pre-method-execution-functions, eieio-generic-call)
13562 (eieio-generic-call-primary-only, eieiomt-method-list)
13563 (eieiomt-optimizing-obarray, eieiomt-install)
13564 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13565 (eieio-generic-form, eieio-defmethod, make-obsolete)
13566 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13567 (defclass): Remove `eval-and-compile' from macro.
13568 (call-next-method, shared-initialize): Instead of using
13569 `scoped-class' variable, use new eieio--scoped-class, and
13570 eieio--with-scoped-class.
13571 (initialize-instance): Rename local variable 'scoped-class' to
13572 'this-class' to remove ambiguitity from old global.
13573
13574 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13575 eieio.el.
13576 (eieio--scoped-class-stack): New variable.
13577 (eieio--scoped-class): New fcn.
13578 (eieio--with-scoped-class): New scoping macro.
13579 (eieio-defclass): Use pushnew instead of add-to-list.
13580 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13581 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13582 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13583 `scoped-class' variable, use new eieio--scoped-class, and
13584 eieio--with-scoped-class.
13585
13586 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13587
13588 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13589
13590 * eshell/esh-ext.el (eshell-external-command): Pass args to
13591 `eshell-find-interpreter'.
13592 (eshell-find-interpreter): Add new second parameter ARGS.
13593
13594 * eshell/em-script.el (eshell-script-initialize): Add second arg
13595 to the function added as MATCH to `eshell-interpreter-alist'.
13596
13597 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13598 the function added as MATCH to `eshell-interpreter-alist'.
13599
13600 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13601 (eshell-visual-options): New defcustom.
13602 (eshell-escape-control-x): Adapt docstring.
13603 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13604 `eshell-visual-options' in addition to `eshell-visual-commands'.
13605 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13606
13607 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13608
13609 * progmodes/python.el (python-indent-block-enders): Add break,
13610 continue and raise keywords.
13611
13612 2013-06-01 Glenn Morris <rgm@gnu.org>
13613
13614 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13615
13616 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13617 * progmodes/cc-cmds.el (delete-forward-p):
13618 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13619 * progmodes/cc-engine.el (buffer-syntactic-context):
13620 * progmodes/cc-fonts.el (face-property-instance):
13621 * progmodes/cc-mode.el (set-keymap-parents):
13622 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13623 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13624 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13625 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13626 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13627
13628 * progmodes/cc-vars.el (other): Emacs has this widget since
13629 at least 21.1, so don't (re)define it.
13630
13631 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13632 Replace the obsolete alias pcomplete-arg-quote-list.
13633
13634 2013-06-01 Leo Liu <sdl.web@gmail.com>
13635
13636 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13637 punctuation syntax.
13638 (inferior-octave-minimal-columns)
13639 (inferior-octave-last-column-width): New variables.
13640 (inferior-octave-track-window-width-change): New function.
13641 (inferior-octave-mode): Adjust column width so that Octave output,
13642 for example from 'ls', can fit into the window nicely.
13643
13644 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13645
13646 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13647 Highlight expansions inside regexp literals.
13648
13649 2013-05-31 Glenn Morris <rgm@gnu.org>
13650
13651 * obsolete/sym-comp.el (symbol-complete):
13652 Replace obsolete completion-annotate-function.
13653
13654 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13655
13656 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13657
13658 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13659 New function, checks if point is inside a literal that allows
13660 expression expansion.
13661 (ruby-syntax-propertize-expansion): Use it.
13662 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13663 around the body.
13664
13665 2013-05-30 Juri Linkov <juri@jurta.org>
13666
13667 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13668 to "\M-si".
13669 (isearch-invisible): New variable.
13670 (isearch-forward): Doc fix.
13671 (isearch-mode): Set `isearch-invisible'
13672 to the value of `search-invisible'.
13673 (isearch-toggle-case-fold): Doc fix.
13674 (isearch-toggle-invisible): New command.
13675 (isearch-query-replace): Let-bind `search-invisible'
13676 to the value of `isearch-invisible'.
13677 (isearch-search): Use `isearch-invisible' instead of
13678 `search-invisible'. Let-bind `search-invisible'
13679 to the value of `isearch-invisible'. (Bug#11378)
13680
13681 2013-05-30 Juri Linkov <juri@jurta.org>
13682
13683 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13684 call when `query-flag' is nil and `search-invisible' is non-nil.
13685 (Bug#11746)
13686
13687 2013-05-30 Glenn Morris <rgm@gnu.org>
13688
13689 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13690
13691 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13692 (cc-require): Suppress spurious "noruntime" warnings.
13693 (cc-require-when-compile): Use fboundp, for sake of compiler.
13694
13695 * progmodes/cc-mode.el: Move load of cc-vars before that of
13696 cc-langs (which in turn loads cc-vars), to quieten compiler.
13697
13698 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * paren.el: Simplify the code.
13701 (show-paren-mode): Always start the timer.
13702 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13703 (show-paren--overlay, show-paren--overlay-1): Rename from
13704 show-paren-overlay and show-paren-overlay-1, and initialize to an
13705 overlay rather than to nil.
13706 (show-paren-function): Misc cleanup and simplifications.
13707
13708 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13709
13710 * paren.el (show-paren-data-function): New hook.
13711 (show-paren--default): New function, extracted from show-paren-function.
13712 (show-paren-function): Use show-paren-data-function.
13713
13714 2013-05-30 Glenn Morris <rgm@gnu.org>
13715
13716 * ielm.el (ielm-map, ielm-complete-symbol):
13717 Use completion-at-point rather than obsolete functions.
13718 (inferior-emacs-lisp-mode): Doc fix.
13719 Set completion-at-point-functions, rather than
13720 comint-dynamic-complete-functions.
13721
13722 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13723 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13724 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13725
13726 * image.el (image-animated-p): Tweak definition.
13727
13728 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13729 (rlogin-process-connection-type): Tweak default. Add set-after.
13730 (rlogin-host): Doc fix.
13731 (rlogin): Tweak prompt.
13732 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13733
13734 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13735 * progmodes/tcl.el (inferior-tcl-mode-map):
13736 Use completion-at-point rather than obsolete alias.
13737
13738 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13739
13740 * minibuffer.el (read-file-name-completion-ignore-case):
13741 Move before completion--in-region, for eager macro expansion.
13742
13743 2013-05-29 Juri Linkov <juri@jurta.org>
13744
13745 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13746 for total count of matching lines. Add `global-matches' for total
13747 count of matches. Rename `matches' to `lines' for count of
13748 matching lines. Add `matches' for count of matches.
13749 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13750 to `prev-line' for line number of prev match endpt.
13751 Increment `matches' for every match. Print the number of
13752 matching lines in the header.
13753 (occur-context-lines): Rename `lines' to `curr-line'.
13754 Rename `prev-lines' to `prev-line'. (Bug#14017)
13755
13756 2013-05-29 Juri Linkov <juri@jurta.org>
13757
13758 * replace.el (perform-replace): Add `skip-read-only-count',
13759 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13760 Increment them for corresponding conditions and report the number
13761 of skipped occurrences in the final message. (Bug#11746)
13762 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13763 (replace-string, replace-regexp): Doc fix.
13764
13765 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13768
13769 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13770 prog-mode-map (bug#14504).
13771
13772 2013-05-29 Leo Liu <sdl.web@gmail.com>
13773
13774 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13775 (octave-help): Small simplification.
13776
13777 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13778 off the highlight first.
13779
13780 2013-05-29 Glenn Morris <rgm@gnu.org>
13781
13782 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13783 Handle idlwave-last-system-routine-info-cons-cell being nil.
13784
13785 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13786 (idlwave-write-paths): Simplify via with-temp-buffer.
13787
13788 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13789 * emulation/cua-rect.el: Also load cua-base at run time.
13790
13791 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13792 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13793 (cperl-imenu-on-info): Require imenu.
13794
13795 2013-05-28 Alan Mackenzie <acm@muc.de>
13796
13797 Handle "capitalised keywords" correctly.
13798 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13799
13800 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13801
13802 * eshell/em-unix.el: Add -r option to cp.
13803
13804 2013-05-28 Glenn Morris <rgm@gnu.org>
13805
13806 * vc/vc-arch.el (vc-exec-after): Declare.
13807 (vc-switches): Autoload.
13808 * vc/vc-bzr.el: No need to require vc when compiling.
13809 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13810 (vc-resynch-buffer, vc-dir-refresh): Declare.
13811 (vc-setup-buffer, vc-switches): Autoload.
13812 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13813 (vc-resynch-buffer): Declare.
13814 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13815 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13816 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13817 (grep-read-regexp, grep-read-files, grep-expand-template)
13818 (vc-dir-refresh): Declare.
13819 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13820 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13821 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13822 * vc/vc-mtn.el (vc-exec-after): Declare.
13823 (vc-switches): Autoload.
13824 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13825 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13826 (vc-file-tree-walk): Declare.
13827 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13828 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13829 (vc-tag-precondition, vc-rename-master): Autoload.
13830 * vc/vc-svn.el (vc-exec-after): Declare.
13831 (vc-switches, vc-setup-buffer): Autoload.
13832 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13833 Autoload.
13834 (vc-resynch-buffer): Declare.
13835
13836 * obsolete/fast-lock.el (byte-compile-warnings):
13837 Don't warn about obsolete features in this obsolete file.
13838
13839 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13840 Move definition before use.
13841
13842 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13843 (dun-unix-verbs): Remove dun-zippy.
13844 (dun-zippy): Remove function.
13845
13846 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13847
13848 2013-05-27 Juri Linkov <juri@jurta.org>
13849
13850 * replace.el (replace-search): New function with code moved out
13851 from `perform-replace'.
13852 (replace-highlight, replace-dehighlight): Move function definitions
13853 up closer to `replace-search'. (Bug#11746)
13854
13855 2013-05-27 Juri Linkov <juri@jurta.org>
13856
13857 * replace.el (perform-replace): Ignore invisible matches.
13858 In addition to checking `query-replace-skip-read-only', also
13859 filter out matches by calling `run-hook-with-args-until-failure'
13860 on `isearch-filter-predicates', and also check `search-invisible'
13861 for t or call `isearch-range-invisible'.
13862 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13863
13864 2013-05-27 Juri Linkov <juri@jurta.org>
13865
13866 * isearch.el (isearch-filter-predicates): Rename from
13867 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13868 (isearch-message-prefix): Display text from the property
13869 `isearch-message-prefix' of the currently active filters.
13870 (isearch-search): Don't compare `isearch-filter-predicate' with
13871 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13872 on `isearch-filter-predicates'. Also check `search-invisible' for t
13873 or call `isearch-range-invisible'.
13874 (isearch-filter-visible): Make obsolete.
13875 (isearch-lazy-highlight-search):
13876 Call `run-hook-with-args-until-failure' on
13877 `isearch-filter-predicates' and use `isearch-range-invisible'.
13878
13879 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13880 `isearch-filter-predicates' instead of `funcall'ing
13881 `isearch-filter-predicate'.
13882 (Info-mode): Set `Info-isearch-filter' to
13883 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13884
13885 * dired-aux.el (dired-isearch-filter-predicate-orig):
13886 Remove variable.
13887 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13888 (dired-isearch-filenames-end): Add and remove
13889 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13890 instead of changing the value of `isearch-filter-predicate'.
13891 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13892 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13893 Put property `isearch-message-prefix' to "filename " on
13894 `dired-isearch-filter-filenames'.
13895
13896 * wdired.el (wdired-change-to-wdired-mode):
13897 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13898 locally instead of changing `isearch-filter-predicate'.
13899 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13900
13901 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13902
13903 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13904 return the commit hash (Bug#14459). Also set the
13905 `vc-git-detached' property.
13906 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13907 (vc-git-mode-line-string): Use the same help-echo format whether
13908 in detached mode or not, because we know the actual revision now.
13909 When in detached mode, shorten the revision to 7 chars.
13910
13911 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13912
13913 * emacs-lisp/easy-mmode.el (define-minor-mode):
13914 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13915 mode hook and provide a docstring.
13916
13917 2013-05-27 Alan Mackenzie <acm@muc.de>
13918
13919 Remove spurious syntax-table text properties inserted by C-y.
13920 * progmodes/cc-mode.el (c-after-change): Also clear hard
13921 syntax-table property with value nil.
13922
13923 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13924
13925 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13926 when reading the events; the buffer layout shall not be changed.
13927
13928 2013-05-27 Leo Liu <sdl.web@gmail.com>
13929
13930 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13931 New variable.
13932 (inferior-octave-directory-tracker): Automatically re-sync
13933 default-directory.
13934 (octave-help): Improve handling of 'See also'.
13935
13936 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13937
13938 * doc-view.el: Minor naming convention tweaks.
13939 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13940
13941 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13942 even if there's no `display' property yet (bug#14435).
13943
13944 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13945
13946 * subr.el (unmsys--file-name): Rename from reveal-filename.
13947
13948 * Makefile.in (custom-deps, finder-data, autoloads)
13949 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13950 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13951 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13952
13953 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13954
13955 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13956 error-completion on the first 2 args of condition-case (bug#14446).
13957 Don't burp at EOB.
13958
13959 2013-05-25 Leo Liu <sdl.web@gmail.com>
13960
13961 * comint.el (comint-previous-matching-input): Do not flood the
13962 *Messages* buffer with trivial messages.
13963
13964 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * progmodes/flymake.el (flymake-nop): Don't return a string.
13967 (flymake-set-at): Fix typo.
13968
13969 * simple.el (read--expression): New function, extracted from
13970 eval-expression. Set completion-at-point-functions (bug#14465).
13971 (eval-expression, eval-minibuffer): Use it.
13972
13973 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13974
13975 * progmodes/flymake.el (flymake-save-buffer-in-file)
13976 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13977 (flymake-selected-frame, flymake-log, flymake-ins-after)
13978 (flymake-set-at, flymake-get-buildfile-from-cache)
13979 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13980 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13981 Refine the doc string.
13982 (flymake-get-file-name-mode-and-masks): Reformat.
13983 (flymake-get-real-file-name-function): Fix a minor bug.
13984
13985 2013-05-24 Juri Linkov <juri@jurta.org>
13986
13987 * progmodes/grep.el (grep-mode-font-lock-keywords):
13988 Support =linenumber= format used by git-grep for lines with
13989 function names. (Bug#13549)
13990
13991 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13992
13993 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13994 0 after a semi-colon; it works better for smie-auto-fill.
13995 (octave--indent-new-comment-line): New function.
13996 (octave-indent-new-comment-line): Use it (indirectly).
13997 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13998 modify comment-line-break-function.
13999
14000 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14001 (smie-setup): Use add-function to set it.
14002
14003 2013-05-24 Sam Steingold <sds@gnu.org>
14004
14005 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14006 argument (before the `interactive' argument).
14007
14008 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 * image-mode.el (image-mode-winprops): Add winprops to
14011 image-mode-winprops-alist before running
14012 image-mode-new-window-functions.
14013 * doc-view.el (doc-view-new-window-function): Don't delay
14014 doc-view-goto-page via timers (bug#14435).
14015
14016 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14017
14018 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14019 (doc-view-desktop-save-buffer): New function.
14020 (doc-view-restore-desktop-buffer): New function.
14021 (desktop-buffer-mode-handlers):
14022 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14023 handler.
14024 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14025 `desktop-save-buffer' function.
14026
14027 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14028
14029 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14030 (tramp-gvfs-file-name-handler): Raise a user error when
14031 `tramp-gvfs-enabled' is nil.
14032 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14033 Do not raise a user error when loading package. (Bug#14447)
14034
14035 * net/xesam.el: Move to obsolete/.
14036
14037 2013-05-24 Glenn Morris <rgm@gnu.org>
14038
14039 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14040
14041 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14042
14043 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14044 (Info-find-node, Man-getpage-in-background): Declare.
14045
14046 * mail/unrmail.el (unrmail):
14047 Replace obsolete detect-coding-with-priority.
14048
14049 * net/socks.el (socks-split-string): Use this rather than split-string.
14050 (socks-nslookup-host): Update for above change.
14051 (dynamic-choice, s5-dynamic-choice-match)
14052 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14053 Comment out unused code.
14054
14055 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14056 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14057 (gud-tooltip-echo-area): Make obsolete.
14058 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14059
14060 * progmodes/js.el (js--optimize-arglist): Declare.
14061
14062 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14063
14064 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14065 (ediff-window-C): Declare.
14066
14067 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14068 Tweak requires to silence compiler.
14069
14070 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14071 (he-search-string, he-tried-table, he-expand-list)
14072 (he-init-string, he-string-member, he-substitute-string)
14073 (he-reset-string): Declare.
14074
14075 * obsolete/options.el (list-options): Use custom-variable-p,
14076 rather than obsolete alias.
14077
14078 2013-05-23 Sam Steingold <sds@gnu.org>
14079
14080 * simple.el (shell-command-on-region): Pass the `replace' argument
14081 down to `call-process-region' to comply with the doc as reported on
14082 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14083
14084 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14085
14086 * emacs-lisp/smie.el (smie-indent-forward-token)
14087 (smie-indent-backward-token): Handle string tokens (bug#14381).
14088
14089 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14090
14091 * ielm.el (ielm-menu): New menu.
14092 (inferior-emacs-lisp-mode): Set comment-start.
14093
14094 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14095
14096 * textmodes/reftex.el (reftex-ref-style-toggle):
14097 Fix deactivate action.
14098
14099 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14100 Add cleveref macros.
14101
14102 * textmodes/reftex-parse.el
14103 (reftex-locate-bibliography-files): Accept options for
14104 bibliography commands.
14105 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14106 Add addbibresource. Basic Biblatex support.
14107
14108 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14109
14110 * net/tramp-gvfs.el (top):
14111 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14112 when loading package. (Bug#14447)
14113
14114 2013-05-23 Glenn Morris <rgm@gnu.org>
14115
14116 * progmodes/js.el: No need to load comint when compiling.
14117 (ring-insert, comint-send-string, comint-send-input)
14118 (comint-last-input-end, ido-chop): Declare.
14119
14120 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14121 * vc/ediff-mult.el: Adjust requires.
14122 (ediff-directories-internal, ediff-directory-revisions-internal)
14123 (ediff-patch-file-internal): Declare.
14124 * vc/ediff-ptch.el: Adjust requires.
14125 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14126 (ediff-find-file): Autoload.
14127 * vc/ediff-util.el: No need to load ediff when compiling.
14128 (ediff-regions-internal): Declare.
14129 * vc/ediff-wind.el: Adjust requires.
14130 (ediff-compute-toolbar-width): Define when compiling.
14131 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14132 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14133 (dired-get-filename, dired-get-marked-files)
14134 (ediff-last-dir-patch, ediff-patch-default-directory)
14135 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14136 (ediff-patch-buffer-internal): Declare.
14137
14138 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14139 (ispell-process, ispell-buffer-local-words, lm-summary)
14140 (lm-section-start, lm-section-end): Declare.
14141 (checkdoc-ispell-init): Simplify.
14142
14143 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14144 (he-string-member, he-reset-string, he-substitute-string): Declare.
14145
14146 * eshell/em-ls.el: Adjust requires.
14147 (eshell-glob-regexp): Declare.
14148 * eshell/em-tramp.el: Adjust requires.
14149 (eshell-parse-command): Autoload.
14150 * eshell/em-xtra.el: Adjust requires.
14151 (eshell-parse-command): Autoload.
14152 * eshell/esh-ext.el: Adjust requires.
14153 (eshell-parse-command, eshell-close-handles): Autoload.
14154 * eshell/esh-io.el: Adjust requires.
14155 (eshell-output-filter): Autoload.
14156 * eshell/esh-util.el: No need to load tramp when compiling.
14157 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14158 Declare.
14159 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14160 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14161 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14162 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14163 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14164 * eshell/esh-opt.el, eshell/esh-proc.el:
14165 * eshell/esh-var.el: Adjust requires.
14166 * eshell/eshell.el: Do not require esh-util twice.
14167 (eshell-add-input-to-history): Declare.
14168 (eshell-command): Check history module is active before using it.
14169
14170 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14171
14172 2013-05-22 Leo Liu <sdl.web@gmail.com>
14173
14174 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14175
14176 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14177
14178 * autorevert.el (auto-revert-notify-add-watch)
14179 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14180 it indicates changes in file modification time.
14181
14182 2013-05-22 Glenn Morris <rgm@gnu.org>
14183
14184 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14185 Always delete the autoloaded function from the noruntime and
14186 unresolved functions lists.
14187
14188 * allout.el: No need to load epa, epg, overlay when compiling.
14189 (epg-context-set-passphrase-callback, epg-list-keys)
14190 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14191 (epg-key-user-id-list): Declare.
14192
14193 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14194 (viper-set-parsing-style-toggling-macro)
14195 (viper-set-emacs-state-searchstyle-macros):
14196 Use called-interactively-p on Emacs.
14197 (viper-looking-back): Make it an obsolete alias. Update callers.
14198 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14199 Use looking-back rather than viper-looking-back.
14200 (viper-tmp-insert-at-eob, viper-enlarge-region)
14201 (viper-read-string-with-history, viper-register-to-point)
14202 (viper-append-to-register, viper-change-state-to-vi)
14203 (viper-backward-char-carefully, viper-forward-char-carefully)
14204 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14205 (viper-change-state-to-emacs): Declare.
14206 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14207 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14208 * emulation/viper-mous.el: Do not load viper-cmd.
14209 (viper-backward-char-carefully, viper-forward-char-carefully)
14210 (viper-forward-word, viper-adjust-window): Declare.
14211
14212 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14213
14214 * progmodes/idlw-help.el (idlwave-help-fontify):
14215 Use called-interactively-p.
14216
14217 * term/w32console.el (w32-get-console-codepage)
14218 (w32-get-console-output-codepage): Declare.
14219
14220 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14221 Remove unnecessary declarations.
14222 (dframe-message): Doc fix.
14223
14224 * info.el (dframe-select-attached-frame, dframe-current-frame):
14225 Declare.
14226
14227 * speedbar.el (speedbar-message): Make it an obsolete alias.
14228 Update all callers.
14229 (speedbar-with-attached-buffer)
14230 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14231 (speedbar-with-writable): Use backquote.
14232 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14233 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14234 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14235 rather than speedbar- aliases.
14236 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14237 (speedbar-make-specialized-keymap, speedbar-insert-button)
14238 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14239 (speedbar-do-function-pointer): Declare.
14240 (rmail-speedbar-button, rmail-speedbar-find-file)
14241 (rmail-speedbar-move-message):
14242 Use dframe-with-attached-buffer rather than speedbar- alias.
14243 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14244 (dframe-message, speedbar-make-specialized-keymap)
14245 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14246 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14247 (speedbar-insert-button, dframe-select-attached-frame)
14248 (dframe-maybee-jump-to-attached-frame)
14249 (speedbar-change-initial-expansion-list)
14250 (speedbar-previously-used-expansion-list-name): Declare.
14251 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14252 Use dframe-message, dframe-with-attached-buffer rather than
14253 speedbar- aliases.
14254 (gud-sentinel): Silence compiler.
14255 * progmodes/vhdl-mode.el (speedbar-refresh)
14256 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14257 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14258 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14259 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14260 (speedbar-file-lists, speedbar-make-tag-line)
14261 (speedbar-line-directory, speedbar-goto-this-file)
14262 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14263 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14264 (speedbar-make-button, speedbar-reset-scanners)
14265 (speedbar-files-item-info, speedbar-line-text)
14266 (speedbar-find-file-in-frame, speedbar-set-timer)
14267 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14268 (speedbar-with-writable): Do not (re)define it.
14269 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14270 rather than speedbar- alias.
14271
14272 2013-05-21 Leo Liu <sdl.web@gmail.com>
14273
14274 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14275 menu items.
14276 (octave-mode): Tweak fill-nobreak-predicate.
14277 (inferior-octave-startup): Check process to avoid infinite loop.
14278 (inferior-octave): Pop to buffer first to show abornmal process
14279 exit information.
14280
14281 2013-05-21 Glenn Morris <rgm@gnu.org>
14282
14283 * printing.el (pr-menu-bar): Define when compiling.
14284
14285 2013-05-21 Leo Liu <sdl.web@gmail.com>
14286
14287 * progmodes/octave.el (octave-auto-fill): Remove.
14288 (octave-indent-new-comment-line): Improve.
14289 (octave-mode): Use auto fill mode through
14290 comment-line-break-function and fill-nobreak-predicate.
14291 (octave-goto-function-definition): Support DEFUN_DLD.
14292 (octave-beginning-of-defun): Small tweak.
14293 (octave-help): Show parent directory.
14294
14295 2013-05-21 Glenn Morris <rgm@gnu.org>
14296
14297 * files.el (dired-unmark):
14298 * progmodes/gud.el (gdb-input): Update declarations.
14299
14300 * calculator.el (electric, ehelp): No need to load when compiling.
14301 (Electric-command-loop, electric-describe-mode): Declare.
14302
14303 * doc-view.el (doc-view-current-converter-processes): Move before use.
14304
14305 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14306 Move MODE-set-explicitly definition before use.
14307
14308 * international/mule-diag.el (mule-diag):
14309 Don't use obsolete window-system-version.
14310
14311 * mail/feedmail.el (smtpmail): No need to load when compiling.
14312 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14313
14314 * mail/mail-utils.el (rfc822): No need to load when compiling.
14315 (rfc822-addresses): Autoload it.
14316 (mail-strip-quoted-names): Trivial simplification.
14317
14318 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14319 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14320
14321 * net/snmp-mode.el (tempo): Don't duplicate requires.
14322
14323 * progmodes/prolog.el (info): No need to load when compiling.
14324 (comint): Require before shell requires it.
14325 (Info-goto-node): Autoload it.
14326 (Info-follow-nearest-node): Declare.
14327 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14328
14329 * textmodes/artist.el (picture-mode-exit): Declare.
14330
14331 * textmodes/reftex-parse.el (reftex-parse-from-file):
14332 Trivial rewrite so the compiler can parse it better.
14333
14334 2013-05-20 Leo Liu <sdl.web@gmail.com>
14335
14336 * progmodes/octave.el (octave-help-mode-map)
14337 (octave-help-mode-finish-hook): New variables.
14338 (octave-help-mode, octave-help-mode-finish): New functions.
14339 (octave-help): Use octave-help-mode.
14340
14341 2013-05-20 Glenn Morris <rgm@gnu.org>
14342
14343 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14344
14345 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14346
14347 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14348 start at point, so that expansion starting right after opening
14349 slash in a regexp is recognized.
14350 (ruby-syntax-before-regexp-re): New defvar, extracted from
14351 ruby-syntax-propertize-function. Since the value of this regexp
14352 is looked up at runtime now, we should be able to turn
14353 `ruby-syntax-methods-before-regexp' into a defcustom later.
14354 (ruby-syntax-propertize-function): Split regexp matching into two
14355 parts, for opening and closing slashes. That allows us to skip
14356 over string interpolations and support multiline regexps.
14357 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14358 for them, which calls `ruby-syntax-propertize-expansion'.
14359 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14360 call to `ruby-syntax-propertize-function'.
14361 (ruby-syntax-propertize-expansion): Extracted from
14362 `ruby-syntax-propertize-expansions'. Handles one expansion.
14363 (ruby-syntax-propertize-percent-literal): Leave point right after
14364 the percent symbol, so that the expression expansion rule can
14365 propertize the contents.
14366 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14367 heredoc openers.
14368 (ruby-syntax-propertize-expansions): Remove.
14369
14370 2013-05-18 Juri Linkov <juri@jurta.org>
14371
14372 * man.el (Man-default-man-entry): Remove `-' from the end
14373 of the default value. (Bug#14400)
14374
14375 2013-05-18 Glenn Morris <rgm@gnu.org>
14376
14377 * comint.el (comint-password-prompt-regexp):
14378 Allow "password for XXX" where XXX contains colons (eg https://...).
14379
14380 2013-05-18 Leo Liu <sdl.web@gmail.com>
14381
14382 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14383 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14384 (octave-source-directories): Don't check process.
14385 (octave-source-directories, octave-find-definition): Doc fix.
14386
14387 2013-05-18 Glenn Morris <rgm@gnu.org>
14388
14389 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14390 Remove backspace/delete bindings. (Bug#14392)
14391
14392 * cus-dep.el (custom-make-dependencies): Sort the output.
14393 (custom-versions-load-alist): Convert comment to doc.
14394
14395 2013-05-17 Leo Liu <sdl.web@gmail.com>
14396
14397 * newcomment.el (comment-search-backward): Stricter in finding
14398 comment start. (Bug#14303)
14399
14400 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14401 (octave-comment-start-skip): Properly anchored.
14402
14403 2013-05-17 Leo Liu <sdl.web@gmail.com>
14404
14405 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14406 Clean up when turned off. (Bug#14395)
14407 (smie--highlight-matching-block-overlay): No longer buffer-local.
14408 (smie-highlight-matching-block): Adjust.
14409
14410 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14411
14412 Doc string fix for "nanoseconds" (Bug#14406).
14413 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14414 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14415
14416 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14417
14418 * calc/calc-units.el (math-extract-units): Preserve powers
14419 of units.
14420
14421 2013-05-17 Leo Liu <sdl.web@gmail.com>
14422
14423 * subr.el (delete-consecutive-dups): New function.
14424 * ido.el (ido-set-matches-1): Use it.
14425 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14426 * ido.el (ido-remove-consecutive-dups): Remove.
14427
14428 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14431 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14432 regexp-opt's `words'.
14433
14434 2013-05-16 Leo Liu <sdl.web@gmail.com>
14435
14436 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14437 (smie--highlight-matching-block-overlay)
14438 (smie--highlight-matching-block-lastpos)
14439 (smie--highlight-matching-block-timer): New variables.
14440 (smie-highlight-matching-block): New function.
14441 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14442 (smie-setup): Conditionally enable smie-blink-matching-open.
14443
14444 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14445
14446 Sync with upstream verilog-mode r840.
14447 * progmodes/verilog-mode.el (verilog-mode-version)
14448 (verilog-mode-release-date): Update.
14449 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14450 (verilog-sig-tieoff): Fix string error on
14451 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14452 (verilog-read-decls): Fix parameters confusing
14453 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14454
14455 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14456
14457 * subr.el (reveal-filename): New function.
14458
14459 * loadup.el: Compute Emacs executable versions on MS-Windows,
14460 where executables have the .exe extension. Add a hard link
14461 emacs-XX.YY.ZZ.exe on MS-Windows.
14462
14463 * Makefile.in (XARGS_LIMIT): New variable.
14464 (custom-deps, finder-data, autoloads)
14465 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14466 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14467 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14468 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14469
14470 2013-05-16 Leo Liu <sdl.web@gmail.com>
14471
14472 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14473 (octave-mode-menu, octave-mode-map): Remove its uses.
14474
14475 2013-05-16 Reto Zimmermann <reto@gnu.org>
14476
14477 Sync with upstream vhdl mode v3.34.2.
14478 * progmodes/vhdl-mode.el: Use `push' throughout.
14479 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14480 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14481 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14482 (vhdl-actual-generic-name): New option to derive actual generic name.
14483 (vhdl-port-paste-signals): Replace formal by actual generics.
14484 (vhdl-beautify): New name for old group vhdl-align. Update users.
14485 (vhdl-beautify-options): New option.
14486 (vhdl-last-input-event): New compat alias. Use throughout.
14487 (vhdl-goto-line): Replace user level function `goto-line'.
14488 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14489 vhdl-fix-statement-buffer.
14490 (vhdl-create-mode-menu): Add some entries.
14491 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14492 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14493 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14494 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14495 to force statements on one line.
14496 (vhdl-remove-trailing-spaces-region):
14497 New, split from vhdl-remove-trailing-spaces.
14498 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14499 Respect vhdl-beautify-options.
14500 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14501 (vhdl-update-sensitivity-list): Not add with index if exists without.
14502 Not include array index with signal. Ignore keywords in comments.
14503 (vhdl-get-visible-signals): Regexp tweaks.
14504 (vhdl-template-component-inst): Handle empty library.
14505 (vhdl-template-type): Add template for 'enum' type.
14506 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14507 Use vhdl-replace-string.
14508 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14509 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14510 (vhdl-speedbar-initialize): Update for above name change.
14511 (vhdl-compose-wire-components): Fix in handling of constants.
14512 (vhdl-error-regexp-emacs-alist): New variable.
14513 (vhdl-error-regexp-add-emacs): New function;
14514 adds support for new compile.el (Emacs 22+)
14515 (vhdl-generate-makefile-1): Change target order for single lib. units.
14516 Allow use of absolute file names.
14517
14518 2013-05-16 Leo Liu <sdl.web@gmail.com>
14519
14520 * simple.el (prog-indent-sexp): Indent enclosing defun.
14521
14522 2013-05-15 Glenn Morris <rgm@gnu.org>
14523
14524 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14525 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14526 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14527 (whitespace-highlight): Move to whitespace group.
14528
14529 * comint.el (comint-source):
14530 * pcmpl-linux.el (pcmpl-linux):
14531 * shell.el (shell-faces):
14532 * eshell/esh-opt.el (eshell-opt):
14533 * international/ccl.el (ccl): Remove empty custom groups.
14534
14535 * completion.el (dynamic-completion-mode):
14536 * jit-lock.el (jit-lock-debug-mode):
14537 * minibuffer.el (completion-in-region-mode):
14538 * type-break.el (type-break-mode-line-message-mode)
14539 (type-break-query-mode):
14540 * emulation/tpu-edt.el (tpu-edt-mode):
14541 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14542 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14543 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14544
14545 * term/xterm.el (xterm): Change parent group to terminals.
14546
14547 * master.el (master): Remove empty custom group.
14548 (master-mode): Remove unused :group argument.
14549 * textmodes/refill.el (refill): Remove empty custom group.
14550 (refill-mode): Remove unused :group argument.
14551
14552 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14553
14554 * cus-dep.el: Provide a feature.
14555 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14556 Don't mistakenly ignore files whose basenames match a basename
14557 from preloaded-file-list (eg cedet/ede/simple.el).
14558 Add a fallback method for getting :group.
14559
14560 2013-05-15 Juri Linkov <juri@jurta.org>
14561
14562 * isearch.el (isearch-char-by-name): Rename from
14563 `isearch-insert-char-by-name'. Doc fix.
14564 (isearch-forward): Mention `isearch-char-by-name' in
14565 the docstring. (Bug#13348)
14566
14567 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14568 `exit-minibuffer' instead of
14569 `isearch-nonincremental-exit-minibuffer'.
14570 (isearch-edit-string): Remove mention of
14571 `isearch-nonincremental-exit-minibuffer' from docstring.
14572 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14573 (isearch-forward-exit-minibuffer)
14574 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14575
14576 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * loadup.el: Just use unversioned DOC.
14579
14580 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14581 literals as extending to EOB.
14582 (nxml-last-fontify-end): Remove unused variable.
14583 (nxml-after-change1): Use with-silent-modifications.
14584 (nxml-extend-after-change-region): Simplify.
14585 (nxml-extend-after-change-region1): Remove function.
14586 (nxml-after-change1): Don't adjust for dependent regions.
14587 (nxml-fontify-matcher): Simplify.
14588 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14589 (xmltok-add-dependent): Remove function.
14590 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14591 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14592 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14593 unclosed <[[, <?, comment, and other literals as extending to EOB.
14594 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14595 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14596 Remove functions.
14597 (rng-do-some-validation-1): Don't mark dependent regions.
14598 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14599 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14600 (nxml-clear-dependent-regions): Remove functions.
14601 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14602 (nxml-ensure-scan-up-to-date):
14603 Don't clear&mark dependent regions.
14604
14605 2013-05-15 Leo Liu <sdl.web@gmail.com>
14606
14607 * progmodes/octave.el (octave-goto-function-definition):
14608 Improve and fix callers.
14609
14610 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14611
14612 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14613 the setter (bug#14387).
14614
14615 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14616 surrounding group (bug#14402).
14617
14618 2013-05-14 Juri Linkov <juri@jurta.org>
14619
14620 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14621 (Bug#14390)
14622
14623 2013-05-14 Glenn Morris <rgm@gnu.org>
14624
14625 * progmodes/f90.el (f90-imenu-generic-expression):
14626 Fix typo in 2013-05-08 change. (Bug#14402)
14627
14628 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14629
14630 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14631 Remove signals for which replies are never received.
14632
14633 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14634
14635 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14636 (gdb-handler-alist, gdb-handler-number): Remove variables.
14637 (gdb-handler-list): New variable.
14638 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14639 (gdb-pending-handler-p, gdb-handle-reply)
14640 (gdb-remove-all-pending-triggers): New functions.
14641 (gdb-discard-unordered-replies): New defcustom.
14642 (gdb-handler): New defstruct.
14643 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14644 instead of gdb-pending-triggers. Update docstring.
14645 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14646 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14647 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14648 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14649 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14650 (gdb-frame-handler): Pending triggers are now automatically managed.
14651 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14652 Remove argument.
14653 (gdb-input): Automatically handles pending triggers. Update docstring.
14654 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14655 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14656 Update comments.
14657 (gdb-done-or-error): Now use gdb-handle-reply.
14658
14659 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14660
14661 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14662 gdb-debug-log.
14663
14664 2013-05-14 Glenn Morris <rgm@gnu.org>
14665
14666 * subr.el (user-emacs-directory-warning): New option.
14667 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14668
14669 2013-05-14 Leo Liu <sdl.web@gmail.com>
14670
14671 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14672 during redisplay.
14673 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14674 (octave-font-lock-texinfo-comment): Fix invalid search bound
14675 error: wrong side of point.
14676
14677 2013-05-14 Glenn Morris <rgm@gnu.org>
14678
14679 * progmodes/flymake.el (flymake-xml-program): New option.
14680 (flymake-xml-init): Use it.
14681
14682 * term/xterm.el: Provide a feature.
14683
14684 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14685
14686 2013-05-13 Glenn Morris <rgm@gnu.org>
14687
14688 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14689 Add compat aliases as a hack workaround. (Bug#14384)
14690
14691 2013-05-13 Leo Liu <sdl.web@gmail.com>
14692
14693 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14694 ###, and %!.
14695 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14696 C-M-q.
14697 (octave-comment-start-skip): Include %!.
14698 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14699
14700 2013-05-12 Leo Liu <sdl.web@gmail.com>
14701
14702 * progmodes/octave.el (inferior-octave-startup): Store the value
14703 of __octave_srcdir__ for octave-source-directories.
14704 (inferior-octave-check-process): New function refactored out of
14705 inferior-octave-send-list-and-digest.
14706 (octave-source-directories)
14707 (octave-find-definition-filename-function): New variables.
14708 (octave-source-directories)
14709 (octave-find-definition-default-filename): New functions.
14710 (octave-find-definition): Improve to find functions implemented in C++.
14711
14712 2013-05-12 Glenn Morris <rgm@gnu.org>
14713
14714 * calendar/diary-lib.el (diary-outlook-format-1):
14715 Don't include dayname in the output. (Bug#14349)
14716
14717 2013-05-11 Glenn Morris <rgm@gnu.org>
14718
14719 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14720
14721 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14722 Treat cc-provide like provide.
14723
14724 2013-05-11 Kevin Ryde <user42@zip.com.au>
14725
14726 * cus-dep.el (custom-make-dependencies):
14727 Use generated-autoload-load-name for the sake of files such
14728 such cedet/semantic/bovine/c.el, where the base file name
14729 is not in load-path. (Bug#5277)
14730
14731 2013-05-11 Glenn Morris <rgm@gnu.org>
14732
14733 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14734 Provide features.
14735
14736 2013-05-11 Leo Liu <sdl.web@gmail.com>
14737
14738 * progmodes/octave.el (octave-indent-comment): Improve.
14739 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14740 (octave-eldoc-function-signatures, octave-eldoc-function):
14741 New functions.
14742 (octave-mode, inferior-octave-mode): Add eldoc support.
14743
14744 2013-05-11 Richard Stallman <rms@gnu.org>
14745
14746 * epa.el (epa-decrypt-file): Take output file name as argument
14747 and read it using `interactive'.
14748
14749 2013-05-11 Leo Liu <sdl.web@gmail.com>
14750
14751 * progmodes/octave.el (octave-beginning-of-line)
14752 (octave-end-of-line): Check before using up-list because it jumps
14753 out of more syntactic contructs since moving to smie.
14754 (octave-indent-comment): New function.
14755 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14756 (octave-begin-keywords, octave-end-keywords)
14757 (octave-reserved-words, octave-smie-bnf-table)
14758 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14759
14760 2013-05-11 Glenn Morris <rgm@gnu.org>
14761
14762 * faces.el (internal-face-x-get-resource):
14763 * frame.el (ns-display-monitor-attributes-list):
14764 * calc/calc-aent.el (math-to-radians-2):
14765 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14766 Fix declarations.
14767
14768 * calc/calc-menu.el: Make it loadable in isolation.
14769
14770 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14771 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14772 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14773 (eudc-bbdb-query-internal): Require 'bbdb.
14774
14775 * lpr.el (lpr-headers-switches):
14776 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14777
14778 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14779
14780 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14781
14782 * term.el (term-set-escape-char): Make it idempotent.
14783
14784 2013-05-10 Leo Liu <sdl.web@gmail.com>
14785
14786 * progmodes/octave.el (inferior-octave-completion-table):
14787 No longer a function and all uses changed. Use cache to speed up
14788 completion due to bug#11906.
14789 (octave-beginning-of-defun): Re-write to be more general.
14790
14791 2013-05-10 Glenn Morris <rgm@gnu.org>
14792
14793 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14794
14795 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14796
14797 * comint.el (comint-redirect-send-command-to-process): Use :around
14798 rather than :override for comint-redirect-filter.
14799 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14800 Call it instead of comint-redirect-original-filter-function (which
14801 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14802
14803 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14804
14805 * frame.el (display-monitor-attributes-list): Add NS case.
14806 (ns-display-monitor-attributes-list): Declare.
14807
14808 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14809
14810 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14811
14812 2013-05-09 Glenn Morris <rgm@gnu.org>
14813
14814 * international/fontset.el (vertical-centering-font-regexp):
14815 Set standard-value.
14816
14817 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14818
14819 * bookmark.el (bookmark-search-delay):
14820 * cus-start.el (vertical-centering-font-regexp):
14821 * ps-mule.el (ps-mule-font-info-database-default):
14822 * ps-print.el (ps-default-fg, ps-default-bg):
14823 * type-break.el (type-break-good-break-interval):
14824 * whitespace.el (whitespace-indentation-regexp)
14825 (whitespace-space-after-tab-regexp):
14826 * emacs-lisp/testcover.el (testcover-1value-functions)
14827 (testcover-noreturn-functions, testcover-progn-functions)
14828 (testcover-prog1-functions):
14829 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14830 * eshell/em-glob.el (eshell-glob-translate-alist):
14831 * play/tetris.el (tetris-tty-colors):
14832 * progmodes/cpp.el (cpp-face-default-list):
14833 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14834 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14835 (idlwave-help-browser-generic-args):
14836 * progmodes/make-mode.el (makefile-special-targets-list):
14837 * progmodes/python.el (python-shell-virtualenv-path):
14838 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14839 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14840 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14841 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14842 * textmodes/reftex-vars.el (reftex-format-label-function):
14843 * textmodes/remember.el (remember-diary-file): Fix custom types.
14844
14845 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14846 Add :version.
14847
14848 2013-05-09 Leo Liu <sdl.web@gmail.com>
14849
14850 * progmodes/octave.el (inferior-octave-completion-at-point):
14851 Restore file completion. (Bug#14300)
14852 (inferior-octave-startup): Fix incorrect highlighting for the
14853 first prompt.
14854
14855 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14856
14857 * progmodes/ruby-mode.el: First cut at SMIE support.
14858 (ruby-use-smie): New var.
14859 (ruby-smie-grammar): New constant.
14860 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14861 (ruby-smie--forward-token, ruby-smie--backward-token)
14862 (ruby-smie-rules): New functions.
14863 (ruby-mode-variables): Setup SMIE if applicable.
14864
14865 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14866
14867 * simple.el (line-move-visual): Signal beginning/end of buffer
14868 only if vertical-motion moved less than it was requested. Avoids
14869 silly incorrect error messages when there are display strings with
14870 multiple newlines at EOL.
14871
14872 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14873
14874 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14875 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14876 (prolog-char-quote-workaround):
14877 * progmodes/cperl-mode.el (cperl-under-as-char):
14878 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14879 Mark as obsolete.
14880 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14881 their declaration.
14882 (vhdl-mode-syntax-table-init): Remove.
14883
14884 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14885 last change.
14886
14887 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14888 syntax for "_".
14889 (ld-script-font-lock-keywords):
14890 Change regexps to use things like \_< and \_>.
14891
14892 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14893 Change all regexps to use things like \_< and \_>.
14894
14895 * progmodes/autoconf.el (autoconf-definition-regexp)
14896 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14897 Handle a _ with symbol syntax.
14898 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14899
14900 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14901 Consolidate declaration.
14902 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14903 the declaration.
14904 (ada-create-syntax-table): Remove.
14905 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14906 already has the right syntax nowadays.
14907 (ada-goto-next-word): Don't change the syntax of "_".
14908
14909 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14910 with-wrapper-hook.
14911
14912 2013-05-08 Sam Steingold <sds@gnu.org>
14913
14914 * thingatpt.el (thing-at-point): Accept optional second argument
14915 NO-PROPERTIES to strip the text properties from the return value.
14916 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14917 to `thing-at-point' instead of stripping the properties ourselves.
14918 Also, when `thing-at-point' fails to find a url, prepend "http://"
14919 to the filename at point on the assumption that the user is
14920 pointing at something like gnu.org/gnu.
14921
14922 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14923
14924 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14925 * faces.el (crm-separator):
14926 Silence byte-compiler.
14927
14928 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14929 (tool-bar-map): Remove unneeded defvars.
14930
14931 2013-05-08 Leo Liu <sdl.web@gmail.com>
14932
14933 Re-work a fix for bug#10994 based on Le Wang's patch.
14934 * ido.el (ido-remove-consecutive-dups): New helper.
14935 (ido-completing-read): Use it.
14936 (ido-chop): Revert fix for bug#10994.
14937
14938 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14939
14940 * cus-edit.el (custom-save-variables):
14941 Pretty-print long values. (Bug#14187)
14942
14943 2013-05-08 Glenn Morris <rgm@gnu.org>
14944
14945 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14946 (m4-mode-syntax-table): Init in the defvar.
14947 (m4-mode-abbrev-table): Let define-derived-mode define it.
14948
14949 2013-05-08 Tom Tromey <tromey@redhat.com>
14950
14951 * progmodes/m4-mode.el (m4-mode-syntax-table):
14952 Do not treat "_" as word constituent. (Bug#14167)
14953
14954 2013-05-07 Glenn Morris <rgm@gnu.org>
14955
14956 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14957 Remove explicit eshell-isearch-cancel-map.
14958
14959 * progmodes/f90.el (f90-smart-end-names): New option.
14960 (f90-smart-end): Doc fix.
14961 (f90-end-block-optional-name): New constant.
14962 (f90-block-match): Respect f90-smart-end-names.
14963
14964 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14965
14966 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14967 about implicit semi-colons (bug#14218).
14968
14969 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14970
14971 * frame.el (display-monitor-attributes-list)
14972 (frame-monitor-attributes): New functions.
14973
14974 2013-05-06 Leo Liu <sdl.web@gmail.com>
14975
14976 * progmodes/octave.el (octave-syntax-propertize-function): Change
14977 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14978 (octave-font-lock-keywords): Use octave-operator-regexp.
14979 (octave-completion-at-point): Rename from
14980 octave-completion-at-point-function.
14981 (inferior-octave-directory-tracker): Robustify.
14982 (octave-text-functions): Remove and fix its uses. No such things
14983 any more.
14984
14985 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14986
14987 * emacs-lisp/trace.el (trace--display-buffer): New function.
14988 (trace-make-advice): Use it.
14989
14990 2013-05-06 Juri Linkov <juri@jurta.org>
14991
14992 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14993 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14994 Doc fix.
14995 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14996 in the help string. (Bug#12985)
14997
14998 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14999
15000 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15001
15002 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * progmodes/perl-mode.el: Add support for here documents.
15005 (perl-syntax-propertize-function): Match here-doc markers.
15006 (perl-syntax-propertize-special-constructs): Find their end.
15007 (perl-imenu-generic-expression): Use [:alnum:].
15008
15009 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15010 (advice--add-function): Refresh the advice if already present
15011 (bug#14317).
15012
15013 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15014
15015 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15016
15017 2013-05-06 Glenn Morris <rgm@gnu.org>
15018
15019 * w32-fns.el (w32-charset-info-alist): Declare.
15020
15021 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15022 of its defcustom properties.
15023 (eshell-cmpl-initialize): No need to load pcomplete.
15024
15025 * generic-x.el: No need to require comint when compiling.
15026
15027 * net/eudc-export.el: Make it loadable without bbdb.
15028 (top-level): Use require rather than load-library.
15029 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15030 (eudc-batch-export-records-to-bbdb)
15031 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15032 Require bbdb.
15033
15034 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15035
15036 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15037 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15038 some tweaks, instead.
15039
15040 2013-05-05 Leo Liu <sdl.web@gmail.com>
15041
15042 * progmodes/octave.el (octave-font-lock-keywords)
15043 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15044 (inferior-octave-send-list-and-digest): Improve error message.
15045 (octave-mode, inferior-octave-mode): Use setq-local.
15046 (octave-help): Set info-lookup-mode.
15047
15048 2013-05-05 Richard Stallman <rms@gnu.org>
15049
15050 * vc/compare-w.el (compare-windows-whitespace):
15051 Treat no-break space as whitespace.
15052
15053 * mail/rmailsum.el (rmail-summary-rmail-update):
15054 Detect empty summary and don't change selected message.
15055 (rmail-summary-goto-msg): Likewise.
15056
15057 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15058 Doc fixes, rename args.
15059
15060 2013-05-05 Alan Mackenzie <acm@muc.de>
15061
15062 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15063
15064 2013-05-05 Juri Linkov <juri@jurta.org>
15065
15066 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15067 to not add the length of the summary segment to the return value.
15068 (Bug#14125)
15069
15070 2013-05-05 Leo Liu <sdl.web@gmail.com>
15071
15072 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15073 (inferior-octave-output-filter): Remove.
15074 (octave-send-region, inferior-octave-startup): Fix callers.
15075 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15076 (octave-binary-file-extensions): New user variable.
15077 (octave-find-definition): Confirm if opening binary files.
15078 (octave-help-file): Use octave-find-definition to get the binary
15079 confirmation.
15080 (octave-help): Adjust for octave-help-file change.
15081
15082 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15083
15084 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15085 Merge the two entries that handle function definitions.
15086 (pascal--syntax-propertize): New const.
15087 (pascal-mode): Use it. Use setq-local.
15088
15089 2013-05-04 Glenn Morris <rgm@gnu.org>
15090
15091 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15092 (diary-from-outlook): Respect diary-from-outlook-function.
15093
15094 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15095
15096 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15097 Move the declaration from C.
15098 (read-minibuffer, eval-minibuffer): Move from C.
15099 (completion-setup-function): Avoid minibuffer-completion-contents.
15100
15101 2013-05-03 Leo Liu <sdl.web@gmail.com>
15102
15103 * progmodes/octave.el (octave-font-lock-keywords): Do not
15104 dehighlight 'end' in comments or strings.
15105 (octave-completing-read, octave-goto-function-definition):
15106 New helpers.
15107 (octave-help-buffer): New user variable.
15108 (octave-help-file, octave-help-function): New button types.
15109 (octave-help): New command and bind it to C-h ;.
15110 (octave-find-definition): New command and bind it to M-.
15111 (user-error): Alias to error if not defined.
15112
15113 2013-05-02 Leo Liu <sdl.web@gmail.com>
15114
15115 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15116 for \. (bug#14332)
15117 (octave-font-lock-keywords): Include [ and {.
15118
15119 2013-05-02 Leo Liu <sdl.web@gmail.com>
15120
15121 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15122 (inferior-octave): Remove calling comint-mode and return the buffer.
15123 (inferior-octave-startup): Cosmetic changes.
15124
15125 2013-05-02 Leo Liu <sdl.web@gmail.com>
15126
15127 * progmodes/octave.el (octave-syntax-propertize-function):
15128 Include the case when ' is at line beginning. (Bug#14336)
15129
15130 2013-05-02 Glenn Morris <rgm@gnu.org>
15131
15132 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15133 * desktop.el (vc-dir-mode): Just autoload it here.
15134
15135 2013-05-02 Alan Mackenzie <acm@muc.de>
15136
15137 Eliminate variable c-standard-font-lock-fontify-region-function.
15138 * progmodes/cc-mode.el
15139 (c-standard-font-lock-fontify-region-function): Remove.
15140 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15141
15142 2013-05-01 Leo Liu <sdl.web@gmail.com>
15143
15144 * progmodes/octave.el: Compatible with older emacs-24 releases.
15145 (inferior-octave-has-built-in-variables): Remove. Built-in
15146 variables were removed from Octave in 2007.
15147 (inferior-octave-startup): Fix uses.
15148 (comint-line-beginning-position): Remove compatibility code for
15149 emacs 21.
15150
15151 2013-05-01 Juri Linkov <juri@jurta.org>
15152
15153 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15154
15155 2013-05-01 Juri Linkov <juri@jurta.org>
15156
15157 * comint.el (comint-previous-matching-input): Don't print message
15158 "History item: %d" when `isearch-mode' is active.
15159 (comint-history-isearch-message): Print message "History item: %d"
15160 when `comint-input-ring-index' is not empty and this function is
15161 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15162
15163 2013-05-01 Leo Liu <sdl.web@gmail.com>
15164
15165 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15166 definitions. Use completion-at-point to insert keywords.
15167 (octave-abbrev-start): Remove.
15168 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15169
15170 2013-04-30 Leo Liu <sdl.web@gmail.com>
15171
15172 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15173 change.
15174
15175 2013-04-30 Alan Mackenzie <acm@muc.de>
15176
15177 Handle arbitrarily long C++ member initialisation lists.
15178 * progmodes/cc-engine.el (c-back-over-member-initializers):
15179 new function.
15180 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15181 (most) member init lists.
15182
15183 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15184
15185 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15186 variable.
15187
15188 2013-04-30 Leo Liu <sdl.web@gmail.com>
15189
15190 * progmodes/octave.el (octave-variables): Remove. No builtin
15191 variables any more. All converted to functions.
15192 (octave-font-lock-keywords, octave-completion-at-point-function):
15193 Fix uses.
15194 (octave-font-lock-texinfo-comment): New user variable.
15195 (octave-texinfo-font-lock-keywords): New variable for texinfo
15196 comment block.
15197 (octave-function-comment-block): New face.
15198 (octave-font-lock-texinfo-comment): New function.
15199 (octave-mode): Font lock texinfo comment block.
15200
15201 2013-04-29 Leo Liu <sdl.web@gmail.com>
15202
15203 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15204 indexing expression.
15205 (octave-continuation-string): Do not use \.
15206 (inferior-octave-complete-impossible): Remove.
15207 (inferior-octave-completion-table)
15208 (inferior-octave-completion-at-point): Remove its uses.
15209 (inferior-octave-startup): completion_matches was introduced to
15210 Octave in 1996 so safe to assume it.
15211 (octave-function-file-comment): Improve to follow how Octave does it.
15212 (octave-update-function-file-comment): Tweak.
15213
15214 2013-04-29 Leo Liu <sdl.web@gmail.com>
15215
15216 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15217 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15218 (octave-function-file-comment): Fix typo.
15219 (octave-sync-function-file-names): Use read-char-choice.
15220
15221 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15222
15223 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15224 to t for the less important warnings.
15225
15226 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15227
15228 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15229
15230 2013-04-27 Glenn Morris <rgm@gnu.org>
15231
15232 * vc/log-view.el (log-view-current-entry):
15233 Treat "---" separator lines as part of the following rev. (Bug#14169)
15234
15235 2013-04-27 Juri Linkov <juri@jurta.org>
15236
15237 * subr.el (read-number): Doc fix about using it by interactive
15238 code letter `n'. (Bug#14254)
15239
15240 2013-04-27 Juri Linkov <juri@jurta.org>
15241
15242 * desktop.el (desktop-auto-save-timeout): New option.
15243 (desktop-file-checksum): New variable.
15244 (desktop-save): Add optional arg `auto-save' and don't auto-save
15245 if nothing changed.
15246 (desktop-auto-save-timer): New variable.
15247 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15248 (after-init-hook): Call `desktop-auto-save-set-timer'.
15249 Suggested by Reuben Thomas <rrt@sc3d.org> in
15250 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15251
15252 2013-04-27 Leo Liu <sdl.web@gmail.com>
15253
15254 * progmodes/octave.el (octave-function-file-p)
15255 (octave-skip-comment-forward, octave-function-file-comment)
15256 (octave-update-function-file-comment): New functions.
15257 (octave-mode-map): Bind C-c ; to
15258 octave-update-function-file-comment.
15259 (octave-mode-menu): Add octave-update-function-file-comment.
15260 (octave-mode, inferior-octave-mode): Fix doc-string.
15261 (octave-insert-defun): Conform to Octave's coding convention.
15262 (Bug#14285)
15263
15264 * files.el (basic-save-buffer): Don't let errors in
15265 before-save-hook prevent saving buffer.
15266
15267 2013-04-20 Roland Winkler <winkler@gnu.org>
15268
15269 * faces.el (read-face-name): Use completing-read if arg multiple
15270 is nil.
15271
15272 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15273
15274 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15275 displayed, move point to after the totals line.
15276 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15277 for the details.
15278
15279 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15280
15281 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15282 Add current dir to the load-path.
15283 (package-generate-autoloads): Don't rely on
15284 autoload-ensure-default-file.
15285
15286 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15287
15288 * textmodes/remember.el (remember-store-in-files): Document that
15289 the file name format is passed to `format-time-string'.
15290
15291 2013-04-26 Leo Liu <sdl.web@gmail.com>
15292
15293 * progmodes/octave.el (octave-sync-function-file-names): New function.
15294 (octave-mode): Use it in before-save-hook.
15295
15296 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15297
15298 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15299 (bug#14274).
15300
15301 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15302 \n and comment, even if it's not an implicit ; (bug#14218).
15303
15304 2013-04-26 Glenn Morris <rgm@gnu.org>
15305
15306 * subr.el (read-number): Once more use `read' rather than
15307 `string-to-number', to trap non-numeric input. (Bug#14254)
15308
15309 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15310
15311 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15312 Use `syntax-multiline' text property consistently instead of
15313 `font-lock-multiline'. (Bug#14237)
15314
15315 2013-04-26 Glenn Morris <rgm@gnu.org>
15316
15317 * emacs-lisp/shadow.el (list-load-path-shadows):
15318 No longer necessary to check for duplicate simple.el, since
15319 2012-07-07 change to init_lread to not include installation lisp
15320 directories in load-path when running uninstalled. (Bug#14270)
15321
15322 2013-04-26 Leo Liu <sdl.web@gmail.com>
15323
15324 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15325 (octave-mode, inferior-octave-mode): Use setq-local.
15326 (octave-not-in-string-or-comment-p): Rename to
15327 octave-in-string-or-comment-p.
15328 (octave-in-comment-p, octave-in-string-p)
15329 (octave-in-string-or-comment-p): Replace defsubst with defun.
15330
15331 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15332
15333 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15334
15335 2013-04-25 Bastien Guerry <bzg@gnu.org>
15336
15337 * textmodes/remember.el (remember-data-directory)
15338 (remember-directory-file-name-format): Fix custom types.
15339
15340 2013-04-25 Leo Liu <sdl.web@gmail.com>
15341
15342 * progmodes/octave.el (octave-completion-at-point-function):
15343 Make use of inferior octave process.
15344 (octave-initialize-completions): Remove.
15345 (inferior-octave-completion-table): New function.
15346 (inferior-octave-completion-at-point): Use it.
15347 (octave-completion-alist): Remove.
15348
15349 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15350
15351 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15352 (opascal-mode-syntax-table): New var.
15353 (opascal-literal-kind, opascal-is-literal-end)
15354 (opascal-literal-token-at): Rewrite.
15355 (opascal--literal-start-re, opascal-font-lock-keywords)
15356 (opascal--syntax-propertize): New constants.
15357 (opascal-font-lock-defaults): Adjust.
15358 (opascal-mode): Use them. Set comment-<foo> variables as well.
15359 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15360 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15361 (delphi-other-face, opascal-other-face): Remove face variables.
15362 (opascal-save-state): Remove macro.
15363 (opascal-fontifying-progress-step): Remove constant.
15364 (opascal--ignore-changes): Remove var.
15365 (opascal-set-token-property, opascal-parse-next-literal)
15366 (opascal-is-stable-literal, opascal-complete-literal)
15367 (opascal-is-literal-start, opascal-face-of)
15368 (opascal-parse-region, opascal-parse-region-until-stable)
15369 (opascal-fontify-region, opascal-after-change)
15370 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15371 (opascal-debug-parse-region, opascal-debug-parse-window)
15372 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15373 (opascal-debug-fontify-buffer): Remove.
15374 (opascal-debug-mode-map): Adjust accordingly.
15375
15376 2013-04-25 Leo Liu <sdl.web@gmail.com>
15377
15378 Merge octave-mod.el and octave-inf.el into octave.el with some
15379 cleanups.
15380 * progmodes/octave.el: New file renamed from octave-mod.el.
15381 * progmodes/octave-inf.el: Merged into octave.el.
15382 * progmodes/octave-mod.el: Renamed to octave.el.
15383
15384 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15385
15386 * textmodes/reftex-vars.el
15387 (reftex-label-ignored-macros-and-environments): New defcustom.
15388
15389 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15390
15391 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15394 (smie-indent-keyword): Improve the check to ensure that the next
15395 comment is really on the same line.
15396 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15397
15398 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15399 semi-colons if the line is not otherwise empty (bug#14218).
15400
15401 2013-04-25 Glenn Morris <rgm@gnu.org>
15402
15403 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15404
15405 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15406
15407 * progmodes/opascal.el (opascal-set-token-property): Rename from
15408 opascal-set-text-properties and only set `token' (bug#14134).
15409 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15410 (opascal-literal-text-properties): Remove.
15411 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15412 Adjust callers.
15413
15414 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15415
15416 * textmodes/remember.el (remember-handler-functions): Add an
15417 option for a new handler `remember-store-in-files'.
15418 (remember-data-directory, remember-directory-file-name-format):
15419 New options.
15420 (remember-store-in-files): New function to store remember notes
15421 as separate files within a directory.
15422
15423 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15424
15425 * progmodes/compile.el (compilation-next-error-function):
15426 Pass "formats" to compilation-find-file (bug#11777).
15427
15428 2013-04-24 Glenn Morris <rgm@gnu.org>
15429
15430 * vc/vc-bzr.el (vc-bzr-print-log):
15431 * vc/vc-hg.el (vc-hg-print-log):
15432 * vc/vc-svn.el (vc-svn-print-log):
15433 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15434
15435 * vc/vc-bzr.el (vc-bzr-print-log):
15436 * vc/vc-cvs.el (vc-cvs-print-log):
15437 * vc/vc-git.el (vc-git-print-log):
15438 * vc/vc-hg.el (vc-hg-print-log):
15439 * vc/vc-mtn.el (vc-mtn-print-log):
15440 * vc/vc-rcs.el (vc-rcs-print-log):
15441 * vc/vc-sccs.el (vc-sccs-print-log):
15442 * vc/vc-svn.el (vc-svn-print-log):
15443 * vc/vc.el (vc-print-log-internal): Doc fixes.
15444
15445 2013-04-23 Glenn Morris <rgm@gnu.org>
15446
15447 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15448 Remove venerable code attempting to avoid substitute-command-keys.
15449
15450 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15451
15452 * textmodes/reftex-vars.el (reftex-label-regexps):
15453 Call `reftex-compile-variables' after changes to this variable.
15454
15455 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15456
15457 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15458 Use lexical-binding.
15459 (jit-lock-force-redisplay): Use markers, check buffer's continued
15460 existence and beware narrowed buffers.
15461 (jit-lock-fontify-now): Adjust call accordingly.
15462
15463 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15464
15465 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15466 to avoid misleading the user.
15467
15468 2013-04-22 Leo Liu <sdl.web@gmail.com>
15469
15470 * info-look.el: Prefer latex2e.info. (Bug#14240)
15471
15472 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15473
15474 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15475
15476 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15477 * net/tramp.el (tramp-call-process): ... here.
15478 (tramp-set-completion-function, tramp-parse-putty):
15479 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15480 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15481 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15482 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15483 (tramp-call-local-coding-command): Use `tramp-call-process'
15484 instead of `tramp-compat-call-process'.
15485
15486 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15487 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15488 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15489 (tramp-find-inline-compress): Improve traces.
15490 (tramp-maybe-send-script): Check for Perl binary.
15491 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15492
15493 2013-04-22 Daiki Ueno <ueno@gnu.org>
15494
15495 * epg.el (epg-context-pinentry-mode): New function.
15496 (epg-context-set-pinentry-mode): New function.
15497 (epg--start): Pass --pinentry-mode option to gpg command.
15498
15499 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15500
15501 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15502 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15503 `completion-at-point'. (Bug#13774)
15504
15505 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15506 default key binding for `describe-distribution' has been moved to
15507 `C-h C-o'. (Bug#13970)
15508
15509 2013-04-21 Glenn Morris <rgm@gnu.org>
15510
15511 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15512 Add doc strings.
15513 (vc-print-log): Clarify interactive prompt.
15514
15515 2013-04-20 Glenn Morris <rgm@gnu.org>
15516
15517 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15518 No longer include timestamp etc information.
15519
15520 2013-04-20 Roland Winkler <winkler@gnu.org>
15521
15522 * faces.el (read-face-name): Bug fix, return just one face if arg
15523 multiple is nil. (Bug#14209)
15524
15525 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15526
15527 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15528 (remove-function): Autoload.
15529
15530 * comint.el (comint-redirect-original-filter-function): Remove.
15531 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15532 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15533 (vc-cvs-annotate-command):
15534 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15535 * progmodes/prolog.el (prolog-consult-compile):
15536 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15537 Use add/remove-function instead.
15538 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15539 (gud-tooltip-process-output, gud-tooltip-tips):
15540 Use add/remove-function instead.
15541 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15542 (scheme-interaction-mode, exit-scheme-interaction-mode):
15543 Use add/remove-function instead.
15544
15545 * vc/vc-dispatcher.el: Use lexical-binding.
15546 (vc--process-sentinel): Rename from vc-process-sentinel.
15547 Change last arg to be the code to run. Don't use vc-previous-sentinel
15548 and vc-sentinel-commands any more.
15549 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15550 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15551
15552 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15553
15554 * progmodes/sh-script.el (sh-imenu-generic-expression):
15555 Handle function names with a single character. (Bug#14111)
15556
15557 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15558
15559 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15560 for subroutines defined in an eval (bug#14182).
15561
15562 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15563
15564 * bookmark.el (bookmark-completing-read): Improve handling of empty
15565 string (bug#14176).
15566
15567 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15568
15569 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15570
15571 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15572
15573 New faster Imenu implementation (bug#14058).
15574 * progmodes/python.el:
15575 (python-imenu-prev-index-position):
15576 (python-imenu-format-item-label-function)
15577 (python-imenu-format-parent-item-label-function)
15578 (python-imenu-format-parent-item-jump-label-function):
15579 New vars.
15580 (python-imenu-format-item-label)
15581 (python-imenu-format-parent-item-label)
15582 (python-imenu-format-parent-item-jump-label)
15583 (python-imenu--put-parent, python-imenu--build-tree)
15584 (python-imenu-create-index, python-imenu-create-flat-index)
15585 (python-util-popn): New functions.
15586 (python-mode): Set imenu-create-index-function to
15587 python-imenu-create-index.
15588
15589 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15590
15591 * winner.el (winner-active-region): Use region-active-p, activate-mark
15592 and deactivate-mark (bug#14225).
15593
15594 * simple.el (deactivate-mark): Don't inline it.
15595
15596 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15597
15598 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15599
15600 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15601
15602 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15603 file extensions from the archive-mode entry in order to prefer
15604 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15605
15606 2013-04-18 Leo Liu <sdl.web@gmail.com>
15607
15608 * bindings.el (help-event-list): Add ?\?.
15609
15610 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15611
15612 * subr.el (with-wrapper-hook): Declare obsolete.
15613 * simple.el (filter-buffer-substring-function): New hook.
15614 (filter-buffer-substring): Use it.
15615 (filter-buffer-substring-functions): Mark obsolete.
15616 * minibuffer.el (completion-in-region-function): New hook.
15617 (completion-in-region): Use it.
15618 (completion-in-region-functions): Mark obsolete.
15619 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15620 * abbrev.el (abbrev-expand-function): New hook.
15621 (expand-abbrev): Use it.
15622 (abbrev-expand-functions): Mark obsolete.
15623 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15624 and :filter-return.
15625
15626 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15627
15628 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15629 and do not care about match data.
15630
15631 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15632
15633 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15634 completion tables when completing error conditions and
15635 `declare' arguments.
15636 (lisp-complete-symbol, field-complete): Mark as obsolete.
15637 (check-parens): Unmatched parens are user errors.
15638 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15639
15640 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15641
15642 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15643 command changed buffer (ie. `flyspell-pre-buffer' is not current
15644 buffer), which prevents making decisions based on invalid value of
15645 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15646 cause an error when `flyspell-pre-point' was nil after switching
15647 buffers.
15648 (flyspell-post-command-hook): No longer needs to change buffers when
15649 checking pre-word. While at it remove unnecessary progn.
15650
15651 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15652
15653 * textmodes/ispell.el (ispell-add-per-file-word-list):
15654 Fix `flyspell-correct-word-before-point' error when accepting
15655 words and `coment-padding' is an integer by using
15656 `comment-normalize-vars' (Bug #14214).
15657
15658 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15659
15660 New defun movement commands.
15661 * progmodes/python.el (python-nav--syntactically)
15662 (python-nav--forward-defun, python-nav-backward-defun)
15663 (python-nav-forward-defun): New functions.
15664
15665 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15666
15667 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15668 (python-syntax-context): Use named compiler-macro for backwards
15669 compatibility with Emacs 24.x.
15670
15671 2013-04-17 Leo Liu <sdl.web@gmail.com>
15672
15673 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15674 octave-hide-process-buffer.
15675
15676 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15677
15678 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15679 (bug#14216).
15680
15681 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15682
15683 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15684 Fix adjustment of offset when receiving incomplete responses from GDB
15685 (bug#14129).
15686
15687 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15688
15689 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15690 python-mode-abbrev-table.
15691 (python-skeleton-define): Adjust accordingly.
15692 (python-mode-abbrev-table): New table that inherits from it so that
15693 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15694
15695 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15696 (abbrev-symbol): Use it.
15697 (abbrev--before-point): Use it since we already handle inheritance.
15698
15699 2013-04-16 Leo Liu <sdl.web@gmail.com>
15700
15701 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15702 binding to info-lookup-symbol.
15703
15704 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15705
15706 * minibuffer.el (completion--twq-all):
15707 * term/ns-win.el (ns-initialize-window-system):
15708 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15709
15710 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15711
15712 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15713 global bindings.
15714
15715 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15716
15717 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15718
15719 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15720 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15721 to nil.
15722 (ruby-end-of-defun): Remove the unused arg, change the docstring
15723 to reflect that this function is only used as the value of
15724 `end-of-defun-function'.
15725 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15726 to reflect an earlier change that beginning/end-of-defun functions
15727 jump between methods in a class definition, as well as top-level
15728 functions.
15729
15730 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15731
15732 * minibuffer.el (minibuffer-complete): Don't just scroll
15733 a *Completions* that's been iconified.
15734 (minibuffer-force-complete): Make sure repetitions do cycle when going
15735 through completion-in-region -> minibuffer-complete.
15736
15737 2013-04-15 Alan Mackenzie <acm@muc.de>
15738
15739 Correct the placement of c-cpp-delimiters when there're #s not at
15740 col 0.
15741
15742 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15743 place a submatch around the #.
15744 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15745 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15746 on the #, not BOL.
15747
15748 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15749
15750 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15751 (advice--member-p): New arg `name'.
15752 (advice--add-function, advice-member-p): Use it (bug#14202).
15753
15754 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15755
15756 Reformulate java imenu-generic-expression.
15757 The old expression contained ill formed regexps.
15758
15759 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15760 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15761 (cc-imenu-java-method-arg-regexp): New defconsts.
15762 (cc-imenu-java-build-type-args-regex): New defun.
15763 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15764 handling of spaces in the regexp.
15765
15766 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15767
15768 * textmodes/ispell.el (ispell-command-loop): Remove
15769 flyspell highlight of a word when ispell accepts it (bug #14178).
15770
15771 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15772
15773 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15774 uses code from the previous `ange-ftp-run-real-handler'.
15775 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15776 only in case that function exist. This is needed for proper
15777 unloading of Tramp.
15778
15779 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15780
15781 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15782
15783 * textmodes/reftex.el (reftex-compile-variables): Use it.
15784
15785 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15786
15787 * files.el (normal-mode): Only use default major-mode if no other mode
15788 was specified.
15789
15790 * emacs-lisp/trace.el (trace-values): New function.
15791
15792 * files.el: Allow : in local variables (bug#14089).
15793 (hack-local-variable-regexp): New var.
15794 (hack-local-variables-prop-line, hack-local-variables): Use it.
15795
15796 2013-04-13 Roland Winkler <winkler@gnu.org>
15797
15798 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15799 data before it gets modified by bibtex-beginning-of-entry.
15800
15801 2013-04-13 Roland Winkler <winkler@gnu.org>
15802
15803 * textmodes/bibtex.el (bibtex-url): Doc fix.
15804
15805 2013-04-13 Roland Winkler <winkler@gnu.org>
15806
15807 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15808 does not visit a BibTeX file, exclude it from the list of buffers
15809 returned by bibtex-initialize.
15810
15811 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15812
15813 * window.el (split-window): Remove interactive form, since as a
15814 command this function is a special case of split-window-below.
15815 Correct doc string.
15816
15817 2013-04-12 Roland Winkler <winkler@gnu.org>
15818
15819 * faces.el (read-face-name): Do not override value of arg default.
15820 Allow single faces and strings as default values. Remove those
15821 elements from return value that are not faces.
15822 (describe-face): Simplify.
15823 (face-at-point): New optional args thing and multiple so that this
15824 function can provide the same functionality previously provided by
15825 read-face-name.
15826 (make-face-bold, make-face-unbold, make-face-italic)
15827 (make-face-unitalic, make-face-bold-italic, invert-face)
15828 (modify-face, read-face-and-attribute): Use face-at-point.
15829
15830 * cus-edit.el (customize-face, customize-face-other-window)
15831 * cus-theme.el (custom-theme-add-face)
15832 * face-remap.el (buffer-face-set)
15833 * facemenu.el (facemenu-set-face): Use face-at-point.
15834
15835 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15836
15837 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15838
15839 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15840
15841 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15842 off leading { and trailing } from field values.
15843
15844 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15845
15846 * emacs-lisp/timer.el (timer--check): New function.
15847 (timer--time, timer-set-function, timer-event-handler): Use it.
15848 (timer-set-idle-time): Simplify.
15849 (timer--activate): CSE.
15850 (timer-event-handler): Give more info in error message.
15851 (internal-timer-start-idle): New function, moved from C.
15852
15853 * mpc.el (mpc-proc): Add `restart' argument.
15854 (mpc-proc-cmd): Use it.
15855 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15856 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15857 less often.
15858
15859 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15860
15861 * progmodes/sh-script.el: Implement `sh-mode' own
15862 `add-log-current-defun-function' (bug#14112).
15863 (sh-current-defun-name): New function.
15864 (sh-mode): Use the function.
15865
15866 2013-04-09 Bastien Guerry <bzg@gnu.org>
15867
15868 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15869
15870 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15871
15872 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15873
15874 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15875 timer (bug#14156).
15876
15877 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15878
15879 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15880 declaration.
15881
15882 2013-04-07 Leo Liu <sdl.web@gmail.com>
15883
15884 * pcmpl-x.el: New file.
15885
15886 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15887
15888 Do not set x-display-name until X connection is established.
15889 This is needed to prevent from weird situation described at
15890 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15891 * frame.el (make-frame): Set x-display-name after call to
15892 window system initialization function, not before.
15893 * term/x-win.el (x-initialize-window-system): Add optional
15894 display argument and use it.
15895 * term/w32-win.el (w32-initialize-window-system):
15896 * term/ns-win.el (ns-initialize-window-system):
15897 * term/pc-win.el (msdos-initialize-window-system):
15898 Add compatible optional display argument.
15899
15900 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15901
15902 * files.el (normal-backup-enable-predicate): On MS-Windows and
15903 MS-DOS compare truenames of temporary-file-directory and of the
15904 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15905 don't fail comparison by compare-strings. Also, compare file
15906 names case-insensitively on MS-Windows and MS-DOS.
15907
15908 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15909
15910 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15911 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15912
15913 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15914
15915 * whitespace.el (whitespace-color-on, whitespace-color-off):
15916 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15917
15918 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15919
15920 * ispell.el (ispell-set-spellchecker-params):
15921 Really set `ispell-args' for all equivs.
15922
15923 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15924
15925 * ido.el (ido-completions): Use extra elements of ido-decorations
15926 (bug#14143).
15927 (ido-decorations): Update docstring.
15928
15929 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15930
15931 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15932 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15933 nil during initialization, in order not to miss changes since the
15934 file was opened. (Bug#14140)
15935
15936 2013-04-05 Leo Liu <sdl.web@gmail.com>
15937
15938 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15939
15940 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15941
15942 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15943
15944 2013-04-04 Glenn Morris <rgm@gnu.org>
15945
15946 * electric.el (electric-pair-inhibit-predicate): Add :version.
15947
15948 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15949
15950 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15951 when a package is required several times (bug#14082).
15952
15953 2013-04-04 Roland Winkler <winkler@gnu.org>
15954
15955 * faces.el (read-face-name): Behave as promised by the docstring.
15956 Assume that arg default is a list of faces.
15957 (describe-face): Call read-face-name with list of default faces.
15958
15959 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15960
15961 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15962 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15963 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15964 the header.
15965 (bookmark-exit-hook-internal): Save even if list is empty.
15966
15967 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15968
15969 * emacs-lisp/package.el (package-pinned-packages): New var.
15970 (package--add-to-archive-contents): Obey it (bug#14118).
15971
15972 2013-04-03 Alan Mackenzie <acm@muc.de>
15973
15974 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15975 Also adapt to the new values of element 7 of a parse state.
15976
15977 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15978 parameter `not-in-delimiter'. Handle being inside comment opener.
15979 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15980 character in case we're typing a '*' after a '/'.
15981 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15982 instead by passing the parameter to c-state-pp-to-literal.
15983
15984 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15985 for elt. 7 of a parse state.
15986
15987 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15988
15989 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15990 * international/latin1-disp.el, international/mule-util.el:
15991 * language/cyril-util.el, language/european.el, language/ind-util.el:
15992 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15993 * language/tibetan.el, language/viet-util.el:
15994 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15995
15996 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15999 (electric-pair-post-self-insert-function): Use it.
16000 (electric-pair-default-inhibit): New function, extracted from
16001 electric-pair-post-self-insert-function.
16002
16003 2013-03-31 Roland Winkler <winkler@gnu.org>
16004
16005 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16006
16007 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16010
16011 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16012
16013 Un-indent after "pass" and "return" statements (Bug#13888)
16014 * progmodes/python.el (python-indent-block-enders): New var.
16015 (python-indent-calculate-indentation): Use it.
16016
16017 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16018
16019 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16020 defun. Defining it as defalias could introduce too eager
16021 byte-compiler optimization. (Bug#14030)
16022
16023 2013-03-30 Chong Yidong <cyd@gnu.org>
16024
16025 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16026
16027 2013-03-30 Leo Liu <sdl.web@gmail.com>
16028
16029 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16030 (kmacro-execute-from-register): Pass the keyboard macro to
16031 kmacro-call-macro or repeating won't work correctly.
16032
16033 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16034
16035 * progmodes/subword.el: Back to using `forward-symbol'.
16036
16037 * subr.el (forward-whitespace, forward-symbol)
16038 (forward-same-syntax): Move from thingatpt.el.
16039
16040 2013-03-29 Leo Liu <sdl.web@gmail.com>
16041
16042 * kmacro.el (kmacro-to-register): New command.
16043 (kmacro-execute-from-register): New function.
16044 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16045
16046 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16047
16048 * mpc.el: Use defvar-local and setq-local.
16049 (mpc--proc-connect): Connection failures are not bugs.
16050 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16051 (mpc-volume-map): Bind to the up-events.
16052
16053 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16054
16055 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16056 instead of `forward-symbol'.
16057
16058 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16059
16060 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16061 (edebug--recursive-edit): Use it.
16062 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16063 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16064
16065 2013-03-28 Leo Liu <sdl.web@gmail.com>
16066
16067 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16068
16069 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16070
16071 * facemenu.el (list-colors-callback): New defvar.
16072 (list-colors-redisplay): New function.
16073 (list-colors-display): Install list-colors-redisplay as the
16074 revert-buffer-function. (Bug#14063)
16075
16076 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16077
16078 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16079 and suffixes don't overlap (bug#14061).
16080
16081 * case-table.el: Use lexical-binding.
16082 (case-table-get-table): New function.
16083 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16084
16085 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16086
16087 * progmodes/subword.el: Add `superword-mode' to do word motion
16088 over symbol_words (parallels and leverages `subword-mode' which
16089 does word motion inside MixedCaseWords).
16090
16091 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16092
16093 * eshell/em-unix.el: Move su and sudo to...
16094 * eshell/em-tramp.el: ...Eshell tramp module.
16095
16096 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16097
16098 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16099 Change return value to be a sexp. Delay `get-buffer' to after
16100 restoring the desktop (bug#13951).
16101
16102 2013-03-26 Leo Liu <sdl.web@gmail.com>
16103
16104 * register.el: Move semantic tag handling back to
16105 cedet/semantic/senator.el. (Bug#14052)
16106
16107 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16108
16109 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16110 into the prompt either (bug#13963).
16111
16112 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16113
16114 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16115 part of "(error-foo)".
16116
16117 2013-03-24 Juri Linkov <juri@jurta.org>
16118
16119 * replace.el (list-matching-lines-prefix-face): New defcustom.
16120 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16121 `occur-engine' if `face-differs-from-default-p' returns t.
16122 (occur-engine): Add `,' inside backquote construct to evaluate
16123 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16124 Pass `prefix-face' to the functions `occur-context-lines' and
16125 `occur-engine-add-prefix'.
16126 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16127 `prefix-face' and propertize the prefix with `prefix-face'.
16128 (Bug#14017)
16129
16130 2013-03-24 Leo Liu <sdl.web@gmail.com>
16131
16132 * nxml/rng-valid.el (rng-validate-while-idle)
16133 (rng-validate-quick-while-idle): Guard against deleted buffer.
16134 (Bug#13999)
16135
16136 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16137 is the last entry in kill-buffer-hook.
16138
16139 * files.el (kill-buffer-hook): Doc fix.
16140
16141 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16142
16143 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16144 Make it safe-local.
16145
16146 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16147
16148 2013-03-23 Leo Liu <sdl.web@gmail.com>
16149
16150 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16151 Remove.
16152
16153 * nxml/rng-valid.el (rng-validate-mode)
16154 (rng-after-change-function, rng-do-some-validation):
16155 * nxml/rng-maint.el (rng-validate-buffer):
16156 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16157 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16158 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16159 (nxml-extend-after-change-region): Use with-silent-modifications.
16160
16161 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16162 timer-idle-list.
16163
16164 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16165 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16166 timer-idle-list. (Bug#13999)
16167
16168 2013-03-23 Juri Linkov <juri@jurta.org>
16169
16170 * info.el (info-index-match): New face.
16171 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16172 main pattern and add text properties with the new face to matches
16173 in index entries relative to the beginning of the index entry.
16174 (Bug#14015)
16175
16176 2013-03-21 Eric Ludlam <zappo@gnu.org>
16177
16178 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16179 Inhibit read only while inserting objects.
16180
16181 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16182
16183 * progmodes/cfengine.el: Update docs to mention
16184 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16185 symbol motion. Remove "_" from the word syntax.
16186
16187 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16188
16189 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16190 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16191
16192 2013-03-20 Juri Linkov <juri@jurta.org>
16193
16194 * info.el (Info-next-reference-or-link)
16195 (Info-prev-reference-or-link): New functions.
16196 (Info-next-reference, Info-prev-reference): Use them.
16197 (Info-try-follow-nearest-node): Handle footnote navigation.
16198 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16199
16200 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16201
16202 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16203 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16204
16205 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16206
16207 Suppress unnecessary non-ASCII chatter during build process.
16208 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16209 (batch-skkdic-convert): Suppress most of the chatter.
16210 It's not needed so much now that machines are faster,
16211 and its non-ASCII component was confusing; see Dmitry Gutov in
16212 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16213
16214 2013-03-20 Leo Liu <sdl.web@gmail.com>
16215
16216 * ido.el (ido-chop): Fix bug#10994.
16217
16218 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16219
16220 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16221 Remove vars.
16222 (whitespace-color-on, whitespace-color-off):
16223 Use `font-lock-fontify-buffer' (Bug#13817).
16224
16225 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16226
16227 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16228 remapping in mode-line.
16229 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16230
16231 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16232
16233 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16234 value for `whitespace-line' face (Bug#13875).
16235 (whitespace-font-lock-keywords): Change description.
16236 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16237 the constructed keywords instead.
16238 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16239
16240 2013-03-19 Leo Liu <sdl.web@gmail.com>
16241
16242 * progmodes/compile.el (compilation-display-error): New command.
16243 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16244 C-o. (Bug#13992)
16245
16246 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16247
16248 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16249
16250 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16251
16252 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16253
16254 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16255
16256 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16257
16258 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16259 * net/tramp-gvfs.el (top):
16260 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16261 (tramp-handle-shell-command): Use it.
16262 (tramp-dissect-file-name): Raise an error when hostname is a
16263 method name, and neither method nor user is specified.
16264
16265 * net/trampver.el: Update release number.
16266
16267 2013-03-18 Leo Liu <sdl.web@gmail.com>
16268
16269 Make sure eldoc can be turned off properly.
16270 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16271 eldoc-mode.
16272 (eldoc-display-message-p): Revert last change.
16273 (eldoc-display-message-no-interference-p)
16274 (eldoc-print-current-symbol-info): Tweak.
16275
16276 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16277
16278 * doc-view.el (doc-view-new-window-function): Check the new window
16279 overlay's display property instead the char property of the
16280 buffer's first char. Use `with-selected-window' instead of
16281 `save-window-excursion' with `select-window'.
16282 (doc-view-document->bitmap): Check the current doc-view overlay's
16283 display property instead the char property of the buffer's first char.
16284
16285 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16286
16287 Automate the build of ja-dic.el (Bug#13984).
16288 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16289 from the input, rather than assume that it's been done for us by the
16290 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16291 the current date into a ja-dic.el comment, as that complicates
16292 regression testing.
16293
16294 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16295
16296 * whitespace.el: Fix double evaluation.
16297 (whitespace-space, whitespace-hspace, whitespace-tab)
16298 (whitespace-newline, whitespace-trailing, whitespace-line)
16299 (whitespace-space-before-tab, whitespace-indentation)
16300 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16301 obsolete defvars.
16302 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16303 (whitespace-color-on): Use a single font-lock-add-keywords call.
16304 Fix double-evaluation of face variables.
16305
16306 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16307
16308 * net/tramp-adb.el (tramp-adb-parse-device-names):
16309 Use `start-process' instead of `call-process'. Otherwise, the
16310 function might be blocked under MS Windows. (Bug#13299)
16311
16312 2013-03-17 Leo Liu <sdl.web@gmail.com>
16313
16314 Extend eldoc to display info in the mode-line. (Bug#13978)
16315 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16316 (eldoc-mode-line-string): New variable.
16317 (eldoc-minibuffer-message): New function.
16318 (eldoc-message-function): New variable.
16319 (eldoc-message): Use it.
16320 (eldoc-display-message-p)
16321 (eldoc-display-message-no-interference-p):
16322 Support eldoc-post-insert-mode.
16323
16324 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16325 (eval-expression): Run it.
16326
16327 2013-03-17 Roland Winkler <winkler@gnu.org>
16328
16329 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16330 strings in the list of return values.
16331
16332 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16333
16334 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16335 radix before checking for HMS forms.
16336
16337 2013-03-16 Leo Liu <sdl.web@gmail.com>
16338
16339 * progmodes/scheme.el: Add indentation and font-locking for λ.
16340 (Bug#13975)
16341
16342 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16343
16344 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16345 token before point (bug#13942).
16346
16347 2013-03-16 Leo Liu <sdl.web@gmail.com>
16348
16349 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16350
16351 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16352
16353 * startup.el (command-line-normalize-file-name): Fix handling of
16354 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16355 <xfq.free@gmail.com> in
16356 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16357
16358 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16359
16360 Sync with Tramp 2.2.7.
16361
16362 * net/trampver.el: Update release number.
16363
16364 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16365
16366 * doc-view.el: Fix bug#13887.
16367 (doc-view-insert-image): Don't modify overlay associated to
16368 non-live windows, and implement horizontal centering of image in
16369 case it's smaller than the window.
16370 (doc-view-new-window-function): Force redisplay of new windows on
16371 doc-view buffers.
16372
16373 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16374
16375 * saveplace.el (save-place-alist-to-file): Don't sort
16376 `save-place-alist', just pretty-print it (bug#13882).
16377
16378 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16379
16380 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16381 Check whether `default-file-name-coding-system' is bound.
16382 It isn't in XEmacs.
16383
16384 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16385
16386 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16387 backquotes for `obsolete' (bug#13929).
16388
16389 * international/mule.el (find-auto-coding): Include file name in
16390 obsolescence warning (bug#13922).
16391
16392 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16393
16394 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16395 for CFEngine 3-specific indentation.
16396 (cfengine3-indent-line): Use it. Fix up category regex.
16397 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16398
16399 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16400
16401 * type-break.el (type-break-file-name):
16402 * textmodes/remember.el (remember-data-file):
16403 * strokes.el (strokes-file):
16404 * shadowfile.el (shadow-initialize):
16405 * saveplace.el (save-place-file):
16406 * ps-bdf.el (bdf-cache-file):
16407 * progmodes/idlwave.el (idlwave-config-directory):
16408 * net/quickurl.el (quickurl-url-file):
16409 * international/kkc.el (kkc-init-file-name):
16410 * ido.el (ido-save-directory-list-file):
16411 * emulation/viper.el (viper-custom-file-name):
16412 * emulation/vip.el (vip-startup-file):
16413 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16414 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16415
16416 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16417
16418 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16419 * language/thai-word.el: Switch to UTF-8.
16420
16421 See ChangeLog.16 for earlier changes.
16422
16423 ;; Local Variables:
16424 ;; coding: utf-8
16425 ;; End:
16426
16427 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16428
16429 This file is part of GNU Emacs.
16430
16431 GNU Emacs is free software: you can redistribute it and/or modify
16432 it under the terms of the GNU General Public License as published by
16433 the Free Software Foundation, either version 3 of the License, or
16434 (at your option) any later version.
16435
16436 GNU Emacs is distributed in the hope that it will be useful,
16437 but WITHOUT ANY WARRANTY; without even the implied warranty of
16438 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16439 GNU General Public License for more details.
16440
16441 You should have received a copy of the GNU General Public License
16442 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.