]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Define MINGW_W64 and use it instead of _W64
[gnu-emacs] / lisp / ChangeLog
1 2014-11-17 Eli Zaretskii <eliz@gnu.org>
2
3 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4 Don't assume --long is the default for "bzr log", always specify
5 it explicitly, in case the user defined an alias for 'log' that
6 uses some other format.
7
8 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
9
10 * progmodes/python.el (python-eldoc--get-doc-at-point): Strip
11 shell output before returning. (bug#18794)
12
13 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
14
15 Fix indentation before `!=' and after `+='. Originally reported
16 in https://github.com/mooz/js2-mode/issues/174.
17 * progmodes/js.el (js--indent-operator-re): Make assignments and
18 (in)equality operator a separate case.
19 (js--continued-expression-p): Escape the second `+' in the regexp.
20
21 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
24
25 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
26
27 * version.el (emacs-repository-get-version): Use git rev-parse
28 instead of git log.
29
30 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
31
32 * progmodes/python.el (python-indent-calculate-levels): Fix
33 indentation behavior multiline dedenter statement. (Bug#18432)
34
35 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
36
37 * progmodes/python.el (python-indent-region): Use
38 python-indent-line and skip special cases. (Bug#18843)
39
40 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
41
42 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
43
44 2014-10-28 Peder O. Klingenberg <peder@klingenberg.no> (tiny change)
45
46 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
47 envelope-from when reporting through sendmail (bug#19054).
48
49 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
50
51 * progmodes/python.el (python-ffap-module-path): Use
52 `derived-mode-p' instead of equality test on `major-mode'.
53
54 2014-11-13 Ulrich Müller <ulm@gentoo.org>
55
56 * version.el (emacs-repository-get-version): Call `git log'
57 command with proper format argument (bug#19049).
58
59 2014-11-10 Glenn Morris <rgm@gnu.org>
60
61 * startup.el (command-line): Handle nil elements in load-path.
62
63 2014-11-08 Glenn Morris <rgm@gnu.org>
64
65 * emacs-lisp/bytecomp.el (byte-compile-report-error):
66 Allow the argument to be a string. Due to the vague doc,
67 it was already being used this way.
68
69 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
70
71 * net/tramp.el (tramp-check-cached-permissions): Include hop in
72 the constructed Tramp file name. (Bug#18943)
73
74 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
77 (bug#18952).
78 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
79 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
80
81 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
82
83 * files.el (file-name-non-special): Wrap the call of
84 `insert-file-contents' by `unwind-protect', in order to set the
85 buffer's file name anyway. (Bug#18891)
86
87 2014-11-07 Daiki Ueno <ueno@gnu.org>
88
89 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
90 (bug#18979). Reported by Hideki Saito.
91
92 2014-10-18 Alan Mackenzie <acm@muc.de>
93
94 Check that a "macro" found near point-min isn't a ## operator.
95 Fixes bug #18749. Backported from trunk, 2014-11-05.
96 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
97 (c-beginning-of-macro): Use the above new function.
98
99 2014-11-05 Alan Mackenzie <acm@muc.de>
100
101 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
102 * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
103 "(point-max)" as bound to c-font-lock-declarators, not "limit", as
104 the buffer is sometimes narrowed to less than "limit" (e.g., in
105 the presence of macros).
106
107 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
108
109 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
110 only when message appeared in minibuffer. (Bug#18891)
111
112 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
113 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
114 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
115 case of errors.
116
117 2014-11-04 Eli Zaretskii <eliz@gnu.org>
118
119 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
120 returned by load-average.
121
122 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
123
124 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
125 a local copy; setting `inhibit-file-name-handlers' proper might be
126 more performant. (Bug#18751)
127
128 2014-11-04 Glenn Morris <rgm@gnu.org>
129
130 * mail/emacsbug.el (report-emacs-bug): No longer include
131 recent-keys in the report. (Bug#18900)
132
133 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
134
135 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
136 local copy of FILENAME, when it is remote. (Bug#18751)
137
138 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
139
140 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
141 an error when the command fails; the return code must indicate.
142 (tramp-adb-send-command-and-check): Fix docstring.
143
144 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
145
146 * net/tramp-cache.el (tramp-get-file-property)
147 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
148 and `tramp-cache-set-count-*' are bound. Otherwise, there might
149 be compiler warnings.
150
151 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
152 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
153
154 2014-11-01 Eli Zaretskii <eliz@gnu.org>
155
156 * progmodes/compile.el (compilation-mode): Turn off deferred
157 fontifications locally. (Bug#18856)
158
159 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
160
161 * net/tramp-sh.el (tramp-send-command): Fix the case where the
162 remote-echo connection property is non-nil (bug#18858).
163
164 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
165
166 Backport Tramp changes from trunk.
167
168 * net/tramp.el (tramp-methods): Tweak docstring.
169 (tramp-file-name-handler): Apply `cons' where appropriate.
170 (tramp-handle-file-accessible-directory-p): Check for
171 `file-readable-p' instead of `file-executable-p'.
172 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
173 (tramp-handle-unhandled-file-name-directory): Return "/".
174 (tramp-check-cached-permissions):
175 Use `tramp-compat-file-attributes'.
176 (tramp-call-process): Add new argument VEC. Adapt callees in all
177 tramp*.el files.
178
179 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
180 (tramp-adb-handle-write-region): Improve messages.
181 (tramp-adb-maybe-open-connection): Don't set
182 `tramp-current-*' variables.
183
184 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
185 Suppress debug messages.
186
187 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
188 (tramp-ftp-file-name-handler):
189
190 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
191 (tramp-gvfs-methods-mounttracker)
192 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
193 during initialization. (Bug#18774)
194 (tramp-gvfs-handle-delete-file): Flush file properties, not
195 directory properties.
196 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
197 reading "unix::mode".
198 (tramp-gvfs-handle-file-name-all-completions):
199 Use "-h" option for "gvfs-ls".
200 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
201 `user' and `localname' could be nil.
202 (tramp-gvfs-send-command): Simplify traces.
203
204 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
205 (vc-git-program, vc-hg-program): Declare.
206 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
207 (tramp-methods) <nc>: Add new method.
208 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
209 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
210 `tramp-login-args'.
211 (tramp-default-user-alist): Add "nc".
212 (top): Remove completion function for "sftp". Add completion
213 functions for "nc" and "psftp".
214 (tramp-sh-handle-set-visited-file-modtime):
215 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
216 (tramp-do-copy-or-rename-file-out-of-band):
217 Use cached "remote-copy-args" value, if available. (Bug#18199)
218 Tweak docstring. Implement support for "nc" method.
219 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
220 (tramp-remote-coding-commands, tramp-call-local-coding-command):
221 Tweak docstring.
222 (tramp-sh-handle-start-file-process): Expand `default-directory'.
223 (tramp-sh-handle-write-region): Tweak error message.
224 (tramp-sh-handle-vc-registered): Remove backends when the remote
225 binary does not exist.
226 (tramp-open-connection-setup-interactive-shell):
227 Prefer utf-8 coding. (Bug#17859)
228 (tramp-find-inline-encoding): Do not raise an error.
229 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
230 the "nc" case. Quote result also locally.
231 (tramp-get-remote-id): Check also for "gid".
232 (tramp-get-remote-python):
233
234 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
235 (tramp-smb-handle-set-file-acl): Use `start-process'.
236 (tramp-smb-handle-insert-directory): Use progress reporter.
237 (tramp-smb-handle-rename-file): Flush also file properties of
238 FILENAME.
239
240 * net/trampver.el: Update release number.
241
242 2014-11-01 Reuben Thomas <rrt@sc3d.org>
243
244 * net/tramp.el (tramp-handle-file-symlink-p):
245 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
246 about VMS, which we no longer support.
247
248 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
251 the global vc-handled-backends (bug#18535).
252
253 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
254 Michael Albinus <michael.albinus@gmx.de>
255
256 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
257 Reduce the amount of set environment variable commands.
258
259 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
260
261 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
262 current-time.
263
264 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
265
266 * net/tramp-sh.el (tramp-get-remote-python): Also search for
267 executables named "python2" or "python3".
268 (tramp-get-remote-uid-with-python): Use parentheses around
269 arguments to `print' to make it compatible with Python 3.
270 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
271
272 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * simple.el (newline): Add assertions to try and help catch bug#18913.
275
276 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
277 (bug#18886).
278 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
279
280 2014-10-31 Eli Zaretskii <eliz@gnu.org>
281
282 * Makefile.in (repo-update): Fix a typo and slightly reword
283 commentary.
284
285 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
286
287 * Makefile.in: Change some production names so they're neutral
288 about the repository type.
289
290 2014-10-30 Kim F. Storm <storm@cua.dk>
291
292 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
293 * delsel.el (delete-selection-save-to-register)
294 (delsel--replace-text-or-position): New vars.
295 (delete-active-region): Use them.
296 (delete-selection-repeat-replace-region): New command, moved from
297 cua-base.el.
298 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
299 (cua-repeat-replace-region): Move command to delsel.el.
300 (cua--init-keymaps): Update binding accordingly.
301 (cua-mode): Set delete-selection-save-to-register.
302
303 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
306 (c-lang-defconst):
307 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
308
309 2014-10-29 Eli Zaretskii <eliz@gnu.org>
310
311 * progmodes/compile.el (compilation-start):
312 If compilation-scroll-output is non-nil, don't force window-start of
313 the compilation buffer to be at beginning of buffer. (Bug#18874)
314
315 2014-10-23 Tassilo Horn <tsdh@gnu.org>
316
317 * doc-view.el (doc-view-open-text): View the document's plain text
318 in the current buffer instead of a new one.
319 (doc-view-toggle-display): Handle the case where the current
320 buffer contains the plain text contents of the document.
321 (doc-view-initiate-display): Don't switch to fallback mode if the
322 user wants to view the doc's plain text. [Backport]
323
324 2014-10-23 Eli Zaretskii <eliz@gnu.org>
325
326 * startup.el (fancy-about-text): Read the entire tutorial, not
327 just its first 256 bytes. (Bug#18760)
328
329 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
332 * emacs-lisp/cl-extra.el: Add missing provide.
333
334 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
335
336 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
337 all args are copyable (bug#18767).
338 (=, <, >, <=, >=): Re-enable the optimization.
339
340 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
341
342 * vc/vc-hg.el (vc-hg-log-graph): New var.
343 (vc-hg-print-log): Use it.
344 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
345 graph output (bug#17515).
346
347 2014-10-20 Juri Linkov <juri@jurta.org>
348
349 * vc/diff-mode.el (diff-refine-changed): Rename from
350 `diff-refine-change' for consistency with `diff-changed'.
351 (diff-refine-change): Add obsolete face alias. (Bug#10181)
352
353 * vc/smerge-mode.el (smerge-refined-changed): Rename from
354 `smerge-refined-change'.
355 (smerge-refined-change): Add obsolete face alias.
356
357 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * subr.el (call-process-shell-command, process-file-shell-command):
360 Make the `args' obsolete (bug#18409).
361 (start-process-shell-command, start-file-process-shell-command):
362 Use `declare'.
363
364 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
365
366 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
367
368 2014-10-20 Glenn Morris <rgm@gnu.org>
369
370 * dired.el (dired-read-regexp): Make obsolete.
371 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
372 (dired-flag-files-regexp):
373 * dired-aux.el (dired-mark-read-regexp):
374 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
375
376 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * progmodes/python.el (inferior-python-mode): Use add-hook.
379
380 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
381
382 2014-10-20 Glenn Morris <rgm@gnu.org>
383
384 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
385 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
386 * emulation/ws-mode.el: Move to obsolete/. [Backport]
387
388 2014-10-20 Glenn Morris <rgm@gnu.org>
389
390 * cus-start.el (history-length): Bump :version. [Backport]
391
392 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * obsolete/cc-compat.el: Make obsolete (bug#18561).
395
396 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
397
398 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
399 case (bug#18767).
400
401 2014-10-20 Glenn Morris <rgm@gnu.org>
402
403 * Version 24.4 released.
404
405 2014-10-15 Alan Mackenzie <acm@muc.de>
406
407 * cus-edit.el (custom-command-apply): Specify the return value in
408 the doc string.
409 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
410 custom-command-apply has returned non-nil.
411
412 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
415 Backported (bug#18688).
416
417 2014-10-14 Eli Zaretskii <eliz@gnu.org>
418
419 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
420 Force bidi-paragraph-direction to 'left-to-right'. This fixes
421 buffer-menu display when the first buffer happens to start with
422 R2L letter.
423
424 2014-10-13 Glenn Morris <rgm@gnu.org>
425
426 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
427 (authors-obsolete-files-regexps): Additions.
428 (authors-no-scan-regexps): New constant.
429 (authors-no-scan-file-p): New function.
430 (authors): Respect authors-no-scan-file-p.
431
432 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
433
434 Fix import completion. (Bug#18582)
435 * progmodes/python.el (python-shell-completion-get-completions):
436 Fix import case regexp.
437
438 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
439
440 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
441 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
442 * progmodes/prolog.el (prolog-electric--underscore): Same.
443
444 2014-10-09 Glenn Morris <rgm@gnu.org>
445
446 * frame.el (display-monitor-attributes-list): Doc tweaks.
447
448 2014-10-08 Eli Zaretskii <eliz@gnu.org>
449
450 * faces.el (display-grayscale-p): Mention in the doc string that
451 the argument can be either a display name or a frame.
452
453 * frame.el (display-pixel-height, display-pixel-width)
454 (display-mm-height, display-mm-width, display-backing-store)
455 (display-save-under, display-planes, display-color-cells)
456 (display-visual-class, display-monitor-attributes-list)
457 (display-screens): Mention in the doc string that the argument can
458 be either a display name or a frame. Improve the docs of the
459 monitor attributes. (Bug#18636)
460
461 2014-10-06 Martin Rudalics <rudalics@gmx.at>
462
463 * term.el (term-window-width): Subtract 1 from the width when
464 any fringe has zero width, not just the right fringe. (Bug#18601)
465
466 2014-10-05 Leo Liu <sdl.web@gmail.com>
467
468 * imenu.el (imenu-default-goto-function): Fix typo.
469
470 2014-10-04 Glenn Morris <rgm@gnu.org>
471
472 * frame.el (frame-monitor-attributes)
473 (display-monitor-attributes-list): Doc fixes.
474
475 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
476
477 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
478 (vc-svn-ignore): Use it. (Bug#18619)
479
480 2014-10-03 Martin Rudalics <rudalics@gmx.at>
481
482 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
483 In doc-string mention need to set `frame-resize-pixelwise'.
484
485 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
488 similarly to Rogers's 2010-06-16 change for the remote case
489 (bug#18605).
490
491 2014-10-01 Glenn Morris <rgm@gnu.org>
492
493 * emacs-lisp/package.el (package-import-keyring):
494 Create gnupg directory private. (Bug#17625#155)
495
496 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * progmodes/python.el (python-shell-completion-get-completions):
499 Use python-shell--prompt-calculated-input-regexp from the
500 process buffer (bug#18582).
501 Don't assume that `line' comes from the process buffer.
502
503 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
504
505 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
506 (bug#18462).
507
508 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * emacs-lisp/package.el (package-check-signature): Default to nil if
511 GPG is not available.
512 (package-refresh-contents): Don't mess with the keyring if we won't
513 check the signatures anyway.
514
515 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
516
517 * window.el (fit-window-to-buffer): When counting buffer width,
518 count the whole visible buffer. Correctly convert the body-height
519 to pixel size for window-text-pixel-size (Bug#18498).
520
521 2014-09-14 Glenn Morris <rgm@gnu.org>
522
523 * image.el (image-multi-frame-p): Fix thinko - do not force
524 a delay if none was specified. (Bug#18334)
525
526 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
527
528 * window.el (fit-window-to-buffer): Doc fix.
529
530 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
531
532 * desktop.el (desktop-create-buffer): Check that buffers are still live
533 before burying them (bug#18373).
534
535 2014-09-09 Glenn Morris <rgm@gnu.org>
536
537 * calendar/diary-lib.el (diary-list-entries):
538 Restore 24.3 display behavior. (Bug#18381)
539
540 2014-09-09 Eli Zaretskii <eliz@gnu.org>
541
542 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
543 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
544 discrepancy between window-pixel-edges and mouse events, and
545 avoids moving mode line up when the mouse click is on the modeline
546 and no drag is attempted.
547
548 2014-09-08 Glenn Morris <rgm@gnu.org>
549
550 * calendar/calendar.el (calendar-basic-setup):
551 Avoid clobbering calendar with diary. (Bug#18381)
552
553 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
556
557 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
558
559 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
560 as well (bug#18400).
561
562 2014-09-04 Eli Zaretskii <eliz@gnu.org>
563
564 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
565
566 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 * emacs-lisp/package.el (package-generate-description-file):
569 Properly quote the arguments (bug#18332). Change second arg.
570 (package--alist-to-plist-args): Rename from package--alist-to-plist and
571 quote the elements.
572 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
573 the *-pkg.el file. Adjust to new calling convention of
574 package-generate-description-file.
575
576 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
577 (gud-gdb-completions): Remove obsolete workaround.
578
579 2014-09-02 Eli Zaretskii <eliz@gnu.org>
580
581 * subr.el (posn-col-row): Revert the change from commit
582 2010-11-13T21:07:58Z!eliz@gnu.org, which
583 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
584 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
585 introduced an off-by-one error in the reported row when there is a
586 header line. (Bug#18384)
587
588 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
589
590 * progmodes/python.el (python-indent-post-self-insert-function):
591 Avoid electric colon at beginning-of-defun. (Bug#18228)
592
593 2014-09-01 Glenn Morris <rgm@gnu.org>
594
595 * tutorial.el (tutorial--display-changes):
596 Fix 2014-07-29 change. (Bug#18382)
597
598 2014-08-29 Ken Brown <kbrown@cornell.edu>
599
600 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
601 the Cygwin-w32 build. (Bug#18347)
602
603 2014-08-28 Glenn Morris <rgm@gnu.org>
604
605 * tar-mode.el (tar--extract, tar-extract):
606 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
607
608 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
609
610 * emacs-lisp/authors.el (authors-aliases): Addition.
611
612 * net/tramp-adb.el: Spell author name correctly.
613
614 2014-08-27 João Távora <joaotavora@gmail.com>
615
616 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
617 use url-expand-file-name. (Bug#18310)
618
619 2014-08-25 Glenn Morris <rgm@gnu.org>
620
621 * emulation/cua-rect.el (cua--highlight-rectangle):
622 Avoid error at point-min. (Bug#18309)
623
624 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
627 executable-find (bug#18244).
628
629 * simple.el (self-insert-uses-region-functions): Defvar.
630
631 2014-08-13 Leo Liu <sdl.web@gmail.com>
632
633 * speedbar.el (speedbar-generic-list-tag-p): Allow special
634 elements from imenu.
635
636 2014-08-11 Glenn Morris <rgm@gnu.org>
637
638 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
639
640 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
641 chose coding system for writing before backing up, since it causes
642 a more serious problem than the one it solves. (Closes Bug#18141,
643 reopens Bug#13522.)
644
645 2014-08-10 Martin Rudalics <rudalics@gmx.at>
646
647 * window.el (window-total-size): Make doc-string more
648 self-contained.
649
650 2014-08-09 Martin Rudalics <rudalics@gmx.at>
651
652 * window.el (display-buffer-below-selected): Restore original
653 behavior if buffer is already displayed in the window below the
654 selected one (Bug#18181).
655
656 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
659 event (bug#18212).
660
661 2014-08-08 Eli Zaretskii <eliz@gnu.org>
662
663 * info.el (info): Doc fix.
664
665 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * info.el (Info-mode-map): Override a global down-mouse-2 binding
668 (bug#18212).
669
670 2014-08-05 Eli Zaretskii <eliz@gnu.org>
671
672 * simple.el (default-line-height): A floating-point value of
673 line-spacing means a fraction of the default frame font's height,
674 not of the font currently used by the 'default' face.
675 Truncate the pixel value, like the display engine does.
676 (window-screen-lines): Use window-inside-pixel-edges for
677 determining the window height in pixels. (Bug#18195)
678
679 2014-07-29 Eli Zaretskii <eliz@gnu.org>
680
681 * tutorial.el (tutorial--display-changes): Accept punctuation
682 characters before the key binding. (Bug#18146)
683
684 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
685
686 * doc-view.el (doc-view-open-text): Don't require that the
687 document is saved in a file (e.g., email attachment).
688
689 2014-07-27 Eli Zaretskii <eliz@gnu.org>
690
691 * window.el (window--pixel-to-total): Use FRAME's root window, not
692 that of the selected frame. (Bug#18112, Bug#16674)
693
694 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
695
696 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
697 (Bug#18117)
698
699 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
700
701 * progmodes/python.el (inferior-python-mode): Doc fix.
702
703 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
704
705 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
706 not a character, ignore it instead of raising an error.
707
708 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
709
710 * calendar/todo-mode.el: Fix handling of marked items and make
711 minor code improvements.
712 (todo-edit-item): If there are marked items, ensure user can only
713 invoke editing commands that work with marked items.
714 (todo-edit-item--text): When there are marked items, make it a
715 noop if invoked with point not on an item; otherwise, ensure it
716 applies only to item at point.
717 (todo-item-undone): If there are marked not-done items, return
718 point to its original position before signaling user error.
719 (todo--user-error-if-marked-done-item): New function.
720 (todo-edit-item--header, todo-edit-item--diary-inclusion)
721 (todo-item-done): Use it.
722
723 2014-07-25 Glenn Morris <rgm@gnu.org>
724
725 * files.el (toggle-read-only): Re-add basic doc-string.
726 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
727
728 * progmodes/prolog.el (prolog-mode-keybindings-edit):
729 Replace missing `switch-to-prolog' with `run-prolog'.
730 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
731
732 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
733
734 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
735 of file-wide setting when changing category-wide setting.
736
737 2014-07-21 Glenn Morris <rgm@gnu.org>
738
739 * progmodes/hideif.el (hide-ifdef-mode-submap):
740 Also substitute read-only-mode.
741 * bindings.el (mode-line-toggle-read-only):
742 * bs.el (bs-toggle-readonly):
743 * buff-menu.el (Buffer-menu-toggle-read-only):
744 * dired.el (dired-toggle-read-only):
745 * files.el (view-read-only, find-file-read-only)
746 (find-file-read-only-other-window)
747 (find-file-read-only-other-frame):
748 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
749 Doc fixes re toggle-read-only.
750
751 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
752
753 * progmodes/python.el: Add comment about pipe buffering and
754 solutions for missing/delayed output in inferior Python shells.
755 (Bug#17304)
756
757 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
758
759 * progmodes/python.el (python-mode): Don't set
760 mode-require-final-newline. (Bug#17990)
761
762 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
763
764 Make python.el work with IPython automatically. (Bug#15510)
765 * progmodes/python.el:
766 (python-shell-completion-setup-code): New value supporting iPython.
767 (python-shell-completion-string-code): New value supporting iPython.
768 (python-shell-completion-get-completions): Use them.
769 (python-shell-completion-module-string-code): Make obsolete.
770 (python-shell-prompt-input-regexps)
771 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
772 (python-shell-output-filter): Fix comment typo.
773
774 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
775
776 Fix Python shell prompts detection for remote hosts.
777 * progmodes/python.el (python-shell-prompt-detect):
778 Replace call-process with process-file and make it more robust.
779
780 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
781
782 Autodetect Python shell prompts. (Bug#17370)
783 * progmodes/python.el:
784 (python-shell-interpreter-interactive-arg)
785 (python-shell-prompt-detect-enabled)
786 (python-shell-prompt-detect-failure-warning)
787 (python-shell-prompt-input-regexps)
788 (python-shell-prompt-output-regexps): New vars.
789 (python-shell-prompt-calculated-input-regexp)
790 (python-shell-prompt-calculated-output-regexp): New vars.
791 (python-shell-get-process-name)
792 (python-shell-internal-get-process-name)
793 (python-shell-output-filter)
794 (python-shell-completion-get-completions): Use them.
795 (python-shell-prompt-detect)
796 (python-shell-prompt-validate-regexps): New functions.
797 (python-shell-prompt-set-calculated-regexps): New function.
798 (inferior-python-mode): Use it. Also honor overridden
799 python-shell-interpreter and python-shell-interpreter-args.
800 (python-shell-make-comint): Honor overridden
801 python-shell-interpreter and python-shell-interpreter-args.
802 (python-shell-get-or-create-process): Make it testable by allowing
803 to call run-python non-interactively.
804 (python-util-valid-regexp-p): New function.
805 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
806 (python-shell-prompt-output-regexp)
807 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
808
809 2014-07-16 Glenn Morris <rgm@gnu.org>
810
811 * desktop.el (after-init-hook): Disable startup frame restoration
812 in non-graphical situations. (Bug#17693)
813
814 2014-07-14 Glenn Morris <rgm@gnu.org>
815
816 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
817 if it was "empty", or used for a different set of files. (Bug#17884)
818
819 2014-07-13 Eli Zaretskii <eliz@gnu.org>
820
821 * bindings.el (mode-line-remote): If default-directory is not a
822 string, don't call file-remote-p on it; instead state in the
823 help-echo that it is nil. (Bug#17986)
824
825 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
826
827 Fix bug: C-x v v discarded existing log message (Bug#17884).
828 * vc/vc-dispatcher.el (vc-log-edit):
829 Don't clobber an already-existing log message.
830
831 2014-07-10 Glenn Morris <rgm@gnu.org>
832
833 * vc/log-edit.el (log-edit-changelog-entries):
834 Check for a visited-but-never-saved ChangeLog.
835
836 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
839 a non-existing file (bug#17970).
840
841 * faces.el (face-name): Undo last change.
842 (x-resolve-font-name): Don't call face-name (bug#17956).
843
844 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
845
846 Fix dedenters and electric colon handling. (Bug#15163)
847
848 * progmodes/python.el
849 (python-rx-constituents): Add dedenter and block-ender.
850 (python-indent-dedenters, python-indent-block-enders): Delete.
851 (python-indent-context): Return new case for dedenter-statement.
852 (python-indent-calculate-indentation): Handle new case.
853 (python-indent-calculate-levels): Fix levels calculation for
854 dedenter statements.
855 (python-indent-post-self-insert-function): Fix colon handling.
856 (python-info-dedenter-opening-block-message): New function.
857 (python-indent-line): Use it.
858 (python-info-closing-block)
859 (python-info-closing-block-message): Remove.
860 (python-info-dedenter-opening-block-position)
861 (python-info-dedenter-opening-block-positions)
862 (python-info-dedenter-statement-p): New functions.
863
864 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
867 the middle of a line (bug#17896).
868
869 2014-07-08 Juri Linkov <juri@jurta.org>
870
871 * startup.el (command-line): Append displaying the warning about
872 the errors in the init file to the end of `after-init-hook'.
873 (Bug#17927)
874
875 2014-07-08 Juri Linkov <juri@jurta.org>
876
877 * faces.el (face-name): Return input arg `face' as is
878 when it's not a symbol.
879 (x-resolve-font-name): Don't check if the face is a symbol.
880 (Bug#17956)
881
882 2014-07-08 Juri Linkov <juri@jurta.org>
883
884 * facemenu.el (list-colors-print): In help-echo format use %.2f
885 instead of %d because now HSV values are floating-point components
886 between 0.0 and 1.0.
887
888 2014-07-06 Glenn Morris <rgm@gnu.org>
889
890 * emulation/cua-rect.el (cua--activate-rectangle):
891 Avoid setting cua--rectangle to nil. (Bug#17877)
892
893 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
894
895 * calendar/todo-mode.el: Fix wrong-type-argument error when
896 marking multiple consecutive items.
897 (todo-toggle-mark-item): Don't try to mark the empty lines at the
898 end of the todo and done items sections. Note in doc string that
899 items marked by passing a numeric prefix argument can include the
900 last todo and first done items.
901 (todo-mark-category): Don't try to mark the empty line between the
902 todo and done items sections.
903
904 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
907 proper Lisp quoting (bug#17934).
908
909 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
910 require-final-newline since prog-mode already took care of it (bug#17947).
911
912 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
913
914 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
915 refer to the Todo mode Info manual. Update the comment on
916 requiring cl-lib.
917 (todo-find-filtered-items-file): Add todo-prefix overlays.
918 (todo-filter-items): Reorder a let-bound variable to avoid a
919 wrong-type-argument error on canceling the file choice dialog.
920
921 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * progmodes/octave.el (inferior-octave-mode):
924 Set comint-input-ring-size to a number (bug#17912).
925
926 2014-07-03 Juri Linkov <juri@jurta.org>
927
928 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
929 and `isearch-mode' associated with nil. (Bug#17849)
930
931 2014-07-02 Juri Linkov <juri@jurta.org>
932
933 * desktop.el (desktop-save): Rename arg `auto-save' to
934 `only-if-changed'. Doc fix. (Bug#17873)
935
936 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
939 Use insert-for-yank (bug#17271).
940
941 2014-07-02 Leo Liu <sdl.web@gmail.com>
942
943 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
944 Support lexical-binding.
945
946 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * vc/log-edit.el (log-edit-goto-eoh): New function.
949 (log-edit--match-first-line): Use it (bug#17861).
950
951 2014-07-01 Glenn Morris <rgm@gnu.org>
952
953 * vc/log-edit.el (log-edit-hook): Add missing :version.
954
955 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
956
957 * progmodes/python.el (python-indent-post-self-insert-function):
958 Enhancements to electric indentation behavior inside
959 parens. (Bug#17658)
960
961 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
964 buffer-invisibility-spec (bug#17867).
965
966 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
967
968 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
969 pass "-a".
970
971 2014-06-29 Glenn Morris <rgm@gnu.org>
972
973 * cus-edit.el (help):
974 * finder.el (finder-known-keywords):
975 * help.el (help-for-help-internal):
976 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
977 (ediff-redraw-registry-buffer):
978 * vc/ediff-ptch.el (ediff-patch-file-internal):
979 Doc fixes re "online" help. (Bug#17803)
980
981 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
982 (idlwave-mode): Doc URL update.
983
984 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
985
986 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
987 account for file-wide setting of todo-top-priorities-overrides.
988 Make code a bit cleaner.
989
990 2014-06-27 Leo Liu <sdl.web@gmail.com>
991
992 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
993
994 2014-06-27 Glenn Morris <rgm@gnu.org>
995
996 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
997
998 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
999
1000 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1001 category-wide setting of todo-top-priorities-overrides, check for
1002 a file-wide setting and fontify accordingly.
1003
1004 2014-06-26 Glenn Morris <rgm@gnu.org>
1005
1006 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1007
1008 2014-06-26 Daiki Ueno <ueno@gnu.org>
1009
1010 * emacs-lisp/package.el (package--check-signature):
1011 If package-check-signature is allow-unsigned, don't signal error when
1012 we can't verify signature because of missing public key
1013 (backport for bug#17625).
1014
1015 2014-06-26 Glenn Morris <rgm@gnu.org>
1016
1017 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1018 Remove outdated declaration.
1019
1020 * emacs-lisp/authors.el (authors-valid-file-names)
1021 (authors-renamed-files-alist): Additions.
1022
1023 2014-06-25 Leo Liu <sdl.web@gmail.com>
1024
1025 * textmodes/picture.el (picture-set-tab-stops):
1026 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1027 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1028
1029 * progmodes/asm-mode.el (asm-calculate-indentation):
1030 Use indent-next-tab-stop.
1031
1032 * indent.el (indent-accumulate-tab-stops): New function.
1033
1034 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1037 (package-desc-status): Obey it.
1038
1039 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1040
1041 * calendar/todo-mode.el: Fix two bugs.
1042 (todo-insert-item--basic): If user cancels item insertion to
1043 another category before setting priority, show original category
1044 whether it is in the same or a different file.
1045 (todo-set-item-priority): After selecting category, instead of
1046 moving point to top, which extends an active region, restore it.
1047
1048 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * help-fns.el (describe-function-1): Check file-name is a string before
1051 calling help-fns--autoloaded-p (bug#17564).
1052
1053 2014-06-24 Juri Linkov <juri@jurta.org>
1054
1055 * desktop.el (desktop-auto-save-enable)
1056 (desktop-auto-save-disable): New functions.
1057 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1058 (desktop-read): Disable the autosave before loading the desktop,
1059 and enable afterwards. (Bug#17351)
1060
1061 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1062
1063 Fix some indentation problem with \; and pipes (bug#17842).
1064 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1065 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1066 New functions.
1067 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1068 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1069 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1070
1071 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1072
1073 * international/fontset.el (script-representative-chars):
1074 Add representative characters for scripts added in Unicode 7.0.
1075 (otf-script-alist): Synchronize with the latest registry of OTF
1076 script tags.
1077
1078 * international/characters.el (char-script-table): Update for
1079 scripts added and codepoint ranges changed in Unicode 7.0.
1080
1081 2014-06-23 Leo Liu <sdl.web@gmail.com>
1082
1083 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1084 tab-stop-list to nil. (Bug#16381)
1085
1086 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1087 (indent-rigidly-left-to-tab-stop)
1088 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1089 (move-to-tab-stop): Change callers.
1090
1091 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1092
1093 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1094 wrt behavior of \n as the first/last element of a skeleton.
1095
1096 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1097
1098 * net/tramp-adb.el (tramp-adb-handle-process-file):
1099 * net/tramp-sh.el (tramp-sh-handle-process-file):
1100 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1101 the output buffer when DISPLAY is non-nil. (Bug#17815)
1102
1103 2014-06-21 Glenn Morris <rgm@gnu.org>
1104
1105 * play/landmark.el (landmark-move-down, landmark-move-up):
1106 Fix 2007-10-20 change - preserve horizontal position.
1107
1108 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1109
1110 Fix completion retrieval parsing (bug#17209).
1111 * progmodes/python.el (python-mode):
1112 (python-util-strip-string): New function.
1113 (python-shell-completion-get-completions): Use it.
1114
1115 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1116
1117 * skeleton.el (skeleton-insert): Fix last change.
1118
1119 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1120
1121 Enhancements for outline integration (bug#17796).
1122 * progmodes/python.el (python-mode): Properly set
1123 outline-heading-end-regexp so that comments after colons for
1124 defuns are supported.
1125
1126 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1127
1128 * skeleton.el (skeleton-insert): Doc fix.
1129
1130 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1131
1132 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1133 (smie-config-guess): Use smie-config-local so the rules are obeyed
1134 (bug#17818).
1135
1136 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1137 since it's already done inside the loop (bug#17819).
1138
1139 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1140
1141 * mouse.el (mouse-drag-line): Re-remove code initially removed
1142 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1143 (Bug#17819).
1144
1145 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1148 align with the surrounding parent (bug#17721).
1149
1150 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1151
1152 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1153 locally to nil.
1154 (texinfo-insert-block, texinfo-insert-@end)
1155 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1156 local setting of skeleton-end-newline by adding an explicit \n to
1157 the skeletons where appropriate. (Bug#17801)
1158
1159 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1162 (smie-indent--hanging-p): Use it.
1163 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1164
1165 2014-06-20 Leo Liu <sdl.web@gmail.com>
1166
1167 * simple.el (read-quoted-char): Don't let help chars pop up help
1168 buffer. (Bug#16617)
1169
1170 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1173 for | (bug#17621).
1174
1175 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1178 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1179 burping.
1180
1181 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1182
1183 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1184 and later. (Bug#17790)
1185
1186 2014-06-18 Juri Linkov <juri@jurta.org>
1187
1188 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1189 to `soft'. (Bug#17554)
1190
1191 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1194 (bug#17737).
1195
1196 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1197
1198 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1199 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1200
1201 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1202
1203 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1204 `unread-command-events'.
1205
1206 2014-06-14 Glenn Morris <rgm@gnu.org>
1207
1208 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1209 Replace delete-duplicates and mapcan by cl- versions throughout.
1210 And cl-macroexpand-all by macroexpand-all.
1211 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1212
1213 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1214
1215 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1216
1217 2014-06-14 Juri Linkov <juri@jurta.org>
1218
1219 * bindings.el: Put `ascii-character' property on keypad keys
1220 mapped to characters. (Bug#17759)
1221
1222 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1225 bumping forward into a closing paren (bug#17761).
1226
1227 * term/xterm.el (xterm--version-handler): Work around for OSX
1228 Terminal.app (bug#17607).
1229
1230 2014-06-08 Glenn Morris <rgm@gnu.org>
1231
1232 * startup.el (initial-buffer-choice): Doc fix.
1233 Reset :version (adding an option does not merit a :version bump).
1234
1235 * bookmark.el (bookmark-load):
1236 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1237
1238 2014-06-06 Juri Linkov <juri@jurta.org>
1239
1240 * desktop.el: Activate auto-saving on window configuration changes.
1241 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1242 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1243 (desktop-auto-save-set-timer): Change REPEAT arg of
1244 `run-with-idle-timer' from t to nil.
1245 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1246
1247 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1248
1249 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1250 vc-hg-command (bug#17570).
1251
1252 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1255 (bug#17702).
1256
1257 2014-06-06 Glenn Morris <rgm@gnu.org>
1258
1259 * startup.el (window-setup-hook): Doc fix.
1260
1261 2014-06-05 Glenn Morris <rgm@gnu.org>
1262
1263 * emacs-lisp/package.el (package-check-signature)
1264 (package-unsigned-archives): Doc fixes.
1265
1266 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1267
1268 * window.el (display-buffer-use-some-window): Don't make window
1269 used smaller than it was before (Bug#17671).
1270
1271 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1272
1273 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1274 'redisplay' instead of '(sit-for 0)'.
1275
1276 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1277
1278 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1279 regexp. (Bug#17653)
1280
1281 2014-06-03 Glenn Morris <rgm@gnu.org>
1282
1283 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1284
1285 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1286
1287 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1288
1289 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1290
1291 * simple.el (keyboard-quit): Force update of mode lines, to remove
1292 the "Def" indicator, if we were defining a macro. (Bug#17615)
1293
1294 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * minibuffer.el (minibuffer-force-complete-and-exit):
1297 Obey minibuffer-default (bug#17545).
1298
1299 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1300 (bug#17619).
1301
1302 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * subr.el (set-transient-map): Don't wait for some "nested"
1305 transient-map to finish if we're only supposed to be active for
1306 the next command (bug#17642).
1307
1308 2014-05-31 Leo Liu <sdl.web@gmail.com>
1309
1310 * emacs-lisp/gv.el (window-buffer, window-display-table)
1311 (window-dedicated-p, window-hscroll, window-point, window-start):
1312 Fix gv-expander. (Bug#17630)
1313
1314 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1317 clicks (bug#17633).
1318
1319 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1320 for the single comma, since ", " is *very* common in normal French text
1321 (bug#17643).
1322
1323 2014-05-30 Glenn Morris <rgm@gnu.org>
1324
1325 * emacs-lisp/package.el (package-check-signature)
1326 (package-unsigned-archives): Fix :version.
1327
1328 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * subr.el (sit-for): Don't run input-methods (bug#15614).
1331
1332 2014-05-28 Glenn Morris <rgm@gnu.org>
1333
1334 * cus-start.el: Fix some :version numbers.
1335
1336 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * simple.el (deactivate-mark): Set mark-active to nil even if
1339 deactivation is done via setting transient-mark-mode to nil,
1340 since one is buffer-local and the other is global.
1341
1342 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1343 there can't be more than 2 arguments (bug#17584).
1344
1345 2014-05-27 Glenn Morris <rgm@gnu.org>
1346
1347 * simple.el (filter-buffer-substring-functions)
1348 (filter-buffer-substring-function, buffer-substring-filters)
1349 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1350
1351 * minibuffer.el (completion-in-region-functions, completion-in-region)
1352 (completion--in-region): Doc fixes.
1353
1354 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1355 (expand-abbrev, abbrev--default-expand): Doc fixes.
1356
1357 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1358
1359 Include sources used to create macuvs.h.
1360 * international/README: Refer to the Unicode Terms of Use rather
1361 than copying it bodily here, as that simplifies maintenance.
1362
1363 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1364
1365 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1366
1367 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1368
1369 * window.el (window--dump-frame): Remove interactive
1370 specification.
1371
1372 2014-05-23 Glenn Morris <rgm@gnu.org>
1373
1374 * hippie-exp.el (he-line-search-regexp):
1375 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1376
1377 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1378
1379 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1380 to avoid errors when trying to create or visit a file foo.todo
1381 located outside to todo-directory, and to allow having such files
1382 without them being tied to Todo mode (bug#17482).
1383 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1384 (todo-archive-done-item, todo-find-filtered-items-file)
1385 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1386 (todo-category-completions, todo-read-category): When visiting a
1387 Todo file, make sure we're in the right mode and the buffer local
1388 variables are set.
1389 (todo-make-categories-list, todo-reset-nondiary-marker)
1390 (todo-reset-done-string, todo-reset-comment-string):
1391 After processing all Todo files, kill the buffers of those files that
1392 weren't being visited before the processing.
1393 (todo-display-as-todo-file, todo-add-to-buffer-list)
1394 (todo-visit-files-commands): Comment out.
1395 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1396 (auto-mode-alist): Remove add-to-list calls making Todo file
1397 extensions unrestrictedly tied to Todo modes.
1398
1399 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1402 (advice-function-member-p): Tell it to check both names and functions
1403 (bug#17531).
1404 (advice--add-function): Adjust call accordingly.
1405
1406 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1407
1408 * calendar/todo-mode.el: Miscellaneous bug fixes.
1409 (todo-delete-file): When deleting an archive but not its todo
1410 file, make sure to update the todo file's category sexp.
1411 (todo-move-category): Keep the moved category's name unless the
1412 file moved to already has a category with that name. If the
1413 numerically last category of the source file was moved, make the
1414 first category current to avoid selecting a nonexisting category.
1415 (todo-merge-category): Fix implementation to make merging to a
1416 category in another file work as documented. Eliminate now
1417 insufficient and unnecessary renaming of archive category, correct
1418 document string accordingly, and clarify it. If the numerically
1419 last category of the source file was merged, make the first
1420 category current to avoid selecting a nonexisting category.
1421 (todo-archive-done-item): When there are marked items and point
1422 happens to be on an unmarked item, ignore the latter. Don't leave
1423 point below last item after archiving marked items.
1424 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1425 from an archive with only one category deletes the archive only
1426 when the category is empty after unarchiving. Make sure the todo
1427 file's category sexp is updated.
1428 (todo-read-file-name): Allow an existing file name even when it is
1429 not required (todo-move-category needs this to work as documented).
1430 (todo-add-file): Call todo-validate-name to reject the name of an
1431 existing todo file (needed due to fix in todo-read-file-name).
1432 (todo-reset-nondiary-marker): Also reset in filtered items files.
1433 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1434 regexp filtered items files.
1435 (todo-reset-highlight-item): Also reset in filtered items files.
1436 Fix incorrect variable reference in document string.
1437
1438 2014-05-22 Glenn Morris <rgm@gnu.org>
1439
1440 * window.el (window--dump-frame): Avoid error in --without-x builds.
1441
1442 2014-05-21 Glenn Morris <rgm@gnu.org>
1443
1444 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1445
1446 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1447
1448 * frame.el (set-frame-font): Doc fix.
1449
1450 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1451
1452 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1453
1454 * emacs-lisp/package.el (package--download-one-archive):
1455 Use `write-region' instead of `save-buffer' to avoid running various
1456 hooks. (Bug#17155)
1457 (describe-package-1): Same. Insert newline at the end of the
1458 buffer if appropriate.
1459
1460 2014-05-20 Juri Linkov <juri@jurta.org>
1461
1462 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1463 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1464 Add more modifiers: meta, control, shift, hyper, super, alt.
1465 (Bug#17439)
1466
1467 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1468 to allow changing its value with `set-variable'.
1469
1470 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1473 #; comments.
1474 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1475 New functions.
1476 (scheme-mode-variables): Set syntax-propertize-function instead of
1477 font-lock-syntactic-face-function.
1478 (scheme-font-lock-syntactic-face-function): Delete.
1479
1480 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1481
1482 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1485 (bug#17392).
1486
1487 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1488
1489 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1490 for a temporary file name.
1491
1492 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1493
1494 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1495
1496 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1497
1498 * net/dbus.el (dbus-init-bus, dbus-call-method)
1499 (dbus-call-method-asynchronously, dbus-send-signal)
1500 (dbus-method-return-internal, dbus-method-error-internal):
1501 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1502
1503 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1504
1505 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1506 methods which do not have a doc string. (Bug#17490)
1507
1508 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1509 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1512 suffix (bug#15419).
1513
1514 2014-05-14 Glenn Morris <rgm@gnu.org>
1515
1516 * vc/emerge.el (emerge-temp-file-prefix):
1517 Make pointless option obsolete.
1518 (emerge-temp-file-mode): Make non-functional option obsolete.
1519
1520 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1521
1522 * net/browse-url.el (browse-url):
1523 Use `unhandled-file-name-directory' when setting `default-directory',
1524 in order to circumvent stalled remote connections. (Bug#17425)
1525
1526 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1529 into autoloading just because of a silly indirection.
1530
1531 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1532
1533 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1534
1535 2014-05-11 Glenn Morris <rgm@gnu.org>
1536
1537 * emacs-lisp/find-gc.el: Move to ../admin.
1538
1539 2014-05-10 Glenn Morris <rgm@gnu.org>
1540
1541 * printing.el (pr-version):
1542 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1543
1544 * net/browse-url.el (browse-url-mosaic):
1545 Create /tmp/Mosaic.PID as a private file.
1546
1547 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1550 (advice--member-p): If name is given, only compare the name.
1551 (advice--remove-function): Don't stop at the first match.
1552 (advice--normalize-place): New function.
1553 (add-function, remove-function): Use it.
1554 (advice--add-function): Pass the name, if any, to
1555 advice--remove-function.
1556
1557 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1558
1559 * electric.el (electric-indent-post-self-insert-function): Don't use
1560 `pos' after modifying the buffer (bug#17449).
1561
1562 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * subr.el (function-put): Add function.
1565
1566 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1567
1568 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1569 Correct argument list to conform to todo-insert-item--basic.
1570
1571 2014-05-09 Glenn Morris <rgm@gnu.org>
1572
1573 * files.el (cd-absolute): Test if directory is accessible
1574 rather than executable. (Bug#17330)
1575
1576 * progmodes/compile.el (recompile):
1577 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1578
1579 2014-05-08 Juri Linkov <juri@jurta.org>
1580
1581 * dired.el (dired-check-switches, dired-switches-recursive-p):
1582 New functions. (Bug#17218)
1583 (dired-switches-escape-p, dired-move-to-end-of-filename):
1584 Use `dired-check-switches'.
1585 (dired-insert-old-subdirs, dired-build-subdir-alist)
1586 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1587
1588 2014-05-08 Glenn Morris <rgm@gnu.org>
1589
1590 * net/browse-url.el (browse-url-mosaic):
1591 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1592 This is CVE-2014-3423.
1593
1594 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1595
1596 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1597 (xterm-mouse--read-event-sequence-1000): Return nil if something
1598 looks fishy.
1599 (xterm-mouse-event): Propagate it.
1600 (xterm-mouse-translate-1): Handle it.
1601
1602 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1603
1604 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1605 four slots of the parameter list are filled, make sure to pass it
1606 to the argument list of todo-insert-item--basic.
1607
1608 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1609
1610 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1611 Add optional `seen' argument to detect and break infinite loops.
1612
1613 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1614
1615 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1616 (trace-unsafe, trace-use-tree): Make parentheses style be
1617 according to Emacs style.
1618
1619 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1620
1621 * net/tramp-sh.el (tramp-remote-process-environment):
1622 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1623 Add :version entry.
1624 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1625 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1626 extra "PSx=..." commands.
1627 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1628 (Bug#17295)
1629
1630 (tramp-uudecode): Replace the hard-coded temporary file name by a
1631 format specifier.
1632 (tramp-remote-coding-commands): Enhance docstring.
1633 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1634 name. (Bug#17415)
1635 This is CVE-2014-3424.
1636
1637 2014-05-06 Glenn Morris <rgm@gnu.org>
1638
1639 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1640 (find-gc-source-files): Update some names.
1641 (trace-call-tree): Simplify and update.
1642 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1643 This is CVE-2014-3422.
1644
1645 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * minibuffer.el (completion--try-word-completion): Revert fix for
1648 Bug#15980 (bug#17375).
1649
1650 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1651 Always store button numbers in the same way in xterm-mouse-last;
1652 Don't burp is xterm-mouse-last is not set as expected.
1653 Never return negative indices.
1654
1655 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1656
1657 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1658 Backtrack one char if the global/char-literal var matcher hits
1659 inside a string. The next char could be the beginning of an
1660 expression expansion.
1661
1662 2014-05-05 Glenn Morris <rgm@gnu.org>
1663
1664 * help-fns.el (describe-function-1): Test for an autoload before a
1665 macro, since `macrop' works on autoloads. (Bug#17410)
1666
1667 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1670
1671 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1672 Make sure the new point we return is within the new string (bug#17239).
1673
1674 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1675
1676 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1677
1678 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1681 Use nil rather than `default' for the "default" appearance (bug#17388).
1682 * vc/ediff-util.el (ediff-inferior-compare-regions)
1683 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1684 a misleading `default' value when it's really a boolean.
1685 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1686 overlay is not visible.
1687
1688 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1689
1690 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1691 (todo-menu): Uncomment and update.
1692
1693 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1694
1695 * calendar/todo-mode.el: Reimplement item editing to have the same
1696 basic user interface as item insertion, and make small UI and
1697 larger internal improvements to the latter.
1698 (todo-insert-item): Add reference to the Todo mode user manual to
1699 the documentation string.
1700 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1701 adjust all callers. Change signature to combine diary and
1702 nonmarking arguments. Incorporate functionality of deleted item
1703 copying command and add error checking. Remove detailed
1704 descriptions of the arguments from the documentation string, since
1705 this is treated in the Todo mode user manual.
1706 (todo-copy-item, todo-edit-multiline-item)
1707 (todo-edit-done-item-comment, todo-edit-item-header)
1708 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1709 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1710 (todo-edit-item-date-year, todo-edit-item-date-month)
1711 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1712 Remove.
1713 (todo-edit-item): Reimplement as wrapper command for
1714 todo-edit-item--next-key and make it distinguish done and not done
1715 todo items.
1716 (todo-edit-item--text): New function, replacing old command
1717 todo-edit-item and incorporating deleted commands
1718 todo-edit-multiline-item and todo-edit-done-item-comment.
1719 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1720 Use only numeric value of prefix argument. Remove detailed
1721 descriptions of the arguments from the documentation string, since
1722 this is treated in the Todo mode user manual.
1723 (todo-edit-item--diary-inclusion): New function, replacing old
1724 command todo-edit-item-diary-inclusion and incorporating and fixing
1725 functionality of deleted command todo-edit-item-diary-nonmarking,
1726 making sure to remove todo-nondiary-marker when adding
1727 diary-nonmarking-symbol.
1728 (todo-edit-category-diary-inclusion): Make sure to delete
1729 diary-nonmarking-symbol when adding todo-nondiary-marker.
1730 (todo-edit-category-diary-nonmarking): Fix indentation.
1731 (todo-insert-item--parameters): Group diary and nonmarking
1732 parameters together.
1733 (todo-insert-item--apply-args): Adjust to signature of
1734 todo-insert-item--basic and incorporate copy parameter.
1735 Make small code improvements.
1736 (todo-insert-item--next-param): Improve prompt and adjust it to
1737 new parameter grouping. Remove obsolete code.
1738 (todo-edit-item--param-key-alist)
1739 (todo-edit-item--date-param-key-alist)
1740 (todo-edit-done-item--param-key-alist): New defconsts.
1741 (todo-edit-item--prompt): New variable.
1742 (todo-edit-item--next-key): New function.
1743 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1744 Remove bindings of deleted commands.
1745
1746 2014-05-02 Leo Liu <sdl.web@gmail.com>
1747
1748 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1749
1750 2014-05-01 Glenn Morris <rgm@gnu.org>
1751
1752 * allout-widgets.el (allout-widgets-tally)
1753 (allout-decorate-item-guides):
1754 * menu-bar.el (menu-bar-positive-p):
1755 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1756 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1757 * progmodes/js.el (js--inside-param-list-p)
1758 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1759 * progmodes/prolog.el (region-exists-p):
1760 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1761 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1762 Doc fixes (replace `iff').
1763
1764 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1767
1768 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1769
1770 * dired.el (dired-initial-position-hook, dired-initial-position):
1771 Doc string fixes.
1772
1773 2014-04-29 Glenn Morris <rgm@gnu.org>
1774
1775 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1776
1777 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1778
1779 * faces.el (face-spec-recalc): Apply X resources only after the
1780 defface spec has been applied. Thus, X resources are no longer
1781 overridden by the defface spec which also fixes issues on win32 where
1782 the toolbar coloring was wrong because it is set through X resources
1783 and was (wrongfully) overridden. (Bug#16694)
1784
1785 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * textmodes/rst.el (electric-pair-pairs): Declare.
1788 (rst-mode): Set it (bug#17131).
1789
1790 2014-04-27 Juri Linkov <juri@jurta.org>
1791
1792 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1793 and `print-level' to nil. (Bug#17351)
1794
1795 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1796
1797 * battery.el (battery-update): Handle the case where battery
1798 status is "N/A" (bug#17319).
1799
1800 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1801
1802 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1803 Use equal-including-properties to compare help-echo strings (bug#17331).
1804
1805 2014-04-24 Leo Liu <sdl.web@gmail.com>
1806
1807 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1808 Fix syntax for @. (Bug#17325)
1809
1810 2014-04-24 Daniel Colascione <dancol@dancol.org>
1811
1812 * emacs-lisp/cl.el (gv): Require gv early to break eager
1813 macro-expansion cycles.
1814
1815 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * simple.el (region-active-p): Check there's a mark (bug#17324).
1818
1819 * simple.el (completion-list-mode-map): Use choose-completion for the
1820 mouse binding as well (bug#17302).
1821 (completion-list-mode, completion-setup-function): Adjust docstring and
1822 echo area message accordingly.
1823 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1824 calling convention of choose-completion.
1825 * comint.el (comint-dynamic-list-completions):
1826 * term.el (term-dynamic-list-completions): Accept choose-completion.
1827
1828 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1829 &, |, +, - and * can't be a division (bug#17317).
1830
1831 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1834 features on gnome-terminal (bug#16988).
1835
1836 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1837
1838 * dired.el (dired-insert-set-properties): Do not consider
1839 subdirectory headings and empty lines to be information that
1840 `dired-hide-details-mode' should hide. (Bug#17228)
1841
1842 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1843
1844 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1845 Remove test messages.
1846 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1847 and `target' twice.
1848
1849 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1852 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1853
1854 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1855
1856 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1857
1858 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1859 Set "IFS=" when using read builtin, in order to preserve spaces in
1860 the file name. Add test messages for hunting a bug on hydra.
1861 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1862
1863 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1866 Don't prettify a word within a symbol.
1867
1868 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1869
1870 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1871 possible.
1872
1873 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1876 assignments such as "case=hello" (bug#17297).
1877
1878 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1879
1880 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1881 Do not autoload.
1882 (tramp-file-name-handler, tramp-completion-file-name-handler):
1883 Revert patch from 2014-04-10, it isn't necessary anymore.
1884 (tramp-autoload-file-name-handler)
1885 (tramp-register-autoload-file-name-handlers): New defuns.
1886 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1887 (tramp-register-file-name-handlers): Remove also
1888 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1889 Do not autoload its invocation, but eval it after loading of 'tramp.
1890
1891 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1892
1893 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1894
1895 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1898 was done (bug#17264).
1899 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1900 comment to EOB.
1901
1902 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1903 here-documents (bug#17262).
1904
1905 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1906
1907 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1908 Provide doc strings, as required by snarf-documentation.
1909
1910 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1913 arg of overlays-at. Use `invisible-p'.
1914
1915 * obsolete/lucid.el (extent-at):
1916 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1917 overlays-at.
1918 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1919
1920 2014-04-14 João Távora <joaotavora@gmail.com>
1921
1922 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1923 links. (Bug#17217).
1924
1925 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1926
1927 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1928 Use mapc to loop over a vector. (Bug#17257).
1929
1930 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1931
1932 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1933 patch, there are new problems with file names containing spaces.
1934 Get rid of backticks. (Bug#17238)
1935
1936 2014-04-13 João Távora <joaotavora@gmail.com>
1937
1938 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1939 possible bug.
1940
1941 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1942
1943 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1944 (blink-cursor-mode): Mention customization variables and the
1945 effect of 'blink-cursor-blinks'.
1946
1947 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1948
1949 * simple.el (undo): Prevent insertion of identity mapping into
1950 undo-equiv-table so as undo-only does not inf loop in the presence
1951 of consecutive nils in undo list.
1952
1953 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1954
1955 * faces.el (make-face): Deprecate optional argument as it is no
1956 longer needed/used since the conditional X resources handling
1957 has been pushed down to make-face-x-resource-internal itself.
1958 (make-empty-face): Don't pass optional argument to make-face.
1959
1960 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1961
1962 * international/characters.el <standard-case-table>: Add entries
1963 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1964 Set category of Coptic characters be 'g' (Greek).
1965
1966 2014-04-12 Leo Liu <sdl.web@gmail.com>
1967
1968 * progmodes/octave.el (completion-table-with-cache): Define if not
1969 available.
1970 (octave-goto-function-definition)
1971 (octave-sync-function-file-names)
1972 (octave-find-definition-default-filename): Backquote upattern for
1973 compatibility.
1974
1975 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1976
1977 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1978 name twice due to backticks. (Bug#17238)
1979
1980 2014-04-11 Glenn Morris <rgm@gnu.org>
1981
1982 * term/w32-win.el (x-win-suspend-error):
1983 * term/x-win.el (x-win-suspend-error): Sync docs.
1984
1985 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 Ediff's overlay priorities cause more trouble than they solve.
1988 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1989 (ediff-highest-priority): Remove function (bug#17234).
1990 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1991 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1992 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1993 overlay priorities.
1994
1995 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1996
1997 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1998 entry; use symbol boundaries to avoid mis-matches.
1999
2000 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2001
2002 * net/tramp.el (tramp-file-name-handler)
2003 (tramp-completion-file-name-handler): Avoid recursive loading.
2004
2005 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2006 Quote result also locally.
2007
2008 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2009
2010 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2011 Module methods. (Bug#17216)
2012
2013 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2016 (describe-bindings-internal): Mark obsolete.
2017
2018 2014-04-07 João Távora <joaotavora@gmail.com>
2019
2020 * elec-pair.el:
2021 (electric-pair--syntax-ppss): When inside comments parse from
2022 comment beginning.
2023 (electric-pair--balance-info): Fix typo in comment.
2024 (electric-pair--in-unterminated-string-p): Delete.
2025 (electric-pair--unbalanced-strings-p): New function.
2026 (electric-pair-string-bound-function): New var.
2027 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2028 according to `electric-pair--in-unterminated-string-p'
2029
2030 2014-04-07 João Távora <joaotavora@gmail.com>
2031
2032 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2033 Inhibit quote pairing if point-max is inside an unterminated string.
2034 (electric-pair--looking-at-unterminated-string-p): Delete.
2035 (electric-pair--in-unterminated-string-p): New function.
2036
2037 2014-04-07 Glenn Morris <rgm@gnu.org>
2038
2039 * shell.el (shell-directory-tracker):
2040 Go back to just ignoring failures. (Bug#17159)
2041
2042 2014-04-06 João Távora <joaotavora@gmail.com>
2043
2044 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2045 backspace. (bug#16981)
2046 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2047 (electric-pair-backward-delete-char-untabify): Delete.
2048 (electric-pair-mode-map): Bind backspace to a menu item filtering
2049 a new `electric-pair-delete-pair' command.
2050 (electric-pair-delete-pair): New command.
2051
2052 2014-04-06 João Távora <joaotavora@gmail.com>
2053
2054 * progmodes/python.el (python-electric-pair-string-delimiter):
2055 Fix triple-quoting electricity. (Bug#17192)
2056
2057 2014-04-06 João Távora <joaotavora@gmail.com>
2058
2059 * elec-pair.el (electric-pair-post-self-insert-function):
2060 Don't skip whitespace when `electric-pair-text-pairs' and
2061 `electric-pair-pairs' were used. syntax to
2062 electric-pair--skip-whitespace. (Bug#17183)
2063
2064 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2065
2066 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2067 "<F>". (Bug#17199)
2068
2069 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2072 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2073
2074 2014-04-05 Glenn Morris <rgm@gnu.org>
2075
2076 * help.el (view-lossage): Doc tweak.
2077
2078 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2079
2080 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2081 only when inhibit-x-resources is nil, and do that earlier in the
2082 function. Doc fix. (Bug#16694)
2083 (face-spec-choose): Accept additional optional argument, whose
2084 value is returned if no matching attributes are found.
2085 (face-spec-recalc): Use the new optional argument when calling
2086 face-spec-choose. (Bug#16378)
2087 (make-face-x-resource-internal): Do nothing when
2088 inhibit-x-resources is non-nil. Don't touch the default face if
2089 reversed video is given--as was done in previous versions of Emacs.
2090 (face-set-after-frame-default): Don't call
2091 make-face-x-resource-internal here. (Bug#16434)
2092
2093 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2094
2095 * doc-view.el (doc-view-bookmark-jump):
2096 Use `bookmark-after-jump-hook' to jump to the right page after the
2097 buffer is shown in a window. (bug#16090)
2098
2099 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2100
2101 * international/characters.el (mirroring): Fix last change:
2102 instead of loading uni-mirrored.el explicitly, do that implicitly
2103 by creating the 'mirroring' uniprop table. This avoids announcing
2104 the loading of uni-mirrored.el.
2105
2106 2014-04-04 Glenn Morris <rgm@gnu.org>
2107
2108 * files.el (buffer-stale--default-function)
2109 (buffer-stale-function, revert-buffer--default):
2110 * autorevert.el (auto-revert-buffers): Doc tweaks.
2111
2112 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2113
2114 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2115
2116 2014-04-03 Glenn Morris <rgm@gnu.org>
2117
2118 * files.el (make-backup-file-name-function)
2119 (make-backup-file-name, make-backup-file-name--default-function)
2120 (make-backup-file-name-1, find-backup-file-name)
2121 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2122 (buffer-stale--default-function, buffer-stale-function)
2123 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2124 (revert-buffer, revert-buffer--default)
2125 (revert-buffer-insert-file-contents--default-function):
2126 Doc fixes related to defaults no longer being nil.
2127 (make-backup-file-name-function): Bump :version.
2128 Restore nil as a valid but deprecated custom type.
2129
2130 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2133 used as a variable (bug#17174).
2134
2135 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * progmodes/perl-mode.el (perl-indent-new-calculate):
2138 Handle forward-sexp failure (bug#16985).
2139 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2140 modifiers introducing expressions (bug#17116).
2141
2142 2014-04-02 Glenn Morris <rgm@gnu.org>
2143
2144 * menu-bar.el (menu-bar-file-menu):
2145 * vc/ediff.el (ediff-current-file):
2146 Update for revert-buffer-function no longer being nil by default.
2147
2148 * simple.el (command-execute): Respect nil disabled-command-function.
2149
2150 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2151
2152 * simple.el (command-execute): Do not execute the command when it
2153 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2154
2155 2014-03-29 Juri Linkov <juri@jurta.org>
2156
2157 * dired-aux.el (dired-compress-file): Don't use string-match-p
2158 because its match data is used afterwards.
2159
2160 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2163 0 like nil.
2164
2165 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2166
2167 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2168 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2169
2170 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2171 Don't propertize `?' or `!' as symbol constituent when after
2172 colon. (Bug#17097)
2173
2174 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2175
2176 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2177 which is no longer needed and causes trouble in GTK builds (bug#17046).
2178
2179 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2180 Use url-insert-file-contents; package-handle-response no longer exists.
2181
2182 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2183
2184 * emacs-lisp/package.el: Fix bug#16733 (again).
2185 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2186 (url-http-target-url): Remove unused declarations.
2187 (package-handle-response): Remove.
2188 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2189 (package--download-one-archive): Use current-buffer instead of
2190 dynamic binding of `buffer'.
2191 (describe-package-1): Do not decode readme-string.
2192
2193 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2194
2195 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2196
2197 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2198
2199 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2200
2201 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2202 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2203 `remote-file-name-inhibit-cache' to nil in the second pass.
2204 (tramp-find-executable): Do not call "which" on SunOS.
2205 (tramp-send-command-and-check): Fix docstring.
2206 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2207 check whether source directory has set the sticky bit.
2208
2209 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2210
2211 * simple.el (primitive-undo): Only process marker adjustments
2212 validated against their corresponding (TEXT . POS). Issue warning
2213 for lone marker adjustments in undo history. (Bug#16818)
2214 (undo-make-selective-list): Add marker adjustments to selective
2215 undo list based on whether their corresponding (TEXT . POS) is in
2216 the region. Remove variable adjusted-markers, which was unused
2217 and only non nil during undo-make-selective-list.
2218 (undo-elt-in-region): Return nil when passed a marker adjustment
2219 and explain in function doc.
2220
2221 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2222
2223 * emacs-lisp/package.el (package--add-to-archive-contents):
2224 Include already installed and built-in packages in
2225 `package-archive-contents'.
2226 (package-install): Don't include already installed packages in the
2227 options during interactive invocation. (Bug#16762)
2228
2229 2014-03-24 Daniel Colascione <dancol@dancol.org>
2230
2231 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2232 instead of cl-loop search function.
2233
2234 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2235
2236 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2237
2238 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2239
2240 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2241
2242 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2243
2244 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2245 Match special global variables without curlies, too.
2246 (ruby-font-lock-keywords): Simplify the matcher for special global
2247 variables. Don't require a non-word character after the variable.
2248 (Bug#17057)
2249
2250 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * simple.el (redisplay-highlight-region-function): Increase priority of
2253 overlay to make sure boundaries are visible (bug#15899).
2254
2255 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2256
2257 * frameset.el (frameset-restore): Compare display strings with equal.
2258
2259 * frame.el (make-frame): Don't quote display name in error message,
2260 it is already a string.
2261
2262 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2263
2264 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2265 the password.
2266
2267 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2268
2269 * emacs-lisp/package.el (package-show-package-list): If the buffer
2270 is already displayed in another window, switch to that window.
2271
2272 2014-03-21 Daniel Colascione <dancol@dancol.org>
2273
2274 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2275 information in bug reports.
2276
2277 2014-03-23 Daniel Colascione <dancol@dancol.org>
2278
2279 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2280 list to look for keyword arguments instead of `memq', fixing
2281 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2282 Please make bootstrap.
2283
2284 2014-03-23 Richard Stallman <rms@gnu.org>
2285
2286 * battery.el (battery-linux-sysfs): Search for each field
2287 from the beginning of the buffer.
2288
2289 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2290
2291 * emacs-lisp/package.el (package-desc): Use the contents of the
2292 quoted form, not its cdr. (Bug#16873)
2293
2294 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2295
2296 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2297 benefit of doc.c; change parameter profile to match the X function.
2298
2299 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2302 and `tramp-copy-env'.
2303
2304 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2305 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2306
2307 2014-03-21 Glenn Morris <rgm@gnu.org>
2308
2309 * electric.el (electric-indent-post-self-insert-function): Add doc.
2310
2311 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2312
2313 * emacs-lisp/package.el (package-compute-transaction):
2314 Use `version-list-<=' to compare the requirement version against
2315 the version of package already to be installed. Update the error
2316 message. (Bug#16826)
2317
2318 * progmodes/ruby-mode.el (ruby-smie-rules):
2319 Add indentation rule for ` @ '. (Bug#17050)
2320
2321 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2322
2323 * align.el (align-regexp): Remove superfluous backslash.
2324
2325 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2326 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2327 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2328 Fix docstring typos.
2329 (ffap-next): Use C-u in docstring.
2330 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2331 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2332 Remove superfluous backslashes.
2333 (ffap-string-at-point): Reflow docstring.
2334
2335 * server.el (server-host): Reflow docstring.
2336 (server-unload-function): Fix docstring typo.
2337 (server-eval-at): Remove superfluous backslash.
2338
2339 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2340 (skeleton-insert): Doc fix.
2341 (skeleton-insert): Reflow docstring.
2342
2343 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2344 (tty-color-approximate, tty-color-by-index, tty-color-values)
2345 (tty-color-desc): Remove superfluous backslashes.
2346
2347 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * electric.el (electric-newline-and-maybe-indent): New command.
2350 Bind it globally to C-j.
2351 (electric-indent-mode): Don't mess with the global map any more.
2352 Don't drop the post-self-insert-hook is some buffer is still using it
2353 (bug#16770).
2354
2355 * bindings.el (global-map): Remove C-j binding.
2356
2357 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2358 the docstring of functions advised before dumping (bug#16993).
2359
2360 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2361
2362 * ps-print.el (ps-generate-postscript-with-faces):
2363 Explicitly deactivate the mark (bug#16866).
2364 * simple.el (deactivate-mark): Update region highlight.
2365
2366 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2367
2368 * emacs-lisp/package.el (describe-package-1):
2369 Decode commentary (bug#16733).
2370
2371 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2372
2373 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2374 modification of the value argument of :set (bug#16755).
2375
2376 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * simple.el (newline-and-indent): Do autofill (bug#17031).
2379
2380 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2381
2382 * newcomment.el (comment-normalize-vars): Only add escaping check
2383 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2384 (comment-beginning): Use `narrow-to-region' instead of moving back
2385 one character.
2386 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2387 (comment-start-skip): Update the docstring.
2388
2389 2014-03-18 Richard Stallman <rms@gnu.org>
2390
2391 * dired.el (dired-display-file): Force use of other window.
2392
2393 2014-03-18 Daniel Colascione <dancol@dancol.org>
2394
2395 * startup.el (tty-handle-args): Remove debug message from 2007.
2396
2397 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2400 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2401 (advice--make-1, advice-add, advice-remove):
2402 Remove braindead :advice-pending hack.
2403
2404 2014-03-17 Glenn Morris <rgm@gnu.org>
2405
2406 * calendar/calendar.el (calendar-generate-month): Apply weekend
2407 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2408
2409 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2410
2411 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2412 (tramp-call-process): Trace also DESTINATION.
2413
2414 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2415 Quote file names when they are local. Remove superfluous trace.
2416
2417 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2418
2419 * newcomment.el (comment-beginning): If `comment-start-skip'
2420 doesn't match, move back one char and try again. (Bug#16971)
2421
2422 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2423 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2424 Set `comment-start-skip' to a simpler value that doesn't try to
2425 check if the semicolon is escaped (this is handled by
2426 `syntax-ppss' now). (Bug#16971)
2427
2428 * progmodes/scheme.el (scheme-mode-variables): Same.
2429
2430 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2431
2432 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2433 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2434 current (Bug#16816, Bug#17007).
2435 (with-current-buffer-window): New macro doing the same as
2436 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2437 * help.el (help-print-return-message): Warn in doc-string to not
2438 use this in `with-help-window'.
2439 (describe-bindings-internal): Call `describe-buffer-bindings'
2440 from within help buffer. See Juanma's scenario in (Bug#16816).
2441 (with-help-window): Update doc-string.
2442 * dired.el (dired-mark-pop-up):
2443 * files.el (save-buffers-kill-emacs):
2444 * register.el (register-preview): Use `with-current-buffer-window'
2445 instead of `with-temp-buffer-window'.
2446
2447 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2448
2449 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2450 Implement inserting into current buffer, documented in their docstrings.
2451 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2452 (rst-section-tree-point, rst-forward-section, rst-indent)
2453 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2454 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2455 (rst-font-lock-handle-adornment-pre-match-form)
2456 (rst-repeat-last-character): Reflow docstrings.
2457 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2458 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2459 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2460 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2461 Fix docstring typos.
2462 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2463 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2464 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2465
2466 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2467
2468 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2469 for compatibility with other ports.
2470 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2471 from the -xrm command line argument, but in the Nextstep port its value
2472 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2473
2474 * progmodes/python.el (defconst, python-syntax-count-quotes)
2475 (python-indent-region, python-indent-shift-right)
2476 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2477 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2478 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2479 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2480 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2481 (python-shell-buffer-substring, python-shell-send-buffer)
2482 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2483 (python-completion-complete-at-point, python-fill-docstring-style)
2484 (python-eldoc-function, python-imenu-format-item-label)
2485 (python-imenu-format-parent-item-label)
2486 (python-imenu-format-parent-item-jump-label)
2487 (python-imenu--build-tree, python-imenu-create-index)
2488 (python-imenu-create-flat-index): Fix docstring typos.
2489 (python-indent-context, python-shell-prompt-regexp, run-python):
2490 Remove superfluous backslashes.
2491 (python-indent-line, python-nav-beginning-of-defun)
2492 (python-shell-get-buffer, python-shell-get-process)
2493 (python-info-current-defun, python-info-current-line-comment-p)
2494 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2495 (python-indent-post-self-insert-function, python-shell-send-file)
2496 (python-shell-completion-get-completions)
2497 (python-shell-completion-complete-or-indent)
2498 (python-eldoc--get-doc-at-point): Reflow docstrings.
2499
2500 2014-03-14 Glenn Morris <rgm@gnu.org>
2501
2502 * emacs-lisp/package.el (package-menu-mode-map):
2503 Replace use of obsolete function alias. Tweak menu item text.
2504
2505 * info.el (Info-finder-find-node):
2506 Ignore the `emacs' metapackage. (Bug#10813)
2507
2508 * finder.el (finder-list-matches): Include unversioned packages
2509 in the result of a keyword search.
2510
2511 * finder.el (finder--builtins-descriptions): New constant.
2512 (finder-compile-keywords): Use finder--builtins-descriptions.
2513
2514 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2515
2516 * simple.el (blink-matching-paren): Describe the new value,
2517 `jump', enabling the old behavior.
2518 (blink-matching-open): Use that value. (Bug#17008)
2519
2520 2014-03-14 Glenn Morris <rgm@gnu.org>
2521
2522 * finder.el (finder-no-scan-regexp): Add leim-list.
2523 (finder-compile-keywords):
2524 Don't skip files with same basename. (Bug#14010)
2525 * Makefile.in (setwins_finder): New, excluding leim.
2526 (finder-data): Use setwins_finder.
2527
2528 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2529 (help-function-arglist, help-make-usage): Move from here...
2530 * help.el (help-split-fundoc, help-add-fundoc-usage)
2531 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2532 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2533
2534 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2535
2536 * net/socks.el (socks, socks-override-functions)
2537 (socks-find-services-entry):
2538 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2539 (hif-find-ifdef-block):
2540 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2541
2542 * net/tls.el (tls-program): Reflow docstring.
2543
2544 * progmodes/pascal.el (pascal-mode-abbrev-table)
2545 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2546 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2547 (pascal-outline-mode): Fix docstring typos.
2548 (pascal-mode): Let define-derived-mode document mode hook.
2549 (pascal-uncomment-area): Reflow.
2550 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2551
2552 * progmodes/opascal.el (opascal-compound-block-indent)
2553 (opascal-case-label-indent): Fix docstring typos.
2554 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2555
2556 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2557
2558 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2559 Fontify multiple adjacent negation chars. (Bug#17004)
2560
2561 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2562
2563 * emacs-lisp/package.el (package--prepare-dependencies):
2564 Accept requirements without explicit version (bug#14941).
2565
2566 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2567
2568 * register.el (register-separator, copy-to-register): Doc fixes.
2569 (register-preview-default): Remove unnecessary call to concat.
2570
2571 * frameset.el (frameset-restore): When checking for a visible frame,
2572 use the action map instead of calling visible-frame-list.
2573
2574 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2575
2576 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2577
2578 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2579
2580 * window.el (fit-frame-to-buffer): Get maximum width from
2581 display's width instead of height.
2582
2583 2014-03-12 Glenn Morris <rgm@gnu.org>
2584
2585 * desktop.el (desktop-restore-frames)
2586 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2587 (desktop-restore-reuses-frames): Doc tweaks.
2588
2589 * electric.el (electric-indent-mode): Doc fix.
2590
2591 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2592
2593 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2594 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2595 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2596 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2597 (cvs-dired-use-hook): Fix docstring typos.
2598 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2599 Doc fixes.
2600
2601 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2602 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2603 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2604 (cvs-execute-single-dir): Fix docstring typos.
2605
2606 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2607 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2608
2609 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2610
2611 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2612 Fix docstring typos.
2613
2614 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2615
2616 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2617 called from jump-to-register after unloading the frameset package.
2618
2619 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2622 (bug#16975). Deactivate the mark before setting it to nil.
2623 (activate-mark): Do nothing if region is already active.
2624
2625 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2626
2627 * frameset.el (frameset--target-display): Remove definition; declare.
2628 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2629
2630 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2633 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2634 when the advice is pending.
2635 (advice-remove): Remove this marker when not needed any more.
2636
2637 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2638
2639 * frameset.el: Separate options for reusing frames and cleaning up.
2640 (frameset--reuse-list): Remove definition; declare.
2641 (frameset--action-map): Declare.
2642 (frameset--find-frame-if): Doc fix.
2643 (frameset--restore-frame): Cache frame action.
2644 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2645 how to clean up the frame list after restoring. Remove cleaning
2646 options from REUSE-FRAMES. Change all keyword values to symbols.
2647 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2648
2649 * desktop.el (desktop-restore-forces-onscreen)
2650 (desktop-restore-reuses-frames): Use non-keyword values.
2651 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2652
2653 2014-03-10 Glenn Morris <rgm@gnu.org>
2654
2655 * files.el (find-file): Doc fix: update info node name.
2656
2657 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2658 Doc fix: remove references to deleted info nodes.
2659
2660 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2661
2662 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2663 Do not add `nil' to the environment, when there's no remote `locale'.
2664 (tramp-find-inline-encoding): Check, that the remote host has
2665 installed perl, before sending scripts.
2666
2667 2014-03-10 Leo Liu <sdl.web@gmail.com>
2668
2669 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2670 Clear eldoc-last-message. (Bug#16920)
2671
2672 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2675 (bug#14430).
2676
2677 2014-03-09 Juri Linkov <juri@jurta.org>
2678
2679 * ansi-color.el (ansi-color-names-vector): Copy default colors
2680 from `xterm-standard-colors' that look well on the default white
2681 background (and also on the black background) to avoid illegible
2682 color combinations like yellow-on-white and white-on-white.
2683 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2684
2685 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2686
2687 * frameset.el (frameset-restore): When no frame is visible, do not
2688 generate a list of frames, just make visible the selected one.
2689
2690 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2691
2692 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2693 it only contains the repository root. (Bug#16897)
2694
2695 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2696
2697 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2698 only when `remote-file-name-inhibit-cache' is nil.
2699 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2700
2701 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2702
2703 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2704 Fix doc-strings.
2705 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2706 fit-frame-to-buffer variable. Fix doc-string.
2707 (fit-window-to-buffer): Set ONLY argument in call of
2708 fit-frame-to-buffer. Fix doc-string.
2709
2710 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2713 (tramp-action-password): Clear password cache if needed.
2714 (tramp-read-passwd): Do not clear password cache.
2715
2716 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2717 cache unless it is the first password request.
2718
2719 2014-03-06 Glenn Morris <rgm@gnu.org>
2720
2721 * simple.el (newline): Doc tweak.
2722
2723 * emacs-lisp/shadow.el (load-path-shadows-find):
2724 Ignore dir-locals. (Bug#12357)
2725
2726 2014-03-05 Glenn Morris <rgm@gnu.org>
2727
2728 * files.el (interpreter-mode-alist):
2729 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2730
2731 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2732
2733 * frameset.el (frameset--initial-params): Filter out null entries.
2734
2735 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2736
2737 * window.el (window-min-height, window-min-width):
2738 Rewrite doc-strings.
2739 (window-body-size): Add PIXELWISE argument to make it consistent
2740 with its callees.
2741
2742 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2743
2744 * finder.el (finder-mode-map, finder-mode-syntax-table):
2745 Revert part of 2014-02-28 change.
2746
2747 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2748
2749 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2750 (eww-setup-buffer): Clear next/prev/etc more reliably.
2751 (eww-textarea-map): [tab] doesn't work on tty.
2752 Reported by Mario Lang.
2753
2754 * net/shr.el (shr-map): Ditto.
2755
2756 2014-03-04 Glenn Morris <rgm@gnu.org>
2757
2758 * minibuffer.el (completion-hilit-commonality):
2759 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2760
2761 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2762
2763 * hilit-chg.el (hilit-chg-unload-function): New function.
2764 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2765 (hilit-chg-map-changes): Prefer cardinal number to digit.
2766 (hilit-chg-display-changes): Reflow docstring.
2767 (highlight-changes-rotate-faces): Remove superfluous backslash.
2768
2769 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2770
2771 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2772 `tramp-send-command-and-check'.
2773
2774 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2775
2776 * hexl.el (hexl-address-region, hexl-ascii-region)
2777 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2778 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2779 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2780 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2781 (hexl-mode): Doc fix.
2782 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2783 (hexl-mode-ruler): Fix typos in docstrings.
2784
2785 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2786 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2787 Remove superfluous backslashes.
2788 (strokes-last-stroke, strokes-global-map, strokes-mode):
2789 Reflow docstrings.
2790 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2791 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2792 (strokes-distance-squared, strokes-global-set-stroke)
2793 (strokes-global-set-stroke-string): Doc fixes.
2794 (strokes-help): Fix typos; reflow docstring.
2795
2796 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2797
2798 * window.el (window-in-direction): Fix doc-string.
2799
2800 2014-03-04 Glenn Morris <rgm@gnu.org>
2801
2802 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2803 Explicit error if no grammar.
2804 (smie-config-save): Doc fix. Fix quote typo.
2805
2806 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2809 electric-indent-mode-hook if we obey electric-indent-mode.
2810 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2811 decide whether we obey electric-indent-mode.
2812 (c-change-set-fl-decl-start, c-extend-after-change-region):
2813 Silence warnings.
2814 (c-electric-indent-mode-hook): Assume we do want to obey
2815 electric-indent-mode.
2816
2817 * electric.el (electric-indent-mode-has-been-called): Remove.
2818 (electric-indent-mode): Fix accordingly.
2819
2820 * files.el (hack-local-variables): Mention file name in warning.
2821
2822 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2823
2824 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2825
2826 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2827 * simple.el (delete-forward-char): Mark as interactive-only.
2828
2829 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2830
2831 * icomplete.el (icomplete-completions):
2832 Follow-up to 2014-03-01 change.
2833
2834 * icomplete.el: Miscellaneous doc fixes.
2835 Use Icomplete everywhere instead of icomplete for consistency.
2836 (icomplete-max-delay-chars): Fix typo.
2837 (icomplete-mode): Use \[].
2838 (icomplete-tidy, icomplete-exhibit): Reflow.
2839 (icomplete-minibuffer-setup-hook, icomplete-completions):
2840 Remove superfluous backlashes.
2841
2842 * ido.el: Miscellaneous doc fixes.
2843 Use Ido everywhere instead of ido or `ido' for consistency.
2844 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2845 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2846 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2847 (ido-separator): Extract obsolescence info from docstring and declare
2848 with make-obsolete-variable.
2849 (ido-minibuffer-setup-hook): Simplify example.
2850 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2851 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2852 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2853 (ido-everywhere): Reflow docstring.
2854 (ido-toggle-vc): Doc fix.
2855 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2856 of long list of keybindings.
2857
2858 2014-03-03 Glenn Morris <rgm@gnu.org>
2859
2860 * frame.el (display-pixel-height, display-pixel-width)
2861 (display-mm-dimensions-alist, display-mm-height)
2862 (display-mm-width): Doc tweaks.
2863
2864 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2865
2866 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2867 case of undo in region.
2868
2869 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2870
2871 * window.el (fit-window-to-buffer): Fix argument in window-size
2872 call when window is horizontally combined.
2873
2874 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2875
2876 * icomplete.el (icomplete-completions): Use string-width.
2877 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2878
2879 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2880
2881 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2882 Highlight regexp options. (Bug#16914)
2883
2884 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2885
2886 * window.el (window--max-delta-1): Round down when calculating
2887 how many lines/columns we can get from a window.
2888
2889 2014-03-01 Glenn Morris <rgm@gnu.org>
2890
2891 * isearch.el (search-invisible): Doc fix.
2892
2893 * minibuffer.el (completion-hilit-commonality):
2894 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2895 * comint.el (comint-dynamic-list-completions): Doc fix.
2896 * comint.el (comint-dynamic-list-completions):
2897 * filecache.el (file-cache-minibuffer-complete):
2898 * tempo.el (tempo-display-completions):
2899 * eshell/em-hist.el (eshell-list-history):
2900 Replace use of obsolete argument of display-completion-list.
2901
2902 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2903
2904 * icomplete.el (icomplete-completions):
2905 Revert back to using "..." when ?… cannot be displayed.
2906
2907 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * finder.el (finder-unload-function): New function.
2910
2911 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * dframe.el (dframe-detach):
2914 * find-dired.el (find-dired, find-name-dired):
2915 * finder.el (finder-mode-map, finder-mode-syntax-table)
2916 (finder-headmark, finder-select, finder-mouse-select):
2917 Fix docstring typos.
2918
2919 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2920
2921 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2922 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2923 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2924 Fix doc-string based on a suggestion by Nicolas Richard
2925 <theonewiththeevillook@yahoo.fr>.
2926 * help.el (with-help-window): Fix doc-string.
2927
2928 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2929
2930 * net/shr.el (shr-image-animate): New option.
2931 (shr-put-image): Respect shr-image-animate.
2932
2933 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2934
2935 * net/tramp-adb.el (tramp-adb-parse-device-names):
2936 Use `accept-process-output'.
2937 (tramp-adb-handle-file-truename): Cache the localname only.
2938 (tramp-adb-handle-make-directory)
2939 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2940 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2941 modes cannot be changed.
2942
2943 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2944 file properties of symlinks.
2945
2946 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2947
2948 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2949 required/optional fields to match development biblatex. (Bug#16781)
2950
2951 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2952
2953 * saveplace.el (toggle-save-place):
2954 Fix argument handling. (Bug#16673)
2955
2956 2014-02-28 Glenn Morris <rgm@gnu.org>
2957
2958 * minibuffer.el (completions-first-difference)
2959 (completions-common-part, completion-hilit-commonality): Doc fixes.
2960
2961 2014-02-28 Karl Berry <karl@gnu.org>
2962
2963 * info.el (Info-mode-map): Add H for describe-mode,
2964 to synchronize with standalone Info.
2965
2966 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2967
2968 * progmodes/sql.el (sql-interactive-mode):
2969 Avoid setting global comint-input-ring-separator. (Bug#16814)
2970
2971 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2972
2973 * net/dbus.el (dbus--init-bus): Declare function.
2974 (dbus-path-local, dbus-interface-local): New defconst.
2975 (dbus-init-bus): Use them.
2976 (dbus-return-values-table): Extend doc.
2977 (dbus-handle-bus-disconnect): Extend error message.
2978
2979 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2980
2981 * subr.el (y-or-n-p): Fix double space issue in message.
2982
2983 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2984
2985 * net/tramp.el (tramp-call-process): Improve trace message.
2986 (tramp-handle-insert-file-contents): Trace error case.
2987
2988 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2989 <insert-directory>: Use `tramp-handle-insert-directory'.
2990 (tramp-adb-handle-insert-directory): Remove function.
2991 (tramp-adb-send-command-and-check): New defun, replacing
2992 `tramp-adb-command-exit-status'. Change all callees.
2993 (tramp-adb-handle-file-attributes)
2994 (tramp-adb-handle-directory-files-and-attributes): Use it.
2995 (tramp-adb-ls-output-name-less-p):
2996 Use `directory-listing-before-filename-regexp'.
2997 (tramp-adb-handle-delete-directory): Flush also file properties of
2998 the truename of directory.
2999 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3000 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3001 (tramp-adb-handle-write-region): Implement APPEND.
3002 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3003 properties correctly.
3004 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3005 variables. Check for connected devices only when needed.
3006
3007 2014-02-27 Glenn Morris <rgm@gnu.org>
3008
3009 * minibuffer.el (completion-table-dynamic)
3010 (completion-table-with-cache): Doc fixes.
3011
3012 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3013 (completing-read-multiple): Doc fixes.
3014
3015 2014-02-27 Daniel Colascione <dancol@dancol.org>
3016
3017 * minibuffer.el (completion--nth-completion): Fix indentation.
3018
3019 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3020 explicit tramp path is empty.
3021
3022 2014-02-27 Glenn Morris <rgm@gnu.org>
3023
3024 * emacs-lisp/crm.el (completing-read-multiple):
3025 Empower help-enable-auto-load.
3026
3027 2014-02-26 Glenn Morris <rgm@gnu.org>
3028
3029 * startup.el (command-line): Don't init the tty in daemon mode.
3030
3031 Avoid calling tty-setup-hook twice, eg if a term file
3032 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3033 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3034 (tty-create-frame-with-faces): Use it.
3035 * startup.el (command-line): Pass run-hook argument
3036 to tty-run-terminal-initialization.
3037
3038 * dired.el (dired-restore-desktop-buffer): Demote errors;
3039 eg in case a glob match fails. (Bug#16884)
3040
3041 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3042
3043 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3044 error from `read-from-string'. (Bug#16850)
3045
3046 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3047 result of `completing-read' in the interactive form. (Bug#16854)
3048
3049 2014-02-25 Glenn Morris <rgm@gnu.org>
3050
3051 * image.el (image-animate, image-animate-timeout):
3052 Stop animating images in dead buffers. (Bug#16878)
3053
3054 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3055
3056 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3057 Doc fixes.
3058 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3059 * term/sun.el (sun-raw-prefix-hooks):
3060 Use tty-setup-hook instead of term-setup-hook.
3061 (terminal-init-sun): Construct message from bytecomp plist.
3062 * term/wyse50.el (enable-arrow-keys): Doc fix.
3063
3064 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3065
3066 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3067 Fix docstring typos.
3068
3069 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3070
3071 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3072
3073 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3074
3075 * minibuffer.el (completion--try-word-completion):
3076 Fix error when completing M-x commands (bug#16808).
3077
3078 2014-02-24 Leo Liu <sdl.web@gmail.com>
3079
3080 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3081
3082 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3083
3084 * apropos.el (apropos-print): Avoid formatting error when
3085 apropos-do-all and apropos-compact-layout are both t.
3086
3087 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3088
3089 * apropos.el (apropos-property, apropos-all-words-regexp)
3090 (apropos-true-hit, apropos-variable, apropos-print):
3091 Fix docstring typos, and remove obsolete comment.
3092
3093 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3094
3095 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3096 Preserve trailing "/". (Bug#16851)
3097
3098 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3099
3100 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3101 after `=>' (bug#16811).
3102 (ruby-smie-rules): Handle the inconsistent second element of the
3103 list returned by `smie-indent--parent'.
3104 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3105 method call.
3106
3107 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3108
3109 * elec-pair.el (electric-pair-text-syntax-table)
3110 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3111 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3112 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3113 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3114
3115 2014-02-22 Glenn Morris <rgm@gnu.org>
3116
3117 * imenu.el (imenu--generic-function): Doc fix.
3118
3119 * register.el (frame-configuration-to-register): Make obsolete.
3120
3121 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3122
3123 * desktop.el (desktop-save-buffer-p): Do not fail when
3124 desktop-files-not-to-save is nil. Return t for true result
3125 as the doc says.
3126
3127 2014-02-22 Daniel Colascione <dancol@dancol.org>
3128
3129 * net/secrets.el (secrets-create-item, secrets-search-items):
3130 Check that attribute values are strings, avoiding the construction
3131 of invalid dbus messages.
3132
3133 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3134
3135 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3136 defun-declarations-alist.
3137
3138 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3141 (bug#16829).
3142
3143 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3144
3145 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3146 (whitespace-newline, whitespace-trailing, whitespace-line)
3147 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3148 (whitespace-space-after-tab): Fix typo in docstrings.
3149
3150 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3151
3152 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3153
3154 * electric.el (electric-indent-functions-without-reindent):
3155 Add `yaml-indent-line'.
3156
3157 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3158
3159 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3160 It has done nothing for years; should be removed after the release.
3161
3162 * simple.el (choose-completion): Fix docstring typo.
3163 (read-quoted-char-radix): Remove unneeded * in docstring.
3164 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3165 Don't escape parentheses unnecessarily in docstrings.
3166
3167 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3168
3169 Fix handling of window-min-height/-width (Bug#16738).
3170 * window.el (window--dump-window, window--dump-frame):
3171 New functions.
3172 (window--min-size-1): Account for window dividers.
3173 When window-resize-pixelwise is nil, delay rounding till after the
3174 sum of the window components has been calculated.
3175 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3176 nil make sure at least one text line and two text columns remain
3177 fully visible.
3178 (window-resize): Signal an error when window-resize-apply fails.
3179 (window--resize-child-windows): Fix calculation of by how many
3180 pixels a window can still be shrunk via window-new-normal.
3181 (adjust-window-trailing-edge): Call window--resizable with
3182 correct TRAIL argument.
3183
3184 (with-temp-buffer-window): Don't evaluate BODY within
3185 with-current-buffer (Bug#16816).
3186
3187 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3188
3189 * net/tramp.el (tramp-check-cached-permissions):
3190 Call `file-attributes' with `suffix' being a symbol but a string.
3191
3192 2014-02-21 Daniel Colascione <dancol@dancol.org>
3193
3194 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3195 (dbus-init-bus): New function: call into dbus-init-bus-1
3196 and installs a handler for the disconnect signal.
3197 (dbus-call-method): Rewrite to look for result in cons.
3198 (dbus-call-method-handler): Store result in cons.
3199 (dbus-check-event): Recognize events with nil sender as valid.
3200 (dbus-handle-bus-disconnect): New function. React to bus
3201 disconnection signal by synthesizing dbus error for each
3202 pending synchronous or asynchronous call.
3203 (dbus-notice-synchronous-call-errors): New function.
3204 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3205 is true, not all the time.
3206
3207 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3208
3209 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3210 Remove obsolescence declarations, these variables do not exist anymore.
3211
3212 * savehist.el (savehist-save-minibuffer-history)
3213 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3214 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3215 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3216 mostly, refer to "Savehist mode" when talking about the mode,
3217 and not the function.
3218
3219 * saveplace.el (save-place): Remove redundant info in docstring.
3220 (save-place-forget-unreadable-files, toggle-save-place)
3221 (save-place-forget-unreadable-files, save-place-dired-hook):
3222 Fix typos and remove unneeded backslashes.
3223
3224 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3225
3226 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3227 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3228
3229 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3230 <insert-directory>: Use `tramp-handle-insert-directory'.
3231 (tramp-gvfs-handle-insert-directory): Remove function.
3232
3233 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3234 Call `tramp-handle-insert-directory'.
3235
3236 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3237
3238 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3239 before the start of buffer/region (bug#16799).
3240
3241 2014-02-20 Glenn Morris <rgm@gnu.org>
3242
3243 * isearch.el (search-invisible): Doc fix.
3244
3245 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3246
3247 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3248 (bug#16657).
3249
3250 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3251
3252 * frameset.el (frameset-restore): Delay removing an old frame's
3253 duplicate id until the new frame has been correctly created.
3254
3255 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3256
3257 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3258 (tramp-check-cached-permissions): Call `file-attributes' if the
3259 cache is empty.
3260
3261 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3262 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3263
3264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3265 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3266 (tramp-gvfs-maybe-open-connection): Set always connection
3267 properties, even if target is mounted already.
3268
3269 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3270 Set tramp-autoload cookie.
3271 (tramp-get-remote-touch): New defun.
3272 (tramp-sh-handle-set-file-times): Use it.
3273 (tramp-sh-handle-directory-files-and-attributes):
3274 Use `tramp-handle-directory-files-and-attributes' if neither stat
3275 nor perl are available on the remote host.
3276
3277 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3278 "/". Write long listing only when "l" belongs to the switches.
3279
3280 * net/trampver.el: Update release number.
3281
3282 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3283
3284 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3285
3286 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3287
3288 * window.el (window-state-put): Allow WINDOW to refer to an
3289 internal window (Bug#16793).
3290
3291 2014-02-19 Glenn Morris <rgm@gnu.org>
3292
3293 * textmodes/remember.el: Move provide statement to end.
3294 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3295 (remember-notes): Doc fixes.
3296
3297 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 * delsel.el (delete-char): Restore incorrectly erased property
3300 (bug#16795).
3301
3302 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3303
3304 * frameset.el (frameset--restore-frame): When a frame is being reused
3305 and its root window is not alive, delete all the frame's windows before
3306 restoring the window state. This works around the issue in bug#16793.
3307
3308 2014-02-18 Glenn Morris <rgm@gnu.org>
3309
3310 * textmodes/remember.el (remember-data-directory)
3311 (remember-directory-file-name-format, remember-store-in-files)
3312 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3313 (remember-notes-save-and-bury-buffer)
3314 (remember-notes--kill-buffer-query): Doc fixes.
3315
3316 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3317
3318 2014-02-17 Alan Mackenzie <acm@muc.de>
3319
3320 Connect electric-indent-mode up with CC Mode. Bug #15478.
3321 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3322 to electric-indent-{,local-}-mode.
3323 (c-basic-common-init): Set electric-indent-inhibit.
3324 Initialise c-electric-flag from electric-indent-mode.
3325 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3326 New hook functions which propagate electric-indent-mode to CC mode.
3327
3328 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3329 hit, toggle electric-indent-local-mode.
3330
3331 * electric.el (electric-indent-mode-has-been-called):
3332 New variable.
3333
3334 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3335
3336 * frameset.el (frameset-cfg-id): New function.
3337 (frameset--reuse-frame, frameset-restore): Use it.
3338 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3339
3340 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * ido.el (ido-file-internal): Remove unused var `d'.
3343 Use \` for to match BoS. Fit within 80n columns.
3344
3345 2014-02-17 Daniel Colascione <dancol@dancol.org>
3346
3347 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3348 dbus-call-method check for completion using a busy-wait loop with
3349 gradual backoff.
3350
3351 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3352
3353 Sync with Tramp 2.2.9.
3354
3355 * net/trampver.el: Update release number.
3356
3357 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3358
3359 * ido.el (ido-file-internal): Don't add the name of an existing
3360 directory twice. (Bug#16747)
3361
3362 2014-02-16 Glenn Morris <rgm@gnu.org>
3363
3364 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3365 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3366
3367 2014-02-15 Michael R. Mauger <michael@mauger.com>
3368
3369 * progmodes/sql.el: Version 3.4
3370 (sql-oracle-options): New default value ("-L").
3371 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3372 (sql-placeholders-filter): Correct placeholder pattern.
3373 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3374 (sql-login-delay): New variable.
3375 (sql-product-interactive): Use it.
3376
3377 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3378
3379 * frameset.el (frameset--jump-to-register): Check that buffer is live
3380 (bug#16749).
3381
3382 2014-02-15 Glenn Morris <rgm@gnu.org>
3383
3384 * info.el (info-initialize): Revert 2014-01-10 change.
3385
3386 2014-02-14 Glenn Morris <rgm@gnu.org>
3387
3388 * replace.el (map-query-replace-regexp)
3389 (read-regexp-defaults-function, read-regexp): Doc fixes.
3390
3391 * dired.el (dired-read-regexp):
3392 * faces.el (list-faces-display):
3393 * misearch.el (multi-isearch-read-matching-buffers)
3394 (multi-isearch-read-matching-files):
3395 * play/cookie1.el (cookie-apropos):
3396 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3397
3398 * textmodes/remember.el (remember): Use frameset-to-register
3399 rather than frame-configuration-to-register.
3400
3401 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3402
3403 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3404 incorrect keybinding.
3405
3406 2014-02-13 Daniel Colascione <dancol@dancol.org>
3407
3408 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3409 when adding overlays so that line numbers from compiler match line
3410 numbers we use.
3411
3412 2014-02-13 Glenn Morris <rgm@gnu.org>
3413
3414 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3415
3416 * jit-lock.el (jit-lock-mode): Doc fix.
3417
3418 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3419
3420 * apropos.el (apropos-read-pattern): When the user passes an empty
3421 string, give a more helpful error message than "Wrong type
3422 argument: stringp, nil".
3423
3424 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3427
3428 2014-02-13 Glenn Morris <rgm@gnu.org>
3429
3430 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3431
3432 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3435 shift-select commands.
3436
3437 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * progmodes/js.el (js-indent-line): Don't widen.
3440 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3441
3442 2014-02-12 Glenn Morris <rgm@gnu.org>
3443
3444 * icomplete.el (icomplete): Add info-link to defgroup.
3445 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3446 (icomplete-minibuffer-map, icomplete-mode)
3447 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3448
3449 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3450 (package-menu-filter): Rename from package-menu-filter-interactive.
3451 Doc fix.
3452
3453 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3454
3455 * frameset.el (frameset--jump-to-register): Select the required
3456 window and buffer before restoring position (bug#16696).
3457
3458 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3459
3460 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3461
3462 2014-02-10 Glenn Morris <rgm@gnu.org>
3463
3464 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3465
3466 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3467
3468 * w32-common-fns.el (x-get-selection): Doc fix.
3469 * select.el (x-get-selection): Doc fix. (Bug#15109)
3470
3471 * face-remap.el (face-remap-add-relative)
3472 (face-remap-remove-relative, face-remap-reset-base)
3473 (face-remap-set-base): Call force-mode-line-update to redisplay
3474 the current buffer due to potential change in faces. (Bug#16709)
3475
3476 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3477
3478 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3479 script more robustly.
3480
3481 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3482
3483 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3484
3485 * simple.el (choose-completion): Doc fix (bug#14160).
3486
3487 * subr.el (event-start): Say what a nil EVENT value means.
3488
3489 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3490 (bug#14197).
3491
3492 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3493
3494 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3495
3496 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3497
3498 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3499 predicate function (bug#15455).
3500
3501 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3502
3503 * ielm.el (inferior-emacs-lisp-mode): Instead of
3504 `comment-use-global-state', set `comment-use-syntax'.
3505
3506 2014-02-10 Glenn Morris <rgm@gnu.org>
3507
3508 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3509
3510 2014-02-09 Alan Mackenzie <acm@muc.de>
3511
3512 Fix c-invalidate-state-cache on narrowed buffers.
3513 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3514 Widen when setting and clearing the CPP delimiter properties.
3515
3516 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3517
3518 * help.el (describe-bindings): Doc fix (bug#9888).
3519
3520 * files.el (save-buffer): Use ARG as the parameter name for
3521 consistency (bug#10346).
3522 (save-buffer): Clarify the 0 argument (bug#10346).
3523
3524 * cus-edit.el (customize-apropos): Fix error string.
3525 (custom-buffer-create): Doc fix (bug#11122).
3526 (custom-sort-items): Doc fix (bug#11121).
3527
3528 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3529
3530 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3531 (icomplete-simple-completing-p): Mention the previous variable.
3532
3533 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3534 meaning of the parameter (bug#12282).
3535
3536 * files.el (find-file-noselect): Clarify prompt when changing
3537 readedness (bug#13261).
3538 (locate-file): Suffixes aren't returned, so don't say that they
3539 are (bug#12674).
3540 (backup-inhibited): Doc clarification (bug#12525).
3541
3542 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3543 before we actually start to delete things (bug#16331).
3544
3545 * subr.el (event-start): Doc fix (bug#14228).
3546 (event-end): Ditto.
3547
3548 2014-02-09 Glenn Morris <rgm@gnu.org>
3549
3550 * emacs-lisp/warnings.el (lwarn):
3551 Empower help-enable-auto-load. (Bug#15940)
3552
3553 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3554
3555 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3556 (Bug#16690)
3557
3558 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3559
3560 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3561 Insert output at end of buffer. (Bug#16120)
3562
3563 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3564
3565 * simple.el (choose-completion-string-functions): Document new
3566 calling convention (bug#14153).
3567 (execute-extended-command): Clarify doc string (bug#13373).
3568
3569 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3570
3571 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3572 (find-grep-dired): Doc fix (bug#14288).
3573
3574 2014-02-08 Juri Linkov <juri@jurta.org>
3575
3576 * isearch.el (isearch-quote-char): Check character validity
3577 like in `quoted-insert' (bug#16677).
3578
3579 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3580
3581 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3582
3583 * isearch.el (isearch-hide-immediately): Doc clarification
3584 (bug#14723).
3585
3586 * simple.el (line-move): Document utility function used many
3587 places in the Emacs sources (bug#14843).
3588
3589 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3590 (dired-prev-marked-file): Doc fix (bug#14855).
3591 (dired-up-directory): Doc fix (bug#14848).
3592
3593 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3594
3595 * files.el (file-relative-name): Doc fix (bug#15159).
3596
3597 * fringe.el (fringe-styles): Doc fix (bug#15239).
3598
3599 * isearch.el (isearch-filter-predicate): Documentation typo fix
3600 (bug#15474).
3601
3602 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3603
3604 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3605
3606 * replace.el (replace-match-maybe-edit): Doc clarification
3607 (bug#15632).
3608
3609 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3610
3611 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3612
3613 2014-02-08 Glenn Morris <rgm@gnu.org>
3614
3615 * help-fns.el (describe-variable):
3616 Check {file,dir}-local-variables-alist, and buffer-file-name,
3617 in the correct buffer.
3618
3619 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3620
3621 * help-fns.el (describe-variable): Fix the case where
3622 a value is directory-local with no dir-locals file. (Bug#16635)
3623
3624 2014-02-08 Glenn Morris <rgm@gnu.org>
3625
3626 * abbrev.el (edit-abbrevs-mode):
3627 Derive from fundamental-mode. (Bug#16682)
3628
3629 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3630
3631 * simple.el (quoted-insert): Check character validity (bug#16677).
3632
3633 2014-02-07 Juri Linkov <juri@jurta.org>
3634
3635 * desktop.el (desktop-read): Claim the lock when the owner is not
3636 the current process. (Bug#16157)
3637
3638 2014-02-07 Juri Linkov <juri@jurta.org>
3639
3640 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3641 to "\\` ". (Bug#16651)
3642
3643 2014-02-07 Juri Linkov <juri@jurta.org>
3644
3645 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3646 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3647 (desktop-auto-save-cancel-timer): New function with some code from
3648 `desktop-auto-save-set-timer'.
3649 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3650 Instead of setting `desktop-save-mode' to nil, call
3651 `desktop-save-mode' with arg 0. (Bug#16630)
3652
3653 2014-02-07 Glenn Morris <rgm@gnu.org>
3654
3655 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3656 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3657 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3658
3659 * obsolete/iswitchb.el: Move to obsolete/.
3660 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3661 since obsolete/ is not scanned for autoloads.
3662 * emacs-lisp/authors.el (authors-valid-file-names):
3663 Add iswitchb.el.
3664
3665 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3666 Disable now non-functional find-file-hook.
3667
3668 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3669
3670 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3671 instead of ";" in order to avoid additional prompts. Let heredoc
3672 scripts read from tty. (Bug#16582)
3673 (tramp-send-command): No special handling of heredocs, it isn't
3674 necessary anymore.
3675
3676 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3677
3678 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3679 with a space (bug#16664). Limit the symbols considered to the ones
3680 that are bound or fbound (bug#16646).
3681
3682 2014-02-06 Glenn Morris <rgm@gnu.org>
3683
3684 * epa.el (epa-mail-aliases): Doc fix.
3685
3686 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3687
3688 * emacs-lisp/lisp.el (lisp-completion-at-point):
3689 Use `completion-table-merge' instead of `completion-table-in-turn'
3690 (bug#16604).
3691
3692 * minibuffer.el (completion-table-merge): New function.
3693
3694 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3695
3696 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3697 (tramp-sh-handle-set-file-acl)
3698 (tramp-sh-handle-start-file-process)
3699 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3700 (tramp-find-executable, tramp-send-command): Use it.
3701
3702 2014-02-05 Glenn Morris <rgm@gnu.org>
3703
3704 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3705
3706 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3707
3708 * progmodes/python.el (python-shell-send-string)
3709 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3710
3711 2014-02-04 Anders Lindgren <andlind@gmail.com>
3712
3713 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3714 the names (bug#16620).
3715
3716 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3717
3718 * faces.el (window-divider): New default value. Rewrite doc-string.
3719 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3720
3721 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3722
3723 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3724 `protected' and `public' can also be called without arguments.
3725
3726 2014-02-03 Glenn Morris <rgm@gnu.org>
3727
3728 * register.el (window-configuration-to-register)
3729 (frame-configuration-to-register): Unadvertise unused argument.
3730 * frameset.el (frameset-to-register): Remove unused argument.
3731
3732 * frameset.el (frameset-to-register):
3733 * kmacro.el (kmacro-to-register):
3734 * register.el (increment-register):
3735 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3736 (calc-append-to-register, calc-prepend-to-register):
3737 * play/gametree.el (gametree-layout-to-register)
3738 (gametree-apply-register-layout):
3739 * textmodes/picture.el (picture-clear-rectangle-to-register)
3740 (picture-yank-rectangle-from-register):
3741 * vc/emerge.el (emerge-combine-versions-register):
3742 Use register-read-with-preview to read registers.
3743
3744 2014-02-03 João Távora <joaotavora@gmail.com>
3745
3746 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3747 when at beginning of (possibly narrowed) buffer.
3748
3749 2014-02-02 Daniel Colascione <dancol@dancol.org>
3750
3751 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3752 Also try to display local help from just before point.
3753
3754 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3755
3756 c-parse-state. Don't "append-lower-brace-pair" in certain
3757 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3758 recognised as a comment.
3759
3760 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3761 as well as normal comment starter.
3762 (c-parse-state-get-strategy): Extra return possibility
3763 'back-and-forward.
3764 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3765 return value list to indicate replacement of a brace-pair cons
3766 with its car.
3767 (c-parse-state-1): With 'back-and-forward, only call
3768 c-append-lower-brace-pair-to state-cache when cons-separated.
3769
3770 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3771
3772 * term/ns-win.el (ns-suspend-error): New function.
3773 (ns-initialize-window-system): Add ns-suspend-error to
3774 suspend-hook (Bug#16612).
3775
3776 2014-02-02 Daniel Colascione <dancol@dancol.org>
3777
3778 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3779 Make loading cc-mode silent.
3780
3781 2014-02-02 Daniel Colascione <dancol@dancol.org>
3782
3783 * comint.el (comint-prompt-read-only): Change doc to suggest
3784 remap keybinding.
3785
3786 2014-02-02 Glenn Morris <rgm@gnu.org>
3787
3788 * register.el (register-read-with-preview, point-to-register)
3789 (window-configuration-to-register, frame-configuration-to-register)
3790 (jump-to-register, number-to-register, view-register, insert-register)
3791 (copy-to-register, append-to-register, prepend-to-register)
3792 (copy-rectangle-to-register): Doc fixes.
3793
3794 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3797 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3798 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3799 * help-fns.el (describe-function-1): Use it.
3800
3801 2014-02-02 Glenn Morris <rgm@gnu.org>
3802
3803 * register.el (register-preview-default): New function,
3804 split from register-preview.
3805 (register-preview-function): Rename from register-preview-functions,
3806 make it not a hook.
3807 (register-preview): Use register-preview-function.
3808 (register-read-with-preview): Error on non-character event. (Bug#16595)
3809
3810 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3811
3812 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3813 `:' before binary operators (bug#16609). Don't check for `:'
3814 before `[' and `(', or their syntax status. A percent literal
3815 can't end with either.
3816 (ruby-font-lock-keywords): For built-ins that require arguments,
3817 check that they're followed by something that looks like argument
3818 (bug#16610).
3819
3820 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3821
3822 * subr.el (butlast): Document what an omitted N means (bug#13437).
3823 (nbutlast): Ditto.
3824
3825 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3826
3827 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3828 depth shallower (bug#16587).
3829 (shr-tag-svg): Respect `shr-inhibit-images'.
3830 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3831
3832 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3833
3834 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3835 (ruby-smie-grammar): Make "." right-associative. Make its priority
3836 lower than the ternary and all binary operators.
3837 (ruby-smie-rules): Indent "(" relative to the first non-"."
3838 parent, or the first "." parent at indentation.
3839 Use `ruby-align-chained-calls' for indentation of "." tokens.
3840 (Bug#16593)
3841
3842 2014-01-31 Juri Linkov <juri@jurta.org>
3843
3844 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3845 from `make-hash-table'.
3846
3847 * textmodes/ispell.el (ispell-init-process): Change message format
3848 to be consistent with other messages.
3849
3850 2014-01-31 Glenn Morris <rgm@gnu.org>
3851
3852 * delsel.el (delete-selection-mode): Doc fix.
3853
3854 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3855 (trace-function-background): Doc fixes.
3856
3857 * ido.el (ido-use-virtual-buffers): Doc fix.
3858 Reset :version, since the default value has not changed.
3859
3860 * register.el (register-preview-delay, register-read-with-preview):
3861 Doc fixes.
3862
3863 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3864 do not mess with mail-buffer position (fixes 2009-11-03 change).
3865 * progmodes/cc-mode.el (c-submit-bug-report):
3866 Check auto-fill-mode is bound. (Bug#16592)
3867
3868 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3869
3870 * startup.el (fancy-splash-image-file): New function,
3871 split from fancy-splash-head.
3872 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3873 so that we are both using the same image. (Bug#16574)
3874
3875 2014-01-30 Glenn Morris <rgm@gnu.org>
3876
3877 * simple.el (eval-expression): Doc fix.
3878
3879 * hexl.el (hexl-mode-hook):
3880 * ielm.el (ielm-mode-hook):
3881 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3882 (lisp-interaction-mode-hook):
3883 * progmodes/cfengine.el (cfengine3-documentation-function):
3884 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3885
3886 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3889 is a symbol (bug#16584).
3890
3891 2014-01-30 Glenn Morris <rgm@gnu.org>
3892
3893 * help.el (help-for-help-internal): Add "P" to text.
3894
3895 2014-01-29 Glenn Morris <rgm@gnu.org>
3896
3897 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3898
3899 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3900
3901 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3902 height constraints.
3903
3904 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3905
3906 * progmodes/hideif.el: Extend to full CPP expression syntax.
3907 (hif-token-alist): Add missing tokens.
3908 (hif-token-regexp): Add support for float/octal/hex immediates.
3909 (hif-string-literal-regexp): New const.
3910 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3911 (hif-exprlist): New function.
3912 (hif-parse-if-exp): Use it.
3913 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3914 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3915 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3916 (hif-logxor, hif-comma): New functions.
3917
3918 2014-01-28 Glenn Morris <rgm@gnu.org>
3919
3920 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3921
3922 * indent.el (tab-stop-list): Doc fix. Add :version.
3923
3924 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3925 (cvs-append-to-ignore): Add compatibility alias.
3926
3927 2014-01-27 Glenn Morris <rgm@gnu.org>
3928
3929 * dired.el (dired-hide-details-mode): Don't autoload it,
3930 since it cannot be used outside Dired buffers anyway.
3931
3932 * emulation/cua-base.el (cua-mode): Doc fix.
3933
3934 * dired.el (dired-hide-details-hide-symlink-targets)
3935 (dired-hide-details-hide-information-lines)
3936 (dired-hide-details-mode): Doc fixes.
3937
3938 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3939 * strokes.el (strokes-file): Doc fix. Bump :version.
3940 (strokes-help): Doc fix.
3941 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3942 * emulation/viper.el (viper): Doc fix for custom group.
3943 (top-level): Remove oh-so-no-longer-relevant text about vip.
3944 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3945
3946 * ido.el (ido-save-directory-list-file):
3947 * saveplace.el (save-place-file):
3948 * calendar/timeclock.el (timeclock-file):
3949 * net/quickurl.el (quickurl-url-file):
3950 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3951 * progmodes/idlwave.el (idlwave-config-directory):
3952 * textmodes/remember.el (remember-data-file):
3953 Bump :version.
3954
3955 2014-01-26 Glenn Morris <rgm@gnu.org>
3956
3957 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3958 Doc fix. Make obsolete.
3959 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3960
3961 * sort.el (delete-duplicate-lines): Doc fix.
3962
3963 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3964
3965 * progmodes/ada-mode.el (ada):
3966 * woman.el (woman): Link to info manual and Commentary section.
3967
3968 * progmodes/flymake.el (flymake):
3969 * nxml/nxml-mode.el (nxml):
3970 * net/eww.el (eww):
3971 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3972 * htmlfontify.el (htmlfontify):
3973 * ses.el (ses):
3974 * epa.el (epa):
3975 * ido.el (ido): Link to info manual.
3976
3977 2014-01-25 Leo Liu <sdl.web@gmail.com>
3978
3979 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3980
3981 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3982
3983 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3984 (bug#16537).
3985
3986 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3987
3988 * net/eww.el (eww-download-callback):
3989 Fix reference to eww-download-directory.
3990
3991 * emacs-lisp/bytecomp.el (byte-compile-file):
3992 Remove unused local variable `file-name'.
3993
3994 2014-01-24 Glenn Morris <rgm@gnu.org>
3995
3996 * woman.el (woman-default-faces, woman-monochrome-faces):
3997 Fix obsolescence specification.
3998
3999 * subr.el (with-demoted-errors): Doc fix.
4000
4001 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4004 (cl--macroexp-fboundp): New function.
4005 (cl--make-type-test): Use it.
4006
4007 2014-01-23 Glenn Morris <rgm@gnu.org>
4008
4009 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4010 * simple.el (eval-expression): Doc fixes.
4011
4012 2014-01-22 Glenn Morris <rgm@gnu.org>
4013
4014 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4015
4016 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * emacs-lisp/package.el: Write files silently.
4019 (package-autoload-ensure-default-file, package--write-file-no-coding)
4020 (package-generate-description-file, package--download-one-archive)
4021 (package-install-from-archive): Tell `write-region' to stay quiet.
4022 (package-menu-mode, package-menu--print-info): Omit the Archive column
4023 if there's only one archive.
4024 (package-all-keywords, package--has-keyword-p): Remove dead code.
4025
4026 2014-01-22 Glenn Morris <rgm@gnu.org>
4027
4028 * version.el (emacs-bzr-version-bzr): Fix typo.
4029
4030 * version.el (emacs-repository-get-version):
4031 Check either .bzr or .git, but not both.
4032 Make the git case actually use the DIR argument, and return nil
4033 rather than the empty string.
4034 Avoid error if .git exists but the git executable is not found.
4035
4036 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4037
4038 Fixes in window size functions around Bug#16430 and Bug#16470.
4039 * window.el (window-total-size, window-size): New argument ROUND.
4040 (window--min-delta-1, window-min-delta, window--max-delta-1):
4041 Be more conservative when calculating the numbers of lines or
4042 columns a window can shrink (Bug#16430).
4043 (fit-window-to-buffer): Simplify code.
4044 * term.el (term-window-width): Call window-body-width again.
4045
4046 2014-01-22 Glenn Morris <rgm@gnu.org>
4047
4048 * image.el (image-format-suffixes): Doc fix.
4049
4050 * international/quail.el (quail-define-package): Doc fix.
4051
4052 * emacs-lisp/authors.el (authors-valid-file-names)
4053 (authors-renamed-files-alist): Additions.
4054
4055 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4056 reverts 2014-01-09 change. (Bug#16422)
4057
4058 * calc/calc-embed.el (thing-at-point-looking-at):
4059 * emacs-lisp/map-ynp.el (x-popup-dialog):
4060 * obsolete/lmenu.el (x-popup-dialog):
4061 * emacs-lisp/package.el (url-recreate-url):
4062 * mail/mailclient.el (clipboard-kill-ring-save):
4063 * subr.el (x-popup-dialog): Update declaration.
4064 * mail/rmail.el (rmail-mime-message-p):
4065 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4066
4067 2014-01-21 Daniel Colascione <dancol@dancol.org>
4068
4069 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4070 Correctly detect when we're inside an arithmetic expansion form
4071 containing nested parenthesis.
4072 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4073 to detect cases where we shouldn't expand "<<" to a heredoc
4074 skeleton.
4075
4076 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4079 (eldoc--message-command-p): New function.
4080 (eldoc-display-message-p): Use it.
4081 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4082 message is not automatically erased for us.
4083 (eldoc-print-current-symbol-info): Erase previous message, if any.
4084
4085 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4086
4087 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4088 specify it's an interactive function.
4089
4090 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4091 Fix regex used for scanning for citation keys which failed for
4092 citations with optional arguments.
4093
4094 2014-01-21 Leo Liu <sdl.web@gmail.com>
4095
4096 * simple.el (read--expression): Don't enable eldoc-mode.
4097
4098 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * simple.el (move-beginning-of-line): Make sure we don't move forward
4101 (bug#16497).
4102
4103 2014-01-20 Juri Linkov <juri@jurta.org>
4104
4105 * saveplace.el (toggle-save-place, save-place-to-alist)
4106 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4107 'dired-mode) before checking for dired-directory. (Bug#16477)
4108
4109 2014-01-20 Juri Linkov <juri@jurta.org>
4110
4111 * indent.el (indent-line-to): Use backward-to-indentation
4112 instead of back-to-indentation. (Bug#16461)
4113
4114 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4115
4116 Revert some of the CANNOT_DUMP fix (Bug#16494).
4117 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4118 but fixing this can wait until after the next release.
4119 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4120
4121 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4122
4123 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4124 Use `password-word-equivalents'.
4125 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4126 to t. (Bug#5664, Bug#13124)
4127
4128 2014-01-19 Alan Mackenzie <acm@muc.de>
4129
4130 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4131 points.
4132 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4133 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4134 * progmodes/cc-mode.el (c-before-change, c-after-change)
4135 (c-font-lock-fontify-region): Bind it here.
4136
4137 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4138
4139 * term.el (term-window-width): Call window-text-width instead of
4140 window-width (Bug#16470).
4141
4142 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4143
4144 * simple.el (password-word-equivalents): Remove duplicates.
4145 Sort, to make this easier next time.
4146 Downcase. Omit ": " after "jelszó".
4147
4148 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4149
4150 * term/common-win.el (saved-region-selection): Defvar it.
4151 (x-select-text): Set saved-region-selection (Bug#16382).
4152
4153 2014-01-18 Glenn Morris <rgm@gnu.org>
4154
4155 * emacs-lisp/authors.el (authors-aliases)
4156 (authors-renamed-files-alist): Add some entries.
4157
4158 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/tramp.el (tramp-password-prompt-regexp):
4161 Use `password-word-equivalents' if available.
4162 (tramp-action-password, tramp-process-one-action)
4163 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4164
4165 2014-01-17 Chong Yidong <cyd@gnu.org>
4166
4167 * simple.el (password-word-equivalents): New defcustom.
4168 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4169 to 24.4.
4170 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4171 to t. (Bug#13124)
4172
4173 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4174
4175 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4176 (ruby-align-to-stmt-keywords): Change the default value.
4177 Use `ruby-alignable-keywords' to generate the possible customization
4178 choices.
4179 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4180 keywords, check against the value of `ruby-alignable-keywords'
4181 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4182
4183 2014-01-17 Glenn Morris <rgm@gnu.org>
4184
4185 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4186
4187 Make M-x authors return zero *Authors Errors* from current logs.
4188 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4189 (authors-ignored-files): Add some entries, remove others.
4190 (authors-ambiguous-files, authors-valid-file-names):
4191 Add some entries.
4192 (authors-renamed-files-alist): Add, remove, and adjust entries.
4193 (authors-renamed-files-regexps): Add some entries.
4194 Remove some very broad ones. Make some entries `lax'.
4195 (authors-lax-changelogs): New constant.
4196 (authors-disambiguate-file-name): Treat top-level specially.
4197 (authors-lax-changelog-p): New function.
4198 (authors-canonical-file-name): Check file as written against
4199 authors-valid-file-names. Do not special-case etc/.
4200 Handle `lax' logs and authors-renamed-files-regexps elements.
4201
4202 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4203
4204 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4205 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4206 callers.
4207
4208 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4211 Assume we're already in the proper buffer.
4212 Inspired by Anders Lindgren <andlind@gmail.com>.
4213 (follow-post-command-hook): Call it from the right buffer.
4214 (follow-comint-scroll-to-bottom): Adjust call.
4215 (follow-all-followers): Use get-buffer-window-list.
4216
4217 2014-01-15 Daniel Colascione <dancol@dancol.org>
4218
4219 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4220 `buffer-file-name' in interactive-form so that we don't leave
4221 pathless file names in `file-name-history'.
4222
4223 2014-01-15 Juri Linkov <juri@jurta.org>
4224
4225 * indent.el (indent-rigidly): Set deactivate-mark to nil
4226 in transient indentation mode. (Bug#16438)
4227
4228 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4229
4230 * emacs-lisp/package.el (package-desc-keywords): New function
4231 (Bug#16222).
4232 (describe-package-1, package-all-keywords)
4233 (package--has-keyword-p): Use it.
4234
4235 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4236
4237 * simple.el (define-alternatives): When creating the
4238 COMMAND-alternatives variable, assign COMMAND as its definition
4239 name so that `describe-variable' can relocate it.
4240
4241 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4242
4243 * font-lock.el (font-lock-keywords): Fix typo in docstring
4244 (bug#16307).
4245
4246 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4247
4248 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4249 line instead of wrongly reset `add-coment' (bug#13577).
4250
4251 2014-01-14 Daiki Ueno <ueno@gnu.org>
4252
4253 * epa-file.el (epa-file-write-region): Encode the region according
4254 to `buffer-file-format'. Problem reported at:
4255 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4256
4257 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4260 so it applies in the right buffer (bug#16410).
4261
4262 2014-01-13 Daniel Colascione <dancol@dancol.org>
4263
4264 * textmodes/rst.el (rst-define-key): Provide deprecated
4265 keybindings through named functions instead of anonymous ones so
4266 that "??" doesn't appear in describe-mode output.
4267
4268 2014-01-13 Bastien Guerry <bzg@gnu.org>
4269
4270 * simple.el (define-alternatives): Call the selected command
4271 interactively. When setting `COMMAND--implementation' for the
4272 first time, tell the user how to chose another implementation.
4273 Enhance the docstring.
4274
4275 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4278 (log-edit--match-first-line): New function.
4279 (log-edit-font-lock-keywords): Use it.
4280 (log-edit-mode): Make jit-lock-defer-multiline work.
4281
4282 2014-01-13 Bastien Guerry <bzg@gnu.org>
4283
4284 * rect.el (rectangle-mark-mode): When the region is not active,
4285 display a message saying that the mark as been set and that
4286 rectangle mode is in use.
4287 (rectangle--highlight-for-redisplay): Only put an overlay with a
4288 visible vertical bar when (display-graphic-p) is non-nil.
4289 This partially fixes Bug#16403.
4290
4291 2014-01-13 Juri Linkov <juri@jurta.org>
4292
4293 * info.el (Info-find-file): Go to DIR before displaying the error
4294 about a nonexistent file if no previous Info file is visited.
4295 Use `user-error' instead of `error' for "Info file %s does not exist".
4296 (Info-find-node-2): In case of a nonexistent node in unwind forms
4297 go to the Top node if there is no previous node to revert to.
4298 (Bug#16405)
4299
4300 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4301
4302 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4303 * window.el (fit-frame-to-buffer): Fix doc-string.
4304 Respect window-min-height/-width. Fit pixelwise when
4305 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4306 when avoiding that frame goes partially off-screen.
4307 (fit-window-to-buffer): Respect window-min-height/-width
4308 (Bug#14096).
4309
4310 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4313 after an empty line.
4314
4315 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * net/shr.el (shr-render-region): Autoload.
4318
4319 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4320
4321 * net/eww.el (eww-download-directory): Rename from
4322 `eww-download-path' (Bug#16419).
4323
4324 2014-01-12 Leo Liu <sdl.web@gmail.com>
4325
4326 * dired-x.el (dired-mode-map): Fix last change.
4327
4328 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4329
4330 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4331
4332 Spelling fixes.
4333 * emacs-lisp/generic.el (generic--normalize-comments):
4334 Rename from generic--normalise-comments. All uses changed.
4335 * play/bubbles.el (bubbles--neighborhood-score)
4336 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4337 (bubbles--neighborhood-available)
4338 (bubbles--update-neighborhood-score):
4339 Rename from names with 'neighbourhood'. All uses changed.
4340
4341 2014-01-12 Leo Liu <sdl.web@gmail.com>
4342
4343 Re-implement the feature of showing eldoc info after editing.
4344 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4345 (eldoc-edit-message-commands): New function.
4346 (eldoc-print-after-edit): New variable.
4347 (eldoc-pre-command-refresh-echo-area): Emit message only by
4348 eldoc-message-commands.
4349 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4350 if eldoc-print-after-edit is set. (Bug#16346)
4351 * simple.el (read--expression): Enable eldoc-mode.
4352 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4353
4354 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4355 Eric S. Raymond <esr@thyrsus.com>
4356
4357 * version.el (emacs-repository-get-version): Enhance so the
4358 function works correctly in either a Bazaar or Git repo.
4359
4360 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4361
4362 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4363 Goes with removal of the joke manpages from /etc.
4364
4365 2014-01-10 Kenichi Handa <handa@gnu.org>
4366
4367 * mail/rmail.el (rmail-get-coding-system):
4368 Check rmail-get-coding-function before "funcall"ing it.
4369
4370 2014-01-10 Glenn Morris <rgm@gnu.org>
4371
4372 * emacs-lisp/authors.el (authors-fixed-entries):
4373 Update for files that no longer exist.
4374
4375 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4376
4377 * version.el (emacs-bzr-get-version): Restore compatibilty with
4378 24.3 (Tested).
4379
4380 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4381
4382 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4383 and Podfile.
4384
4385 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4386
4387 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4388
4389 2014-01-10 Chong Yidong <cyd@gnu.org>
4390
4391 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4392
4393 2014-01-10 Anders Lindgren <andlind@gmail.com>
4394
4395 * follow.el (follow-cache-command-list): Include right-char and
4396 left-char.
4397
4398 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4399
4400 Spelling fixes.
4401 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4402 * woman.el (woman-mark-horizontal-position):
4403 Rename from woman-mark-horizonal-position. Use changed.
4404
4405 2014-01-10 Glenn Morris <rgm@gnu.org>
4406
4407 * info.el (info-initialize): If running uninstalled, ensure our
4408 own info files are always found first, even if INFOPATH is set.
4409
4410 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4411
4412 2014-01-09 David Engster <deng@randomsample.de>
4413
4414 * emacs-lisp/eieio-custom.el:
4415 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4416 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4417 * emacs-lisp/eieio.el: Regenerate autoloads.
4418
4419 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4420
4421 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4422 following renames. (Bug#8756)
4423
4424 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4425
4426 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4427 (bug#16382).
4428 (activate-mark): Add `no-tmm' argument.
4429 (set-mark, push-mark-command): Use it instead of running
4430 activate-mark-hook by hand.
4431
4432 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4433
4434 In preparation for the move to git, sanitize out some
4435 Bazaar-specific names.
4436
4437 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4438
4439 * version.el (emacs-bzr-version): Name changed to
4440 emacs-repository-version. Obsolete-variable alias made.
4441 * loadup.el: Follow through on this name change.
4442 * mail/emacsbug.el (report-emacs-bug): Factor out any
4443 assumption about the version control system in use.
4444
4445 2014-01-08 David Engster <deng@randomsample.de>
4446
4447 * help-fns.el (help-fns-describe-function-functions):
4448 New variable to call functions for augmenting help buffers.
4449 (describe-function-1): Remove explicit calls to
4450 `help-fns--compiler-macro', `help-fns--parent-mode' and
4451 `help-fns--obsolete'. Put them in above new variable instead, and
4452 call them through `run-hook-with-args'.
4453 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4454 `eieio-describe-class'. Not meant for interactive use anymore,
4455 but to augment existing help buffers. Remove optional second
4456 argument. Create proper button for file location.
4457 Rewrite function to use `insert' instead of `princ' and `prin1' where
4458 possible.
4459 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4460 (eieio-method-def, eieio-class-def): Move further up.
4461 (describe-method, describe-generic, eieio-describe-method):
4462 Remove aliases.
4463 (eieio-help-constructor, eieio-help-generic): Rename from
4464 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4465 Rewrite to use `insert' in the current buffer and use proper help
4466 buttons.
4467 (eieio-help-find-method-definition)
4468 (eieio-help-find-class-definition): Also accept symbols as
4469 arguments.
4470 (eieio-help-mode-augmentation-maybee): Remove.
4471 (eieio-describe-class-sb): Use `describe-function'.
4472 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4473 Add `eieio-help-generic' and `eieio-help-constructor'.
4474
4475 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4476
4477 Spelling fixes.
4478 * language/china-util.el (hz-ascii-designation):
4479 Rename from hz-ascii-designnation.
4480 (hz-ascii-designation): Rename from hz-ascii-designnation.
4481 All uses changed.
4482
4483 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4484
4485 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4486 package-alist.
4487
4488 2014-01-08 Bastien Guerry <bzg@gnu.org>
4489
4490 * emacs-lisp/package.el (package-delete):
4491 Correctly delete the package from package-alist.
4492
4493 2014-01-08 Daiki Ueno <ueno@gnu.org>
4494
4495 * emacs-lisp/package.el (url-recreate-url): Declare.
4496 (url-http-target-url): Declare.
4497 (package-handle-response): Include requested URL in the error message.
4498 (package--check-signature): Don't re-signal errors from
4499 package--with-work-buffer. Suggested by Stefan Monnier.
4500
4501 2014-01-07 Bastien Guerry <bzg@gnu.org>
4502
4503 * minibuffer.el (completion--try-word-completion): When both a
4504 hyphen and a space are possible candidates for the character
4505 following a word, display both candidates. (Bug#15980)
4506
4507 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4508
4509 * window.el (balance-windows-2): While rounding don't give a
4510 window more than the remainder. Bug#16351, bug#16383.
4511
4512 2014-01-07 Glenn Morris <rgm@gnu.org>
4513
4514 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4515 (menu-bar-help-menu): Use view-external-packages instead.
4516
4517 2014-01-07 Bastien Guerry <bzg@gnu.org>
4518
4519 * emacs-lisp/package.el (package-delete): Also delete the package
4520 name from `package-alist', not its description only.
4521
4522 2014-01-07 Glenn Morris <rgm@gnu.org>
4523
4524 * help.el (view-external-packages):
4525 * menu-bar.el (menu-bar-help-extra-packages):
4526 Visit efaq.info rather than etc/MORE.STUFF.
4527
4528 2014-01-07 Juri Linkov <juri@jurta.org>
4529
4530 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4531 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4532
4533 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4534 that shadows RET. (Bug#16342)
4535
4536 2014-01-07 Chong Yidong <cyd@gnu.org>
4537
4538 * isearch.el (isearch-yank-char, isearch-yank-word)
4539 (isearch-yank-line): Doc fix.
4540
4541 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4542
4543 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4544 * emacs-lisp/elint.el (elint-find-builtins):
4545 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4546 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4547 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4548 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4549 * apropos.el (apropos-safe-documentation):
4550 * subr.el (symbol-file): Remove redundant fboundp.
4551 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4552
4553 2014-01-06 Bastien Guerry <bzg@gnu.org>
4554
4555 * hl-line.el (global-hl-line-overlay): Make a local variable.
4556 (global-hl-line-overlays): New variable to store all overlays.
4557 (global-hl-line-mode): Don't delete overlays from the current
4558 buffer when `global-hl-line-sticky-flag' is non-nil.
4559 (global-hl-line-highlight): Add new overlays to
4560 `global-hl-line-overlays'.
4561 (global-hl-line-unhighlight-all): New function to delete all
4562 overlays when turning off `global-hl-line-mode'.
4563 This fixes Bug#16183.
4564
4565 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * subr.el (set-transient-map): Fix nested case and docstring.
4568
4569 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4570
4571 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4572 `Texinfo' entry.
4573
4574 2014-01-06 Daniel Colascione <dancol@dancol.org>
4575
4576 Fix defun navigation in vc log view.
4577
4578 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4579 like `beginning-of-defun'.
4580 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4581 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4582 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4583 (log-view-extract-comment): Call `log-view-current-entry' directly
4584 instead of relying on broken `log-view-beginning-of-defun' behavior.
4585
4586 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4587
4588 Spelling fixes.
4589 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4590 * emacs-lisp/debug.el (cancel-debug-on-entry):
4591 * epg.el (epg-error-to-string):
4592 * files.el (recover-file):
4593 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4594 * mail/emacsbug.el (report-emacs-bug-hook):
4595 * mail/sendmail.el (mail-recover):
4596 * ses.el (ses-yank-resize):
4597 * term/ns-win.el (ns-print-buffer):
4598 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4599 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4600 All uses changed.
4601 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4602
4603 2014-01-06 Leo Liu <sdl.web@gmail.com>
4604
4605 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4606 to avoid shadowing global key. (Bug#16354)
4607
4608 2014-01-06 Daniel Colascione <dancol@dancol.org>
4609
4610 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4611 rst-mode.
4612
4613 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4614
4615 * window.el (balance-windows): Add mising t to fix Bug#16351.
4616
4617 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4618
4619 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4620 (bug#16285).
4621 (shr-insert): If we have a word that's longer than `shr-width',
4622 break after it anyway. Otherwise we'll do no breaking once we get
4623 such a long word.
4624
4625 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4626
4627 * net/eww.el (eww): Support single/double quote for search.
4628 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4629 (eww-history-quit): Delete and use quit-window.
4630 (eww-history-kill): Delete, because it doesn't work well and
4631 not necessary.
4632 (eww-history-mode-map): Delete some keys and add easy-menu.
4633
4634 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4635
4636 Fix misspelling of 'chinese' in rx (Bug#16237).
4637 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4638 chinese-two-byte.
4639
4640 Change subword regexps back to vars (Bug#16296).
4641 * progmodes/subword.el (subword-forward-regexp)
4642 (subword-backward-regexp): Change these back to variables.
4643
4644 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4647 syntax-begin-function (bug#16247).
4648
4649 2014-01-03 Chong Yidong <cyd@gnu.org>
4650
4651 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4652 (advice--docstring): Delete variable.
4653 (advice--make-1): Leave the docstring empty.
4654 (advice-add): Use function-documentation for advised docstring.
4655
4656 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4657 Ignore function-documentation property when getting documentation.
4658 (ad-activate-advised-definition): Use function-documentation
4659 generate the docstring.
4660 (ad-make-advised-definition): Don't call
4661 ad-make-advised-definition-docstring.
4662 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4663 Delete functions.
4664
4665 * progmodes/sql.el (sql-help): Use function-documentation instead
4666 of dynamic-docstring-function property. No need to autoload now.
4667 (sql--help-docstring): New variable.
4668 (sql--make-help-docstring): Use it.
4669
4670 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 * ielm.el (ielm-tab): Retarget.
4673 (ielm-map): Use ielm-tab for tab.
4674 (ielm-complete-filename): Use comint-filename-completion.
4675 (ielm-complete-symbol): Remove.
4676 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4677 remove ielm-tab from completion-at-point-functions (bug#16224).
4678
4679 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4680 Beware signals raised by predicates (bug#16201).
4681
4682 2014-01-02 Richard Stallman <rms@gnu.org>
4683
4684 * dired-aux.el (dired-do-print): Handle printer-name.
4685
4686 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4687 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4688 (rmail-epa-decrypt): Turn off mime processing.
4689
4690 * mail/rmail.el (rmail-make-in-reply-to-field):
4691 Add parens in message-id.
4692
4693 * mail/rmail.el (rmail-get-coding-function): Variable.
4694 (rmail-get-coding-system): Use it.
4695
4696 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4697
4698 * international/mule-conf.el: Unify the charset indian-is13194.
4699 (indian-is13194): Specify unify-map.
4700
4701 2013-12-31 Leo Liu <sdl.web@gmail.com>
4702
4703 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4704
4705 2013-12-30 Daniel Colascione <dancol@dancol.org>
4706
4707 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4708 of printing a useless when we resume from sleep.
4709
4710 * progmodes/sh-script.el
4711 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4712 in indentation code. (Bug#16233)
4713
4714 2013-12-28 João Távora <joaotavora@gmail.com>
4715
4716 * elec-pair.el (electric-pair-post-self-insert-function):
4717 Don't open extra newlines at beginning of buffer. (Bug#16272)
4718
4719 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4720
4721 * frame.el (window-system-for-display): Don't allow to create a
4722 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4723
4724 2013-12-28 Glenn Morris <rgm@gnu.org>
4725
4726 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4727 Update callers.
4728
4729 * apropos.el (apropos-match-face):
4730 * calculator.el (calculator-displayer):
4731 * dabbrev.el (dabbrev-search-these-buffers-only):
4732 * face-remap.el (buffer-face-mode-face):
4733 * simple.el (yank-handled-properties):
4734 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4735 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4736 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4737 (hashcash-double-spend-database):
4738 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4739 (ruby-deep-indent-paren-style):
4740 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4741 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4742 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4743 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4744 Specify custom types.
4745
4746 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4747 * bookmark.el (bookmark-bmenu-use-header-line):
4748 * doc-view.el (doc-view-scale-internally):
4749 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4750 * register.el (register-preview-delay):
4751 * net/shr.el (shr-bullet):
4752 * progmodes/cfengine.el (cfengine-cf-promises)
4753 (cfengine-parameters-indent):
4754 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4755 * textmodes/reftex-vars.el (reftex-label-regexps):
4756 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4757
4758 * net/tls.el (tls-certtool-program): Fix default value.
4759
4760 * desktop.el (desktop-restore-in-current-display):
4761 * newcomment.el (comment-empty-lines):
4762 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4763 (idlwave-pad-keyword):
4764 * progmodes/tcl.el (tcl-tab-always-indent):
4765 * textmodes/reftex-vars.el (reftex-index-default-tag):
4766 * elec-pair.el (electric-pair-skip-whitespace):
4767 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4768
4769 * emacs-lisp/authors.el (authors-ignored-files)
4770 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4771
4772 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4773
4774 * shell.el (shell-dynamic-complete-command): Doc fix.
4775 (shell--command-completion-data): Shell completion now matches
4776 executable filenames from the current buffer's directory, on
4777 systems in which this behavior is the default (windows-nt, ms-dos).
4778
4779 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4780
4781 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4782
4783 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4786 (bug#16251).
4787
4788 * electric.el: Move all electric-pair-* to elec-pair.el.
4789 * elec-pair.el: New file, split from electric.el.
4790
4791 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4792
4793 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4794 indentation level is larger than the width, because that will
4795 infloop.
4796 (shr-insert): Fill repeatedly long texts, so that Japanese is
4797 formatted correctly (bug#16263).
4798 (shr-find-fill-point): Off by one error in comparison with the
4799 indentation.
4800
4801 2013-12-26 João Távora <joaotavora@gmail.com>
4802
4803 * electric.el (electric-pair-mode): More flexible engine for skip-
4804 and inhibit predicates, new options for pairing-related functionality.
4805 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4806 if that keeps or improves their balance in buffers.
4807 (electric-pair-delete-adjacent-pairs): Delete the pair when
4808 backspacing over adjacent matched delimiters.
4809 (electric-pair-open-extra-newline): Open extra newline when
4810 inserting newlines between adjacent matched delimiters.
4811 (electric--sort-post-self-insertion-hook):
4812 Sort post-self-insert-hook according to priority values when
4813 minor-modes are activated.
4814 * simple.el (newline-and-indent): Call newline with interactive
4815 set to t.
4816 (blink-paren-post-self-insert-function): Set priority to 100.
4817 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4818 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4819 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4820 electric-pair-open-newline-between-pairs to nil.
4821
4822 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4823
4824 * progmodes/python.el: Use lexical-binding.
4825 (python-nav-beginning-of-defun): Stop searching ASAP.
4826
4827 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4828
4829 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4830 Fix interactive spec. Doc fix. (Bug#15754)
4831
4832 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4833
4834 * emacs-lisp/byte-run.el (eval-when-compile):
4835 * progmodes/cc-defs.el (cc-eval-when-compile):
4836 Fix edebug spec (bug#16184).
4837
4838 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4839
4840 * net/shr.el (shr-visit-file): Remove debugging function.
4841 (shr-insert): Don't infloop if we can't find a good place to break
4842 the line (bug#16256).
4843
4844 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4845
4846 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4847 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4848 python-nav-lisp-forward-sexp-safe.
4849 (python-nav--forward-sexp): New argument SAFE allows switching
4850 forward sexp movement behavior for parens.
4851 (python-nav-forward-sexp): Throw errors on unterminated parens
4852 (Bug#16191).
4853 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4854 (python-nav-backward-sexp-safe): New functions.
4855 (python-shell-buffer-substring):
4856 Use `python-nav-forward-sexp-safe'.
4857
4858 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4859
4860 * net/shr.el (shr-find-fill-point): Don't break lines before a
4861 quotation mark.
4862 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4863 (shr-find-fill-point): Remove the special checks for the quotation
4864 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4865
4866 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4867
4868 * net/eww.el (eww-form-textarea): Use a different face for
4869 textareas than text input since they have different keymaps
4870 (bug#16142).
4871
4872 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4873
4874 * progmodes/python.el (python-nav-beginning-of-statement):
4875 Speed up (Bug#15295).
4876
4877 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4878
4879 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4880 the window configuration.
4881
4882 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4883
4884 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4885 we run on MS-Windows or MS-DOS.
4886
4887 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4888
4889 * window.el (balance-windows-area): Call window-size instead of
4890 window-height and window-width. Bug#16241.
4891
4892 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4893
4894 * net/eww.el (eww-bookmark-quit): Remove.
4895 (eww-bookmark-browse): Restore the window configuration when you
4896 choose a bookmark (bug#16144).
4897
4898 2013-12-24 Daniel Colascione <dancol@dancol.org>
4899
4900 * icomplete.el: Remove redundant :group arguments to `defcustom'
4901 throughout.
4902 (icomplete-show-matches-on-no-input): New customizable variable.
4903 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4904 we have something to show.
4905 (icomplete-exhibit): Compute completions even if we have no user input.
4906
4907 2013-12-23 Daniel Colascione <dancol@dancol.org>
4908
4909 * icomplete.el: Move `provide' to end of file.
4910
4911 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4912
4913 * net/gnutls.el (gnutls-verify-error): Add version tag.
4914
4915 2013-12-23 Chong Yidong <cyd@gnu.org>
4916
4917 * subr.el (set-transient-map): Rename from
4918 set-temporary-overlay-map. Doc fix.
4919
4920 * face-remap.el (text-scale-adjust):
4921 * indent.el (indent-rigidly):
4922 * kmacro.el (kmacro-call-macro):
4923 * minibuffer.el (minibuffer-force-complete):
4924 * repeat.el (repeat):
4925 * simple.el (universal-argument--mode):
4926 * calendar/todo-mode.el (todo-insert-item--next-param):
4927 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4928
4929 * indent.el (indent-rigidly): Use substitute-command-keys.
4930
4931 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4932
4933 * net/eww.el (eww-tag-select): Add text-property to jump to next
4934 select field.
4935 (eww): Add non-supported ftp error.
4936
4937 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4938
4939 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4940 comments. Handle electric indent after typing `?' and `!'.
4941
4942 2013-12-22 Chong Yidong <cyd@gnu.org>
4943
4944 * faces.el (face-spec-recalc): If the theme specs are not
4945 applicable to a frame, fall back on the defface spec.
4946 This prevents themes from obliterating faces on low-color terminals.
4947
4948 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4949
4950 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4951 after `{'. We need it after block openers, and it doesn't seem
4952 to hurt after hash openers.
4953
4954 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4955
4956 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4957 extracted from `ruby-smie-rules'.
4958 (ruby--electric-indent-chars): New variable.
4959 (ruby--electric-indent-p): New function.
4960 (ruby-mode): Use `electric-indent-functions' instead of
4961 `electric-indent-chars'.
4962
4963 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4964
4965 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4966 docstring.
4967 (ruby-smie-rules): Indent plus one level after `=>'.
4968
4969 2013-12-21 Richard Stallman <rms@gnu.org>
4970
4971 * simple.el (newline): Doc fix.
4972
4973 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4974
4975 * net/eww.el (eww-list-histories, eww-list-histories)
4976 (eww-history-browse, eww-history-quit, eww-history-kill)
4977 (eww-history-mode-map, eww-history-mode): New command and
4978 functions to list browser histories.
4979 (eww-form-text): Support text form with disabled
4980 and readonly attributes.
4981 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4982
4983 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4984
4985 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4986 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4987 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4988 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4989 Use `user-error'.
4990 (eww-bookmark-mode-map): Add menu.
4991 (eww-render, eww-mode): Use `setq-local'.
4992 (eww-tool-bar-map): New variable.
4993 (eww-mode): Set `tool-bar-map'.
4994 (eww-view-source): Check for `html-mode' with `fboundp'.
4995
4996 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4997
4998 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4999 elements with text inside. Also remove debugging.
5000
5001 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5002
5003 * cus-start.el (all): Add ns-use-srgb-colorspace.
5004
5005 2013-12-21 Chong Yidong <cyd@gnu.org>
5006
5007 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5008 undefined. Thus, theme settings for undefined faces do not take
5009 effect until the faces are defined with defface, the same as with
5010 theme variables.
5011
5012 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5013 (face-spec-reset-face): Don't assign extra properties in temacs.
5014 (face-spec-recalc): Apply X resources too.
5015
5016 2013-12-21 Chong Yidong <cyd@gnu.org>
5017
5018 * faces.el (face-spec-set):
5019 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5020 * custom.el (defface): Doc fixes (Bug#16203).
5021
5022 * indent.el (indent-rigidly-map): Add docstring, and move commands
5023 into named functions.
5024 (indent-rigidly-left, indent-rigidly-right)
5025 (indent-rigidly-left-to-tab-stop)
5026 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5027 indentation direction based on bidi direction, and accumulate
5028 sequential commands in a single undo boundary.
5029 (indent-rigidly--pop-undo): New utility function.
5030
5031 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * faces.el (read-face-name): Require crm.el when using crm-separator.
5034
5035 2013-12-20 Daniel Colascione <dancol@dancol.org>
5036
5037 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5038 so that we don't reflow comments into the shebang line.
5039
5040 2013-12-20 Juri Linkov <juri@jurta.org>
5041
5042 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5043 a position when `dired-directory' is non-nil. Check integer
5044 positions with `integerp'.
5045 (toggle-save-place, save-places-to-alist): Add check for
5046 `dired-directory'.
5047 (save-place-find-file-hook): Check integer positions with
5048 `integerp'.
5049 (save-place-dired-hook): Use `dired-goto-file' when
5050 `dired-filename' is found in the assoc list. Check integer
5051 positions with `integerp'.
5052 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5053
5054 * dired.el (dired-initial-position-hook): Rename back from
5055 `dired-initial-point-hook'.
5056 (dired-initial-position): Rename `dired-initial-point-hook' to
5057 `dired-initial-position-hook'.
5058 (dired-file-name-at-point): Doc fix. (Bug#15329)
5059
5060 2013-12-20 Juri Linkov <juri@jurta.org>
5061
5062 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5063 (read-regexp-suggestions): New function.
5064 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5065 Use `read-regexp-suggestions'. Add non-empty default to history
5066 for empty input.
5067 (occur-read-regexp-defaults-function): Remove function.
5068 (occur-read-primary-args): Use `regexp-history-last' instead of
5069 `occur-read-regexp-defaults-function'.
5070
5071 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5072 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5073 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5074 `hi-lock-read-regexp-defaults-function'. Doc fix.
5075 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5076 with `find-tag-default-as-symbol-regexp'. Doc fix.
5077 (hi-lock-read-regexp-defaults): Remove function.
5078 (hi-lock-regexp-okay): Add check for null.
5079
5080 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5081 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5082
5083 * subr.el (find-tag-default-as-symbol-regexp): New function.
5084 (find-tag-default-as-regexp): Move symbol regexp formatting to
5085 `find-tag-default-as-symbol-regexp'.
5086
5087 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5088
5089 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5090 (Bug#14179)
5091
5092 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5093
5094 * calendar/todo-mode.el: New implementation of item insertion
5095 commands and key bindings.
5096 (todo-key-prompt): New face.
5097 (todo-insert-item): New command.
5098 (todo-insert-item--parameters): New defconst, replacing defvar
5099 todo-insertion-commands-args-genlist.
5100 (todo-insert-item--param-key-alist): New defconst, replacing
5101 defvar todo-insertion-commands-arg-key-list.
5102 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5103 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5104 (todo-insert-item--next-param): New functions.
5105 (todo-insert-item--args, todo-insert-item--argleft)
5106 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5107 New variables.
5108 (todo-key-bindings-t): Change binding of "i" from
5109 todo-insertion-map to todo-insert-item.
5110 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5111 (todo-insertion-command-name, todo-insertion-commands-names)
5112 (todo-define-insertion-command, todo-insertion-commands)
5113 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5114
5115 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5116
5117 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5118 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5119 eval-when-compile.
5120 (todo-move-category): Allow choosing a non-existing todo file to
5121 move the category to, and create that file.
5122 (todo-default-priority): New user option.
5123 (todo-set-item-priority): Use it.
5124 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5125 (desktop-restore-file-buffer): Declare.
5126 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5127 (todo-modes-set-2): Locally set desktop-save-buffer to
5128 todo-desktop-save-buffer.
5129 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5130 (auto-mode-alist): Add autoload cookie.
5131
5132 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5133
5134 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5135 helpers.el was a poor choice of name.
5136 (string-remove-prefix): New function.
5137 (string-remove-suffix): New function.
5138
5139 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5140
5141 Fix assignment for new window total sizes.
5142 * window.el (window--pixel-to-size): Remove function.
5143 (window--pixel-to-total-1, window--pixel-to-total):
5144 Fix calculation of new total sizes.
5145
5146 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5147
5148 * comint.el (comint-output-filter): Fix rear-nonsticky property
5149 placement (Bug#16010).
5150
5151 2013-12-20 Chong Yidong <cyd@gnu.org>
5152
5153 * faces.el (read-color): Minor fix for completion function.
5154
5155 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5156
5157 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5158 New option. (Bug#16182)
5159 (ruby-smie--indent-to-stmt-p): Use it.
5160 (ruby-smie-rules): Revert the logic in the handling of `when'.
5161 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5162 (ruby-deep-arglist, ruby-deep-indent-paren)
5163 (ruby-deep-indent-paren-style): Update docstrings to note that the
5164 vars don't have any effect with SMIE.
5165
5166 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5167
5168 * calc/calc.el (calc-enter, calc-pop): Use the variable
5169 `calc-context-sensitive-enter'.
5170
5171 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5172
5173 * net/shr.el (shr-insert): Protect against infloops in degenerate
5174 tables.
5175
5176 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5177
5178 * progmodes/octave.el (octave): Add link to manual and octave
5179 homepage.
5180 (octave-mode-menu): Link to octave-mode manual.
5181
5182 2013-12-20 Leo Liu <sdl.web@gmail.com>
5183
5184 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5185 insertion using skeleton-end-newline. (Bug#16138)
5186
5187 2013-12-20 Juri Linkov <juri@jurta.org>
5188
5189 * replace.el (occur-engine): Use `add-face-text-property'
5190 to add the face property to matches and titles. (Bug#14645)
5191
5192 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5193 the palette of other hi-lock colors.
5194 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5195
5196 2013-12-19 Juri Linkov <juri@jurta.org>
5197
5198 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5199 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5200 (minibuffer-history-symbol): Move variable declaration closer to
5201 its usage.
5202
5203 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5204 (Bug#14785)
5205
5206 2013-12-19 Juri Linkov <juri@jurta.org>
5207
5208 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5209 New function.
5210 (log-edit-hook): Add it to :options. (Bug#16170)
5211
5212 2013-12-19 Juri Linkov <juri@jurta.org>
5213
5214 * simple.el (eval-expression-print-format): Don't check for
5215 command names and the last command. Always display additional
5216 formats of the integer result in the echo area, and insert them
5217 to the current buffer only with a zero prefix arg.
5218 Display character when char-displayable-p is non-nil.
5219 (eval-expression): With a zero prefix arg, set `print-length' and
5220 `print-level' to nil, and insert the integer values from
5221 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5222
5223 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5224 `eval-last-sexp-arg-internal'. Doc fix.
5225 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5226 `eval-last-sexp-print-value'. Doc fix.
5227 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5228 Set `print-length' and `print-level' to nil when arg is zero.
5229 (eval-last-sexp): Doc fix.
5230 (eval-defun-2): Print the integer values from
5231 `eval-expression-print-format' at the end.
5232
5233 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5234 values from `eval-expression-print-format' at the end.
5235
5236 * ielm.el (ielm-eval-input): Print the integer
5237 values from `eval-expression-print-format' at the end.
5238
5239 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5240
5241 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5242 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5243
5244 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5245
5246 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5247 (hl-line-highlight, global-hl-line-highlight): Use it.
5248 (hl-line-overlay): Use defvar-local.
5249
5250 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5251
5252 * term/ns-win.el: Require dnd.
5253 (global-map): Remove drag items.
5254 (ns-insert-text, ns-set-foreground-at-mouse)
5255 (ns-set-background-at-mouse):
5256 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5257 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5258 New functions.
5259
5260 2013-12-19 Glenn Morris <rgm@gnu.org>
5261
5262 * emacs-lisp/ert.el (ert-select-tests):
5263 Fix string/symbol mixup. (Bug#16121)
5264
5265 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5266
5267 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5268 keywords to their parent.
5269
5270 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5271
5272 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5273 first arg to be a string (fixed dead code), or an operator symbol.
5274 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5275 operator symbols.
5276 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5277 did nothing. Don't respond to `(:after ".")', it will be called
5278 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5279 change anything. Only return indentation for binary operators
5280 when they are hanging. De-dent opening paren when its parent is
5281 `.', otherwise it looks bad when the dot is not at bol or eol
5282 (bug#16182).
5283
5284 2013-12-19 Juri Linkov <juri@jurta.org>
5285
5286 * replace.el (query-replace-read-args): Split a non-negative arg
5287 and a negative arg into separate elements.
5288 (query-replace, query-replace-regexp, replace-string)
5289 (replace-regexp): Add arg `backward'. Doc fix.
5290 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5291 move point to the beginning of the match.
5292 (replace-search, replace-highlight): Use new arg `backward'
5293 to set the value of `isearch-forward'.
5294 (perform-replace): Add arg `backward' and use it to perform
5295 replacement backward. (Bug#14979)
5296
5297 * isearch.el (isearch-query-replace): Use a negative prefix arg
5298 to call `perform-replace' with a non-nil arg `backward'.
5299
5300 2013-12-18 Juri Linkov <juri@jurta.org>
5301
5302 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5303 to the default list. Move `log-edit-show-files' to the end.
5304 Add more available functions to options.
5305 (log-edit): Move default specific settings to
5306 `log-edit-insert-message-template'. Don't move point.
5307 (log-edit-insert-message-template): New function.
5308 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5309 (Bug#16170)
5310
5311 2013-12-18 Juri Linkov <juri@jurta.org>
5312
5313 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5314 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5315
5316 2013-12-18 Leo Liu <sdl.web@gmail.com>
5317
5318 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5319 (Bug#16186)
5320
5321 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5322
5323 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5324 formats for displaying file sizes when the -s switch is given.
5325 Instead, compute a separate format for displaying the size in
5326 blocks, which is displayed in addition to the "regular" size.
5327 When -h is given in addition to -s, produce size in blocks in
5328 human-readable form as well. (Bug#16179)
5329
5330 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5331
5332 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5333 Reference tables with ~\ref{...} instead of only \ref{...}.
5334
5335 2013-12-18 Chong Yidong <cyd@gnu.org>
5336
5337 * cus-edit.el (custom-magic-alist): Fix "themed" description
5338 (Bug#14348).
5339
5340 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5341 is non-nil, do not create a new entry in the symbol's theme-value
5342 or theme-face property; update theme-settings only (Bug#14664).
5343 (custom-available-themes): Doc fix.
5344
5345 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5346 (Bug#15674).
5347
5348 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5349
5350 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5351
5352 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5353 (Bug#13914).
5354
5355 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5356
5357 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5358
5359 2013-12-18 Glenn Morris <rgm@gnu.org>
5360
5361 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5362 * cus-start.el (load-prefer-newer): New option.
5363
5364 2013-12-18 Le Wang <l26wang@gmail.com>
5365
5366 * comint.el (comint-previous-matching-input-from-input):
5367 Retain point (Bug#13404).
5368
5369 2013-12-18 Chong Yidong <cyd@gnu.org>
5370
5371 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5372
5373 2013-12-18 Glenn Morris <rgm@gnu.org>
5374
5375 * mail/emacsbug.el (report-emacs-bug):
5376 Only mention enable-multibyte-characters if non-standard.
5377
5378 2013-12-17 Juri Linkov <juri@jurta.org>
5379
5380 * arc-mode.el (archive-extract-by-file): Check if directory exists
5381 before deletion to not show irrelevant errors if it doesn't exist.
5382
5383 2013-12-17 Juri Linkov <juri@jurta.org>
5384
5385 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5386 (Bug#14751)
5387
5388 * net/eww.el (browse-web): Add alias to `eww'.
5389 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5390 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5391
5392 * net/browse-url.el (browse-url-browser-function): Move `eww'
5393 closer to similar functions.
5394
5395 * startup.el (fancy-startup-screen, fancy-about-screen):
5396 Set browse-url-browser-function to eww-browse-url locally.
5397 (Bug#14751)
5398
5399 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * window.el (window--pixel-to-total): Remove unused `mini' var.
5402 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5403 (split-window): Remove unused `new' var.
5404 (window--display-buffer): Remove unused `frame' and `delta' vars.
5405 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5406 and display-width'.
5407
5408 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5409
5410 * dired.el (dired-mark-pop-up):
5411 * register.el (register-preview): Don't bind
5412 split-height-threshold here since it's now done in
5413 display-buffer-below-selected.
5414
5415 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5416
5417 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5418 xterm-rgb-convert-to-16bit.
5419 (rxvt-register-default-colors): Standardize with
5420 xterm-register-default-colors (Bug#14078).
5421
5422 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5423
5424 * simple.el (kill-region): Pass mark first, then point, so that
5425 kill-append works right (Bug#12819).
5426 (copy-region-as-kill, kill-ring-save): Likewise.
5427
5428 2013-12-17 Leo Liu <sdl.web@gmail.com>
5429
5430 * net/rcirc.el (rcirc-add-face):
5431 * eshell/em-prompt.el (eshell-emit-prompt):
5432 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5433 (Bug#16167)
5434
5435 2013-12-17 Chong Yidong <cyd@gnu.org>
5436
5437 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5438 Suggested by Xue Fuqiao.
5439
5440 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5441
5442 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5443
5444 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * net/shr.el (shr-insert-document): Remove unused var
5447 `shr-preliminary-table-render'.
5448 (shr-rescale-image): Remove unused arg `force'.
5449 (shr-put-image): Update calls accordingly.
5450 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5451
5452 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5453
5454 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5455 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5456 :close-all, to see which indentation method to use (Bug#16116).
5457 (smie-rules-function): Document the method :close-all.
5458
5459 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5460
5461 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5462
5463 * net/eww.el (eww-display-html): If we can't find the anchor we're
5464 looking for, then go to point-min.
5465
5466 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5467
5468 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5469 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5470 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5471 Expand dir too, in case it's relative.
5472
5473 2013-12-16 Juri Linkov <juri@jurta.org>
5474
5475 * desktop.el (desktop-auto-save-timeout): Change default to
5476 `auto-save-timeout'. Doc fix.
5477 (desktop-save): Skip the timestamp in desktop-saved-frameset
5478 when checking for auto-save changes.
5479 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5480 `desktop-auto-save' is called repeatedly by the idle timer.
5481 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5482 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5483 (Bug#15331)
5484
5485 2013-12-16 Juri Linkov <juri@jurta.org>
5486
5487 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5488 (Bug#16035)
5489 (isearch-pre-command-hook): Check `this-command' for symbolp.
5490
5491 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5494
5495 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5496
5497 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5498 (cfengine3--current-function): Bring in the current-function
5499 functionality from `cfengine3--current-word'.
5500 (cfengine3-completion-function): Bring in the
5501 bounds-of-current-word functionality from
5502 `cfengine3--current-word'.
5503
5504 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5505
5506 * window.el (display-buffer-below-selected):
5507 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5508
5509 2013-12-16 Leo Liu <sdl.web@gmail.com>
5510
5511 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5512 Remove NOMSG arg and all uses changed.
5513
5514 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5517 (cua--deactivate-rectangle): Don't deactivate the mark.
5518 (cua-set-rectangle-mark): Don't set mark-active since
5519 cua--activate-rectangle already does it for us.
5520 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5521 non-rectangular region.
5522
5523 * emulation/cua-base.el (cua-repeat-replace-region):
5524 Use with-current-buffer.
5525
5526 * net/gnutls.el: Use cl-lib.
5527 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5528
5529 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5530
5531 * emacs-lisp/package.el (package-built-in-p): Support both
5532 built-in and the package.el converted package descriptions.
5533 (package-show-package-list): Allow keywords.
5534 (package-keyword-button-action): Use it instead of
5535 `finder-list-matches'.
5536 (package-menu-filter-interactive): Interactive filtering (by
5537 keyword) function.
5538 (package-menu--generate): Support keywords and change keymappings
5539 and headers when they are given.
5540 (package--has-keyword-p): Helper function.
5541 (package-menu--refresh): Use it.
5542 (package--mapc): Helper function.
5543 (package-all-keywords): Use it.
5544 (package-menu-mode-map): Set up menu items and keybindings to
5545 provide a filtering UI.
5546
5547 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5548
5549 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5550 the behavior when a certificate fails validation. Defaults to
5551 old behavior: never abort, just warn.
5552 (gnutls-negotiate): Use it.
5553
5554 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5555
5556 * window.el (display-buffer-below-selected): Never split window
5557 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5558
5559 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5560
5561 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5562 (package-buffer-info): Use it (bug#15108).
5563
5564 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * icomplete.el (icomplete-completions): Make sure the prefix is already
5567 displayed elsewhere before hiding it (bug#16219).
5568
5569 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5570
5571 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5572 open-paren tokens when preceded by a open-paren, too.
5573 (ruby-smie-rules): Handle virtual indentation after open-paren
5574 tokens specially. If there is code between it and eol, return the
5575 column where is starts (Bug#16118).
5576
5577 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5578
5579 * progmodes/cfengine.el: Fix `add-hook' doc.
5580 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5581 (cfengine3--current-word): Fix parameters.
5582 (cfengine3-make-syntax-cache): Simplify further.
5583 (cfengine3-completion-function, cfengine3--current-function):
5584 Use `assq' for symbols.
5585 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5586
5587 2013-12-13 Glenn Morris <rgm@gnu.org>
5588
5589 * loadup.el (load-path): Warn if site-load or site-init changes it.
5590 No more need to reset it when bootstrapping.
5591
5592 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5593
5594 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5595 locations for cf-promises.
5596 (cfengine-mode-syntax-functions-regex): New caching variable.
5597 (cfengine3-fallback-syntax): Fallback syntax for cases where
5598 cf-promises doesn't run.
5599 (cfengine3--current-word): Reimplement using
5600 `cfengine-mode-syntax-functions-regex'.
5601 (cfengine3-completion-function, cfengine3--current-function):
5602 Use `cfengine3-make-syntax-cache' directly.
5603 (cfengine3-clear-syntax-cache): New function.
5604 (cfengine3-make-syntax-cache): Simplify and create
5605 `cfengine-mode-syntax-functions-regex' on demand.
5606 (cfengine3-format-function-docstring): Don't call
5607 `cfengine3-make-syntax-cache' explicitly.
5608
5609 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5610
5611 Fix windmove-find-other-window broken after pixelwise resizing
5612 (Bug#16017).
5613 * windmove.el (windmove-other-window-loc): Revert change from
5614 2013-12-04.
5615 (windmove-find-other-window): Call window-in-direction.
5616 * window.el (window-in-direction): New arguments SIGN, WRAP and
5617 MINI to emulate original windmove-find-other-window behavior.
5618
5619 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5620
5621 * simple.el (blink-matching--overlay): New variable.
5622 (blink-matching-open): Instead of moving point, highlight the
5623 matching paren with an overlay
5624 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5625
5626 * faces.el (paren-showing-faces, show-paren-match)
5627 (show-paren-mismatch): Move from paren.el.
5628
5629 2013-12-13 Leo Liu <sdl.web@gmail.com>
5630
5631 * indent.el (indent-region): Disable progress reporter in
5632 minibuffer. (Bug#16108)
5633
5634 * bindings.el (visual-order-cursor-movement): Fix version.
5635
5636 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5637
5638 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5639 Also match after beginning of line.
5640 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5641 files. Thanks to Russell Sim. (Bug#15378)
5642
5643 2013-12-13 Juri Linkov <juri@jurta.org>
5644
5645 * simple.el <Keypad support>: Remove key bindings duplicated
5646 with bindings.el. (Bug#14397)
5647
5648 2013-12-13 Juri Linkov <juri@jurta.org>
5649
5650 * comint.el (comint-mode-map): Replace `delete-char' with
5651 `delete-forward-char'. (Bug#16109)
5652
5653 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5654
5655 * progmodes/python.el (python-indent-calculate-indentation):
5656 Fix de-denters cornercase. (Bug#15731)
5657
5658 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5661 (advice--make): Pay attention to `depth'.
5662 (advice--make-1): Don't autoload commands eagerly.
5663 * emacs-lisp/elp.el (elp-instrument-function):
5664 * emacs-lisp/trace.el (trace-function-internal):
5665 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5666
5667 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5668
5669 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5670
5671 * term/w32-win.el (w32-handle-dropped-file):
5672 * startup.el (normal-top-level):
5673 * net/browse-url.el (browse-url-file-url):
5674 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5675 decode file names using 'utf-8' rather than
5676 file-name-coding-system.
5677
5678 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5679
5680 * progmodes/python.el (python-indent-context)
5681 (python-indent-calculate-indentation): Fix auto-identation
5682 behavior for comment blocks. (Bug#15916)
5683
5684 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5685
5686 * progmodes/python.el (python-indent-calculate-indentation):
5687 When determining indentation, don't treat "return", "pass", etc., as
5688 operators when they are just string constituents. (Bug#15812)
5689
5690 2013-12-12 Juri Linkov <juri@jurta.org>
5691
5692 * uniquify.el (uniquify-buffer-name-style): Change default to
5693 `post-forward-angle-brackets'.
5694
5695 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5696 `uniquify'. Change default to `post-forward-angle-brackets'.
5697
5698 2013-12-11 Glenn Morris <rgm@gnu.org>
5699
5700 * emacs-lisp/package.el (finder-list-matches):
5701 Autoload rather than falsely declaring.
5702
5703 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5704
5705 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5706 (eww-mode-map): Use them.
5707
5708 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5709
5710 * window.el (display-buffer-in-side-window): Fix doc-string
5711 (Bug#16115).
5712
5713 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5714
5715 * vc/vc-git.el: Silence byte-compiler warnings.
5716 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5717 (log-edit-set-header): Declare.
5718
5719 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5720
5721 * Makefile.in (custom-deps, finder-data): Run output file names
5722 through unmsys--file-name. (Bug#16099)
5723
5724 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5727 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5728
5729 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5730 instead of deleting the selection "by hand" (bug#16098).
5731 Rely on insert-for-yank to yank rectangles.
5732 (cua-highlight-region-shift-only): Mark obsolete.
5733 (cua-mode): Don't enable/disable transient-mark-mode,
5734 shift-select-mode (cua-mode works both with and without them), and
5735 pc-selection-mode (obsolete).
5736 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5737 (cua--deactivate-rectangle): Deactivate it.
5738
5739 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5740 (delete-selection-helper): Make sure yank starts at the top of the
5741 deleted region.
5742 (minibuffer-keyboard-quit): Use region-active-p.
5743
5744 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5745
5746 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5747 to `delete' (bug#16109).
5748
5749 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5750
5751 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5752 info manual and show keybindings and set `:group' keyword.
5753
5754 2013-12-11 Juri Linkov <juri@jurta.org>
5755
5756 * delsel.el (delete-active-region): Let-bind `this-command'
5757 to prevent `kill-region' from changing its original value.
5758 (delete-selection-helper): Handle `overwrite-mode' for the type
5759 `kill' exactly the same way as for the type `t'.
5760 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5761 Support more commands. (Bug#13312)
5762
5763 2013-12-11 Juri Linkov <juri@jurta.org>
5764
5765 * bindings.el: Map kp keys to non-kp keys systematically
5766 with basic modifiers control, meta and shift. (Bug#14397)
5767
5768 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5769
5770 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5771 "Close browser" menu items. Fix wrong function of "List
5772 bookmarks".
5773
5774 2013-12-11 Juri Linkov <juri@jurta.org>
5775
5776 * misearch.el (multi-isearch-buffers): Set the value of
5777 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5778 arg of isearch-forward to t.
5779 (multi-isearch-buffers-regexp): Set the value of
5780 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5781 arg of isearch-forward-regexp to t.
5782 (multi-isearch-files): Set the value of
5783 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5784 arg of isearch-forward to t.
5785 (multi-isearch-files-regexp): Set the value of
5786 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5787 arg of isearch-forward-regexp to t. (Bug#16035)
5788
5789 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5790 arg of isearch-forward to t.
5791 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5792 arg of isearch-forward-regexp to t.
5793 (dired-isearch-filter-filenames): Remove unnecessary check for
5794 `dired-isearch-filenames'.
5795
5796 * comint.el (comint-history-isearch-backward):
5797 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5798 (comint-history-isearch-backward-regexp):
5799 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5800
5801 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5802
5803 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5804 unmsys--file-name. (Bug#16099)
5805
5806 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5807
5808 * emacs-lisp/package.el (package-keyword-button-action):
5809 Remove finder.el require dependency.
5810
5811 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5812
5813 * emacs-lisp/package.el: Require finder.el.
5814 (describe-package-1): Add keyword buttons.
5815 (package-make-button): New convenience function.
5816 (package-keyword-button-action): Keyword button action using
5817 `finder-list-matches'.
5818
5819 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5820
5821 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5822 last commit.
5823
5824 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5825
5826 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5827 symlinked files.
5828
5829 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5830
5831 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5832 after the end of a percent literal.
5833
5834 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5835
5836 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5837 Handle caret-delimited strings (Bug#16079).
5838
5839 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5840
5841 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5842 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5843 `ruby-parse-partial' (Bug#16078).
5844
5845 2013-12-09 Leo Liu <sdl.web@gmail.com>
5846
5847 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5848
5849 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5850
5851 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5852 (js-switch-indent-offset): New option.
5853 (js--proper-indentation): Use it. And handle the case when
5854 "default" is actually a key in an object literal.
5855 (js--same-line): New function.
5856 (js--multi-line-declaration-indentation): Use it.
5857 (js--indent-in-array-comp, js--array-comp-indentation):
5858 New functions.
5859 (js--proper-indentation): Use them, to handle array comprehension
5860 continuations.
5861
5862 2013-12-08 Leo Liu <sdl.web@gmail.com>
5863
5864 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5865 (flymake-make-overlay): Remove arg MOUSE-FACE.
5866 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5867
5868 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5871 New function.
5872 (redisplay-highlight-region-function): Use it.
5873
5874 * emulation/cua-base.el (cua--explicit-region-start)
5875 (cua--last-region-shifted): Remove.
5876 (cua--deactivate): Use deactivate-mark.
5877 (cua--pre-command-handler-1): Don't handle shift-selection.
5878 (cua--post-command-handler-1): Don't change transient-mark-mode.
5879 (cua--select-keymaps): Use region-active-p rather than
5880 cua--explicit-region-start or cua--last-region-shifted.
5881 (cua-mode): Enable shift-select-mode.
5882
5883 2013-12-08 Leo Liu <sdl.web@gmail.com>
5884
5885 * progmodes/flymake.el (flymake-popup-current-error-menu):
5886 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5887 (flymake-posn-at-point-as-event, flymake-popup-menu)
5888 (flymake-make-emacs-menu): Remove. (Bug#16077)
5889
5890 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * rect.el (rectangle-mark-mode): Activate mark even if
5893 transient-mark-mode is off (bug#16066).
5894 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5895 is > mark and at bolp.
5896
5897 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5898 (region-extract-function): Use it.
5899 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5900 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5901 Delete functions.
5902 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5903 kill-ring-save, kill-region, delete-char, delete-forward-char.
5904 Ignore self-insert-iso.
5905
5906 * emulation/cua-gmrk.el (cua--init-global-mark):
5907 Ignore `self-insert-iso'.
5908
5909 * emulation/cua-base.el (cua--prefix-copy-handler)
5910 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5911 checking cua--rectangle.
5912 (cua-delete-region): Use region-extract-function.
5913 (cua-replace-region): Delete function.
5914 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5915 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5916 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5917 (cua--init-keymaps): Don't remap delete-selection commands.
5918 (cua-mode): Use delete-selection-mode instead of rolling our own
5919 (bug#16085).
5920
5921 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5922 Obey region-extract-function.
5923
5924 Make registers and delete-selection-mode work on rectangles.
5925 * register.el (describe-register-1): Don't modify the register's value.
5926 (copy-to-register): Obey region-extract-function.
5927 * delsel.el (delete-active-region): Obey region-extract-function.
5928
5929 2013-12-08 Leo Liu <sdl.web@gmail.com>
5930
5931 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5932 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5933 (flymake-compilation-prevents-syntax-check)
5934 (flymake-start-syntax-check-on-newline)
5935 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5936 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5937 (flymake-xml-program, flymake-master-file-dirs)
5938 (flymake-master-file-count-limit)
5939 (flymake-allowed-file-name-masks): Relocate.
5940 (flymake-makehash, flymake-float-time)
5941 (flymake-replace-regexp-in-string, flymake-split-string)
5942 (flymake-get-temp-dir): Remove.
5943 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5944 (flymake-current-row, flymake-selected-frame)
5945 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5946 related functions. (Bug#16077)
5947
5948 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5949
5950 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5951
5952 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5953
5954 * help-fns.el (describe-function-1): Use new advice-* functions
5955 rather than old ad-* functions. Fix function type description and
5956 source links for advised functions and subrs.
5957
5958 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5959
5960 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5961
5962 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5963
5964 * progmodes/compile.el (compilation-start):
5965 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5966
5967 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5968 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5969
5970 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5971
5972 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5973 Touch up the last change.
5974
5975 2013-12-06 Leo Liu <sdl.web@gmail.com>
5976
5977 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5978 (inferior-octave-startup): Always use "octave> " for prompt.
5979 (octave-goto-function-definition)
5980 (octave-sync-function-file-names)
5981 (octave-find-definition-default-filename): Remove redundant backquotes.
5982
5983 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5984
5985 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5986 syntax for `?'.
5987 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5988 where appropriate already.
5989 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5990 end of method names (Bug#15874).
5991
5992 2013-12-06 Juri Linkov <juri@jurta.org>
5993
5994 * isearch.el (isearch--saved-overriding-local-map):
5995 New internal variable.
5996 (isearch-mode): Set it to the initial value of
5997 `overriding-terminal-local-map'.
5998 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5999 with `isearch--saved-overriding-local-map'. (Bug#16035)
6000
6001 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6002
6003 * progmodes/octave.el (inferior-octave-completion-table):
6004 Turn back into function, use `completion-table-with-cache'
6005 (Bug#11906). Update all references.
6006
6007 * minibuffer.el (completion-table-with-cache): New function.
6008
6009 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6010
6011 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6012
6013 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6014
6015 * net/eww.el (eww-current-source): New variable to store page
6016 source.
6017 (eww-display-html, eww-mode, eww-save-history)
6018 (eww-restore-history): Use it.
6019 (eww-view-source): New command to view page source.
6020 Opportunistically uses `html-mode' to highlight the buffer.
6021 (eww-mode-map): Install it.
6022
6023 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6024
6025 * net/dbus.el (dbus-unregister-service)
6026 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6027 Fix docstring.
6028 (dbus-unregister-service): Skip :serial entries in
6029 `dbus-registered-objects-table'.
6030 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6031
6032 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6033
6034 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6035 around keywords with extra `split-string' argument.
6036
6037 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6038
6039 * windmove.el (windmove-other-window-loc): Handle navigation
6040 between windows (excluding the minibuffer window - Bug#16017).
6041
6042 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6045 in D-Bus type syntax.
6046 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6047 preserve unibyte strings. (Bug#16048)
6048
6049 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6052 Call force-mode-line-update is the proper buffer (bug#16042).
6053
6054 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6055
6056 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6057 `log-edit-remember-comment', make argument optional. Adjust all
6058 callers.
6059 (log-edit-mode): Add `log-edit-remember-comment' to
6060 `kill-buffer-hook' locally.
6061 (log-edit-kill-buffer): Don't remember comment explicitly since
6062 the buffer is killed anyway.
6063
6064 2013-12-04 Juri Linkov <juri@jurta.org>
6065
6066 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6067 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6068
6069 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6070
6071 * notifications.el (notifications-close-notification): Call the
6072 D-Bus method with ID being a `:uint32'. (Bug#16030)
6073
6074 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6075
6076 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6077
6078 2013-12-03 Juri Linkov <juri@jurta.org>
6079
6080 * progmodes/compile.el (compilation-start): Rename window alist
6081 entry `no-display-ok' to `allow-no-window'.
6082
6083 * simple.el (shell-command): Add window alist entry
6084 `allow-no-window' to `display-buffer'.
6085 (async-shell-command): Doc fix.
6086
6087 * window.el (display-buffer-no-window): New action function.
6088 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6089
6090 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6091
6092 * vc/log-edit.el (log-edit-set-header): Extract from
6093 `log-edit-toggle-header'.
6094 (log-edit-extract-headers): Separate the summary, when extracted
6095 from header, from the rest of the message with an empty line.
6096
6097 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6098 line, if present, to the Summary header.
6099
6100 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6103 in current-buffer (bug#16029).
6104
6105 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6106
6107 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6108 (debugger-mode-map): Bind it.
6109 (debugger--backtrace-base): New function.
6110 (debugger-eval-expression): Use it.
6111 (debugger-frame-number): Skip local vars when present.
6112 (debugger--locals-visible-p, debugger--insert-locals)
6113 (debugger--show-locals, debugger--hide-locals): New functions.
6114
6115 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6116
6117 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6118 "LC_ALL".
6119 (tramp-get-remote-locale): New defun.
6120 (tramp-open-connection-setup-interactive-shell): Use it.
6121
6122 2013-12-02 Leo Liu <sdl.web@gmail.com>
6123
6124 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6125
6126 * progmodes/sh-script.el (sh-shell-process):
6127 * progmodes/octave.el (inferior-octave-process-live-p):
6128 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6129 (gdb-inferior-io-sentinel):
6130 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6131
6132 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6133
6134 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6135 `save-selected-window' to `log-edit-hide-buf'. This makes
6136 `log-edit-show-files' idempotent.
6137 (log-edit-show-files): Mark the new window as dedicated.
6138
6139 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6140
6141 * vc/log-edit.el (log-edit-mode-map): Add binding for
6142 `log-edit-kill-biffer'.
6143 (log-edit-hide-buf): Add a FIXME comment.
6144 (log-edit-add-new-comment): New function, extracted from
6145 `log-edit-done'.
6146 (log-edit-done, log-edit-add-to-changelog): Use it.
6147 (log-edit-kill-buffer): New command.
6148
6149 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6150
6151 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6152 instead of killing the buffer.
6153
6154 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6157
6158 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6159
6160 * net/eww.el (eww-form-checkbox-selected-symbol)
6161 (eww-form-checkbox-symbol): New customizable variable.
6162 (eww-form-checkbox, eww-toggle-checkbox):
6163 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6164
6165 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6166 (shr--get-media-pref, shr--extract-best-source): New function.
6167 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6168 no :src tag was specified.
6169
6170 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6171 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6172 Use \\` to match beginning of string instead of ^.
6173 (eww-browse-with-external-browser): Provide optional URL parameter.
6174 (eww-render): Set `eww-current-title' back to "".
6175
6176 * net/shr.el (shr-tag-video): Display content for video if no
6177 poster is available.
6178 (shr-tag-audio): Add support for <audio> tag.
6179
6180 * net/eww.el (eww-text-input-types): New const.
6181 (eww-process-text-input): Treat input types in
6182 `eww-text-input-types' as text.
6183
6184 * net/shr.el (shr-tag-table): Fix comment typo.
6185
6186 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6187
6188 * net/eww.el (eww-follow-link): New command to avoid reloading
6189 pages when we follow #target links (bug#15243).
6190 (eww-quit): Special mode buffers shouldn't query before exiting.
6191
6192 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6193
6194 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6195 forms.
6196
6197 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6198
6199 * net/eww.el (eww-restore-history): Update the window title after
6200 moving in the history.
6201 (eww-current-dom): New variable used to save the current DOM.
6202
6203 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6204
6205 * vc/log-edit.el (log-edit-mode-map): Add binding for
6206 `log-edit-beginning-of-line'.
6207 (log-edit-setup-add-author): New user option.
6208 (log-edit-beginning-of-line): New command.
6209 (log-edit): Move major mode call above the contents setup so that
6210 the local variable values are already applied.
6211 (log-edit): Only insert "Author: " when
6212 `log-edit-setup-add-author' is non-nil.
6213 (log-edit): When SETUP is non-nil, position point after ": "
6214 instead of point-min.
6215
6216 2013-12-01 Glenn Morris <rgm@gnu.org>
6217
6218 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6219
6220 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6221
6222 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6223 redisplay to make sure the initial frame gets a chance to become
6224 visible. (Bug#16014)
6225
6226 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6227
6228 Support resizing frames and windows pixelwise.
6229 * cus-start.el (frame-resize-pixelwise)
6230 (window-resize-pixelwise): New entries.
6231 * emacs-lisp/debug.el (debug): Use window-total-height instead
6232 of window-total-size.
6233 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6234 * help.el (describe-bindings-internal): Use help-buffer as
6235 argument for with-help-window.
6236 (temp-buffer-max-width): New option.
6237 (resize-temp-buffer-window, help-window-setup)
6238 (with-help-window): Rewrite.
6239 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6240 dragging dividers.
6241 * window.el (frame-char-size, window-min-pixel-height)
6242 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6243 (window-min-pixel-width, window-safe-min-pixel-size)
6244 (window-combination-p, window-safe-min-size)
6245 (window-resizable-p, window--size-to-pixel)
6246 (window--pixel-to-size, window--resize-apply-p): New functions.
6247 (window-safe-min-height): Fix doc-string.
6248 (window-size, window-min-size, window--min-size-1)
6249 (window-sizable, window-sizable-p, window--min-delta-1)
6250 (window-min-delta, window--max-delta-1, window-max-delta)
6251 (window--resizable, window--resizable-p, window-resizable)
6252 (window-full-height-p, window-full-width-p, window-at-side-p)
6253 (window--in-direction-2, window-in-direction)
6254 (window--resize-reset-1, window--resize-mini-window)
6255 (window-resize, window-resize-no-error)
6256 (window--resize-child-windows-normal)
6257 (window--resize-child-windows, window--resize-siblings)
6258 (window--resize-this-window, window--resize-root-window)
6259 (window--resize-root-window-vertically)
6260 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6261 (maximize-window, minimize-window, delete-window)
6262 (quit-restore-window, window-split-min-size, split-window)
6263 (balance-windows-2, balance-windows)
6264 (balance-windows-area-adjust, balance-windows-area)
6265 (window--state-get-1, window-state-get, window--state-put-1)
6266 (window--state-put-2, window-state-put)
6267 (display-buffer-record-window, window--display-buffer):
6268 Make functions handle pixelwise sizing of windows.
6269 (display-buffer--action-function-custom-type)
6270 (display-buffer-fallback-action):
6271 Add display-buffer-in-previous-window.
6272 (display-buffer-use-some-window): Resize window to height it had
6273 before.
6274 (fit-window-to-buffer-horizontally): New option.
6275 (fit-frame-to-buffer): Describe new values.
6276 (fit-frame-to-buffer-bottom-margin): Replace with
6277 fit-frame-to-buffer-margins.
6278 (window--sanitize-margin): New function.
6279 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6280 using window-text-pixel-size.
6281
6282 2013-11-30 Glenn Morris <rgm@gnu.org>
6283
6284 * emacs-lisp/bytecomp.el (byte-compile-form):
6285 Make the `interactive-only' warning like the `obsolete' one.
6286 * comint.el (comint-run):
6287 * files.el (insert-file-literally, insert-file):
6288 * replace.el (replace-string, replace-regexp):
6289 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6290 (goto-line, insert-buffer, next-line, previous-line):
6291 Tweak `interactive-only' spec.
6292
6293 Stop keeping (most) generated cedet grammar files in the repository.
6294 * Makefile.in (semantic): New.
6295 (compile-main): Depend on semantic.
6296
6297 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6300 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6301
6302 * uniquify.el (uniquify-buffer-name-style): Change default.
6303
6304 * loadup.el: Preload "uniquify".
6305
6306 * time.el (display-time-update): Update all mode lines (bug#15999).
6307
6308 * electric.el (electric-indent-mode): Enable by default.
6309 * loadup.el: Preload "electric".
6310
6311 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6312
6313 * emacs-lisp/helpers.el (string-empty-p): New function.
6314 (string-blank-p): New function.
6315
6316 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6317
6318 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6319 (Bug#14029).
6320
6321 2013-11-29 Andreas Politz <politza@fh-trier.de>
6322 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6323 allow non-lambda lists as functions.
6324 (imenu--in-alist): Don't recurse into non-subalists.
6325 (imenu): Don't pass function itself as an argument (Bug#14029).
6326
6327 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * progmodes/python.el (python-mode-map): Remove binding for ":".
6330 (python-indent-electric-colon): Remove command.
6331 (python-indent-post-self-insert-function): Integrate the previous code
6332 of python-indent-electric-colon. Make it conditional on
6333 electric-indent-mode.
6334 (python-mode): Add ?: to electric-indent-chars.
6335 Move python-indent-post-self-insert-function to the end of
6336 post-self-insert-hook.
6337
6338 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * doc-view.el (doc-view-goto-page): Update mode-line.
6341
6342 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6343
6344 2013-11-27 Glenn Morris <rgm@gnu.org>
6345
6346 * international/charprop.el, international/uni-bidi.el:
6347 * international/uni-category.el, international/uni-combining.el:
6348 * international/uni-comment.el, international/uni-decimal.el:
6349 * international/uni-decomposition.el, international/uni-digit.el:
6350 * international/uni-lowercase.el, international/uni-mirrored.el:
6351 * international/uni-name.el, international/uni-numeric.el:
6352 * international/uni-old-name.el, international/uni-titlecase.el:
6353 * international/uni-uppercase.el:
6354 Remove generated files from VCS repository.
6355
6356 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6357
6358 * filenotify.el (file-notify-add-watch): Don't special-case
6359 w32notify when computing the directory to watch.
6360
6361 2013-11-27 Glenn Morris <rgm@gnu.org>
6362
6363 Make bootstrap without generated uni-*.el files possible again.
6364 * loadup.el: Update command-line-args checking for unidata-gen.
6365 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6366 * composite.el, international/characters.el:
6367 Handle unicode tables being undefined.
6368
6369 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6370 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6371 (compile-main): Depend on leim rule.
6372 (leim): New rule.
6373 * loadup.el: Move leim-list.el to leim/ subdirectory.
6374 * startup.el (normal-top-level): No more leim directory.
6375 * international/ja-dic-cnv.el (skkdic-convert):
6376 Disable version-control and autoloads in output files.
6377 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6378 Disable version-control and autoloads in output files.
6379 * leim/quail: Move here from ../leim.
6380 * leim/quail/hangul.el (hangul-input-method-activate):
6381 Add autoload cookie.
6382 (generated-autoload-load-name): Set file-local value.
6383 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6384 (generated-autoload-load-name): Set file-local value.
6385
6386 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6387
6388 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6389 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6390 (eww-quit): Ask confirmation before quitting eww.
6391
6392 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6393
6394 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6395 reading output from Diff on MS-Windows and MS-DOS.
6396
6397 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6398
6399 * emacs-lisp/helpers.el (string-reverse): New function.
6400
6401 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6402
6403 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6404 names on MS Windows, like "/[::1]:".
6405
6406 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6407 SWITCHES.
6408
6409 2013-11-26 Glenn Morris <rgm@gnu.org>
6410
6411 * progmodes/python.el (python-indent-guess-indent-offset):
6412 Avoid corner-case error. (Bug#15975)
6413
6414 Preload leim-list.el. (Bug#4789)
6415 * loadup.el: Load leim-list.el when found.
6416 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6417
6418 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6419
6420 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6421
6422 * emacs-lisp/helpers.el (string-join): New function.
6423
6424 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6425
6426 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6427 Mark as obsolete and replace it with a symbol property.
6428 (byte-compile-form): Use new 'interactive-only property.
6429 * comint.el, files.el, replace.el, simple.el:
6430 Apply new 'interactive-only properly.
6431
6432 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6433
6434 * window.el (display-buffer-at-bottom): Make sure that
6435 split-window-sensibly creates the new window on bottom
6436 (Bug#15961).
6437
6438 2013-11-23 David Kastrup <dak@gnu.org>
6439
6440 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6441 on the conflict markers when available.
6442 (smerge--get-marker): New function.
6443 (smerge-end-re, smerge-base-re): Add subgroup.
6444
6445 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * frame.el (handle-focus-in, handle-focus-out): Add missing
6448 interactive spec.
6449
6450 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6451
6452 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6453 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6454
6455 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6458 (gomoku--last-pos): New var.
6459 (gomoku--intangible-chars): New const.
6460 (gomoku--intangible): New function.
6461 (gomoku-mode): Use it. Derive from special-mode.
6462 (gomoku-move-up): Adjust line count.
6463 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6464 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6465 Simplify accordingly.
6466
6467 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6468 Remove blink-cursor code.
6469 (blink-cursor-timer-function, blink-cursor-suspend):
6470 Don't special-case GUIs.
6471 (blink-cursor-mode): Use focus-in/out-hook.
6472
6473 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6474
6475 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6476 work when annotation is invisible (Bug#13886).
6477
6478 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6479
6480 * json.el (json-alist-p): Only return non-nil if the alist has
6481 simple keys (Bug#13518).
6482
6483 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6484
6485 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6486 when control-statement is the first statement in a buffer (Bug#15956).
6487
6488 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6489
6490 * imenu.el (imenu-generic-skip-comments-and-strings):
6491 New option (Bug#15560).
6492 (imenu--generic-function): Use it.
6493
6494 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6495
6496 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6497 (Bug#13898)
6498
6499 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6500
6501 * emacs-lisp/helpers.el: Add some string helpers.
6502 (string-trim-left): Removes leading whitespace.
6503 (string-trim-right): Removes trailing whitespace.
6504 (string-trim): Removes leading and trailing whitespace.
6505
6506 * subr.el (string-suffix-p): New function.
6507
6508 2013-11-23 Glenn Morris <rgm@gnu.org>
6509
6510 * progmodes/python.el (python-shell-send-file):
6511 Add option to delete file when done. (Bug#15647)
6512 (python-shell-send-string, python-shell-send-region): Use it.
6513
6514 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6515
6516 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6517 to set buffer-read-only to t, never to nil. (Bug#15938)
6518
6519 * textmodes/tex-mode.el (latex-noindent-environments):
6520 Add safe-local-variable property. (Bug#15936)
6521
6522 2013-11-23 Glenn Morris <rgm@gnu.org>
6523
6524 * textmodes/enriched.el (enriched-mode): Doc fix.
6525 * emacs-lisp/authors.el (authors-renamed-files-alist):
6526 Add enriched.doc -> enriched.txt.
6527
6528 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6529
6530 2013-11-22 Leo Liu <sdl.web@gmail.com>
6531
6532 * progmodes/octave.el (inferior-octave-startup): Spit out error
6533 message.
6534
6535 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6536
6537 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6538 Improve docstring.
6539 Add :version.
6540 (ruby-encoding-magic-comment-style): Add :version.
6541
6542 2013-11-22 Leo Liu <sdl.web@gmail.com>
6543
6544 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6545 (Bug#15076)
6546 (octave-help-mode): Adapt to change to help-mode-finish to use
6547 derived-mode-p on 2013-09-17.
6548 (inferior-octave-prompt): Also match octave-gui.
6549 (octave-kill-process): Don't ask twice. (Bug#10564)
6550
6551 2013-11-22 Leo Liu <sdl.web@gmail.com>
6552
6553 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6554 (inferior-octave-startup, inferior-octave-check-process)
6555 (inferior-octave-track-window-width-change)
6556 (octave-completion-at-point, octave-eldoc-function): Use it.
6557 (octave-kill-process): Provide confirmation. (Bug#10564)
6558
6559 2013-11-21 Leo Liu <sdl.web@gmail.com>
6560
6561 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6562 Fix obsolete variable comment-use-global-state.
6563
6564 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6565
6566 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6567 Add `octave-source-file'.
6568 (octave-source-file): New function. (Bug#15935)
6569
6570 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6571
6572 * net/eww.el (eww-local-regex): New variable.
6573 (eww): Use it to detect localhost and similar.
6574
6575 2013-11-21 Leo Liu <sdl.web@gmail.com>
6576
6577 Add completion for command `ag'.
6578 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6579 (pcomplete/ag): New function.
6580 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6581
6582 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6585 (bug#14646).
6586 (make-obsolete): Remove interactive spec.
6587
6588 2013-11-21 Glenn Morris <rgm@gnu.org>
6589
6590 * startup.el (command-line-1): Use path-separator with -L.
6591
6592 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6593
6594 * emacs-lisp/package.el (describe-package-1): Add package archive
6595 to shown fields.
6596
6597 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6598
6599 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6600 Change default to "# encoding: %s" to differentiate it from the
6601 default Ruby encoding comment template.
6602
6603 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6604
6605 * ses.el (ses-mode): Doc fix. (Bug#14748)
6606
6607 2013-11-20 Leo Liu <sdl.web@gmail.com>
6608
6609 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6610
6611 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6612
6613 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6614 when rebase or bisect are in progress.
6615
6616 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6617
6618 * filenotify.el (file-notify-add-watch): Doc fix.
6619
6620 2013-11-19 Leo Liu <sdl.web@gmail.com>
6621
6622 * obsolete/rcompile.el: Mark obsolete.
6623
6624 * progmodes/compile.el (compilation-start)
6625 (compilation-goto-locus, compilation-find-file):
6626 Pass no-display-ok and handle nil value from display-buffer.
6627 (Bug#13594)
6628
6629 * window.el (display-buffer-alist, display-buffer): Document the
6630 new parameter no-display-ok. Return either a window or nil
6631 but never a non-window value.
6632
6633 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * electric.el (electric-indent-mode-map): Remove.
6636 (electric-indent-mode): Change the global-map instead (bug#15915).
6637
6638 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6639 Use add-function.
6640
6641 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * emacs-lisp/nadvice.el (remove-function): Align with
6644 add-function's behavior.
6645
6646 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6647 (gdb--string-regexp): New constant.
6648 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6649 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6650 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6651 submatch 1.
6652 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6653 Adjust use accordingly.
6654 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6655
6656 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6657
6658 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6659 interpolation curlies (Bug#15914).
6660
6661 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6662
6663 * calc/calc.el (calc-context-sensitive-enter): New variable.
6664 (calc-enter): Use `calc-context-sensitive-enter'.
6665
6666 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6667
6668 * progmodes/cfengine.el: Version bump.
6669 (cfengine-cf-promises): New defcustom to locate cf-promises.
6670 (cfengine3-vartypes): Add new "data" type.
6671 (cfengine3--current-word): New function to get current name-like
6672 word or its bounds.
6673 (cfengine3--current-function): New function to look up a CFEngine
6674 function's definition.
6675 (cfengine3-format-function-docstring): New function.
6676 (cfengine3-make-syntax-cache): New function.
6677 (cfengine3-documentation-function): New function: ElDoc glue.
6678 (cfengine3-completion-function): New function: completion glue.
6679 (cfengine3-mode): Set `compile-command',
6680 `eldoc-documentation-function', and add to
6681 `completion-at-point-functions'.
6682
6683 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6684
6685 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6686 `tramp-current-connection'.
6687
6688 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6689
6690 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6691 nil/self/true/false with "end of symbol".
6692
6693 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6694
6695 * subr.el (version-regexp-alist): Fix a typo.
6696
6697 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6698
6699 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6700 "en_US.utf8" and "LC_CTYPE" to "".
6701 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6702 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6703
6704 2013-11-15 Leo Liu <sdl.web@gmail.com>
6705
6706 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6707
6708 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * progmodes/gud.el (ctl-x-map):
6711 Remove C-x SPC binding. (Bug#12342)
6712 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6713
6714 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6715
6716 * subr.el (version-regexp-alist):
6717 Recognize hg, svn and darcs versions as snapshot versions.
6718
6719 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6720 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6721 (ruby--encoding-comment-required-p): Extract from
6722 `ruby-mode-set-encoding'.
6723 (ruby-mode-set-encoding): Add the ability to always insert an
6724 utf-8 encoding comment. Fix and simplify coding comment update
6725 logic.
6726
6727 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6728
6729 * net/tramp-gvfs.el (top): Run init code only when
6730 `tramp-gvfs-enabled' is not nil.
6731 (tramp-gvfs-enabled): Check also :system bus.
6732
6733 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 Sync with upstream verilog-mode revision 78e66ba.
6736 * progmodes/verilog-mode.el (verilog-end-of-defun)
6737 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6738 (verilog-get-end-of-defun): Remove unused argument.
6739 (verilog-comment-depth): Remove unused local `e'.
6740 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6741 Don't pass arg to verilog-get-end-of-defun.
6742
6743 2013-11-14 Glenn Morris <rgm@gnu.org>
6744
6745 * obsolete/assoc.el (aget): Prefix dynamic variable.
6746
6747 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6748
6749 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * widget.el, hfy-cmap.el: Remove bogus package version number.
6752
6753 2013-11-13 Glenn Morris <rgm@gnu.org>
6754
6755 * replace.el (replace-eval-replacement):
6756 Try to give more helpful error message. (Bug#15836)
6757
6758 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6759 (archive-7z-update): Avoid custom type mismatches.
6760
6761 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6762
6763 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6764
6765 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6766 address can be empty.
6767
6768 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6769 Accept nil SWITCHES.
6770 (tramp-gvfs-handle-write-region): Implement APPEND.
6771
6772 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6773
6774 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6775 binary "|" operator and closing block args delimiter.
6776 Remove FIXME comment referring to Ruby 1.8-only syntax.
6777 (ruby-smie--implicit-semi-p): Not after "|" operator.
6778 (ruby-smie--closing-pipe-p): New function.
6779 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6780 (ruby-smie-rules): Indent after "|".
6781
6782 2013-11-12 Glenn Morris <rgm@gnu.org>
6783
6784 * ps-print.el (ps-face-attribute-list):
6785 Handle anonymous faces. (Bug#15827)
6786
6787 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6788
6789 * window.el (display-buffer-other-frame): Fix doc-string.
6790 (Bug#15868)
6791
6792 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6795
6796 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6797
6798 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6799 (tramp-sh-handle-file-local-copy): Don't write a message when
6800 saving temporary files.
6801
6802 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6803 both directories are remote.
6804 (tramp-smb-handle-directory-files): Do not return double entries.
6805 Do not expand full file names.
6806 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6807 (tramp-smb-handle-write-region): Implement APPEND.
6808 (tramp-smb-get-stat-capability): Fix a stupid bug.
6809
6810 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6813
6814 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6815
6816 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6817 throwing error over malformed let/let* (bug#15814).
6818
6819 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * iswitchb.el (iswitchb-mode): Mark obsolete.
6822
6823 2013-11-11 Glenn Morris <rgm@gnu.org>
6824
6825 * international/uni-bidi.el, international/uni-category.el:
6826 * international/uni-name.el, international/uni-numeric.el:
6827 Regenerate for Unicode 6.3.0.
6828
6829 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6830
6831 * net/tramp.el (tramp-methods):
6832 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6833 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6834
6835 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6836
6837 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6838 Force highlighting text after Summary keyword in doc face for rpm.
6839
6840 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6841
6842 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6843 available and the word has no wildcards, append one to the grep pattern.
6844 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6845 (ispell-complete-word): Call `ispell-lookup-words' with the value
6846 independent of `ispell-look-p'.
6847
6848 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6849
6850 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6851 Not after "||".
6852 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6853 their parent.
6854
6855 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6858 (ruby-font-lock-keywords): Use backquote.
6859
6860 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6861
6862 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6863 (ruby-smie--backward-token): Only consider full-string matches.
6864
6865 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6866
6867 * faces.el (describe-face): Add distant-foreground.
6868
6869 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6870
6871 * progmodes/ruby-mode.el: Improve encoding comment handling.
6872 (ruby-encoding-magic-comment-style): New option.
6873 (ruby-custom-encoding-magic-comment-template): New option.
6874 (ruby--insert-coding-comment, ruby--detect-encoding):
6875 New functions extracted from `ruby-mode-set-encoding'.
6876 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6877 to control the style of the auto-inserted encoding comment.
6878
6879 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6880
6881 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6882 Use `smie-backward-sexp' with token argument.
6883
6884 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6885
6886 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6887 Remove instrumentation code.
6888
6889 2013-11-08 Glenn Morris <rgm@gnu.org>
6890
6891 * progmodes/autoconf.el (autoconf-mode):
6892 Tweak comment-start-skip. (Bug#15822)
6893
6894 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6897 at bobp (bug#15826).
6898 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6899
6900 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6901
6902 * man.el (Man-start-calling): New macro, extracted from
6903 Man-getpage-in-background.
6904 (Man-getpage-in-background): Use it.
6905 (Man-update-manpage): New command.
6906 (Man-mode-map): Bind it.
6907
6908 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6909
6910 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6911 of "and", "or", "&&" and "||".
6912 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6913 argument. Prohibit opening curly brace because it could only be a
6914 block opener in that position.
6915 (ruby-smie--forward-token, ruby-smie--backward-token):
6916 Separate "|" from "&" or "*" going after it. That can happen in block
6917 arguments.
6918 (ruby-smie--indent-to-stmt): New function, seeks the end of
6919 previous statement or beginning of buffer.
6920 (ruby-smie-rules): Use it.
6921 (ruby-smie-rules): Check if there's a ":" before a curly block
6922 opener candidate; if there is, it's a hash.
6923
6924 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6927 (cl--block-wrapper): Fix last accidental change.
6928
6929 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6930
6931 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6932 Instrument, in order to hunt failure on hydra.
6933
6934 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6935
6936 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6937 malformed bindings form (bug#15814).
6938
6939 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6940
6941 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6942 "." compared to " @ ". This incidentally fixes some indentation
6943 examples with "do".
6944 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6945 (ruby-smie-grammar): New tokens: "and" and "or".
6946 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6947 Exclude "and" and "or". Remove "do" in order to work around token
6948 priorities.
6949 (ruby-smie-rules): Add all infix tokens. Handle the case of
6950 beginning-of-buffer.
6951
6952 2013-11-06 Glenn Morris <rgm@gnu.org>
6953
6954 * Makefile.in (setwins_almost, setwins_for_subdirs):
6955 Avoid accidental matches.
6956
6957 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * menu-bar.el (popup-menu): Use key-binding.
6960
6961 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6962
6963 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6964 menus, support also the menus produced by minor modes.
6965 (Bug#15817)
6966
6967 2013-11-06 Leo Liu <sdl.web@gmail.com>
6968
6969 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6970 DISTANCE to bound the search. All uses changed. (Bug#15808)
6971
6972 2013-11-06 Glenn Morris <rgm@gnu.org>
6973
6974 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6975 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6976 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6977
6978 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * electric.el (electric-indent-just-newline): New command.
6981 (electric-indent-mode-map): New keymap.
6982 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6983 Re-add :group which weren't redundant.
6984
6985 * electric.el (electric-indent-local-mode): New minor mode.
6986 (electric-indent-functions-without-reindent): New var.
6987 (electric-indent-post-self-insert-function): Use it.
6988 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6989
6990 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6991
6992 * international/quail.el (quail-help): Be more explicit about the
6993 meaning of the labels shown on the keys. (Bug#15800)
6994
6995 * startup.el (normal-top-level): Load the subdirs.el files before
6996 setting the locale environment. (Bug#15805)
6997
6998 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7001 via arguments so as to get the right ones (bug#15418).
7002
7003 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7004
7005 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7006
7007 Fix problems found while writing a test suite.
7008
7009 * net/tramp-compat.el (tramp-compat-load): New defun.
7010 * net/tramp.el (tramp-handle-load): Use it.
7011
7012 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7013 "(numberp ok-if-already-exists)" correctly.
7014
7015 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7016
7017 * international/characters.el (glyphless-char-display-control):
7018 Add usage note.
7019
7020 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7021
7022 * progmodes/python.el (python-mode):
7023 * progmodes/scheme.el (scheme-mode):
7024 * progmodes/prolog.el (prolog-mode):
7025 * progmodes/ruby-mode.el (ruby-mode):
7026 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7027 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7028
7029 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * rect.el (rectangle--highlight-for-redisplay):
7032 * emacs-lisp/smie.el (smie--next-indent-change):
7033 Use buffer-chars-modified-tick.
7034
7035 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7036
7037 * electric.el (electric-indent-post-self-insert-function):
7038 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7039
7040 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7041
7042 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7043
7044 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7045
7046 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7047 (bug#15786).
7048
7049 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7050
7051 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7052
7053 * progmodes/python.el: Fix up last change.
7054 (python-shell--save-temp-file): New function.
7055 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7056 `string' comes from the current buffer.
7057 (python-shell-send-string-no-output): Remove `msg' arg.
7058 (python--use-fake-loc): New var.
7059 (python-shell-buffer-substring): Obey it. Try to compensate for the
7060 extra coding line added by python-shell--save-temp-file.
7061 (python-shell-send-region): Use python-shell--save-temp-file and
7062 python-shell-send-file directly. Add `nomain' argument.
7063 (python-shell-send-buffer): Use python-shell-send-region.
7064 (python-electric-pair-string-delimiter): New function.
7065 (python-mode): Use it.
7066
7067 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7068
7069 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7070 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7071 environment and decoding all of the default-directory's to here
7072 from command-line.
7073 (command-line): Decode also argv[0].
7074
7075 * loadup.el: Error out if default-directory is a multibyte string
7076 when we are dumping.
7077
7078 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7079
7080 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7081
7082 * emacs-lisp/package.el (package-menu-mode)
7083 (package-menu--print-info, package-menu--archive-predicate):
7084 Add Archive column to package list.
7085
7086 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7087
7088 Fix problems found while writing a test suite.
7089
7090 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7091 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7092 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7093 to nil when running original file name handler. Otherwise,
7094 there are problems with constructs like "$$FOO".
7095
7096 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7097 for `localname'.
7098
7099 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7100
7101 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7102
7103 * subr.el (version<, version<=, version=):
7104 Update docstrings with information for snapshot versions.
7105
7106 * helpers.el: New library for misc helper functions.
7107 (hash-table-keys): New function returning a list of hash keys.
7108 (hash-table-values): New function returning a list of hash values.
7109
7110 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7111
7112 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7113 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7114
7115 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7116
7117 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7118 checking whether point is after a 1-letter word.
7119
7120 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7121
7122 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7123 Don't infloop when expanding region over `multiline' syntax-type that
7124 begins a line (bug#15778).
7125
7126 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7129 Make it into a proper minor mode.
7130 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7131 (rectangle-mark-mode-map): New keymap.
7132 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7133
7134 2013-11-04 Glenn Morris <rgm@gnu.org>
7135
7136 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7137
7138 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7141 (ruby-smie-rules): Use smie-rule-parent instead.
7142
7143 * emacs-lisp/smie.el (smie-rule-parent): Always call
7144 smie-indent-virtual rather than only for hanging tokens.
7145 (smie--next-indent-change): New helper command.
7146
7147 2013-11-03 Glenn Morris <rgm@gnu.org>
7148
7149 * Makefile.in (abs_srcdir): Remove.
7150 (emacs): Unset EMACSLOADPATH.
7151
7152 2013-11-02 Glenn Morris <rgm@gnu.org>
7153
7154 * Makefile.in (EMACS): Use a relative filename.
7155 (abs_top_builddir): Remove.
7156 (custom-deps, finder-data, autoloads): Use --chdir.
7157
7158 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7159
7160 Use relative filenames in TAGS files.
7161 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7162 (lisptagsfiles4, TAGS): Use relative file names.
7163 (TAGS-LISP): Remove.
7164 (maintainer-clean): No more TAGS-LISP file.
7165
7166 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7167 (lisptagsfiles4): Use absolute filenames again.
7168 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7169 Remove all *loaddefs files, not just the first. Remove esh-groups.
7170 (maintainer-clean): Delete TAGS, TAGS-LISP.
7171
7172 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7173
7174 * emacs-lisp/package.el (package-version-join):
7175 Recognize snapshot versions.
7176
7177 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7178
7179 * subr.el (version-regexp-alist): Add support for snapshot versions.
7180
7181 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7182
7183 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7184 New function, replacement for `smie-rule-parent' for when we want to
7185 skip over our direct parent if it's an assignment token..
7186 (ruby-smie-rules): Use it.
7187
7188 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7189
7190 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7191 unconditionally. Remove now unnecessary forward declarations.
7192 Remove XEmacs-specific setup.
7193 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7194 (ruby-font-lock-syntactic-keywords)
7195 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7196 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7197 (ruby-here-doc-end-syntax): Remove.
7198 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7199 defined as function.
7200
7201 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7202
7203 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7204
7205 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7206
7207 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7208 table and abbrev table, `define-derived-mode' does that for us
7209 anyway.
7210
7211 2013-11-01 Glenn Morris <rgm@gnu.org>
7212
7213 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7214 files is atomic for some time, so no parallel compilation issues).
7215
7216 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7217
7218 * faces.el (face-x-resources): Add :distant-foreground.
7219 (region): Use :distant-foreground for gtk and ns.
7220
7221 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7222
7223 Allow multiple bibliographies when BibLaTeX is used rather than
7224 BibTeX.
7225 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7226 (reftex-locate-bibliography-files): Us it.
7227
7228 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7229
7230 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7231 allow comments in pbm files.
7232
7233 * term/w32-win.el (dynamic-library-alist): Support newer versions
7234 of libjpeg starting with v7: look only for the DLL from the
7235 version against which Emacs was built.
7236 Support versions of libpng beyond 1.4.x.
7237 Support libtiff v4.x.
7238
7239 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7240
7241 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7242 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7243 Add property :safe.
7244 (ruby-deep-arglist): Add property :type.
7245
7246 2013-10-31 Glenn Morris <rgm@gnu.org>
7247
7248 * Makefile.in (custom-deps, finder-data): No need to setq the target
7249 variables, we are in the right directory and the defaults work fine.
7250
7251 2013-10-30 Glenn Morris <rgm@gnu.org>
7252
7253 * Makefile.in (autoloads): Do not use abs_lisp.
7254
7255 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7256 `newline' does not respect `standard-output', so use `princ'.
7257
7258 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7259
7260 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7261 * buff-menu.el (Buffer-menu--unmark): New function.
7262 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7263
7264 2013-10-30 Glenn Morris <rgm@gnu.org>
7265
7266 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7267
7268 * emacs-lisp/package.el (lm-homepage): Declare.
7269
7270 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7271 Fix doc typos.
7272
7273 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7274
7275 * Makefile.in (finder-data, autoloads, update-subdirs)
7276 (compile-main, compile-clean, compile-always, bootstrap-clean):
7277 Check return value of cd.
7278 (compile-calc): Remove.
7279
7280 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7283
7284 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7285 (byte-compile-and-folded): New function.
7286 (=, <, >, <=, >=): Use it.
7287
7288 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7289 (path-separator, null-device, buffer-file-coding-system)
7290 (lpr-headers-switches): Check system-type before modifying them.
7291 (find-buffer-file-type-coding-system): Mark obsolete.
7292 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7293 find-file-not-found-set-buffer-file-coding-system.
7294 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7295 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7296 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7297 (w32-direct-print-region-helper, w32-direct-print-region-function)
7298 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7299 * startup.el (normal-top-level-add-subdirs-to-load-path):
7300 * ps-print.el (ps-print-region-function):
7301 * lpr.el (print-region-function): Use new name.
7302
7303 * subr.el (custom-declare-variable-early): Remove function.
7304 (custom-declare-variable-list): Remove var.
7305 (error, user-error): Remove `while' loop.
7306 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7307 (user-emacs-directory-warning, locate-user-emacs-file):
7308 Move to files.el.
7309 * simple.el (read-quoted-char-radix, read-quoted-char):
7310 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7311 Move from subr.el.
7312 * custom.el (custom-declare-variable-list): Don't process
7313 custom-declare-variable-list.
7314
7315 * progmodes/python.el (python-shell-get-buffer): New function.
7316 (python-shell-get-process): Use it.
7317 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7318 Python which encoding was used. Don't split-string since we only care
7319 about the first line. Return the temp-file, if applicable.
7320 (python-shell-send-region): Tell compile.el how to turn locations in
7321 the temp-file into locations in the source buffer.
7322
7323 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * subr.el (undefined): Add missing behavior from the C code for
7326 unbound keys.
7327
7328 * rect.el: Use lexical-binding. Add new rectangular region support.
7329 (rectangle-mark): New command.
7330 (rectangle--region): New var.
7331 (deactivate-mark-hook): Reset rectangle--region.
7332 (rectangle--extract-region, rectangle--insert-for-yank)
7333 (rectangle--highlight-for-redisplay)
7334 (rectangle--unhighlight-for-redisplay): New functions.
7335 (region-extract-function, redisplay-unhighlight-region-function)
7336 (redisplay-highlight-region-function): Use them to handle
7337 rectangular region.
7338 * simple.el (region-extract-function): New var.
7339 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7340 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7341 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7342 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7343 (redisplay-unhighlight-region-function)
7344 (redisplay-highlight-region-function): New vars.
7345 (redisplay--update-region-highlight): New function.
7346 (pre-redisplay-function): Use it.
7347 (exchange-point-and-mark): Don't deactivate the mark before
7348 reactivate-it anyway.
7349 * comint.el (comint-kill-region): Remove yank-handler argument.
7350 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7351 (delete-char): Remove property, since it's now part of their
7352 default behavior.
7353 (self-insert-iso): Remove property since this command doesn't exist.
7354
7355 * emacs-lisp/package.el (package--download-one-archive)
7356 (describe-package-1): Don't query the user about final newline.
7357
7358 2013-10-29 Daniel Colascione <dancol@dancol.org>
7359
7360 * net/tramp.el (tramp-methods): Document new functionality.
7361 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7362 tramp-hostname-checker if method provides one instead of scanning
7363 argument list for "%h" to decide hostname acceptability.
7364
7365 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7366
7367 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7368 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7369 Handle COPY-CONTENTS. (Bug#15737)
7370
7371 2013-10-28 Daiki Ueno <ueno@gnu.org>
7372
7373 * epa-file.el
7374 (epa-file-cache-passphrase-for-symmetric-encryption):
7375 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7376
7377 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7378
7379 * image.el (defimage, image-load-path): Doc fixes.
7380
7381 2013-10-27 Alan Mackenzie <acm@muc.de>
7382
7383 Indent statements in macros following "##" correctly.
7384 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7385 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7386
7387 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7388
7389 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7390
7391 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7392
7393 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7394 after `=' is probably a new expression.
7395
7396 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7397
7398 * man.el (man-imenu-title): New option.
7399 (Man-mode-map): Add menu. (Bug#15722)
7400 (Man-mode): Add imenu to menu.
7401
7402 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7403
7404 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7405 specific in what the first arg can be: a non-keyword word,
7406 string/regexp/percent literal opener, opening paren, or unary
7407 operator followed directly by word.
7408
7409 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7410
7411 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7412 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7413 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7414 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7415 Remove vars, they do not apply any more.
7416 (prolog-mode-abbrev-table): Remove redundant declaration.
7417 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7418 (prolog-use-smie): Remove.
7419 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7420 supported by prolog-electric-if-then-else-flag.
7421 (prolog-mode-variables, prolog-menu): Use setq-local.
7422 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7423 Remove binding to `Backspace' since this key doesn't exist anyway.
7424 Remove bindings for electric self-inserting keys.
7425 (prog-mode): Assume it's defined.
7426 (prolog-post-self-insert): New function.
7427 (prolog-mode): Use it.
7428 (prolog-indent-line, prolog-indent-level)
7429 (prolog-find-indent-of-matching-paren)
7430 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7431 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7432 (prolog-goto-next-paren, prolog-in-string-or-comment)
7433 (prolog-tokenize, prolog-inside-mline-comment)
7434 (prolog-find-start-of-mline-comment): Remove functions.
7435 (prolog-find-unmatched-paren, prolog-clause-end)
7436 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7437 (prolog-electric--if-then-else): Rename from
7438 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7439 (prolog-tokenize-searchkey): Remove const.
7440 (prolog-clause-info): Use forward-sexp.
7441 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7442 (prolog-electric-if-then-else): Remove commands.
7443 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7444 for use in post-self-insert-hook.
7445 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7446 for use in post-self-insert-hook.
7447 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7448 for use in post-self-insert-hook.
7449 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7450 adapt it for use in post-self-insert-hook.
7451
7452 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7453
7454 * emacs-lisp/ert.el (ert-run-tests-interactively):
7455 Use `completing-read'. (Bug#9756)
7456
7457 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7458
7459 * simple.el (line-move): Call line-move-1 instead of
7460 line-move-visual when the current window hscroll is zero, but
7461 temporary-goal-column indicates we will need to hscroll as result
7462 of the movement. (Bug#15712)
7463
7464 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7465
7466 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7467 capitalization. Use :visible instead of :active.
7468 Fix `ruby-indent-exp' reference. Add menu items for the generic
7469 commands that are used with SMIE.
7470 (ruby-do-end-to-brace): Insert space after `{'.
7471
7472 2013-10-25 John Anthony <john@jo.hnanthony.com>
7473
7474 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7475
7476 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7477
7478 2013-10-25 Glenn Morris <rgm@gnu.org>
7479
7480 * vc/vc.el (vc-print-log): Don't use a working revision unless
7481 one was explicitly specified. (Bug#15322)
7482
7483 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * subr.el (add-to-list): Preserve return value in compiler-macro
7486 (bug#15692).
7487
7488 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7489
7490 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7491 result. Ask user to retry using '-all' flag. (Bug#15701)
7492
7493 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7494
7495 * emacs-lisp/smie.el: New smie-config system.
7496 (smie-config): New defcustom.
7497 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7498 (smie-config-guess, smie-config-save): New commands.
7499 (smie-config--mode-local, smie-config--buffer-local)
7500 (smie-config--trace, smie-config--modefuns): New vars.
7501 (smie-config--advice, smie-config--mode-hook)
7502 (smie-config--setter, smie-config-local, smie-config--get-trace)
7503 (smie-config--guess-value, smie-config--guess): New functions.
7504 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7505 text properties. Treat "string fence" syntax like string syntax.
7506
7507 * progmodes/sh-script.el (sh-use-smie): Change default.
7508 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7509 (sh-var-value): Simplify by CSE.
7510 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7511 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7512 is used.
7513 (sh-guess-basic-offset): Use cl-incf.
7514 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7515
7516 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7517
7518 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7519 (bug#15699).
7520
7521 2013-10-24 Glenn Morris <rgm@gnu.org>
7522
7523 * Makefile.in (abs_top_srcdir): Remove.
7524 (update-subdirs): Use relative path to update-subdirs.
7525
7526 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7527
7528 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7529 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7530 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7531 Call unmsys--file-name before expand-file-name, not after it.
7532
7533 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7536 (ert-test-skipped): New error.
7537 (ert-skip, ert-stats-skipped): New defuns.
7538 (ert--skip-unless): New macro.
7539 (ert-test-skipped): New struct.
7540 (ert--run-test-debugger, ert-test-result-type-p)
7541 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7542 (ert--stats-set-test-and-result, ert-char-for-test-result)
7543 (ert-string-for-test-result, ert-run-tests-batch)
7544 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7545 Handle skipped tests. (Bug#9803)
7546
7547 2013-10-24 Glenn Morris <rgm@gnu.org>
7548
7549 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7550
7551 * Makefile.in (abs_top_srcdir): New, set by configure.
7552 (update-subdirs): Correct build-aux location.
7553
7554 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7555
7556 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7557 value, whether we could auto-deduce `backend', or not.
7558
7559 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7560 with parameters" example. Simplify the "is it block or is it
7561 hash" check, but also make it more thorough.
7562
7563 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7564
7565 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7566
7567 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7570 { if it is hanging.
7571
7572 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7573 :before ";".
7574
7575 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7576
7577 * progmodes/compile.el (compilation-directory-matcher)
7578 (compilation-page-delimiter):
7579 Support GNU Make-4.0 directory quoting. (Bug#15678)
7580
7581 2013-10-23 Leo Liu <sdl.web@gmail.com>
7582
7583 * ido.el (ido-tidy): Handle read-only text.
7584
7585 2013-10-23 Glenn Morris <rgm@gnu.org>
7586
7587 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7588 (emacs, compile, compile-always):
7589 Quote entities that might contain whitespace.
7590 (custom-deps, finder-data, autoloads): Use abs_lisp.
7591 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7592 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7593 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7594
7595 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7596
7597 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7598 Use `following-char'.
7599
7600 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7603 * progmodes/ruby-mode.el (ruby-smie-rules):
7604 Remove corresponding workaround. Fix indentation rule of ";" so it
7605 also applies when ";" is the parent.
7606
7607 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7608
7609 * frame.el (display-screens, display-pixel-height)
7610 (display-pixel-width, display-mm-width, display-backing-store)
7611 (display-save-under, display-planes, display-color-cells)
7612 (display-visual-class, display-monitor-attributes-list):
7613 Mention the optional ‘display’ argument in doc strings.
7614
7615 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7616
7617 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7618 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7619
7620 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7621
7622 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7623 TODO. Add "." after " @ ".
7624 (ruby-smie--at-dot-call): New function. Checks if point at method
7625 call with explicit target.
7626 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7627 to the method name tokens when it precedes them.
7628 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7629 (ruby-smie-rules): Add rule for indentation before and after "."
7630 token.
7631
7632 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7633
7634 * textmodes/remember.el (remember-diary-extract-entries):
7635 Avoid add-to-list.
7636
7637 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7638 an instruction.
7639
7640 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7641
7642 * progmodes/ruby-mode.el (ruby-smie-grammar):
7643 Add (almost) all infix operators.
7644 (ruby-smie--implicit-semi-p): Add new operator chars.
7645
7646 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7647 `smie-down-list'.
7648 (ruby-smie--args-separator-p): Check that there's no newline
7649 between method call and its arguments.
7650
7651 2013-10-20 Alan Mackenzie <acm@muc.de>
7652
7653 Allow comma separated lists after Java "implements".
7654
7655 * progmodes/cc-engine.el (c-backward-over-enum-header):
7656 Parse commas.
7657 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7658 from a "disallowed" list in enum fontification.
7659
7660 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7661
7662 * startup.el (default-frame-background-mode): Remove unused defvar.
7663
7664 * progmodes/verilog-mode.el (verilog-mode): Don't set
7665 comment-indent-function globally.
7666
7667 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7668
7669 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7670 Move Info menu item creation to ns-win.el.
7671
7672 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7673 in menu bar.
7674
7675 * menu-bar.el: Move GNUstep specific menus...
7676
7677 * term/ns-win.el (ns-initialize-window-system): ... to here.
7678
7679 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * simple.el (newline): Only run post-self-insert-hook when
7682 called interactively.
7683
7684 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7685
7686 * icomplete.el (icomplete-with-completion-tables): Add :version.
7687
7688 2013-10-19 Alan Mackenzie <acm@muc.de>
7689
7690 Fix fontification bugs with constructors and const.
7691
7692 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7693 CASE 2) Remove the check for the absence of a suffix construct
7694 after a function declaration with only types (no identifiers) in
7695 the parentheses. Also, accept a function declaration with just a
7696 type inside the parentheses, if this type can be positively
7697 recognised as such, or if a prefix keyword like "explicit" nails
7698 down the construct as a declaration.
7699
7700 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7701
7702 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7703 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7704 the problem whereby selecting a menu item that leads to a
7705 minibuffer prompt moves the cursor out of the minibuffer window,
7706 making it hard to type at the prompt. Suggested by Stefan Monnier
7707 <monnier@iro.umontreal.ca>.
7708
7709 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7710
7711 * menu-bar.el: Don't make Services menu.
7712
7713 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7714
7715 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7716 (ffap-alist): Use ffap-c++-mode for c++-mode.
7717 (ffap-c++-path): New variable.
7718 (ffap-c++-mode): New function.
7719
7720 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7721
7722 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7723
7724 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7725
7726 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7727 introduced on 2013-09-08, which results in an infinite loop
7728 requesting a password.
7729
7730 2013-10-18 Glenn Morris <rgm@gnu.org>
7731
7732 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7733
7734 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7735
7736 Sync with upstream verilog-mode revision 1a6ecec7.
7737 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7738 (verilog-mode-release-date): Remove.
7739 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7740 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7741 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7742 (verilog-auto-tieoff-ignore-regexp)
7743 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7744 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7745 (verilog-signals-with, verilog-dir-cache-preserving)
7746 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7747 Doc fixes.
7748 (verilog-case-fold): New option, to control case folding in
7749 regexp searches, bug597.
7750 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7751 (verilog-string-match-fold, verilog-in-paren-count)
7752 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7753 (verilog-at-close-struct-p): New functions.
7754 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7755 (verilog-forward-sexp, verilog-set-auto-endcomments)
7756 (verilog-leap-to-case-head): Handle "unique0" case.
7757 (verilog-in-constraint-re): New constant.
7758 (verilog-keywords, verilog-type-font-keywords):
7759 Add some SystemVerilog 1800-2012 keywords.
7760 (verilog-label-be): Remove unimplemented argument, bug669.
7761 (verilog-batch-execute-func): When batch expanding clear
7762 create-lockfiles to prevent spurious user locks when a file ends
7763 up not changing.
7764 (verilog-calculate-indent, verilog-calc-1)
7765 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7766 (verilog-do-indent): Fix indentation of nested constraints
7767 and structures.
7768 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7769 (verilog-auto-inst-param): Use verilog-string-match-fold.
7770 (verilog-read-inst-module-matcher):
7771 Fix AUTOINST on gate primitives with #1.
7772 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7773 Reads all user-defined typed variables.
7774 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7775 (verilog-signals-matching-regexp)
7776 (verilog-signals-not-matching-regexp, verilog-auto):
7777 Respect verilog-case-fold.
7778 (verilog-diff-report): Fix line count.
7779 (verilog-auto-assign-modport): Remove unused local `modi'.
7780 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7781 better handle multidimensional arrays.
7782 Fix packed array ports misadding bit index in AUTOINST, bug637.
7783 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7784 to not double-declare existing outputs and inputs, respectively.
7785 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7786 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7787 (verilog-sk-uvm-component): New skeleton.
7788 (verilog-submit-bug-report): Add verilog-case-fold,
7789 remove verilog-mode-release-date.
7790
7791 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7792
7793 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7794 as before.
7795
7796 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7797
7798 * textmodes/remember.el (remember): Set buffer-offer-save in
7799 remember buffers (bug#13566).
7800
7801 2013-10-18 Daniel Colascione <dancol@dancol.org>
7802
7803 When evaluating forms in ielm, direct standard output to ielm
7804 buffer. Add new ielm-return-for-effect command. Remove trailing
7805 whitespace throughout.
7806
7807 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7808 (ielm-return-for-effect): New command.
7809 (ielm-send-input): Accept optional `for-effect' parameter.
7810 (ielm-eval-input): Accept optional `for-effect' parameter.
7811 Bind `standard-output' to stream we create using
7812 `ielm-standard-output-impl'. Suppress printing result when
7813 `for-effect'.
7814 (ielm-standard-output-impl): New function.
7815 (inferior-emacs-lisp-mode): Explain new features in documentation.
7816
7817 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7818
7819 Code cleanup.
7820
7821 * net/tramp.el (tramp-debug-message): Do not check for connection
7822 buffer.
7823 (tramp-message): Use "vector" connection property.
7824
7825 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7826 (tramp-equal-remote, tramp-eshell-directory-change)
7827 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7828 (tramp-adb-handle-rename-file)
7829 * net/tramp-cmds.el (tramp-list-remote-buffers)
7830 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7831 * net/tramp-compat.el (tramp-compat-process-running-p)
7832 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7833 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7834 (tramp-gvfs-handle-rename-file)
7835 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7836 (tramp-set-file-uid-gid)
7837 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7838 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7839 of `file-remote-p'.
7840
7841 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7842 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7843 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7844 (tramp-gw-open-network-stream): Suppress unrelated traces.
7845
7846 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7847 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7848 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7849 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7850 connection property.
7851
7852 * net/tramp-cache.el (top): Suppress traces when reading
7853 persistency file.
7854
7855 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7856 Refactor common code. Improve debug message.
7857 (tramp-maybe-open-connection)
7858 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7859 connection buffer too early.
7860
7861 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7862 from `tramp-smb-actions-with-acl'.
7863 (tramp-smb-actions-set-acl): New defconst.
7864 (tramp-smb-handle-copy-directory)
7865 (tramp-smb-action-get-acl): New defun, renamed from
7866 `tramp-smb-action-with-acl'.
7867 (tramp-smb-action-set-acl): New defun.
7868 (tramp-smb-handle-set-file-acl): Rewrite.
7869
7870 2013-10-17 Glenn Morris <rgm@gnu.org>
7871
7872 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7873
7874 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7875
7876 * skeleton.el (skeleton-newline): Remove.
7877 (skeleton-internal-1): Use (insert "\n") instead.
7878
7879 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7880 let-bindings.
7881
7882 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7883 forward-sexp-function while we redo its job (bug#15613).
7884
7885 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7886
7887 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7888 represented by lists.
7889
7890 2013-10-16 Glenn Morris <rgm@gnu.org>
7891
7892 * tmm.el (tmm--history): New dynamic variable.
7893 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7894
7895 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7896
7897 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7898 (tramp-smb-errors): Add error messages.
7899 (tramp-smb-actions-with-acl): New defconst.
7900 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7901 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7902 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7903 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7904 (tramp-smb-get-stat-capability): Fix tests.
7905
7906 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7907
7908 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7909 (bug#15580).
7910
7911 2013-10-16 Glenn Morris <rgm@gnu.org>
7912
7913 * ansi-color.el (ansi-color-drop-regexp):
7914 Add 1J, 1K, 2K. (Bug#15617)
7915
7916 * files.el (hack-local-variables--warned-lexical): New.
7917 (hack-local-variables):
7918 Warn about misplaced lexical-binding. (Bug#15616)
7919
7920 * net/eww.el (eww-render): Always set eww-current-url,
7921 and update header line. (Bug#15622)
7922 (eww-display-html): ... Rather than just doing it here.
7923
7924 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7925
7926 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7927 menu navigations commands.
7928
7929 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7930
7931 * progmodes/subword.el (subword-capitalize): Be careful when
7932 the search for [[:alpha:]] fails (bug#15580).
7933
7934 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7935
7936 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7937 to commands that scroll the menu.
7938
7939 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7940
7941 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7942 Handle methods ending with `?' and `!'.
7943
7944 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7945
7946 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7947 `japanese-cp932' to `cp932' to fix the problem where saving a
7948 source file written in Shift_JIS twice would end up having
7949 `coding: japanese-cp932' which Ruby could not recognize.
7950 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7951 in `ruby-encoding-map'.
7952 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7953 doesn't need to be explicitly declared in magic comment.
7954 (ruby-encoding-map): Add type declaration for better customize UI.
7955
7956 2013-10-13 Glenn Morris <rgm@gnu.org>
7957
7958 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7959 Occur buffers are read-only. http://bugs.debian.org/720775
7960
7961 * emacs-lisp/authors.el (authors-fixed-entries):
7962 Comment out old alpha stuff.
7963
7964 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7965
7966 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7967 to `after-save-hook' instead of `before-save-hook'.
7968 (ruby-mode-set-encoding): Use the value of coding system used to
7969 write the file. Call `basic-save-buffer-1' after modifying the
7970 buffer.
7971
7972 2013-10-13 Alan Mackenzie <acm@muc.de>
7973
7974 Fix indentation/fontification of Java enum with
7975 "implements"/generic.
7976
7977 * progmodes/cc-engine.el (c-backward-over-enum-header):
7978 Extracted from the three other places and enhanced to handle generics.
7979 (c-inside-bracelist-p): Uses new function above.
7980 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7981 function above.
7982 (c-font-lock-enum-tail): Uses new function above.
7983
7984 2013-10-13 Kenichi Handa <handa@gnu.org>
7985
7986 * international/mule-cmds.el (select-safe-coding-system): Remove a
7987 superfluous condition in chekcing whether a coding system is safe
7988 or not.
7989
7990 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7991
7992 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7993
7994 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7995
7996 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7997
7998 2013-10-13 Glenn Morris <rgm@gnu.org>
7999
8000 * menu-bar.el (menu-bar-update-buffers):
8001 Unify Buffers menu prompt string. (Bug#15576)
8002
8003 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8004
8005 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8006 Add some entries.
8007 (authors-fixed-entries): Use accented form of name.
8008
8009 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8012 method calls (bug#15594).
8013 (ruby-smie--args-separator-p): New function.
8014 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8015 recognize paren-free method calls.
8016
8017 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8018 internals of universal-argument.
8019
8020 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8021
8022 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8023 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8024 dropped menu on second mouse click on the menu bar.
8025
8026 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8029 (explicit-shell-file-name): Declare.
8030 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8031 (sh-completion-at-point-function): New function.
8032 (sh-mode): Use it.
8033 (sh-smie--keyword-p): Remove unused argument.
8034 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8035 vars.
8036 (sh-set-shell): Always setup SMIE, even if we use the
8037 old indentation code.
8038
8039 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8040
8041 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8042 cases of ? and =.
8043 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8044 predicate would return nil are almost non-existent.
8045 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8046
8047 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8048 cache also after commands that modify the buffer but don't move
8049 point.
8050
8051 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * env.el (substitute-env-in-file-name): New function.
8054 (substitute-env-vars): Extend the meaning of the optional arg.
8055
8056 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8057
8058 * term/w32-win.el (dynamic-library-alist): Define separate lists
8059 of GIF DLLs for versions before and after 5.0.0 of giflib.
8060 (Bug#15531)
8061
8062 2013-10-10 João Távora <joaotavora@gmail.com>
8063
8064 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8065 not locked, use last revision and current source as
8066 defaults. (Bug#15569)
8067
8068 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8069
8070 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8071 menu-bar is hidden.
8072
8073 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8074
8075 * window.el (pop-to-buffer-same-window): Fix doc-string.
8076 (Bug#15492)
8077
8078 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8081
8082 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8083
8084 * calendar/icalendar.el (icalendar-import-file):
8085 Fix interactive spec. (Bug#15482)
8086
8087 2013-10-10 Glenn Morris <rgm@gnu.org>
8088
8089 * desktop.el (desktop-save): Default to saving in .emacs.d,
8090 since PWD is no longer in desktop-path by default. (Bug#15319)
8091
8092 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8093 now that text mode has a menu with the same entry.
8094 (menu-bar-text-mode-auto-fill): Remove now unused func.
8095 * textmodes/text-mode.el (text-mode-map):
8096 Use auto-fill help text from menu-bar.el.
8097
8098 2013-10-10 John Anthony <john@jo.hnanthony.com>
8099
8100 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8101
8102 2013-10-09 Juri Linkov <juri@jurta.org>
8103
8104 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8105 instead of this-command-keys. Add universal-argument-more and
8106 universal-argument-minus to the list of prefix commands. (Bug#15568)
8107
8108 2013-10-09 Glenn Morris <rgm@gnu.org>
8109
8110 * vc/vc-svn.el (vc-svn-create-repo):
8111 Expand paths in file://... url. (Bug#15446)
8112
8113 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8114 Add some entries.
8115 (authors): Remove unused local variables.
8116
8117 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 * profiler.el: Create a more coherent calltree from partial backtraces.
8120 (profiler-format): Hide the tail with `invisible' so that C-s can still
8121 find the hidden elements.
8122 (profiler-calltree-depth): Don't recurse so enthusiastically.
8123 (profiler-function-equal): New hash-table-test.
8124 (profiler-calltree-build-unified): New function.
8125 (profiler-calltree-build): Use it.
8126 (profiler-report-make-name-part): Indent the calltree less.
8127 (profiler-report-mode): Add visibility specs for profiler-format.
8128 (profiler-report-expand-entry, profiler-report-toggle-entry):
8129 Expand the whole subtree when provided with a prefix arg.
8130
8131 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8132
8133 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8134 iuwu-mod token.
8135 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8136 hanging iuwu-mod token.
8137 (ruby-smie--forward-token): Do not include a dot after a token in
8138 that token.
8139 (ruby-smie--backward-token): Likewise.
8140
8141 2013-10-08 Juri Linkov <juri@jurta.org>
8142
8143 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8144 to isearch-other-control-char.
8145 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8146 and isearch-post-command-hook to post-command-hook.
8147 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8148 and isearch-post-command-hook from post-command-hook.
8149 (isearch-unread-key-sequence)
8150 (isearch-reread-key-sequence-naturally)
8151 (isearch-lookup-scroll-key, isearch-other-control-char)
8152 (isearch-other-meta-char): Remove functions.
8153 (isearch-pre-command-hook, isearch-post-command-hook):
8154 New functions based on isearch-other-meta-char rewritten
8155 relying on the new behavior of overriding-terminal-local-map
8156 that does not replace the local keymaps any more. (Bug#15200)
8157
8158 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8159
8160 Support menus on text-mode terminals.
8161 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8162 functionality.
8163
8164 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8165
8166 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8167 Move here from mouse.el.
8168 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8169 and arrow keys.
8170 (tty-menu-navigation-map): New map for TTY menu navigation.
8171
8172 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8173
8174 * frame.el (display-mouse-p): Report text-mode mouse as available
8175 on w32.
8176 (display-popup-menus-p): Report availability if mouse is
8177 available; don't condition on window-system.
8178
8179 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8180 (tty-menu-selected-face): New faces.
8181
8182 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8185 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8186 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8187 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8188 New constants.
8189 (lisp-mode-variables): New `elisp' argument.
8190 (emacs-lisp-mode): Use it.
8191 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8192 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8193
8194 * indent.el: Use lexical-binding.
8195 (indent-region): Add progress reporter.
8196 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8197 last step.
8198 (indent--next-tab-stop): New function to implement this behavior.
8199 (tab-to-tab-stop, move-to-tab-stop): Use it.
8200
8201 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8202
8203 * indent.el (indent-rigidly--current-indentation): New function.
8204 (indent-rigidly-map): New var.
8205 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8206
8207 2013-10-08 Bastien Guerry <bzg@gnu.org>
8208
8209 * register.el (insert-register): Fix 2013-10-07 change.
8210
8211 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8212
8213 * progmodes/perl-mode.el: Use lexical-binding.
8214 Remove redundant :group args.
8215 (perl-nochange): Change default to be closer to other major modes's
8216 standard behavior.
8217 (perl-indent-line): Don't consider text on current line as a
8218 valid beginning of function from which to indent.
8219
8220 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8221 with more than one argument (bug#15538).
8222
8223 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8224
8225 * vc/pcvs.el: Use lexical-binding.
8226 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8227 environment of `eval'.
8228 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8229 than a list of expressions. Adjust callers.
8230 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8231
8232 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8233
8234 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8235 case of the dot in a chained method call being on the following line.
8236
8237 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * electric.el (electric-indent-inhibit): New var.
8240 (electric-indent-post-self-insert-function): Use it.
8241 * progmodes/python.el (python-mode): Set it.
8242
8243 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8244 open braces.
8245
8246 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8247
8248 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8249 (css-mode): Use electric-indent-chars.
8250
8251 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8252 (font-lock-beg, font-lock-end): Move before first use.
8253 (nxml-mode): Use syntax-propertize-function.
8254 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8255 (nxml-extend-after-change-region): Remove.
8256 * nxml/xmltok.el: Use lexical-binding.
8257 (xmltok-save): Use `declare'.
8258 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8259 * nxml/nxml-util.el: Use lexical-binding.
8260 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8261 Use `declare'.
8262 * nxml/nxml-ns.el: Use lexical-binding.
8263 (nxml-ns-save): Use `declare'.
8264 (nxml-ns-prefixes-for): Avoid add-to-list.
8265 * nxml/rng-match.el: Use lexical-binding.
8266 (rng--ipattern): Use cl-defstruct.
8267 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8268 (rng-cons-group-after, rng-subst-group-after)
8269 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8270 Use closures instead of `(lambda...).
8271
8272 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8273
8274 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8275 of BEG and END.
8276
8277 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8278 Use `tramp-handle-insert-file-contents'.
8279 (tramp-gvfs-handle-insert-file-contents): Remove function.
8280
8281 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8282 Use `save-restriction' in order to keep markers.
8283
8284 * net/trampver.el: Update release number.
8285
8286 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * progmodes/compile.el (compilation-parse-errors):
8289 Use compilation--put-prop.
8290 (compilation--ensure-parse): Check compilation-multiline.
8291
8292 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8293
8294 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8295 lexical-binding.
8296
8297 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8298
8299 * progmodes/ruby-mode.el: Fix recently added tests.
8300 (ruby-smie-grammar): Add - and +.
8301 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8302 (ruby-smie--backward-id): New functions.
8303 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8304 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8305 any more.
8306
8307 2013-10-07 Leo Liu <sdl.web@gmail.com>
8308
8309 * register.el (register-preview-delay)
8310 (register-preview-functions): New variables.
8311 (register-read-with-preview, register-preview)
8312 (register-describe-oneline): New functions.
8313 (point-to-register, window-configuration-to-register)
8314 (frame-configuration-to-register, jump-to-register)
8315 (number-to-register, view-register, insert-register)
8316 (copy-to-register, append-to-register, prepend-to-register)
8317 (copy-rectangle-to-register): Use register-read-with-preview to
8318 read register. (Bug#15525)
8319
8320 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8321
8322 * net/network-stream.el (network-stream-open-starttls): Don't add
8323 --insecure if it's already present, because that gnutls-cli
8324 rejects getting that parameter twice.
8325
8326 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8327
8328 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8329 keyword, too.
8330
8331 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8332
8333 * newcomment.el (comment-use-global-state): Change default value
8334 to t, mark obsolete (Bug#15251).
8335 (comment-beginning): In addition to `comment-to-syntax', check the
8336 value of `comment-use-global-state'.
8337
8338 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8339
8340 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8341 (ruby-comment-column): Follow the global default, by default.
8342 (ruby-smie-grammar): Add assignment syntax.
8343 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8344 open-paren, a comma, or a \.
8345 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8346 and line continuations.
8347 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8348 followed by implicit semi-colons. Add rule for string concatenation
8349 and for indentation at BOB.
8350 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8351
8352 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8353 calling next-sexp, since next-token may have skipped chars which
8354 next-sexp doesn't know should be skipped!
8355
8356 2013-10-05 Leo Liu <sdl.web@gmail.com>
8357
8358 * progmodes/octave.el (octave-send-region):
8359 Call compilation-forget-errors.
8360
8361 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8362
8363 * vc/vc-svn.el (vc-svn-find-admin-dir):
8364 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8365 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8366 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8367 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8368
8369 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8370
8371 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8372
8373 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * subr.el (read-passwd): Hide chars even when called within a context
8376 where after-change-functions is disabled (bug#15501).
8377 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8378 until we removed ourself from overriding-terminal-local-map.
8379
8380 2013-10-04 Leo Liu <sdl.web@gmail.com>
8381
8382 * progmodes/octave.el (inferior-octave-mode):
8383 Call compilation-forget-errors.
8384
8385 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8386
8387 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8388
8389 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8390
8391 * net/secrets.el (secrets-create-collection): Add optional
8392 argument ALIAS. Use proper Label keyword. Append ALIAS as
8393 dbus-call-method argument. (Bug#15516)
8394
8395 2013-10-04 Leo Liu <sdl.web@gmail.com>
8396
8397 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8398 (inferior-octave-compilation-font-lock-keywords): New variables.
8399 (compilation-error-regexp-alist)
8400 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8401 (inferior-octave-mode): Use compilation-shell-minor-mode.
8402
8403 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8404
8405 * minibuffer.el (completion--replace): Be careful that `end' might be
8406 a marker.
8407
8408 2013-10-03 Daiki Ueno <ueno@gnu.org>
8409
8410 Add support for package signature checking.
8411 * emacs-lisp/package.el (url-http-file-exists-p)
8412 (epg-make-context, epg-context-set-home-directory)
8413 (epg-verify-string, epg-context-result-for)
8414 (epg-signature-status, epg-signature-to-string)
8415 (epg-check-configuration, epg-configuration)
8416 (epg-import-keys-from-file): Declare.
8417 (package-check-signature): New user option.
8418 (package-unsigned-archives): New user option.
8419 (package-desc): Add `signed' field.
8420 (package-load-descriptor): Set `signed' field if .signed file exists.
8421 (package--archive-file-exists-p): New function.
8422 (package--check-signature): New function.
8423 (package-install-from-archive): Check package signature.
8424 (package--download-one-archive): Check archive signature.
8425 (package-delete): Remove .signed file.
8426 (package-import-keyring): New command.
8427 (package-refresh-contents): Import default keyring.
8428 (package-desc-status): Add "unsigned" status.
8429 (describe-package-1, package-menu--print-info)
8430 (package-menu-mark-delete, package-menu--find-upgrades)
8431 (package-menu--status-predicate): Support "unsigned" status.
8432
8433 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8436 the new compilation scheme using the new byte-codes.
8437
8438 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8439 (byte-pophandler): New byte codes.
8440 (byte-goto-ops): Adjust accordingly.
8441 (byte-compile--use-old-handlers): New var.
8442 (byte-compile-catch): Use new byte codes depending on
8443 byte-compile--use-old-handlers.
8444 (byte-compile-condition-case--old): Rename from
8445 byte-compile-condition-case.
8446 (byte-compile-condition-case--new): New function.
8447 (byte-compile-condition-case): New function that dispatches depending
8448 on byte-compile--use-old-handlers.
8449 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8450 when we can.
8451
8452 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8453 Optimize under `condition-case' and `catch' if
8454 byte-compile--use-old-handlers is nil.
8455 (disassemble-offset): Handle new bytecodes.
8456
8457 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * subr.el (error): Use `declare'.
8460 (decode-char, encode-char): Use advertised-calling-convention instead
8461 of the docstring to discourage use of the `restriction' arg.
8462
8463 2013-10-03 Daiki Ueno <ueno@gnu.org>
8464
8465 * epg.el (epg-verify-file): Add a comment saying that it does not
8466 notify verification error as a return value nor a signal.
8467 (epg-verify-string): Ditto.
8468
8469 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8470
8471 * progmodes/compile.el (compilation-start): Try globbing the arg to
8472 `cd' (bug#15417).
8473
8474 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8475
8476 Sync with Tramp 2.2.8.
8477
8478 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8479 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8480 * net/trampver.el: Update release number.
8481
8482 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8483
8484 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8485 and default-process-coding-system for darwin only.
8486
8487 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8490
8491 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8492
8493 * vc/vc-git.el (vc-git-grep): Disable pager.
8494
8495 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8496
8497 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8498 Use :url instead of :homepage, as per
8499 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8500
8501 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8502 non-nil, use `syntax-ppss' (Bug#15251).
8503
8504 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8505
8506 * progmodes/octave.el (inferior-octave-startup-file):
8507 Prefer ~/.emacs.d/init_octave.m.
8508
8509 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8510
8511 * emacs-lisp/package.el (package-desc-from-define):
8512 Accept additional arguments as plist, convert them to an alist and store
8513 them in the `extras' slot.
8514 (package-generate-description-file): Convert extras alist back to
8515 plist and append to the `define-package' form arguments.
8516 (package--alist-to-plist): New function.
8517 (package--ac-desc): Add `extras' slot.
8518 (package--add-to-archive-contents): Check if the archive-contents
8519 vector is long enough, and if it is, pass its `extras' slot value
8520 to `package-desc-create'.
8521 (package-buffer-info): Call `lm-homepage', pass the returned value
8522 to `package-desc-from-define'.
8523 (describe-package-1): Render the homepage button (Bug#13291).
8524
8525 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8526 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8527
8528 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8529
8530 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8531 and default-process-coding-system to utf-8-unix (Bug#15402).
8532
8533 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8534
8535 * subr.el (looking-back): Do not recommend using looking-back.
8536
8537 2013-09-28 Alan Mackenzie <acm@muc.de>
8538
8539 Fix indentation/fontification of Java enum with "implements".
8540
8541 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8542 regexp which matches "implements", etc., in Java.
8543 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8544 specifier clauses coming after "enum".
8545 * progmodes/cc-fonts.el (c-font-lock-declarations)
8546 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8547 after "enum".
8548
8549 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8550
8551 * faces.el (region): Change ns_selection_color to
8552 ns_selection_fg_color, add ns_selection_bg_color.
8553
8554 2013-09-28 Leo Liu <sdl.web@gmail.com>
8555
8556 * progmodes/octave.el (inferior-octave-completion-table)
8557 (inferior-octave-completion-at-point): Minor tweaks.
8558
8559 * textmodes/ispell.el (ispell-lookup-words): Rename from
8560 lookup-words. (Bug#15460)
8561 (lookup-words): Obsolete.
8562 (ispell-complete-word, ispell-command-loop): All uses changed.
8563
8564 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8565
8566 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8567 (octave-mode-menu): Add octave-send-buffer.
8568 (octave-send-buffer): New function.
8569
8570 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8571
8572 * progmodes/octave.el (octave-mode-map): Add key binding for
8573 octave-lookfor.
8574 (octave-mode-menu): Add octave-lookfor.
8575 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8576 octave-lookfor.
8577 (octave-lookfor): New function.
8578
8579 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8580
8581 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8582 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8583 its convention.
8584 (cl--loop-set-iterator-function): New function.
8585 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8586 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8587 Bind `it' with `let' instead of substituting it with `cl-subst'.
8588 (cl--unused-var-p): New function.
8589 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8590 Eliminate some unused variable warnings (bug#15326).
8591
8592 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8593
8594 * doc-view.el (doc-view-scale-reset): Rename from
8595 `doc-view-reset-zoom-level'.
8596 (doc-view-scale-adjust): New command.
8597 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8598 `doc-view-scale-adjust'.
8599
8600 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8601
8602 * doc-view.el (doc-view-reset-zoom-level): New command.
8603 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8604 zoom commands (bug#15466).
8605
8606 2013-09-26 Kenichi Handa <handa@gnu.org>
8607
8608 * international/quail.el (quail-help): Make it not a command.
8609
8610 2013-09-26 Leo Liu <sdl.web@gmail.com>
8611
8612 * minibuffer.el (completion-all-sorted-completions): Make args
8613 optional as they are.
8614
8615 2013-09-25 Daniel Colascione <dancol@dancol.org>
8616
8617 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8618 specs are and that they're not evaluated.
8619
8620 2013-09-24 Sam Steingold <sds@gnu.org>
8621
8622 * midnight.el (clean-buffer-list-kill-regexps)
8623 (clean-buffer-list-kill-buffer-names): Update for the new Man
8624 buffer naming which includes the object name.
8625
8626 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8629 (eshell-parse-command, eshell-parse-pipeline): Use it since
8630 eshell-separate-commands requires a dynamic scoped var.
8631 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8632
8633 2013-09-23 Leo Liu <sdl.web@gmail.com>
8634
8635 * autoinsert.el (auto-insert-alist): Make the value of
8636 lexical-binding match its file setting.
8637
8638 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8639
8640 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8641
8642 * autoarg.el (autoarg-kp-digit-argument):
8643 * electric.el (Electric-command-loop):
8644 * kmacro.el (kmacro-step-edit-insert):
8645 Do not set universal-argument-num-events.
8646
8647 2013-09-22 Leo Liu <sdl.web@gmail.com>
8648
8649 * files.el (interpreter-mode-alist): Add octave.
8650
8651 2013-09-21 Alan Mackenzie <acm@muc.de>
8652
8653 C++: fontify identifier in declaration following "public:" correctly.
8654 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8655 to match "public", etc.
8656 (c-decl-prefix-re): Add ":" into the C++ value.
8657 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8658 bit. Add a check for a ":" preceded by "public", etc.
8659
8660 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8661
8662 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8663 recognized by GDB 7.5 and later.
8664
8665 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8666
8667 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8668
8669 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * subr.el (internal--call-interactively): New const.
8672 (called-interactively-p): Use it (bug#3984).
8673
8674 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8675
8676 * vc/pcvs.el (cvs-mode-ignore):
8677 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8678 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8679
8680 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8683 (eshell-ls-orig-insert-directory): Remove.
8684 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8685 (eshell-ls-use-in-dired): Use advice-add/remove.
8686 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8687 Add `orig-fun' arg for use in :around advice.
8688 Make it check (redundantly) eshell-ls-use-in-dired.
8689
8690 2013-09-19 Glenn Morris <rgm@gnu.org>
8691
8692 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8693
8694 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8695
8696 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8697
8698 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8699
8700 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8701 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8702 (tramp-get-remote-python): New defuns.
8703 (tramp-get-remote-uid-with-perl)
8704 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8705 contributed by yary <not.com@gmail.com> (tiny change).
8706 (tramp-get-remote-uid-with-python)
8707 (tramp-get-remote-gid-with-python): New defuns. Python code
8708 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8709 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8710
8711 2013-09-19 Glenn Morris <rgm@gnu.org>
8712
8713 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8714
8715 * eshell/em-unix.el (eshell-remove-entries):
8716 Rename argument to avoid name-clash with global `top-level'.
8717
8718 * eshell/esh-proc.el (eshell-kill-process-function):
8719 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8720 (eshell-reset-after-proc): Remove unused arg `proc'.
8721
8722 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8723 (directory-files-and-attributes): Mark unused arg.
8724
8725 * eshell/em-unix.el (eshell-remove-entries):
8726 Remove unused arg `path'. Update callers.
8727
8728 * eshell/em-hist.el (eshell-hist-parse-arguments):
8729 Remove unused arg `silent'. Update callers.
8730
8731 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8732 Fix (f)boundp mix-up.
8733
8734 * eshell/em-smart.el (eshell-smart-scroll-window)
8735 (eshell-disable-after-change):
8736 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8737
8738 2013-09-18 Alan Mackenzie <acm@muc.de>
8739
8740 Fix fontification of type when followed by "const".
8741 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8742 "known" types from fontification.
8743
8744 2013-09-18 Glenn Morris <rgm@gnu.org>
8745
8746 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8747 (chart-face-list): Drop Emacsen without display-color-p.
8748
8749 * net/eww.el (libxml-parse-html-region): Declare.
8750 (eww-display-html): Explicit error if no libxml2 support.
8751
8752 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8753
8754 * image.el (image-type-from-buffer, image-multi-frame-p):
8755 Remove --without-x warning/error.
8756
8757 * mouse.el (mouse-yank-primary):
8758 * term.el (term-mouse-paste):
8759 Reorder to silence --without-x compilation.
8760
8761 * mpc.el (doc-view-mode): Silence --without-x compilation.
8762
8763 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8764 Silence --without-x compilation.
8765
8766 * progmodes/gud.el (gud-find-file, gud-mode):
8767 Silence --without-x compilation.
8768 (tooltip-mode): Declare.
8769
8770 * wdired.el (dired-backup-overwrite): Remove declaration.
8771 (wdired-mode-map): Add doc string.
8772
8773 * custom.el (x-get-resource): Declare.
8774
8775 * eshell/em-glob.el (ange-cache):
8776 * eshell/em-unix.el (ange-cache): Declare.
8777
8778 * faces.el (x-display-list, x-open-connection, x-get-resource):
8779 Declare.
8780
8781 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8782 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8783 Declare.
8784
8785 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8786
8787 * net/gnutls.el (gnutls-log-level): Declare.
8788
8789 * net/shr.el (image-size, image-animate): Declare.
8790
8791 * simple.el (font-info): Declare.
8792
8793 * subr.el (x-popup-dialog): Declare.
8794
8795 * term/common-win.el (x-select-enable-primary)
8796 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8797 Declare.
8798
8799 * term/ns-win.el (x-handle-args): Declare.
8800
8801 * term/x-win.el (x-select-enable-clipboard): Declare.
8802
8803 * term/w32-win.el (create-default-fontset): Declare.
8804
8805 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8806 Declare.
8807
8808 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8809 (fit-frame-to-buffer): Explicit error if --without-x.
8810 (mouse-autoselect-window-select): Silence compiler.
8811
8812 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8813
8814 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8815 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8816 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8817 * eshell/esh-util.el (eshell-sublist):
8818 Remove unused local variables.
8819
8820 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8821
8822 * textmodes/two-column.el: Make 2C-split work for --without-x.
8823 (scroll-bar-columns): Autoload.
8824 (top-level): Require fringe when compiling.
8825
8826 2013-09-18 Leo Liu <sdl.web@gmail.com>
8827
8828 * subr.el (add-hook): Robustify to handle closure as well.
8829
8830 2013-09-17 Glenn Morris <rgm@gnu.org>
8831
8832 * simple.el (messages-buffer-mode-map): Unbind "g".
8833
8834 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * help-mode.el (help-mode-finish): Use derived-mode-p.
8837 Remove obsolete highlighting.
8838
8839 * play/life.el (life-mode): Use define-derived-mode. Derive from
8840 special-mode.
8841 (life): Let-bind inhibit-read-only.
8842 (life-setup): Avoid `setq'. Use `life-mode'.
8843
8844 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8845 which should not be needed any more.
8846 (package-menu-refresh, package-menu-describe-package): Use user-error.
8847
8848 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8849 (eshell-post-rewrite-command-hook): Make obsolete.
8850 (eshell-parse-command): Simplify.
8851 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8852 (eshell--cmd): Declare.
8853 (eshell-parse-pipeline): Remove unused var `final-p'.
8854 Pass a dynvar to eshell-post-rewrite-command-hook.
8855 Implement the new eshell-post-rewrite-command-function.
8856 (eshell-invoke-directly): Remove unused arg `input'.
8857 * eshell/esh-io.el (eshell-io-initialize):
8858 Use eshell-post-rewrite-command-function (bug#15399).
8859 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8860 adjust to new calling convention.
8861 (eshell-create-handles): Rename args to avoid clashing with dynvar
8862 `standard-output'.
8863
8864 2013-09-17 Glenn Morris <rgm@gnu.org>
8865
8866 * simple.el (messages-buffer-mode): New major mode.
8867 (messages-buffer): New function.
8868 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8869 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8870 (ert-run-test): Use `messages-buffer' function.
8871 (ert--force-message-log-buffer-truncation): Ignore read-only.
8872 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8873 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8874
8875 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8878
8879 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8880
8881 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * icomplete.el (icomplete-in-buffer): New var.
8884 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8885 vars and replace them with functions.
8886 (icomplete-minibuffer-setup): Adjust accordingly.
8887 (icomplete--completion-table, icomplete--completion-predicate)
8888 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8889 New functions.
8890 (icomplete-forward-completions, icomplete-backward-completions)
8891 (icomplete-simple-completing-p, icomplete-exhibit)
8892 (icomplete-completions): Use them.
8893 (icomplete--in-region-buffer): New var.
8894 (icomplete--in-region-setup): New function.
8895 (icomplete-mode): Use it.
8896
8897 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8898 (bug#15379).
8899 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8900 return args and options.
8901 (eshell-eval-using-options): Use the new return value of
8902 eshell--do-opts to set the options's vars in their scope.
8903 (eshell--set-option): Rename from eshell-set-option.
8904 Add arg `opt-vals'.
8905 (eshell--process-option): Rename from eshell-process-option.
8906 Add arg `opt-vals'.
8907 (eshell--process-args): Use an `opt-vals' alist to store the options's
8908 values during their processing and return them additionally to the
8909 remaining args.
8910
8911 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8912
8913 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8914 continuation character an operator, as far as indentation is
8915 concerned (Bug#15369).
8916
8917 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8918
8919 * window.el (window--state-put-2): Don't process buffer state
8920 when buffer doesn't exist any more (Bug#15382).
8921
8922 2013-09-15 Glenn Morris <rgm@gnu.org>
8923
8924 * eshell/em-unix.el (eshell/rm):
8925 Make -f ignore missing files. (Bug#15373)
8926
8927 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8928 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8929 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8930
8931 2013-09-14 Glenn Morris <rgm@gnu.org>
8932
8933 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8934
8935 2013-09-13 Glenn Morris <rgm@gnu.org>
8936
8937 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8938 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8939
8940 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8941
8942 * frame.el (x-focus-frame): Mark as declared in frame.c.
8943
8944 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8945
8946 * ls-lisp.el: Use advice-add.
8947 (original-insert-directory): Remove.
8948 (ls-lisp--insert-directory): Rename from insert-directory; add
8949 `orig-fun' argument.
8950 (insert-directory): Advise.
8951
8952 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8953
8954 * term.el (term-emulate-terminal): Decode the command string
8955 before passing it to term-command-hook. (Bug#15337)
8956
8957 2013-09-13 Glenn Morris <rgm@gnu.org>
8958
8959 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8960
8961 * eshell/esh-ext.el (eshell-search-path): Declare.
8962
8963 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8964 Otherwise an error occurs if eshell-dirs module not loaded.
8965
8966 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8967
8968 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8969
8970 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8971 `tramp-check-proper-host'. Check for a valid method name.
8972
8973 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8974 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8975 * net/tramp-sh.el (tramp-maybe-open-connection):
8976 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8977
8978 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8979 also for hash values.
8980
8981 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8982
8983 * term/ns-win.el (parameters): Don't declare as dynamic.
8984 (before-make-frame-hook): Don't add ineffective function.
8985
8986 * eshell/*.el: Use lexical-binding (bug#15231).
8987
8988 2013-09-12 Kenichi Handa <handa@gnu.org>
8989
8990 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8991
8992 2013-09-12 Glenn Morris <rgm@gnu.org>
8993
8994 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8995 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8996
8997 * subr.el (do-after-load-evaluation): Also give compiler warnings
8998 when obsolete files are used (except by obsolete files).
8999
9000 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9001 in the status output, assume `filename' is the first. (Bug#15322)
9002
9003 * vc/vc.el (vc-deduce-fileset): Doc fix.
9004
9005 * calc/calc-help.el (Info-goto-node):
9006 * progmodes/cperl-mode.el (Info-find-node):
9007 * vc/ediff.el (Info-goto-node): Update declarations.
9008
9009 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9010
9011 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9012 (vc-bzr-pull): Require vc-dispatcher.
9013 * vc/vc-git.el (vc-compilation-mode): Declare.
9014 (vc-git-pull): Require vc-dispatcher.
9015
9016 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9017
9018 * progmodes/octave.el (help-button-action): Declare.
9019
9020 * shell.el (shell-directory-tracker): Output error as a message
9021 rather than just returning it as a string.
9022 (shell-process-pushd): Remove useless use of message.
9023
9024 * dframe.el (dframe-timer-fn):
9025 * files.el (dir-locals-read-from-file):
9026 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9027 (mpc-format):
9028 * reveal.el (reveal-post-command):
9029 * saveplace.el (load-save-place-alist-from-file):
9030 * shell.el (shell-resync-dirs):
9031 * w32-common-fns.el (x-get-selection-value):
9032 * emacs-lisp/copyright.el (copyright-find-copyright):
9033 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9034 * emulation/tpu-edt.el (tpu-copy-keyfile):
9035 * play/bubbles.el (bubbles--mark-neighbourhood):
9036 * progmodes/executable.el
9037 (executable-make-buffer-file-executable-if-script-p):
9038 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9039
9040 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 Cleanup Eshell to rely less on dynamic scoping.
9043 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9044 last-value, and ext-command here. Bind `args' closer to `body'.
9045 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9046 (eshell--args): Declare new dynamic var.
9047 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9048 last-value, and ext-command. Pass `args' to `body'.
9049 (eshell-process-args): Bind eshell--args.
9050 (eshell-set-option): Use eshell--args.
9051 * eshell/eshell.el (eshell): Use derived-mode-p.
9052 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9053 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9054 (eshell-glob-function): Declare.
9055 * eshell/esh-util.el: Require cl-lib.
9056 (eshell-read-hosts-file): Avoid add-to-list.
9057 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9058 `err'.
9059 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9060 Declare.
9061 (eshell/diff): Remove unused var `err'.
9062 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9063 `killflag'.
9064 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9065 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9066 first use.
9067 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9068 Move declaration before first use.
9069 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9070 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9071 rely on cl-return.
9072
9073 2013-09-12 Glenn Morris <rgm@gnu.org>
9074
9075 * term/ns-win.el (global-map): Remove binding for ispell-next,
9076 deleted 1999-05-29. (Bug#15357)
9077
9078 2013-09-11 Glenn Morris <rgm@gnu.org>
9079
9080 * echistory.el (electric-command-history): Remove call to deleted func.
9081
9082 * play/landmark.el (landmark-mode): Fix typos.
9083
9084 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9085 Check cvs-sort-ignore-file is bound.
9086
9087 * savehist.el: No need for cl when compiling on Emacs.
9088
9089 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9092 (bug#15338).
9093 (eshell-self-insert-command, eshell-send-invisible):
9094 Remove unused argument.
9095 (eshell-handle-control-codes): Remove unused var `orig'.
9096 Avoid delete-backward-char.
9097
9098 * files.el (set-auto-mode): Simplify a bit further.
9099
9100 2013-09-11 Glenn Morris <rgm@gnu.org>
9101
9102 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9103 (set-auto-mode): Don't regexp-quote elements.
9104 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9105 * progmodes/cc-mode.el (interpreter-mode-alist):
9106 * progmodes/ruby-mode.el (interpreter-mode-alist):
9107 Revert previous change.
9108
9109 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * play/snake.el (snake-mode):
9112 * play/mpuz.el (mpuz-mode):
9113 * play/landmark.el (lm-mode):
9114 * play/blackbox.el (blackbox-mode):
9115 * play/5x5.el (5x5-mode):
9116 * obsolete/options.el (Edit-options-mode):
9117 * net/quickurl.el (quickurl-list-mode):
9118 * net/newst-treeview.el (newsticker-treeview-mode):
9119 * mail/rmailsum.el (rmail-summary-mode):
9120 * mail/mspools.el (mspools-mode):
9121 * locate.el (locate-mode):
9122 * ibuffer.el (ibuffer-mode):
9123 * emulation/ws-mode.el (wordstar-mode):
9124 * emacs-lisp/debug.el (debugger-mode):
9125 * array.el (array-mode):
9126 * net/eudc.el (eudc-mode): Use define-derived-mode.
9127 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9128 Move initialization into declaration.
9129 (mairix-searches-mode): Use define-derived-mode.
9130 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9131 (eudc-edit-hotlist): Use dolist.
9132 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9133 (Man-mode): Use define-derived-mode.
9134 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9135 (Info-edit-mode): Use define-derived-mode.
9136 (Info-cease-edit): Use Info-mode.
9137 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9138 into declaration.
9139 (eshell-mode): Use define-derived-mode.
9140 * chistory.el (command-history-mode-map): Rename from
9141 command-history-map.
9142 (command-history-mode): Use define-derived-mode.
9143 (Command-history-setup): Remove function.
9144 * calc/calc.el (calc-trail-mode-map): New var.
9145 (calc-trail-mode): Use define-derived-mode.
9146 (calc-trail-buffer): Set calc-main-buffer manually.
9147 * bookmark.el (bookmark-insert-annotation): New function.
9148 (bookmark-edit-annotation): Use it.
9149 (bookmark-edit-annotation-mode): Make it a proper major mode.
9150 (bookmark-send-edited-annotation): Use derived-mode-p.
9151 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9152 closer to its ideal place. Use \' to match EOS.
9153
9154 * profiler.el (profiler-calltree-find): Use function-equal.
9155
9156 2013-09-10 Glenn Morris <rgm@gnu.org>
9157
9158 * files.el (interpreter-mode-alist): Convert to regexps.
9159 (set-auto-mode): Adapt for this. (Bug#15306)
9160 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9161 Comment out unused variable.
9162 * progmodes/cc-mode.el (interpreter-mode-alist):
9163 * progmodes/python.el (interpreter-mode-alist):
9164 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9165 * progmodes/sh-script.el (sh-set-shell):
9166 No longer use interpreter-mode-alist to get list of shells.
9167
9168 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9169
9170 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * simple.el: Use set-temporary-overlay-map for universal-argument.
9173 (universal-argument-map): Don't use default-bindings (bug#15317).
9174 Bind switch-frame explicitly. Replace universal-argument-minus with
9175 a conditional binding.
9176 (universal-argument-num-events, saved-overriding-map): Remove.
9177 (restore-overriding-map): Remove.
9178 (universal-argument--mode): Rename from save&set-overriding-map,
9179 and rewrite.
9180 (universal-argument, universal-argument-more, negative-argument)
9181 (digit-argument): Adjust accordingly.
9182 (universal-argument-minus): Remove.
9183 (universal-argument-other-key): Remove.
9184
9185 * subr.el (with-demoted-errors): Add `format' argument.
9186
9187 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9190 `tramp-cleanup-connection'.
9191
9192 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9193 parameters KEEP-DEBUG and KEEP-PASSWORD.
9194
9195 * net/tramp.el (tramp-file-name-handler):
9196 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9197 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9198 (tramp-maybe-open-connection):
9199 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9200 Use `tramp-cleanup-connection'.
9201
9202 * net/tramp-sh.el (tramp-maybe-open-connection):
9203 Catch 'uname-changed inside the progress reporter.
9204
9205 2013-09-10 Glenn Morris <rgm@gnu.org>
9206
9207 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9208
9209 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9210 returns "alternate access method" in mode (eg "-rw-r--r--.").
9211
9212 2013-09-08 Glenn Morris <rgm@gnu.org>
9213
9214 * saveplace.el (load-save-place-alist-from-file):
9215 Demote errors. (Bug#15305)
9216
9217 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9218
9219 Improve compatibility with older Emacsen, and XEmacs.
9220
9221 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9222 only if it is bound. It isn't for XEmacs.
9223 (with-tramp-progress-reporter): Do not let-bind `result'.
9224 This yields to scoping errors in XEmacs.
9225 (tramp-handle-make-auto-save-file-name): New function, moved from
9226 tramp-sh.el.
9227
9228 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9229 for `make-auto-save-file-name'.
9230 (tramp-adb--gnu-switches-to-ash):
9231 Use `tramp-compat-replace-regexp-in-string'.
9232
9233 * net/tramp-cache.el (tramp-cache-print): Call
9234 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9235
9236 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9237 bound. It isn't for XEmacs.
9238
9239 * net/tramp-compat.el (tramp-compat-copy-file):
9240 Catch `wrong-number-of-arguments' error.
9241 (tramp-compat-replace-regexp-in-string): New defun.
9242
9243 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9244 for `make-auto-save-file-name'.
9245 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9246 `copy-file'.
9247 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9248 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9249 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9250
9251 * net/tramp-gw.el (tramp-gw-open-network-stream):
9252 Use `tramp-compat-replace-regexp-in-string'.
9253
9254 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9255 Call `tramp-handle-make-auto-save-file-name'.
9256 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9257 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9258 (tramp-sh-file-inotifywait-process-filter):
9259 Use `tramp-compat-replace-regexp-in-string'.
9260 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9261
9262 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9263 for `make-auto-save-file-name'.
9264 (tramp-smb-handle-copy-directory):
9265 Call `tramp-compat-replace-regexp-in-string'.
9266 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9267 (tramp-smb-handle-copy-file): Improve error message.
9268 (tramp-smb-handle-rename-file): Rename directly only in case
9269 `newname' does not exist yet. This is a restriction of smbclient.
9270 (tramp-smb-maybe-open-connection): Rerun the function only when
9271 `auth-sources' is non-nil.
9272
9273 2013-09-08 Kenichi Handa <handa@gnu.org>
9274
9275 * international/characters.el: Set category "^" (Combining) for
9276 more characters.
9277
9278 2013-09-07 Alan Mackenzie <acm@muc.de>
9279
9280 Correctly fontify Java class constructors.
9281 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9282 in Java Mode.
9283 (c-recognize-typeless-decls): Set the Java value to t.
9284 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9285 While handling a "(", add a check for, effectively, Java, and handle a
9286 "typeless" declaration there.
9287
9288 2013-09-07 Roland Winkler <winkler@gnu.org>
9289
9290 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9291 field subtitle for entry type book.
9292
9293 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9294
9295 * minibuffer.el: Make minibuffer-complete call completion-in-region
9296 rather than other way around.
9297 (completion--some, completion-pcm--find-all-completions):
9298 Don't delay signals when debugging.
9299 (minibuffer-completion-contents): Beware fields within the
9300 minibuffer contents.
9301 (completion-all-sorted-completions): Use defvar-local.
9302 (completion--do-completion, completion--cache-all-sorted-completions)
9303 (completion-all-sorted-completions, minibuffer-force-complete):
9304 Add args `beg' and `end'.
9305 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9306 (minibuffer-complete): Use completion-in-region.
9307 (completion-complete-and-exit): New fun, extracted from
9308 minibuffer-complete-and-exit.
9309 (minibuffer-complete-and-exit): Use it.
9310 (completion--complete-and-exit): Rename from
9311 minibuffer--complete-and-exit.
9312 (completion-in-region--single-word): New function, extracted from
9313 minibuffer-complete-word.
9314 (minibuffer-complete-word): Use it.
9315 (display-completion-list): Make `common-substring' argument obsolete.
9316 (completion--in-region): Call completion--in-region-1 instead of
9317 minibuffer-complete.
9318 (completion-help-at-point): Pass boundaries to
9319 minibuffer-completion-help as args rather than via an overlay.
9320 (completion-pcm--string->pattern): Use `any-delim'.
9321 (completion-pcm--optimize-pattern): New function.
9322 (completion-pcm--pattern->regex): Handle `any-delim'.
9323 * icomplete.el (icomplete-forward-completions)
9324 (icomplete-backward-completions, icomplete-completions):
9325 Adjust calls to completion-all-sorted-completions and
9326 completion--cache-all-sorted-completions.
9327 (icomplete-with-completion-tables): Default to t.
9328 * emacs-lisp/crm.el (crm--current-element): Rename from
9329 crm--select-current-element. Don't put an overlay but return the
9330 boundaries instead.
9331 (crm--completion-command): Take two new args to bind to the boundaries.
9332 (crm-completion-help): Adjust accordingly.
9333 (crm-complete): Use completion-in-region.
9334 (crm-complete-word): Use completion-in-region--single-word.
9335 (crm-complete-and-exit): Use completion-complete-and-exit.
9336
9337 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9340 than dynamically.
9341
9342 2013-09-06 Juri Linkov <juri@jurta.org>
9343
9344 * info.el (Info-display-images-node): When image file doesn't exist
9345 display text version of the image if it's provided in the Info file.
9346 Otherwise, display the location of missing image from SRC attribute.
9347 Add help-echo text property from ALT attribute. (Bug#15279)
9348
9349 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9352 (edit-abbrevs-mode): Use define-derived-mode.
9353
9354 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9355 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9356 that it's defined.
9357 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9358 Use define-derived-mode.
9359
9360 * epg.el (epg-start-encrypt): Minor CSE simplification.
9361
9362 2013-09-06 William Xu <william.xwl@gmail.com>
9363
9364 * arc-mode.el: Add support for 7za (bug#15264).
9365 (archive-7z-program): New var.
9366 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9367 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9368 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9369
9370 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9371
9372 Remove URL syntax.
9373
9374 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9375 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9376 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9377 (tramp-postfix-host-format, tramp-file-name-regexp)
9378 (tramp-completion-file-name-regexp)
9379 (tramp-completion-dissect-file-name)
9380 (tramp-handle-substitute-in-file-name): Remove 'url case.
9381 (tramp-file-name-regexp-url)
9382 (tramp-completion-file-name-regexp-url): Remove constants.
9383
9384 2013-09-06 Glenn Morris <rgm@gnu.org>
9385
9386 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9387
9388 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9389
9390 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9391 keywords" below "here-doc beginnings" (Bug#15270).
9392
9393 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 * subr.el (pop): Use `car-safe'.
9396 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9397 to detect unused `pop' return value.
9398
9399 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9400 var `block-regexp'.
9401 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9402 (python-fill-string): Remove unused var `marker'.
9403 (python-skeleton-add-menu-items): Remove unused var `items'.
9404
9405 * international/mule-cmds.el: Require CL.
9406 (find-coding-systems-for-charsets): Avoid add-to-list.
9407 (sanitize-coding-system-list): New function, extracted from
9408 select-safe-coding-system-interactively.
9409 (select-safe-coding-system-interactively): Use it.
9410 (read-input-method-name): Accept symbols for `default'.
9411
9412 * emacs-lisp/advice.el (defadvice): Add indent rule.
9413
9414 2013-09-05 Daniel Hackney <dan@haxney.org>
9415
9416 * dired-x.el:
9417 * net/ange-ftp.el:
9418 * net/browse-url.el:
9419 * net/dbus.el:
9420 * net/eudc.el:
9421 * net/eudcb-ldap.el:
9422 * net/eww.el:
9423 * net/imap.el:
9424 * printing.el:
9425 * vc/ediff-diff.el:
9426 * vc/ediff-init.el:
9427 * vc/ediff-merg.el:
9428 * vc/ediff-mult.el:
9429 * vc/ediff-util.el:
9430 * vc/ediff-wind.el:
9431 * vc/ediff.el:
9432 * vc/emerge.el:
9433 * vc/pcvs.el:
9434 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9435 byte compiler. Remove some unused let-bound variables.
9436
9437 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9440 a "ref-cell", since it gets better optimized (bug#14883).
9441
9442 2013-09-05 Glenn Morris <rgm@gnu.org>
9443
9444 * progmodes/cc-awk.el (c-forward-sws): Declare.
9445
9446 2013-09-04 Glenn Morris <rgm@gnu.org>
9447
9448 * generic-x.el [rul-generic-mode]: Require cc-mode.
9449 (c++-mode-syntax-table): Declare.
9450 (rul-generic-mode-syntax-table): Init in the defvar.
9451
9452 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9455 (vc-do-command, vc-set-async-update):
9456 * vc/vc-mtn.el (vc-mtn-dir-status):
9457 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9458 (vc-hg-pull, vc-hg-merge-branch):
9459 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9460 (vc-git-merge-branch):
9461 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9462 (vc-cvs-dir-status-files):
9463 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9464 (vc-bzr-dir-status-files):
9465 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9466 * vc/vc-annotate.el: Use lexical-binding.
9467 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9468 (vc-sentinel-movepoint): Declare.
9469 (vc-annotate): Don't use `goto-line'.
9470 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9471 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9472 (vc-sentinel-movepoint): Declare.
9473 * vc/vc-svn.el: Use lexical-binding.
9474 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9475 * vc/vc-sccs.el:
9476 * vc/vc-rcs.el: Use lexical-binding.
9477
9478 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9479 `deleted'. Don't drop errors silently.
9480
9481 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9482
9483 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9484
9485 * vc/vc.el (vc-ignore): Rewrite.
9486 (vc-default-ignore): New function.
9487 (vc-default-ignore-completion-table): Use find-ignore-file.
9488
9489 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9490 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9491 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9492 Remove. Most code moved to vc.el.
9493
9494 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9497 * net/tramp-smb.el (tramp-smb-get-file-entries):
9498 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9499 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9500
9501 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9502 Update call to it.
9503 (eww-change-select): Remove unused var `properties'.
9504 (eww-make-unique-file-name): Remove unused var `base'.
9505
9506 * finder.el (finder-compile-keywords): Don't mess with windows.
9507
9508 * calculator.el (calculator-funcall): Fix typo in last change.
9509
9510 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9511
9512 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9513 <pkg>-autoloads.el file stop us.
9514
9515 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9516 warnings, and factor out common code.
9517
9518 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9519
9520 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9521 two-character operators and whether the character preceding them
9522 changes their meaning (Bug#15208).
9523
9524 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9525
9526 Format code sent to Python shell for robustness.
9527 * progmodes/python.el (python-shell-buffer-substring):
9528 New function.
9529 (python-shell-send-region, python-shell-send-buffer): Use it.
9530
9531 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9532
9533 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9534 * net/tramp.el (tramp-user-error): ... here.
9535 (tramp-find-method, tramp-check-proper-host)
9536 (tramp-dissect-file-name, tramp-debug-message)
9537 (tramp-handle-shell-command):
9538 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9539 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9540
9541 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9542
9543 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9544
9545 * avoid.el (mouse-avoidance-point-position)
9546 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9547 returns nil.
9548
9549 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9550
9551 * progmodes/python.el (python-shell-completion-get-completions):
9552 Drop use of deleted `comint-last-prompt-overlay'.
9553 (python-nav-if-name-main): New command.
9554
9555 2013-09-01 Glenn Morris <rgm@gnu.org>
9556
9557 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9558 Avoid leading space in $wins. Otherwise the sed command used by
9559 eg compile-main ends up containing "/*.el". (Bug#15170)
9560
9561 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9562
9563 2013-08-30 Glenn Morris <rgm@gnu.org>
9564
9565 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9566 Fix is-this-a-directory logic. (Bug#15220)
9567
9568 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9569
9570 * textmodes/css-mode.el: Use SMIE.
9571 (css-smie-grammar): New var.
9572 (css-smie--forward-token, css-smie--backward-token)
9573 (css-smie-rules): New functions.
9574 (css-mode): Use them.
9575 (css-navigation-syntax-table): Remove var.
9576 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9577 (css-indent-calculate, css-indent-line): Remove functions.
9578
9579 Misc changes to reduce use of `(lambda...); and other cleanups.
9580 * cus-edit.el: Use lexical-binding.
9581 (customize-push-and-save, customize-apropos)
9582 (custom-buffer-create-internal): Use closures.
9583 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9584 * progmodes/ada-xref.el: Use setq.
9585 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9586 * dframe.el: Use lexical-binding.
9587 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9588 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9589 * descr-text.el: Use lexical-binding.
9590 (describe-text-widget, describe-text-sexp, describe-property-list):
9591 Use closures.
9592 * comint.el (comint-history-isearch-push-state): Use a closure.
9593 * calculator.el: Use lexical-binding.
9594 (calculator-number-to-string): Make it work with lexical-binding.
9595 (calculator-funcall): Same and use cl-letf.
9596
9597 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9598 (lisp--company-doc-string, lisp--company-location): New functions.
9599 (lisp-completion-at-point): Use them to improve Company support.
9600
9601 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9602 params of lambda expressions.
9603 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9604 (ruby-smie--opening-pipe-p): New function.
9605 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9606 symbols and matched |...| for formal params.
9607 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9608 from being treated as hanging. Handle "rescue".
9609
9610 2013-08-29 Glenn Morris <rgm@gnu.org>
9611
9612 * progmodes/cc-engine.el (c-pull-open-brace):
9613 Move definition before use.
9614
9615 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9618 are immutable. Don't use `unsafe' any more.
9619 (cl--defsubst-expand): Don't substitute at the same time as keeping
9620 a residual unused let-binding. Don't use `unsafe' any more.
9621
9622 2013-08-29 Glenn Morris <rgm@gnu.org>
9623
9624 * calendar/cal-china.el (calendar-chinese-year-cache):
9625 Recenter on 2015.
9626
9627 * nxml/nxml-util.el (nxml-debug-clear-inside):
9628 Use cl-loop rather than loop.
9629
9630 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9631
9632 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9633
9634 2013-08-28 Glenn Morris <rgm@gnu.org>
9635
9636 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9637
9638 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9639
9640 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9641
9642 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * simple.el (repeat-complex-command--called-interactively-skip):
9645 New function.
9646 (repeat-complex-command): Use it (bug#14136).
9647
9648 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9649 (c-define-abbrev-table): Add `doc' argument.
9650 (c-mode-abbrev-table, c++-mode-abbrev-table)
9651 (objc-mode-abbrev-table, java-mode-abbrev-table)
9652 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9653 (awk-mode-abbrev-table): Use it.
9654 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9655 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9656 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9657 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9658 Move initialization into the declaration; and remove any
9659 autoload cookie.
9660
9661 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9662 and dynamic let binding.
9663
9664 * vc/smerge-mode.el: Remove redundant :group args.
9665
9666 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9667 to load-path.
9668
9669 2013-08-28 Juri Linkov <juri@jurta.org>
9670
9671 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9672 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9673 (isearch-other-meta-char): Handle an undefined shifted printing
9674 character by downshifting it. (Bug#15200)
9675
9676 2013-08-28 Juri Linkov <juri@jurta.org>
9677
9678 * isearch.el (isearch-search): Change regexp error message for
9679 non-regexp searches. (Bug#15166)
9680
9681 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9682
9683 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9684 for portability to hosts where /bin/sh has problems.
9685
9686 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9689
9690 2013-08-27 Juri Linkov <juri@jurta.org>
9691
9692 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9693 in the keyboard macro. (Bug#15126)
9694
9695 2013-08-27 Juri Linkov <juri@jurta.org>
9696
9697 * isearch.el (isearch-quote-char): Comment out converting unibyte
9698 to multibyte, thus syncing with its `quoted-insert' counterpart.
9699 (Bug#15166)
9700
9701 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9702
9703 * window.el (display-buffer-use-some-window): Add missing
9704 argument in call of get-largest-window (Bug#15185).
9705 Reported by Stephen Leake.
9706
9707 2013-08-27 Glenn Morris <rgm@gnu.org>
9708
9709 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9710
9711 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9714 from a matcher-function unless there's no more matches (bug#15161).
9715
9716 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9717
9718 * minibuffer.el: Revert change from 2013-08-20.
9719
9720 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9721 with text property `tramp-default', if appropriate.
9722 (tramp-check-proper-host): New defun.
9723 (tramp-dissect-file-name): Do not check hostname. Revert change
9724 of 2013-03-18.
9725 (tramp-backtrace): Make VEC-OR-PROC optional.
9726
9727 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9728 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9729 * net/tramp-sh.el (tramp-maybe-open-connection):
9730 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9731 Apply `tramp-check-proper-host'.
9732
9733 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9734
9735 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9736 lambda expression in order to have `describe-variable' display it.
9737
9738 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9739
9740 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9741 BUF can be optional. (Bug#15186)
9742
9743 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9744
9745 * progmodes/flymake.el (flymake-get-real-file-name-function):
9746 Fix broken customization. (Bug#15184)
9747
9748 2013-08-25 Alan Mackenzie <acm@muc.de>
9749
9750 Improve indentation of bracelists defined by macros (without "=").
9751
9752 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9753 expansion begins with "{", regard it as bracelist when it doesn't
9754 contain a ";".
9755
9756 Parse C++ inher-intro when there's a template split over 2 lines.
9757
9758 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9759 rigorously the search for "class" etc. followed by ":".
9760
9761 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9762 random languages a regexp which never matches rather than nil.
9763
9764 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9765
9766 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9767 (c-awk-regexp-one-line-possibly-open-char-list-re)
9768 (c-awk-one-line-possibly-open-regexp-re)
9769 (c-awk-one-line-non-syn-ws*-re): Remove.
9770 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9771 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9772 (c-awk-space*-unclosed-regexp-/-re): New constants.
9773 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9774 aren't regexp delimiters.
9775
9776 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9777 handling for a rare situation in AWK Mode involving unterminated
9778 strings/regexps.
9779
9780 2013-08-23 Glenn Morris <rgm@gnu.org>
9781
9782 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9783
9784 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9785
9786 * files.el (create-file-buffer): If the result would begin with
9787 spaces, prepend a "|" instead of removing them. (Bug#15162)
9788
9789 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9792 text-properties (bug#15155).
9793
9794 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9795 exist any more.
9796 (calc-keypad-redraw): Remove unused var `pad'.
9797 (calc-keypad-press): Remove unused var `menu'.
9798
9799 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9800
9801 * window.el (display-buffer-pop-up-frame):
9802 Call pop-up-frame-function with BUFFER current so `make-frame' will
9803 use it as the new frame's buffer (Bug#15133).
9804
9805 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * calendar/timeclock.el: Minor cleanups.
9808 (timeclock-ask-before-exiting, timeclock-use-display-time):
9809 Use `symbol'.
9810 (timeclock-modeline-display): Define as alias before the
9811 actual definition.
9812 (timeclock-mode-line-display): Use define-minor-mode.
9813 (timeclock-day-list-template): Make it a function, add an argument.
9814 (timeclock-day-list-required, timeclock-day-list-length)
9815 (timeclock-day-list-debt, timeclock-day-list-span)
9816 (timeclock-day-list-break): Adjust calls accordingly.
9817
9818 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9821 Use read--expression so that completion works again.
9822
9823 2013-08-21 Sam Steingold <sds@gnu.org>
9824
9825 Add rudimentary inferior shell interaction
9826 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9827 (sh-set-shell): Reset it.
9828 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9829 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9830
9831 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * align.el: Use lexical-binding.
9834 (align-region): Simplify accordingly.
9835
9836 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9837
9838 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9839
9840 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9841 `non-essential' up.
9842
9843 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9844
9845 * net/tramp.el:
9846 * net/tramp-adb.el:
9847 * net/tramp-cmds.el:
9848 * net/tramp-ftp.el:
9849 * net/tramp-gvfs.el:
9850 * net/tramp-gw.el:
9851 * net/tramp-sh.el: Don't wrap external variable declarations by
9852 `eval-when-compile'.
9853
9854 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9855
9856 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9857 now that Emacs supports ImageMagick animations.
9858
9859 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9860
9861 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9862 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9863
9864 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9865
9866 * window.el (mouse-autoselect-window-select): Do autoselect when
9867 mouse pointer is on margin.
9868
9869 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9870
9871 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9872
9873 2013-08-16 Glenn Morris <rgm@gnu.org>
9874
9875 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9876 Handle "Remote Directory" response of some clients. (Bug#15058)
9877
9878 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9879 Tweak warning. (Bug#14926)
9880
9881 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9882 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9883
9884 * image-mode.el (image-mode-map): Add menu items to reverse,
9885 increase, decrease, reset animation speed.
9886 (image--set-speed, image-increase-speed, image-decrease-speed)
9887 (image-reverse-speed, image-reset-speed): New functions.
9888 (image-mode-map): Add bindings for speed commands.
9889
9890 * image.el (image-animate-get-speed, image-animate-set-speed):
9891 New functions.
9892 (image-animate-timeout): Respect image :speed property.
9893
9894 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9897 previous line (bug#15101).
9898 (debugger-eval-expression, debugger-record-expression):
9899 Use read--expression (bug#15102).
9900
9901 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9902
9903 Remove byte compiler warnings, visible when compiling with
9904 `byte-compile-force-lexical-warnings' set to t.
9905
9906 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9907 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9908 (tramp-handle-unhandled-file-name-directory)
9909 (tramp-handle-file-notify-add-watch, tramp-action-login)
9910 (tramp-action-succeed, tramp-action-permission-denied)
9911 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9912 arguments with "_".
9913
9914 * net/tramp-adb.el (tramp-adb-parse-device-names)
9915 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9916 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9917 (tramp-adb-handle-file-truename): Remove unused arguments.
9918
9919 * net/tramp-cache.el (tramp-flush-directory-property)
9920 (tramp-flush-connection-property, tramp-list-connections)
9921 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9922
9923 * net/tramp-compat.el (tramp-compat-make-temp-file):
9924 Rename FILENAME to F.
9925
9926 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9927 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9928 (tramp-zeroconf-parse-workstation-device-names)
9929 (tramp-zeroconf-parse-webdav-device-names)
9930 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9931
9932 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9933 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9934
9935 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9936 arguments.
9937 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9938 (tramp-sh-handle-insert-file-contents-literally)
9939 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9940 with "_".
9941 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9942 Remove unused variables.
9943
9944 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9945 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9946 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9947
9948 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9949 Make them a defconst.
9950 (tramp-uuencode-region): Remove unused variable.
9951
9952 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * frameset.el (frameset--prop-setter): New function.
9955 (frameset-prop): Add gv-setter declaration.
9956 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9957 parameter was already set in FILTERED. Doc fix.
9958 (frameset--record-minibuffer-relationships): Allow saving a
9959 minibufferless frame without its corresponding minibuffer frame.
9960 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9961 frame, if the frame id matches.
9962 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9963 frames before orphaned ones.
9964 (frameset-restore): Warn about orphaned windows, instead of error out.
9965
9966 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9967
9968 * window.el (window-make-atom): Don't overwrite parameter
9969 already present.
9970 (display-buffer-in-atom-window): Handle special case where we
9971 split an already atomic window.
9972 (window--major-non-side-window, display-buffer-in-side-window)
9973 (window--side-check): Ignore minibuffer window when walking
9974 window tree.
9975 (window-deletable-p): Return 'frame only if no other frame uses
9976 our minibuffer window.
9977 (record-window-buffer): Run buffer-list-update-hook.
9978 (split-window): Make sure window--check-frame won't destroy an
9979 existing atomic window in case the new window gets nested
9980 inside.
9981 (display-buffer-at-bottom): Ignore minibuffer window when
9982 walking window tree. Don't split a side window.
9983 (pop-to-buffer): Don't set-buffer here, the select-window call
9984 should do that.
9985 (mouse-autoselect-window-select): Autoselect only if we are in the
9986 text portion of the window.
9987
9988 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9989
9990 * net/shr.el (shr-parse-image-data): New function to grab both the
9991 data itself and the Content-Type.
9992 (shr-put-image): Use it.
9993
9994 * net/eww.el (eww-display-image): Ditto.
9995
9996 * image.el (image-content-type-suffixes): New variable.
9997
9998 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9999
10000 * progmodes/python.el (python-imenu--build-tree)
10001 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10002
10003 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10004
10005 * simple.el (backward-word): Mention the optional argument.
10006
10007 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * frameset.el (frameset--make): Rename constructor from make-frameset.
10010 (frameset-p, frameset-valid-p): Don't autoload.
10011 (frameset-valid-p): Use normal accessors.
10012
10013 2013-08-13 Glenn Morris <rgm@gnu.org>
10014
10015 * progmodes/compile.el (compile-command): Tweak example in doc.
10016 * obsolete/scribe.el (scribe-mode):
10017 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10018
10019 * mail/feedmail.el (feedmail-confirm-outgoing)
10020 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10021
10022 * cus-start.el (truncate-partial-width-windows): Fix type.
10023
10024 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10025
10026 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10027
10028 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * emacs-lisp/timer.el (timer--time-setter): New function.
10031 (timer--time): Use it as gv-setter.
10032
10033 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10034 setter is not a symbol.
10035
10036 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10037
10038 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10039 if sending fails. This makes debugging easier.
10040
10041 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10042
10043 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10044 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10045 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10046
10047 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10048
10049 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10050
10051 2013-08-12 Glenn Morris <rgm@gnu.org>
10052
10053 * format.el (format-annotate-function):
10054 Handle read-only text properties in the source. (Bug#14887)
10055
10056 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10057
10058 * net/eww.el (eww-display-html): Ignore coding system errors.
10059 One web site uses "utf-8lias" as the coding system.
10060
10061 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10062
10063 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10064
10065 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10066
10067 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10068 (tutorial--detailed-help): Remove unused local variables.
10069 (tutorial--save-tutorial-to): Use ignore-errors.
10070 (help-with-tutorial): Use looking-at-p.
10071
10072 * view.el (view-buffer-other-window, view-buffer-other-frame):
10073 Mark unused arguments.
10074
10075 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10076 (woman-select-symbol-fonts, woman, woman-find-file)
10077 (woman-insert-file-contents, woman-non-underline-faces):
10078 Use string-match-p.
10079 (woman1-unquote): Move declaration.
10080
10081 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10082 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10083 argument. Remove unused local variable.
10084 (xml-parse-elem-type): Use string-match-p.
10085 (xml-substitute-numeric-entities): Use ignore-errors.
10086
10087 * calculator.el (calculator): Mark unused argument.
10088 (calculator-paste, calculator-quit, calculator-integer-p):
10089 Use ignore-errors.
10090 (calculator-string-to-number, calculator-decimal, calculator-exp)
10091 (calculator-op-or-exp): Use string-match-p.
10092
10093 * dired.el (dired-buffer-more-recently-used-p): Declare.
10094 (dired-insert-set-properties, dired-insert-old-subdirs):
10095 Use ignore-errors.
10096
10097 * dired-aux.el (dired-compress): Use ignore-errors.
10098 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10099 (dired-do-async-shell-command, dired-do-shell-command)
10100 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10101 (dired-insert-subdir-validate): Use string-match-p.
10102 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10103 (dired-add-entry): Use string-match-p, looking-at-p.
10104 (dired-insert-subdir-newpos): Remove unused local variable.
10105
10106 * filenotify.el (file-notify-callback): Remove unused local variable.
10107
10108 * filesets.el (filesets-error): Mark unused argument.
10109 (filesets-which-command-p, filesets-filter-dir-names)
10110 (filesets-directory-files, filesets-get-external-viewer)
10111 (filesets-ingroup-get-data): Use string-match-p.
10112
10113 * find-file.el (ff-other-file-name, ff-other-file-name)
10114 (ff-find-the-other-file, ff-cc-hh-converter):
10115 Remove unused local variables.
10116 (ff-get-file-name): Use string-match-p.
10117 (ff-all-dirs-under): Use ignore-errors.
10118
10119 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10120 (follow-select-if-visible): Remove unused local variable.
10121
10122 * forms.el (read-file-filter): Move declaration.
10123 (forms--make-format, forms--make-parser, forms-insert-record):
10124 Quote function with #'.
10125 (forms--update): Use string-match-p. Quote function with #'.
10126
10127 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10128 (help-make-xrefs): Use looking-at-p.
10129 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10130
10131 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10132 (ibuffer-confirm-operation-on): Use string-match-p.
10133
10134 * msb.el (msb-item-handler, msb-dired-item-handler):
10135 Mark unused arguments.
10136
10137 * ses.el (ses-decode-cell-symbol)
10138 (ses-kill-override): Remove unused local variable.
10139 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10140 (ses-load): Use ignore-errors, looking-at-p.
10141 (ses-jump-safe): Use ignore-errors.
10142 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10143
10144 * tabify.el (untabify, tabify): Mark unused arguments.
10145
10146 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10147 Mark unused argument.
10148 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10149 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10150
10151 * emacs-lisp/timer.el (timer--time): Define setter with
10152 gv-define-setter to avoid deprecation warning.
10153
10154 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10155 (*record-cmpl-statistics-p*): Remove (was commented out).
10156 (cmpl-statistics-block): Remove (body was commented out).
10157 All callers changed.
10158 (add-completions-from-buffer, load-completions-from-file):
10159 Remove unused variables.
10160
10161 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10162
10163 * filecache.el (file-cache-delete-file-list):
10164 Print message only when told so.
10165 (file-cache-files-matching): Use #' in mapconcat argument.
10166
10167 * ffap.el (ffap-url-at-point): Fix reference to variable
10168 thing-at-point-default-mail-uri-scheme.
10169
10170 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10171
10172 * subr.el (define-error): New function.
10173 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10174 error-file-not-found and define with define-error.
10175 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10176 and define with define-error.
10177 * userlock.el (file-locked, file-supersession):
10178 * simple.el (mark-inactive):
10179 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10180 * progmodes/ada-mode.el (ada-mode-errors):
10181 * play/life.el (life-extinct):
10182 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10183 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10184 * nxml/rng-util.el (rng-error):
10185 * nxml/rng-uri.el (rng-uri-error):
10186 * nxml/rng-match.el (rng-compile-error):
10187 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10188 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10189 * nxml/nxml-rap.el (nxml-scan-error):
10190 * nxml/nxml-outln.el (nxml-outline-error):
10191 * net/soap-client.el (soap-error):
10192 * net/gnutls.el (gnutls-error):
10193 * net/ange-ftp.el (ftp-error):
10194 * mpc.el (mpc-proc-error):
10195 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10196 (json-number-format, json-string-escape, json-string-format)
10197 (json-key-format, json-object-format):
10198 * jka-compr.el (compression-error):
10199 * international/quail.el (quail-error):
10200 * international/kkc.el (kkc-error):
10201 * emacs-lisp/ert.el (ert-test-failed):
10202 * calc/calc.el (calc-error, inexact-result, math-overflow)
10203 (math-underflow):
10204 * bookmark.el (bookmark-error-no-filename):
10205 * epg.el (epg-error): Define with define-error.
10206
10207 * time.el (display-time-event-handler)
10208 (display-time-next-load-average): Don't call sit-for since it seems
10209 unnecessary (bug#15045).
10210
10211 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10212 Use #' instead of ' to quote functions.
10213 (checkdoc-output-mode): Use setq-local.
10214 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10215 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10216 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10217 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10218 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10219 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10220 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10221 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10222
10223 * ido.el (ido-completion-help): Fix up compiler warning.
10224
10225 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10226
10227 * frameset.el (frameset-p): Add autoload cookie.
10228 (frameset--jump-to-register): New function, based on code moved from
10229 register.el.
10230 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10231
10232 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10233 (frameset-restore, frameset-save, frameset-session-filter-alist):
10234 Remove declarations.
10235 (register-alist): Doc fix.
10236 (frameset-to-register): Move to frameset.el.
10237 (jump-to-register, describe-register-1): Remove frameset-specific code.
10238
10239 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10240
10241 * allout-widgets.el (allout-widgets-pre-command-business)
10242 (allout-widgets-post-command-business)
10243 (allout-widgets-after-change-handler)
10244 (allout-decorate-item-and-context, allout-set-boundary-marker)
10245 (allout-body-modification-handler)
10246 (allout-graphics-modification-handler): Mark ignored arguments.
10247 (allout-widgets-post-command-business)
10248 (allout-widgets-exposure-change-processor)
10249 (allout-widgets-exposure-undo-processor)
10250 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10251 (allout-parse-item-at-point, allout-decorate-item-guides)
10252 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10253 * allout.el (epa-passphrase-callback-function): Declare.
10254 (allout-overlay-insert-in-front-handler)
10255 (allout-overlay-interior-modification-handler)
10256 (allout-isearch-end-handler, allout-chart-siblings)
10257 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10258 (allout-yank-processing, allout-process-exposed)
10259 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10260 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10261 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10262 (lisp-indent-defform): Mark ignored arguments.
10263 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10264 (calculate-lisp-indent): Remove unused variables.
10265 * international/characters.el (indian-2-column, arabic-2-column)
10266 (tibetan): Mark ignored arguments.
10267 (use-cjk-char-width-table): Mark ignored arguments.
10268 Remove unused variables.
10269 * international/fontset.el (build-default-fontset-data)
10270 (x-compose-font-name, create-fontset-from-fontset-spec):
10271 Mark ignored arguments.
10272 (fontset-plain-name): Remove unused variables.
10273 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10274 (keyboard-coding-system): Mark ignored arguments.
10275 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10276 * help.el (resize-temp-buffer-window):
10277 * window.el (display-buffer-in-major-side-window)
10278 (display-buffer-in-side-window, display-buffer-in-previous-window):
10279 Remove unused variables.
10280 * isearch.el (isearch-forward-symbol):
10281 * version.el (emacs-bzr-version-bzr):
10282 * international/mule-cmds.el (current-language-environment):
10283 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10284 (x-handle-display):
10285 * term/pc-win.el (x-list-fonts, x-display-planes)
10286 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10287 (x-server-version, x-display-screens, x-display-mm-height)
10288 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10289 (x-selection-owner-p, x-own-selection-internal)
10290 (x-disown-selection-internal, x-get-selection-internal)
10291 (msdos-initialize-window-system):
10292 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10293 * term/x-win.el (x-handle-no-bitmap-icon):
10294 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10295 (vc-default-find-file-hook, vc-default-extra-menu):
10296 Mark ignored arguments.
10297
10298 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10301 break-condition in the context of the debugged code (bug#12685).
10302
10303 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10304
10305 * comint.el:
10306 Do not use an overlay to highlight the last prompt. (Bug#14744)
10307 (comint-mode): Make comint-last-prompt buffer local.
10308 (comint-last-prompt): New variable.
10309 (comint-last-prompt-overlay): Remove. Superseded by
10310 comint-last-prompt.
10311 (comint-snapshot-last-prompt, comint-output-filter):
10312 Use comint-last-prompt.
10313
10314 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10315
10316 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10317 (frameset-save): Check validity of the resulting frameset.
10318
10319 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10320
10321 * ido.el (ido-record-command): Add doc string.
10322
10323 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10324
10325 * frameset.el (frameset): Do not disable creation of the default
10326 frameset-p predicate. Doc fix.
10327 (frameset-valid-p): New function, copied from the old predicate-p.
10328 Add additional checks.
10329 (frameset-restore): Check with frameset-valid-p.
10330 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10331 (frameset-name, frameset-description, frameset-properties)
10332 (frameset-states): Add docstring.
10333 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10334 (frameset-filter-alist): Doc fixes.
10335
10336 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10337
10338 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10339
10340 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10343 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10344 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10345 (byte-compile-normal-call): Remove obsolescence check.
10346
10347 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10348
10349 * frameset.el (frameset-restore): Doc fix.
10350
10351 * register.el (frameset-frame-id, frameset-frame-with-id)
10352 (frameset-p, frameset-restore, frameset-save): Declare.
10353 (register-alist): Document framesets.
10354 (frameset-session-filter-alist): Declare.
10355 (frameset-to-register): New function.
10356 (jump-to-register): Implement jumping to framesets. Doc fix.
10357 (describe-register-1): Describe framesets.
10358
10359 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10360
10361 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10362
10363 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10364 Use lexical-binding.
10365
10366 * frameset.el (frameset): Use type vector, not list (incompatible
10367 change). Do not declare a new constructor, use the default one.
10368 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10369 `name' and `description', respectively, and add read-only slot
10370 `timestamp'. Doc fixes.
10371 (frameset-copy, frameset-persistent-filter-alist)
10372 (frameset-filter-alist, frameset-switch-to-gui-p)
10373 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10374 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10375 (frameset-filter-iconified, frameset-keep-original-display-p):
10376 Doc fixes.
10377 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10378 Rename from frameset-filter-(save|restore)-param. All callers changed.
10379 Doc fix.
10380 (frameset-p): Adapt to change to vector and be more thorough.
10381 Change arg name to OBJECT. Doc fix.
10382 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10383 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10384 All callers changed.
10385 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10386 All callers changed.
10387 (frameset--record-minibuffer-relationships): Rename from
10388 frameset--process-minibuffer-frames. All callers changed.
10389 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10390 Use new default constructor (again). Doc fix.
10391 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10392 All callers changed.
10393 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10394 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10395 Doc fix.
10396 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10397 PARAMETERS and WINDOW-STATE, respectively.
10398 (frameset-restore): Add new keyword argument PREDICATE.
10399 Reset frameset--target-display to nil. Doc fix.
10400
10401 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10402
10403 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10404 (bat-mode): Use it.
10405 (bat-mode-syntax-table): Mark \n as end-of-comment.
10406 (bat-font-lock-keywords): Remove comment rule.
10407
10408 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10409 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10410
10411 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10412 (byte-compile-callargs-warn): Use `push'.
10413 (byte-compile-arglist-warn): Ignore higher-order "calls".
10414 (byte-compile-file-form-autoload): Use `pcase'.
10415 (byte-compile-function-form): If quoting a symbol, check that it exists.
10416
10417 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10418
10419 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10420 and add a few popular commands found in batch files.
10421 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10422 (dos-mode): Doc fixes.
10423
10424 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10427 (dos-mode): Use setq-local. Add space after "rem".
10428 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10429 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10430
10431 2013-08-07 Arni Magnusson <arnima@hafro.is>
10432
10433 * progmodes/dos.el: New file.
10434 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10435 dos-mode.
10436
10437 2013-08-06 Glenn Morris <rgm@gnu.org>
10438
10439 * calendar/calendar.el: Add new faces, and day-header-array.
10440 (calendar-weekday-header, calendar-weekend-header)
10441 (calendar-month-header): New faces.
10442 (calendar-day-header-construct): New function.
10443 (calendar-day-header-width): Also :set calendar-day-header-array.
10444 (calendar-american-month-header, calendar-european-month-header)
10445 (calendar-iso-month-header): Use calendar- faces.
10446 (calendar-generate-month):
10447 Use calendar-day-header-array for day headers; apply faces to them.
10448 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10449 (calendar-abbrev-construct): Add optional maxlen argument.
10450 (calendar-day-name-array): Doc fix.
10451 (calendar-day-name-array, calendar-abbrev-length)
10452 (calendar-day-abbrev-array):
10453 Also :set calendar-day-header-array, and maybe redraw.
10454 (calendar-day-header-array): New option. (Bug#15007)
10455 (calendar-font-lock-keywords): Set to nil and make obsolete.
10456 (calendar-day-name): Add option to use header array.
10457
10458 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10459
10460 * net/shr.el (shr-render-td): Remove debugging.
10461 (shr-render-td): Make width computation consistent by defaulting
10462 all zero-width columns to 10 characters. This may not be optimal,
10463 but it's at least consistent.
10464 (shr-make-table-1): Redo last change to fix the real problem in
10465 colspan handling.
10466
10467 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10468
10469 * files.el (cache-long-line-scans):
10470 Make obsolete alias to `cache-long-scans'.
10471
10472 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10473
10474 * frameset.el (frameset, frameset-filter-alist)
10475 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10476 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10477 (frameset-compute-pos): Rename from frameset--compute-pos,
10478 and add docstring.
10479 (frameset-move-onscreen): Use frameset-compute-pos.
10480 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10481
10482 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10483 Fix typos in docstrings.
10484
10485 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10486
10487 * frame.el (get-other-frame): Tiny cleanup.
10488
10489 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10490
10491 * vc/vc.el (vc-default-ignore-completion-table):
10492 Silence byte-compiler warning.
10493
10494 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10495 slot, which can indeed be nil.
10496 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10497 Move entry for `left' from persistent to live filter alist.
10498 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10499 Doc fixes.
10500 (frameset-filter-params): When restoring a frame, copy items added to
10501 `filtered', to avoid unwittingly modifying the original parameters.
10502 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10503 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10504
10505 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10506 to use looking-at-p instead of looking-at. (Bug#15028)
10507
10508 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 Revert introduction of isearch-filter-predicates (bug#14714).
10511 Rely on add-function instead.
10512 * isearch.el (isearch-filter-predicates): Rename it back to
10513 isearch-filter-predicate.
10514 (isearch-message-prefix): Use advice-function-mapc and advice
10515 properties to get the isearch-message-prefix.
10516 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10517 instead of run-hook-with-args-until-failure.
10518 (isearch-filter-visible): Not obsolete any more.
10519 * loadup.el: Preload nadvice.
10520 * replace.el (perform-replace): Revert to funcall
10521 instead of run-hook-with-args-until-failure.
10522 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10523 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10524 dired-isearch-filenames-toggle; make it into a proper minor mode.
10525 Use add/remove-function.
10526 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10527 Call the minor-mode rather than add/remove-hook.
10528 (dired-isearch-filter-filenames):
10529 Remove isearch-message-prefix property.
10530 * info.el (Info--search-loop): New function, extracted from Info-search.
10531 Funcall isearch-filter-predicate instead of
10532 run-hook-with-args-until-failure isearch-filter-predicates.
10533 (Info-search): Use it.
10534 (Info-mode): Use isearch-filter-predicate instead of
10535 isearch-filter-predicates.
10536
10537 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10538
10539 Do not call to `selected-window' where it is assumed by default.
10540 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10541 `window-hscroll', `window-width', `window-height', `window-buffer',
10542 `window-frame', `window-start', `window-point', `next-window'
10543 and `window-display-table'.
10544 * abbrev.el (abbrev--default-expand):
10545 * bs.el (bs--show-with-configuration):
10546 * buff-menu.el (Buffer-menu-mouse-select):
10547 * calc/calc.el (calc):
10548 * calendar/calendar.el (calendar-generate-window):
10549 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10550 (diary-make-entry):
10551 * comint.el (send-invisible, comint-dynamic-complete-filename)
10552 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10553 * completion.el (complete):
10554 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10555 * disp-table.el (describe-current-display-table):
10556 * doc-view.el (doc-view-insert-image):
10557 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10558 * ehelp.el (with-electric-help):
10559 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10560 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10561 * emacs-lisp/helper.el (Helper-help-scroller):
10562 * emulation/cua-base.el (cua--post-command-handler-1):
10563 * eshell/esh-mode.el (eshell-output-filter):
10564 * ffap.el (ffap-gnus-wrapper):
10565 * help-macro.el (make-help-screen):
10566 * hilit-chg.el (highlight-compare-buffers):
10567 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10568 * hl-line.el (global-hl-line-highlight):
10569 * icomplete.el (icomplete-simple-completing-p):
10570 * isearch.el (isearch-done):
10571 * jit-lock.el (jit-lock-stealth-fontify):
10572 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10573 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10574 * mpc.el (mpc-tagbrowser, mpc):
10575 * net/rcirc.el (rcirc-any-buffer):
10576 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10577 * play/landmark.el (landmark-max-width, landmark-max-height):
10578 * play/zone.el (zone):
10579 * progmodes/compile.el (compilation-goto-locus):
10580 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10581 * progmodes/etags.el (find-tag-other-window):
10582 * progmodes/fortran.el (fortran-column-ruler):
10583 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10584 * progmodes/verilog-mode.el (verilog-point-text):
10585 * reposition.el (reposition-window):
10586 * rot13.el (toggle-rot13-mode):
10587 * server.el (server-switch-buffer):
10588 * shell.el (shell-dynamic-complete-command)
10589 (shell-dynamic-complete-environment-variable):
10590 * simple.el (insert-buffer, set-selective-display)
10591 (delete-completion-window):
10592 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10593 (speedbar-recenter):
10594 * startup.el (fancy-splash-head):
10595 * textmodes/ispell.el (ispell-command-loop):
10596 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10597 * tutorial.el (help-with-tutorial):
10598 * vc/add-log.el (add-change-log-entry):
10599 * vc/compare-w.el (compare-windows):
10600 * vc/ediff-help.el (ediff-indent-help-message):
10601 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10602 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10603 (ediff-setup-control-frame):
10604 * vc/emerge.el (emerge-position-region):
10605 * vc/pcvs-util.el (cvs-bury-buffer):
10606 * window.el (walk-windows, mouse-autoselect-window-select):
10607 * winner.el (winner-set-conf, winner-undo): Related users changed.
10608
10609 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10610
10611 * frameset.el (frameset--set-id): Doc fix.
10612 (frameset-frame-id, frameset-frame-id-equal-p)
10613 (frameset-locate-frame-id): New functions.
10614 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10615 (frameset-restore): Use them.
10616
10617 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10618
10619 Do not call to `selected-frame' where it is assumed by default.
10620 Affected functions are `raise-frame', `redraw-frame',
10621 `frame-first-window', `frame-terminal' and `delete-frame'.
10622 * calendar/appt.el (appt-disp-window):
10623 * epg.el (epg-wait-for-completion):
10624 * follow.el (follow-delete-other-windows-and-split)
10625 (follow-avoid-tail-recenter):
10626 * international/mule.el (set-terminal-coding-system):
10627 * mail/rmail.el (rmail-mail-return):
10628 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10629 * progmodes/f90.el (f90-add-imenu-menu):
10630 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10631 * server.el (server-switch-buffer):
10632 * simple.el (delete-completion-window):
10633 * talk.el (talk):
10634 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10635 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10636 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10637 * vc/ediff.el (ediff-documentation): Related users changed.
10638 * frame.el (selected-terminal): Remove the leftover.
10639
10640 2013-08-05 Glenn Morris <rgm@gnu.org>
10641
10642 * calendar/calendar.el (calendar-generate-month):
10643 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10644 (calendar-generate-month, calendar-font-lock-keywords):
10645 Fix for calendar-day-header-width > length of any day name.
10646
10647 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10648
10649 * desktop.el (desktop-clear): Use new name of sort predicate.
10650
10651 * frameset.el (frameset): Add docstring. Move :version property to its
10652 own `version' slot.
10653 (frameset-copy): Rename from copy-frameset.
10654 (frameset-p): Check more thoroughly.
10655 (frameset-prop): Do not check for :version, which is no longer a prop.
10656 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10657 Use new :never value instead of t.
10658 (frameset-filter-alist): Expand and clarify docstring.
10659 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10660 (frameset-filter-minibuffer, frameset-filter-save-param)
10661 (frameset-filter-restore-param, frameset-filter-iconified):
10662 Add pointer to docstring of frameset-filter-alist.
10663 (frameset-filter-params): Rename filter values to be more meaningful:
10664 :never instead of t, and reverse the meanings of :save and :restore.
10665 (frameset--process-minibuffer-frames): Clarify error message.
10666 (frameset-save): Avoid unnecessary and confusing call to framep.
10667 Use new BOA constructor for framesets.
10668 (frameset--reuse-list): Doc fix.
10669 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10670 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10671 (frameset-minibufferless-first-p): Doc fix.
10672 Rename from frameset-sort-frames-for-deletion.
10673 (frameset-restore): Doc fixes. Use new function names.
10674 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10675
10676 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10677
10678 * desktop.el (desktop-restore-forces-onscreen)
10679 (desktop-restore-reuses-frames): Document :keyword constant values.
10680 (desktop-filter-parameters-alist): Remove, now identical to
10681 frameset-filter-alist.
10682 (desktop--filter-tty*): Remove, moved to frameset.el.
10683 (desktop-save-frameset, desktop-restore-frameset):
10684 Do not pass :filters argument.
10685
10686 * frameset.el (frameset-live-filter-alist)
10687 (frameset-persistent-filter-alist): New variables.
10688 (frameset-filter-alist): Use them. Add autoload cookie.
10689 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10690 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10691 `frameset--id' (it's supposed to be internal to frameset.el).
10692 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10693 (frameset--initial-params): New function.
10694 (frameset--get-frame): Use it. Doc fix.
10695 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10696 Accept :all, not 'all.
10697 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10698 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10699 with fbound symbols. Fix frame id matching, and remove matching ids if
10700 the frame being restored is deleted. Obey :delete.
10701
10702 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * subr.el (macrop): New function.
10705 (text-clone--maintaining): New var.
10706 (text-clone--maintain): Rename from text-clone-maintain. Use it
10707 instead of inhibit-modification-hooks.
10708
10709 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10710 a proxy, so as handle autoloads and redefinitions of the target.
10711 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10712
10713 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10714 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10715 (pcase--mutually-exclusive-p): New function.
10716 (pcase--split-consp): Use it.
10717 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10718 mutually exclusive with the current predicate.
10719
10720 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10721 (edebug-macrop): Remove. Use `macrop' instead.
10722 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10723 (ad-macro-p):
10724 * eshell/esh-cmd.el (eshell-macrop):
10725 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10726
10727 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10730 (advice-mapc): New function, using it.
10731 (advice-function-member-p): New function.
10732 (advice--normalize): Store the cdr in advice--saved-rewrite since
10733 that's the part that will be changed.
10734 (advice--symbol-function): New function.
10735 (advice-remove): Handle removal before the function is defined.
10736 Adjust to new advice--saved-rewrite.
10737 (advice-member-p): Use advice-function-member-p and
10738 advice--symbol-function.
10739
10740 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10741
10742 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10743 (frameset-filter-minibuffer): Doc fix.
10744 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10745 (frameset--set-id, frameset--process-minibuffer-frames)
10746 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10747 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10748
10749 * desktop.el (desktop-clear): Only delete frames when called
10750 interactively and desktop-restore-frames is non-nil. Doc fix.
10751 (desktop-read): Set desktop-saved-frameset to nil.
10752
10753 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10754
10755 * vc/vc.el (vc-ignore): Rewrite.
10756 (vc-default-ignore-completion-table, vc--read-lines)
10757 (vc--add-line, vc--remove-regexp): New functions.
10758
10759 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10760 (vc-svn-ignore-completion-table): New function.
10761
10762 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10763 (vc-hg-ignore-completion-table)
10764 (vc-hg-find-ignore-file): New functions.
10765
10766 * vc/vc-git.el (vc-git-ignore): Rewrite.
10767 (vc-git-ignore-completion-table)
10768 (vc-git-find-ignore-file): New functions.
10769
10770 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10771
10772 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10773 (vc-bzr-ignore-completion-table)
10774 (vc-bzr-find-ignore-file): New functions.
10775
10776 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10777
10778 * frameset.el (frameset-prop): New function and setter.
10779 (frameset-save): Do not modify frame list passed by the caller.
10780
10781 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10784
10785 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10788 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10789
10790 * custom.el (custom-initialize-default, custom-initialize-set)
10791 (custom-initialize-reset, custom-initialize-changed): Affect the
10792 toplevel-default-value (bug#6275, bug#14586).
10793 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10794 for bug#6275.
10795
10796 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10797
10798 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10799 Add cl-def* expressions.
10800
10801 * frameset.el (frameset-filter-params): Fix order of arguments.
10802
10803 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10804
10805 Move code related to saving frames to frameset.el.
10806 * desktop.el: Require frameset.
10807 (desktop-restore-frames): Doc fix.
10808 (desktop-restore-reuses-frames): Rename from
10809 desktop-restoring-reuses-frames.
10810 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10811 (desktop-clear): Clear frames too.
10812 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10813 (desktop--filter-tty*, desktop-save, desktop-read):
10814 Use frameset functions.
10815 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10816 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10817 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10818 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10819 (desktop--process-minibuffer-frames, desktop-save-frames)
10820 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10821 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10822 (desktop--sort-states, desktop-restoring-frames-p)
10823 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10824 (desktop-restoring-frameset-p, desktop-restore-frameset)
10825 (desktop--check-dont-save, desktop-save-frameset): New functions.
10826 (desktop--app-id): New constant.
10827 (desktop-first-buffer, desktop-buffer-ok-count)
10828 (desktop-buffer-fail-count): Move before first use.
10829 * frameset.el: New file.
10830
10831 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * files.el: Use lexical-binding.
10834 (dir-locals-read-from-file): Remove unused `err' variable.
10835 (hack-dir-local-variables--warned-coding): New var.
10836 (hack-dir-local-variables): Use it to avoid repeated warnings.
10837 (make-backup-file-name--default-function): New function.
10838 (make-backup-file-name-function): Use it as default.
10839 (buffer-stale--default-function): New function.
10840 (buffer-stale-function): Use it as default.
10841 (revert-buffer-insert-file-contents--default-function): New function.
10842 (revert-buffer-insert-file-contents-function): Use it as default.
10843 (insert-directory): Avoid add-to-list.
10844
10845 * autorevert.el (auto-revert-handler): Simplify.
10846 Use buffer-stale--default-function.
10847
10848 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10849
10850 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10851
10852 * whitespace.el (whitespace-ensure-local-variables): New function.
10853 (whitespace-cleanup-region): Call it.
10854 (whitespace-turn-on): Call it.
10855
10856 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10857
10858 Complete file name handlers.
10859
10860 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10861 (tramp-handle-verify-visited-file-modtime)
10862 (tramp-handle-file-notify-rm-watch): New functions.
10863 (tramp-call-process): Do not bind `default-directory'.
10864
10865 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10866 Order alphabetically.
10867 <access-file, add-name-to-file, dired-call-process>:
10868 <dired-compress-file, file-acl, file-notify-rm-watch>:
10869 <file-ownership-preserved-p, file-selinux-context>:
10870 <make-directory-internal, make-symbolic-link, set-file-acl>:
10871 <set-file-selinux-context, set-visited-file-modtime>:
10872 <verify-visited-file-modtime>: Add handler.
10873 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10874
10875 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10876 <file-notify-add-watch, file-notify-rm-watch>:
10877 <set-file-times, set-visited-file-modtime>:
10878 <verify-visited-file-modtime>: Add handler.
10879 (with-tramp-gvfs-error-message)
10880 (tramp-gvfs-handle-set-visited-file-modtime)
10881 (tramp-gvfs-fuse-file-name): Remove.
10882 (tramp-gvfs-handle-file-notify-add-watch)
10883 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10884 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10885
10886 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10887 Order alphabetically.
10888 <file-notify-rm-watch>: Use default Tramp handler.
10889 <executable-find>: Remove private handler.
10890 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10891 `default-directory'.
10892 (tramp-sh-handle-executable-find)
10893 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10894 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10895 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10896 Do not use `format' in `tramp-message'.
10897
10898 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10899 <file-notify-rm-watch, set-visited-file-modtime>:
10900 <verify-visited-file-modtime>: Add handler.
10901 (tramp-smb-call-winexe): Do not bind `default-directory'.
10902
10903 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10904
10905 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10906
10907 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10908
10909 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10910 use it.
10911 (log-view-diff-changeset): Same.
10912 (log-view-diff-common): Call backend command `previous-revision'
10913 to find out the previous revision, in both cases. Swap the
10914 variables `to' and `fr', so that `fr' usually refers to the
10915 earlier revision (Bug#14989).
10916
10917 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10918
10919 * ibuf-ext.el (ibuffer-filter-by-filename):
10920 Make it work with dired buffers too.
10921
10922 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10923
10924 * emacs-lisp/re-builder.el (reb-color-display-p):
10925 * files.el (save-buffers-kill-terminal):
10926 * net/browse-url.el (browse-url):
10927 * server.el (server-save-buffers-kill-terminal):
10928 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10929 Prefer nil to selected-frame for the first arg of frame-parameter.
10930
10931 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10932
10933 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10934
10935 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10936
10937 * minibuffer.el (completion--twq-all): Try and preserve each
10938 completion's case choice (bug#14907).
10939
10940 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10941
10942 * net/network-stream.el (open-network-stream): Mention the new
10943 :nogreeting parameter.
10944 (network-stream-open-starttls): Use the :nogreeting parameter
10945 (bug#14938).
10946
10947 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10948
10949 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10950 more natural than popping.
10951
10952 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10953 (shr-urlify): Highlight under mouse.
10954
10955 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10956
10957 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10958
10959 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10960
10961 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10962 buffer for output.
10963
10964 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10965 point-min==1. Fix search string. Fix parentheses missing.
10966
10967 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10968 assume point-min==1. Fix search string. Fix parentheses missing.
10969
10970 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10971
10972 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10973 buffer for output.
10974
10975 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10976
10977 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10978 initial frame is minibuffer-less. (Bug#14841)
10979
10980 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10981
10982 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10983 option.
10984
10985 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10986 (tramp-maybe-open-connection): Use it.
10987
10988 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10989
10990 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10991 minimal set of parameters passed when creating a frame, because
10992 the minibuffer status of a frame cannot be changed later.
10993
10994 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10995
10996 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10997 replace-regexp-in-string and inadvertent omissions in previous change.
10998 (todo-filter-items): Ensure only file names are comma-separated in
10999 name of filtered items buffer.
11000
11001 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11002
11003 * desktop.el: Optionally force offscreen frames back onscreen.
11004 (desktop-restoring-reuses-frames): New option.
11005 (desktop--compute-pos, desktop--move-onscreen): New functions.
11006 (desktop--make-frame): Use desktop--move-onscreen.
11007
11008 2013-07-27 Alan Mackenzie <acm@muc.de>
11009
11010 Fontify a Java generic method as a function.
11011 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11012 value to t.
11013
11014 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11015
11016 * calendar/todo-mode.el: Add command to rename todo files.
11017 (todo-rename-file): New command.
11018 (todo-key-bindings-t): Add key binding for it. Change the
11019 bindings of todo-filter-regexp-items(-multifile) to use `x'
11020 instead of `r', since the latter is better suited to the new
11021 renaming command.
11022
11023 2013-07-27 Alan Mackenzie <acm@muc.de>
11024
11025 Make Java try-with-resources statement parse properly.
11026 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11027 (c-block-stmt-1-2-key): New language constants/variables.
11028 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11029 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11030 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11031 with c-block-stmt-1-2-key.
11032
11033 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11034
11035 * desktop.el (desktop--make-frame): Apply most frame parameters after
11036 creating the frame to force (partially or totally) offscreen frames to
11037 be restored as such.
11038
11039 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11040
11041 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11042 (Bug#14948)
11043
11044 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11047 `base' arg of backtrace-frame.
11048
11049 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11050
11051 * simple.el (list-processes): Doc fix.
11052
11053 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11054
11055 * desktop.el (desktop--select-frame):
11056 Try harder to reuse existing frames.
11057
11058 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11059
11060 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11061 (edebug-eval): Use backtrace-eval.
11062 (edebug--display, edebug--recursive-edit): Don't let-bind the
11063 edebug-outer-* vars that keep track of variables we locally let-bind.
11064 (edebug-outside-excursion): Don't restore outside values of locally
11065 let-bound vars.
11066 (edebug--display): Use user-error.
11067 (cl-lexical-debug, cl-debug-env): Remove.
11068
11069 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11070
11071 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11072 are restored to be sure that they are visible before deleting any
11073 remaining ones.
11074
11075 2013-07-26 Matthias Meulien <orontee@gmail.com>
11076
11077 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11078 vc-print-root-log. (Bug#14948)
11079
11080 2013-07-26 Richard Stallman <rms@gnu.org>
11081
11082 Add aliases for encrypting mail.
11083 * epa.el (epa-mail-aliases): New option.
11084 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11085 Bind inhibit-read-only so read-only text doesn't ruin everything.
11086 (epa-mail-default-recipients): New subroutine broken out.
11087 Handle epa-mail-aliases.
11088
11089 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 Add support for lexical variables to the debugger's `e' command.
11092 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11093 vars, except for debugger-outer-match-data.
11094 (debugger-frame-number): Move check for "on a function call" from
11095 callers into it. Add `skip-base' argument.
11096 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11097 (debugger-env-macro): Only reset the state stored in non-variables,
11098 i.e. current-buffer and match-data.
11099 (debugger-eval-expression): Rewrite using backtrace-eval.
11100 * subr.el (internal--called-interactively-p--get-frame): Remove.
11101 (called-interactively-p):
11102 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11103 `base' arg of backtrace-frame instead.
11104
11105 2013-07-26 Glenn Morris <rgm@gnu.org>
11106
11107 * align.el (align-regexp): Doc fix. (Bug#14857)
11108 (align-region): Explicit error if subexpression missing/does not match.
11109
11110 * simple.el (global-visual-line-mode):
11111 Do not duplicate the mode lighter. (Bug#14858)
11112
11113 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11114
11115 * window.el (display-buffer): In display-buffer bind
11116 split-window-keep-point to t, bug#14829.
11117
11118 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11119
11120 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11121 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11122 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11123 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11124 Change accordingly.
11125 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11126 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11127
11128 2013-07-25 Glenn Morris <rgm@gnu.org>
11129
11130 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11131
11132 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11133
11134 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11135 parameter to modify-frame-parameters if the value has not changed;
11136 this is a workaround for bug#14949.
11137 (desktop--make-frame): On cl-delete-if call, check parameter name,
11138 not full parameter.
11139
11140 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11141
11142 * vc/vc.el (vc-ignore): New function.
11143
11144 * vc/vc-svn.el (vc-svn-ignore): New function.
11145
11146 * vc/vc-hg.el (vc-hg-ignore): New function.
11147
11148 * vc/vc-git.el (vc-git-ignore): New function.
11149
11150 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11151 (vc-dir-ignore): New function.
11152
11153 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11154 (cvs-append-to-ignore): Move here from pcvs.el.
11155
11156 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11157
11158 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11159
11160 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11161
11162 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11163 (desktop-restore-frames): Warn when deleting an existing frame failed.
11164
11165 2013-07-24 Glenn Morris <rgm@gnu.org>
11166
11167 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11168
11169 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11170
11171 * filenotify.el (file-notify-supported-p):
11172 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11173 Remove functions.
11174
11175 * autorevert.el (auto-revert-use-notify)
11176 (auto-revert-notify-add-watch):
11177 * net/tramp.el (tramp-file-name-for-operation):
11178 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11179 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11180 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11181 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11182 Remove `file-notify-supported-p' entry.
11183
11184 2013-07-24 Glenn Morris <rgm@gnu.org>
11185
11186 * printing.el: Replace all uses of deleted ps-windows-system,
11187 ps-lp-system, ps-flatten-list with lpr- versions.
11188
11189 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11192 checked with memq (bug#14935).
11193
11194 * files.el (revert-buffer-function): Use a non-nil default.
11195 (revert-buffer-preserve-modes): Declare var to
11196 provide access to the `preserve-modes' argument.
11197 (revert-buffer): Let-bind it.
11198 (revert-buffer--default): New function, extracted from revert-buffer.
11199
11200 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * lpr.el: Signal print errors more prominently.
11203 (print-region-function): Don't default to nil.
11204 (lpr-print-region): New function, extracted from print-region-1.
11205 Check lpr's return value and signal an error in case of problem.
11206 (print-region-1): Use it.
11207 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11208 versions instead.
11209 (ps-printer-name): Default to nil.
11210 (ps-printer-name-option): Default to lpr-printer-switch.
11211 (ps-print-region-function): Don't default to nil.
11212 (ps-postscript-code-directory): Simplify default.
11213 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11214 (ps-string-list, ps-eval-switch, ps-flatten-list)
11215 (ps-flatten-list-1): Remove.
11216 (ps-multibyte-buffer): Avoid setq.
11217 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11218 (print-region-function, ps-print-region-function): Don't set them here.
11219
11220 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11221
11222 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11223 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11224 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11225 (ido-decorations): Doc fix.
11226
11227 * ansi-color.el: Fix old URL.
11228
11229 2013-07-23 Michael R. Mauger <michael@mauger.com>
11230
11231 * progmodes/sql.el: Version 3.3
11232 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11233 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11234 (sql-interactive-remove-continuation-prompt): Rewrite, use
11235 functions above. Fix continuation prompt and complete output line
11236 handling.
11237 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11238 redirected output buffer.
11239 (sql-mode): Restore deleted code (Bug#13591).
11240
11241 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11242
11243 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11244
11245 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11246
11247 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11248
11249 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11250 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11251 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11252
11253 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11254
11255 * desktop.el (desktop-clear): Simplify; remove useless checks
11256 against invalid buffer names.
11257 (desktop-list*): Use cl-list*.
11258 (desktop-buffer-info, desktop-create-buffer): Simplify.
11259
11260 2013-07-23 Leo Liu <sdl.web@gmail.com>
11261
11262 * bookmark.el (bookmark-make-record): Restore NAME as a default
11263 value. (Bug#14933)
11264
11265 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11268 extracted from autoload--insert-text.
11269 (autoload--insert-text): Remove.
11270 (autoload--print-cookie-text): New function, extracted from
11271 autoload--insert-cookie-text.
11272 (autoload--insert-cookie-text): Remove.
11273 (autoload-generate-file-autoloads): Adjust calls accordingly.
11274
11275 * winner.el (winner-hook-installed-p): Remove.
11276 (winner-mode): Simplify accordingly.
11277
11278 * subr.el (add-to-list): Fix compiler-macro when `append' is
11279 not constant. Don't use `cl-member' for the base case.
11280
11281 * progmodes/subword.el: Fix boundary case (bug#13758).
11282 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11283 own group.
11284 (subword-backward-regexp): Make it a constant.
11285 (subword-forward-internal): Don't treat a trailing capital as the
11286 beginning of a word.
11287
11288 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11289
11290 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11291 global value of tabulated-list-revert-hook (bug#14930).
11292
11293 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11294
11295 * desktop.el: Require 'cl-lib.
11296 (desktop-before-saving-frames-functions): New hook.
11297 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11298 for frames being saved. Rename from desktop--save-minibuffer-frames.
11299 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11300 Do not save frames with non-nil `desktop-dont-save' parameter.
11301 Filter out deleted frames.
11302 (desktop--find-frame): Use cl-find-if.
11303 (desktop--select-frame): Use cl-(first|second|third) to access values
11304 of desktop-mini.
11305 (desktop--make-frame): Use cl-delete-if.
11306 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11307 (desktop-restore-frames): Use cl-(first|second|third) to access values
11308 of desktop-mini. Look for visible frame at the end, not while
11309 restoring frames.
11310
11311 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11312 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11313 Use string-match-p, looking-at-p (bug#14927).
11314
11315 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11316
11317 * desktop.el (desktop-saved-frame-states):
11318 Rename from desktop--saved-states; all users changed.
11319 (desktop-save-frames): Rename from desktop--save-frames.
11320 Do not save state to desktop file.
11321 (desktop-save): Save desktop-saved-frame-states to desktop file
11322 and reset to nil.
11323 (desktop-restoring-frames-p): New function.
11324 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11325 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11326 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11327
11328 * desktop.el: Correctly restore iconified frames.
11329 (desktop--filter-iconified-position): New function.
11330 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11331
11332 2013-07-20 Glenn Morris <rgm@gnu.org>
11333
11334 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11335 Let `message' do the formatting.
11336 (def-gdb-preempt-display-buffer): Add explicit format.
11337
11338 * image-dired.el (image-dired-track-original-file):
11339 Use with-current-buffer.
11340 (image-dired-track-thumbnail): Use with-current-buffer.
11341 Avoid changing point of wrong window.
11342
11343 * image-dired.el (image-dired-track-original-file):
11344 Avoid changing point of wrong window. (Bug#14909)
11345
11346 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11347
11348 * progmodes/gdb-mi.el (gdb-done-or-error):
11349 Guard against "%" in gdb output. (Bug#14127)
11350
11351 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11352
11353 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11354 (Bug#14826)
11355
11356 * international/mule.el (coding-system-iso-2022-flags): Fix last
11357 change.
11358
11359 2013-07-20 Kenichi Handa <handa@gnu.org>
11360
11361 * international/mule.el (coding-system-iso-2022-flags):
11362 Add `8-bit-level-4'. (Bug#8522)
11363
11364 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11365
11366 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11367 (bug#14815).
11368
11369 * net/eww.el (eww-process-text-input): Allow inputting when the
11370 point is at the start of the line, as the properties aren't
11371 front-sticky.
11372
11373 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11374 degenerate widths.
11375
11376 2013-07-19 Richard Stallman <rms@gnu.org>
11377
11378 * epa.el (epa-popup-info-window): Doc fix.
11379
11380 * subr.el (split-string): New arg TRIM.
11381
11382 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11383
11384 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11385 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11386
11387 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11388
11389 * filenotify.el (file-notify--library): Rename from
11390 `file-notify-support'. Do not autoload. Adapt all uses.
11391 (file-notify-supported-p): New defun.
11392
11393 * autorevert.el (auto-revert-use-notify):
11394 Use `file-notify-supported-p' instead of `file-notify-support'.
11395 Adapt docstring.
11396 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11397
11398 * net/tramp.el (tramp-file-name-for-operation):
11399 Add `file-notify-supported-p'.
11400
11401 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11402 New defun.
11403 (tramp-sh-file-name-handler-alist): Add it as handler for
11404 `file-notify-supported-p '.
11405
11406 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11407 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11408 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11409 Add `ignore' as handler for `file-notify-*' functions.
11410
11411 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11412
11413 * simple.el (line-move-partial, line-move): Don't start vscroll or
11414 scroll-up if the current line is not taller than the window.
11415 (Bug#14881)
11416
11417 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11418
11419 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11420 highlight question marks in the method names as strings.
11421 (ruby-block-beg-keywords): Inline.
11422 (ruby-font-lock-keyword-beg-re): Extract from
11423 `ruby-font-lock-keywords'.
11424
11425 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11426
11427 * frame.el (blink-cursor-blinks): New defcustom.
11428 (blink-cursor-blinks-done): New defvar.
11429 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11430 (blink-cursor-timer-function): Check if number of blinks has been
11431 done on X and NS.
11432 (blink-cursor-suspend, blink-cursor-check): New defuns.
11433
11434 2013-07-15 Glenn Morris <rgm@gnu.org>
11435
11436 * edmacro.el (edmacro-format-keys): Fix previous change.
11437
11438 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11439
11440 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11441 The hack didn't work outside English locales anyway.
11442
11443 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11444
11445 * simple.el (define-alternatives): Rename from alternatives-define,
11446 per RMS' suggestion.
11447
11448 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11449
11450 * desktop.el (desktop-restore-frames): Change default to t.
11451 (desktop-restore-in-current-display): Now offer more options.
11452 (desktop-restoring-reuses-frames): New customization option.
11453 (desktop--saved-states): Doc fix.
11454 (desktop-filter-parameters-alist): New variable, renamed and expanded
11455 from desktop--excluded-frame-parameters.
11456 (desktop--target-display): New variable.
11457 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11458 (desktop--filter-tty*, desktop--filter-*-color)
11459 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11460 (desktop--filter-save-desktop-parm)
11461 (desktop-restore-in-original-display-p): New functions.
11462 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11463 (desktop--save-minibuffer-frames): New function, inspired by a similar
11464 function from Martin Rudalics.
11465 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11466 (desktop--restore-in-this-display-p): Remove.
11467 (desktop--find-frame): Rename from desktop--find-frame-in-display
11468 and add predicate argument.
11469 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11470 (desktop--reuse-list): New variable.
11471 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11472 New functions.
11473 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11474
11475 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11476
11477 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11478
11479 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11480
11481 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11482 Highlight conversion methods on Kernel.
11483
11484 2013-07-13 Alan Mackenzie <acm@muc.de>
11485
11486 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11487 and comment it out. This out-commenting enables certain C++
11488 declarations to be parsed correctly.
11489
11490 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11491
11492 * international/mule.el (define-coding-system): Doc fix.
11493
11494 * simple.el (default-font-height): Don't call font-info if the
11495 frame's default font didn't change since the frame was created.
11496 (Bug#14838)
11497
11498 2013-07-13 Leo Liu <sdl.web@gmail.com>
11499
11500 * ido.el (ido-read-file-name): Guard against non-symbol value.
11501
11502 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11503
11504 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11505 in nested defuns.
11506
11507 2013-07-13 Leo Liu <sdl.web@gmail.com>
11508
11509 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11510 ido-set-matches call. (Bug#6852)
11511
11512 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11513
11514 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11515 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11516 Ruby 2.0.
11517 (ruby-font-lock-keywords): Distinguish calls to functions with
11518 module-like names from module references. Highlight character
11519 literals.
11520
11521 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11522
11523 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11524 (gdb-send): Handle continued commands. (Bug#14847)
11525
11526 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * desktop.el (desktop--v2s): Remove unused local variable.
11529 (desktop-save-buffer): Make defvar-local; adjust docstring.
11530 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11531 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11532
11533 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11534
11535 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11536
11537 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11538
11539 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11540 (Bug#14842)
11541
11542 2013-07-12 Glenn Morris <rgm@gnu.org>
11543
11544 * doc-view.el: Require cl-lib at runtime too.
11545 (doc-view-remove-if): Remove.
11546 (doc-view-search-next-match, doc-view-search-previous-match):
11547 Use cl-remove-if.
11548
11549 * edmacro.el: Require cl-lib at runtime too.
11550 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11551 (edmacro-mismatch, edmacro-subseq): Remove.
11552
11553 * shadowfile.el: Require cl-lib.
11554 (shadow-remove-if): Remove.
11555 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11556 Use cl-remove-if.
11557
11558 * wid-edit.el: Require cl-lib.
11559 (widget-choose): Use cl-remove-if.
11560 (widget-remove-if): Remove.
11561
11562 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11563 (ebrowse-delete-if-not): Remove.
11564 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11565 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11566 Use cl-delete-if-not.
11567
11568 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11569
11570 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11571 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11572
11573 2013-07-12 Leo Liu <sdl.web@gmail.com>
11574
11575 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11576
11577 2013-07-11 Glenn Morris <rgm@gnu.org>
11578
11579 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11580 (edebug-gensym-index, edebug-gensym):
11581 Remove reimplementation of cl-gensym.
11582 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11583
11584 * thumbs.el: Require cl-lib at run-time too.
11585 (thumbs-gensym-counter, thumbs-gensym):
11586 Remove reimplementation of cl-gensym.
11587 (thumbs-temp-file): Use cl-gensym.
11588
11589 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11590 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11591 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11592 (ert--union, ert--gensym-counter, ert--gensym-counter)
11593 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11594 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11595 (ert-make-test-unbound, ert--expand-should-1)
11596 (ert--expand-should, ert--should-error-handle-error)
11597 (should-error, ert--explain-equal-rec)
11598 (ert--plist-difference-explanation, ert-select-tests)
11599 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11600 Use cl-lib functions rather than reimplementations.
11601
11602 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11603
11604 * net/tramp.el (tramp-methods): Extend docstring.
11605 (tramp-connection-timeout): New defcustom.
11606 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11607 (with-tramp-progress-reporter): Simplify.
11608 (tramp-process-actions): Improve messages.
11609
11610 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11611 * net/tramp-sh.el (tramp-maybe-open-connection):
11612 Use `tramp-connection-timeout'.
11613 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11614 (Bug#14808)
11615
11616 2013-07-11 Leo Liu <sdl.web@gmail.com>
11617
11618 * ido.el (ido-read-file-name): Conform to the requirements of
11619 read-file-name. (Bug#11861)
11620 (ido-read-directory-name): Conform to the requirements of
11621 read-directory-name.
11622
11623 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11624
11625 * subr.el (delay-warning): New function.
11626
11627 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11628
11629 * simple.el (default-line-height): New function.
11630 (line-move-partial, line-move): Use it instead of computing the
11631 line height inline.
11632 (line-move-partial): Always compute ROWH. If the last line is
11633 partially-visible, but its text is completely visible, allow
11634 cursor to enter such a partially-visible line.
11635
11636 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11637
11638 Improve error messages. (Bug#14808)
11639
11640 * net/tramp.el (tramp-current-connection): New defvar, moved from
11641 tramp-sh.el.
11642 (tramp-message-show-progress-reporter-message): Remove, not
11643 needed anymore.
11644 (tramp-error-with-buffer): Show message in minibuffer.
11645 Discard input before waiting. Reset connection timestamp.
11646 (with-tramp-progress-reporter): Improve messages.
11647 (tramp-process-actions): Use progress reporter. Delete process in
11648 case of error. Improve messages.
11649
11650 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11651 Call `tramp-error-with-buffer' with vector and buffer.
11652 (tramp-current-connection): Remove.
11653 (tramp-maybe-open-connection): The car of
11654 `tramp-current-connection' are the first 3 slots of the vector.
11655
11656 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11657
11658 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11659 inside continued strings.
11660
11661 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11662
11663 Timestamp fixes for undo (Bug#14824).
11664 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11665
11666 2013-07-10 Leo Liu <sdl.web@gmail.com>
11667
11668 * files.el (require-final-newline): Allow safe local value.
11669 (Bug#14834)
11670
11671 2013-07-09 Leo Liu <sdl.web@gmail.com>
11672
11673 * ido.el (ido-read-directory-name): Handle fallback.
11674 (ido-read-file-name): Update DIR to ido-current-directory.
11675 (Bug#1516)
11676 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11677
11678 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11679
11680 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11681 "autoload". Remove "warn lower camel case" section, previously
11682 commented out. Highlight negation char. Do not highlight the
11683 target in singleton method definitions.
11684
11685 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11686
11687 * faces.el (tty-setup-hook): Declare the hook.
11688
11689 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11690 and detect when a guard/pred depends on local vars (bug#14773).
11691 (pcase--u1): Adjust caller.
11692
11693 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11694
11695 * simple.el (line-move-partial, line-move): Account for
11696 line-spacing.
11697 (line-move-partial): Avoid setting vscroll when the last
11698 partially-visible line in window is of default height.
11699
11700 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11701
11702 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11703 been used a while.
11704
11705 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11706
11707 * subr.el (read-quoted-char): Remove unused local variable `char'.
11708
11709 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11710
11711 * vc/ediff.el (ediff-version): Version update.
11712 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11713 (ediff-merge-with-ancestor-command, ediff-directories-command)
11714 (ediff-directories3-command, ediff-merge-directories-command)
11715 (ediff-merge-directories-with-ancestor-command): New functions.
11716 All are command-line interfaces to ediff: to facilitate calling
11717 Emacs with the appropriate ediff functions invoked.
11718
11719 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11720 New function.
11721 (viper-save-kill-buffer): Check if buffer is modified.
11722
11723 * emulation/viper.el (viper-version): Version update.
11724 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11725
11726 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11729 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11730 (viper-intercept-ESC-key): Simplify.
11731 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11732 don't use kbd.
11733 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11734 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11735 (viper-setup-ESC-to-escape): New functions.
11736 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11737 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11738
11739 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11740
11741 * simple.el (default-font-height, window-screen-lines):
11742 New functions.
11743 (line-move, line-move-partial): Use them instead of
11744 frame-char-height and window-text-height. This makes scrolling
11745 text smoother when the buffer's default face uses a font that is
11746 different from the frame's default font.
11747
11748 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11749
11750 * files.el (write-file): Do not display confirm dialog for NS,
11751 it does its own dialog, which can't be canceled (Bug#14578).
11752
11753 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11754
11755 * simple.el (line-move-partial): Adjust the row returned by
11756 posn-at-point for the current window-vscroll. (Bug#14567)
11757
11758 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11759
11760 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11761 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11762 spaces.
11763
11764 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11765
11766 * window.el (window-state-put-stale-windows): New variable.
11767 (window--state-put-2): Save list of windows without matching buffer.
11768 (window-state-put): Remove "bufferless" windows if possible.
11769
11770 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11771
11772 * simple.el (alternatives-define): Remove leftover :group keyword.
11773 Tweak docstring.
11774
11775 2013-07-06 Leo Liu <sdl.web@gmail.com>
11776
11777 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11778 (ido-enable-virtual-buffers): New variable.
11779 (ido-buffer-internal, ido-toggle-virtual-buffers)
11780 (ido-make-buffer-list): Use it.
11781 (ido-exhibit): Support turning on and off virtual buffers
11782 automatically.
11783
11784 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * simple.el (alternatives-define): New macro.
11787
11788 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * subr.el (read-quoted-char): Use read-key.
11791 (sit-for): Let read-event decode tty input (bug#14782).
11792
11793 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11794
11795 * calendar/todo-mode.el: Add handling of file deletion, both by
11796 mode command and externally. Fix various related bugs.
11797 Clarify Commentary and improve some documentation strings and code.
11798 (todo-delete-file): New command.
11799 (todo-check-file): New function.
11800 (todo-show): Handle external deletion of the file we're trying to
11801 show (bug#14688). Replace called-interactively-p by an optional
11802 prefix argument to avoid problematic interaction with catch form
11803 when byte compiled (bug#14702).
11804 (todo-quit): Handle external deletion of the archive's todo file.
11805 Make sure the buffer that was visiting the archive file is still
11806 live before trying to bury it.
11807 (todo-category-completions): Handle external deletion of any
11808 category completion files.
11809 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11810 of todo files, in case of external deletion.
11811 (todo-add-file): Replace unnecessary setq by let-binding.
11812 (todo-find-archive): Check whether there are any archives.
11813 Replace unnecessary setq by let-binding.
11814 (todo-archive-done-item): Use find-file-noselect to get the
11815 archive buffer whether or not the archive already exists.
11816 Remove superfluous code. Use file size instead of buffer-file-name to
11817 check if the archive is new; if it is, update list of archives.
11818 (todo-default-todo-file): Allow nil to be a valid value for when
11819 there are no todo files.
11820 (todo-reevaluate-default-file-defcustom): Use corrected definition
11821 of todo-default-todo-file.
11822 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11823 (todo-delete-category, todo-show-categories-table)
11824 (todo-category-number): Clarify comment.
11825 (todo-filter-items): Clarify documentation string.
11826 (todo-show-current-file, todo-display-as-todo-file)
11827 (todo-reset-and-enable-done-separator): Tweak documentation string.
11828 (todo-done-separator): Make separator length window-width, since
11829 bug#2749 is now fixed.
11830
11831 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11832
11833 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11834 Support both "gvfs-monitor-dir" and "inotifywait".
11835 (tramp-sh-file-inotifywait-process-filter): Rename from
11836 `tramp-sh-file-notify-process-filter'.
11837 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11838 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11839
11840 2013-07-05 Leo Liu <sdl.web@gmail.com>
11841
11842 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11843
11844 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11845
11846 * frame.el (display-pixel-height, display-pixel-width)
11847 (display-mm-height, display-mm-width): Mention behavior on
11848 multi-monitor setups in docstrings.
11849 (w32-display-monitor-attributes-list): Declare function.
11850 (display-monitor-attributes-list): Use it.
11851
11852 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11853
11854 * filenotify.el: New package.
11855
11856 * autorevert.el (top): Require filenotify.el.
11857 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11858 instead.
11859 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11860 (auto-revert-notify-handler): Use `file-notify-*' functions.
11861
11862 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11863
11864 * net/tramp.el (tramp-file-name-for-operation):
11865 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11866
11867 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11868 for `file-notify-add-watch' and `file-notify-rm-watch'.
11869 (tramp-process-sentinel): Improve trace.
11870 (tramp-sh-handle-file-notify-add-watch)
11871 (tramp-sh-file-notify-process-filter)
11872 (tramp-sh-handle-file-notify-rm-watch)
11873 (tramp-get-remote-inotifywait): New defuns.
11874
11875 2013-07-03 Juri Linkov <juri@jurta.org>
11876
11877 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11878 call of `occur-read-primary-args' to interactive spec.
11879
11880 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11881 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11882
11883 2013-07-03 Matthias Meulien <orontee@gmail.com>
11884
11885 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11886 `Buffer-menu-multi-occur'. Add it to the menu.
11887 (Buffer-menu-mode): Document it in docstring.
11888 (Buffer-menu-multi-occur): New command. (Bug#14673)
11889
11890 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11891
11892 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11893 keywords and built-ins.
11894
11895 2013-07-03 Glenn Morris <rgm@gnu.org>
11896
11897 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11898
11899 Make info-xref checks case-sensitive by default
11900 * info.el (Info-find-node, Info-find-in-tag-table)
11901 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11902 Add option for exact case matching of nodes.
11903 * info-xref.el (info-xref): New custom group.
11904 (info-xref-case-fold): New option.
11905 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11906
11907 2013-07-03 Leo Liu <sdl.web@gmail.com>
11908
11909 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11910
11911 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11912
11913 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11914 middle of block statement initially, lower the depth. Remove
11915 FIXME comment, not longer valid. Remove middle of block statement
11916 detection, no need to do that anymore since we've been using
11917 `ruby-parse-region' here.
11918
11919 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11920
11921 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11922
11923 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11924
11925 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11926
11927 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11928
11929 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11930 (desktop-restore-in-current-display): New customization option.
11931 (desktop--excluded-frame-parameters): Add `font'.
11932 (desktop--save-frames): Rename from desktop--save-windows.
11933 (desktop--restore-in-this-display-p): New function.
11934 (desktop--make-full-frame): Remove unwanted width/height from
11935 full(width|height) frames.
11936 (desktop--restore-frames): Rename from desktop--restore-windows.
11937 Obey desktop-restore-current-display. Do not delete old frames or
11938 select a new frame unless we were able to restore at least one frame.
11939
11940 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11941
11942 * files.el (find-file-noselect): Simplify conditional expression.
11943
11944 * textmodes/remember.el (remember-append-to-file):
11945 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11946
11947 Add `remember-notes' function to store random notes across Emacs
11948 restarts.
11949 * textmodes/remember.el (remember-data-file): Add :set callback to
11950 affect notes buffer (if any).
11951 (remember-notes): New command.
11952 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11953 New defcustoms for the `remember-notes' function.
11954 (remember-notes-save-and-bury-buffer): New command.
11955 (remember-notes-mode-map): New variable.
11956 (remember-mode): New minor mode.
11957 (remember-notes--kill-buffer-query): New function.
11958 * startup.el (initial-buffer-choice): Add notes to custom type.
11959
11960 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11961
11962 * bindings.el (right-char, left-char): Don't call sit-for, this is
11963 no longer needed. Use arithmetic comparison only for numerical
11964 arguments.
11965
11966 * international/mule-cmds.el (select-safe-coding-system):
11967 Handle the case of FROM being a string correctly. (Bug#14755)
11968
11969 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11970
11971 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11972 progression on degenerate tables.
11973 (shr-rescale-image): ImageMagick animated images currently don't work.
11974
11975 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11976
11977 Some fixes and improvements for desktop frame restoration.
11978 It is still experimental and disabled by default.
11979 * desktop.el (desktop--save-windows): Put the selected frame at
11980 the head of the list.
11981 (desktop--make-full-frame): New function.
11982 (desktop--restore-windows): Try to re-select the frame that was
11983 selected upon saving. Do not abort if some frames fail to restore,
11984 just show an error message and continue. Set up maximized frames
11985 so they have default non-maximized dimensions.
11986
11987 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11988
11989 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11990 Don't start heredoc inside a string or comment.
11991
11992 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11993
11994 * bindings.el (visual-order-cursor-movement): New defcustom.
11995 (right-char, left-char): Provide visual-order cursor motion by
11996 calling move-point-visually. Update the doc strings.
11997
11998 2013-06-28 Kenichi Handa <handa@gnu.org>
11999
12000 * international/mule.el (define-coding-system): New coding system
12001 properties :inhibit-null-byte-detection,
12002 :inhibit-iso-escape-detection, and :prefer-utf-8.
12003 (set-buffer-file-coding-system): If :charset-list property of
12004 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12005 appropriate for setting.
12006
12007 * international/mule-cmds.el (select-safe-coding-system):
12008 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12009 multibyte characters, return utf-8 (or one of its siblings).
12010
12011 * international/mule-conf.el (prefer-utf-8): New coding system.
12012 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12013 files.
12014
12015 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12016
12017 * net/shr.el (shr-render-region): New function.
12018
12019 * net/eww.el: Autoload `eww-browse-url'.
12020
12021 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12022
12023 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12024 Adapt to `package-desc-version' being a list.
12025 Use `package--ac-desc-version' to retrieve version from a package
12026 archive element.
12027
12028 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12029
12030 New experimental feature to save&restore window and frame setup.
12031 * desktop.el (desktop-save-windows): New defcustom.
12032 (desktop--saved-states): New var.
12033 (desktop--excluded-frame-parameters): New defconst.
12034 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12035 (desktop--restore-windows, desktop--save-windows): New functions.
12036 (desktop-save): Call `desktop--save-windows'.
12037 (desktop-read): Call `desktop--restore-windows'.
12038
12039 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12040
12041 * net/shr.el (add-face-text-property): Remove compat definition.
12042
12043 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12044
12045 * info.el (Info-try-follow-nearest-node): Move search for footnote
12046 above search for node name to prevent missing a footnote (bug#14717).
12047
12048 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12049
12050 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12051
12052 2013-06-27 Leo Liu <sdl.web@gmail.com>
12053
12054 * net/eww.el (eww-read-bookmarks): Check file size.
12055
12056 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12059 advice--pending if newdef is nil or an autoload (bug#13820).
12060 (advice-mapc): New function.
12061
12062 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12063
12064 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12065 probably.
12066 (eww-mode-map): Add a menu bar.
12067 (eww-add-bookmark): New command.
12068 (eww-bookmark-mode): New mode and commands.
12069 (eww-add-bookmark): Remove newlines from the title.
12070 (eww-bookmark-browse): Don't bug out if it's the only window.
12071
12072 2013-06-26 Glenn Morris <rgm@gnu.org>
12073
12074 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12075 (hfy-size): Handle ttys. (Bug#14668)
12076
12077 * info-xref.el: Update for Texinfo 5 change in *note format.
12078 (info-xref-node-re, info-xref-note-re): New constants.
12079 (info-xref-check-buffer): Use info-xref-note-re.
12080
12081 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12084
12085 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12086 nil terminate the loop (bug#14718).
12087
12088 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12089
12090 * net/eww.el: Rework history traversal. When going forward/back,
12091 put these actions into the history, too, so that they can be
12092 replayed.
12093 (eww-render): Move the history reset to the correct buffer.
12094
12095 2013-06-25 Juri Linkov <juri@jurta.org>
12096
12097 * files-x.el (modify-dir-local-variable): Change the header comment
12098 in the file with directory local variables. (Bug#14692)
12099
12100 * files-x.el (read-file-local-variable-value): Add `default'.
12101 (Bug#14710)
12102
12103 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12104
12105 * net/eww.el (eww-make-unique-file-name): Create a unique file
12106 name before saving to entering `y' accidentally asynchronously.
12107
12108 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12109
12110 * net/eww.el (eww-download): New command and keystroke.
12111
12112 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12113
12114 * net/eww.el (eww-copy-page-url): Change name of command.
12115
12116 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12117 be more consistent with Info and dired.
12118
12119 * net/eww.el (eww-mode-map): Ditto.
12120
12121 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12124 packages from archives.
12125 (package-archive-contents): Change format; include obsolete packages.
12126 (package-desc): Use `dir' to mark builtin packages.
12127 (package--from-builtin): Set the `dir' field to `builtin'.
12128 (generated-autoload-file, version-control): Declare.
12129 (package-compute-transaction): Change first arg and return value to be
12130 lists of package-descs. Adjust to new package-archive-contents format.
12131 (package--add-to-archive-contents): Adjust to new
12132 package-archive-contents format.
12133 (package-download-transaction): Arg is now a list of package-descs.
12134 (package-install): If `pkg' is a package name, pass it as
12135 a requirement, so it is subject to the usual (e.g. disabled) checks.
12136 (describe-package): Accept package-desc as well.
12137 (describe-package-1): Describe a specific package-desc. Add links to
12138 other package-descs for the same package name.
12139 (package-menu-describe-package): Pass the actual package-desc.
12140 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12141 works correctly.
12142 (package-desc-status): New function.
12143 (package-menu--refresh): New function, extracted
12144 from package-menu--generate.
12145 (package-menu--generate): Use it.
12146 (package-delete): Update package-alist.
12147 (package-menu-execute): Don't call package-initialize.
12148
12149 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12150 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12151 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12152 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12153 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12154 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12155
12156 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12157
12158 * window.el (window--state-get-1): Workaround for bug#14527.
12159 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12160
12161 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12162
12163 * net/eww.el (eww-back-url): Implement the history by stashing all
12164 the data into a list.
12165 (eww-forward-url): Allow going forward in the history, too.
12166
12167 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12170 for values and use read--expression for expressions (bug#14710).
12171 (read-file-local-variable): Avoid setq.
12172 (read-file-local-variable-mode): Use minor-mode-list.
12173
12174 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12175
12176 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12177 for DOI URLs.
12178
12179 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12180
12181 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12182 Update imenu-support when dialect changes.
12183
12184 2013-06-25 Leo Liu <sdl.web@gmail.com>
12185
12186 * ido.el (ido-read-internal): Allow forward slash on windows.
12187
12188 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12189
12190 * net/eww.el (eww): Start of strings is \\`, not ^.
12191
12192 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12193
12194 * net/shr.el (shr-browse-url): Fix interactive spec.
12195
12196 * net/eww.el (eww): Add a trailing slash to domain names.
12197
12198 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12199
12200 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12201
12202 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12203
12204 * net/shr.el (shr-browse-url): Use an external browser if given a
12205 prefix.
12206
12207 * net/eww.el (eww-external-browser): Move to shr.
12208
12209 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12210
12211 * net/eww.el (eww): Work more correctly for file: URLs.
12212 (eww-detect-charset): Allow quoted charsets.
12213 (eww-yank-page-url): New command and keystroke.
12214
12215 2013-06-24 Daiki Ueno <ueno@gnu.org>
12216
12217 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12218 file name of gpg executable.
12219 (epg-context-program): New function.
12220 (epg-context-home-directory): New function.
12221 (epg-context-set-program): New function.
12222 (epg-context-set-home-directory): New function.
12223 (epg--start): Use `epg-context-program' instead of
12224 'epg-gpg-program'.
12225 (epg--list-keys-1): Likewise.
12226
12227 2013-06-24 Leo Liu <sdl.web@gmail.com>
12228
12229 * ido.el (ido-read-internal): Fix bug#14620.
12230
12231 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12232
12233 * faces.el (face-documentation): Simplify.
12234 (read-face-attribute, tty-find-type, x-resolve-font-name):
12235 Use `string-match-p'.
12236 (list-faces-display): Use `string-match-p'. Simplify.
12237 (face-spec-recalc): Check face to avoid face alias loops.
12238 (read-color): Use `string-match-p' and non-capturing parenthesis.
12239
12240 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12241
12242 * net/shr.el (shr-rescale-image): Use the new
12243 :max-width/:max-height functionality.
12244
12245 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12246
12247 * net/eww.el (eww-search-prefix): New variable.
12248 (eww): Use it.
12249 (eww-external-browser): New variable.
12250 (eww-mode-map): New keystroke.
12251 (eww-browse-with-external-browser): New command.
12252
12253 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12254
12255 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12256
12257 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12258 Don't skip aligning the next header field when padding is 0;
12259 otherwise, field width is not respected unless the title is as
12260 wide as the field.
12261
12262 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12263
12264 * emacs-lisp/package.el (package-el-version): Remove.
12265 (package-process-define-package): Fix inf-loop.
12266 (package-install): Allow symbols as arguments again.
12267
12268 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12269
12270 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12271 add some more keyword-like methods.
12272 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12273
12274 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12275
12276 * bs.el (bs-buffer-show-mark): Make defvar-local.
12277 (bs-mode): Use setq-local.
12278
12279 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12280 (emacs-lock--try-unlocking): Make defvar-local.
12281
12282 2013-06-22 Glenn Morris <rgm@gnu.org>
12283
12284 * play/cookie1.el (cookie-apropos): Minor simplification.
12285
12286 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12287
12288 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12289
12290 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12291 `regexp-opt', it breaks the build during dumping.
12292
12293 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12294
12295 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12296 Highlight keyword-like methods on Kernel and Module with
12297 font-lock-builtin-face.
12298 (auto-mode-alist): Consolidate different entries into one regexp
12299 and add more *file-s.
12300
12301 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12302
12303 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12304
12305 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12306 (diary-entry): Use it in the action of this button type instead of
12307 diary-goto-entry.
12308
12309 * calendar/todo-mode.el: New version.
12310 (todo-add-category): Append new category to end of file and give
12311 it the highest number, instead of putting it at the beginning and
12312 giving it 0. Incorporate noninteractive functionality.
12313 (todo-forward-category): Adapt to 1-based category numbering.
12314 Allow skipping over archived categories.
12315 (todo-backward-category): Derive from todo-forward-category.
12316 (todo-backward-item, todo-forward-item): Make noninteractive and
12317 delegate interactive part to new commands. Make sensitive to done items.
12318 (todo-categories): Make value an alist of category names and
12319 vectors of item counts.
12320 (todo-category-beg): Make a defconst.
12321 (todo-category-number): Use 1 instead of 0 as initial value.
12322 (todo-category-select): Make sensitive to overlays, optional item
12323 highlighting and done items.
12324 (todo-delete-item): Make sensitive to overlays and marked and done items.
12325 (todo-edit-item): Make sensitive to overlays and editing of
12326 date/time header optional. Add format checks.
12327 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12328 no-op if point is not on an item. Advertise using todo-edit-quit.
12329 (todo-edit-mode): Make sensitive to new format, font-locking, and
12330 multiple todo files.
12331 (todo-insert-item, todo-insert-item-here): Derive from
12332 todo-basic-insert-item and extend functionality.
12333 (todo-item-end, todo-item-start): Make sensitive to done items.
12334 (todo-item-string): Don't return text properties. Restore point.
12335 (todo-jump-to-category): Make sensitive to multiple todo files and
12336 todo archives. Use extended category completion.
12337 (todo-lower-item, todo-raise-item): Rename to *-priority and
12338 derive from todo-set-item-priority.
12339 (todo-mode): Derive from special-mode. Make sensitive to new
12340 format, font-locking and multiple todo files. Make read-only.
12341 (todo-mode-map): Don't suppress digit keys, so they can supply
12342 prefix arguments. Add many new key bindings.
12343 (todo-prefix): Insert as an overlay instead of file text.
12344 Change semantics from diary date expression to purely visual mark.
12345 (todo-print): Rename to todo-print-buffer. Make buffer display
12346 features printable. Remove option to restrict number of items
12347 printed. Add option to print to file.
12348 (todo-print-function): Rename to todo-print-buffer-function.
12349 (todo-quit): Extend to handle exiting new todo modes.
12350 (todo-remove-item): Make sensitive to overlays.
12351 (todo-save): Extend to buffers of filtered items.
12352 (todo-show): Make sensitive to done items, multiple todo files and
12353 new todo modes. Offer to convert legacy todo file before creating
12354 first new todo file.
12355 (todo-show-priorities): Rename to todo-top-priorities.
12356 Change semantics of value 0.
12357 (todo-top-priorities): Rename to todo-filter-top-priorities,
12358 derive from todo-filter-items and extend functionality.
12359 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12360 and extend functionality to other types of filtered items.
12361 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12362 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12363 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12364 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12365 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12366 (todo-edit-mode-hook, todo-entry-prefix-function)
12367 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12368 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12369 (todo-initials, todo-insert-threshold, todo-item-string-start)
12370 (todo-line-string, todo-menu, todo-mode-hook)
12371 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12372 (todo-print-priorities, todo-remove-separator)
12373 (todo-save-top-priorities-too, todo-string-count-lines)
12374 (todo-string-multiline-p, todo-time-string-format)
12375 (todo-tmp-buffer-name): Remove.
12376 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12377 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12378 (todo-edit-category-diary-inclusion)
12379 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12380 (todo-edit-file, todo-edit-item-date-day)
12381 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12382 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12383 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12384 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12385 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12386 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12387 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12388 (todo-filter-top-priorities-multifile, todo-find-archive)
12389 (todo-find-filtered-items-file, todo-go-to-source-item)
12390 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12391 (todo-jump-to-archive-category, todo-lower-category)
12392 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12393 (todo-move-category, todo-move-item, todo-next-button)
12394 (todo-next-item, todo-padded-string, todo-powerset)
12395 (todo-previous-button, todo-previous-item)
12396 (todo-print-buffer-to-file, todo-raise-category)
12397 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12398 (todo-set-category-number, todo-set-item-priority)
12399 (todo-set-top-priorities-in-category)
12400 (todo-set-top-priorities-in-file, todo-show-categories-table)
12401 (todo-sort-categories-alphabetically-or-numerically)
12402 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12403 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12404 (todo-toggle-item-header, todo-toggle-item-highlighting)
12405 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12406 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12407 (todo-unarchive-items, todo-unmark-category): New commands.
12408 (todo-absolute-file-name, todo-add-to-buffer-list)
12409 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12410 (todo-basic-insert-item, todo-category-completions)
12411 (todo-category-number, todo-category-string-matcher-1)
12412 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12413 (todo-check-format, todo-clear-matches)
12414 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12415 (todo-current-category, todo-date-string-matcher)
12416 (todo-define-insertion-command, todo-diary-expired-matcher)
12417 (todo-diary-goto-entry, todo-diary-item-p)
12418 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12419 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12420 (todo-done-item-section-p, todo-done-separator)
12421 (todo-done-string-matcher, todo-files, todo-filter-items)
12422 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12423 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12424 (todo-insert-category-line, todo-insert-item-from-calendar)
12425 (todo-insert-sort-button, todo-insert-with-overlays)
12426 (todo-insertion-command-name, todo-insertion-key-bindings)
12427 (todo-label-to-key, todo-longest-category-name-length)
12428 (todo-make-categories-list, todo-mode-external-set)
12429 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12430 (todo-modes-set-3, todo-multiple-filter-files)
12431 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12432 (todo-read-category, todo-read-date, todo-read-dayname)
12433 (todo-read-file-name, todo-read-time)
12434 (todo-reevaluate-category-completions-files-defcustom)
12435 (todo-reevaluate-default-file-defcustom)
12436 (todo-reevaluate-filelist-defcustoms)
12437 (todo-reevaluate-filter-files-defcustom)
12438 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12439 (todo-reset-done-separator, todo-reset-done-separator-string)
12440 (todo-reset-done-string, todo-reset-global-current-todo-file)
12441 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12442 (todo-reset-prefix, todo-set-categories)
12443 (todo-set-date-from-calendar, todo-set-show-current-file)
12444 (todo-set-top-priorities, todo-short-file-name)
12445 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12446 (todo-total-item-counts, todo-update-buffer-list)
12447 (todo-update-categories-display, todo-update-categories-sexp)
12448 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12449 New functions.
12450 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12451 New major modes.
12452 (todo-categories, todo-display, todo-edit, todo-faces)
12453 (todo-filtered): New defgroups.
12454 (todo-archived-only, todo-button, todo-category-string, todo-date)
12455 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12456 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12457 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12458 (todo-add-item-if-new-category, todo-always-add-time-string)
12459 (todo-categories-align, todo-categories-archived-label)
12460 (todo-categories-category-label, todo-categories-diary-label)
12461 (todo-categories-done-label, todo-categories-number-separator)
12462 (todo-categories-todo-label, todo-categories-totals-label)
12463 (todo-category-completions-files, todo-completion-ignore-case)
12464 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12465 (todo-done-separator-string, todo-done-string)
12466 (todo-files-function, todo-filter-done-items, todo-filter-files)
12467 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12468 (todo-initial-category, todo-initial-file, todo-item-mark)
12469 (todo-legacy-date-time-regexp, todo-mode-line-function)
12470 (todo-nondiary-marker, todo-number-prefix)
12471 (todo-print-buffer-function, todo-show-current-file)
12472 (todo-show-done-only, todo-show-first, todo-show-with-done)
12473 (todo-skip-archived-categories, todo-top-priorities-overrides)
12474 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12475 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12476 New defcustoms.
12477 (todo-category-done, todo-date-pattern, todo-date-string-start)
12478 (todo-diary-items-buffer, todo-done-string-start)
12479 (todo-filtered-items-buffer, todo-item-start)
12480 (todo-month-abbrev-array, todo-month-name-array)
12481 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12482 (todo-top-priorities-buffer): New defconsts.
12483 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12484 (todo-categories-with-marks, todo-category-string-face)
12485 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12486 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12487 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12488 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12489 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12490 (todo-font-lock-keywords, todo-global-current-todo-file)
12491 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12492 (todo-insertion-commands-args)
12493 (todo-insertion-commands-args-genlist)
12494 (todo-insertion-commands-names, todo-insertion-map)
12495 (todo-key-bindings-t, todo-key-bindings-t+a)
12496 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12497 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12498 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12499 (todo-visited): New variables.
12500
12501 2013-06-21 Glenn Morris <rgm@gnu.org>
12502
12503 * play/cookie1.el (cookie-apropos): Add optional display argument.
12504 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12505 (psychoanalyze-pinhead): Use cookie-doctor.
12506
12507 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12508
12509 * emacs-lisp/package.el (tar-get-file-descriptor)
12510 (tar--extract): Declare.
12511
12512 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12513
12514 Extend flymake's warning predicate to be a function (bug#14217).
12515 * progmodes/flymake.el (flymake-warning-predicate): New.
12516 (flymake-parse-line): Use it.
12517 (flymake-warning-re): Make obsolete alias to
12518 `flymake-warning-predicate'.
12519
12520 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12521
12522 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12523 (package-obsolete-list): Remove.
12524 (package-activate): Remove min-version argument. Add `force' argument.
12525 Adjust to new package-alist format.
12526 (package-mark-obsolete): Remove.
12527 (package-unpack): Force reload of the package's autoloads.
12528 (package-installed-p): Check builtins if the installed package is not
12529 recent enough.
12530 (package-initialize): Don't reset package-obsolete-list.
12531 Don't specify which package version to activate.
12532 (package-process-define-package, describe-package-1)
12533 (package-menu--generate): Adjust to new package-alist format.
12534
12535 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12536
12537 * allout-widgets.el (allout-widgets-mode-off)
12538 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12539 (allout-widgets-post-command-business)
12540 (allout-widgets-after-copy-or-kill-function)
12541 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12542 (allout-decorate-item-and-context)
12543 (allout-graphics-modification-handler): Fix typos in docstrings.
12544 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12545
12546 * cmuscheme.el (scheme-start-file): Doc fix.
12547 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12548 (scheme-input-filter): Use `string-match-p'.
12549
12550 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12551
12552 * dired-x.el: Use Dired consistently in docstrings.
12553
12554 * dired.el: Use Dired consistently in docstrings.
12555 (dired-readin, dired-mode): Use `setq-local'.
12556 (dired-switches-alist): Make defvar-local.
12557 (dired-buffers-for-dir): Use `zerop'.
12558 (dired-safe-switches-p, dired-switches-escape-p)
12559 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12560 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12561 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12562 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12563 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12564 (dired-toggle-marks, dired-mark-files-containing-regexp)
12565 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12566 (dired-flag-auto-save-files, dired-flag-backup-files):
12567 Use `looking-at-p'.
12568 (dired-mark-files-regexp, dired-build-subdir-alist):
12569 Use `string-match-p', `looking-at-p'.
12570
12571 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12572 (direct-print-region-helper): Use `string-match-p'.
12573
12574 2013-06-21 Leo Liu <sdl.web@gmail.com>
12575
12576 * comint.el (comint-redirect-results-list-from-process):
12577 Fix infinite loop.
12578
12579 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12580
12581 * net/eww.el (eww-update-header-line-format): Quote % characters.
12582
12583 2013-06-21 Glenn Morris <rgm@gnu.org>
12584
12585 * play/cookie1.el (cookie): New custom group.
12586 (cookie-file): New option.
12587 (cookie-check-file): New function.
12588 (cookie): Make it interactive. Make start and end messages optional.
12589 Interactively, display the result. Default to cookie-file.
12590 (cookie-insert): Default to cookie-file.
12591 (cookie-snarf): Make start and end messages optional.
12592 Default to cookie-file. Use with-temp-buffer.
12593 (cookie-read): Rename from read-cookie.
12594 Make start and end messages optional. Default to cookie-file.
12595 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12596 Do not autoload it.
12597 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12598 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12599
12600 2013-06-21 Leo Liu <sdl.web@gmail.com>
12601
12602 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12603
12604 2013-06-21 Glenn Morris <rgm@gnu.org>
12605
12606 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12607
12608 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12609 Daniel Hackney <dan@haxney.org>
12610
12611 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12612 Consolidate the single-file vs tarball code.
12613 (package-desc-suffix): New function.
12614 (package-desc-full-name): Don't bother inlining it.
12615 (package-load-descriptor): Return the new package-desc.
12616 (package-mark-obsolete): Remove unused arg `package'.
12617 (package-unpack): Make it work for single files as well.
12618 Make it update package-alist.
12619 (package--make-autoloads-and-stuff): Rename from
12620 package--make-autoloads-and-compile. Don't compile any more.
12621 (package--compile): New function.
12622 (package-generate-description-file): New function, extracted from
12623 package-unpack-single.
12624 (package-unpack-single): Remove.
12625 (package--with-work-buffer): Add indentation and debugging info.
12626 (package-download-single): Remove.
12627 (package-install-from-archive): Rename from package-download-tar, make
12628 it take a pkg-desc, and make it work for single files as well.
12629 (package-download-transaction): Simplify.
12630 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12631 external tar program.
12632 (package-install-from-buffer): Remove `pkg-desc' argument.
12633 Use package-tar-file-info for tar-mode buffers.
12634 (package-install-file): Simplify accordingly.
12635 (package-archive-base): Change to take a pkg-desc.
12636 * tar-mode.el (tar--check-descriptor): New function, extracted from
12637 tar-get-descriptor.
12638 (tar-get-descriptor): Use it.
12639 (tar-get-file-descriptor): New function.
12640 (tar--extract): New function, extracted from tar-extract.
12641 (tar--extract): Use it.
12642 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12643 case the summary uses non-ascii. Adjust to new calling convention of
12644 package-tar-file-info.
12645
12646 2013-06-21 Leo Liu <sdl.web@gmail.com>
12647
12648 * comint.el (comint-redirect-results-list-from-process):
12649 Fix random delay. (Bug#14681)
12650
12651 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12652
12653 * profiler.el (profiler-format-number): Use log, not log10.
12654
12655 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12656
12657 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12658
12659 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12660
12661 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12662 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12663 yet available.
12664 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12665 (AUTOGENEL): ... here.
12666 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12667 (cl--defsubst-expand): Use it.
12668
12669 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12670
12671 * subr.el (log10): Move here from C code, and declare as obsolete.
12672 All uses of (log10 X) replaced with (log X 10).
12673
12674 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12675
12676 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12677 Declare with `defvar-local'.
12678 (tabulated-list-use-header-line, tabulated-list-entries)
12679 (tabulated-list-padding, tabulated-list-printer)
12680 (tabulated-list-sort-key): Declare with `defvar-local'.
12681 (tabulated-list-init-header, tabulated-list-print-fake-header):
12682 Use `setq-local'.
12683
12684 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12685
12686 * arc-mode.el (archive-mode): Add `archive-write-file' to
12687 `write-contents-functions' also for remote files. (Bug#14652)
12688
12689 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12690
12691 * cus-edit.el (custom-commands): Fix typos.
12692 (custom-display): Fix tooltip text.
12693 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12694 Fix typos in docstrings.
12695 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12696 (custom-unlispify-menu-entry, custom-magic-value-create)
12697 (custom-add-see-also, custom-group-value-create): Use ?\s.
12698 (custom-guess-type, customize-apropos, editable-field)
12699 (custom-face-value-create): Use `string-match-p'.
12700 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12701
12702 * custom.el (custom-load-symbol): Use `string-match-p'.
12703
12704 * ansi-color.el: Convert to lexical binding.
12705 (ansi-colors): Fix URL.
12706 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12707 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12708 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12709
12710 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12711
12712 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12713
12714 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12715
12716 2013-06-19 Tom Tromey <tromey@redhat.com>
12717
12718 * net/eww.el (eww-top-url): Remove.
12719 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12720 (eww-render): Set new variables. Don't set eww-top-url.
12721 (eww-handle-link): Handle "prev", "home", and "contents".
12722 Downcase the rel text.
12723 (eww-top-url): Choose best top URL.
12724
12725 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12726
12727 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12728 relying in widget.el. Using widget.el leads to too many
12729 user interface inconsistencies.
12730 (eww-self-insert): Implement entering commands in text fields.
12731 (eww-process-text-input): New function to make text input field editing
12732 work.
12733 (eww-submit): Rewrite to use the new-style form methods.
12734 (eww-select-display): Display the correct selected item.
12735 (eww-change-select): Implement changing the select value.
12736 (eww-toggle-checkbox): Implement radio/checkboxes.
12737 (eww-update-field): Fix compilation error.
12738 (eww-tag-textarea): Implement <textarea>.
12739
12740 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12741 we don't shadow mode-specific bindings.
12742
12743 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12744 nothing to push.
12745
12746 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12747
12748 2013-06-19 Glenn Morris <rgm@gnu.org>
12749
12750 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12751
12752 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12753
12754 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12755 not needed.
12756
12757 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12758
12759 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12760
12761 * net/browse-url.el (browse-url-browser-function):
12762 `eww-browse-url' has the right calling signature, `eww' does not.
12763
12764 2013-06-19 Glenn Morris <rgm@gnu.org>
12765
12766 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12767 Only eval autoloaded macros.
12768 (byte-compile-autoload): Only give the macro warning for macros.
12769
12770 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12771 (ps-underlined-faces): Declare.
12772
12773 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12774 (speedbar-add-supported-extension): Declare.
12775
12776 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12777 Don't include a date stamp in the header of the generated file;
12778 it leads to needless differences between output files.
12779
12780 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12781
12782 * net/secrets.el (secrets-struct-secret-content-type):
12783 Replace check of introspection data by a test call of "CreateItem".
12784 Some servers do not offer introspection.
12785
12786 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * electric.el (electric-pair-mode): Improve interaction with
12789 electric-layout-mode.
12790 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12791 (electric-pair-syntax): Use text-mode-syntax-table in comments
12792 and strings.
12793 (electric-pair--insert): New function.
12794 (electric-pair-post-self-insert-function): Use it and
12795 electric--after-char-pos.
12796
12797 2013-06-19 Leo Liu <sdl.web@gmail.com>
12798
12799 * progmodes/octave.el (octave-help): Fix regexp.
12800
12801 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12802
12803 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12804 (shr-table-horizontal-line): Allow nil as a value, and change the
12805 default.
12806 (shr-insert-table-ruler): Respect the nil value.
12807
12808 2013-06-18 Tom Tromey <tromey@barimba>
12809
12810 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12811 New defvars.
12812 (eww-open-file): New defun.
12813 (eww-render): Initialize new variables.
12814 (eww-display-html): Handle "link" and "a".
12815 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12816 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12817 (eww-back-url): Rename from eww-previous-url.
12818 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12819 New defuns.
12820
12821 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12822
12823 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12824 Distinguish ternary operator tokens from slash symbol and slash
12825 char literal.
12826
12827 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12828
12829 Convert symbol prettification into minor mode and global minor mode.
12830
12831 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12832 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12833 (prettify-symbols--keywords): Rename from
12834 `prog-prettify-symbols-alist' and make a local defvar.
12835 (prettify-symbols--compose-symbol): Rename from
12836 `prog--prettify-font-lock-compose-symbol'.
12837 (prettify-symbols--make-keywords): Rename from
12838 `prog-prettify-font-lock-symbols-keywords' and simplify.
12839 (prog-prettify-install): Remove.
12840 (prettify-symbols-mode): New minor mode, based on
12841 `prog-prettify-install'.
12842 (turn-on-prettify-symbols-mode): New function.
12843 (global-prettify-symbols-mode): New globalized minor mode.
12844
12845 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12846 * progmodes/cfengine.el (cfengine3-mode):
12847 * progmodes/perl-mode.el (perl-mode): Don't call
12848 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12849
12850 2013-06-18 Juri Linkov <juri@jurta.org>
12851
12852 * files-x.el (modify-file-local-variable-message): New function.
12853 (modify-file-local-variable)
12854 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12855 and call `modify-file-local-variable-message' when it's non-nil.
12856 (add-file-local-variable, delete-file-local-variable)
12857 (add-file-local-variable-prop-line)
12858 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12859 and use it. (Bug#9820)
12860
12861 2013-06-18 Juri Linkov <juri@jurta.org>
12862
12863 * emulation/vi.el (vi-shell-op):
12864 * emulation/vip.el (vip-execute-com, ex-command):
12865 * emulation/viper-cmd.el (viper-exec-bang):
12866 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12867 the call of `shell-command-on-region'. (Bug#14637)
12868
12869 * simple.el (shell-command-on-region): Doc fix.
12870
12871 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12874 (bug#14633).
12875
12876 2013-06-18 Glenn Morris <rgm@gnu.org>
12877
12878 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12879
12880 * newcomment.el (comment-search-forward, comment-search-backward):
12881 Doc fix. (Bug#14376)
12882
12883 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12884
12885 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12886 (buffer-face-mode-invoke): Doc fix.
12887
12888 2013-06-18 Matthias Meulien <orontee@gmail.com>
12889
12890 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12891 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12892
12893 2013-06-18 Glenn Morris <rgm@gnu.org>
12894
12895 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12896 Replace obsolete function generic-make-keywords with its expansion.
12897
12898 * progmodes/python.el (ffap-alist): Declare.
12899
12900 * textmodes/reftex.el (bibtex-mode-map): Declare.
12901
12902 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12905 (package-unpack, package-unpack-single): Return the pkg-dir.
12906 (package-download-transaction): Use it to update package-alist.
12907
12908 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12909
12910 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12911 possible choice.
12912
12913 2013-06-17 Juri Linkov <juri@jurta.org>
12914
12915 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12916
12917 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12918
12919 * emacs-lisp/package.el (package-load-descriptor):
12920 Remove `with-syntax-table' call, `read' doesn't need it.
12921 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12922
12923 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12924
12925 * startup.el (command-line): Expand package name returned by
12926 `package--description-file' (bug#14639).
12927
12928 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12929
12930 * emacs-lisp/package.el (package-load-descriptor): Do not call
12931 `emacs-lisp-mode', just use its syntax table.
12932
12933 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12934
12935 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12936 `font-lock-extra-managed-props' if any prettifying keyword is added.
12937 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12938 (prog-mode): Use `setq-local'.
12939
12940 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12941
12942 * international/characters.el (standard-case-table): Set syntax of ?»
12943 and ?« to punctuation.
12944
12945 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12946
12947 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12948 Save relevant match data before calling `syntax-ppss' (bug#14595).
12949
12950 2013-06-15 Juri Linkov <juri@jurta.org>
12951
12952 * files-x.el (modify-file-local-variable-prop-line): Add local
12953 variables to the end of the existing comment on the first line.
12954 Use `file-auto-mode-skip' to skip interpreter magic line,
12955 and also skip XML declaration.
12956
12957 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12958
12959 * startup.el (package--builtin-versions): New var.
12960 (package-subdirectory-regexp): Remove.
12961 (package--description-file): Hard code its value instead.
12962
12963 * emacs-lisp/package.el: Don't activate packages older than builtin.
12964 (package-obsolete-list): Rename from package-obsolete-alist, and make
12965 it into a simple list of package-desc.
12966 (package-strip-version): Remove.
12967 (package-built-in-p): Use package--builtin-versions.
12968 (package-mark-obsolete): Simplify.
12969 (package-process-define-package): Mark it obsolete if older than the
12970 builtin version.
12971 (package-handle-response): Use line-end-position.
12972 (package-read-archive-contents, package--download-one-archive):
12973 Simplify.
12974 (package--add-to-archive-contents): Skip if older than the builtin or
12975 installed version.
12976 (package-menu-describe-package): Fix last change.
12977 (package-list-unversioned): New var.
12978 (package-menu--generate): Use it.
12979
12980 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12981 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12982 (autoload-builtin-package-versions): New variable.
12983 (autoload-generate-file-autoloads): Use them.
12984 Remove the list of autoloaded functions/macros from the
12985 (autoload...) comments.
12986
12987 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12988
12989 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12990
12991 * simple.el (line-move-partial): Don't jump to the next screen
12992 line as soon as it becomes visible. Instead, continue enlarging
12993 the vscroll until the portion of a tall screen line that's left on
12994 display is about the height of the frame's default font.
12995 (Bug#14567)
12996
12997 2013-06-15 Glenn Morris <rgm@gnu.org>
12998
12999 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13000 compilation-error-regexp-alist void, or local while let-bound.
13001
13002 * progmodes/make-mode.el (makefile-mode-syntax-table):
13003 Treat "=" as punctuation. (Bug#14614)
13004
13005 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13006
13007 * help-fns.el (describe-variable):
13008 Add extra line for permanent-local variables.
13009
13010 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13011
13012 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13013 Add export, import, library. (Bug#9164)
13014 (library): Set indent function.
13015
13016 2013-06-14 Glenn Morris <rgm@gnu.org>
13017
13018 * term/xterm.el (xterm--query):
13019 Stop after first matching handler. (Bug#14615)
13020
13021 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13022
13023 Add support for dired in saveplace.
13024 * dired.el (dired-initial-position-hook): New variable.
13025 (dired-initial-position): Call hook to place cursor position.
13026 * saveplace.el (save-place-to-alist): Add dired position.
13027 (save-place-dired-hook): New function.
13028
13029 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13030
13031 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13032 through a symbol rather than letrec.
13033
13034 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13035 (package-desc): Add `dir' field.
13036 (package-desc-full-name): New function.
13037 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13038 (package-maybe-load-descriptor): Remove.
13039 (package-load-all-descriptors): Just call package-load-descriptor.
13040 (package--disabled-p): New function.
13041 (package-desc-vers, package-desc-doc): Remove aliases.
13042 (package--dir): Remove function.
13043 (package-activate): Check if a package is disabled.
13044 (package-process-define-package): New function, extracted from
13045 define-package.
13046 (define-package): Turn into a place holder.
13047 (package-unpack-single, package-tar-file-info):
13048 Use package--description-file.
13049 (package-compute-transaction): Use package--disabled-p.
13050 (package-download-transaction): Don't call
13051 package-maybe-load-descriptor since they're all loaded anyway.
13052 (package-install): Change argument to be a pkg-desc.
13053 (package-delete): Use a single pkg-desc argument.
13054 (describe-package-1): Use package-desc-dir instead of package--dir.
13055 Use package-desc property instead of package-symbol.
13056 (package-install-button-action): Adjust accordingly.
13057 (package--push): Rewrite.
13058 (package-menu--print-info): Adjust accordingly. Change the ID format
13059 to be a pkg-desc.
13060 (package-menu-describe-package, package-menu-get-status)
13061 (package-menu--find-upgrades, package-menu-mark-upgrades)
13062 (package-menu-execute, package-menu--name-predicate):
13063 Adjust accordingly.
13064 * startup.el (package--description-file): New function.
13065 (command-line): Use it.
13066 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13067 Use package-desc-version.
13068
13069 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13070 (byte-compile-preprocess): Use it.
13071 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13072 can't quite recognize.
13073 (byte-compile-add-to-list): Remove.
13074 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13075 (cconv-closure-convert): Add assertion.
13076
13077 * emacs-lisp/map-ynp.el: Use lexical-binding.
13078 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13079 Factor out some repeated code.
13080
13081 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * subr.el (with-eval-after-load): New macro.
13084 (eval-after-load): Allow form to be a function.
13085 take advantage of lexical-binding.
13086 (do-after-load-evaluation): Use dolist and adjust to new format.
13087 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13088
13089 2013-06-13 Juri Linkov <juri@jurta.org>
13090
13091 * replace.el (perform-replace): Display "symbol " and other search
13092 modes from `isearch-message-prefix' in the *Help* buffer.
13093
13094 * isearch.el (isearch-query-replace): Add " symbol" and other
13095 possible search modes from `isearch-message-prefix' to the prompt.
13096 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13097 when reading a regexp to collect.
13098
13099 2013-06-13 Juri Linkov <juri@jurta.org>
13100
13101 * isearch.el (word-search-regexp): Match whitespace if the search
13102 string begins or ends in whitespace. The LAX arg is applied to
13103 both ends of the search string. Use `regexp-quote' and explicit
13104 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13105 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13106 boundaries are replaced with symbol boundaries, and characters
13107 between symbols match non-word non-symbol syntax. (Bug#14602)
13108
13109 2013-06-13 Juri Linkov <juri@jurta.org>
13110
13111 * isearch.el (isearch-del-char): Don't exceed the length of
13112 `isearch-string' by the prefix arg. (Bug#14563)
13113
13114 2013-06-13 Juri Linkov <juri@jurta.org>
13115
13116 * isearch.el (isearch-yank-word, isearch-yank-line)
13117 (isearch-char-by-name, isearch-quote-char)
13118 (isearch-printing-char, isearch-process-search-char):
13119 Add optional count prefix arg. (Bug#14563)
13120
13121 * international/isearch-x.el
13122 (isearch-process-search-multibyte-characters):
13123 Add optional count prefix arg.
13124
13125 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13128 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13129 lexical-binding.
13130
13131 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13132
13133 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13134
13135 2013-06-13 Glenn Morris <rgm@gnu.org>
13136
13137 * startup.el (tty-handle-args):
13138 Don't just discard "--" and anything after. (Bug#14608)
13139
13140 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13141
13142 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13143
13144 Implement changes in Secret Service API. Make it backward compatible.
13145 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13146 (secrets-create-item): Use it. Prefix properties with interface.
13147
13148 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13149
13150 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13151 (term-emulate-terminal): Respect term-suppress-hard-newline.
13152
13153 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13154
13155 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13156 Only remove a `thumb-file' overlay. (Bug#14548)
13157
13158 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13159
13160 * mail/reporter.el (reporter-submit-bug-report):
13161 Handle missing package-name. (Bug#14600)
13162
13163 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13164
13165 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13166 (reftex-citation-prompt, reftex-default-bibliography)
13167 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13168 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13169 (reftex-bib-sort-author, reftex-bib-sort-year)
13170 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13171 (reftex-extract-bib-entries-from-thebibliography)
13172 (reftex-get-bibkey-default, reftex-get-bib-names)
13173 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13174 (reftex-format-bib-entry, reftex-parse-bibitem)
13175 (reftex-format-bibitem, reftex-do-citation)
13176 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13177 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13178 (reftex-insert-bib-matches, reftex-format-citation)
13179 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13180 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13181 existing comments into docstrings.
13182
13183 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13184
13185 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13186
13187 2013-06-12 Andreas Schwab <schwab@suse.de>
13188
13189 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13190 for auto-save files.
13191
13192 2013-06-12 Glenn Morris <rgm@gnu.org>
13193
13194 * ido.el (ido-delete-ignored-files): Remove.
13195 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13196 Go back to calling ido-ignore-item-p directly.
13197
13198 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13199
13200 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13201
13202 * ido.el (ido-delete-ignored-files): New function,
13203 split from ido-make-file-list-1.
13204 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13205 (ido-make-file-list-1): Use ido-delete-ignored-files.
13206
13207 2013-06-12 Leo Liu <sdl.web@gmail.com>
13208
13209 * progmodes/octave.el (inferior-octave-startup)
13210 (inferior-octave-completion-table)
13211 (inferior-octave-track-window-width-change)
13212 (octave-eldoc-function-signatures, octave-help)
13213 (octave-find-definition): Use single quoted strings.
13214 (inferior-octave-startup-args): Change default value.
13215 (inferior-octave-startup): Do not hard code "-i" and
13216 "--no-line-editing".
13217 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13218 (inferior-octave-directory-tracker): Use it.
13219 (octave-goto-function-definition): Robustify.
13220 (octave-help): Support highlighting operators in 'See also'.
13221 (octave-find-definition): Find subfunctions only in Octave mode.
13222
13223 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13224
13225 * help-fns.el (help-fns--compiler-macro): If the handler function is
13226 named, then put a link to it.
13227 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13228 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13229 (cl-typep): Use it.
13230 (cl-eval-when): Simplify debug spec.
13231 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13232 compiler-macro function instead of setting `compiler-macro-file'.
13233
13234 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13235
13236 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13237 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13238
13239 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13240 Daniel Hackney <dan@haxney.org>
13241
13242 First part of Daniel Hackney's patch to package.el.
13243 * emacs-lisp/package.el: Use defstruct.
13244 (package-desc): New, main struct.
13245 (package--bi-desc, package--ac-desc): New structs, used to describe the
13246 format in external files.
13247 (package-desc-vers): Replace with package-desc-version accessor.
13248 (package-desc-doc): Replace with package-desc-summary accessor.
13249 (package-activate-1): Remove `package' arg since the pkg-vec now
13250 includes the name.
13251 (define-package): Use package-desc-from-define.
13252 (package-unpack-single): Change file-name arg to be a symbol.
13253 (package--add-to-archive-contents): Use package-desc-create and new
13254 accessor functions to package--ac-desc.
13255 (package-buffer-info, package-tar-file-info): Return a package-desc.
13256 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13257 arg to be a package-desc.
13258 (package-install-file): Adjust accordingly. Use \' to match EOS.
13259 (package--from-builtin): New function.
13260 (describe-package-1, package-menu--generate): Use it.
13261 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13262 (package-generate-autoloads): Idem and return the name of the file.
13263 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13264 Change pkg-info arg to be a package-desc.
13265 Use package-make-ac-desc.
13266 (package-upload-file): Use \' to match EOS.
13267 * finder.el (finder-compile-keywords): Use package-make-builtin.
13268
13269 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * vc/vc.el (vc-deduce-fileset): Change error message.
13272 (vc-read-backend): New function.
13273 (vc-next-action): Use it.
13274
13275 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13276
13277 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13278 (prolog-font-lock-keywords): Use regexp-opt instead.
13279 Don't manually highlight strings.
13280 (prolog-mode-variables): Simplify comment-start-skip.
13281 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13282
13283 * emacs-lisp/generic.el (generic--normalise-comments)
13284 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13285 (generic-mode-set-comments): Use them.
13286 (generic-bracket-support): Use setq-local.
13287 (generic-make-keywords-list): Declare obsolete.
13288
13289 2013-06-11 Glenn Morris <rgm@gnu.org>
13290
13291 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13292 Prettify after setting font-lock-defaults. (Bug#14574)
13293
13294 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13295
13296 * replace.el (query-replace, occur-read-regexp-defaults-function)
13297 (replace-search):
13298 * subr.el (declare-function, number-sequence, local-set-key)
13299 (substitute-key-definition, locate-user-emacs-file)
13300 (with-silent-modifications, split-string, eval-after-load):
13301 Fix typos, remove unneeded backslashes and reflow some docstrings.
13302
13303 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13304
13305 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13306 default for Elisp files.
13307
13308 2013-06-11 Glenn Morris <rgm@gnu.org>
13309
13310 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13311 although define-derived-mode was doing this anyway. (Bug#14583)
13312
13313 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13314
13315 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13316 Fix make-variable-buffer-local call to refer to the correct variable.
13317
13318 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13319
13320 * eshell/em-term.el (eshell-visual-commands)
13321 (eshell-visual-subcommands, eshell-visual-options):
13322 Add summary line to docstrings. Add cross-references.
13323
13324 2013-06-10 Glenn Morris <rgm@gnu.org>
13325
13326 * epa.el (epa-read-file-name): New function. (Bug#14510)
13327 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13328
13329 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13330
13331 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13332 output redirection to be ignored with visual commands.
13333
13334 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13335
13336 * eshell/em-term.el (eshell-visual-command-p): New function.
13337 (eshell-term-initialize): Move long lambda to separate function
13338 eshell-visual-command-p.
13339 * eshell/em-dirs.el (eshell-dirs-initialize):
13340 * eshell/em-script.el (eshell-script-initialize):
13341 Add missing #' to lambda.
13342
13343 2013-06-08 Leo Liu <sdl.web@gmail.com>
13344
13345 * progmodes/octave.el (octave-add-log-current-defun): New function.
13346 (octave-mode): Set add-log-current-defun-function.
13347 (octave-goto-function-definition): Do not move point if not found.
13348 (octave-find-definition): Enhance to try subfunctions first.
13349
13350 2013-06-08 Glenn Morris <rgm@gnu.org>
13351
13352 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13353 (byte-compile-backward-char, byte-compile-backward-word):
13354 Improve previous change, to handle non-explicit nil.
13355
13356 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13357
13358 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13359 (smie--opener/closer-at-point): New function.
13360 (smie--matching-block-data): Use it. Don't match from right after an
13361 opener or right before a closer. Obey smie-blink-matching-inners.
13362 Don't signal a mismatch for repeated inners like "switch..case..case".
13363
13364 2013-06-07 Leo Liu <sdl.web@gmail.com>
13365
13366 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13367 to t. (Bug#14303)
13368 (octave-function-header-regexp): Fix. (Bug#14570)
13369 (octave-help-mode-finish-hook, octave-help-mode-finish):
13370 Remove. Just use temp-buffer-show-hook.
13371
13372 * newcomment.el (comment-search-backward): Revert last change.
13373 (Bug#14434)
13374
13375 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13376
13377 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13378
13379 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13380 through xargs, to avoid failure due to MS-Windows limitations on
13381 command-line length.
13382
13383 2013-06-06 Glenn Morris <rgm@gnu.org>
13384
13385 * font-lock.el (lisp-font-lock-keywords-2):
13386 Treat user-error like error.
13387
13388 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13389 (byte-compile-backward-char, byte-compile-backward-word):
13390 Handle explicit nil arguments. (Bug#14565)
13391
13392 2013-06-05 Alan Mackenzie <acm@muc.de>
13393
13394 * isearch.el (isearch-allow-prefix): New user option.
13395 (isearch-other-meta-char): Don't exit isearch when a prefix
13396 argument is typed whilst `isearch-allow-prefix' is non-nil.
13397 (Bug#9706)
13398
13399 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * autorevert.el (auto-revert-notify-handler): Use memq.
13402 Hide assertion failure.
13403
13404 * skeleton.el: Use cl-lib.
13405 (skeleton-further-elements): Use defvar-local.
13406 (skeleton-insert): Use cl-progv.
13407
13408 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13409
13410 * progmodes/prog-mode.el (prog-prettify-symbols)
13411 (prog-prettify-install): Update docstrings.
13412
13413 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * simple.el: Move all the prog-mode code to prog-mode.el.
13416 * progmodes/prog-mode.el: New file.
13417 * loadup.el: Add prog-mode.el.
13418
13419 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13420
13421 * simple.el (prog-prettify-symbols): Add version.
13422 (prog-prettify-install): Add convenience function to prettify symbols.
13423
13424 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13425 (perl--augmented-font-lock-keywords-1)
13426 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13427 variables and use it.
13428
13429 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13430 (cfengine3-mode): Remove unneeded variable and use it.
13431
13432 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13433 (lisp--augmented-font-lock-keywords-1)
13434 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13435 Remove unneeded variables and use it.
13436
13437 2013-06-05 João Távora <joaotavora@gmail.com>
13438
13439 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13440 to point when opening the connection. (Bug#14380)
13441
13442 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 * subr.el (load-history-regexp, load-history-filename-element)
13445 (eval-after-load, after-load-functions, do-after-load-evaluation)
13446 (eval-next-after-load, display-delayed-warnings)
13447 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13448 definition of save-match-data.
13449 (overriding-local-map): Remove accidental obsolescence declaration.
13450
13451 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13452
13453 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13454
13455 Generalize symbol prettify support to prog-mode and implement it
13456 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13457 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13458 (prog--prettify-font-lock-compose-symbol)
13459 (prog-prettify-font-lock-symbols-keywords): New variables and
13460 functions to support symbol prettification.
13461 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13462 (lisp--augmented-font-lock-keywords-1)
13463 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13464 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13465 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13466 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13467 Implement prettify of -> => :: strings.
13468 * progmodes/perl-mode.el (perl-prettify-symbols)
13469 (perl--font-lock-compose-symbol)
13470 (perl--font-lock-symbols-keywords): Move to prog-mode.
13471 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13472 (perl-font-lock-keywords-1)
13473 (perl-font-lock-keywords-2): Remove explicit prettify support.
13474 (perl--augmented-font-lock-keywords)
13475 (perl--augmented-font-lock-keywords-1)
13476 (perl--augmented-font-lock-keywords-2, perl-mode):
13477 Implement prettify support.
13478
13479 2013-06-05 Leo Liu <sdl.web@gmail.com>
13480
13481 Re-implement SMIE matching block highlight using
13482 show-paren-data-function. (Bug#14395)
13483 * emacs-lisp/smie.el (smie-matching-block-highlight)
13484 (smie--highlight-matching-block-overlay)
13485 (smie--highlight-matching-block-lastpos)
13486 (smie-highlight-matching-block)
13487 (smie-highlight-matching-block-mode): Remove.
13488 (smie--matching-block-data-cache): New variable.
13489 (smie--matching-block-data): New function.
13490 (smie-setup): Use smie--matching-block-data for
13491 show-paren-data-function.
13492
13493 * progmodes/octave.el (octave-mode-menu): Fix.
13494 (octave-find-definition): Skip garbage lines.
13495
13496 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13497
13498 Fix compilation error with simultaneous dynamic+lexical scoping.
13499 Add warning when a defvar appears after the first let-binding.
13500 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13501 (byte-compile-close-variables): Initialize it.
13502 (byte-compile--declare-var): New function.
13503 (byte-compile-file-form-defvar)
13504 (byte-compile-file-form-define-abbrev-table)
13505 (byte-compile-file-form-custom-declare-variable): Use it.
13506 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13507 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13508 (byte-compile-bind): Handle dynamic bindings that shadow
13509 lexical bindings.
13510 (byte-compile-unbind): Make arg non-optional.
13511 (byte-compile-let): Simplify.
13512 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13513 (cconv--analyse-function, cconv-analyse-form): Populate it.
13514 Protect byte-compile-bound-variables to limit the scope of defvars.
13515 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13516 Remove unneeded rule for `declare'.
13517
13518 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13519 so as to avoid depending on cl-adjoin at run-time.
13520 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13521
13522 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13523 (macroexp--warn-and-return): Use it.
13524
13525 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 * subr.el: Convert to lexical binding.
13528 (overriding-local-map): Make obsolete.
13529 (add-to-list): Doc fix. Add compiler macro.
13530 (read-key): Swap values of local maps.
13531
13532 2013-06-05 Leo Liu <sdl.web@gmail.com>
13533
13534 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13535
13536 2013-06-04 Leo Liu <sdl.web@gmail.com>
13537
13538 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13539 (compilation-auto-jump): Suppress the "Mark set" message to give
13540 way to exit message.
13541
13542 2013-06-04 Alan Mackenzie <acm@muc.de>
13543
13544 Remove faulty optimisation from indentation calculation.
13545 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13546 search limit based on 2000 characters back from indent-point.
13547
13548 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13549
13550 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13551
13552 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * emacs-lisp/lisp.el: Use lexical-binding.
13555 (lisp--local-variables-1, lisp--local-variables): New functions.
13556 (lisp--local-variables-completion-table): New var.
13557 (lisp-completion-at-point): Use it complete let-bound vars.
13558
13559 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13560 eagerly (bug#14422).
13561
13562 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13563
13564 * autorevert.el (auto-revert-notify-enabled)
13565 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13566 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13567 (auto-revert-notify-handler): Handle also gfilenotify.
13568
13569 * subr.el (file-notify-handle-event): New defun. Replacing ...
13570 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13571 Remove.
13572
13573 2013-06-03 Juri Linkov <juri@jurta.org>
13574
13575 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13576 `M-s h .'. (Bug#14427)
13577
13578 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13579 command `hi-lock-face-symbol-at-point'.
13580 (hi-lock-face-symbol-at-point): New command.
13581 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13582 (hi-lock-menu): Add `highlight-symbol-at-point'.
13583 (hi-lock-mode): Doc fix.
13584
13585 * isearch.el (isearch-forward-symbol-at-point): New command.
13586 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13587 (isearch-highlight-regexp): Add a regexp which matches
13588 words/symbols for word/symbol mode.
13589
13590 * subr.el (find-tag-default-bounds): New function with the body
13591 mostly moved from `find-tag-default'.
13592 (find-tag-default): Move most code to `find-tag-default-bounds',
13593 call it and apply `buffer-substring-no-properties' afterwards.
13594
13595 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13596
13597 * eshell/em-term.el (eshell-term-initialize):
13598 Use `cl-intersection' rather than `intersection'.
13599
13600 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13601
13602 * vc/log-view.el: Doc fix.
13603 (log-view-mode-map): Copy keymap from `special-mode-map'.
13604
13605 2013-06-02 Eric Ludlam <zappo@gnu.org>
13606
13607 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13608 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13609 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13610 (eieio-unbound, eieio-default-superclass)
13611 (eieio--define-field-accessors, method-static, method-before)
13612 (method-primary, method-after, method-num-lists)
13613 (method-generic-before, method-generic-primary)
13614 (method-generic-after, method-num-slots)
13615 (eieio-specialized-key-to-generic-key)
13616 (eieio--check-type, class-v, class-p)
13617 (eieio-class-name, define-obsolete-function-alias)
13618 (eieio-class-parents-fast, eieio-class-children-fast)
13619 (same-class-fast-p, class-constructor, generic-p)
13620 (generic-primary-only-p, generic-primary-only-one-p)
13621 (class-option-assoc, class-option, eieio-object-p)
13622 (class-abstract-p, class-method-invocation-order)
13623 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13624 (eieio-class-un-autoload, eieio-defclass)
13625 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13626 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13627 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13628 (eieio-defgeneric-reset-generic-form)
13629 (eieio-defgeneric-form-primary-only)
13630 (eieio-defgeneric-reset-generic-form-primary-only)
13631 (eieio-defgeneric-form-primary-only-one)
13632 (eieio-defgeneric-reset-generic-form-primary-only-one)
13633 (eieio-unbind-method-implementations)
13634 (eieio--defmethod, eieio--typep)
13635 (eieio-perform-slot-validation, eieio-validate-slot-value)
13636 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13637 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13638 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13639 (eieio-slot-name-index, eieio-class-slot-name-index)
13640 (eieio-set-defaults, eieio-initarg-to-attribute)
13641 (eieio-attribute-to-initarg, eieio-c3-candidate)
13642 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13643 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13644 (eieio-class-precedence-list, eieio-generic-call-methodname)
13645 (eieio-generic-call-arglst, eieio-generic-call-key)
13646 (eieio-generic-call-next-method-list)
13647 (eieio-pre-method-execution-functions, eieio-generic-call)
13648 (eieio-generic-call-primary-only, eieiomt-method-list)
13649 (eieiomt-optimizing-obarray, eieiomt-install)
13650 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13651 (eieio-generic-form, eieio-defmethod, make-obsolete)
13652 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13653 (defclass): Remove `eval-and-compile' from macro.
13654 (call-next-method, shared-initialize): Instead of using
13655 `scoped-class' variable, use new eieio--scoped-class, and
13656 eieio--with-scoped-class.
13657 (initialize-instance): Rename local variable 'scoped-class' to
13658 'this-class' to remove ambiguitity from old global.
13659
13660 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13661 eieio.el.
13662 (eieio--scoped-class-stack): New variable.
13663 (eieio--scoped-class): New fcn.
13664 (eieio--with-scoped-class): New scoping macro.
13665 (eieio-defclass): Use pushnew instead of add-to-list.
13666 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13667 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13668 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13669 `scoped-class' variable, use new eieio--scoped-class, and
13670 eieio--with-scoped-class.
13671
13672 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13673
13674 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13675
13676 * eshell/esh-ext.el (eshell-external-command): Pass args to
13677 `eshell-find-interpreter'.
13678 (eshell-find-interpreter): Add new second parameter ARGS.
13679
13680 * eshell/em-script.el (eshell-script-initialize): Add second arg
13681 to the function added as MATCH to `eshell-interpreter-alist'.
13682
13683 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13684 the function added as MATCH to `eshell-interpreter-alist'.
13685
13686 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13687 (eshell-visual-options): New defcustom.
13688 (eshell-escape-control-x): Adapt docstring.
13689 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13690 `eshell-visual-options' in addition to `eshell-visual-commands'.
13691 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13692
13693 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13694
13695 * progmodes/python.el (python-indent-block-enders): Add break,
13696 continue and raise keywords.
13697
13698 2013-06-01 Glenn Morris <rgm@gnu.org>
13699
13700 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13701
13702 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13703 * progmodes/cc-cmds.el (delete-forward-p):
13704 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13705 * progmodes/cc-engine.el (buffer-syntactic-context):
13706 * progmodes/cc-fonts.el (face-property-instance):
13707 * progmodes/cc-mode.el (set-keymap-parents):
13708 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13709 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13710 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13711 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13712 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13713
13714 * progmodes/cc-vars.el (other): Emacs has this widget since
13715 at least 21.1, so don't (re)define it.
13716
13717 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13718 Replace the obsolete alias pcomplete-arg-quote-list.
13719
13720 2013-06-01 Leo Liu <sdl.web@gmail.com>
13721
13722 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13723 punctuation syntax.
13724 (inferior-octave-minimal-columns)
13725 (inferior-octave-last-column-width): New variables.
13726 (inferior-octave-track-window-width-change): New function.
13727 (inferior-octave-mode): Adjust column width so that Octave output,
13728 for example from 'ls', can fit into the window nicely.
13729
13730 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13731
13732 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13733 Highlight expansions inside regexp literals.
13734
13735 2013-05-31 Glenn Morris <rgm@gnu.org>
13736
13737 * obsolete/sym-comp.el (symbol-complete):
13738 Replace obsolete completion-annotate-function.
13739
13740 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13741
13742 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13743
13744 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13745 New function, checks if point is inside a literal that allows
13746 expression expansion.
13747 (ruby-syntax-propertize-expansion): Use it.
13748 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13749 around the body.
13750
13751 2013-05-30 Juri Linkov <juri@jurta.org>
13752
13753 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13754 to "\M-si".
13755 (isearch-invisible): New variable.
13756 (isearch-forward): Doc fix.
13757 (isearch-mode): Set `isearch-invisible'
13758 to the value of `search-invisible'.
13759 (isearch-toggle-case-fold): Doc fix.
13760 (isearch-toggle-invisible): New command.
13761 (isearch-query-replace): Let-bind `search-invisible'
13762 to the value of `isearch-invisible'.
13763 (isearch-search): Use `isearch-invisible' instead of
13764 `search-invisible'. Let-bind `search-invisible'
13765 to the value of `isearch-invisible'. (Bug#11378)
13766
13767 2013-05-30 Juri Linkov <juri@jurta.org>
13768
13769 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13770 call when `query-flag' is nil and `search-invisible' is non-nil.
13771 (Bug#11746)
13772
13773 2013-05-30 Glenn Morris <rgm@gnu.org>
13774
13775 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13776
13777 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13778 (cc-require): Suppress spurious "noruntime" warnings.
13779 (cc-require-when-compile): Use fboundp, for sake of compiler.
13780
13781 * progmodes/cc-mode.el: Move load of cc-vars before that of
13782 cc-langs (which in turn loads cc-vars), to quieten compiler.
13783
13784 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13785
13786 * paren.el: Simplify the code.
13787 (show-paren-mode): Always start the timer.
13788 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13789 (show-paren--overlay, show-paren--overlay-1): Rename from
13790 show-paren-overlay and show-paren-overlay-1, and initialize to an
13791 overlay rather than to nil.
13792 (show-paren-function): Misc cleanup and simplifications.
13793
13794 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13795
13796 * paren.el (show-paren-data-function): New hook.
13797 (show-paren--default): New function, extracted from show-paren-function.
13798 (show-paren-function): Use show-paren-data-function.
13799
13800 2013-05-30 Glenn Morris <rgm@gnu.org>
13801
13802 * ielm.el (ielm-map, ielm-complete-symbol):
13803 Use completion-at-point rather than obsolete functions.
13804 (inferior-emacs-lisp-mode): Doc fix.
13805 Set completion-at-point-functions, rather than
13806 comint-dynamic-complete-functions.
13807
13808 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13809 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13810 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13811
13812 * image.el (image-animated-p): Tweak definition.
13813
13814 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13815 (rlogin-process-connection-type): Tweak default. Add set-after.
13816 (rlogin-host): Doc fix.
13817 (rlogin): Tweak prompt.
13818 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13819
13820 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13821 * progmodes/tcl.el (inferior-tcl-mode-map):
13822 Use completion-at-point rather than obsolete alias.
13823
13824 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13825
13826 * minibuffer.el (read-file-name-completion-ignore-case):
13827 Move before completion--in-region, for eager macro expansion.
13828
13829 2013-05-29 Juri Linkov <juri@jurta.org>
13830
13831 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13832 for total count of matching lines. Add `global-matches' for total
13833 count of matches. Rename `matches' to `lines' for count of
13834 matching lines. Add `matches' for count of matches.
13835 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13836 to `prev-line' for line number of prev match endpt.
13837 Increment `matches' for every match. Print the number of
13838 matching lines in the header.
13839 (occur-context-lines): Rename `lines' to `curr-line'.
13840 Rename `prev-lines' to `prev-line'. (Bug#14017)
13841
13842 2013-05-29 Juri Linkov <juri@jurta.org>
13843
13844 * replace.el (perform-replace): Add `skip-read-only-count',
13845 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13846 Increment them for corresponding conditions and report the number
13847 of skipped occurrences in the final message. (Bug#11746)
13848 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13849 (replace-string, replace-regexp): Doc fix.
13850
13851 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13854
13855 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13856 prog-mode-map (bug#14504).
13857
13858 2013-05-29 Leo Liu <sdl.web@gmail.com>
13859
13860 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13861 (octave-help): Small simplification.
13862
13863 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13864 off the highlight first.
13865
13866 2013-05-29 Glenn Morris <rgm@gnu.org>
13867
13868 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13869 Handle idlwave-last-system-routine-info-cons-cell being nil.
13870
13871 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13872 (idlwave-write-paths): Simplify via with-temp-buffer.
13873
13874 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13875 * emulation/cua-rect.el: Also load cua-base at run time.
13876
13877 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13878 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13879 (cperl-imenu-on-info): Require imenu.
13880
13881 2013-05-28 Alan Mackenzie <acm@muc.de>
13882
13883 Handle "capitalised keywords" correctly.
13884 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13885
13886 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13887
13888 * eshell/em-unix.el: Add -r option to cp.
13889
13890 2013-05-28 Glenn Morris <rgm@gnu.org>
13891
13892 * vc/vc-arch.el (vc-exec-after): Declare.
13893 (vc-switches): Autoload.
13894 * vc/vc-bzr.el: No need to require vc when compiling.
13895 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13896 (vc-resynch-buffer, vc-dir-refresh): Declare.
13897 (vc-setup-buffer, vc-switches): Autoload.
13898 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13899 (vc-resynch-buffer): Declare.
13900 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13901 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13902 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13903 (grep-read-regexp, grep-read-files, grep-expand-template)
13904 (vc-dir-refresh): Declare.
13905 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13906 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13907 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13908 * vc/vc-mtn.el (vc-exec-after): Declare.
13909 (vc-switches): Autoload.
13910 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13911 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13912 (vc-file-tree-walk): Declare.
13913 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13914 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13915 (vc-tag-precondition, vc-rename-master): Autoload.
13916 * vc/vc-svn.el (vc-exec-after): Declare.
13917 (vc-switches, vc-setup-buffer): Autoload.
13918 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13919 Autoload.
13920 (vc-resynch-buffer): Declare.
13921
13922 * obsolete/fast-lock.el (byte-compile-warnings):
13923 Don't warn about obsolete features in this obsolete file.
13924
13925 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13926 Move definition before use.
13927
13928 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13929 (dun-unix-verbs): Remove dun-zippy.
13930 (dun-zippy): Remove function.
13931
13932 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13933
13934 2013-05-27 Juri Linkov <juri@jurta.org>
13935
13936 * replace.el (replace-search): New function with code moved out
13937 from `perform-replace'.
13938 (replace-highlight, replace-dehighlight): Move function definitions
13939 up closer to `replace-search'. (Bug#11746)
13940
13941 2013-05-27 Juri Linkov <juri@jurta.org>
13942
13943 * replace.el (perform-replace): Ignore invisible matches.
13944 In addition to checking `query-replace-skip-read-only', also
13945 filter out matches by calling `run-hook-with-args-until-failure'
13946 on `isearch-filter-predicates', and also check `search-invisible'
13947 for t or call `isearch-range-invisible'.
13948 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13949
13950 2013-05-27 Juri Linkov <juri@jurta.org>
13951
13952 * isearch.el (isearch-filter-predicates): Rename from
13953 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13954 (isearch-message-prefix): Display text from the property
13955 `isearch-message-prefix' of the currently active filters.
13956 (isearch-search): Don't compare `isearch-filter-predicate' with
13957 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13958 on `isearch-filter-predicates'. Also check `search-invisible' for t
13959 or call `isearch-range-invisible'.
13960 (isearch-filter-visible): Make obsolete.
13961 (isearch-lazy-highlight-search):
13962 Call `run-hook-with-args-until-failure' on
13963 `isearch-filter-predicates' and use `isearch-range-invisible'.
13964
13965 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13966 `isearch-filter-predicates' instead of `funcall'ing
13967 `isearch-filter-predicate'.
13968 (Info-mode): Set `Info-isearch-filter' to
13969 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13970
13971 * dired-aux.el (dired-isearch-filter-predicate-orig):
13972 Remove variable.
13973 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13974 (dired-isearch-filenames-end): Add and remove
13975 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13976 instead of changing the value of `isearch-filter-predicate'.
13977 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13978 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13979 Put property `isearch-message-prefix' to "filename " on
13980 `dired-isearch-filter-filenames'.
13981
13982 * wdired.el (wdired-change-to-wdired-mode):
13983 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13984 locally instead of changing `isearch-filter-predicate'.
13985 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13986
13987 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13988
13989 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13990 return the commit hash (Bug#14459). Also set the
13991 `vc-git-detached' property.
13992 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13993 (vc-git-mode-line-string): Use the same help-echo format whether
13994 in detached mode or not, because we know the actual revision now.
13995 When in detached mode, shorten the revision to 7 chars.
13996
13997 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13998
13999 * emacs-lisp/easy-mmode.el (define-minor-mode):
14000 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14001 mode hook and provide a docstring.
14002
14003 2013-05-27 Alan Mackenzie <acm@muc.de>
14004
14005 Remove spurious syntax-table text properties inserted by C-y.
14006 * progmodes/cc-mode.el (c-after-change): Also clear hard
14007 syntax-table property with value nil.
14008
14009 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14010
14011 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14012 when reading the events; the buffer layout shall not be changed.
14013
14014 2013-05-27 Leo Liu <sdl.web@gmail.com>
14015
14016 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14017 New variable.
14018 (inferior-octave-directory-tracker): Automatically re-sync
14019 default-directory.
14020 (octave-help): Improve handling of 'See also'.
14021
14022 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14023
14024 * doc-view.el: Minor naming convention tweaks.
14025 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14026
14027 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14028 even if there's no `display' property yet (bug#14435).
14029
14030 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14031
14032 * subr.el (unmsys--file-name): Rename from reveal-filename.
14033
14034 * Makefile.in (custom-deps, finder-data, autoloads)
14035 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14036 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14037 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14038
14039 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14040
14041 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14042 error-completion on the first 2 args of condition-case (bug#14446).
14043 Don't burp at EOB.
14044
14045 2013-05-25 Leo Liu <sdl.web@gmail.com>
14046
14047 * comint.el (comint-previous-matching-input): Do not flood the
14048 *Messages* buffer with trivial messages.
14049
14050 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * progmodes/flymake.el (flymake-nop): Don't return a string.
14053 (flymake-set-at): Fix typo.
14054
14055 * simple.el (read--expression): New function, extracted from
14056 eval-expression. Set completion-at-point-functions (bug#14465).
14057 (eval-expression, eval-minibuffer): Use it.
14058
14059 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14060
14061 * progmodes/flymake.el (flymake-save-buffer-in-file)
14062 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14063 (flymake-selected-frame, flymake-log, flymake-ins-after)
14064 (flymake-set-at, flymake-get-buildfile-from-cache)
14065 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14066 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14067 Refine the doc string.
14068 (flymake-get-file-name-mode-and-masks): Reformat.
14069 (flymake-get-real-file-name-function): Fix a minor bug.
14070
14071 2013-05-24 Juri Linkov <juri@jurta.org>
14072
14073 * progmodes/grep.el (grep-mode-font-lock-keywords):
14074 Support =linenumber= format used by git-grep for lines with
14075 function names. (Bug#13549)
14076
14077 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14078
14079 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14080 0 after a semi-colon; it works better for smie-auto-fill.
14081 (octave--indent-new-comment-line): New function.
14082 (octave-indent-new-comment-line): Use it (indirectly).
14083 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14084 modify comment-line-break-function.
14085
14086 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14087 (smie-setup): Use add-function to set it.
14088
14089 2013-05-24 Sam Steingold <sds@gnu.org>
14090
14091 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14092 argument (before the `interactive' argument).
14093
14094 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14095
14096 * image-mode.el (image-mode-winprops): Add winprops to
14097 image-mode-winprops-alist before running
14098 image-mode-new-window-functions.
14099 * doc-view.el (doc-view-new-window-function): Don't delay
14100 doc-view-goto-page via timers (bug#14435).
14101
14102 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14103
14104 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14105 (doc-view-desktop-save-buffer): New function.
14106 (doc-view-restore-desktop-buffer): New function.
14107 (desktop-buffer-mode-handlers):
14108 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14109 handler.
14110 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14111 `desktop-save-buffer' function.
14112
14113 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14114
14115 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14116 (tramp-gvfs-file-name-handler): Raise a user error when
14117 `tramp-gvfs-enabled' is nil.
14118 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14119 Do not raise a user error when loading package. (Bug#14447)
14120
14121 * net/xesam.el: Move to obsolete/.
14122
14123 2013-05-24 Glenn Morris <rgm@gnu.org>
14124
14125 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14126
14127 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14128
14129 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14130 (Info-find-node, Man-getpage-in-background): Declare.
14131
14132 * mail/unrmail.el (unrmail):
14133 Replace obsolete detect-coding-with-priority.
14134
14135 * net/socks.el (socks-split-string): Use this rather than split-string.
14136 (socks-nslookup-host): Update for above change.
14137 (dynamic-choice, s5-dynamic-choice-match)
14138 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14139 Comment out unused code.
14140
14141 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14142 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14143 (gud-tooltip-echo-area): Make obsolete.
14144 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14145
14146 * progmodes/js.el (js--optimize-arglist): Declare.
14147
14148 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14149
14150 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14151 (ediff-window-C): Declare.
14152
14153 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14154 Tweak requires to silence compiler.
14155
14156 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14157 (he-search-string, he-tried-table, he-expand-list)
14158 (he-init-string, he-string-member, he-substitute-string)
14159 (he-reset-string): Declare.
14160
14161 * obsolete/options.el (list-options): Use custom-variable-p,
14162 rather than obsolete alias.
14163
14164 2013-05-23 Sam Steingold <sds@gnu.org>
14165
14166 * simple.el (shell-command-on-region): Pass the `replace' argument
14167 down to `call-process-region' to comply with the doc as reported on
14168 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14169
14170 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * emacs-lisp/smie.el (smie-indent-forward-token)
14173 (smie-indent-backward-token): Handle string tokens (bug#14381).
14174
14175 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14176
14177 * ielm.el (ielm-menu): New menu.
14178 (inferior-emacs-lisp-mode): Set comment-start.
14179
14180 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14181
14182 * textmodes/reftex.el (reftex-ref-style-toggle):
14183 Fix deactivate action.
14184
14185 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14186 Add cleveref macros.
14187
14188 * textmodes/reftex-parse.el
14189 (reftex-locate-bibliography-files): Accept options for
14190 bibliography commands.
14191 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14192 Add addbibresource. Basic Biblatex support.
14193
14194 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14195
14196 * net/tramp-gvfs.el (top):
14197 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14198 when loading package. (Bug#14447)
14199
14200 2013-05-23 Glenn Morris <rgm@gnu.org>
14201
14202 * progmodes/js.el: No need to load comint when compiling.
14203 (ring-insert, comint-send-string, comint-send-input)
14204 (comint-last-input-end, ido-chop): Declare.
14205
14206 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14207 * vc/ediff-mult.el: Adjust requires.
14208 (ediff-directories-internal, ediff-directory-revisions-internal)
14209 (ediff-patch-file-internal): Declare.
14210 * vc/ediff-ptch.el: Adjust requires.
14211 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14212 (ediff-find-file): Autoload.
14213 * vc/ediff-util.el: No need to load ediff when compiling.
14214 (ediff-regions-internal): Declare.
14215 * vc/ediff-wind.el: Adjust requires.
14216 (ediff-compute-toolbar-width): Define when compiling.
14217 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14218 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14219 (dired-get-filename, dired-get-marked-files)
14220 (ediff-last-dir-patch, ediff-patch-default-directory)
14221 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14222 (ediff-patch-buffer-internal): Declare.
14223
14224 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14225 (ispell-process, ispell-buffer-local-words, lm-summary)
14226 (lm-section-start, lm-section-end): Declare.
14227 (checkdoc-ispell-init): Simplify.
14228
14229 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14230 (he-string-member, he-reset-string, he-substitute-string): Declare.
14231
14232 * eshell/em-ls.el: Adjust requires.
14233 (eshell-glob-regexp): Declare.
14234 * eshell/em-tramp.el: Adjust requires.
14235 (eshell-parse-command): Autoload.
14236 * eshell/em-xtra.el: Adjust requires.
14237 (eshell-parse-command): Autoload.
14238 * eshell/esh-ext.el: Adjust requires.
14239 (eshell-parse-command, eshell-close-handles): Autoload.
14240 * eshell/esh-io.el: Adjust requires.
14241 (eshell-output-filter): Autoload.
14242 * eshell/esh-util.el: No need to load tramp when compiling.
14243 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14244 Declare.
14245 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14246 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14247 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14248 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14249 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14250 * eshell/esh-opt.el, eshell/esh-proc.el:
14251 * eshell/esh-var.el: Adjust requires.
14252 * eshell/eshell.el: Do not require esh-util twice.
14253 (eshell-add-input-to-history): Declare.
14254 (eshell-command): Check history module is active before using it.
14255
14256 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14257
14258 2013-05-22 Leo Liu <sdl.web@gmail.com>
14259
14260 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14261
14262 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14263
14264 * autorevert.el (auto-revert-notify-add-watch)
14265 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14266 it indicates changes in file modification time.
14267
14268 2013-05-22 Glenn Morris <rgm@gnu.org>
14269
14270 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14271 Always delete the autoloaded function from the noruntime and
14272 unresolved functions lists.
14273
14274 * allout.el: No need to load epa, epg, overlay when compiling.
14275 (epg-context-set-passphrase-callback, epg-list-keys)
14276 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14277 (epg-key-user-id-list): Declare.
14278
14279 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14280 (viper-set-parsing-style-toggling-macro)
14281 (viper-set-emacs-state-searchstyle-macros):
14282 Use called-interactively-p on Emacs.
14283 (viper-looking-back): Make it an obsolete alias. Update callers.
14284 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14285 Use looking-back rather than viper-looking-back.
14286 (viper-tmp-insert-at-eob, viper-enlarge-region)
14287 (viper-read-string-with-history, viper-register-to-point)
14288 (viper-append-to-register, viper-change-state-to-vi)
14289 (viper-backward-char-carefully, viper-forward-char-carefully)
14290 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14291 (viper-change-state-to-emacs): Declare.
14292 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14293 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14294 * emulation/viper-mous.el: Do not load viper-cmd.
14295 (viper-backward-char-carefully, viper-forward-char-carefully)
14296 (viper-forward-word, viper-adjust-window): Declare.
14297
14298 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14299
14300 * progmodes/idlw-help.el (idlwave-help-fontify):
14301 Use called-interactively-p.
14302
14303 * term/w32console.el (w32-get-console-codepage)
14304 (w32-get-console-output-codepage): Declare.
14305
14306 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14307 Remove unnecessary declarations.
14308 (dframe-message): Doc fix.
14309
14310 * info.el (dframe-select-attached-frame, dframe-current-frame):
14311 Declare.
14312
14313 * speedbar.el (speedbar-message): Make it an obsolete alias.
14314 Update all callers.
14315 (speedbar-with-attached-buffer)
14316 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14317 (speedbar-with-writable): Use backquote.
14318 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14319 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14320 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14321 rather than speedbar- aliases.
14322 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14323 (speedbar-make-specialized-keymap, speedbar-insert-button)
14324 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14325 (speedbar-do-function-pointer): Declare.
14326 (rmail-speedbar-button, rmail-speedbar-find-file)
14327 (rmail-speedbar-move-message):
14328 Use dframe-with-attached-buffer rather than speedbar- alias.
14329 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14330 (dframe-message, speedbar-make-specialized-keymap)
14331 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14332 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14333 (speedbar-insert-button, dframe-select-attached-frame)
14334 (dframe-maybee-jump-to-attached-frame)
14335 (speedbar-change-initial-expansion-list)
14336 (speedbar-previously-used-expansion-list-name): Declare.
14337 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14338 Use dframe-message, dframe-with-attached-buffer rather than
14339 speedbar- aliases.
14340 (gud-sentinel): Silence compiler.
14341 * progmodes/vhdl-mode.el (speedbar-refresh)
14342 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14343 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14344 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14345 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14346 (speedbar-file-lists, speedbar-make-tag-line)
14347 (speedbar-line-directory, speedbar-goto-this-file)
14348 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14349 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14350 (speedbar-make-button, speedbar-reset-scanners)
14351 (speedbar-files-item-info, speedbar-line-text)
14352 (speedbar-find-file-in-frame, speedbar-set-timer)
14353 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14354 (speedbar-with-writable): Do not (re)define it.
14355 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14356 rather than speedbar- alias.
14357
14358 2013-05-21 Leo Liu <sdl.web@gmail.com>
14359
14360 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14361 menu items.
14362 (octave-mode): Tweak fill-nobreak-predicate.
14363 (inferior-octave-startup): Check process to avoid infinite loop.
14364 (inferior-octave): Pop to buffer first to show abornmal process
14365 exit information.
14366
14367 2013-05-21 Glenn Morris <rgm@gnu.org>
14368
14369 * printing.el (pr-menu-bar): Define when compiling.
14370
14371 2013-05-21 Leo Liu <sdl.web@gmail.com>
14372
14373 * progmodes/octave.el (octave-auto-fill): Remove.
14374 (octave-indent-new-comment-line): Improve.
14375 (octave-mode): Use auto fill mode through
14376 comment-line-break-function and fill-nobreak-predicate.
14377 (octave-goto-function-definition): Support DEFUN_DLD.
14378 (octave-beginning-of-defun): Small tweak.
14379 (octave-help): Show parent directory.
14380
14381 2013-05-21 Glenn Morris <rgm@gnu.org>
14382
14383 * files.el (dired-unmark):
14384 * progmodes/gud.el (gdb-input): Update declarations.
14385
14386 * calculator.el (electric, ehelp): No need to load when compiling.
14387 (Electric-command-loop, electric-describe-mode): Declare.
14388
14389 * doc-view.el (doc-view-current-converter-processes): Move before use.
14390
14391 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14392 Move MODE-set-explicitly definition before use.
14393
14394 * international/mule-diag.el (mule-diag):
14395 Don't use obsolete window-system-version.
14396
14397 * mail/feedmail.el (smtpmail): No need to load when compiling.
14398 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14399
14400 * mail/mail-utils.el (rfc822): No need to load when compiling.
14401 (rfc822-addresses): Autoload it.
14402 (mail-strip-quoted-names): Trivial simplification.
14403
14404 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14405 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14406
14407 * net/snmp-mode.el (tempo): Don't duplicate requires.
14408
14409 * progmodes/prolog.el (info): No need to load when compiling.
14410 (comint): Require before shell requires it.
14411 (Info-goto-node): Autoload it.
14412 (Info-follow-nearest-node): Declare.
14413 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14414
14415 * textmodes/artist.el (picture-mode-exit): Declare.
14416
14417 * textmodes/reftex-parse.el (reftex-parse-from-file):
14418 Trivial rewrite so the compiler can parse it better.
14419
14420 2013-05-20 Leo Liu <sdl.web@gmail.com>
14421
14422 * progmodes/octave.el (octave-help-mode-map)
14423 (octave-help-mode-finish-hook): New variables.
14424 (octave-help-mode, octave-help-mode-finish): New functions.
14425 (octave-help): Use octave-help-mode.
14426
14427 2013-05-20 Glenn Morris <rgm@gnu.org>
14428
14429 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14430
14431 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14432
14433 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14434 start at point, so that expansion starting right after opening
14435 slash in a regexp is recognized.
14436 (ruby-syntax-before-regexp-re): New defvar, extracted from
14437 ruby-syntax-propertize-function. Since the value of this regexp
14438 is looked up at runtime now, we should be able to turn
14439 `ruby-syntax-methods-before-regexp' into a defcustom later.
14440 (ruby-syntax-propertize-function): Split regexp matching into two
14441 parts, for opening and closing slashes. That allows us to skip
14442 over string interpolations and support multiline regexps.
14443 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14444 for them, which calls `ruby-syntax-propertize-expansion'.
14445 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14446 call to `ruby-syntax-propertize-function'.
14447 (ruby-syntax-propertize-expansion): Extracted from
14448 `ruby-syntax-propertize-expansions'. Handles one expansion.
14449 (ruby-syntax-propertize-percent-literal): Leave point right after
14450 the percent symbol, so that the expression expansion rule can
14451 propertize the contents.
14452 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14453 heredoc openers.
14454 (ruby-syntax-propertize-expansions): Remove.
14455
14456 2013-05-18 Juri Linkov <juri@jurta.org>
14457
14458 * man.el (Man-default-man-entry): Remove `-' from the end
14459 of the default value. (Bug#14400)
14460
14461 2013-05-18 Glenn Morris <rgm@gnu.org>
14462
14463 * comint.el (comint-password-prompt-regexp):
14464 Allow "password for XXX" where XXX contains colons (eg https://...).
14465
14466 2013-05-18 Leo Liu <sdl.web@gmail.com>
14467
14468 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14469 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14470 (octave-source-directories): Don't check process.
14471 (octave-source-directories, octave-find-definition): Doc fix.
14472
14473 2013-05-18 Glenn Morris <rgm@gnu.org>
14474
14475 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14476 Remove backspace/delete bindings. (Bug#14392)
14477
14478 * cus-dep.el (custom-make-dependencies): Sort the output.
14479 (custom-versions-load-alist): Convert comment to doc.
14480
14481 2013-05-17 Leo Liu <sdl.web@gmail.com>
14482
14483 * newcomment.el (comment-search-backward): Stricter in finding
14484 comment start. (Bug#14303)
14485
14486 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14487 (octave-comment-start-skip): Properly anchored.
14488
14489 2013-05-17 Leo Liu <sdl.web@gmail.com>
14490
14491 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14492 Clean up when turned off. (Bug#14395)
14493 (smie--highlight-matching-block-overlay): No longer buffer-local.
14494 (smie-highlight-matching-block): Adjust.
14495
14496 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14497
14498 Doc string fix for "nanoseconds" (Bug#14406).
14499 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14500 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14501
14502 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14503
14504 * calc/calc-units.el (math-extract-units): Preserve powers
14505 of units.
14506
14507 2013-05-17 Leo Liu <sdl.web@gmail.com>
14508
14509 * subr.el (delete-consecutive-dups): New function.
14510 * ido.el (ido-set-matches-1): Use it.
14511 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14512 * ido.el (ido-remove-consecutive-dups): Remove.
14513
14514 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14515
14516 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14517 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14518 regexp-opt's `words'.
14519
14520 2013-05-16 Leo Liu <sdl.web@gmail.com>
14521
14522 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14523 (smie--highlight-matching-block-overlay)
14524 (smie--highlight-matching-block-lastpos)
14525 (smie--highlight-matching-block-timer): New variables.
14526 (smie-highlight-matching-block): New function.
14527 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14528 (smie-setup): Conditionally enable smie-blink-matching-open.
14529
14530 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14531
14532 Sync with upstream verilog-mode r840.
14533 * progmodes/verilog-mode.el (verilog-mode-version)
14534 (verilog-mode-release-date): Update.
14535 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14536 (verilog-sig-tieoff): Fix string error on
14537 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14538 (verilog-read-decls): Fix parameters confusing
14539 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14540
14541 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14542
14543 * subr.el (reveal-filename): New function.
14544
14545 * loadup.el: Compute Emacs executable versions on MS-Windows,
14546 where executables have the .exe extension. Add a hard link
14547 emacs-XX.YY.ZZ.exe on MS-Windows.
14548
14549 * Makefile.in (XARGS_LIMIT): New variable.
14550 (custom-deps, finder-data, autoloads)
14551 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14552 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14553 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14554 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14555
14556 2013-05-16 Leo Liu <sdl.web@gmail.com>
14557
14558 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14559 (octave-mode-menu, octave-mode-map): Remove its uses.
14560
14561 2013-05-16 Reto Zimmermann <reto@gnu.org>
14562
14563 Sync with upstream vhdl mode v3.34.2.
14564 * progmodes/vhdl-mode.el: Use `push' throughout.
14565 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14566 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14567 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14568 (vhdl-actual-generic-name): New option to derive actual generic name.
14569 (vhdl-port-paste-signals): Replace formal by actual generics.
14570 (vhdl-beautify): New name for old group vhdl-align. Update users.
14571 (vhdl-beautify-options): New option.
14572 (vhdl-last-input-event): New compat alias. Use throughout.
14573 (vhdl-goto-line): Replace user level function `goto-line'.
14574 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14575 vhdl-fix-statement-buffer.
14576 (vhdl-create-mode-menu): Add some entries.
14577 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14578 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14579 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14580 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14581 to force statements on one line.
14582 (vhdl-remove-trailing-spaces-region):
14583 New, split from vhdl-remove-trailing-spaces.
14584 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14585 Respect vhdl-beautify-options.
14586 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14587 (vhdl-update-sensitivity-list): Not add with index if exists without.
14588 Not include array index with signal. Ignore keywords in comments.
14589 (vhdl-get-visible-signals): Regexp tweaks.
14590 (vhdl-template-component-inst): Handle empty library.
14591 (vhdl-template-type): Add template for 'enum' type.
14592 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14593 Use vhdl-replace-string.
14594 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14595 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14596 (vhdl-speedbar-initialize): Update for above name change.
14597 (vhdl-compose-wire-components): Fix in handling of constants.
14598 (vhdl-error-regexp-emacs-alist): New variable.
14599 (vhdl-error-regexp-add-emacs): New function;
14600 adds support for new compile.el (Emacs 22+)
14601 (vhdl-generate-makefile-1): Change target order for single lib. units.
14602 Allow use of absolute file names.
14603
14604 2013-05-16 Leo Liu <sdl.web@gmail.com>
14605
14606 * simple.el (prog-indent-sexp): Indent enclosing defun.
14607
14608 2013-05-15 Glenn Morris <rgm@gnu.org>
14609
14610 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14611 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14612 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14613 (whitespace-highlight): Move to whitespace group.
14614
14615 * comint.el (comint-source):
14616 * pcmpl-linux.el (pcmpl-linux):
14617 * shell.el (shell-faces):
14618 * eshell/esh-opt.el (eshell-opt):
14619 * international/ccl.el (ccl): Remove empty custom groups.
14620
14621 * completion.el (dynamic-completion-mode):
14622 * jit-lock.el (jit-lock-debug-mode):
14623 * minibuffer.el (completion-in-region-mode):
14624 * type-break.el (type-break-mode-line-message-mode)
14625 (type-break-query-mode):
14626 * emulation/tpu-edt.el (tpu-edt-mode):
14627 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14628 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14629 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14630
14631 * term/xterm.el (xterm): Change parent group to terminals.
14632
14633 * master.el (master): Remove empty custom group.
14634 (master-mode): Remove unused :group argument.
14635 * textmodes/refill.el (refill): Remove empty custom group.
14636 (refill-mode): Remove unused :group argument.
14637
14638 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14639
14640 * cus-dep.el: Provide a feature.
14641 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14642 Don't mistakenly ignore files whose basenames match a basename
14643 from preloaded-file-list (eg cedet/ede/simple.el).
14644 Add a fallback method for getting :group.
14645
14646 2013-05-15 Juri Linkov <juri@jurta.org>
14647
14648 * isearch.el (isearch-char-by-name): Rename from
14649 `isearch-insert-char-by-name'. Doc fix.
14650 (isearch-forward): Mention `isearch-char-by-name' in
14651 the docstring. (Bug#13348)
14652
14653 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14654 `exit-minibuffer' instead of
14655 `isearch-nonincremental-exit-minibuffer'.
14656 (isearch-edit-string): Remove mention of
14657 `isearch-nonincremental-exit-minibuffer' from docstring.
14658 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14659 (isearch-forward-exit-minibuffer)
14660 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14661
14662 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14663
14664 * loadup.el: Just use unversioned DOC.
14665
14666 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14667 literals as extending to EOB.
14668 (nxml-last-fontify-end): Remove unused variable.
14669 (nxml-after-change1): Use with-silent-modifications.
14670 (nxml-extend-after-change-region): Simplify.
14671 (nxml-extend-after-change-region1): Remove function.
14672 (nxml-after-change1): Don't adjust for dependent regions.
14673 (nxml-fontify-matcher): Simplify.
14674 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14675 (xmltok-add-dependent): Remove function.
14676 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14677 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14678 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14679 unclosed <[[, <?, comment, and other literals as extending to EOB.
14680 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14681 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14682 Remove functions.
14683 (rng-do-some-validation-1): Don't mark dependent regions.
14684 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14685 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14686 (nxml-clear-dependent-regions): Remove functions.
14687 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14688 (nxml-ensure-scan-up-to-date):
14689 Don't clear&mark dependent regions.
14690
14691 2013-05-15 Leo Liu <sdl.web@gmail.com>
14692
14693 * progmodes/octave.el (octave-goto-function-definition):
14694 Improve and fix callers.
14695
14696 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14697
14698 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14699 the setter (bug#14387).
14700
14701 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14702 surrounding group (bug#14402).
14703
14704 2013-05-14 Juri Linkov <juri@jurta.org>
14705
14706 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14707 (Bug#14390)
14708
14709 2013-05-14 Glenn Morris <rgm@gnu.org>
14710
14711 * progmodes/f90.el (f90-imenu-generic-expression):
14712 Fix typo in 2013-05-08 change. (Bug#14402)
14713
14714 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14715
14716 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14717 Remove signals for which replies are never received.
14718
14719 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14720
14721 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14722 (gdb-handler-alist, gdb-handler-number): Remove variables.
14723 (gdb-handler-list): New variable.
14724 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14725 (gdb-pending-handler-p, gdb-handle-reply)
14726 (gdb-remove-all-pending-triggers): New functions.
14727 (gdb-discard-unordered-replies): New defcustom.
14728 (gdb-handler): New defstruct.
14729 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14730 instead of gdb-pending-triggers. Update docstring.
14731 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14732 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14733 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14734 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14735 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14736 (gdb-frame-handler): Pending triggers are now automatically managed.
14737 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14738 Remove argument.
14739 (gdb-input): Automatically handles pending triggers. Update docstring.
14740 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14741 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14742 Update comments.
14743 (gdb-done-or-error): Now use gdb-handle-reply.
14744
14745 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14746
14747 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14748 gdb-debug-log.
14749
14750 2013-05-14 Glenn Morris <rgm@gnu.org>
14751
14752 * subr.el (user-emacs-directory-warning): New option.
14753 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14754
14755 2013-05-14 Leo Liu <sdl.web@gmail.com>
14756
14757 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14758 during redisplay.
14759 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14760 (octave-font-lock-texinfo-comment): Fix invalid search bound
14761 error: wrong side of point.
14762
14763 2013-05-14 Glenn Morris <rgm@gnu.org>
14764
14765 * progmodes/flymake.el (flymake-xml-program): New option.
14766 (flymake-xml-init): Use it.
14767
14768 * term/xterm.el: Provide a feature.
14769
14770 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14771
14772 2013-05-13 Glenn Morris <rgm@gnu.org>
14773
14774 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14775 Add compat aliases as a hack workaround. (Bug#14384)
14776
14777 2013-05-13 Leo Liu <sdl.web@gmail.com>
14778
14779 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14780 ###, and %!.
14781 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14782 C-M-q.
14783 (octave-comment-start-skip): Include %!.
14784 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14785
14786 2013-05-12 Leo Liu <sdl.web@gmail.com>
14787
14788 * progmodes/octave.el (inferior-octave-startup): Store the value
14789 of __octave_srcdir__ for octave-source-directories.
14790 (inferior-octave-check-process): New function refactored out of
14791 inferior-octave-send-list-and-digest.
14792 (octave-source-directories)
14793 (octave-find-definition-filename-function): New variables.
14794 (octave-source-directories)
14795 (octave-find-definition-default-filename): New functions.
14796 (octave-find-definition): Improve to find functions implemented in C++.
14797
14798 2013-05-12 Glenn Morris <rgm@gnu.org>
14799
14800 * calendar/diary-lib.el (diary-outlook-format-1):
14801 Don't include dayname in the output. (Bug#14349)
14802
14803 2013-05-11 Glenn Morris <rgm@gnu.org>
14804
14805 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14806
14807 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14808 Treat cc-provide like provide.
14809
14810 2013-05-11 Kevin Ryde <user42@zip.com.au>
14811
14812 * cus-dep.el (custom-make-dependencies):
14813 Use generated-autoload-load-name for the sake of files such
14814 such cedet/semantic/bovine/c.el, where the base file name
14815 is not in load-path. (Bug#5277)
14816
14817 2013-05-11 Glenn Morris <rgm@gnu.org>
14818
14819 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14820 Provide features.
14821
14822 2013-05-11 Leo Liu <sdl.web@gmail.com>
14823
14824 * progmodes/octave.el (octave-indent-comment): Improve.
14825 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14826 (octave-eldoc-function-signatures, octave-eldoc-function):
14827 New functions.
14828 (octave-mode, inferior-octave-mode): Add eldoc support.
14829
14830 2013-05-11 Richard Stallman <rms@gnu.org>
14831
14832 * epa.el (epa-decrypt-file): Take output file name as argument
14833 and read it using `interactive'.
14834
14835 2013-05-11 Leo Liu <sdl.web@gmail.com>
14836
14837 * progmodes/octave.el (octave-beginning-of-line)
14838 (octave-end-of-line): Check before using up-list because it jumps
14839 out of more syntactic contructs since moving to smie.
14840 (octave-indent-comment): New function.
14841 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14842 (octave-begin-keywords, octave-end-keywords)
14843 (octave-reserved-words, octave-smie-bnf-table)
14844 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14845
14846 2013-05-11 Glenn Morris <rgm@gnu.org>
14847
14848 * faces.el (internal-face-x-get-resource):
14849 * frame.el (ns-display-monitor-attributes-list):
14850 * calc/calc-aent.el (math-to-radians-2):
14851 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14852 Fix declarations.
14853
14854 * calc/calc-menu.el: Make it loadable in isolation.
14855
14856 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14857 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14858 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14859 (eudc-bbdb-query-internal): Require 'bbdb.
14860
14861 * lpr.el (lpr-headers-switches):
14862 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14863
14864 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14865
14866 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14867
14868 * term.el (term-set-escape-char): Make it idempotent.
14869
14870 2013-05-10 Leo Liu <sdl.web@gmail.com>
14871
14872 * progmodes/octave.el (inferior-octave-completion-table):
14873 No longer a function and all uses changed. Use cache to speed up
14874 completion due to bug#11906.
14875 (octave-beginning-of-defun): Re-write to be more general.
14876
14877 2013-05-10 Glenn Morris <rgm@gnu.org>
14878
14879 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14880
14881 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14882
14883 * comint.el (comint-redirect-send-command-to-process): Use :around
14884 rather than :override for comint-redirect-filter.
14885 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14886 Call it instead of comint-redirect-original-filter-function (which
14887 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14888
14889 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14890
14891 * frame.el (display-monitor-attributes-list): Add NS case.
14892 (ns-display-monitor-attributes-list): Declare.
14893
14894 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14895
14896 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14897
14898 2013-05-09 Glenn Morris <rgm@gnu.org>
14899
14900 * international/fontset.el (vertical-centering-font-regexp):
14901 Set standard-value.
14902
14903 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14904
14905 * bookmark.el (bookmark-search-delay):
14906 * cus-start.el (vertical-centering-font-regexp):
14907 * ps-mule.el (ps-mule-font-info-database-default):
14908 * ps-print.el (ps-default-fg, ps-default-bg):
14909 * type-break.el (type-break-good-break-interval):
14910 * whitespace.el (whitespace-indentation-regexp)
14911 (whitespace-space-after-tab-regexp):
14912 * emacs-lisp/testcover.el (testcover-1value-functions)
14913 (testcover-noreturn-functions, testcover-progn-functions)
14914 (testcover-prog1-functions):
14915 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14916 * eshell/em-glob.el (eshell-glob-translate-alist):
14917 * play/tetris.el (tetris-tty-colors):
14918 * progmodes/cpp.el (cpp-face-default-list):
14919 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14920 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14921 (idlwave-help-browser-generic-args):
14922 * progmodes/make-mode.el (makefile-special-targets-list):
14923 * progmodes/python.el (python-shell-virtualenv-path):
14924 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14925 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14926 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14927 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14928 * textmodes/reftex-vars.el (reftex-format-label-function):
14929 * textmodes/remember.el (remember-diary-file): Fix custom types.
14930
14931 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14932 Add :version.
14933
14934 2013-05-09 Leo Liu <sdl.web@gmail.com>
14935
14936 * progmodes/octave.el (inferior-octave-completion-at-point):
14937 Restore file completion. (Bug#14300)
14938 (inferior-octave-startup): Fix incorrect highlighting for the
14939 first prompt.
14940
14941 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14942
14943 * progmodes/ruby-mode.el: First cut at SMIE support.
14944 (ruby-use-smie): New var.
14945 (ruby-smie-grammar): New constant.
14946 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14947 (ruby-smie--forward-token, ruby-smie--backward-token)
14948 (ruby-smie-rules): New functions.
14949 (ruby-mode-variables): Setup SMIE if applicable.
14950
14951 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14952
14953 * simple.el (line-move-visual): Signal beginning/end of buffer
14954 only if vertical-motion moved less than it was requested. Avoids
14955 silly incorrect error messages when there are display strings with
14956 multiple newlines at EOL.
14957
14958 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14959
14960 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14961 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14962 (prolog-char-quote-workaround):
14963 * progmodes/cperl-mode.el (cperl-under-as-char):
14964 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14965 Mark as obsolete.
14966 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14967 their declaration.
14968 (vhdl-mode-syntax-table-init): Remove.
14969
14970 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14971 last change.
14972
14973 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14974 syntax for "_".
14975 (ld-script-font-lock-keywords):
14976 Change regexps to use things like \_< and \_>.
14977
14978 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14979 Change all regexps to use things like \_< and \_>.
14980
14981 * progmodes/autoconf.el (autoconf-definition-regexp)
14982 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14983 Handle a _ with symbol syntax.
14984 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14985
14986 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14987 Consolidate declaration.
14988 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14989 the declaration.
14990 (ada-create-syntax-table): Remove.
14991 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14992 already has the right syntax nowadays.
14993 (ada-goto-next-word): Don't change the syntax of "_".
14994
14995 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14996 with-wrapper-hook.
14997
14998 2013-05-08 Sam Steingold <sds@gnu.org>
14999
15000 * thingatpt.el (thing-at-point): Accept optional second argument
15001 NO-PROPERTIES to strip the text properties from the return value.
15002 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15003 to `thing-at-point' instead of stripping the properties ourselves.
15004 Also, when `thing-at-point' fails to find a url, prepend "http://"
15005 to the filename at point on the assumption that the user is
15006 pointing at something like gnu.org/gnu.
15007
15008 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15009
15010 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15011 * faces.el (crm-separator):
15012 Silence byte-compiler.
15013
15014 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15015 (tool-bar-map): Remove unneeded defvars.
15016
15017 2013-05-08 Leo Liu <sdl.web@gmail.com>
15018
15019 Re-work a fix for bug#10994 based on Le Wang's patch.
15020 * ido.el (ido-remove-consecutive-dups): New helper.
15021 (ido-completing-read): Use it.
15022 (ido-chop): Revert fix for bug#10994.
15023
15024 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15025
15026 * cus-edit.el (custom-save-variables):
15027 Pretty-print long values. (Bug#14187)
15028
15029 2013-05-08 Glenn Morris <rgm@gnu.org>
15030
15031 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15032 (m4-mode-syntax-table): Init in the defvar.
15033 (m4-mode-abbrev-table): Let define-derived-mode define it.
15034
15035 2013-05-08 Tom Tromey <tromey@redhat.com>
15036
15037 * progmodes/m4-mode.el (m4-mode-syntax-table):
15038 Do not treat "_" as word constituent. (Bug#14167)
15039
15040 2013-05-07 Glenn Morris <rgm@gnu.org>
15041
15042 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15043 Remove explicit eshell-isearch-cancel-map.
15044
15045 * progmodes/f90.el (f90-smart-end-names): New option.
15046 (f90-smart-end): Doc fix.
15047 (f90-end-block-optional-name): New constant.
15048 (f90-block-match): Respect f90-smart-end-names.
15049
15050 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15051
15052 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15053 about implicit semi-colons (bug#14218).
15054
15055 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15056
15057 * frame.el (display-monitor-attributes-list)
15058 (frame-monitor-attributes): New functions.
15059
15060 2013-05-06 Leo Liu <sdl.web@gmail.com>
15061
15062 * progmodes/octave.el (octave-syntax-propertize-function): Change
15063 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15064 (octave-font-lock-keywords): Use octave-operator-regexp.
15065 (octave-completion-at-point): Rename from
15066 octave-completion-at-point-function.
15067 (inferior-octave-directory-tracker): Robustify.
15068 (octave-text-functions): Remove and fix its uses. No such things
15069 any more.
15070
15071 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * emacs-lisp/trace.el (trace--display-buffer): New function.
15074 (trace-make-advice): Use it.
15075
15076 2013-05-06 Juri Linkov <juri@jurta.org>
15077
15078 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15079 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15080 Doc fix.
15081 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15082 in the help string. (Bug#12985)
15083
15084 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15085
15086 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15087
15088 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15089
15090 * progmodes/perl-mode.el: Add support for here documents.
15091 (perl-syntax-propertize-function): Match here-doc markers.
15092 (perl-syntax-propertize-special-constructs): Find their end.
15093 (perl-imenu-generic-expression): Use [:alnum:].
15094
15095 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15096 (advice--add-function): Refresh the advice if already present
15097 (bug#14317).
15098
15099 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15100
15101 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15102
15103 2013-05-06 Glenn Morris <rgm@gnu.org>
15104
15105 * w32-fns.el (w32-charset-info-alist): Declare.
15106
15107 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15108 of its defcustom properties.
15109 (eshell-cmpl-initialize): No need to load pcomplete.
15110
15111 * generic-x.el: No need to require comint when compiling.
15112
15113 * net/eudc-export.el: Make it loadable without bbdb.
15114 (top-level): Use require rather than load-library.
15115 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15116 (eudc-batch-export-records-to-bbdb)
15117 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15118 Require bbdb.
15119
15120 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15123 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15124 some tweaks, instead.
15125
15126 2013-05-05 Leo Liu <sdl.web@gmail.com>
15127
15128 * progmodes/octave.el (octave-font-lock-keywords)
15129 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15130 (inferior-octave-send-list-and-digest): Improve error message.
15131 (octave-mode, inferior-octave-mode): Use setq-local.
15132 (octave-help): Set info-lookup-mode.
15133
15134 2013-05-05 Richard Stallman <rms@gnu.org>
15135
15136 * vc/compare-w.el (compare-windows-whitespace):
15137 Treat no-break space as whitespace.
15138
15139 * mail/rmailsum.el (rmail-summary-rmail-update):
15140 Detect empty summary and don't change selected message.
15141 (rmail-summary-goto-msg): Likewise.
15142
15143 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15144 Doc fixes, rename args.
15145
15146 2013-05-05 Alan Mackenzie <acm@muc.de>
15147
15148 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15149
15150 2013-05-05 Juri Linkov <juri@jurta.org>
15151
15152 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15153 to not add the length of the summary segment to the return value.
15154 (Bug#14125)
15155
15156 2013-05-05 Leo Liu <sdl.web@gmail.com>
15157
15158 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15159 (inferior-octave-output-filter): Remove.
15160 (octave-send-region, inferior-octave-startup): Fix callers.
15161 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15162 (octave-binary-file-extensions): New user variable.
15163 (octave-find-definition): Confirm if opening binary files.
15164 (octave-help-file): Use octave-find-definition to get the binary
15165 confirmation.
15166 (octave-help): Adjust for octave-help-file change.
15167
15168 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15169
15170 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15171 Merge the two entries that handle function definitions.
15172 (pascal--syntax-propertize): New const.
15173 (pascal-mode): Use it. Use setq-local.
15174
15175 2013-05-04 Glenn Morris <rgm@gnu.org>
15176
15177 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15178 (diary-from-outlook): Respect diary-from-outlook-function.
15179
15180 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15181
15182 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15183 Move the declaration from C.
15184 (read-minibuffer, eval-minibuffer): Move from C.
15185 (completion-setup-function): Avoid minibuffer-completion-contents.
15186
15187 2013-05-03 Leo Liu <sdl.web@gmail.com>
15188
15189 * progmodes/octave.el (octave-font-lock-keywords): Do not
15190 dehighlight 'end' in comments or strings.
15191 (octave-completing-read, octave-goto-function-definition):
15192 New helpers.
15193 (octave-help-buffer): New user variable.
15194 (octave-help-file, octave-help-function): New button types.
15195 (octave-help): New command and bind it to C-h ;.
15196 (octave-find-definition): New command and bind it to M-.
15197 (user-error): Alias to error if not defined.
15198
15199 2013-05-02 Leo Liu <sdl.web@gmail.com>
15200
15201 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15202 for \. (bug#14332)
15203 (octave-font-lock-keywords): Include [ and {.
15204
15205 2013-05-02 Leo Liu <sdl.web@gmail.com>
15206
15207 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15208 (inferior-octave): Remove calling comint-mode and return the buffer.
15209 (inferior-octave-startup): Cosmetic changes.
15210
15211 2013-05-02 Leo Liu <sdl.web@gmail.com>
15212
15213 * progmodes/octave.el (octave-syntax-propertize-function):
15214 Include the case when ' is at line beginning. (Bug#14336)
15215
15216 2013-05-02 Glenn Morris <rgm@gnu.org>
15217
15218 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15219 * desktop.el (vc-dir-mode): Just autoload it here.
15220
15221 2013-05-02 Alan Mackenzie <acm@muc.de>
15222
15223 Eliminate variable c-standard-font-lock-fontify-region-function.
15224 * progmodes/cc-mode.el
15225 (c-standard-font-lock-fontify-region-function): Remove.
15226 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15227
15228 2013-05-01 Leo Liu <sdl.web@gmail.com>
15229
15230 * progmodes/octave.el: Compatible with older emacs-24 releases.
15231 (inferior-octave-has-built-in-variables): Remove. Built-in
15232 variables were removed from Octave in 2007.
15233 (inferior-octave-startup): Fix uses.
15234 (comint-line-beginning-position): Remove compatibility code for
15235 emacs 21.
15236
15237 2013-05-01 Juri Linkov <juri@jurta.org>
15238
15239 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15240
15241 2013-05-01 Juri Linkov <juri@jurta.org>
15242
15243 * comint.el (comint-previous-matching-input): Don't print message
15244 "History item: %d" when `isearch-mode' is active.
15245 (comint-history-isearch-message): Print message "History item: %d"
15246 when `comint-input-ring-index' is not empty and this function is
15247 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15248
15249 2013-05-01 Leo Liu <sdl.web@gmail.com>
15250
15251 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15252 definitions. Use completion-at-point to insert keywords.
15253 (octave-abbrev-start): Remove.
15254 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15255
15256 2013-04-30 Leo Liu <sdl.web@gmail.com>
15257
15258 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15259 change.
15260
15261 2013-04-30 Alan Mackenzie <acm@muc.de>
15262
15263 Handle arbitrarily long C++ member initialisation lists.
15264 * progmodes/cc-engine.el (c-back-over-member-initializers):
15265 new function.
15266 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15267 (most) member init lists.
15268
15269 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15270
15271 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15272 variable.
15273
15274 2013-04-30 Leo Liu <sdl.web@gmail.com>
15275
15276 * progmodes/octave.el (octave-variables): Remove. No builtin
15277 variables any more. All converted to functions.
15278 (octave-font-lock-keywords, octave-completion-at-point-function):
15279 Fix uses.
15280 (octave-font-lock-texinfo-comment): New user variable.
15281 (octave-texinfo-font-lock-keywords): New variable for texinfo
15282 comment block.
15283 (octave-function-comment-block): New face.
15284 (octave-font-lock-texinfo-comment): New function.
15285 (octave-mode): Font lock texinfo comment block.
15286
15287 2013-04-29 Leo Liu <sdl.web@gmail.com>
15288
15289 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15290 indexing expression.
15291 (octave-continuation-string): Do not use \.
15292 (inferior-octave-complete-impossible): Remove.
15293 (inferior-octave-completion-table)
15294 (inferior-octave-completion-at-point): Remove its uses.
15295 (inferior-octave-startup): completion_matches was introduced to
15296 Octave in 1996 so safe to assume it.
15297 (octave-function-file-comment): Improve to follow how Octave does it.
15298 (octave-update-function-file-comment): Tweak.
15299
15300 2013-04-29 Leo Liu <sdl.web@gmail.com>
15301
15302 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15303 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15304 (octave-function-file-comment): Fix typo.
15305 (octave-sync-function-file-names): Use read-char-choice.
15306
15307 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15308
15309 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15310 to t for the less important warnings.
15311
15312 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15313
15314 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15315
15316 2013-04-27 Glenn Morris <rgm@gnu.org>
15317
15318 * vc/log-view.el (log-view-current-entry):
15319 Treat "---" separator lines as part of the following rev. (Bug#14169)
15320
15321 2013-04-27 Juri Linkov <juri@jurta.org>
15322
15323 * subr.el (read-number): Doc fix about using it by interactive
15324 code letter `n'. (Bug#14254)
15325
15326 2013-04-27 Juri Linkov <juri@jurta.org>
15327
15328 * desktop.el (desktop-auto-save-timeout): New option.
15329 (desktop-file-checksum): New variable.
15330 (desktop-save): Add optional arg `auto-save' and don't auto-save
15331 if nothing changed.
15332 (desktop-auto-save-timer): New variable.
15333 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15334 (after-init-hook): Call `desktop-auto-save-set-timer'.
15335 Suggested by Reuben Thomas <rrt@sc3d.org> in
15336 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15337
15338 2013-04-27 Leo Liu <sdl.web@gmail.com>
15339
15340 * progmodes/octave.el (octave-function-file-p)
15341 (octave-skip-comment-forward, octave-function-file-comment)
15342 (octave-update-function-file-comment): New functions.
15343 (octave-mode-map): Bind C-c ; to
15344 octave-update-function-file-comment.
15345 (octave-mode-menu): Add octave-update-function-file-comment.
15346 (octave-mode, inferior-octave-mode): Fix doc-string.
15347 (octave-insert-defun): Conform to Octave's coding convention.
15348 (Bug#14285)
15349
15350 * files.el (basic-save-buffer): Don't let errors in
15351 before-save-hook prevent saving buffer.
15352
15353 2013-04-20 Roland Winkler <winkler@gnu.org>
15354
15355 * faces.el (read-face-name): Use completing-read if arg multiple
15356 is nil.
15357
15358 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15359
15360 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15361 displayed, move point to after the totals line.
15362 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15363 for the details.
15364
15365 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15368 Add current dir to the load-path.
15369 (package-generate-autoloads): Don't rely on
15370 autoload-ensure-default-file.
15371
15372 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15373
15374 * textmodes/remember.el (remember-store-in-files): Document that
15375 the file name format is passed to `format-time-string'.
15376
15377 2013-04-26 Leo Liu <sdl.web@gmail.com>
15378
15379 * progmodes/octave.el (octave-sync-function-file-names): New function.
15380 (octave-mode): Use it in before-save-hook.
15381
15382 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15383
15384 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15385 (bug#14274).
15386
15387 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15388 \n and comment, even if it's not an implicit ; (bug#14218).
15389
15390 2013-04-26 Glenn Morris <rgm@gnu.org>
15391
15392 * subr.el (read-number): Once more use `read' rather than
15393 `string-to-number', to trap non-numeric input. (Bug#14254)
15394
15395 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15396
15397 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15398 Use `syntax-multiline' text property consistently instead of
15399 `font-lock-multiline'. (Bug#14237)
15400
15401 2013-04-26 Glenn Morris <rgm@gnu.org>
15402
15403 * emacs-lisp/shadow.el (list-load-path-shadows):
15404 No longer necessary to check for duplicate simple.el, since
15405 2012-07-07 change to init_lread to not include installation lisp
15406 directories in load-path when running uninstalled. (Bug#14270)
15407
15408 2013-04-26 Leo Liu <sdl.web@gmail.com>
15409
15410 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15411 (octave-mode, inferior-octave-mode): Use setq-local.
15412 (octave-not-in-string-or-comment-p): Rename to
15413 octave-in-string-or-comment-p.
15414 (octave-in-comment-p, octave-in-string-p)
15415 (octave-in-string-or-comment-p): Replace defsubst with defun.
15416
15417 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15418
15419 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15420
15421 2013-04-25 Bastien Guerry <bzg@gnu.org>
15422
15423 * textmodes/remember.el (remember-data-directory)
15424 (remember-directory-file-name-format): Fix custom types.
15425
15426 2013-04-25 Leo Liu <sdl.web@gmail.com>
15427
15428 * progmodes/octave.el (octave-completion-at-point-function):
15429 Make use of inferior octave process.
15430 (octave-initialize-completions): Remove.
15431 (inferior-octave-completion-table): New function.
15432 (inferior-octave-completion-at-point): Use it.
15433 (octave-completion-alist): Remove.
15434
15435 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15436
15437 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15438 (opascal-mode-syntax-table): New var.
15439 (opascal-literal-kind, opascal-is-literal-end)
15440 (opascal-literal-token-at): Rewrite.
15441 (opascal--literal-start-re, opascal-font-lock-keywords)
15442 (opascal--syntax-propertize): New constants.
15443 (opascal-font-lock-defaults): Adjust.
15444 (opascal-mode): Use them. Set comment-<foo> variables as well.
15445 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15446 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15447 (delphi-other-face, opascal-other-face): Remove face variables.
15448 (opascal-save-state): Remove macro.
15449 (opascal-fontifying-progress-step): Remove constant.
15450 (opascal--ignore-changes): Remove var.
15451 (opascal-set-token-property, opascal-parse-next-literal)
15452 (opascal-is-stable-literal, opascal-complete-literal)
15453 (opascal-is-literal-start, opascal-face-of)
15454 (opascal-parse-region, opascal-parse-region-until-stable)
15455 (opascal-fontify-region, opascal-after-change)
15456 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15457 (opascal-debug-parse-region, opascal-debug-parse-window)
15458 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15459 (opascal-debug-fontify-buffer): Remove.
15460 (opascal-debug-mode-map): Adjust accordingly.
15461
15462 2013-04-25 Leo Liu <sdl.web@gmail.com>
15463
15464 Merge octave-mod.el and octave-inf.el into octave.el with some
15465 cleanups.
15466 * progmodes/octave.el: New file renamed from octave-mod.el.
15467 * progmodes/octave-inf.el: Merged into octave.el.
15468 * progmodes/octave-mod.el: Renamed to octave.el.
15469
15470 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15471
15472 * textmodes/reftex-vars.el
15473 (reftex-label-ignored-macros-and-environments): New defcustom.
15474
15475 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15476
15477 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15478
15479 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15480 (smie-indent-keyword): Improve the check to ensure that the next
15481 comment is really on the same line.
15482 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15483
15484 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15485 semi-colons if the line is not otherwise empty (bug#14218).
15486
15487 2013-04-25 Glenn Morris <rgm@gnu.org>
15488
15489 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15490
15491 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15492
15493 * progmodes/opascal.el (opascal-set-token-property): Rename from
15494 opascal-set-text-properties and only set `token' (bug#14134).
15495 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15496 (opascal-literal-text-properties): Remove.
15497 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15498 Adjust callers.
15499
15500 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15501
15502 * textmodes/remember.el (remember-handler-functions): Add an
15503 option for a new handler `remember-store-in-files'.
15504 (remember-data-directory, remember-directory-file-name-format):
15505 New options.
15506 (remember-store-in-files): New function to store remember notes
15507 as separate files within a directory.
15508
15509 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15510
15511 * progmodes/compile.el (compilation-next-error-function):
15512 Pass "formats" to compilation-find-file (bug#11777).
15513
15514 2013-04-24 Glenn Morris <rgm@gnu.org>
15515
15516 * vc/vc-bzr.el (vc-bzr-print-log):
15517 * vc/vc-hg.el (vc-hg-print-log):
15518 * vc/vc-svn.el (vc-svn-print-log):
15519 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15520
15521 * vc/vc-bzr.el (vc-bzr-print-log):
15522 * vc/vc-cvs.el (vc-cvs-print-log):
15523 * vc/vc-git.el (vc-git-print-log):
15524 * vc/vc-hg.el (vc-hg-print-log):
15525 * vc/vc-mtn.el (vc-mtn-print-log):
15526 * vc/vc-rcs.el (vc-rcs-print-log):
15527 * vc/vc-sccs.el (vc-sccs-print-log):
15528 * vc/vc-svn.el (vc-svn-print-log):
15529 * vc/vc.el (vc-print-log-internal): Doc fixes.
15530
15531 2013-04-23 Glenn Morris <rgm@gnu.org>
15532
15533 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15534 Remove venerable code attempting to avoid substitute-command-keys.
15535
15536 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15537
15538 * textmodes/reftex-vars.el (reftex-label-regexps):
15539 Call `reftex-compile-variables' after changes to this variable.
15540
15541 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15542
15543 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15544 Use lexical-binding.
15545 (jit-lock-force-redisplay): Use markers, check buffer's continued
15546 existence and beware narrowed buffers.
15547 (jit-lock-fontify-now): Adjust call accordingly.
15548
15549 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15550
15551 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15552 to avoid misleading the user.
15553
15554 2013-04-22 Leo Liu <sdl.web@gmail.com>
15555
15556 * info-look.el: Prefer latex2e.info. (Bug#14240)
15557
15558 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15559
15560 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15561
15562 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15563 * net/tramp.el (tramp-call-process): ... here.
15564 (tramp-set-completion-function, tramp-parse-putty):
15565 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15566 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15567 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15568 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15569 (tramp-call-local-coding-command): Use `tramp-call-process'
15570 instead of `tramp-compat-call-process'.
15571
15572 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15573 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15574 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15575 (tramp-find-inline-compress): Improve traces.
15576 (tramp-maybe-send-script): Check for Perl binary.
15577 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15578
15579 2013-04-22 Daiki Ueno <ueno@gnu.org>
15580
15581 * epg.el (epg-context-pinentry-mode): New function.
15582 (epg-context-set-pinentry-mode): New function.
15583 (epg--start): Pass --pinentry-mode option to gpg command.
15584
15585 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15586
15587 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15588 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15589 `completion-at-point'. (Bug#13774)
15590
15591 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15592 default key binding for `describe-distribution' has been moved to
15593 `C-h C-o'. (Bug#13970)
15594
15595 2013-04-21 Glenn Morris <rgm@gnu.org>
15596
15597 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15598 Add doc strings.
15599 (vc-print-log): Clarify interactive prompt.
15600
15601 2013-04-20 Glenn Morris <rgm@gnu.org>
15602
15603 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15604 No longer include timestamp etc information.
15605
15606 2013-04-20 Roland Winkler <winkler@gnu.org>
15607
15608 * faces.el (read-face-name): Bug fix, return just one face if arg
15609 multiple is nil. (Bug#14209)
15610
15611 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15612
15613 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15614 (remove-function): Autoload.
15615
15616 * comint.el (comint-redirect-original-filter-function): Remove.
15617 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15618 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15619 (vc-cvs-annotate-command):
15620 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15621 * progmodes/prolog.el (prolog-consult-compile):
15622 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15623 Use add/remove-function instead.
15624 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15625 (gud-tooltip-process-output, gud-tooltip-tips):
15626 Use add/remove-function instead.
15627 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15628 (scheme-interaction-mode, exit-scheme-interaction-mode):
15629 Use add/remove-function instead.
15630
15631 * vc/vc-dispatcher.el: Use lexical-binding.
15632 (vc--process-sentinel): Rename from vc-process-sentinel.
15633 Change last arg to be the code to run. Don't use vc-previous-sentinel
15634 and vc-sentinel-commands any more.
15635 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15636 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15637
15638 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15639
15640 * progmodes/sh-script.el (sh-imenu-generic-expression):
15641 Handle function names with a single character. (Bug#14111)
15642
15643 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15644
15645 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15646 for subroutines defined in an eval (bug#14182).
15647
15648 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15649
15650 * bookmark.el (bookmark-completing-read): Improve handling of empty
15651 string (bug#14176).
15652
15653 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15654
15655 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15656
15657 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15658
15659 New faster Imenu implementation (bug#14058).
15660 * progmodes/python.el:
15661 (python-imenu-prev-index-position):
15662 (python-imenu-format-item-label-function)
15663 (python-imenu-format-parent-item-label-function)
15664 (python-imenu-format-parent-item-jump-label-function):
15665 New vars.
15666 (python-imenu-format-item-label)
15667 (python-imenu-format-parent-item-label)
15668 (python-imenu-format-parent-item-jump-label)
15669 (python-imenu--put-parent, python-imenu--build-tree)
15670 (python-imenu-create-index, python-imenu-create-flat-index)
15671 (python-util-popn): New functions.
15672 (python-mode): Set imenu-create-index-function to
15673 python-imenu-create-index.
15674
15675 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15676
15677 * winner.el (winner-active-region): Use region-active-p, activate-mark
15678 and deactivate-mark (bug#14225).
15679
15680 * simple.el (deactivate-mark): Don't inline it.
15681
15682 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15683
15684 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15685
15686 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15687
15688 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15689 file extensions from the archive-mode entry in order to prefer
15690 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15691
15692 2013-04-18 Leo Liu <sdl.web@gmail.com>
15693
15694 * bindings.el (help-event-list): Add ?\?.
15695
15696 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15697
15698 * subr.el (with-wrapper-hook): Declare obsolete.
15699 * simple.el (filter-buffer-substring-function): New hook.
15700 (filter-buffer-substring): Use it.
15701 (filter-buffer-substring-functions): Mark obsolete.
15702 * minibuffer.el (completion-in-region-function): New hook.
15703 (completion-in-region): Use it.
15704 (completion-in-region-functions): Mark obsolete.
15705 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15706 * abbrev.el (abbrev-expand-function): New hook.
15707 (expand-abbrev): Use it.
15708 (abbrev-expand-functions): Mark obsolete.
15709 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15710 and :filter-return.
15711
15712 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15713
15714 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15715 and do not care about match data.
15716
15717 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15718
15719 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15720 completion tables when completing error conditions and
15721 `declare' arguments.
15722 (lisp-complete-symbol, field-complete): Mark as obsolete.
15723 (check-parens): Unmatched parens are user errors.
15724 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15725
15726 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15727
15728 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15729 command changed buffer (ie. `flyspell-pre-buffer' is not current
15730 buffer), which prevents making decisions based on invalid value of
15731 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15732 cause an error when `flyspell-pre-point' was nil after switching
15733 buffers.
15734 (flyspell-post-command-hook): No longer needs to change buffers when
15735 checking pre-word. While at it remove unnecessary progn.
15736
15737 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15738
15739 * textmodes/ispell.el (ispell-add-per-file-word-list):
15740 Fix `flyspell-correct-word-before-point' error when accepting
15741 words and `coment-padding' is an integer by using
15742 `comment-normalize-vars' (Bug #14214).
15743
15744 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15745
15746 New defun movement commands.
15747 * progmodes/python.el (python-nav--syntactically)
15748 (python-nav--forward-defun, python-nav-backward-defun)
15749 (python-nav-forward-defun): New functions.
15750
15751 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15752
15753 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15754 (python-syntax-context): Use named compiler-macro for backwards
15755 compatibility with Emacs 24.x.
15756
15757 2013-04-17 Leo Liu <sdl.web@gmail.com>
15758
15759 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15760 octave-hide-process-buffer.
15761
15762 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15763
15764 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15765 (bug#14216).
15766
15767 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15768
15769 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15770 Fix adjustment of offset when receiving incomplete responses from GDB
15771 (bug#14129).
15772
15773 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15776 python-mode-abbrev-table.
15777 (python-skeleton-define): Adjust accordingly.
15778 (python-mode-abbrev-table): New table that inherits from it so that
15779 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15780
15781 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15782 (abbrev-symbol): Use it.
15783 (abbrev--before-point): Use it since we already handle inheritance.
15784
15785 2013-04-16 Leo Liu <sdl.web@gmail.com>
15786
15787 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15788 binding to info-lookup-symbol.
15789
15790 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15791
15792 * minibuffer.el (completion--twq-all):
15793 * term/ns-win.el (ns-initialize-window-system):
15794 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15795
15796 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15797
15798 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15799 global bindings.
15800
15801 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15802
15803 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15804
15805 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15806 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15807 to nil.
15808 (ruby-end-of-defun): Remove the unused arg, change the docstring
15809 to reflect that this function is only used as the value of
15810 `end-of-defun-function'.
15811 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15812 to reflect an earlier change that beginning/end-of-defun functions
15813 jump between methods in a class definition, as well as top-level
15814 functions.
15815
15816 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15817
15818 * minibuffer.el (minibuffer-complete): Don't just scroll
15819 a *Completions* that's been iconified.
15820 (minibuffer-force-complete): Make sure repetitions do cycle when going
15821 through completion-in-region -> minibuffer-complete.
15822
15823 2013-04-15 Alan Mackenzie <acm@muc.de>
15824
15825 Correct the placement of c-cpp-delimiters when there're #s not at
15826 col 0.
15827
15828 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15829 place a submatch around the #.
15830 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15831 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15832 on the #, not BOL.
15833
15834 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15835
15836 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15837 (advice--member-p): New arg `name'.
15838 (advice--add-function, advice-member-p): Use it (bug#14202).
15839
15840 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15841
15842 Reformulate java imenu-generic-expression.
15843 The old expression contained ill formed regexps.
15844
15845 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15846 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15847 (cc-imenu-java-method-arg-regexp): New defconsts.
15848 (cc-imenu-java-build-type-args-regex): New defun.
15849 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15850 handling of spaces in the regexp.
15851
15852 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15853
15854 * textmodes/ispell.el (ispell-command-loop): Remove
15855 flyspell highlight of a word when ispell accepts it (bug #14178).
15856
15857 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15858
15859 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15860 uses code from the previous `ange-ftp-run-real-handler'.
15861 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15862 only in case that function exist. This is needed for proper
15863 unloading of Tramp.
15864
15865 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15866
15867 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15868
15869 * textmodes/reftex.el (reftex-compile-variables): Use it.
15870
15871 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15872
15873 * files.el (normal-mode): Only use default major-mode if no other mode
15874 was specified.
15875
15876 * emacs-lisp/trace.el (trace-values): New function.
15877
15878 * files.el: Allow : in local variables (bug#14089).
15879 (hack-local-variable-regexp): New var.
15880 (hack-local-variables-prop-line, hack-local-variables): Use it.
15881
15882 2013-04-13 Roland Winkler <winkler@gnu.org>
15883
15884 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15885 data before it gets modified by bibtex-beginning-of-entry.
15886
15887 2013-04-13 Roland Winkler <winkler@gnu.org>
15888
15889 * textmodes/bibtex.el (bibtex-url): Doc fix.
15890
15891 2013-04-13 Roland Winkler <winkler@gnu.org>
15892
15893 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15894 does not visit a BibTeX file, exclude it from the list of buffers
15895 returned by bibtex-initialize.
15896
15897 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15898
15899 * window.el (split-window): Remove interactive form, since as a
15900 command this function is a special case of split-window-below.
15901 Correct doc string.
15902
15903 2013-04-12 Roland Winkler <winkler@gnu.org>
15904
15905 * faces.el (read-face-name): Do not override value of arg default.
15906 Allow single faces and strings as default values. Remove those
15907 elements from return value that are not faces.
15908 (describe-face): Simplify.
15909 (face-at-point): New optional args thing and multiple so that this
15910 function can provide the same functionality previously provided by
15911 read-face-name.
15912 (make-face-bold, make-face-unbold, make-face-italic)
15913 (make-face-unitalic, make-face-bold-italic, invert-face)
15914 (modify-face, read-face-and-attribute): Use face-at-point.
15915
15916 * cus-edit.el (customize-face, customize-face-other-window)
15917 * cus-theme.el (custom-theme-add-face)
15918 * face-remap.el (buffer-face-set)
15919 * facemenu.el (facemenu-set-face): Use face-at-point.
15920
15921 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15922
15923 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15924
15925 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15926
15927 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15928 off leading { and trailing } from field values.
15929
15930 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * emacs-lisp/timer.el (timer--check): New function.
15933 (timer--time, timer-set-function, timer-event-handler): Use it.
15934 (timer-set-idle-time): Simplify.
15935 (timer--activate): CSE.
15936 (timer-event-handler): Give more info in error message.
15937 (internal-timer-start-idle): New function, moved from C.
15938
15939 * mpc.el (mpc-proc): Add `restart' argument.
15940 (mpc-proc-cmd): Use it.
15941 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15942 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15943 less often.
15944
15945 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15946
15947 * progmodes/sh-script.el: Implement `sh-mode' own
15948 `add-log-current-defun-function' (bug#14112).
15949 (sh-current-defun-name): New function.
15950 (sh-mode): Use the function.
15951
15952 2013-04-09 Bastien Guerry <bzg@gnu.org>
15953
15954 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15955
15956 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15957
15958 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15959
15960 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15961 timer (bug#14156).
15962
15963 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15964
15965 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15966 declaration.
15967
15968 2013-04-07 Leo Liu <sdl.web@gmail.com>
15969
15970 * pcmpl-x.el: New file.
15971
15972 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15973
15974 Do not set x-display-name until X connection is established.
15975 This is needed to prevent from weird situation described at
15976 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15977 * frame.el (make-frame): Set x-display-name after call to
15978 window system initialization function, not before.
15979 * term/x-win.el (x-initialize-window-system): Add optional
15980 display argument and use it.
15981 * term/w32-win.el (w32-initialize-window-system):
15982 * term/ns-win.el (ns-initialize-window-system):
15983 * term/pc-win.el (msdos-initialize-window-system):
15984 Add compatible optional display argument.
15985
15986 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15987
15988 * files.el (normal-backup-enable-predicate): On MS-Windows and
15989 MS-DOS compare truenames of temporary-file-directory and of the
15990 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15991 don't fail comparison by compare-strings. Also, compare file
15992 names case-insensitively on MS-Windows and MS-DOS.
15993
15994 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15995
15996 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15997 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15998
15999 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16000
16001 * whitespace.el (whitespace-color-on, whitespace-color-off):
16002 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16003
16004 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16005
16006 * ispell.el (ispell-set-spellchecker-params):
16007 Really set `ispell-args' for all equivs.
16008
16009 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16010
16011 * ido.el (ido-completions): Use extra elements of ido-decorations
16012 (bug#14143).
16013 (ido-decorations): Update docstring.
16014
16015 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16016
16017 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16018 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16019 nil during initialization, in order not to miss changes since the
16020 file was opened. (Bug#14140)
16021
16022 2013-04-05 Leo Liu <sdl.web@gmail.com>
16023
16024 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16025
16026 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16027
16028 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16029
16030 2013-04-04 Glenn Morris <rgm@gnu.org>
16031
16032 * electric.el (electric-pair-inhibit-predicate): Add :version.
16033
16034 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16035
16036 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16037 when a package is required several times (bug#14082).
16038
16039 2013-04-04 Roland Winkler <winkler@gnu.org>
16040
16041 * faces.el (read-face-name): Behave as promised by the docstring.
16042 Assume that arg default is a list of faces.
16043 (describe-face): Call read-face-name with list of default faces.
16044
16045 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16046
16047 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16048 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16049 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16050 the header.
16051 (bookmark-exit-hook-internal): Save even if list is empty.
16052
16053 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16054
16055 * emacs-lisp/package.el (package-pinned-packages): New var.
16056 (package--add-to-archive-contents): Obey it (bug#14118).
16057
16058 2013-04-03 Alan Mackenzie <acm@muc.de>
16059
16060 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16061 Also adapt to the new values of element 7 of a parse state.
16062
16063 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16064 parameter `not-in-delimiter'. Handle being inside comment opener.
16065 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16066 character in case we're typing a '*' after a '/'.
16067 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16068 instead by passing the parameter to c-state-pp-to-literal.
16069
16070 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16071 for elt. 7 of a parse state.
16072
16073 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16074
16075 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16076 * international/latin1-disp.el, international/mule-util.el:
16077 * language/cyril-util.el, language/european.el, language/ind-util.el:
16078 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16079 * language/tibetan.el, language/viet-util.el:
16080 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16081
16082 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16083
16084 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16085 (electric-pair-post-self-insert-function): Use it.
16086 (electric-pair-default-inhibit): New function, extracted from
16087 electric-pair-post-self-insert-function.
16088
16089 2013-03-31 Roland Winkler <winkler@gnu.org>
16090
16091 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16092
16093 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16094
16095 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16096
16097 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16098
16099 Un-indent after "pass" and "return" statements (Bug#13888)
16100 * progmodes/python.el (python-indent-block-enders): New var.
16101 (python-indent-calculate-indentation): Use it.
16102
16103 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16104
16105 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16106 defun. Defining it as defalias could introduce too eager
16107 byte-compiler optimization. (Bug#14030)
16108
16109 2013-03-30 Chong Yidong <cyd@gnu.org>
16110
16111 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16112
16113 2013-03-30 Leo Liu <sdl.web@gmail.com>
16114
16115 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16116 (kmacro-execute-from-register): Pass the keyboard macro to
16117 kmacro-call-macro or repeating won't work correctly.
16118
16119 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16120
16121 * progmodes/subword.el: Back to using `forward-symbol'.
16122
16123 * subr.el (forward-whitespace, forward-symbol)
16124 (forward-same-syntax): Move from thingatpt.el.
16125
16126 2013-03-29 Leo Liu <sdl.web@gmail.com>
16127
16128 * kmacro.el (kmacro-to-register): New command.
16129 (kmacro-execute-from-register): New function.
16130 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16131
16132 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16133
16134 * mpc.el: Use defvar-local and setq-local.
16135 (mpc--proc-connect): Connection failures are not bugs.
16136 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16137 (mpc-volume-map): Bind to the up-events.
16138
16139 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16140
16141 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16142 instead of `forward-symbol'.
16143
16144 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16145
16146 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16147 (edebug--recursive-edit): Use it.
16148 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16149 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16150
16151 2013-03-28 Leo Liu <sdl.web@gmail.com>
16152
16153 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16154
16155 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16156
16157 * facemenu.el (list-colors-callback): New defvar.
16158 (list-colors-redisplay): New function.
16159 (list-colors-display): Install list-colors-redisplay as the
16160 revert-buffer-function. (Bug#14063)
16161
16162 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16163
16164 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16165 and suffixes don't overlap (bug#14061).
16166
16167 * case-table.el: Use lexical-binding.
16168 (case-table-get-table): New function.
16169 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16170
16171 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16172
16173 * progmodes/subword.el: Add `superword-mode' to do word motion
16174 over symbol_words (parallels and leverages `subword-mode' which
16175 does word motion inside MixedCaseWords).
16176
16177 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16178
16179 * eshell/em-unix.el: Move su and sudo to...
16180 * eshell/em-tramp.el: ...Eshell tramp module.
16181
16182 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16183
16184 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16185 Change return value to be a sexp. Delay `get-buffer' to after
16186 restoring the desktop (bug#13951).
16187
16188 2013-03-26 Leo Liu <sdl.web@gmail.com>
16189
16190 * register.el: Move semantic tag handling back to
16191 cedet/semantic/senator.el. (Bug#14052)
16192
16193 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16194
16195 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16196 into the prompt either (bug#13963).
16197
16198 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16199
16200 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16201 part of "(error-foo)".
16202
16203 2013-03-24 Juri Linkov <juri@jurta.org>
16204
16205 * replace.el (list-matching-lines-prefix-face): New defcustom.
16206 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16207 `occur-engine' if `face-differs-from-default-p' returns t.
16208 (occur-engine): Add `,' inside backquote construct to evaluate
16209 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16210 Pass `prefix-face' to the functions `occur-context-lines' and
16211 `occur-engine-add-prefix'.
16212 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16213 `prefix-face' and propertize the prefix with `prefix-face'.
16214 (Bug#14017)
16215
16216 2013-03-24 Leo Liu <sdl.web@gmail.com>
16217
16218 * nxml/rng-valid.el (rng-validate-while-idle)
16219 (rng-validate-quick-while-idle): Guard against deleted buffer.
16220 (Bug#13999)
16221
16222 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16223 is the last entry in kill-buffer-hook.
16224
16225 * files.el (kill-buffer-hook): Doc fix.
16226
16227 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16228
16229 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16230 Make it safe-local.
16231
16232 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16233
16234 2013-03-23 Leo Liu <sdl.web@gmail.com>
16235
16236 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16237 Remove.
16238
16239 * nxml/rng-valid.el (rng-validate-mode)
16240 (rng-after-change-function, rng-do-some-validation):
16241 * nxml/rng-maint.el (rng-validate-buffer):
16242 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16243 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16244 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16245 (nxml-extend-after-change-region): Use with-silent-modifications.
16246
16247 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16248 timer-idle-list.
16249
16250 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16251 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16252 timer-idle-list. (Bug#13999)
16253
16254 2013-03-23 Juri Linkov <juri@jurta.org>
16255
16256 * info.el (info-index-match): New face.
16257 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16258 main pattern and add text properties with the new face to matches
16259 in index entries relative to the beginning of the index entry.
16260 (Bug#14015)
16261
16262 2013-03-21 Eric Ludlam <zappo@gnu.org>
16263
16264 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16265 Inhibit read only while inserting objects.
16266
16267 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16268
16269 * progmodes/cfengine.el: Update docs to mention
16270 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16271 symbol motion. Remove "_" from the word syntax.
16272
16273 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16274
16275 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16276 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16277
16278 2013-03-20 Juri Linkov <juri@jurta.org>
16279
16280 * info.el (Info-next-reference-or-link)
16281 (Info-prev-reference-or-link): New functions.
16282 (Info-next-reference, Info-prev-reference): Use them.
16283 (Info-try-follow-nearest-node): Handle footnote navigation.
16284 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16285
16286 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16289 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16290
16291 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16292
16293 Suppress unnecessary non-ASCII chatter during build process.
16294 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16295 (batch-skkdic-convert): Suppress most of the chatter.
16296 It's not needed so much now that machines are faster,
16297 and its non-ASCII component was confusing; see Dmitry Gutov in
16298 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16299
16300 2013-03-20 Leo Liu <sdl.web@gmail.com>
16301
16302 * ido.el (ido-chop): Fix bug#10994.
16303
16304 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16305
16306 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16307 Remove vars.
16308 (whitespace-color-on, whitespace-color-off):
16309 Use `font-lock-fontify-buffer' (Bug#13817).
16310
16311 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16312
16313 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16314 remapping in mode-line.
16315 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16316
16317 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16318
16319 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16320 value for `whitespace-line' face (Bug#13875).
16321 (whitespace-font-lock-keywords): Change description.
16322 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16323 the constructed keywords instead.
16324 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16325
16326 2013-03-19 Leo Liu <sdl.web@gmail.com>
16327
16328 * progmodes/compile.el (compilation-display-error): New command.
16329 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16330 C-o. (Bug#13992)
16331
16332 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16333
16334 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16335
16336 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16337
16338 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16339
16340 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16341
16342 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16343
16344 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16345 * net/tramp-gvfs.el (top):
16346 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16347 (tramp-handle-shell-command): Use it.
16348 (tramp-dissect-file-name): Raise an error when hostname is a
16349 method name, and neither method nor user is specified.
16350
16351 * net/trampver.el: Update release number.
16352
16353 2013-03-18 Leo Liu <sdl.web@gmail.com>
16354
16355 Make sure eldoc can be turned off properly.
16356 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16357 eldoc-mode.
16358 (eldoc-display-message-p): Revert last change.
16359 (eldoc-display-message-no-interference-p)
16360 (eldoc-print-current-symbol-info): Tweak.
16361
16362 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16363
16364 * doc-view.el (doc-view-new-window-function): Check the new window
16365 overlay's display property instead the char property of the
16366 buffer's first char. Use `with-selected-window' instead of
16367 `save-window-excursion' with `select-window'.
16368 (doc-view-document->bitmap): Check the current doc-view overlay's
16369 display property instead the char property of the buffer's first char.
16370
16371 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16372
16373 Automate the build of ja-dic.el (Bug#13984).
16374 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16375 from the input, rather than assume that it's been done for us by the
16376 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16377 the current date into a ja-dic.el comment, as that complicates
16378 regression testing.
16379
16380 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16381
16382 * whitespace.el: Fix double evaluation.
16383 (whitespace-space, whitespace-hspace, whitespace-tab)
16384 (whitespace-newline, whitespace-trailing, whitespace-line)
16385 (whitespace-space-before-tab, whitespace-indentation)
16386 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16387 obsolete defvars.
16388 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16389 (whitespace-color-on): Use a single font-lock-add-keywords call.
16390 Fix double-evaluation of face variables.
16391
16392 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16393
16394 * net/tramp-adb.el (tramp-adb-parse-device-names):
16395 Use `start-process' instead of `call-process'. Otherwise, the
16396 function might be blocked under MS Windows. (Bug#13299)
16397
16398 2013-03-17 Leo Liu <sdl.web@gmail.com>
16399
16400 Extend eldoc to display info in the mode-line. (Bug#13978)
16401 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16402 (eldoc-mode-line-string): New variable.
16403 (eldoc-minibuffer-message): New function.
16404 (eldoc-message-function): New variable.
16405 (eldoc-message): Use it.
16406 (eldoc-display-message-p)
16407 (eldoc-display-message-no-interference-p):
16408 Support eldoc-post-insert-mode.
16409
16410 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16411 (eval-expression): Run it.
16412
16413 2013-03-17 Roland Winkler <winkler@gnu.org>
16414
16415 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16416 strings in the list of return values.
16417
16418 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16419
16420 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16421 radix before checking for HMS forms.
16422
16423 2013-03-16 Leo Liu <sdl.web@gmail.com>
16424
16425 * progmodes/scheme.el: Add indentation and font-locking for λ.
16426 (Bug#13975)
16427
16428 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16429
16430 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16431 token before point (bug#13942).
16432
16433 2013-03-16 Leo Liu <sdl.web@gmail.com>
16434
16435 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16436
16437 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16438
16439 * startup.el (command-line-normalize-file-name): Fix handling of
16440 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16441 <xfq.free@gmail.com> in
16442 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16443
16444 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16445
16446 Sync with Tramp 2.2.7.
16447
16448 * net/trampver.el: Update release number.
16449
16450 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16451
16452 * doc-view.el: Fix bug#13887.
16453 (doc-view-insert-image): Don't modify overlay associated to
16454 non-live windows, and implement horizontal centering of image in
16455 case it's smaller than the window.
16456 (doc-view-new-window-function): Force redisplay of new windows on
16457 doc-view buffers.
16458
16459 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16460
16461 * saveplace.el (save-place-alist-to-file): Don't sort
16462 `save-place-alist', just pretty-print it (bug#13882).
16463
16464 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16465
16466 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16467 Check whether `default-file-name-coding-system' is bound.
16468 It isn't in XEmacs.
16469
16470 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16471
16472 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16473 backquotes for `obsolete' (bug#13929).
16474
16475 * international/mule.el (find-auto-coding): Include file name in
16476 obsolescence warning (bug#13922).
16477
16478 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16479
16480 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16481 for CFEngine 3-specific indentation.
16482 (cfengine3-indent-line): Use it. Fix up category regex.
16483 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16484
16485 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16486
16487 * type-break.el (type-break-file-name):
16488 * textmodes/remember.el (remember-data-file):
16489 * strokes.el (strokes-file):
16490 * shadowfile.el (shadow-initialize):
16491 * saveplace.el (save-place-file):
16492 * ps-bdf.el (bdf-cache-file):
16493 * progmodes/idlwave.el (idlwave-config-directory):
16494 * net/quickurl.el (quickurl-url-file):
16495 * international/kkc.el (kkc-init-file-name):
16496 * ido.el (ido-save-directory-list-file):
16497 * emulation/viper.el (viper-custom-file-name):
16498 * emulation/vip.el (vip-startup-file):
16499 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16500 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16501
16502 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16503
16504 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16505 * language/thai-word.el: Switch to UTF-8.
16506
16507 See ChangeLog.16 for earlier changes.
16508
16509 ;; Local Variables:
16510 ;; coding: utf-8
16511 ;; End:
16512
16513 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16514
16515 This file is part of GNU Emacs.
16516
16517 GNU Emacs is free software: you can redistribute it and/or modify
16518 it under the terms of the GNU General Public License as published by
16519 the Free Software Foundation, either version 3 of the License, or
16520 (at your option) any later version.
16521
16522 GNU Emacs is distributed in the hope that it will be useful,
16523 but WITHOUT ANY WARRANTY; without even the implied warranty of
16524 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16525 GNU General Public License for more details.
16526
16527 You should have received a copy of the GNU General Public License
16528 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.