]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/progmodes/python.el (python-shell-completion-setup-code): Use
[gnu-emacs] / lisp / ChangeLog
1 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 * progmodes/python.el (python-shell-completion-setup-code): Use
4 __builtin__ module (or builtins in Python 3) and catch all errors
5 when importing readline and rlcompleter.
6
7 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
8
9 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
10 (todo-revert-buffer): New function.
11 (todo-modes-set-1): Use it as the buffer-local value of
12 revert-buffer-function.
13
14 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
15
16 * calendar/todo-mode.el (todo-mode): If called interactively, just
17 display a message saying to call todo-show to enter Todo mode
18 (Bug#19112).
19
20 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
21
22 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
23 (Bug#18579)
24
25 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
26 files. (Bug#18579)
27
28 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
29
30 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
31 remote `buffer-file-name'.
32
33 2014-11-23 Leo Liu <sdl.web@gmail.com>
34
35 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
36
37 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
38
39 Set PYTHONUNBUFFERED on shell startup.
40
41 * progmodes/python.el (python-shell-unbuffered): New var.
42 (python-shell-calculate-process-environment): Use it.
43
44 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
45
46 * net/tramp.el (tramp-action-password): Clean password on subsequent
47 attempts even if there was no wrong password indication. (Bug#19047)
48
49 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
50 fallback.
51 (tramp-open-connection-setup-interactive-shell): No need to check
52 for nil as `tramp-get-remote-locale' return value.
53
54 2014-11-21 Eli Zaretskii <eliz@gnu.org>
55
56 * vc/vc-git.el (vc-git-command, vc-git--call): Bind
57 coding-system-for-read and coding-system-for-write to
58 vc-git-commits-coding-system.
59 (vc-git-previous-revision): Use "~1" instead of "^", since the
60 latter is a special character for MS-Windows system shells.
61
62 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
63
64 Improve XEmacs compatibility.
65
66 * net/tramp.el (tramp-autoload-file-name-handler):
67 Wrap `temporary-file-directory' by `symbol-value', it doesn't
68 exist in XEmacs.
69 (tramp-read-passwd): Don't use `with-timeout-suspend' and
70 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
71 (tramp-time-less-p, tramp-time-subtract): Remove functions.
72 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
73 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
74 * net/tramp-cache.el (tramp-get-file-property):
75 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
76 Use `time-less-p' and `time-subtract, respectively.
77
78 * net/tramp-adb.el (top): Do not require time-date.el.
79
80 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
81
82 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
83 Check, whether `utf-8' is a valid coding system.
84
85 2014-11-19 Eli Zaretskii <eliz@gnu.org>
86
87 * vc/vc.el (vc-retrieve-tag): Doc fix.
88
89 2014-11-17 Eli Zaretskii <eliz@gnu.org>
90
91 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
92 Don't assume --long is the default for "bzr log", always specify
93 it explicitly, in case the user defined an alias for 'log' that
94 uses some other format.
95
96 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
97
98 * progmodes/python.el (python-eldoc--get-doc-at-point): Strip
99 shell output before returning. (bug#18794)
100
101 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
102
103 Fix indentation before `!=' and after `+='. Originally reported
104 in https://github.com/mooz/js2-mode/issues/174.
105 * progmodes/js.el (js--indent-operator-re): Make assignments and
106 (in)equality operator a separate case.
107 (js--continued-expression-p): Escape the second `+' in the regexp.
108
109 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
112
113 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
114
115 * version.el (emacs-repository-get-version): Use git rev-parse
116 instead of git log.
117
118 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
119
120 * progmodes/python.el (python-indent-calculate-levels): Fix
121 indentation behavior multiline dedenter statement. (Bug#18432)
122
123 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
124
125 * progmodes/python.el (python-indent-region): Use
126 python-indent-line and skip special cases. (Bug#18843)
127
128 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
129
130 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
131
132 2014-10-28 Peder O. Klingenberg <peder@klingenberg.no> (tiny change)
133
134 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
135 envelope-from when reporting through sendmail (bug#19054).
136
137 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
138
139 * progmodes/python.el (python-ffap-module-path): Use
140 `derived-mode-p' instead of equality test on `major-mode'.
141
142 2014-11-13 Ulrich Müller <ulm@gentoo.org>
143
144 * version.el (emacs-repository-get-version): Call `git log'
145 command with proper format argument (bug#19049).
146
147 2014-11-10 Glenn Morris <rgm@gnu.org>
148
149 * startup.el (command-line): Handle nil elements in load-path.
150
151 2014-11-08 Glenn Morris <rgm@gnu.org>
152
153 * emacs-lisp/bytecomp.el (byte-compile-report-error):
154 Allow the argument to be a string. Due to the vague doc,
155 it was already being used this way.
156
157 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
158
159 * net/tramp.el (tramp-check-cached-permissions): Include hop in
160 the constructed Tramp file name. (Bug#18943)
161
162 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
165 (bug#18952).
166 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
167 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
168
169 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
170
171 * files.el (file-name-non-special): Wrap the call of
172 `insert-file-contents' by `unwind-protect', in order to set the
173 buffer's file name anyway. (Bug#18891)
174
175 2014-11-07 Daiki Ueno <ueno@gnu.org>
176
177 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
178 (bug#18979). Reported by Hideki Saito.
179
180 2014-10-18 Alan Mackenzie <acm@muc.de>
181
182 Check that a "macro" found near point-min isn't a ## operator.
183 Fixes bug #18749. Backported from trunk, 2014-11-05.
184 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
185 (c-beginning-of-macro): Use the above new function.
186
187 2014-11-05 Alan Mackenzie <acm@muc.de>
188
189 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
190 * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
191 "(point-max)" as bound to c-font-lock-declarators, not "limit", as
192 the buffer is sometimes narrowed to less than "limit" (e.g., in
193 the presence of macros).
194
195 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
196
197 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
198 only when message appeared in minibuffer. (Bug#18891)
199
200 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
201 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
202 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
203 case of errors.
204
205 2014-11-04 Eli Zaretskii <eliz@gnu.org>
206
207 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
208 returned by load-average.
209
210 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
211
212 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
213 a local copy; setting `inhibit-file-name-handlers' proper might be
214 more performant. (Bug#18751)
215
216 2014-11-04 Glenn Morris <rgm@gnu.org>
217
218 * mail/emacsbug.el (report-emacs-bug): No longer include
219 recent-keys in the report. (Bug#18900)
220
221 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
222
223 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
224 local copy of FILENAME, when it is remote. (Bug#18751)
225
226 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
227
228 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
229 an error when the command fails; the return code must indicate.
230 (tramp-adb-send-command-and-check): Fix docstring.
231
232 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
233
234 * net/tramp-cache.el (tramp-get-file-property)
235 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
236 and `tramp-cache-set-count-*' are bound. Otherwise, there might
237 be compiler warnings.
238
239 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
240 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
241
242 2014-11-01 Eli Zaretskii <eliz@gnu.org>
243
244 * progmodes/compile.el (compilation-mode): Turn off deferred
245 fontifications locally. (Bug#18856)
246
247 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
248
249 * net/tramp-sh.el (tramp-send-command): Fix the case where the
250 remote-echo connection property is non-nil (bug#18858).
251
252 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
253
254 Backport Tramp changes from trunk.
255
256 * net/tramp.el (tramp-methods): Tweak docstring.
257 (tramp-file-name-handler): Apply `cons' where appropriate.
258 (tramp-handle-file-accessible-directory-p): Check for
259 `file-readable-p' instead of `file-executable-p'.
260 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
261 (tramp-handle-unhandled-file-name-directory): Return "/".
262 (tramp-check-cached-permissions):
263 Use `tramp-compat-file-attributes'.
264 (tramp-call-process): Add new argument VEC. Adapt callees in all
265 tramp*.el files.
266
267 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
268 (tramp-adb-handle-write-region): Improve messages.
269 (tramp-adb-maybe-open-connection): Don't set
270 `tramp-current-*' variables.
271
272 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
273 Suppress debug messages.
274
275 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
276 (tramp-ftp-file-name-handler):
277
278 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
279 (tramp-gvfs-methods-mounttracker)
280 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
281 during initialization. (Bug#18774)
282 (tramp-gvfs-handle-delete-file): Flush file properties, not
283 directory properties.
284 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
285 reading "unix::mode".
286 (tramp-gvfs-handle-file-name-all-completions):
287 Use "-h" option for "gvfs-ls".
288 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
289 `user' and `localname' could be nil.
290 (tramp-gvfs-send-command): Simplify traces.
291
292 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
293 (vc-git-program, vc-hg-program): Declare.
294 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
295 (tramp-methods) <nc>: Add new method.
296 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
297 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
298 `tramp-login-args'.
299 (tramp-default-user-alist): Add "nc".
300 (top): Remove completion function for "sftp". Add completion
301 functions for "nc" and "psftp".
302 (tramp-sh-handle-set-visited-file-modtime):
303 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
304 (tramp-do-copy-or-rename-file-out-of-band):
305 Use cached "remote-copy-args" value, if available. (Bug#18199)
306 Tweak docstring. Implement support for "nc" method.
307 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
308 (tramp-remote-coding-commands, tramp-call-local-coding-command):
309 Tweak docstring.
310 (tramp-sh-handle-start-file-process): Expand `default-directory'.
311 (tramp-sh-handle-write-region): Tweak error message.
312 (tramp-sh-handle-vc-registered): Remove backends when the remote
313 binary does not exist.
314 (tramp-open-connection-setup-interactive-shell):
315 Prefer utf-8 coding. (Bug#17859)
316 (tramp-find-inline-encoding): Do not raise an error.
317 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
318 the "nc" case. Quote result also locally.
319 (tramp-get-remote-id): Check also for "gid".
320 (tramp-get-remote-python):
321
322 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
323 (tramp-smb-handle-set-file-acl): Use `start-process'.
324 (tramp-smb-handle-insert-directory): Use progress reporter.
325 (tramp-smb-handle-rename-file): Flush also file properties of
326 FILENAME.
327
328 * net/trampver.el: Update release number.
329
330 2014-11-01 Reuben Thomas <rrt@sc3d.org>
331
332 * net/tramp.el (tramp-handle-file-symlink-p):
333 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
334 about VMS, which we no longer support.
335
336 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
337
338 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
339 the global vc-handled-backends (bug#18535).
340
341 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
342 Michael Albinus <michael.albinus@gmx.de>
343
344 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
345 Reduce the amount of set environment variable commands.
346
347 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
348
349 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
350 current-time.
351
352 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
353
354 * net/tramp-sh.el (tramp-get-remote-python): Also search for
355 executables named "python2" or "python3".
356 (tramp-get-remote-uid-with-python): Use parentheses around
357 arguments to `print' to make it compatible with Python 3.
358 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
359
360 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * simple.el (newline): Add assertions to try and help catch bug#18913.
363
364 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
365 (bug#18886).
366 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
367
368 2014-10-31 Eli Zaretskii <eliz@gnu.org>
369
370 * Makefile.in (repo-update): Fix a typo and slightly reword
371 commentary.
372
373 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
374
375 * Makefile.in: Change some production names so they're neutral
376 about the repository type.
377
378 2014-10-30 Kim F. Storm <storm@cua.dk>
379
380 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
381 * delsel.el (delete-selection-save-to-register)
382 (delsel--replace-text-or-position): New vars.
383 (delete-active-region): Use them.
384 (delete-selection-repeat-replace-region): New command, moved from
385 cua-base.el.
386 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
387 (cua-repeat-replace-region): Move command to delsel.el.
388 (cua--init-keymaps): Update binding accordingly.
389 (cua-mode): Set delete-selection-save-to-register.
390
391 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
394 (c-lang-defconst):
395 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
396
397 2014-10-29 Eli Zaretskii <eliz@gnu.org>
398
399 * progmodes/compile.el (compilation-start):
400 If compilation-scroll-output is non-nil, don't force window-start of
401 the compilation buffer to be at beginning of buffer. (Bug#18874)
402
403 2014-10-23 Tassilo Horn <tsdh@gnu.org>
404
405 * doc-view.el (doc-view-open-text): View the document's plain text
406 in the current buffer instead of a new one.
407 (doc-view-toggle-display): Handle the case where the current
408 buffer contains the plain text contents of the document.
409 (doc-view-initiate-display): Don't switch to fallback mode if the
410 user wants to view the doc's plain text. [Backport]
411
412 2014-10-23 Eli Zaretskii <eliz@gnu.org>
413
414 * startup.el (fancy-about-text): Read the entire tutorial, not
415 just its first 256 bytes. (Bug#18760)
416
417 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
420 * emacs-lisp/cl-extra.el: Add missing provide.
421
422 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
425 all args are copyable (bug#18767).
426 (=, <, >, <=, >=): Re-enable the optimization.
427
428 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
429
430 * vc/vc-hg.el (vc-hg-log-graph): New var.
431 (vc-hg-print-log): Use it.
432 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
433 graph output (bug#17515).
434
435 2014-10-20 Juri Linkov <juri@jurta.org>
436
437 * vc/diff-mode.el (diff-refine-changed): Rename from
438 `diff-refine-change' for consistency with `diff-changed'.
439 (diff-refine-change): Add obsolete face alias. (Bug#10181)
440
441 * vc/smerge-mode.el (smerge-refined-changed): Rename from
442 `smerge-refined-change'.
443 (smerge-refined-change): Add obsolete face alias.
444
445 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * subr.el (call-process-shell-command, process-file-shell-command):
448 Make the `args' obsolete (bug#18409).
449 (start-process-shell-command, start-file-process-shell-command):
450 Use `declare'.
451
452 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
453
454 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
455
456 2014-10-20 Glenn Morris <rgm@gnu.org>
457
458 * dired.el (dired-read-regexp): Make obsolete.
459 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
460 (dired-flag-files-regexp):
461 * dired-aux.el (dired-mark-read-regexp):
462 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
463
464 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * progmodes/python.el (inferior-python-mode): Use add-hook.
467
468 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
469
470 2014-10-20 Glenn Morris <rgm@gnu.org>
471
472 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
473 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
474 * emulation/ws-mode.el: Move to obsolete/. [Backport]
475
476 2014-10-20 Glenn Morris <rgm@gnu.org>
477
478 * cus-start.el (history-length): Bump :version. [Backport]
479
480 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * obsolete/cc-compat.el: Make obsolete (bug#18561).
483
484 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
485
486 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
487 case (bug#18767).
488
489 2014-10-20 Glenn Morris <rgm@gnu.org>
490
491 * Version 24.4 released.
492
493 2014-10-15 Alan Mackenzie <acm@muc.de>
494
495 * cus-edit.el (custom-command-apply): Specify the return value in
496 the doc string.
497 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
498 custom-command-apply has returned non-nil.
499
500 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
503 Backported (bug#18688).
504
505 2014-10-14 Eli Zaretskii <eliz@gnu.org>
506
507 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
508 Force bidi-paragraph-direction to 'left-to-right'. This fixes
509 buffer-menu display when the first buffer happens to start with
510 R2L letter.
511
512 2014-10-13 Glenn Morris <rgm@gnu.org>
513
514 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
515 (authors-obsolete-files-regexps): Additions.
516 (authors-no-scan-regexps): New constant.
517 (authors-no-scan-file-p): New function.
518 (authors): Respect authors-no-scan-file-p.
519
520 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
521
522 Fix import completion. (Bug#18582)
523 * progmodes/python.el (python-shell-completion-get-completions):
524 Fix import case regexp.
525
526 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
529 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
530 * progmodes/prolog.el (prolog-electric--underscore): Same.
531
532 2014-10-09 Glenn Morris <rgm@gnu.org>
533
534 * frame.el (display-monitor-attributes-list): Doc tweaks.
535
536 2014-10-08 Eli Zaretskii <eliz@gnu.org>
537
538 * faces.el (display-grayscale-p): Mention in the doc string that
539 the argument can be either a display name or a frame.
540
541 * frame.el (display-pixel-height, display-pixel-width)
542 (display-mm-height, display-mm-width, display-backing-store)
543 (display-save-under, display-planes, display-color-cells)
544 (display-visual-class, display-monitor-attributes-list)
545 (display-screens): Mention in the doc string that the argument can
546 be either a display name or a frame. Improve the docs of the
547 monitor attributes. (Bug#18636)
548
549 2014-10-06 Martin Rudalics <rudalics@gmx.at>
550
551 * term.el (term-window-width): Subtract 1 from the width when
552 any fringe has zero width, not just the right fringe. (Bug#18601)
553
554 2014-10-05 Leo Liu <sdl.web@gmail.com>
555
556 * imenu.el (imenu-default-goto-function): Fix typo.
557
558 2014-10-04 Glenn Morris <rgm@gnu.org>
559
560 * frame.el (frame-monitor-attributes)
561 (display-monitor-attributes-list): Doc fixes.
562
563 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
564
565 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
566 (vc-svn-ignore): Use it. (Bug#18619)
567
568 2014-10-03 Martin Rudalics <rudalics@gmx.at>
569
570 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
571 In doc-string mention need to set `frame-resize-pixelwise'.
572
573 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
576 similarly to Rogers's 2010-06-16 change for the remote case
577 (bug#18605).
578
579 2014-10-01 Glenn Morris <rgm@gnu.org>
580
581 * emacs-lisp/package.el (package-import-keyring):
582 Create gnupg directory private. (Bug#17625#155)
583
584 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * progmodes/python.el (python-shell-completion-get-completions):
587 Use python-shell--prompt-calculated-input-regexp from the
588 process buffer (bug#18582).
589 Don't assume that `line' comes from the process buffer.
590
591 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
592
593 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
594 (bug#18462).
595
596 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * emacs-lisp/package.el (package-check-signature): Default to nil if
599 GPG is not available.
600 (package-refresh-contents): Don't mess with the keyring if we won't
601 check the signatures anyway.
602
603 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
604
605 * window.el (fit-window-to-buffer): When counting buffer width,
606 count the whole visible buffer. Correctly convert the body-height
607 to pixel size for window-text-pixel-size (Bug#18498).
608
609 2014-09-14 Glenn Morris <rgm@gnu.org>
610
611 * image.el (image-multi-frame-p): Fix thinko - do not force
612 a delay if none was specified. (Bug#18334)
613
614 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
615
616 * window.el (fit-window-to-buffer): Doc fix.
617
618 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
619
620 * desktop.el (desktop-create-buffer): Check that buffers are still live
621 before burying them (bug#18373).
622
623 2014-09-09 Glenn Morris <rgm@gnu.org>
624
625 * calendar/diary-lib.el (diary-list-entries):
626 Restore 24.3 display behavior. (Bug#18381)
627
628 2014-09-09 Eli Zaretskii <eliz@gnu.org>
629
630 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
631 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
632 discrepancy between window-pixel-edges and mouse events, and
633 avoids moving mode line up when the mouse click is on the modeline
634 and no drag is attempted.
635
636 2014-09-08 Glenn Morris <rgm@gnu.org>
637
638 * calendar/calendar.el (calendar-basic-setup):
639 Avoid clobbering calendar with diary. (Bug#18381)
640
641 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
644
645 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
646
647 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
648 as well (bug#18400).
649
650 2014-09-04 Eli Zaretskii <eliz@gnu.org>
651
652 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
653
654 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * emacs-lisp/package.el (package-generate-description-file):
657 Properly quote the arguments (bug#18332). Change second arg.
658 (package--alist-to-plist-args): Rename from package--alist-to-plist and
659 quote the elements.
660 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
661 the *-pkg.el file. Adjust to new calling convention of
662 package-generate-description-file.
663
664 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
665 (gud-gdb-completions): Remove obsolete workaround.
666
667 2014-09-02 Eli Zaretskii <eliz@gnu.org>
668
669 * subr.el (posn-col-row): Revert the change from commit
670 2010-11-13T21:07:58Z!eliz@gnu.org, which
671 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
672 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
673 introduced an off-by-one error in the reported row when there is a
674 header line. (Bug#18384)
675
676 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
677
678 * progmodes/python.el (python-indent-post-self-insert-function):
679 Avoid electric colon at beginning-of-defun. (Bug#18228)
680
681 2014-09-01 Glenn Morris <rgm@gnu.org>
682
683 * tutorial.el (tutorial--display-changes):
684 Fix 2014-07-29 change. (Bug#18382)
685
686 2014-08-29 Ken Brown <kbrown@cornell.edu>
687
688 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
689 the Cygwin-w32 build. (Bug#18347)
690
691 2014-08-28 Glenn Morris <rgm@gnu.org>
692
693 * tar-mode.el (tar--extract, tar-extract):
694 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
695
696 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
697
698 * emacs-lisp/authors.el (authors-aliases): Addition.
699
700 * net/tramp-adb.el: Spell author name correctly.
701
702 2014-08-27 João Távora <joaotavora@gmail.com>
703
704 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
705 use url-expand-file-name. (Bug#18310)
706
707 2014-08-25 Glenn Morris <rgm@gnu.org>
708
709 * emulation/cua-rect.el (cua--highlight-rectangle):
710 Avoid error at point-min. (Bug#18309)
711
712 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
715 executable-find (bug#18244).
716
717 * simple.el (self-insert-uses-region-functions): Defvar.
718
719 2014-08-13 Leo Liu <sdl.web@gmail.com>
720
721 * speedbar.el (speedbar-generic-list-tag-p): Allow special
722 elements from imenu.
723
724 2014-08-11 Glenn Morris <rgm@gnu.org>
725
726 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
727
728 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
729 chose coding system for writing before backing up, since it causes
730 a more serious problem than the one it solves. (Closes Bug#18141,
731 reopens Bug#13522.)
732
733 2014-08-10 Martin Rudalics <rudalics@gmx.at>
734
735 * window.el (window-total-size): Make doc-string more
736 self-contained.
737
738 2014-08-09 Martin Rudalics <rudalics@gmx.at>
739
740 * window.el (display-buffer-below-selected): Restore original
741 behavior if buffer is already displayed in the window below the
742 selected one (Bug#18181).
743
744 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
747 event (bug#18212).
748
749 2014-08-08 Eli Zaretskii <eliz@gnu.org>
750
751 * info.el (info): Doc fix.
752
753 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * info.el (Info-mode-map): Override a global down-mouse-2 binding
756 (bug#18212).
757
758 2014-08-05 Eli Zaretskii <eliz@gnu.org>
759
760 * simple.el (default-line-height): A floating-point value of
761 line-spacing means a fraction of the default frame font's height,
762 not of the font currently used by the 'default' face.
763 Truncate the pixel value, like the display engine does.
764 (window-screen-lines): Use window-inside-pixel-edges for
765 determining the window height in pixels. (Bug#18195)
766
767 2014-07-29 Eli Zaretskii <eliz@gnu.org>
768
769 * tutorial.el (tutorial--display-changes): Accept punctuation
770 characters before the key binding. (Bug#18146)
771
772 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
773
774 * doc-view.el (doc-view-open-text): Don't require that the
775 document is saved in a file (e.g., email attachment).
776
777 2014-07-27 Eli Zaretskii <eliz@gnu.org>
778
779 * window.el (window--pixel-to-total): Use FRAME's root window, not
780 that of the selected frame. (Bug#18112, Bug#16674)
781
782 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
783
784 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
785 (Bug#18117)
786
787 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
788
789 * progmodes/python.el (inferior-python-mode): Doc fix.
790
791 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
792
793 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
794 not a character, ignore it instead of raising an error.
795
796 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
797
798 * calendar/todo-mode.el: Fix handling of marked items and make
799 minor code improvements.
800 (todo-edit-item): If there are marked items, ensure user can only
801 invoke editing commands that work with marked items.
802 (todo-edit-item--text): When there are marked items, make it a
803 noop if invoked with point not on an item; otherwise, ensure it
804 applies only to item at point.
805 (todo-item-undone): If there are marked not-done items, return
806 point to its original position before signaling user error.
807 (todo--user-error-if-marked-done-item): New function.
808 (todo-edit-item--header, todo-edit-item--diary-inclusion)
809 (todo-item-done): Use it.
810
811 2014-07-25 Glenn Morris <rgm@gnu.org>
812
813 * files.el (toggle-read-only): Re-add basic doc-string.
814 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
815
816 * progmodes/prolog.el (prolog-mode-keybindings-edit):
817 Replace missing `switch-to-prolog' with `run-prolog'.
818 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
819
820 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
821
822 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
823 of file-wide setting when changing category-wide setting.
824
825 2014-07-21 Glenn Morris <rgm@gnu.org>
826
827 * progmodes/hideif.el (hide-ifdef-mode-submap):
828 Also substitute read-only-mode.
829 * bindings.el (mode-line-toggle-read-only):
830 * bs.el (bs-toggle-readonly):
831 * buff-menu.el (Buffer-menu-toggle-read-only):
832 * dired.el (dired-toggle-read-only):
833 * files.el (view-read-only, find-file-read-only)
834 (find-file-read-only-other-window)
835 (find-file-read-only-other-frame):
836 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
837 Doc fixes re toggle-read-only.
838
839 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
840
841 * progmodes/python.el: Add comment about pipe buffering and
842 solutions for missing/delayed output in inferior Python shells.
843 (Bug#17304)
844
845 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
846
847 * progmodes/python.el (python-mode): Don't set
848 mode-require-final-newline. (Bug#17990)
849
850 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
851
852 Make python.el work with IPython automatically. (Bug#15510)
853 * progmodes/python.el:
854 (python-shell-completion-setup-code): New value supporting iPython.
855 (python-shell-completion-string-code): New value supporting iPython.
856 (python-shell-completion-get-completions): Use them.
857 (python-shell-completion-module-string-code): Make obsolete.
858 (python-shell-prompt-input-regexps)
859 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
860 (python-shell-output-filter): Fix comment typo.
861
862 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
863
864 Fix Python shell prompts detection for remote hosts.
865 * progmodes/python.el (python-shell-prompt-detect):
866 Replace call-process with process-file and make it more robust.
867
868 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
869
870 Autodetect Python shell prompts. (Bug#17370)
871 * progmodes/python.el:
872 (python-shell-interpreter-interactive-arg)
873 (python-shell-prompt-detect-enabled)
874 (python-shell-prompt-detect-failure-warning)
875 (python-shell-prompt-input-regexps)
876 (python-shell-prompt-output-regexps): New vars.
877 (python-shell-prompt-calculated-input-regexp)
878 (python-shell-prompt-calculated-output-regexp): New vars.
879 (python-shell-get-process-name)
880 (python-shell-internal-get-process-name)
881 (python-shell-output-filter)
882 (python-shell-completion-get-completions): Use them.
883 (python-shell-prompt-detect)
884 (python-shell-prompt-validate-regexps): New functions.
885 (python-shell-prompt-set-calculated-regexps): New function.
886 (inferior-python-mode): Use it. Also honor overridden
887 python-shell-interpreter and python-shell-interpreter-args.
888 (python-shell-make-comint): Honor overridden
889 python-shell-interpreter and python-shell-interpreter-args.
890 (python-shell-get-or-create-process): Make it testable by allowing
891 to call run-python non-interactively.
892 (python-util-valid-regexp-p): New function.
893 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
894 (python-shell-prompt-output-regexp)
895 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
896
897 2014-07-16 Glenn Morris <rgm@gnu.org>
898
899 * desktop.el (after-init-hook): Disable startup frame restoration
900 in non-graphical situations. (Bug#17693)
901
902 2014-07-14 Glenn Morris <rgm@gnu.org>
903
904 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
905 if it was "empty", or used for a different set of files. (Bug#17884)
906
907 2014-07-13 Eli Zaretskii <eliz@gnu.org>
908
909 * bindings.el (mode-line-remote): If default-directory is not a
910 string, don't call file-remote-p on it; instead state in the
911 help-echo that it is nil. (Bug#17986)
912
913 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
914
915 Fix bug: C-x v v discarded existing log message (Bug#17884).
916 * vc/vc-dispatcher.el (vc-log-edit):
917 Don't clobber an already-existing log message.
918
919 2014-07-10 Glenn Morris <rgm@gnu.org>
920
921 * vc/log-edit.el (log-edit-changelog-entries):
922 Check for a visited-but-never-saved ChangeLog.
923
924 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
927 a non-existing file (bug#17970).
928
929 * faces.el (face-name): Undo last change.
930 (x-resolve-font-name): Don't call face-name (bug#17956).
931
932 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
933
934 Fix dedenters and electric colon handling. (Bug#15163)
935
936 * progmodes/python.el
937 (python-rx-constituents): Add dedenter and block-ender.
938 (python-indent-dedenters, python-indent-block-enders): Delete.
939 (python-indent-context): Return new case for dedenter-statement.
940 (python-indent-calculate-indentation): Handle new case.
941 (python-indent-calculate-levels): Fix levels calculation for
942 dedenter statements.
943 (python-indent-post-self-insert-function): Fix colon handling.
944 (python-info-dedenter-opening-block-message): New function.
945 (python-indent-line): Use it.
946 (python-info-closing-block)
947 (python-info-closing-block-message): Remove.
948 (python-info-dedenter-opening-block-position)
949 (python-info-dedenter-opening-block-positions)
950 (python-info-dedenter-statement-p): New functions.
951
952 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
955 the middle of a line (bug#17896).
956
957 2014-07-08 Juri Linkov <juri@jurta.org>
958
959 * startup.el (command-line): Append displaying the warning about
960 the errors in the init file to the end of `after-init-hook'.
961 (Bug#17927)
962
963 2014-07-08 Juri Linkov <juri@jurta.org>
964
965 * faces.el (face-name): Return input arg `face' as is
966 when it's not a symbol.
967 (x-resolve-font-name): Don't check if the face is a symbol.
968 (Bug#17956)
969
970 2014-07-08 Juri Linkov <juri@jurta.org>
971
972 * facemenu.el (list-colors-print): In help-echo format use %.2f
973 instead of %d because now HSV values are floating-point components
974 between 0.0 and 1.0.
975
976 2014-07-06 Glenn Morris <rgm@gnu.org>
977
978 * emulation/cua-rect.el (cua--activate-rectangle):
979 Avoid setting cua--rectangle to nil. (Bug#17877)
980
981 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
982
983 * calendar/todo-mode.el: Fix wrong-type-argument error when
984 marking multiple consecutive items.
985 (todo-toggle-mark-item): Don't try to mark the empty lines at the
986 end of the todo and done items sections. Note in doc string that
987 items marked by passing a numeric prefix argument can include the
988 last todo and first done items.
989 (todo-mark-category): Don't try to mark the empty line between the
990 todo and done items sections.
991
992 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
995 proper Lisp quoting (bug#17934).
996
997 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
998 require-final-newline since prog-mode already took care of it (bug#17947).
999
1000 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1001
1002 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1003 refer to the Todo mode Info manual. Update the comment on
1004 requiring cl-lib.
1005 (todo-find-filtered-items-file): Add todo-prefix overlays.
1006 (todo-filter-items): Reorder a let-bound variable to avoid a
1007 wrong-type-argument error on canceling the file choice dialog.
1008
1009 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * progmodes/octave.el (inferior-octave-mode):
1012 Set comint-input-ring-size to a number (bug#17912).
1013
1014 2014-07-03 Juri Linkov <juri@jurta.org>
1015
1016 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1017 and `isearch-mode' associated with nil. (Bug#17849)
1018
1019 2014-07-02 Juri Linkov <juri@jurta.org>
1020
1021 * desktop.el (desktop-save): Rename arg `auto-save' to
1022 `only-if-changed'. Doc fix. (Bug#17873)
1023
1024 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1027 Use insert-for-yank (bug#17271).
1028
1029 2014-07-02 Leo Liu <sdl.web@gmail.com>
1030
1031 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1032 Support lexical-binding.
1033
1034 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * vc/log-edit.el (log-edit-goto-eoh): New function.
1037 (log-edit--match-first-line): Use it (bug#17861).
1038
1039 2014-07-01 Glenn Morris <rgm@gnu.org>
1040
1041 * vc/log-edit.el (log-edit-hook): Add missing :version.
1042
1043 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1044
1045 * progmodes/python.el (python-indent-post-self-insert-function):
1046 Enhancements to electric indentation behavior inside
1047 parens. (Bug#17658)
1048
1049 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1052 buffer-invisibility-spec (bug#17867).
1053
1054 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1055
1056 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1057 pass "-a".
1058
1059 2014-06-29 Glenn Morris <rgm@gnu.org>
1060
1061 * cus-edit.el (help):
1062 * finder.el (finder-known-keywords):
1063 * help.el (help-for-help-internal):
1064 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1065 (ediff-redraw-registry-buffer):
1066 * vc/ediff-ptch.el (ediff-patch-file-internal):
1067 Doc fixes re "online" help. (Bug#17803)
1068
1069 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1070 (idlwave-mode): Doc URL update.
1071
1072 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1073
1074 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1075 account for file-wide setting of todo-top-priorities-overrides.
1076 Make code a bit cleaner.
1077
1078 2014-06-27 Leo Liu <sdl.web@gmail.com>
1079
1080 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1081
1082 2014-06-27 Glenn Morris <rgm@gnu.org>
1083
1084 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1085
1086 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1087
1088 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1089 category-wide setting of todo-top-priorities-overrides, check for
1090 a file-wide setting and fontify accordingly.
1091
1092 2014-06-26 Glenn Morris <rgm@gnu.org>
1093
1094 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1095
1096 2014-06-26 Daiki Ueno <ueno@gnu.org>
1097
1098 * emacs-lisp/package.el (package--check-signature):
1099 If package-check-signature is allow-unsigned, don't signal error when
1100 we can't verify signature because of missing public key
1101 (backport for bug#17625).
1102
1103 2014-06-26 Glenn Morris <rgm@gnu.org>
1104
1105 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1106 Remove outdated declaration.
1107
1108 * emacs-lisp/authors.el (authors-valid-file-names)
1109 (authors-renamed-files-alist): Additions.
1110
1111 2014-06-25 Leo Liu <sdl.web@gmail.com>
1112
1113 * textmodes/picture.el (picture-set-tab-stops):
1114 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1115 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1116
1117 * progmodes/asm-mode.el (asm-calculate-indentation):
1118 Use indent-next-tab-stop.
1119
1120 * indent.el (indent-accumulate-tab-stops): New function.
1121
1122 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1123
1124 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1125 (package-desc-status): Obey it.
1126
1127 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1128
1129 * calendar/todo-mode.el: Fix two bugs.
1130 (todo-insert-item--basic): If user cancels item insertion to
1131 another category before setting priority, show original category
1132 whether it is in the same or a different file.
1133 (todo-set-item-priority): After selecting category, instead of
1134 moving point to top, which extends an active region, restore it.
1135
1136 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * help-fns.el (describe-function-1): Check file-name is a string before
1139 calling help-fns--autoloaded-p (bug#17564).
1140
1141 2014-06-24 Juri Linkov <juri@jurta.org>
1142
1143 * desktop.el (desktop-auto-save-enable)
1144 (desktop-auto-save-disable): New functions.
1145 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1146 (desktop-read): Disable the autosave before loading the desktop,
1147 and enable afterwards. (Bug#17351)
1148
1149 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 Fix some indentation problem with \; and pipes (bug#17842).
1152 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1153 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1154 New functions.
1155 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1156 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1157 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1158
1159 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1160
1161 * international/fontset.el (script-representative-chars):
1162 Add representative characters for scripts added in Unicode 7.0.
1163 (otf-script-alist): Synchronize with the latest registry of OTF
1164 script tags.
1165
1166 * international/characters.el (char-script-table): Update for
1167 scripts added and codepoint ranges changed in Unicode 7.0.
1168
1169 2014-06-23 Leo Liu <sdl.web@gmail.com>
1170
1171 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1172 tab-stop-list to nil. (Bug#16381)
1173
1174 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1175 (indent-rigidly-left-to-tab-stop)
1176 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1177 (move-to-tab-stop): Change callers.
1178
1179 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1180
1181 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1182 wrt behavior of \n as the first/last element of a skeleton.
1183
1184 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1185
1186 * net/tramp-adb.el (tramp-adb-handle-process-file):
1187 * net/tramp-sh.el (tramp-sh-handle-process-file):
1188 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1189 the output buffer when DISPLAY is non-nil. (Bug#17815)
1190
1191 2014-06-21 Glenn Morris <rgm@gnu.org>
1192
1193 * play/landmark.el (landmark-move-down, landmark-move-up):
1194 Fix 2007-10-20 change - preserve horizontal position.
1195
1196 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1197
1198 Fix completion retrieval parsing (bug#17209).
1199 * progmodes/python.el (python-mode):
1200 (python-util-strip-string): New function.
1201 (python-shell-completion-get-completions): Use it.
1202
1203 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1204
1205 * skeleton.el (skeleton-insert): Fix last change.
1206
1207 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1208
1209 Enhancements for outline integration (bug#17796).
1210 * progmodes/python.el (python-mode): Properly set
1211 outline-heading-end-regexp so that comments after colons for
1212 defuns are supported.
1213
1214 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1215
1216 * skeleton.el (skeleton-insert): Doc fix.
1217
1218 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1221 (smie-config-guess): Use smie-config-local so the rules are obeyed
1222 (bug#17818).
1223
1224 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1225 since it's already done inside the loop (bug#17819).
1226
1227 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1228
1229 * mouse.el (mouse-drag-line): Re-remove code initially removed
1230 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1231 (Bug#17819).
1232
1233 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1236 align with the surrounding parent (bug#17721).
1237
1238 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1239
1240 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1241 locally to nil.
1242 (texinfo-insert-block, texinfo-insert-@end)
1243 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1244 local setting of skeleton-end-newline by adding an explicit \n to
1245 the skeletons where appropriate. (Bug#17801)
1246
1247 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1250 (smie-indent--hanging-p): Use it.
1251 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1252
1253 2014-06-20 Leo Liu <sdl.web@gmail.com>
1254
1255 * simple.el (read-quoted-char): Don't let help chars pop up help
1256 buffer. (Bug#16617)
1257
1258 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1261 for | (bug#17621).
1262
1263 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1266 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1267 burping.
1268
1269 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1270
1271 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1272 and later. (Bug#17790)
1273
1274 2014-06-18 Juri Linkov <juri@jurta.org>
1275
1276 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1277 to `soft'. (Bug#17554)
1278
1279 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1282 (bug#17737).
1283
1284 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1285
1286 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1287 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1288
1289 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1290
1291 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1292 `unread-command-events'.
1293
1294 2014-06-14 Glenn Morris <rgm@gnu.org>
1295
1296 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1297 Replace delete-duplicates and mapcan by cl- versions throughout.
1298 And cl-macroexpand-all by macroexpand-all.
1299 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1300
1301 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1302
1303 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1304
1305 2014-06-14 Juri Linkov <juri@jurta.org>
1306
1307 * bindings.el: Put `ascii-character' property on keypad keys
1308 mapped to characters. (Bug#17759)
1309
1310 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1313 bumping forward into a closing paren (bug#17761).
1314
1315 * term/xterm.el (xterm--version-handler): Work around for OSX
1316 Terminal.app (bug#17607).
1317
1318 2014-06-08 Glenn Morris <rgm@gnu.org>
1319
1320 * startup.el (initial-buffer-choice): Doc fix.
1321 Reset :version (adding an option does not merit a :version bump).
1322
1323 * bookmark.el (bookmark-load):
1324 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1325
1326 2014-06-06 Juri Linkov <juri@jurta.org>
1327
1328 * desktop.el: Activate auto-saving on window configuration changes.
1329 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1330 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1331 (desktop-auto-save-set-timer): Change REPEAT arg of
1332 `run-with-idle-timer' from t to nil.
1333 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1334
1335 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1336
1337 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1338 vc-hg-command (bug#17570).
1339
1340 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1341
1342 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1343 (bug#17702).
1344
1345 2014-06-06 Glenn Morris <rgm@gnu.org>
1346
1347 * startup.el (window-setup-hook): Doc fix.
1348
1349 2014-06-05 Glenn Morris <rgm@gnu.org>
1350
1351 * emacs-lisp/package.el (package-check-signature)
1352 (package-unsigned-archives): Doc fixes.
1353
1354 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1355
1356 * window.el (display-buffer-use-some-window): Don't make window
1357 used smaller than it was before (Bug#17671).
1358
1359 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1360
1361 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1362 'redisplay' instead of '(sit-for 0)'.
1363
1364 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1365
1366 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1367 regexp. (Bug#17653)
1368
1369 2014-06-03 Glenn Morris <rgm@gnu.org>
1370
1371 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1372
1373 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1374
1375 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1376
1377 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1378
1379 * simple.el (keyboard-quit): Force update of mode lines, to remove
1380 the "Def" indicator, if we were defining a macro. (Bug#17615)
1381
1382 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * minibuffer.el (minibuffer-force-complete-and-exit):
1385 Obey minibuffer-default (bug#17545).
1386
1387 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1388 (bug#17619).
1389
1390 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * subr.el (set-transient-map): Don't wait for some "nested"
1393 transient-map to finish if we're only supposed to be active for
1394 the next command (bug#17642).
1395
1396 2014-05-31 Leo Liu <sdl.web@gmail.com>
1397
1398 * emacs-lisp/gv.el (window-buffer, window-display-table)
1399 (window-dedicated-p, window-hscroll, window-point, window-start):
1400 Fix gv-expander. (Bug#17630)
1401
1402 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1405 clicks (bug#17633).
1406
1407 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1408 for the single comma, since ", " is *very* common in normal French text
1409 (bug#17643).
1410
1411 2014-05-30 Glenn Morris <rgm@gnu.org>
1412
1413 * emacs-lisp/package.el (package-check-signature)
1414 (package-unsigned-archives): Fix :version.
1415
1416 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * subr.el (sit-for): Don't run input-methods (bug#15614).
1419
1420 2014-05-28 Glenn Morris <rgm@gnu.org>
1421
1422 * cus-start.el: Fix some :version numbers.
1423
1424 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * simple.el (deactivate-mark): Set mark-active to nil even if
1427 deactivation is done via setting transient-mark-mode to nil,
1428 since one is buffer-local and the other is global.
1429
1430 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1431 there can't be more than 2 arguments (bug#17584).
1432
1433 2014-05-27 Glenn Morris <rgm@gnu.org>
1434
1435 * simple.el (filter-buffer-substring-functions)
1436 (filter-buffer-substring-function, buffer-substring-filters)
1437 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1438
1439 * minibuffer.el (completion-in-region-functions, completion-in-region)
1440 (completion--in-region): Doc fixes.
1441
1442 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1443 (expand-abbrev, abbrev--default-expand): Doc fixes.
1444
1445 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1446
1447 Include sources used to create macuvs.h.
1448 * international/README: Refer to the Unicode Terms of Use rather
1449 than copying it bodily here, as that simplifies maintenance.
1450
1451 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1452
1453 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1454
1455 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1456
1457 * window.el (window--dump-frame): Remove interactive
1458 specification.
1459
1460 2014-05-23 Glenn Morris <rgm@gnu.org>
1461
1462 * hippie-exp.el (he-line-search-regexp):
1463 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1464
1465 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1466
1467 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1468 to avoid errors when trying to create or visit a file foo.todo
1469 located outside to todo-directory, and to allow having such files
1470 without them being tied to Todo mode (bug#17482).
1471 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1472 (todo-archive-done-item, todo-find-filtered-items-file)
1473 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1474 (todo-category-completions, todo-read-category): When visiting a
1475 Todo file, make sure we're in the right mode and the buffer local
1476 variables are set.
1477 (todo-make-categories-list, todo-reset-nondiary-marker)
1478 (todo-reset-done-string, todo-reset-comment-string):
1479 After processing all Todo files, kill the buffers of those files that
1480 weren't being visited before the processing.
1481 (todo-display-as-todo-file, todo-add-to-buffer-list)
1482 (todo-visit-files-commands): Comment out.
1483 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1484 (auto-mode-alist): Remove add-to-list calls making Todo file
1485 extensions unrestrictedly tied to Todo modes.
1486
1487 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1490 (advice-function-member-p): Tell it to check both names and functions
1491 (bug#17531).
1492 (advice--add-function): Adjust call accordingly.
1493
1494 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1495
1496 * calendar/todo-mode.el: Miscellaneous bug fixes.
1497 (todo-delete-file): When deleting an archive but not its todo
1498 file, make sure to update the todo file's category sexp.
1499 (todo-move-category): Keep the moved category's name unless the
1500 file moved to already has a category with that name. If the
1501 numerically last category of the source file was moved, make the
1502 first category current to avoid selecting a nonexisting category.
1503 (todo-merge-category): Fix implementation to make merging to a
1504 category in another file work as documented. Eliminate now
1505 insufficient and unnecessary renaming of archive category, correct
1506 document string accordingly, and clarify it. If the numerically
1507 last category of the source file was merged, make the first
1508 category current to avoid selecting a nonexisting category.
1509 (todo-archive-done-item): When there are marked items and point
1510 happens to be on an unmarked item, ignore the latter. Don't leave
1511 point below last item after archiving marked items.
1512 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1513 from an archive with only one category deletes the archive only
1514 when the category is empty after unarchiving. Make sure the todo
1515 file's category sexp is updated.
1516 (todo-read-file-name): Allow an existing file name even when it is
1517 not required (todo-move-category needs this to work as documented).
1518 (todo-add-file): Call todo-validate-name to reject the name of an
1519 existing todo file (needed due to fix in todo-read-file-name).
1520 (todo-reset-nondiary-marker): Also reset in filtered items files.
1521 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1522 regexp filtered items files.
1523 (todo-reset-highlight-item): Also reset in filtered items files.
1524 Fix incorrect variable reference in document string.
1525
1526 2014-05-22 Glenn Morris <rgm@gnu.org>
1527
1528 * window.el (window--dump-frame): Avoid error in --without-x builds.
1529
1530 2014-05-21 Glenn Morris <rgm@gnu.org>
1531
1532 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1533
1534 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1535
1536 * frame.el (set-frame-font): Doc fix.
1537
1538 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1539
1540 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1541
1542 * emacs-lisp/package.el (package--download-one-archive):
1543 Use `write-region' instead of `save-buffer' to avoid running various
1544 hooks. (Bug#17155)
1545 (describe-package-1): Same. Insert newline at the end of the
1546 buffer if appropriate.
1547
1548 2014-05-20 Juri Linkov <juri@jurta.org>
1549
1550 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1551 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1552 Add more modifiers: meta, control, shift, hyper, super, alt.
1553 (Bug#17439)
1554
1555 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1556 to allow changing its value with `set-variable'.
1557
1558 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1561 #; comments.
1562 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1563 New functions.
1564 (scheme-mode-variables): Set syntax-propertize-function instead of
1565 font-lock-syntactic-face-function.
1566 (scheme-font-lock-syntactic-face-function): Delete.
1567
1568 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1569
1570 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1573 (bug#17392).
1574
1575 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1576
1577 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1578 for a temporary file name.
1579
1580 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1581
1582 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1583
1584 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1585
1586 * net/dbus.el (dbus-init-bus, dbus-call-method)
1587 (dbus-call-method-asynchronously, dbus-send-signal)
1588 (dbus-method-return-internal, dbus-method-error-internal):
1589 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1590
1591 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1592
1593 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1594 methods which do not have a doc string. (Bug#17490)
1595
1596 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1597 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1600 suffix (bug#15419).
1601
1602 2014-05-14 Glenn Morris <rgm@gnu.org>
1603
1604 * vc/emerge.el (emerge-temp-file-prefix):
1605 Make pointless option obsolete.
1606 (emerge-temp-file-mode): Make non-functional option obsolete.
1607
1608 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1609
1610 * net/browse-url.el (browse-url):
1611 Use `unhandled-file-name-directory' when setting `default-directory',
1612 in order to circumvent stalled remote connections. (Bug#17425)
1613
1614 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1615
1616 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1617 into autoloading just because of a silly indirection.
1618
1619 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1620
1621 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1622
1623 2014-05-11 Glenn Morris <rgm@gnu.org>
1624
1625 * emacs-lisp/find-gc.el: Move to ../admin.
1626
1627 2014-05-10 Glenn Morris <rgm@gnu.org>
1628
1629 * printing.el (pr-version):
1630 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1631
1632 * net/browse-url.el (browse-url-mosaic):
1633 Create /tmp/Mosaic.PID as a private file.
1634
1635 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1638 (advice--member-p): If name is given, only compare the name.
1639 (advice--remove-function): Don't stop at the first match.
1640 (advice--normalize-place): New function.
1641 (add-function, remove-function): Use it.
1642 (advice--add-function): Pass the name, if any, to
1643 advice--remove-function.
1644
1645 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1646
1647 * electric.el (electric-indent-post-self-insert-function): Don't use
1648 `pos' after modifying the buffer (bug#17449).
1649
1650 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1651
1652 * subr.el (function-put): Add function.
1653
1654 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1655
1656 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1657 Correct argument list to conform to todo-insert-item--basic.
1658
1659 2014-05-09 Glenn Morris <rgm@gnu.org>
1660
1661 * files.el (cd-absolute): Test if directory is accessible
1662 rather than executable. (Bug#17330)
1663
1664 * progmodes/compile.el (recompile):
1665 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1666
1667 2014-05-08 Juri Linkov <juri@jurta.org>
1668
1669 * dired.el (dired-check-switches, dired-switches-recursive-p):
1670 New functions. (Bug#17218)
1671 (dired-switches-escape-p, dired-move-to-end-of-filename):
1672 Use `dired-check-switches'.
1673 (dired-insert-old-subdirs, dired-build-subdir-alist)
1674 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1675
1676 2014-05-08 Glenn Morris <rgm@gnu.org>
1677
1678 * net/browse-url.el (browse-url-mosaic):
1679 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1680 This is CVE-2014-3423.
1681
1682 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1685 (xterm-mouse--read-event-sequence-1000): Return nil if something
1686 looks fishy.
1687 (xterm-mouse-event): Propagate it.
1688 (xterm-mouse-translate-1): Handle it.
1689
1690 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1691
1692 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1693 four slots of the parameter list are filled, make sure to pass it
1694 to the argument list of todo-insert-item--basic.
1695
1696 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1699 Add optional `seen' argument to detect and break infinite loops.
1700
1701 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1702
1703 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1704 (trace-unsafe, trace-use-tree): Make parentheses style be
1705 according to Emacs style.
1706
1707 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1708
1709 * net/tramp-sh.el (tramp-remote-process-environment):
1710 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1711 Add :version entry.
1712 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1713 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1714 extra "PSx=..." commands.
1715 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1716 (Bug#17295)
1717
1718 (tramp-uudecode): Replace the hard-coded temporary file name by a
1719 format specifier.
1720 (tramp-remote-coding-commands): Enhance docstring.
1721 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1722 name. (Bug#17415)
1723 This is CVE-2014-3424.
1724
1725 2014-05-06 Glenn Morris <rgm@gnu.org>
1726
1727 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1728 (find-gc-source-files): Update some names.
1729 (trace-call-tree): Simplify and update.
1730 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1731 This is CVE-2014-3422.
1732
1733 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * minibuffer.el (completion--try-word-completion): Revert fix for
1736 Bug#15980 (bug#17375).
1737
1738 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1739 Always store button numbers in the same way in xterm-mouse-last;
1740 Don't burp is xterm-mouse-last is not set as expected.
1741 Never return negative indices.
1742
1743 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1744
1745 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1746 Backtrack one char if the global/char-literal var matcher hits
1747 inside a string. The next char could be the beginning of an
1748 expression expansion.
1749
1750 2014-05-05 Glenn Morris <rgm@gnu.org>
1751
1752 * help-fns.el (describe-function-1): Test for an autoload before a
1753 macro, since `macrop' works on autoloads. (Bug#17410)
1754
1755 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1758
1759 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1760 Make sure the new point we return is within the new string (bug#17239).
1761
1762 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1763
1764 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1765
1766 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1769 Use nil rather than `default' for the "default" appearance (bug#17388).
1770 * vc/ediff-util.el (ediff-inferior-compare-regions)
1771 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1772 a misleading `default' value when it's really a boolean.
1773 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1774 overlay is not visible.
1775
1776 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1777
1778 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1779 (todo-menu): Uncomment and update.
1780
1781 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1782
1783 * calendar/todo-mode.el: Reimplement item editing to have the same
1784 basic user interface as item insertion, and make small UI and
1785 larger internal improvements to the latter.
1786 (todo-insert-item): Add reference to the Todo mode user manual to
1787 the documentation string.
1788 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1789 adjust all callers. Change signature to combine diary and
1790 nonmarking arguments. Incorporate functionality of deleted item
1791 copying command and add error checking. Remove detailed
1792 descriptions of the arguments from the documentation string, since
1793 this is treated in the Todo mode user manual.
1794 (todo-copy-item, todo-edit-multiline-item)
1795 (todo-edit-done-item-comment, todo-edit-item-header)
1796 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1797 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1798 (todo-edit-item-date-year, todo-edit-item-date-month)
1799 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1800 Remove.
1801 (todo-edit-item): Reimplement as wrapper command for
1802 todo-edit-item--next-key and make it distinguish done and not done
1803 todo items.
1804 (todo-edit-item--text): New function, replacing old command
1805 todo-edit-item and incorporating deleted commands
1806 todo-edit-multiline-item and todo-edit-done-item-comment.
1807 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1808 Use only numeric value of prefix argument. Remove detailed
1809 descriptions of the arguments from the documentation string, since
1810 this is treated in the Todo mode user manual.
1811 (todo-edit-item--diary-inclusion): New function, replacing old
1812 command todo-edit-item-diary-inclusion and incorporating and fixing
1813 functionality of deleted command todo-edit-item-diary-nonmarking,
1814 making sure to remove todo-nondiary-marker when adding
1815 diary-nonmarking-symbol.
1816 (todo-edit-category-diary-inclusion): Make sure to delete
1817 diary-nonmarking-symbol when adding todo-nondiary-marker.
1818 (todo-edit-category-diary-nonmarking): Fix indentation.
1819 (todo-insert-item--parameters): Group diary and nonmarking
1820 parameters together.
1821 (todo-insert-item--apply-args): Adjust to signature of
1822 todo-insert-item--basic and incorporate copy parameter.
1823 Make small code improvements.
1824 (todo-insert-item--next-param): Improve prompt and adjust it to
1825 new parameter grouping. Remove obsolete code.
1826 (todo-edit-item--param-key-alist)
1827 (todo-edit-item--date-param-key-alist)
1828 (todo-edit-done-item--param-key-alist): New defconsts.
1829 (todo-edit-item--prompt): New variable.
1830 (todo-edit-item--next-key): New function.
1831 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1832 Remove bindings of deleted commands.
1833
1834 2014-05-02 Leo Liu <sdl.web@gmail.com>
1835
1836 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1837
1838 2014-05-01 Glenn Morris <rgm@gnu.org>
1839
1840 * allout-widgets.el (allout-widgets-tally)
1841 (allout-decorate-item-guides):
1842 * menu-bar.el (menu-bar-positive-p):
1843 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1844 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1845 * progmodes/js.el (js--inside-param-list-p)
1846 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1847 * progmodes/prolog.el (region-exists-p):
1848 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1849 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1850 Doc fixes (replace `iff').
1851
1852 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1855
1856 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1857
1858 * dired.el (dired-initial-position-hook, dired-initial-position):
1859 Doc string fixes.
1860
1861 2014-04-29 Glenn Morris <rgm@gnu.org>
1862
1863 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1864
1865 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1866
1867 * faces.el (face-spec-recalc): Apply X resources only after the
1868 defface spec has been applied. Thus, X resources are no longer
1869 overridden by the defface spec which also fixes issues on win32 where
1870 the toolbar coloring was wrong because it is set through X resources
1871 and was (wrongfully) overridden. (Bug#16694)
1872
1873 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * textmodes/rst.el (electric-pair-pairs): Declare.
1876 (rst-mode): Set it (bug#17131).
1877
1878 2014-04-27 Juri Linkov <juri@jurta.org>
1879
1880 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1881 and `print-level' to nil. (Bug#17351)
1882
1883 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1884
1885 * battery.el (battery-update): Handle the case where battery
1886 status is "N/A" (bug#17319).
1887
1888 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1889
1890 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1891 Use equal-including-properties to compare help-echo strings (bug#17331).
1892
1893 2014-04-24 Leo Liu <sdl.web@gmail.com>
1894
1895 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1896 Fix syntax for @. (Bug#17325)
1897
1898 2014-04-24 Daniel Colascione <dancol@dancol.org>
1899
1900 * emacs-lisp/cl.el (gv): Require gv early to break eager
1901 macro-expansion cycles.
1902
1903 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * simple.el (region-active-p): Check there's a mark (bug#17324).
1906
1907 * simple.el (completion-list-mode-map): Use choose-completion for the
1908 mouse binding as well (bug#17302).
1909 (completion-list-mode, completion-setup-function): Adjust docstring and
1910 echo area message accordingly.
1911 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1912 calling convention of choose-completion.
1913 * comint.el (comint-dynamic-list-completions):
1914 * term.el (term-dynamic-list-completions): Accept choose-completion.
1915
1916 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1917 &, |, +, - and * can't be a division (bug#17317).
1918
1919 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1922 features on gnome-terminal (bug#16988).
1923
1924 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1925
1926 * dired.el (dired-insert-set-properties): Do not consider
1927 subdirectory headings and empty lines to be information that
1928 `dired-hide-details-mode' should hide. (Bug#17228)
1929
1930 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1931
1932 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1933 Remove test messages.
1934 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1935 and `target' twice.
1936
1937 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1940 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1941
1942 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1943
1944 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1945
1946 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1947 Set "IFS=" when using read builtin, in order to preserve spaces in
1948 the file name. Add test messages for hunting a bug on hydra.
1949 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1950
1951 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1954 Don't prettify a word within a symbol.
1955
1956 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1957
1958 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1959 possible.
1960
1961 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1964 assignments such as "case=hello" (bug#17297).
1965
1966 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1967
1968 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1969 Do not autoload.
1970 (tramp-file-name-handler, tramp-completion-file-name-handler):
1971 Revert patch from 2014-04-10, it isn't necessary anymore.
1972 (tramp-autoload-file-name-handler)
1973 (tramp-register-autoload-file-name-handlers): New defuns.
1974 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1975 (tramp-register-file-name-handlers): Remove also
1976 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1977 Do not autoload its invocation, but eval it after loading of 'tramp.
1978
1979 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1980
1981 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1982
1983 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1986 was done (bug#17264).
1987 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1988 comment to EOB.
1989
1990 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1991 here-documents (bug#17262).
1992
1993 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1994
1995 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1996 Provide doc strings, as required by snarf-documentation.
1997
1998 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2001 arg of overlays-at. Use `invisible-p'.
2002
2003 * obsolete/lucid.el (extent-at):
2004 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2005 overlays-at.
2006 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2007
2008 2014-04-14 João Távora <joaotavora@gmail.com>
2009
2010 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2011 links. (Bug#17217).
2012
2013 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2014
2015 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2016 Use mapc to loop over a vector. (Bug#17257).
2017
2018 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2021 patch, there are new problems with file names containing spaces.
2022 Get rid of backticks. (Bug#17238)
2023
2024 2014-04-13 João Távora <joaotavora@gmail.com>
2025
2026 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2027 possible bug.
2028
2029 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2030
2031 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2032 (blink-cursor-mode): Mention customization variables and the
2033 effect of 'blink-cursor-blinks'.
2034
2035 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2036
2037 * simple.el (undo): Prevent insertion of identity mapping into
2038 undo-equiv-table so as undo-only does not inf loop in the presence
2039 of consecutive nils in undo list.
2040
2041 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2042
2043 * faces.el (make-face): Deprecate optional argument as it is no
2044 longer needed/used since the conditional X resources handling
2045 has been pushed down to make-face-x-resource-internal itself.
2046 (make-empty-face): Don't pass optional argument to make-face.
2047
2048 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2049
2050 * international/characters.el <standard-case-table>: Add entries
2051 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2052 Set category of Coptic characters be 'g' (Greek).
2053
2054 2014-04-12 Leo Liu <sdl.web@gmail.com>
2055
2056 * progmodes/octave.el (completion-table-with-cache): Define if not
2057 available.
2058 (octave-goto-function-definition)
2059 (octave-sync-function-file-names)
2060 (octave-find-definition-default-filename): Backquote upattern for
2061 compatibility.
2062
2063 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2066 name twice due to backticks. (Bug#17238)
2067
2068 2014-04-11 Glenn Morris <rgm@gnu.org>
2069
2070 * term/w32-win.el (x-win-suspend-error):
2071 * term/x-win.el (x-win-suspend-error): Sync docs.
2072
2073 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 Ediff's overlay priorities cause more trouble than they solve.
2076 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2077 (ediff-highest-priority): Remove function (bug#17234).
2078 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2079 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2080 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2081 overlay priorities.
2082
2083 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2084
2085 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2086 entry; use symbol boundaries to avoid mis-matches.
2087
2088 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2089
2090 * net/tramp.el (tramp-file-name-handler)
2091 (tramp-completion-file-name-handler): Avoid recursive loading.
2092
2093 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2094 Quote result also locally.
2095
2096 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2097
2098 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2099 Module methods. (Bug#17216)
2100
2101 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2104 (describe-bindings-internal): Mark obsolete.
2105
2106 2014-04-07 João Távora <joaotavora@gmail.com>
2107
2108 * elec-pair.el:
2109 (electric-pair--syntax-ppss): When inside comments parse from
2110 comment beginning.
2111 (electric-pair--balance-info): Fix typo in comment.
2112 (electric-pair--in-unterminated-string-p): Delete.
2113 (electric-pair--unbalanced-strings-p): New function.
2114 (electric-pair-string-bound-function): New var.
2115 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2116 according to `electric-pair--in-unterminated-string-p'
2117
2118 2014-04-07 João Távora <joaotavora@gmail.com>
2119
2120 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2121 Inhibit quote pairing if point-max is inside an unterminated string.
2122 (electric-pair--looking-at-unterminated-string-p): Delete.
2123 (electric-pair--in-unterminated-string-p): New function.
2124
2125 2014-04-07 Glenn Morris <rgm@gnu.org>
2126
2127 * shell.el (shell-directory-tracker):
2128 Go back to just ignoring failures. (Bug#17159)
2129
2130 2014-04-06 João Távora <joaotavora@gmail.com>
2131
2132 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2133 backspace. (bug#16981)
2134 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2135 (electric-pair-backward-delete-char-untabify): Delete.
2136 (electric-pair-mode-map): Bind backspace to a menu item filtering
2137 a new `electric-pair-delete-pair' command.
2138 (electric-pair-delete-pair): New command.
2139
2140 2014-04-06 João Távora <joaotavora@gmail.com>
2141
2142 * progmodes/python.el (python-electric-pair-string-delimiter):
2143 Fix triple-quoting electricity. (Bug#17192)
2144
2145 2014-04-06 João Távora <joaotavora@gmail.com>
2146
2147 * elec-pair.el (electric-pair-post-self-insert-function):
2148 Don't skip whitespace when `electric-pair-text-pairs' and
2149 `electric-pair-pairs' were used. syntax to
2150 electric-pair--skip-whitespace. (Bug#17183)
2151
2152 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2153
2154 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2155 "<F>". (Bug#17199)
2156
2157 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2160 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2161
2162 2014-04-05 Glenn Morris <rgm@gnu.org>
2163
2164 * help.el (view-lossage): Doc tweak.
2165
2166 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2167
2168 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2169 only when inhibit-x-resources is nil, and do that earlier in the
2170 function. Doc fix. (Bug#16694)
2171 (face-spec-choose): Accept additional optional argument, whose
2172 value is returned if no matching attributes are found.
2173 (face-spec-recalc): Use the new optional argument when calling
2174 face-spec-choose. (Bug#16378)
2175 (make-face-x-resource-internal): Do nothing when
2176 inhibit-x-resources is non-nil. Don't touch the default face if
2177 reversed video is given--as was done in previous versions of Emacs.
2178 (face-set-after-frame-default): Don't call
2179 make-face-x-resource-internal here. (Bug#16434)
2180
2181 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2182
2183 * doc-view.el (doc-view-bookmark-jump):
2184 Use `bookmark-after-jump-hook' to jump to the right page after the
2185 buffer is shown in a window. (bug#16090)
2186
2187 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2188
2189 * international/characters.el (mirroring): Fix last change:
2190 instead of loading uni-mirrored.el explicitly, do that implicitly
2191 by creating the 'mirroring' uniprop table. This avoids announcing
2192 the loading of uni-mirrored.el.
2193
2194 2014-04-04 Glenn Morris <rgm@gnu.org>
2195
2196 * files.el (buffer-stale--default-function)
2197 (buffer-stale-function, revert-buffer--default):
2198 * autorevert.el (auto-revert-buffers): Doc tweaks.
2199
2200 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2201
2202 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2203
2204 2014-04-03 Glenn Morris <rgm@gnu.org>
2205
2206 * files.el (make-backup-file-name-function)
2207 (make-backup-file-name, make-backup-file-name--default-function)
2208 (make-backup-file-name-1, find-backup-file-name)
2209 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2210 (buffer-stale--default-function, buffer-stale-function)
2211 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2212 (revert-buffer, revert-buffer--default)
2213 (revert-buffer-insert-file-contents--default-function):
2214 Doc fixes related to defaults no longer being nil.
2215 (make-backup-file-name-function): Bump :version.
2216 Restore nil as a valid but deprecated custom type.
2217
2218 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2221 used as a variable (bug#17174).
2222
2223 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * progmodes/perl-mode.el (perl-indent-new-calculate):
2226 Handle forward-sexp failure (bug#16985).
2227 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2228 modifiers introducing expressions (bug#17116).
2229
2230 2014-04-02 Glenn Morris <rgm@gnu.org>
2231
2232 * menu-bar.el (menu-bar-file-menu):
2233 * vc/ediff.el (ediff-current-file):
2234 Update for revert-buffer-function no longer being nil by default.
2235
2236 * simple.el (command-execute): Respect nil disabled-command-function.
2237
2238 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2239
2240 * simple.el (command-execute): Do not execute the command when it
2241 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2242
2243 2014-03-29 Juri Linkov <juri@jurta.org>
2244
2245 * dired-aux.el (dired-compress-file): Don't use string-match-p
2246 because its match data is used afterwards.
2247
2248 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2251 0 like nil.
2252
2253 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2254
2255 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2256 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2257
2258 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2259 Don't propertize `?' or `!' as symbol constituent when after
2260 colon. (Bug#17097)
2261
2262 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2263
2264 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2265 which is no longer needed and causes trouble in GTK builds (bug#17046).
2266
2267 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2268 Use url-insert-file-contents; package-handle-response no longer exists.
2269
2270 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2271
2272 * emacs-lisp/package.el: Fix bug#16733 (again).
2273 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2274 (url-http-target-url): Remove unused declarations.
2275 (package-handle-response): Remove.
2276 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2277 (package--download-one-archive): Use current-buffer instead of
2278 dynamic binding of `buffer'.
2279 (describe-package-1): Do not decode readme-string.
2280
2281 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2282
2283 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2284
2285 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2286
2287 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2288
2289 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2290 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2291 `remote-file-name-inhibit-cache' to nil in the second pass.
2292 (tramp-find-executable): Do not call "which" on SunOS.
2293 (tramp-send-command-and-check): Fix docstring.
2294 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2295 check whether source directory has set the sticky bit.
2296
2297 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2298
2299 * simple.el (primitive-undo): Only process marker adjustments
2300 validated against their corresponding (TEXT . POS). Issue warning
2301 for lone marker adjustments in undo history. (Bug#16818)
2302 (undo-make-selective-list): Add marker adjustments to selective
2303 undo list based on whether their corresponding (TEXT . POS) is in
2304 the region. Remove variable adjusted-markers, which was unused
2305 and only non nil during undo-make-selective-list.
2306 (undo-elt-in-region): Return nil when passed a marker adjustment
2307 and explain in function doc.
2308
2309 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2310
2311 * emacs-lisp/package.el (package--add-to-archive-contents):
2312 Include already installed and built-in packages in
2313 `package-archive-contents'.
2314 (package-install): Don't include already installed packages in the
2315 options during interactive invocation. (Bug#16762)
2316
2317 2014-03-24 Daniel Colascione <dancol@dancol.org>
2318
2319 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2320 instead of cl-loop search function.
2321
2322 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2323
2324 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2325
2326 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2327
2328 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2329
2330 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2331
2332 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2333 Match special global variables without curlies, too.
2334 (ruby-font-lock-keywords): Simplify the matcher for special global
2335 variables. Don't require a non-word character after the variable.
2336 (Bug#17057)
2337
2338 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * simple.el (redisplay-highlight-region-function): Increase priority of
2341 overlay to make sure boundaries are visible (bug#15899).
2342
2343 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2344
2345 * frameset.el (frameset-restore): Compare display strings with equal.
2346
2347 * frame.el (make-frame): Don't quote display name in error message,
2348 it is already a string.
2349
2350 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2351
2352 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2353 the password.
2354
2355 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2356
2357 * emacs-lisp/package.el (package-show-package-list): If the buffer
2358 is already displayed in another window, switch to that window.
2359
2360 2014-03-21 Daniel Colascione <dancol@dancol.org>
2361
2362 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2363 information in bug reports.
2364
2365 2014-03-23 Daniel Colascione <dancol@dancol.org>
2366
2367 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2368 list to look for keyword arguments instead of `memq', fixing
2369 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2370 Please make bootstrap.
2371
2372 2014-03-23 Richard Stallman <rms@gnu.org>
2373
2374 * battery.el (battery-linux-sysfs): Search for each field
2375 from the beginning of the buffer.
2376
2377 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2378
2379 * emacs-lisp/package.el (package-desc): Use the contents of the
2380 quoted form, not its cdr. (Bug#16873)
2381
2382 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2383
2384 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2385 benefit of doc.c; change parameter profile to match the X function.
2386
2387 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2388
2389 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2390 and `tramp-copy-env'.
2391
2392 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2393 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2394
2395 2014-03-21 Glenn Morris <rgm@gnu.org>
2396
2397 * electric.el (electric-indent-post-self-insert-function): Add doc.
2398
2399 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2400
2401 * emacs-lisp/package.el (package-compute-transaction):
2402 Use `version-list-<=' to compare the requirement version against
2403 the version of package already to be installed. Update the error
2404 message. (Bug#16826)
2405
2406 * progmodes/ruby-mode.el (ruby-smie-rules):
2407 Add indentation rule for ` @ '. (Bug#17050)
2408
2409 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2410
2411 * align.el (align-regexp): Remove superfluous backslash.
2412
2413 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2414 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2415 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2416 Fix docstring typos.
2417 (ffap-next): Use C-u in docstring.
2418 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2419 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2420 Remove superfluous backslashes.
2421 (ffap-string-at-point): Reflow docstring.
2422
2423 * server.el (server-host): Reflow docstring.
2424 (server-unload-function): Fix docstring typo.
2425 (server-eval-at): Remove superfluous backslash.
2426
2427 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2428 (skeleton-insert): Doc fix.
2429 (skeleton-insert): Reflow docstring.
2430
2431 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2432 (tty-color-approximate, tty-color-by-index, tty-color-values)
2433 (tty-color-desc): Remove superfluous backslashes.
2434
2435 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 * electric.el (electric-newline-and-maybe-indent): New command.
2438 Bind it globally to C-j.
2439 (electric-indent-mode): Don't mess with the global map any more.
2440 Don't drop the post-self-insert-hook is some buffer is still using it
2441 (bug#16770).
2442
2443 * bindings.el (global-map): Remove C-j binding.
2444
2445 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2446 the docstring of functions advised before dumping (bug#16993).
2447
2448 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2449
2450 * ps-print.el (ps-generate-postscript-with-faces):
2451 Explicitly deactivate the mark (bug#16866).
2452 * simple.el (deactivate-mark): Update region highlight.
2453
2454 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2455
2456 * emacs-lisp/package.el (describe-package-1):
2457 Decode commentary (bug#16733).
2458
2459 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2460
2461 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2462 modification of the value argument of :set (bug#16755).
2463
2464 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * simple.el (newline-and-indent): Do autofill (bug#17031).
2467
2468 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2469
2470 * newcomment.el (comment-normalize-vars): Only add escaping check
2471 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2472 (comment-beginning): Use `narrow-to-region' instead of moving back
2473 one character.
2474 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2475 (comment-start-skip): Update the docstring.
2476
2477 2014-03-18 Richard Stallman <rms@gnu.org>
2478
2479 * dired.el (dired-display-file): Force use of other window.
2480
2481 2014-03-18 Daniel Colascione <dancol@dancol.org>
2482
2483 * startup.el (tty-handle-args): Remove debug message from 2007.
2484
2485 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2488 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2489 (advice--make-1, advice-add, advice-remove):
2490 Remove braindead :advice-pending hack.
2491
2492 2014-03-17 Glenn Morris <rgm@gnu.org>
2493
2494 * calendar/calendar.el (calendar-generate-month): Apply weekend
2495 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2496
2497 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2500 (tramp-call-process): Trace also DESTINATION.
2501
2502 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2503 Quote file names when they are local. Remove superfluous trace.
2504
2505 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2506
2507 * newcomment.el (comment-beginning): If `comment-start-skip'
2508 doesn't match, move back one char and try again. (Bug#16971)
2509
2510 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2511 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2512 Set `comment-start-skip' to a simpler value that doesn't try to
2513 check if the semicolon is escaped (this is handled by
2514 `syntax-ppss' now). (Bug#16971)
2515
2516 * progmodes/scheme.el (scheme-mode-variables): Same.
2517
2518 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2519
2520 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2521 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2522 current (Bug#16816, Bug#17007).
2523 (with-current-buffer-window): New macro doing the same as
2524 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2525 * help.el (help-print-return-message): Warn in doc-string to not
2526 use this in `with-help-window'.
2527 (describe-bindings-internal): Call `describe-buffer-bindings'
2528 from within help buffer. See Juanma's scenario in (Bug#16816).
2529 (with-help-window): Update doc-string.
2530 * dired.el (dired-mark-pop-up):
2531 * files.el (save-buffers-kill-emacs):
2532 * register.el (register-preview): Use `with-current-buffer-window'
2533 instead of `with-temp-buffer-window'.
2534
2535 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2536
2537 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2538 Implement inserting into current buffer, documented in their docstrings.
2539 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2540 (rst-section-tree-point, rst-forward-section, rst-indent)
2541 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2542 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2543 (rst-font-lock-handle-adornment-pre-match-form)
2544 (rst-repeat-last-character): Reflow docstrings.
2545 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2546 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2547 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2548 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2549 Fix docstring typos.
2550 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2551 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2552 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2553
2554 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2555
2556 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2557 for compatibility with other ports.
2558 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2559 from the -xrm command line argument, but in the Nextstep port its value
2560 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2561
2562 * progmodes/python.el (defconst, python-syntax-count-quotes)
2563 (python-indent-region, python-indent-shift-right)
2564 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2565 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2566 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2567 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2568 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2569 (python-shell-buffer-substring, python-shell-send-buffer)
2570 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2571 (python-completion-complete-at-point, python-fill-docstring-style)
2572 (python-eldoc-function, python-imenu-format-item-label)
2573 (python-imenu-format-parent-item-label)
2574 (python-imenu-format-parent-item-jump-label)
2575 (python-imenu--build-tree, python-imenu-create-index)
2576 (python-imenu-create-flat-index): Fix docstring typos.
2577 (python-indent-context, python-shell-prompt-regexp, run-python):
2578 Remove superfluous backslashes.
2579 (python-indent-line, python-nav-beginning-of-defun)
2580 (python-shell-get-buffer, python-shell-get-process)
2581 (python-info-current-defun, python-info-current-line-comment-p)
2582 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2583 (python-indent-post-self-insert-function, python-shell-send-file)
2584 (python-shell-completion-get-completions)
2585 (python-shell-completion-complete-or-indent)
2586 (python-eldoc--get-doc-at-point): Reflow docstrings.
2587
2588 2014-03-14 Glenn Morris <rgm@gnu.org>
2589
2590 * emacs-lisp/package.el (package-menu-mode-map):
2591 Replace use of obsolete function alias. Tweak menu item text.
2592
2593 * info.el (Info-finder-find-node):
2594 Ignore the `emacs' metapackage. (Bug#10813)
2595
2596 * finder.el (finder-list-matches): Include unversioned packages
2597 in the result of a keyword search.
2598
2599 * finder.el (finder--builtins-descriptions): New constant.
2600 (finder-compile-keywords): Use finder--builtins-descriptions.
2601
2602 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2603
2604 * simple.el (blink-matching-paren): Describe the new value,
2605 `jump', enabling the old behavior.
2606 (blink-matching-open): Use that value. (Bug#17008)
2607
2608 2014-03-14 Glenn Morris <rgm@gnu.org>
2609
2610 * finder.el (finder-no-scan-regexp): Add leim-list.
2611 (finder-compile-keywords):
2612 Don't skip files with same basename. (Bug#14010)
2613 * Makefile.in (setwins_finder): New, excluding leim.
2614 (finder-data): Use setwins_finder.
2615
2616 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2617 (help-function-arglist, help-make-usage): Move from here...
2618 * help.el (help-split-fundoc, help-add-fundoc-usage)
2619 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2620 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2621
2622 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2623
2624 * net/socks.el (socks, socks-override-functions)
2625 (socks-find-services-entry):
2626 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2627 (hif-find-ifdef-block):
2628 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2629
2630 * net/tls.el (tls-program): Reflow docstring.
2631
2632 * progmodes/pascal.el (pascal-mode-abbrev-table)
2633 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2634 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2635 (pascal-outline-mode): Fix docstring typos.
2636 (pascal-mode): Let define-derived-mode document mode hook.
2637 (pascal-uncomment-area): Reflow.
2638 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2639
2640 * progmodes/opascal.el (opascal-compound-block-indent)
2641 (opascal-case-label-indent): Fix docstring typos.
2642 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2643
2644 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2645
2646 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2647 Fontify multiple adjacent negation chars. (Bug#17004)
2648
2649 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2650
2651 * emacs-lisp/package.el (package--prepare-dependencies):
2652 Accept requirements without explicit version (bug#14941).
2653
2654 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2655
2656 * register.el (register-separator, copy-to-register): Doc fixes.
2657 (register-preview-default): Remove unnecessary call to concat.
2658
2659 * frameset.el (frameset-restore): When checking for a visible frame,
2660 use the action map instead of calling visible-frame-list.
2661
2662 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2663
2664 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2665
2666 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2667
2668 * window.el (fit-frame-to-buffer): Get maximum width from
2669 display's width instead of height.
2670
2671 2014-03-12 Glenn Morris <rgm@gnu.org>
2672
2673 * desktop.el (desktop-restore-frames)
2674 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2675 (desktop-restore-reuses-frames): Doc tweaks.
2676
2677 * electric.el (electric-indent-mode): Doc fix.
2678
2679 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2680
2681 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2682 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2683 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2684 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2685 (cvs-dired-use-hook): Fix docstring typos.
2686 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2687 Doc fixes.
2688
2689 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2690 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2691 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2692 (cvs-execute-single-dir): Fix docstring typos.
2693
2694 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2695 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2696
2697 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2698
2699 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2700 Fix docstring typos.
2701
2702 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2703
2704 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2705 called from jump-to-register after unloading the frameset package.
2706
2707 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2710 (bug#16975). Deactivate the mark before setting it to nil.
2711 (activate-mark): Do nothing if region is already active.
2712
2713 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2714
2715 * frameset.el (frameset--target-display): Remove definition; declare.
2716 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2717
2718 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2719
2720 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2721 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2722 when the advice is pending.
2723 (advice-remove): Remove this marker when not needed any more.
2724
2725 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2726
2727 * frameset.el: Separate options for reusing frames and cleaning up.
2728 (frameset--reuse-list): Remove definition; declare.
2729 (frameset--action-map): Declare.
2730 (frameset--find-frame-if): Doc fix.
2731 (frameset--restore-frame): Cache frame action.
2732 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2733 how to clean up the frame list after restoring. Remove cleaning
2734 options from REUSE-FRAMES. Change all keyword values to symbols.
2735 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2736
2737 * desktop.el (desktop-restore-forces-onscreen)
2738 (desktop-restore-reuses-frames): Use non-keyword values.
2739 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2740
2741 2014-03-10 Glenn Morris <rgm@gnu.org>
2742
2743 * files.el (find-file): Doc fix: update info node name.
2744
2745 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2746 Doc fix: remove references to deleted info nodes.
2747
2748 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2749
2750 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2751 Do not add `nil' to the environment, when there's no remote `locale'.
2752 (tramp-find-inline-encoding): Check, that the remote host has
2753 installed perl, before sending scripts.
2754
2755 2014-03-10 Leo Liu <sdl.web@gmail.com>
2756
2757 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2758 Clear eldoc-last-message. (Bug#16920)
2759
2760 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2763 (bug#14430).
2764
2765 2014-03-09 Juri Linkov <juri@jurta.org>
2766
2767 * ansi-color.el (ansi-color-names-vector): Copy default colors
2768 from `xterm-standard-colors' that look well on the default white
2769 background (and also on the black background) to avoid illegible
2770 color combinations like yellow-on-white and white-on-white.
2771 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2772
2773 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2774
2775 * frameset.el (frameset-restore): When no frame is visible, do not
2776 generate a list of frames, just make visible the selected one.
2777
2778 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2779
2780 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2781 it only contains the repository root. (Bug#16897)
2782
2783 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2784
2785 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2786 only when `remote-file-name-inhibit-cache' is nil.
2787 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2788
2789 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2790
2791 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2792 Fix doc-strings.
2793 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2794 fit-frame-to-buffer variable. Fix doc-string.
2795 (fit-window-to-buffer): Set ONLY argument in call of
2796 fit-frame-to-buffer. Fix doc-string.
2797
2798 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2799
2800 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2801 (tramp-action-password): Clear password cache if needed.
2802 (tramp-read-passwd): Do not clear password cache.
2803
2804 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2805 cache unless it is the first password request.
2806
2807 2014-03-06 Glenn Morris <rgm@gnu.org>
2808
2809 * simple.el (newline): Doc tweak.
2810
2811 * emacs-lisp/shadow.el (load-path-shadows-find):
2812 Ignore dir-locals. (Bug#12357)
2813
2814 2014-03-05 Glenn Morris <rgm@gnu.org>
2815
2816 * files.el (interpreter-mode-alist):
2817 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2818
2819 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2820
2821 * frameset.el (frameset--initial-params): Filter out null entries.
2822
2823 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2824
2825 * window.el (window-min-height, window-min-width):
2826 Rewrite doc-strings.
2827 (window-body-size): Add PIXELWISE argument to make it consistent
2828 with its callees.
2829
2830 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2831
2832 * finder.el (finder-mode-map, finder-mode-syntax-table):
2833 Revert part of 2014-02-28 change.
2834
2835 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2836
2837 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2838 (eww-setup-buffer): Clear next/prev/etc more reliably.
2839 (eww-textarea-map): [tab] doesn't work on tty.
2840 Reported by Mario Lang.
2841
2842 * net/shr.el (shr-map): Ditto.
2843
2844 2014-03-04 Glenn Morris <rgm@gnu.org>
2845
2846 * minibuffer.el (completion-hilit-commonality):
2847 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2848
2849 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * hilit-chg.el (hilit-chg-unload-function): New function.
2852 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2853 (hilit-chg-map-changes): Prefer cardinal number to digit.
2854 (hilit-chg-display-changes): Reflow docstring.
2855 (highlight-changes-rotate-faces): Remove superfluous backslash.
2856
2857 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2858
2859 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2860 `tramp-send-command-and-check'.
2861
2862 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2863
2864 * hexl.el (hexl-address-region, hexl-ascii-region)
2865 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2866 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2867 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2868 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2869 (hexl-mode): Doc fix.
2870 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2871 (hexl-mode-ruler): Fix typos in docstrings.
2872
2873 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2874 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2875 Remove superfluous backslashes.
2876 (strokes-last-stroke, strokes-global-map, strokes-mode):
2877 Reflow docstrings.
2878 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2879 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2880 (strokes-distance-squared, strokes-global-set-stroke)
2881 (strokes-global-set-stroke-string): Doc fixes.
2882 (strokes-help): Fix typos; reflow docstring.
2883
2884 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2885
2886 * window.el (window-in-direction): Fix doc-string.
2887
2888 2014-03-04 Glenn Morris <rgm@gnu.org>
2889
2890 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2891 Explicit error if no grammar.
2892 (smie-config-save): Doc fix. Fix quote typo.
2893
2894 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2897 electric-indent-mode-hook if we obey electric-indent-mode.
2898 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2899 decide whether we obey electric-indent-mode.
2900 (c-change-set-fl-decl-start, c-extend-after-change-region):
2901 Silence warnings.
2902 (c-electric-indent-mode-hook): Assume we do want to obey
2903 electric-indent-mode.
2904
2905 * electric.el (electric-indent-mode-has-been-called): Remove.
2906 (electric-indent-mode): Fix accordingly.
2907
2908 * files.el (hack-local-variables): Mention file name in warning.
2909
2910 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2911
2912 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2913
2914 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2915 * simple.el (delete-forward-char): Mark as interactive-only.
2916
2917 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2918
2919 * icomplete.el (icomplete-completions):
2920 Follow-up to 2014-03-01 change.
2921
2922 * icomplete.el: Miscellaneous doc fixes.
2923 Use Icomplete everywhere instead of icomplete for consistency.
2924 (icomplete-max-delay-chars): Fix typo.
2925 (icomplete-mode): Use \[].
2926 (icomplete-tidy, icomplete-exhibit): Reflow.
2927 (icomplete-minibuffer-setup-hook, icomplete-completions):
2928 Remove superfluous backlashes.
2929
2930 * ido.el: Miscellaneous doc fixes.
2931 Use Ido everywhere instead of ido or `ido' for consistency.
2932 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2933 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2934 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2935 (ido-separator): Extract obsolescence info from docstring and declare
2936 with make-obsolete-variable.
2937 (ido-minibuffer-setup-hook): Simplify example.
2938 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2939 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2940 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2941 (ido-everywhere): Reflow docstring.
2942 (ido-toggle-vc): Doc fix.
2943 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2944 of long list of keybindings.
2945
2946 2014-03-03 Glenn Morris <rgm@gnu.org>
2947
2948 * frame.el (display-pixel-height, display-pixel-width)
2949 (display-mm-dimensions-alist, display-mm-height)
2950 (display-mm-width): Doc tweaks.
2951
2952 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2953
2954 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2955 case of undo in region.
2956
2957 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2958
2959 * window.el (fit-window-to-buffer): Fix argument in window-size
2960 call when window is horizontally combined.
2961
2962 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2963
2964 * icomplete.el (icomplete-completions): Use string-width.
2965 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2966
2967 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2968
2969 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2970 Highlight regexp options. (Bug#16914)
2971
2972 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2973
2974 * window.el (window--max-delta-1): Round down when calculating
2975 how many lines/columns we can get from a window.
2976
2977 2014-03-01 Glenn Morris <rgm@gnu.org>
2978
2979 * isearch.el (search-invisible): Doc fix.
2980
2981 * minibuffer.el (completion-hilit-commonality):
2982 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2983 * comint.el (comint-dynamic-list-completions): Doc fix.
2984 * comint.el (comint-dynamic-list-completions):
2985 * filecache.el (file-cache-minibuffer-complete):
2986 * tempo.el (tempo-display-completions):
2987 * eshell/em-hist.el (eshell-list-history):
2988 Replace use of obsolete argument of display-completion-list.
2989
2990 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2991
2992 * icomplete.el (icomplete-completions):
2993 Revert back to using "..." when ?… cannot be displayed.
2994
2995 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2996
2997 * finder.el (finder-unload-function): New function.
2998
2999 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3000
3001 * dframe.el (dframe-detach):
3002 * find-dired.el (find-dired, find-name-dired):
3003 * finder.el (finder-mode-map, finder-mode-syntax-table)
3004 (finder-headmark, finder-select, finder-mouse-select):
3005 Fix docstring typos.
3006
3007 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3008
3009 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3010 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3011 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3012 Fix doc-string based on a suggestion by Nicolas Richard
3013 <theonewiththeevillook@yahoo.fr>.
3014 * help.el (with-help-window): Fix doc-string.
3015
3016 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3017
3018 * net/shr.el (shr-image-animate): New option.
3019 (shr-put-image): Respect shr-image-animate.
3020
3021 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3022
3023 * net/tramp-adb.el (tramp-adb-parse-device-names):
3024 Use `accept-process-output'.
3025 (tramp-adb-handle-file-truename): Cache the localname only.
3026 (tramp-adb-handle-make-directory)
3027 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3028 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3029 modes cannot be changed.
3030
3031 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3032 file properties of symlinks.
3033
3034 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3035
3036 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3037 required/optional fields to match development biblatex. (Bug#16781)
3038
3039 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3040
3041 * saveplace.el (toggle-save-place):
3042 Fix argument handling. (Bug#16673)
3043
3044 2014-02-28 Glenn Morris <rgm@gnu.org>
3045
3046 * minibuffer.el (completions-first-difference)
3047 (completions-common-part, completion-hilit-commonality): Doc fixes.
3048
3049 2014-02-28 Karl Berry <karl@gnu.org>
3050
3051 * info.el (Info-mode-map): Add H for describe-mode,
3052 to synchronize with standalone Info.
3053
3054 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3055
3056 * progmodes/sql.el (sql-interactive-mode):
3057 Avoid setting global comint-input-ring-separator. (Bug#16814)
3058
3059 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * net/dbus.el (dbus--init-bus): Declare function.
3062 (dbus-path-local, dbus-interface-local): New defconst.
3063 (dbus-init-bus): Use them.
3064 (dbus-return-values-table): Extend doc.
3065 (dbus-handle-bus-disconnect): Extend error message.
3066
3067 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3068
3069 * subr.el (y-or-n-p): Fix double space issue in message.
3070
3071 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3072
3073 * net/tramp.el (tramp-call-process): Improve trace message.
3074 (tramp-handle-insert-file-contents): Trace error case.
3075
3076 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3077 <insert-directory>: Use `tramp-handle-insert-directory'.
3078 (tramp-adb-handle-insert-directory): Remove function.
3079 (tramp-adb-send-command-and-check): New defun, replacing
3080 `tramp-adb-command-exit-status'. Change all callees.
3081 (tramp-adb-handle-file-attributes)
3082 (tramp-adb-handle-directory-files-and-attributes): Use it.
3083 (tramp-adb-ls-output-name-less-p):
3084 Use `directory-listing-before-filename-regexp'.
3085 (tramp-adb-handle-delete-directory): Flush also file properties of
3086 the truename of directory.
3087 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3088 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3089 (tramp-adb-handle-write-region): Implement APPEND.
3090 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3091 properties correctly.
3092 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3093 variables. Check for connected devices only when needed.
3094
3095 2014-02-27 Glenn Morris <rgm@gnu.org>
3096
3097 * minibuffer.el (completion-table-dynamic)
3098 (completion-table-with-cache): Doc fixes.
3099
3100 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3101 (completing-read-multiple): Doc fixes.
3102
3103 2014-02-27 Daniel Colascione <dancol@dancol.org>
3104
3105 * minibuffer.el (completion--nth-completion): Fix indentation.
3106
3107 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3108 explicit tramp path is empty.
3109
3110 2014-02-27 Glenn Morris <rgm@gnu.org>
3111
3112 * emacs-lisp/crm.el (completing-read-multiple):
3113 Empower help-enable-auto-load.
3114
3115 2014-02-26 Glenn Morris <rgm@gnu.org>
3116
3117 * startup.el (command-line): Don't init the tty in daemon mode.
3118
3119 Avoid calling tty-setup-hook twice, eg if a term file
3120 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3121 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3122 (tty-create-frame-with-faces): Use it.
3123 * startup.el (command-line): Pass run-hook argument
3124 to tty-run-terminal-initialization.
3125
3126 * dired.el (dired-restore-desktop-buffer): Demote errors;
3127 eg in case a glob match fails. (Bug#16884)
3128
3129 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3130
3131 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3132 error from `read-from-string'. (Bug#16850)
3133
3134 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3135 result of `completing-read' in the interactive form. (Bug#16854)
3136
3137 2014-02-25 Glenn Morris <rgm@gnu.org>
3138
3139 * image.el (image-animate, image-animate-timeout):
3140 Stop animating images in dead buffers. (Bug#16878)
3141
3142 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3143
3144 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3145 Doc fixes.
3146 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3147 * term/sun.el (sun-raw-prefix-hooks):
3148 Use tty-setup-hook instead of term-setup-hook.
3149 (terminal-init-sun): Construct message from bytecomp plist.
3150 * term/wyse50.el (enable-arrow-keys): Doc fix.
3151
3152 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3153
3154 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3155 Fix docstring typos.
3156
3157 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3158
3159 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3160
3161 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3162
3163 * minibuffer.el (completion--try-word-completion):
3164 Fix error when completing M-x commands (bug#16808).
3165
3166 2014-02-24 Leo Liu <sdl.web@gmail.com>
3167
3168 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3169
3170 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3171
3172 * apropos.el (apropos-print): Avoid formatting error when
3173 apropos-do-all and apropos-compact-layout are both t.
3174
3175 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3176
3177 * apropos.el (apropos-property, apropos-all-words-regexp)
3178 (apropos-true-hit, apropos-variable, apropos-print):
3179 Fix docstring typos, and remove obsolete comment.
3180
3181 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3182
3183 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3184 Preserve trailing "/". (Bug#16851)
3185
3186 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3187
3188 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3189 after `=>' (bug#16811).
3190 (ruby-smie-rules): Handle the inconsistent second element of the
3191 list returned by `smie-indent--parent'.
3192 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3193 method call.
3194
3195 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3196
3197 * elec-pair.el (electric-pair-text-syntax-table)
3198 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3199 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3200 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3201 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3202
3203 2014-02-22 Glenn Morris <rgm@gnu.org>
3204
3205 * imenu.el (imenu--generic-function): Doc fix.
3206
3207 * register.el (frame-configuration-to-register): Make obsolete.
3208
3209 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3210
3211 * desktop.el (desktop-save-buffer-p): Do not fail when
3212 desktop-files-not-to-save is nil. Return t for true result
3213 as the doc says.
3214
3215 2014-02-22 Daniel Colascione <dancol@dancol.org>
3216
3217 * net/secrets.el (secrets-create-item, secrets-search-items):
3218 Check that attribute values are strings, avoiding the construction
3219 of invalid dbus messages.
3220
3221 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3222
3223 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3224 defun-declarations-alist.
3225
3226 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3229 (bug#16829).
3230
3231 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3232
3233 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3234 (whitespace-newline, whitespace-trailing, whitespace-line)
3235 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3236 (whitespace-space-after-tab): Fix typo in docstrings.
3237
3238 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3239
3240 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3241
3242 * electric.el (electric-indent-functions-without-reindent):
3243 Add `yaml-indent-line'.
3244
3245 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3246
3247 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3248 It has done nothing for years; should be removed after the release.
3249
3250 * simple.el (choose-completion): Fix docstring typo.
3251 (read-quoted-char-radix): Remove unneeded * in docstring.
3252 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3253 Don't escape parentheses unnecessarily in docstrings.
3254
3255 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3256
3257 Fix handling of window-min-height/-width (Bug#16738).
3258 * window.el (window--dump-window, window--dump-frame):
3259 New functions.
3260 (window--min-size-1): Account for window dividers.
3261 When window-resize-pixelwise is nil, delay rounding till after the
3262 sum of the window components has been calculated.
3263 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3264 nil make sure at least one text line and two text columns remain
3265 fully visible.
3266 (window-resize): Signal an error when window-resize-apply fails.
3267 (window--resize-child-windows): Fix calculation of by how many
3268 pixels a window can still be shrunk via window-new-normal.
3269 (adjust-window-trailing-edge): Call window--resizable with
3270 correct TRAIL argument.
3271
3272 (with-temp-buffer-window): Don't evaluate BODY within
3273 with-current-buffer (Bug#16816).
3274
3275 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3276
3277 * net/tramp.el (tramp-check-cached-permissions):
3278 Call `file-attributes' with `suffix' being a symbol but a string.
3279
3280 2014-02-21 Daniel Colascione <dancol@dancol.org>
3281
3282 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3283 (dbus-init-bus): New function: call into dbus-init-bus-1
3284 and installs a handler for the disconnect signal.
3285 (dbus-call-method): Rewrite to look for result in cons.
3286 (dbus-call-method-handler): Store result in cons.
3287 (dbus-check-event): Recognize events with nil sender as valid.
3288 (dbus-handle-bus-disconnect): New function. React to bus
3289 disconnection signal by synthesizing dbus error for each
3290 pending synchronous or asynchronous call.
3291 (dbus-notice-synchronous-call-errors): New function.
3292 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3293 is true, not all the time.
3294
3295 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3296
3297 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3298 Remove obsolescence declarations, these variables do not exist anymore.
3299
3300 * savehist.el (savehist-save-minibuffer-history)
3301 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3302 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3303 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3304 mostly, refer to "Savehist mode" when talking about the mode,
3305 and not the function.
3306
3307 * saveplace.el (save-place): Remove redundant info in docstring.
3308 (save-place-forget-unreadable-files, toggle-save-place)
3309 (save-place-forget-unreadable-files, save-place-dired-hook):
3310 Fix typos and remove unneeded backslashes.
3311
3312 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3313
3314 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3315 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3316
3317 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3318 <insert-directory>: Use `tramp-handle-insert-directory'.
3319 (tramp-gvfs-handle-insert-directory): Remove function.
3320
3321 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3322 Call `tramp-handle-insert-directory'.
3323
3324 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3325
3326 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3327 before the start of buffer/region (bug#16799).
3328
3329 2014-02-20 Glenn Morris <rgm@gnu.org>
3330
3331 * isearch.el (search-invisible): Doc fix.
3332
3333 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3334
3335 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3336 (bug#16657).
3337
3338 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3339
3340 * frameset.el (frameset-restore): Delay removing an old frame's
3341 duplicate id until the new frame has been correctly created.
3342
3343 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3344
3345 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3346 (tramp-check-cached-permissions): Call `file-attributes' if the
3347 cache is empty.
3348
3349 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3350 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3351
3352 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3353 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3354 (tramp-gvfs-maybe-open-connection): Set always connection
3355 properties, even if target is mounted already.
3356
3357 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3358 Set tramp-autoload cookie.
3359 (tramp-get-remote-touch): New defun.
3360 (tramp-sh-handle-set-file-times): Use it.
3361 (tramp-sh-handle-directory-files-and-attributes):
3362 Use `tramp-handle-directory-files-and-attributes' if neither stat
3363 nor perl are available on the remote host.
3364
3365 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3366 "/". Write long listing only when "l" belongs to the switches.
3367
3368 * net/trampver.el: Update release number.
3369
3370 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3371
3372 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3373
3374 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3375
3376 * window.el (window-state-put): Allow WINDOW to refer to an
3377 internal window (Bug#16793).
3378
3379 2014-02-19 Glenn Morris <rgm@gnu.org>
3380
3381 * textmodes/remember.el: Move provide statement to end.
3382 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3383 (remember-notes): Doc fixes.
3384
3385 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * delsel.el (delete-char): Restore incorrectly erased property
3388 (bug#16795).
3389
3390 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3391
3392 * frameset.el (frameset--restore-frame): When a frame is being reused
3393 and its root window is not alive, delete all the frame's windows before
3394 restoring the window state. This works around the issue in bug#16793.
3395
3396 2014-02-18 Glenn Morris <rgm@gnu.org>
3397
3398 * textmodes/remember.el (remember-data-directory)
3399 (remember-directory-file-name-format, remember-store-in-files)
3400 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3401 (remember-notes-save-and-bury-buffer)
3402 (remember-notes--kill-buffer-query): Doc fixes.
3403
3404 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3405
3406 2014-02-17 Alan Mackenzie <acm@muc.de>
3407
3408 Connect electric-indent-mode up with CC Mode. Bug #15478.
3409 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3410 to electric-indent-{,local-}-mode.
3411 (c-basic-common-init): Set electric-indent-inhibit.
3412 Initialise c-electric-flag from electric-indent-mode.
3413 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3414 New hook functions which propagate electric-indent-mode to CC mode.
3415
3416 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3417 hit, toggle electric-indent-local-mode.
3418
3419 * electric.el (electric-indent-mode-has-been-called):
3420 New variable.
3421
3422 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3423
3424 * frameset.el (frameset-cfg-id): New function.
3425 (frameset--reuse-frame, frameset-restore): Use it.
3426 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3427
3428 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * ido.el (ido-file-internal): Remove unused var `d'.
3431 Use \` for to match BoS. Fit within 80n columns.
3432
3433 2014-02-17 Daniel Colascione <dancol@dancol.org>
3434
3435 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3436 dbus-call-method check for completion using a busy-wait loop with
3437 gradual backoff.
3438
3439 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3440
3441 Sync with Tramp 2.2.9.
3442
3443 * net/trampver.el: Update release number.
3444
3445 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3446
3447 * ido.el (ido-file-internal): Don't add the name of an existing
3448 directory twice. (Bug#16747)
3449
3450 2014-02-16 Glenn Morris <rgm@gnu.org>
3451
3452 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3453 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3454
3455 2014-02-15 Michael R. Mauger <michael@mauger.com>
3456
3457 * progmodes/sql.el: Version 3.4
3458 (sql-oracle-options): New default value ("-L").
3459 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3460 (sql-placeholders-filter): Correct placeholder pattern.
3461 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3462 (sql-login-delay): New variable.
3463 (sql-product-interactive): Use it.
3464
3465 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3466
3467 * frameset.el (frameset--jump-to-register): Check that buffer is live
3468 (bug#16749).
3469
3470 2014-02-15 Glenn Morris <rgm@gnu.org>
3471
3472 * info.el (info-initialize): Revert 2014-01-10 change.
3473
3474 2014-02-14 Glenn Morris <rgm@gnu.org>
3475
3476 * replace.el (map-query-replace-regexp)
3477 (read-regexp-defaults-function, read-regexp): Doc fixes.
3478
3479 * dired.el (dired-read-regexp):
3480 * faces.el (list-faces-display):
3481 * misearch.el (multi-isearch-read-matching-buffers)
3482 (multi-isearch-read-matching-files):
3483 * play/cookie1.el (cookie-apropos):
3484 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3485
3486 * textmodes/remember.el (remember): Use frameset-to-register
3487 rather than frame-configuration-to-register.
3488
3489 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3490
3491 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3492 incorrect keybinding.
3493
3494 2014-02-13 Daniel Colascione <dancol@dancol.org>
3495
3496 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3497 when adding overlays so that line numbers from compiler match line
3498 numbers we use.
3499
3500 2014-02-13 Glenn Morris <rgm@gnu.org>
3501
3502 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3503
3504 * jit-lock.el (jit-lock-mode): Doc fix.
3505
3506 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * apropos.el (apropos-read-pattern): When the user passes an empty
3509 string, give a more helpful error message than "Wrong type
3510 argument: stringp, nil".
3511
3512 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3515
3516 2014-02-13 Glenn Morris <rgm@gnu.org>
3517
3518 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3519
3520 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3521
3522 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3523 shift-select commands.
3524
3525 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3526
3527 * progmodes/js.el (js-indent-line): Don't widen.
3528 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3529
3530 2014-02-12 Glenn Morris <rgm@gnu.org>
3531
3532 * icomplete.el (icomplete): Add info-link to defgroup.
3533 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3534 (icomplete-minibuffer-map, icomplete-mode)
3535 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3536
3537 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3538 (package-menu-filter): Rename from package-menu-filter-interactive.
3539 Doc fix.
3540
3541 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3542
3543 * frameset.el (frameset--jump-to-register): Select the required
3544 window and buffer before restoring position (bug#16696).
3545
3546 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3547
3548 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3549
3550 2014-02-10 Glenn Morris <rgm@gnu.org>
3551
3552 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3553
3554 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3555
3556 * w32-common-fns.el (x-get-selection): Doc fix.
3557 * select.el (x-get-selection): Doc fix. (Bug#15109)
3558
3559 * face-remap.el (face-remap-add-relative)
3560 (face-remap-remove-relative, face-remap-reset-base)
3561 (face-remap-set-base): Call force-mode-line-update to redisplay
3562 the current buffer due to potential change in faces. (Bug#16709)
3563
3564 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3565
3566 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3567 script more robustly.
3568
3569 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3570
3571 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3572
3573 * simple.el (choose-completion): Doc fix (bug#14160).
3574
3575 * subr.el (event-start): Say what a nil EVENT value means.
3576
3577 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3578 (bug#14197).
3579
3580 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3581
3582 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3583
3584 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3585
3586 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3587 predicate function (bug#15455).
3588
3589 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3590
3591 * ielm.el (inferior-emacs-lisp-mode): Instead of
3592 `comment-use-global-state', set `comment-use-syntax'.
3593
3594 2014-02-10 Glenn Morris <rgm@gnu.org>
3595
3596 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3597
3598 2014-02-09 Alan Mackenzie <acm@muc.de>
3599
3600 Fix c-invalidate-state-cache on narrowed buffers.
3601 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3602 Widen when setting and clearing the CPP delimiter properties.
3603
3604 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3605
3606 * help.el (describe-bindings): Doc fix (bug#9888).
3607
3608 * files.el (save-buffer): Use ARG as the parameter name for
3609 consistency (bug#10346).
3610 (save-buffer): Clarify the 0 argument (bug#10346).
3611
3612 * cus-edit.el (customize-apropos): Fix error string.
3613 (custom-buffer-create): Doc fix (bug#11122).
3614 (custom-sort-items): Doc fix (bug#11121).
3615
3616 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3617
3618 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3619 (icomplete-simple-completing-p): Mention the previous variable.
3620
3621 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3622 meaning of the parameter (bug#12282).
3623
3624 * files.el (find-file-noselect): Clarify prompt when changing
3625 readedness (bug#13261).
3626 (locate-file): Suffixes aren't returned, so don't say that they
3627 are (bug#12674).
3628 (backup-inhibited): Doc clarification (bug#12525).
3629
3630 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3631 before we actually start to delete things (bug#16331).
3632
3633 * subr.el (event-start): Doc fix (bug#14228).
3634 (event-end): Ditto.
3635
3636 2014-02-09 Glenn Morris <rgm@gnu.org>
3637
3638 * emacs-lisp/warnings.el (lwarn):
3639 Empower help-enable-auto-load. (Bug#15940)
3640
3641 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3642
3643 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3644 (Bug#16690)
3645
3646 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3647
3648 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3649 Insert output at end of buffer. (Bug#16120)
3650
3651 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3652
3653 * simple.el (choose-completion-string-functions): Document new
3654 calling convention (bug#14153).
3655 (execute-extended-command): Clarify doc string (bug#13373).
3656
3657 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3658
3659 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3660 (find-grep-dired): Doc fix (bug#14288).
3661
3662 2014-02-08 Juri Linkov <juri@jurta.org>
3663
3664 * isearch.el (isearch-quote-char): Check character validity
3665 like in `quoted-insert' (bug#16677).
3666
3667 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3668
3669 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3670
3671 * isearch.el (isearch-hide-immediately): Doc clarification
3672 (bug#14723).
3673
3674 * simple.el (line-move): Document utility function used many
3675 places in the Emacs sources (bug#14843).
3676
3677 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3678 (dired-prev-marked-file): Doc fix (bug#14855).
3679 (dired-up-directory): Doc fix (bug#14848).
3680
3681 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3682
3683 * files.el (file-relative-name): Doc fix (bug#15159).
3684
3685 * fringe.el (fringe-styles): Doc fix (bug#15239).
3686
3687 * isearch.el (isearch-filter-predicate): Documentation typo fix
3688 (bug#15474).
3689
3690 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3691
3692 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3693
3694 * replace.el (replace-match-maybe-edit): Doc clarification
3695 (bug#15632).
3696
3697 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3698
3699 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3700
3701 2014-02-08 Glenn Morris <rgm@gnu.org>
3702
3703 * help-fns.el (describe-variable):
3704 Check {file,dir}-local-variables-alist, and buffer-file-name,
3705 in the correct buffer.
3706
3707 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3708
3709 * help-fns.el (describe-variable): Fix the case where
3710 a value is directory-local with no dir-locals file. (Bug#16635)
3711
3712 2014-02-08 Glenn Morris <rgm@gnu.org>
3713
3714 * abbrev.el (edit-abbrevs-mode):
3715 Derive from fundamental-mode. (Bug#16682)
3716
3717 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3718
3719 * simple.el (quoted-insert): Check character validity (bug#16677).
3720
3721 2014-02-07 Juri Linkov <juri@jurta.org>
3722
3723 * desktop.el (desktop-read): Claim the lock when the owner is not
3724 the current process. (Bug#16157)
3725
3726 2014-02-07 Juri Linkov <juri@jurta.org>
3727
3728 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3729 to "\\` ". (Bug#16651)
3730
3731 2014-02-07 Juri Linkov <juri@jurta.org>
3732
3733 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3734 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3735 (desktop-auto-save-cancel-timer): New function with some code from
3736 `desktop-auto-save-set-timer'.
3737 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3738 Instead of setting `desktop-save-mode' to nil, call
3739 `desktop-save-mode' with arg 0. (Bug#16630)
3740
3741 2014-02-07 Glenn Morris <rgm@gnu.org>
3742
3743 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3744 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3745 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3746
3747 * obsolete/iswitchb.el: Move to obsolete/.
3748 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3749 since obsolete/ is not scanned for autoloads.
3750 * emacs-lisp/authors.el (authors-valid-file-names):
3751 Add iswitchb.el.
3752
3753 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3754 Disable now non-functional find-file-hook.
3755
3756 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3757
3758 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3759 instead of ";" in order to avoid additional prompts. Let heredoc
3760 scripts read from tty. (Bug#16582)
3761 (tramp-send-command): No special handling of heredocs, it isn't
3762 necessary anymore.
3763
3764 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3767 with a space (bug#16664). Limit the symbols considered to the ones
3768 that are bound or fbound (bug#16646).
3769
3770 2014-02-06 Glenn Morris <rgm@gnu.org>
3771
3772 * epa.el (epa-mail-aliases): Doc fix.
3773
3774 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3775
3776 * emacs-lisp/lisp.el (lisp-completion-at-point):
3777 Use `completion-table-merge' instead of `completion-table-in-turn'
3778 (bug#16604).
3779
3780 * minibuffer.el (completion-table-merge): New function.
3781
3782 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3783
3784 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3785 (tramp-sh-handle-set-file-acl)
3786 (tramp-sh-handle-start-file-process)
3787 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3788 (tramp-find-executable, tramp-send-command): Use it.
3789
3790 2014-02-05 Glenn Morris <rgm@gnu.org>
3791
3792 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3793
3794 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3795
3796 * progmodes/python.el (python-shell-send-string)
3797 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3798
3799 2014-02-04 Anders Lindgren <andlind@gmail.com>
3800
3801 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3802 the names (bug#16620).
3803
3804 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3805
3806 * faces.el (window-divider): New default value. Rewrite doc-string.
3807 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3808
3809 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3810
3811 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3812 `protected' and `public' can also be called without arguments.
3813
3814 2014-02-03 Glenn Morris <rgm@gnu.org>
3815
3816 * register.el (window-configuration-to-register)
3817 (frame-configuration-to-register): Unadvertise unused argument.
3818 * frameset.el (frameset-to-register): Remove unused argument.
3819
3820 * frameset.el (frameset-to-register):
3821 * kmacro.el (kmacro-to-register):
3822 * register.el (increment-register):
3823 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3824 (calc-append-to-register, calc-prepend-to-register):
3825 * play/gametree.el (gametree-layout-to-register)
3826 (gametree-apply-register-layout):
3827 * textmodes/picture.el (picture-clear-rectangle-to-register)
3828 (picture-yank-rectangle-from-register):
3829 * vc/emerge.el (emerge-combine-versions-register):
3830 Use register-read-with-preview to read registers.
3831
3832 2014-02-03 João Távora <joaotavora@gmail.com>
3833
3834 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3835 when at beginning of (possibly narrowed) buffer.
3836
3837 2014-02-02 Daniel Colascione <dancol@dancol.org>
3838
3839 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3840 Also try to display local help from just before point.
3841
3842 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3843
3844 c-parse-state. Don't "append-lower-brace-pair" in certain
3845 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3846 recognised as a comment.
3847
3848 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3849 as well as normal comment starter.
3850 (c-parse-state-get-strategy): Extra return possibility
3851 'back-and-forward.
3852 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3853 return value list to indicate replacement of a brace-pair cons
3854 with its car.
3855 (c-parse-state-1): With 'back-and-forward, only call
3856 c-append-lower-brace-pair-to state-cache when cons-separated.
3857
3858 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3859
3860 * term/ns-win.el (ns-suspend-error): New function.
3861 (ns-initialize-window-system): Add ns-suspend-error to
3862 suspend-hook (Bug#16612).
3863
3864 2014-02-02 Daniel Colascione <dancol@dancol.org>
3865
3866 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3867 Make loading cc-mode silent.
3868
3869 2014-02-02 Daniel Colascione <dancol@dancol.org>
3870
3871 * comint.el (comint-prompt-read-only): Change doc to suggest
3872 remap keybinding.
3873
3874 2014-02-02 Glenn Morris <rgm@gnu.org>
3875
3876 * register.el (register-read-with-preview, point-to-register)
3877 (window-configuration-to-register, frame-configuration-to-register)
3878 (jump-to-register, number-to-register, view-register, insert-register)
3879 (copy-to-register, append-to-register, prepend-to-register)
3880 (copy-rectangle-to-register): Doc fixes.
3881
3882 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3885 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3886 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3887 * help-fns.el (describe-function-1): Use it.
3888
3889 2014-02-02 Glenn Morris <rgm@gnu.org>
3890
3891 * register.el (register-preview-default): New function,
3892 split from register-preview.
3893 (register-preview-function): Rename from register-preview-functions,
3894 make it not a hook.
3895 (register-preview): Use register-preview-function.
3896 (register-read-with-preview): Error on non-character event. (Bug#16595)
3897
3898 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3899
3900 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3901 `:' before binary operators (bug#16609). Don't check for `:'
3902 before `[' and `(', or their syntax status. A percent literal
3903 can't end with either.
3904 (ruby-font-lock-keywords): For built-ins that require arguments,
3905 check that they're followed by something that looks like argument
3906 (bug#16610).
3907
3908 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3909
3910 * subr.el (butlast): Document what an omitted N means (bug#13437).
3911 (nbutlast): Ditto.
3912
3913 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3914
3915 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3916 depth shallower (bug#16587).
3917 (shr-tag-svg): Respect `shr-inhibit-images'.
3918 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3919
3920 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3921
3922 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3923 (ruby-smie-grammar): Make "." right-associative. Make its priority
3924 lower than the ternary and all binary operators.
3925 (ruby-smie-rules): Indent "(" relative to the first non-"."
3926 parent, or the first "." parent at indentation.
3927 Use `ruby-align-chained-calls' for indentation of "." tokens.
3928 (Bug#16593)
3929
3930 2014-01-31 Juri Linkov <juri@jurta.org>
3931
3932 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3933 from `make-hash-table'.
3934
3935 * textmodes/ispell.el (ispell-init-process): Change message format
3936 to be consistent with other messages.
3937
3938 2014-01-31 Glenn Morris <rgm@gnu.org>
3939
3940 * delsel.el (delete-selection-mode): Doc fix.
3941
3942 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3943 (trace-function-background): Doc fixes.
3944
3945 * ido.el (ido-use-virtual-buffers): Doc fix.
3946 Reset :version, since the default value has not changed.
3947
3948 * register.el (register-preview-delay, register-read-with-preview):
3949 Doc fixes.
3950
3951 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3952 do not mess with mail-buffer position (fixes 2009-11-03 change).
3953 * progmodes/cc-mode.el (c-submit-bug-report):
3954 Check auto-fill-mode is bound. (Bug#16592)
3955
3956 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3957
3958 * startup.el (fancy-splash-image-file): New function,
3959 split from fancy-splash-head.
3960 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3961 so that we are both using the same image. (Bug#16574)
3962
3963 2014-01-30 Glenn Morris <rgm@gnu.org>
3964
3965 * simple.el (eval-expression): Doc fix.
3966
3967 * hexl.el (hexl-mode-hook):
3968 * ielm.el (ielm-mode-hook):
3969 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3970 (lisp-interaction-mode-hook):
3971 * progmodes/cfengine.el (cfengine3-documentation-function):
3972 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3973
3974 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3977 is a symbol (bug#16584).
3978
3979 2014-01-30 Glenn Morris <rgm@gnu.org>
3980
3981 * help.el (help-for-help-internal): Add "P" to text.
3982
3983 2014-01-29 Glenn Morris <rgm@gnu.org>
3984
3985 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3986
3987 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3988
3989 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3990 height constraints.
3991
3992 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3993
3994 * progmodes/hideif.el: Extend to full CPP expression syntax.
3995 (hif-token-alist): Add missing tokens.
3996 (hif-token-regexp): Add support for float/octal/hex immediates.
3997 (hif-string-literal-regexp): New const.
3998 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3999 (hif-exprlist): New function.
4000 (hif-parse-if-exp): Use it.
4001 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4002 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4003 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4004 (hif-logxor, hif-comma): New functions.
4005
4006 2014-01-28 Glenn Morris <rgm@gnu.org>
4007
4008 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4009
4010 * indent.el (tab-stop-list): Doc fix. Add :version.
4011
4012 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4013 (cvs-append-to-ignore): Add compatibility alias.
4014
4015 2014-01-27 Glenn Morris <rgm@gnu.org>
4016
4017 * dired.el (dired-hide-details-mode): Don't autoload it,
4018 since it cannot be used outside Dired buffers anyway.
4019
4020 * emulation/cua-base.el (cua-mode): Doc fix.
4021
4022 * dired.el (dired-hide-details-hide-symlink-targets)
4023 (dired-hide-details-hide-information-lines)
4024 (dired-hide-details-mode): Doc fixes.
4025
4026 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4027 * strokes.el (strokes-file): Doc fix. Bump :version.
4028 (strokes-help): Doc fix.
4029 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4030 * emulation/viper.el (viper): Doc fix for custom group.
4031 (top-level): Remove oh-so-no-longer-relevant text about vip.
4032 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4033
4034 * ido.el (ido-save-directory-list-file):
4035 * saveplace.el (save-place-file):
4036 * calendar/timeclock.el (timeclock-file):
4037 * net/quickurl.el (quickurl-url-file):
4038 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4039 * progmodes/idlwave.el (idlwave-config-directory):
4040 * textmodes/remember.el (remember-data-file):
4041 Bump :version.
4042
4043 2014-01-26 Glenn Morris <rgm@gnu.org>
4044
4045 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4046 Doc fix. Make obsolete.
4047 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4048
4049 * sort.el (delete-duplicate-lines): Doc fix.
4050
4051 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4052
4053 * progmodes/ada-mode.el (ada):
4054 * woman.el (woman): Link to info manual and Commentary section.
4055
4056 * progmodes/flymake.el (flymake):
4057 * nxml/nxml-mode.el (nxml):
4058 * net/eww.el (eww):
4059 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4060 * htmlfontify.el (htmlfontify):
4061 * ses.el (ses):
4062 * epa.el (epa):
4063 * ido.el (ido): Link to info manual.
4064
4065 2014-01-25 Leo Liu <sdl.web@gmail.com>
4066
4067 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4068
4069 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4070
4071 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4072 (bug#16537).
4073
4074 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4075
4076 * net/eww.el (eww-download-callback):
4077 Fix reference to eww-download-directory.
4078
4079 * emacs-lisp/bytecomp.el (byte-compile-file):
4080 Remove unused local variable `file-name'.
4081
4082 2014-01-24 Glenn Morris <rgm@gnu.org>
4083
4084 * woman.el (woman-default-faces, woman-monochrome-faces):
4085 Fix obsolescence specification.
4086
4087 * subr.el (with-demoted-errors): Doc fix.
4088
4089 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4092 (cl--macroexp-fboundp): New function.
4093 (cl--make-type-test): Use it.
4094
4095 2014-01-23 Glenn Morris <rgm@gnu.org>
4096
4097 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4098 * simple.el (eval-expression): Doc fixes.
4099
4100 2014-01-22 Glenn Morris <rgm@gnu.org>
4101
4102 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4103
4104 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * emacs-lisp/package.el: Write files silently.
4107 (package-autoload-ensure-default-file, package--write-file-no-coding)
4108 (package-generate-description-file, package--download-one-archive)
4109 (package-install-from-archive): Tell `write-region' to stay quiet.
4110 (package-menu-mode, package-menu--print-info): Omit the Archive column
4111 if there's only one archive.
4112 (package-all-keywords, package--has-keyword-p): Remove dead code.
4113
4114 2014-01-22 Glenn Morris <rgm@gnu.org>
4115
4116 * version.el (emacs-bzr-version-bzr): Fix typo.
4117
4118 * version.el (emacs-repository-get-version):
4119 Check either .bzr or .git, but not both.
4120 Make the git case actually use the DIR argument, and return nil
4121 rather than the empty string.
4122 Avoid error if .git exists but the git executable is not found.
4123
4124 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4125
4126 Fixes in window size functions around Bug#16430 and Bug#16470.
4127 * window.el (window-total-size, window-size): New argument ROUND.
4128 (window--min-delta-1, window-min-delta, window--max-delta-1):
4129 Be more conservative when calculating the numbers of lines or
4130 columns a window can shrink (Bug#16430).
4131 (fit-window-to-buffer): Simplify code.
4132 * term.el (term-window-width): Call window-body-width again.
4133
4134 2014-01-22 Glenn Morris <rgm@gnu.org>
4135
4136 * image.el (image-format-suffixes): Doc fix.
4137
4138 * international/quail.el (quail-define-package): Doc fix.
4139
4140 * emacs-lisp/authors.el (authors-valid-file-names)
4141 (authors-renamed-files-alist): Additions.
4142
4143 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4144 reverts 2014-01-09 change. (Bug#16422)
4145
4146 * calc/calc-embed.el (thing-at-point-looking-at):
4147 * emacs-lisp/map-ynp.el (x-popup-dialog):
4148 * obsolete/lmenu.el (x-popup-dialog):
4149 * emacs-lisp/package.el (url-recreate-url):
4150 * mail/mailclient.el (clipboard-kill-ring-save):
4151 * subr.el (x-popup-dialog): Update declaration.
4152 * mail/rmail.el (rmail-mime-message-p):
4153 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4154
4155 2014-01-21 Daniel Colascione <dancol@dancol.org>
4156
4157 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4158 Correctly detect when we're inside an arithmetic expansion form
4159 containing nested parenthesis.
4160 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4161 to detect cases where we shouldn't expand "<<" to a heredoc
4162 skeleton.
4163
4164 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4167 (eldoc--message-command-p): New function.
4168 (eldoc-display-message-p): Use it.
4169 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4170 message is not automatically erased for us.
4171 (eldoc-print-current-symbol-info): Erase previous message, if any.
4172
4173 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4174
4175 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4176 specify it's an interactive function.
4177
4178 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4179 Fix regex used for scanning for citation keys which failed for
4180 citations with optional arguments.
4181
4182 2014-01-21 Leo Liu <sdl.web@gmail.com>
4183
4184 * simple.el (read--expression): Don't enable eldoc-mode.
4185
4186 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * simple.el (move-beginning-of-line): Make sure we don't move forward
4189 (bug#16497).
4190
4191 2014-01-20 Juri Linkov <juri@jurta.org>
4192
4193 * saveplace.el (toggle-save-place, save-place-to-alist)
4194 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4195 'dired-mode) before checking for dired-directory. (Bug#16477)
4196
4197 2014-01-20 Juri Linkov <juri@jurta.org>
4198
4199 * indent.el (indent-line-to): Use backward-to-indentation
4200 instead of back-to-indentation. (Bug#16461)
4201
4202 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4203
4204 Revert some of the CANNOT_DUMP fix (Bug#16494).
4205 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4206 but fixing this can wait until after the next release.
4207 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4208
4209 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4210
4211 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4212 Use `password-word-equivalents'.
4213 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4214 to t. (Bug#5664, Bug#13124)
4215
4216 2014-01-19 Alan Mackenzie <acm@muc.de>
4217
4218 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4219 points.
4220 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4221 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4222 * progmodes/cc-mode.el (c-before-change, c-after-change)
4223 (c-font-lock-fontify-region): Bind it here.
4224
4225 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4226
4227 * term.el (term-window-width): Call window-text-width instead of
4228 window-width (Bug#16470).
4229
4230 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4231
4232 * simple.el (password-word-equivalents): Remove duplicates.
4233 Sort, to make this easier next time.
4234 Downcase. Omit ": " after "jelszó".
4235
4236 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4237
4238 * term/common-win.el (saved-region-selection): Defvar it.
4239 (x-select-text): Set saved-region-selection (Bug#16382).
4240
4241 2014-01-18 Glenn Morris <rgm@gnu.org>
4242
4243 * emacs-lisp/authors.el (authors-aliases)
4244 (authors-renamed-files-alist): Add some entries.
4245
4246 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4247
4248 * net/tramp.el (tramp-password-prompt-regexp):
4249 Use `password-word-equivalents' if available.
4250 (tramp-action-password, tramp-process-one-action)
4251 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4252
4253 2014-01-17 Chong Yidong <cyd@gnu.org>
4254
4255 * simple.el (password-word-equivalents): New defcustom.
4256 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4257 to 24.4.
4258 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4259 to t. (Bug#13124)
4260
4261 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4262
4263 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4264 (ruby-align-to-stmt-keywords): Change the default value.
4265 Use `ruby-alignable-keywords' to generate the possible customization
4266 choices.
4267 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4268 keywords, check against the value of `ruby-alignable-keywords'
4269 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4270
4271 2014-01-17 Glenn Morris <rgm@gnu.org>
4272
4273 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4274
4275 Make M-x authors return zero *Authors Errors* from current logs.
4276 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4277 (authors-ignored-files): Add some entries, remove others.
4278 (authors-ambiguous-files, authors-valid-file-names):
4279 Add some entries.
4280 (authors-renamed-files-alist): Add, remove, and adjust entries.
4281 (authors-renamed-files-regexps): Add some entries.
4282 Remove some very broad ones. Make some entries `lax'.
4283 (authors-lax-changelogs): New constant.
4284 (authors-disambiguate-file-name): Treat top-level specially.
4285 (authors-lax-changelog-p): New function.
4286 (authors-canonical-file-name): Check file as written against
4287 authors-valid-file-names. Do not special-case etc/.
4288 Handle `lax' logs and authors-renamed-files-regexps elements.
4289
4290 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4291
4292 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4293 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4294 callers.
4295
4296 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4299 Assume we're already in the proper buffer.
4300 Inspired by Anders Lindgren <andlind@gmail.com>.
4301 (follow-post-command-hook): Call it from the right buffer.
4302 (follow-comint-scroll-to-bottom): Adjust call.
4303 (follow-all-followers): Use get-buffer-window-list.
4304
4305 2014-01-15 Daniel Colascione <dancol@dancol.org>
4306
4307 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4308 `buffer-file-name' in interactive-form so that we don't leave
4309 pathless file names in `file-name-history'.
4310
4311 2014-01-15 Juri Linkov <juri@jurta.org>
4312
4313 * indent.el (indent-rigidly): Set deactivate-mark to nil
4314 in transient indentation mode. (Bug#16438)
4315
4316 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4317
4318 * emacs-lisp/package.el (package-desc-keywords): New function
4319 (Bug#16222).
4320 (describe-package-1, package-all-keywords)
4321 (package--has-keyword-p): Use it.
4322
4323 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4324
4325 * simple.el (define-alternatives): When creating the
4326 COMMAND-alternatives variable, assign COMMAND as its definition
4327 name so that `describe-variable' can relocate it.
4328
4329 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4330
4331 * font-lock.el (font-lock-keywords): Fix typo in docstring
4332 (bug#16307).
4333
4334 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4335
4336 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4337 line instead of wrongly reset `add-coment' (bug#13577).
4338
4339 2014-01-14 Daiki Ueno <ueno@gnu.org>
4340
4341 * epa-file.el (epa-file-write-region): Encode the region according
4342 to `buffer-file-format'. Problem reported at:
4343 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4344
4345 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4348 so it applies in the right buffer (bug#16410).
4349
4350 2014-01-13 Daniel Colascione <dancol@dancol.org>
4351
4352 * textmodes/rst.el (rst-define-key): Provide deprecated
4353 keybindings through named functions instead of anonymous ones so
4354 that "??" doesn't appear in describe-mode output.
4355
4356 2014-01-13 Bastien Guerry <bzg@gnu.org>
4357
4358 * simple.el (define-alternatives): Call the selected command
4359 interactively. When setting `COMMAND--implementation' for the
4360 first time, tell the user how to chose another implementation.
4361 Enhance the docstring.
4362
4363 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4366 (log-edit--match-first-line): New function.
4367 (log-edit-font-lock-keywords): Use it.
4368 (log-edit-mode): Make jit-lock-defer-multiline work.
4369
4370 2014-01-13 Bastien Guerry <bzg@gnu.org>
4371
4372 * rect.el (rectangle-mark-mode): When the region is not active,
4373 display a message saying that the mark as been set and that
4374 rectangle mode is in use.
4375 (rectangle--highlight-for-redisplay): Only put an overlay with a
4376 visible vertical bar when (display-graphic-p) is non-nil.
4377 This partially fixes Bug#16403.
4378
4379 2014-01-13 Juri Linkov <juri@jurta.org>
4380
4381 * info.el (Info-find-file): Go to DIR before displaying the error
4382 about a nonexistent file if no previous Info file is visited.
4383 Use `user-error' instead of `error' for "Info file %s does not exist".
4384 (Info-find-node-2): In case of a nonexistent node in unwind forms
4385 go to the Top node if there is no previous node to revert to.
4386 (Bug#16405)
4387
4388 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4389
4390 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4391 * window.el (fit-frame-to-buffer): Fix doc-string.
4392 Respect window-min-height/-width. Fit pixelwise when
4393 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4394 when avoiding that frame goes partially off-screen.
4395 (fit-window-to-buffer): Respect window-min-height/-width
4396 (Bug#14096).
4397
4398 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4399
4400 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4401 after an empty line.
4402
4403 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * net/shr.el (shr-render-region): Autoload.
4406
4407 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4408
4409 * net/eww.el (eww-download-directory): Rename from
4410 `eww-download-path' (Bug#16419).
4411
4412 2014-01-12 Leo Liu <sdl.web@gmail.com>
4413
4414 * dired-x.el (dired-mode-map): Fix last change.
4415
4416 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4417
4418 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4419
4420 Spelling fixes.
4421 * emacs-lisp/generic.el (generic--normalize-comments):
4422 Rename from generic--normalise-comments. All uses changed.
4423 * play/bubbles.el (bubbles--neighborhood-score)
4424 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4425 (bubbles--neighborhood-available)
4426 (bubbles--update-neighborhood-score):
4427 Rename from names with 'neighbourhood'. All uses changed.
4428
4429 2014-01-12 Leo Liu <sdl.web@gmail.com>
4430
4431 Re-implement the feature of showing eldoc info after editing.
4432 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4433 (eldoc-edit-message-commands): New function.
4434 (eldoc-print-after-edit): New variable.
4435 (eldoc-pre-command-refresh-echo-area): Emit message only by
4436 eldoc-message-commands.
4437 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4438 if eldoc-print-after-edit is set. (Bug#16346)
4439 * simple.el (read--expression): Enable eldoc-mode.
4440 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4441
4442 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4443 Eric S. Raymond <esr@thyrsus.com>
4444
4445 * version.el (emacs-repository-get-version): Enhance so the
4446 function works correctly in either a Bazaar or Git repo.
4447
4448 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4449
4450 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4451 Goes with removal of the joke manpages from /etc.
4452
4453 2014-01-10 Kenichi Handa <handa@gnu.org>
4454
4455 * mail/rmail.el (rmail-get-coding-system):
4456 Check rmail-get-coding-function before "funcall"ing it.
4457
4458 2014-01-10 Glenn Morris <rgm@gnu.org>
4459
4460 * emacs-lisp/authors.el (authors-fixed-entries):
4461 Update for files that no longer exist.
4462
4463 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4464
4465 * version.el (emacs-bzr-get-version): Restore compatibilty with
4466 24.3 (Tested).
4467
4468 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4469
4470 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4471 and Podfile.
4472
4473 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4474
4475 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4476
4477 2014-01-10 Chong Yidong <cyd@gnu.org>
4478
4479 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4480
4481 2014-01-10 Anders Lindgren <andlind@gmail.com>
4482
4483 * follow.el (follow-cache-command-list): Include right-char and
4484 left-char.
4485
4486 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4487
4488 Spelling fixes.
4489 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4490 * woman.el (woman-mark-horizontal-position):
4491 Rename from woman-mark-horizonal-position. Use changed.
4492
4493 2014-01-10 Glenn Morris <rgm@gnu.org>
4494
4495 * info.el (info-initialize): If running uninstalled, ensure our
4496 own info files are always found first, even if INFOPATH is set.
4497
4498 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4499
4500 2014-01-09 David Engster <deng@randomsample.de>
4501
4502 * emacs-lisp/eieio-custom.el:
4503 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4504 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4505 * emacs-lisp/eieio.el: Regenerate autoloads.
4506
4507 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4508
4509 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4510 following renames. (Bug#8756)
4511
4512 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4515 (bug#16382).
4516 (activate-mark): Add `no-tmm' argument.
4517 (set-mark, push-mark-command): Use it instead of running
4518 activate-mark-hook by hand.
4519
4520 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4521
4522 In preparation for the move to git, sanitize out some
4523 Bazaar-specific names.
4524
4525 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4526
4527 * version.el (emacs-bzr-version): Name changed to
4528 emacs-repository-version. Obsolete-variable alias made.
4529 * loadup.el: Follow through on this name change.
4530 * mail/emacsbug.el (report-emacs-bug): Factor out any
4531 assumption about the version control system in use.
4532
4533 2014-01-08 David Engster <deng@randomsample.de>
4534
4535 * help-fns.el (help-fns-describe-function-functions):
4536 New variable to call functions for augmenting help buffers.
4537 (describe-function-1): Remove explicit calls to
4538 `help-fns--compiler-macro', `help-fns--parent-mode' and
4539 `help-fns--obsolete'. Put them in above new variable instead, and
4540 call them through `run-hook-with-args'.
4541 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4542 `eieio-describe-class'. Not meant for interactive use anymore,
4543 but to augment existing help buffers. Remove optional second
4544 argument. Create proper button for file location.
4545 Rewrite function to use `insert' instead of `princ' and `prin1' where
4546 possible.
4547 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4548 (eieio-method-def, eieio-class-def): Move further up.
4549 (describe-method, describe-generic, eieio-describe-method):
4550 Remove aliases.
4551 (eieio-help-constructor, eieio-help-generic): Rename from
4552 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4553 Rewrite to use `insert' in the current buffer and use proper help
4554 buttons.
4555 (eieio-help-find-method-definition)
4556 (eieio-help-find-class-definition): Also accept symbols as
4557 arguments.
4558 (eieio-help-mode-augmentation-maybee): Remove.
4559 (eieio-describe-class-sb): Use `describe-function'.
4560 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4561 Add `eieio-help-generic' and `eieio-help-constructor'.
4562
4563 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4564
4565 Spelling fixes.
4566 * language/china-util.el (hz-ascii-designation):
4567 Rename from hz-ascii-designnation.
4568 (hz-ascii-designation): Rename from hz-ascii-designnation.
4569 All uses changed.
4570
4571 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4574 package-alist.
4575
4576 2014-01-08 Bastien Guerry <bzg@gnu.org>
4577
4578 * emacs-lisp/package.el (package-delete):
4579 Correctly delete the package from package-alist.
4580
4581 2014-01-08 Daiki Ueno <ueno@gnu.org>
4582
4583 * emacs-lisp/package.el (url-recreate-url): Declare.
4584 (url-http-target-url): Declare.
4585 (package-handle-response): Include requested URL in the error message.
4586 (package--check-signature): Don't re-signal errors from
4587 package--with-work-buffer. Suggested by Stefan Monnier.
4588
4589 2014-01-07 Bastien Guerry <bzg@gnu.org>
4590
4591 * minibuffer.el (completion--try-word-completion): When both a
4592 hyphen and a space are possible candidates for the character
4593 following a word, display both candidates. (Bug#15980)
4594
4595 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4596
4597 * window.el (balance-windows-2): While rounding don't give a
4598 window more than the remainder. Bug#16351, bug#16383.
4599
4600 2014-01-07 Glenn Morris <rgm@gnu.org>
4601
4602 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4603 (menu-bar-help-menu): Use view-external-packages instead.
4604
4605 2014-01-07 Bastien Guerry <bzg@gnu.org>
4606
4607 * emacs-lisp/package.el (package-delete): Also delete the package
4608 name from `package-alist', not its description only.
4609
4610 2014-01-07 Glenn Morris <rgm@gnu.org>
4611
4612 * help.el (view-external-packages):
4613 * menu-bar.el (menu-bar-help-extra-packages):
4614 Visit efaq.info rather than etc/MORE.STUFF.
4615
4616 2014-01-07 Juri Linkov <juri@jurta.org>
4617
4618 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4619 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4620
4621 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4622 that shadows RET. (Bug#16342)
4623
4624 2014-01-07 Chong Yidong <cyd@gnu.org>
4625
4626 * isearch.el (isearch-yank-char, isearch-yank-word)
4627 (isearch-yank-line): Doc fix.
4628
4629 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4632 * emacs-lisp/elint.el (elint-find-builtins):
4633 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4634 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4635 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4636 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4637 * apropos.el (apropos-safe-documentation):
4638 * subr.el (symbol-file): Remove redundant fboundp.
4639 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4640
4641 2014-01-06 Bastien Guerry <bzg@gnu.org>
4642
4643 * hl-line.el (global-hl-line-overlay): Make a local variable.
4644 (global-hl-line-overlays): New variable to store all overlays.
4645 (global-hl-line-mode): Don't delete overlays from the current
4646 buffer when `global-hl-line-sticky-flag' is non-nil.
4647 (global-hl-line-highlight): Add new overlays to
4648 `global-hl-line-overlays'.
4649 (global-hl-line-unhighlight-all): New function to delete all
4650 overlays when turning off `global-hl-line-mode'.
4651 This fixes Bug#16183.
4652
4653 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * subr.el (set-transient-map): Fix nested case and docstring.
4656
4657 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4658
4659 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4660 `Texinfo' entry.
4661
4662 2014-01-06 Daniel Colascione <dancol@dancol.org>
4663
4664 Fix defun navigation in vc log view.
4665
4666 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4667 like `beginning-of-defun'.
4668 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4669 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4670 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4671 (log-view-extract-comment): Call `log-view-current-entry' directly
4672 instead of relying on broken `log-view-beginning-of-defun' behavior.
4673
4674 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4675
4676 Spelling fixes.
4677 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4678 * emacs-lisp/debug.el (cancel-debug-on-entry):
4679 * epg.el (epg-error-to-string):
4680 * files.el (recover-file):
4681 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4682 * mail/emacsbug.el (report-emacs-bug-hook):
4683 * mail/sendmail.el (mail-recover):
4684 * ses.el (ses-yank-resize):
4685 * term/ns-win.el (ns-print-buffer):
4686 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4687 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4688 All uses changed.
4689 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4690
4691 2014-01-06 Leo Liu <sdl.web@gmail.com>
4692
4693 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4694 to avoid shadowing global key. (Bug#16354)
4695
4696 2014-01-06 Daniel Colascione <dancol@dancol.org>
4697
4698 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4699 rst-mode.
4700
4701 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4702
4703 * window.el (balance-windows): Add mising t to fix Bug#16351.
4704
4705 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4706
4707 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4708 (bug#16285).
4709 (shr-insert): If we have a word that's longer than `shr-width',
4710 break after it anyway. Otherwise we'll do no breaking once we get
4711 such a long word.
4712
4713 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4714
4715 * net/eww.el (eww): Support single/double quote for search.
4716 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4717 (eww-history-quit): Delete and use quit-window.
4718 (eww-history-kill): Delete, because it doesn't work well and
4719 not necessary.
4720 (eww-history-mode-map): Delete some keys and add easy-menu.
4721
4722 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4723
4724 Fix misspelling of 'chinese' in rx (Bug#16237).
4725 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4726 chinese-two-byte.
4727
4728 Change subword regexps back to vars (Bug#16296).
4729 * progmodes/subword.el (subword-forward-regexp)
4730 (subword-backward-regexp): Change these back to variables.
4731
4732 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4735 syntax-begin-function (bug#16247).
4736
4737 2014-01-03 Chong Yidong <cyd@gnu.org>
4738
4739 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4740 (advice--docstring): Delete variable.
4741 (advice--make-1): Leave the docstring empty.
4742 (advice-add): Use function-documentation for advised docstring.
4743
4744 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4745 Ignore function-documentation property when getting documentation.
4746 (ad-activate-advised-definition): Use function-documentation
4747 generate the docstring.
4748 (ad-make-advised-definition): Don't call
4749 ad-make-advised-definition-docstring.
4750 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4751 Delete functions.
4752
4753 * progmodes/sql.el (sql-help): Use function-documentation instead
4754 of dynamic-docstring-function property. No need to autoload now.
4755 (sql--help-docstring): New variable.
4756 (sql--make-help-docstring): Use it.
4757
4758 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * ielm.el (ielm-tab): Retarget.
4761 (ielm-map): Use ielm-tab for tab.
4762 (ielm-complete-filename): Use comint-filename-completion.
4763 (ielm-complete-symbol): Remove.
4764 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4765 remove ielm-tab from completion-at-point-functions (bug#16224).
4766
4767 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4768 Beware signals raised by predicates (bug#16201).
4769
4770 2014-01-02 Richard Stallman <rms@gnu.org>
4771
4772 * dired-aux.el (dired-do-print): Handle printer-name.
4773
4774 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4775 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4776 (rmail-epa-decrypt): Turn off mime processing.
4777
4778 * mail/rmail.el (rmail-make-in-reply-to-field):
4779 Add parens in message-id.
4780
4781 * mail/rmail.el (rmail-get-coding-function): Variable.
4782 (rmail-get-coding-system): Use it.
4783
4784 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4785
4786 * international/mule-conf.el: Unify the charset indian-is13194.
4787 (indian-is13194): Specify unify-map.
4788
4789 2013-12-31 Leo Liu <sdl.web@gmail.com>
4790
4791 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4792
4793 2013-12-30 Daniel Colascione <dancol@dancol.org>
4794
4795 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4796 of printing a useless when we resume from sleep.
4797
4798 * progmodes/sh-script.el
4799 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4800 in indentation code. (Bug#16233)
4801
4802 2013-12-28 João Távora <joaotavora@gmail.com>
4803
4804 * elec-pair.el (electric-pair-post-self-insert-function):
4805 Don't open extra newlines at beginning of buffer. (Bug#16272)
4806
4807 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4808
4809 * frame.el (window-system-for-display): Don't allow to create a
4810 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4811
4812 2013-12-28 Glenn Morris <rgm@gnu.org>
4813
4814 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4815 Update callers.
4816
4817 * apropos.el (apropos-match-face):
4818 * calculator.el (calculator-displayer):
4819 * dabbrev.el (dabbrev-search-these-buffers-only):
4820 * face-remap.el (buffer-face-mode-face):
4821 * simple.el (yank-handled-properties):
4822 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4823 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4824 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4825 (hashcash-double-spend-database):
4826 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4827 (ruby-deep-indent-paren-style):
4828 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4829 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4830 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4831 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4832 Specify custom types.
4833
4834 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4835 * bookmark.el (bookmark-bmenu-use-header-line):
4836 * doc-view.el (doc-view-scale-internally):
4837 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4838 * register.el (register-preview-delay):
4839 * net/shr.el (shr-bullet):
4840 * progmodes/cfengine.el (cfengine-cf-promises)
4841 (cfengine-parameters-indent):
4842 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4843 * textmodes/reftex-vars.el (reftex-label-regexps):
4844 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4845
4846 * net/tls.el (tls-certtool-program): Fix default value.
4847
4848 * desktop.el (desktop-restore-in-current-display):
4849 * newcomment.el (comment-empty-lines):
4850 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4851 (idlwave-pad-keyword):
4852 * progmodes/tcl.el (tcl-tab-always-indent):
4853 * textmodes/reftex-vars.el (reftex-index-default-tag):
4854 * elec-pair.el (electric-pair-skip-whitespace):
4855 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4856
4857 * emacs-lisp/authors.el (authors-ignored-files)
4858 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4859
4860 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4861
4862 * shell.el (shell-dynamic-complete-command): Doc fix.
4863 (shell--command-completion-data): Shell completion now matches
4864 executable filenames from the current buffer's directory, on
4865 systems in which this behavior is the default (windows-nt, ms-dos).
4866
4867 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4868
4869 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4870
4871 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4874 (bug#16251).
4875
4876 * electric.el: Move all electric-pair-* to elec-pair.el.
4877 * elec-pair.el: New file, split from electric.el.
4878
4879 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4880
4881 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4882 indentation level is larger than the width, because that will
4883 infloop.
4884 (shr-insert): Fill repeatedly long texts, so that Japanese is
4885 formatted correctly (bug#16263).
4886 (shr-find-fill-point): Off by one error in comparison with the
4887 indentation.
4888
4889 2013-12-26 João Távora <joaotavora@gmail.com>
4890
4891 * electric.el (electric-pair-mode): More flexible engine for skip-
4892 and inhibit predicates, new options for pairing-related functionality.
4893 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4894 if that keeps or improves their balance in buffers.
4895 (electric-pair-delete-adjacent-pairs): Delete the pair when
4896 backspacing over adjacent matched delimiters.
4897 (electric-pair-open-extra-newline): Open extra newline when
4898 inserting newlines between adjacent matched delimiters.
4899 (electric--sort-post-self-insertion-hook):
4900 Sort post-self-insert-hook according to priority values when
4901 minor-modes are activated.
4902 * simple.el (newline-and-indent): Call newline with interactive
4903 set to t.
4904 (blink-paren-post-self-insert-function): Set priority to 100.
4905 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4906 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4907 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4908 electric-pair-open-newline-between-pairs to nil.
4909
4910 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4911
4912 * progmodes/python.el: Use lexical-binding.
4913 (python-nav-beginning-of-defun): Stop searching ASAP.
4914
4915 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4916
4917 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4918 Fix interactive spec. Doc fix. (Bug#15754)
4919
4920 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4921
4922 * emacs-lisp/byte-run.el (eval-when-compile):
4923 * progmodes/cc-defs.el (cc-eval-when-compile):
4924 Fix edebug spec (bug#16184).
4925
4926 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4927
4928 * net/shr.el (shr-visit-file): Remove debugging function.
4929 (shr-insert): Don't infloop if we can't find a good place to break
4930 the line (bug#16256).
4931
4932 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4933
4934 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4935 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4936 python-nav-lisp-forward-sexp-safe.
4937 (python-nav--forward-sexp): New argument SAFE allows switching
4938 forward sexp movement behavior for parens.
4939 (python-nav-forward-sexp): Throw errors on unterminated parens
4940 (Bug#16191).
4941 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4942 (python-nav-backward-sexp-safe): New functions.
4943 (python-shell-buffer-substring):
4944 Use `python-nav-forward-sexp-safe'.
4945
4946 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4947
4948 * net/shr.el (shr-find-fill-point): Don't break lines before a
4949 quotation mark.
4950 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4951 (shr-find-fill-point): Remove the special checks for the quotation
4952 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4953
4954 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4955
4956 * net/eww.el (eww-form-textarea): Use a different face for
4957 textareas than text input since they have different keymaps
4958 (bug#16142).
4959
4960 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4961
4962 * progmodes/python.el (python-nav-beginning-of-statement):
4963 Speed up (Bug#15295).
4964
4965 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4966
4967 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4968 the window configuration.
4969
4970 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4971
4972 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4973 we run on MS-Windows or MS-DOS.
4974
4975 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4976
4977 * window.el (balance-windows-area): Call window-size instead of
4978 window-height and window-width. Bug#16241.
4979
4980 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4981
4982 * net/eww.el (eww-bookmark-quit): Remove.
4983 (eww-bookmark-browse): Restore the window configuration when you
4984 choose a bookmark (bug#16144).
4985
4986 2013-12-24 Daniel Colascione <dancol@dancol.org>
4987
4988 * icomplete.el: Remove redundant :group arguments to `defcustom'
4989 throughout.
4990 (icomplete-show-matches-on-no-input): New customizable variable.
4991 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4992 we have something to show.
4993 (icomplete-exhibit): Compute completions even if we have no user input.
4994
4995 2013-12-23 Daniel Colascione <dancol@dancol.org>
4996
4997 * icomplete.el: Move `provide' to end of file.
4998
4999 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5000
5001 * net/gnutls.el (gnutls-verify-error): Add version tag.
5002
5003 2013-12-23 Chong Yidong <cyd@gnu.org>
5004
5005 * subr.el (set-transient-map): Rename from
5006 set-temporary-overlay-map. Doc fix.
5007
5008 * face-remap.el (text-scale-adjust):
5009 * indent.el (indent-rigidly):
5010 * kmacro.el (kmacro-call-macro):
5011 * minibuffer.el (minibuffer-force-complete):
5012 * repeat.el (repeat):
5013 * simple.el (universal-argument--mode):
5014 * calendar/todo-mode.el (todo-insert-item--next-param):
5015 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5016
5017 * indent.el (indent-rigidly): Use substitute-command-keys.
5018
5019 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5020
5021 * net/eww.el (eww-tag-select): Add text-property to jump to next
5022 select field.
5023 (eww): Add non-supported ftp error.
5024
5025 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5026
5027 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5028 comments. Handle electric indent after typing `?' and `!'.
5029
5030 2013-12-22 Chong Yidong <cyd@gnu.org>
5031
5032 * faces.el (face-spec-recalc): If the theme specs are not
5033 applicable to a frame, fall back on the defface spec.
5034 This prevents themes from obliterating faces on low-color terminals.
5035
5036 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5037
5038 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5039 after `{'. We need it after block openers, and it doesn't seem
5040 to hurt after hash openers.
5041
5042 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5043
5044 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5045 extracted from `ruby-smie-rules'.
5046 (ruby--electric-indent-chars): New variable.
5047 (ruby--electric-indent-p): New function.
5048 (ruby-mode): Use `electric-indent-functions' instead of
5049 `electric-indent-chars'.
5050
5051 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5052
5053 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5054 docstring.
5055 (ruby-smie-rules): Indent plus one level after `=>'.
5056
5057 2013-12-21 Richard Stallman <rms@gnu.org>
5058
5059 * simple.el (newline): Doc fix.
5060
5061 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5062
5063 * net/eww.el (eww-list-histories, eww-list-histories)
5064 (eww-history-browse, eww-history-quit, eww-history-kill)
5065 (eww-history-mode-map, eww-history-mode): New command and
5066 functions to list browser histories.
5067 (eww-form-text): Support text form with disabled
5068 and readonly attributes.
5069 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5070
5071 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5072
5073 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5074 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5075 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5076 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5077 Use `user-error'.
5078 (eww-bookmark-mode-map): Add menu.
5079 (eww-render, eww-mode): Use `setq-local'.
5080 (eww-tool-bar-map): New variable.
5081 (eww-mode): Set `tool-bar-map'.
5082 (eww-view-source): Check for `html-mode' with `fboundp'.
5083
5084 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5085
5086 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5087 elements with text inside. Also remove debugging.
5088
5089 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5090
5091 * cus-start.el (all): Add ns-use-srgb-colorspace.
5092
5093 2013-12-21 Chong Yidong <cyd@gnu.org>
5094
5095 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5096 undefined. Thus, theme settings for undefined faces do not take
5097 effect until the faces are defined with defface, the same as with
5098 theme variables.
5099
5100 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5101 (face-spec-reset-face): Don't assign extra properties in temacs.
5102 (face-spec-recalc): Apply X resources too.
5103
5104 2013-12-21 Chong Yidong <cyd@gnu.org>
5105
5106 * faces.el (face-spec-set):
5107 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5108 * custom.el (defface): Doc fixes (Bug#16203).
5109
5110 * indent.el (indent-rigidly-map): Add docstring, and move commands
5111 into named functions.
5112 (indent-rigidly-left, indent-rigidly-right)
5113 (indent-rigidly-left-to-tab-stop)
5114 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5115 indentation direction based on bidi direction, and accumulate
5116 sequential commands in a single undo boundary.
5117 (indent-rigidly--pop-undo): New utility function.
5118
5119 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5120
5121 * faces.el (read-face-name): Require crm.el when using crm-separator.
5122
5123 2013-12-20 Daniel Colascione <dancol@dancol.org>
5124
5125 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5126 so that we don't reflow comments into the shebang line.
5127
5128 2013-12-20 Juri Linkov <juri@jurta.org>
5129
5130 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5131 a position when `dired-directory' is non-nil. Check integer
5132 positions with `integerp'.
5133 (toggle-save-place, save-places-to-alist): Add check for
5134 `dired-directory'.
5135 (save-place-find-file-hook): Check integer positions with
5136 `integerp'.
5137 (save-place-dired-hook): Use `dired-goto-file' when
5138 `dired-filename' is found in the assoc list. Check integer
5139 positions with `integerp'.
5140 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5141
5142 * dired.el (dired-initial-position-hook): Rename back from
5143 `dired-initial-point-hook'.
5144 (dired-initial-position): Rename `dired-initial-point-hook' to
5145 `dired-initial-position-hook'.
5146 (dired-file-name-at-point): Doc fix. (Bug#15329)
5147
5148 2013-12-20 Juri Linkov <juri@jurta.org>
5149
5150 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5151 (read-regexp-suggestions): New function.
5152 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5153 Use `read-regexp-suggestions'. Add non-empty default to history
5154 for empty input.
5155 (occur-read-regexp-defaults-function): Remove function.
5156 (occur-read-primary-args): Use `regexp-history-last' instead of
5157 `occur-read-regexp-defaults-function'.
5158
5159 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5160 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5161 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5162 `hi-lock-read-regexp-defaults-function'. Doc fix.
5163 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5164 with `find-tag-default-as-symbol-regexp'. Doc fix.
5165 (hi-lock-read-regexp-defaults): Remove function.
5166 (hi-lock-regexp-okay): Add check for null.
5167
5168 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5169 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5170
5171 * subr.el (find-tag-default-as-symbol-regexp): New function.
5172 (find-tag-default-as-regexp): Move symbol regexp formatting to
5173 `find-tag-default-as-symbol-regexp'.
5174
5175 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5176
5177 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5178 (Bug#14179)
5179
5180 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5181
5182 * calendar/todo-mode.el: New implementation of item insertion
5183 commands and key bindings.
5184 (todo-key-prompt): New face.
5185 (todo-insert-item): New command.
5186 (todo-insert-item--parameters): New defconst, replacing defvar
5187 todo-insertion-commands-args-genlist.
5188 (todo-insert-item--param-key-alist): New defconst, replacing
5189 defvar todo-insertion-commands-arg-key-list.
5190 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5191 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5192 (todo-insert-item--next-param): New functions.
5193 (todo-insert-item--args, todo-insert-item--argleft)
5194 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5195 New variables.
5196 (todo-key-bindings-t): Change binding of "i" from
5197 todo-insertion-map to todo-insert-item.
5198 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5199 (todo-insertion-command-name, todo-insertion-commands-names)
5200 (todo-define-insertion-command, todo-insertion-commands)
5201 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5202
5203 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5204
5205 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5206 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5207 eval-when-compile.
5208 (todo-move-category): Allow choosing a non-existing todo file to
5209 move the category to, and create that file.
5210 (todo-default-priority): New user option.
5211 (todo-set-item-priority): Use it.
5212 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5213 (desktop-restore-file-buffer): Declare.
5214 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5215 (todo-modes-set-2): Locally set desktop-save-buffer to
5216 todo-desktop-save-buffer.
5217 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5218 (auto-mode-alist): Add autoload cookie.
5219
5220 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5221
5222 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5223 helpers.el was a poor choice of name.
5224 (string-remove-prefix): New function.
5225 (string-remove-suffix): New function.
5226
5227 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5228
5229 Fix assignment for new window total sizes.
5230 * window.el (window--pixel-to-size): Remove function.
5231 (window--pixel-to-total-1, window--pixel-to-total):
5232 Fix calculation of new total sizes.
5233
5234 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5235
5236 * comint.el (comint-output-filter): Fix rear-nonsticky property
5237 placement (Bug#16010).
5238
5239 2013-12-20 Chong Yidong <cyd@gnu.org>
5240
5241 * faces.el (read-color): Minor fix for completion function.
5242
5243 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5244
5245 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5246 New option. (Bug#16182)
5247 (ruby-smie--indent-to-stmt-p): Use it.
5248 (ruby-smie-rules): Revert the logic in the handling of `when'.
5249 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5250 (ruby-deep-arglist, ruby-deep-indent-paren)
5251 (ruby-deep-indent-paren-style): Update docstrings to note that the
5252 vars don't have any effect with SMIE.
5253
5254 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5255
5256 * calc/calc.el (calc-enter, calc-pop): Use the variable
5257 `calc-context-sensitive-enter'.
5258
5259 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5260
5261 * net/shr.el (shr-insert): Protect against infloops in degenerate
5262 tables.
5263
5264 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5265
5266 * progmodes/octave.el (octave): Add link to manual and octave
5267 homepage.
5268 (octave-mode-menu): Link to octave-mode manual.
5269
5270 2013-12-20 Leo Liu <sdl.web@gmail.com>
5271
5272 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5273 insertion using skeleton-end-newline. (Bug#16138)
5274
5275 2013-12-20 Juri Linkov <juri@jurta.org>
5276
5277 * replace.el (occur-engine): Use `add-face-text-property'
5278 to add the face property to matches and titles. (Bug#14645)
5279
5280 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5281 the palette of other hi-lock colors.
5282 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5283
5284 2013-12-19 Juri Linkov <juri@jurta.org>
5285
5286 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5287 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5288 (minibuffer-history-symbol): Move variable declaration closer to
5289 its usage.
5290
5291 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5292 (Bug#14785)
5293
5294 2013-12-19 Juri Linkov <juri@jurta.org>
5295
5296 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5297 New function.
5298 (log-edit-hook): Add it to :options. (Bug#16170)
5299
5300 2013-12-19 Juri Linkov <juri@jurta.org>
5301
5302 * simple.el (eval-expression-print-format): Don't check for
5303 command names and the last command. Always display additional
5304 formats of the integer result in the echo area, and insert them
5305 to the current buffer only with a zero prefix arg.
5306 Display character when char-displayable-p is non-nil.
5307 (eval-expression): With a zero prefix arg, set `print-length' and
5308 `print-level' to nil, and insert the integer values from
5309 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5310
5311 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5312 `eval-last-sexp-arg-internal'. Doc fix.
5313 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5314 `eval-last-sexp-print-value'. Doc fix.
5315 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5316 Set `print-length' and `print-level' to nil when arg is zero.
5317 (eval-last-sexp): Doc fix.
5318 (eval-defun-2): Print the integer values from
5319 `eval-expression-print-format' at the end.
5320
5321 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5322 values from `eval-expression-print-format' at the end.
5323
5324 * ielm.el (ielm-eval-input): Print the integer
5325 values from `eval-expression-print-format' at the end.
5326
5327 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5328
5329 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5330 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5331
5332 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5335 (hl-line-highlight, global-hl-line-highlight): Use it.
5336 (hl-line-overlay): Use defvar-local.
5337
5338 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5339
5340 * term/ns-win.el: Require dnd.
5341 (global-map): Remove drag items.
5342 (ns-insert-text, ns-set-foreground-at-mouse)
5343 (ns-set-background-at-mouse):
5344 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5345 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5346 New functions.
5347
5348 2013-12-19 Glenn Morris <rgm@gnu.org>
5349
5350 * emacs-lisp/ert.el (ert-select-tests):
5351 Fix string/symbol mixup. (Bug#16121)
5352
5353 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5354
5355 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5356 keywords to their parent.
5357
5358 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5359
5360 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5361 first arg to be a string (fixed dead code), or an operator symbol.
5362 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5363 operator symbols.
5364 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5365 did nothing. Don't respond to `(:after ".")', it will be called
5366 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5367 change anything. Only return indentation for binary operators
5368 when they are hanging. De-dent opening paren when its parent is
5369 `.', otherwise it looks bad when the dot is not at bol or eol
5370 (bug#16182).
5371
5372 2013-12-19 Juri Linkov <juri@jurta.org>
5373
5374 * replace.el (query-replace-read-args): Split a non-negative arg
5375 and a negative arg into separate elements.
5376 (query-replace, query-replace-regexp, replace-string)
5377 (replace-regexp): Add arg `backward'. Doc fix.
5378 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5379 move point to the beginning of the match.
5380 (replace-search, replace-highlight): Use new arg `backward'
5381 to set the value of `isearch-forward'.
5382 (perform-replace): Add arg `backward' and use it to perform
5383 replacement backward. (Bug#14979)
5384
5385 * isearch.el (isearch-query-replace): Use a negative prefix arg
5386 to call `perform-replace' with a non-nil arg `backward'.
5387
5388 2013-12-18 Juri Linkov <juri@jurta.org>
5389
5390 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5391 to the default list. Move `log-edit-show-files' to the end.
5392 Add more available functions to options.
5393 (log-edit): Move default specific settings to
5394 `log-edit-insert-message-template'. Don't move point.
5395 (log-edit-insert-message-template): New function.
5396 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5397 (Bug#16170)
5398
5399 2013-12-18 Juri Linkov <juri@jurta.org>
5400
5401 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5402 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5403
5404 2013-12-18 Leo Liu <sdl.web@gmail.com>
5405
5406 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5407 (Bug#16186)
5408
5409 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5410
5411 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5412 formats for displaying file sizes when the -s switch is given.
5413 Instead, compute a separate format for displaying the size in
5414 blocks, which is displayed in addition to the "regular" size.
5415 When -h is given in addition to -s, produce size in blocks in
5416 human-readable form as well. (Bug#16179)
5417
5418 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5419
5420 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5421 Reference tables with ~\ref{...} instead of only \ref{...}.
5422
5423 2013-12-18 Chong Yidong <cyd@gnu.org>
5424
5425 * cus-edit.el (custom-magic-alist): Fix "themed" description
5426 (Bug#14348).
5427
5428 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5429 is non-nil, do not create a new entry in the symbol's theme-value
5430 or theme-face property; update theme-settings only (Bug#14664).
5431 (custom-available-themes): Doc fix.
5432
5433 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5434 (Bug#15674).
5435
5436 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5437
5438 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5439
5440 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5441 (Bug#13914).
5442
5443 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5444
5445 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5446
5447 2013-12-18 Glenn Morris <rgm@gnu.org>
5448
5449 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5450 * cus-start.el (load-prefer-newer): New option.
5451
5452 2013-12-18 Le Wang <l26wang@gmail.com>
5453
5454 * comint.el (comint-previous-matching-input-from-input):
5455 Retain point (Bug#13404).
5456
5457 2013-12-18 Chong Yidong <cyd@gnu.org>
5458
5459 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5460
5461 2013-12-18 Glenn Morris <rgm@gnu.org>
5462
5463 * mail/emacsbug.el (report-emacs-bug):
5464 Only mention enable-multibyte-characters if non-standard.
5465
5466 2013-12-17 Juri Linkov <juri@jurta.org>
5467
5468 * arc-mode.el (archive-extract-by-file): Check if directory exists
5469 before deletion to not show irrelevant errors if it doesn't exist.
5470
5471 2013-12-17 Juri Linkov <juri@jurta.org>
5472
5473 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5474 (Bug#14751)
5475
5476 * net/eww.el (browse-web): Add alias to `eww'.
5477 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5478 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5479
5480 * net/browse-url.el (browse-url-browser-function): Move `eww'
5481 closer to similar functions.
5482
5483 * startup.el (fancy-startup-screen, fancy-about-screen):
5484 Set browse-url-browser-function to eww-browse-url locally.
5485 (Bug#14751)
5486
5487 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5488
5489 * window.el (window--pixel-to-total): Remove unused `mini' var.
5490 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5491 (split-window): Remove unused `new' var.
5492 (window--display-buffer): Remove unused `frame' and `delta' vars.
5493 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5494 and display-width'.
5495
5496 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5497
5498 * dired.el (dired-mark-pop-up):
5499 * register.el (register-preview): Don't bind
5500 split-height-threshold here since it's now done in
5501 display-buffer-below-selected.
5502
5503 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5504
5505 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5506 xterm-rgb-convert-to-16bit.
5507 (rxvt-register-default-colors): Standardize with
5508 xterm-register-default-colors (Bug#14078).
5509
5510 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5511
5512 * simple.el (kill-region): Pass mark first, then point, so that
5513 kill-append works right (Bug#12819).
5514 (copy-region-as-kill, kill-ring-save): Likewise.
5515
5516 2013-12-17 Leo Liu <sdl.web@gmail.com>
5517
5518 * net/rcirc.el (rcirc-add-face):
5519 * eshell/em-prompt.el (eshell-emit-prompt):
5520 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5521 (Bug#16167)
5522
5523 2013-12-17 Chong Yidong <cyd@gnu.org>
5524
5525 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5526 Suggested by Xue Fuqiao.
5527
5528 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5529
5530 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5531
5532 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 * net/shr.el (shr-insert-document): Remove unused var
5535 `shr-preliminary-table-render'.
5536 (shr-rescale-image): Remove unused arg `force'.
5537 (shr-put-image): Update calls accordingly.
5538 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5539
5540 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5541
5542 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5543 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5544 :close-all, to see which indentation method to use (Bug#16116).
5545 (smie-rules-function): Document the method :close-all.
5546
5547 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5548
5549 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5550
5551 * net/eww.el (eww-display-html): If we can't find the anchor we're
5552 looking for, then go to point-min.
5553
5554 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5555
5556 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5557 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5558 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5559 Expand dir too, in case it's relative.
5560
5561 2013-12-16 Juri Linkov <juri@jurta.org>
5562
5563 * desktop.el (desktop-auto-save-timeout): Change default to
5564 `auto-save-timeout'. Doc fix.
5565 (desktop-save): Skip the timestamp in desktop-saved-frameset
5566 when checking for auto-save changes.
5567 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5568 `desktop-auto-save' is called repeatedly by the idle timer.
5569 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5570 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5571 (Bug#15331)
5572
5573 2013-12-16 Juri Linkov <juri@jurta.org>
5574
5575 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5576 (Bug#16035)
5577 (isearch-pre-command-hook): Check `this-command' for symbolp.
5578
5579 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5582
5583 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5584
5585 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5586 (cfengine3--current-function): Bring in the current-function
5587 functionality from `cfengine3--current-word'.
5588 (cfengine3-completion-function): Bring in the
5589 bounds-of-current-word functionality from
5590 `cfengine3--current-word'.
5591
5592 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5593
5594 * window.el (display-buffer-below-selected):
5595 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5596
5597 2013-12-16 Leo Liu <sdl.web@gmail.com>
5598
5599 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5600 Remove NOMSG arg and all uses changed.
5601
5602 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5605 (cua--deactivate-rectangle): Don't deactivate the mark.
5606 (cua-set-rectangle-mark): Don't set mark-active since
5607 cua--activate-rectangle already does it for us.
5608 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5609 non-rectangular region.
5610
5611 * emulation/cua-base.el (cua-repeat-replace-region):
5612 Use with-current-buffer.
5613
5614 * net/gnutls.el: Use cl-lib.
5615 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5616
5617 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5618
5619 * emacs-lisp/package.el (package-built-in-p): Support both
5620 built-in and the package.el converted package descriptions.
5621 (package-show-package-list): Allow keywords.
5622 (package-keyword-button-action): Use it instead of
5623 `finder-list-matches'.
5624 (package-menu-filter-interactive): Interactive filtering (by
5625 keyword) function.
5626 (package-menu--generate): Support keywords and change keymappings
5627 and headers when they are given.
5628 (package--has-keyword-p): Helper function.
5629 (package-menu--refresh): Use it.
5630 (package--mapc): Helper function.
5631 (package-all-keywords): Use it.
5632 (package-menu-mode-map): Set up menu items and keybindings to
5633 provide a filtering UI.
5634
5635 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5636
5637 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5638 the behavior when a certificate fails validation. Defaults to
5639 old behavior: never abort, just warn.
5640 (gnutls-negotiate): Use it.
5641
5642 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5643
5644 * window.el (display-buffer-below-selected): Never split window
5645 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5646
5647 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5648
5649 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5650 (package-buffer-info): Use it (bug#15108).
5651
5652 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * icomplete.el (icomplete-completions): Make sure the prefix is already
5655 displayed elsewhere before hiding it (bug#16219).
5656
5657 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5658
5659 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5660 open-paren tokens when preceded by a open-paren, too.
5661 (ruby-smie-rules): Handle virtual indentation after open-paren
5662 tokens specially. If there is code between it and eol, return the
5663 column where is starts (Bug#16118).
5664
5665 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5666
5667 * progmodes/cfengine.el: Fix `add-hook' doc.
5668 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5669 (cfengine3--current-word): Fix parameters.
5670 (cfengine3-make-syntax-cache): Simplify further.
5671 (cfengine3-completion-function, cfengine3--current-function):
5672 Use `assq' for symbols.
5673 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5674
5675 2013-12-13 Glenn Morris <rgm@gnu.org>
5676
5677 * loadup.el (load-path): Warn if site-load or site-init changes it.
5678 No more need to reset it when bootstrapping.
5679
5680 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5681
5682 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5683 locations for cf-promises.
5684 (cfengine-mode-syntax-functions-regex): New caching variable.
5685 (cfengine3-fallback-syntax): Fallback syntax for cases where
5686 cf-promises doesn't run.
5687 (cfengine3--current-word): Reimplement using
5688 `cfengine-mode-syntax-functions-regex'.
5689 (cfengine3-completion-function, cfengine3--current-function):
5690 Use `cfengine3-make-syntax-cache' directly.
5691 (cfengine3-clear-syntax-cache): New function.
5692 (cfengine3-make-syntax-cache): Simplify and create
5693 `cfengine-mode-syntax-functions-regex' on demand.
5694 (cfengine3-format-function-docstring): Don't call
5695 `cfengine3-make-syntax-cache' explicitly.
5696
5697 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5698
5699 Fix windmove-find-other-window broken after pixelwise resizing
5700 (Bug#16017).
5701 * windmove.el (windmove-other-window-loc): Revert change from
5702 2013-12-04.
5703 (windmove-find-other-window): Call window-in-direction.
5704 * window.el (window-in-direction): New arguments SIGN, WRAP and
5705 MINI to emulate original windmove-find-other-window behavior.
5706
5707 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5708
5709 * simple.el (blink-matching--overlay): New variable.
5710 (blink-matching-open): Instead of moving point, highlight the
5711 matching paren with an overlay
5712 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5713
5714 * faces.el (paren-showing-faces, show-paren-match)
5715 (show-paren-mismatch): Move from paren.el.
5716
5717 2013-12-13 Leo Liu <sdl.web@gmail.com>
5718
5719 * indent.el (indent-region): Disable progress reporter in
5720 minibuffer. (Bug#16108)
5721
5722 * bindings.el (visual-order-cursor-movement): Fix version.
5723
5724 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5725
5726 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5727 Also match after beginning of line.
5728 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5729 files. Thanks to Russell Sim. (Bug#15378)
5730
5731 2013-12-13 Juri Linkov <juri@jurta.org>
5732
5733 * simple.el <Keypad support>: Remove key bindings duplicated
5734 with bindings.el. (Bug#14397)
5735
5736 2013-12-13 Juri Linkov <juri@jurta.org>
5737
5738 * comint.el (comint-mode-map): Replace `delete-char' with
5739 `delete-forward-char'. (Bug#16109)
5740
5741 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5742
5743 * progmodes/python.el (python-indent-calculate-indentation):
5744 Fix de-denters cornercase. (Bug#15731)
5745
5746 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5749 (advice--make): Pay attention to `depth'.
5750 (advice--make-1): Don't autoload commands eagerly.
5751 * emacs-lisp/elp.el (elp-instrument-function):
5752 * emacs-lisp/trace.el (trace-function-internal):
5753 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5754
5755 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5756
5757 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5758
5759 * term/w32-win.el (w32-handle-dropped-file):
5760 * startup.el (normal-top-level):
5761 * net/browse-url.el (browse-url-file-url):
5762 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5763 decode file names using 'utf-8' rather than
5764 file-name-coding-system.
5765
5766 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5767
5768 * progmodes/python.el (python-indent-context)
5769 (python-indent-calculate-indentation): Fix auto-identation
5770 behavior for comment blocks. (Bug#15916)
5771
5772 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5773
5774 * progmodes/python.el (python-indent-calculate-indentation):
5775 When determining indentation, don't treat "return", "pass", etc., as
5776 operators when they are just string constituents. (Bug#15812)
5777
5778 2013-12-12 Juri Linkov <juri@jurta.org>
5779
5780 * uniquify.el (uniquify-buffer-name-style): Change default to
5781 `post-forward-angle-brackets'.
5782
5783 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5784 `uniquify'. Change default to `post-forward-angle-brackets'.
5785
5786 2013-12-11 Glenn Morris <rgm@gnu.org>
5787
5788 * emacs-lisp/package.el (finder-list-matches):
5789 Autoload rather than falsely declaring.
5790
5791 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5792
5793 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5794 (eww-mode-map): Use them.
5795
5796 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5797
5798 * window.el (display-buffer-in-side-window): Fix doc-string
5799 (Bug#16115).
5800
5801 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5802
5803 * vc/vc-git.el: Silence byte-compiler warnings.
5804 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5805 (log-edit-set-header): Declare.
5806
5807 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5808
5809 * Makefile.in (custom-deps, finder-data): Run output file names
5810 through unmsys--file-name. (Bug#16099)
5811
5812 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5815 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5816
5817 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5818 instead of deleting the selection "by hand" (bug#16098).
5819 Rely on insert-for-yank to yank rectangles.
5820 (cua-highlight-region-shift-only): Mark obsolete.
5821 (cua-mode): Don't enable/disable transient-mark-mode,
5822 shift-select-mode (cua-mode works both with and without them), and
5823 pc-selection-mode (obsolete).
5824 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5825 (cua--deactivate-rectangle): Deactivate it.
5826
5827 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5828 (delete-selection-helper): Make sure yank starts at the top of the
5829 deleted region.
5830 (minibuffer-keyboard-quit): Use region-active-p.
5831
5832 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5833
5834 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5835 to `delete' (bug#16109).
5836
5837 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5838
5839 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5840 info manual and show keybindings and set `:group' keyword.
5841
5842 2013-12-11 Juri Linkov <juri@jurta.org>
5843
5844 * delsel.el (delete-active-region): Let-bind `this-command'
5845 to prevent `kill-region' from changing its original value.
5846 (delete-selection-helper): Handle `overwrite-mode' for the type
5847 `kill' exactly the same way as for the type `t'.
5848 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5849 Support more commands. (Bug#13312)
5850
5851 2013-12-11 Juri Linkov <juri@jurta.org>
5852
5853 * bindings.el: Map kp keys to non-kp keys systematically
5854 with basic modifiers control, meta and shift. (Bug#14397)
5855
5856 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5857
5858 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5859 "Close browser" menu items. Fix wrong function of "List
5860 bookmarks".
5861
5862 2013-12-11 Juri Linkov <juri@jurta.org>
5863
5864 * misearch.el (multi-isearch-buffers): Set the value of
5865 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5866 arg of isearch-forward to t.
5867 (multi-isearch-buffers-regexp): Set the value of
5868 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5869 arg of isearch-forward-regexp to t.
5870 (multi-isearch-files): Set the value of
5871 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5872 arg of isearch-forward to t.
5873 (multi-isearch-files-regexp): Set the value of
5874 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5875 arg of isearch-forward-regexp to t. (Bug#16035)
5876
5877 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5878 arg of isearch-forward to t.
5879 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5880 arg of isearch-forward-regexp to t.
5881 (dired-isearch-filter-filenames): Remove unnecessary check for
5882 `dired-isearch-filenames'.
5883
5884 * comint.el (comint-history-isearch-backward):
5885 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5886 (comint-history-isearch-backward-regexp):
5887 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5888
5889 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5890
5891 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5892 unmsys--file-name. (Bug#16099)
5893
5894 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5895
5896 * emacs-lisp/package.el (package-keyword-button-action):
5897 Remove finder.el require dependency.
5898
5899 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5900
5901 * emacs-lisp/package.el: Require finder.el.
5902 (describe-package-1): Add keyword buttons.
5903 (package-make-button): New convenience function.
5904 (package-keyword-button-action): Keyword button action using
5905 `finder-list-matches'.
5906
5907 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5908
5909 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5910 last commit.
5911
5912 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5913
5914 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5915 symlinked files.
5916
5917 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5918
5919 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5920 after the end of a percent literal.
5921
5922 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5923
5924 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5925 Handle caret-delimited strings (Bug#16079).
5926
5927 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5928
5929 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5930 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5931 `ruby-parse-partial' (Bug#16078).
5932
5933 2013-12-09 Leo Liu <sdl.web@gmail.com>
5934
5935 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5936
5937 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5938
5939 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5940 (js-switch-indent-offset): New option.
5941 (js--proper-indentation): Use it. And handle the case when
5942 "default" is actually a key in an object literal.
5943 (js--same-line): New function.
5944 (js--multi-line-declaration-indentation): Use it.
5945 (js--indent-in-array-comp, js--array-comp-indentation):
5946 New functions.
5947 (js--proper-indentation): Use them, to handle array comprehension
5948 continuations.
5949
5950 2013-12-08 Leo Liu <sdl.web@gmail.com>
5951
5952 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5953 (flymake-make-overlay): Remove arg MOUSE-FACE.
5954 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5955
5956 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5957
5958 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5959 New function.
5960 (redisplay-highlight-region-function): Use it.
5961
5962 * emulation/cua-base.el (cua--explicit-region-start)
5963 (cua--last-region-shifted): Remove.
5964 (cua--deactivate): Use deactivate-mark.
5965 (cua--pre-command-handler-1): Don't handle shift-selection.
5966 (cua--post-command-handler-1): Don't change transient-mark-mode.
5967 (cua--select-keymaps): Use region-active-p rather than
5968 cua--explicit-region-start or cua--last-region-shifted.
5969 (cua-mode): Enable shift-select-mode.
5970
5971 2013-12-08 Leo Liu <sdl.web@gmail.com>
5972
5973 * progmodes/flymake.el (flymake-popup-current-error-menu):
5974 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5975 (flymake-posn-at-point-as-event, flymake-popup-menu)
5976 (flymake-make-emacs-menu): Remove. (Bug#16077)
5977
5978 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * rect.el (rectangle-mark-mode): Activate mark even if
5981 transient-mark-mode is off (bug#16066).
5982 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5983 is > mark and at bolp.
5984
5985 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5986 (region-extract-function): Use it.
5987 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5988 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5989 Delete functions.
5990 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5991 kill-ring-save, kill-region, delete-char, delete-forward-char.
5992 Ignore self-insert-iso.
5993
5994 * emulation/cua-gmrk.el (cua--init-global-mark):
5995 Ignore `self-insert-iso'.
5996
5997 * emulation/cua-base.el (cua--prefix-copy-handler)
5998 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5999 checking cua--rectangle.
6000 (cua-delete-region): Use region-extract-function.
6001 (cua-replace-region): Delete function.
6002 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6003 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6004 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6005 (cua--init-keymaps): Don't remap delete-selection commands.
6006 (cua-mode): Use delete-selection-mode instead of rolling our own
6007 (bug#16085).
6008
6009 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6010 Obey region-extract-function.
6011
6012 Make registers and delete-selection-mode work on rectangles.
6013 * register.el (describe-register-1): Don't modify the register's value.
6014 (copy-to-register): Obey region-extract-function.
6015 * delsel.el (delete-active-region): Obey region-extract-function.
6016
6017 2013-12-08 Leo Liu <sdl.web@gmail.com>
6018
6019 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6020 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6021 (flymake-compilation-prevents-syntax-check)
6022 (flymake-start-syntax-check-on-newline)
6023 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6024 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6025 (flymake-xml-program, flymake-master-file-dirs)
6026 (flymake-master-file-count-limit)
6027 (flymake-allowed-file-name-masks): Relocate.
6028 (flymake-makehash, flymake-float-time)
6029 (flymake-replace-regexp-in-string, flymake-split-string)
6030 (flymake-get-temp-dir): Remove.
6031 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6032 (flymake-current-row, flymake-selected-frame)
6033 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6034 related functions. (Bug#16077)
6035
6036 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6037
6038 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6039
6040 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6041
6042 * help-fns.el (describe-function-1): Use new advice-* functions
6043 rather than old ad-* functions. Fix function type description and
6044 source links for advised functions and subrs.
6045
6046 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6047
6048 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6049
6050 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6051
6052 * progmodes/compile.el (compilation-start):
6053 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6054
6055 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6056 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6057
6058 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6059
6060 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6061 Touch up the last change.
6062
6063 2013-12-06 Leo Liu <sdl.web@gmail.com>
6064
6065 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6066 (inferior-octave-startup): Always use "octave> " for prompt.
6067 (octave-goto-function-definition)
6068 (octave-sync-function-file-names)
6069 (octave-find-definition-default-filename): Remove redundant backquotes.
6070
6071 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6072
6073 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6074 syntax for `?'.
6075 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6076 where appropriate already.
6077 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6078 end of method names (Bug#15874).
6079
6080 2013-12-06 Juri Linkov <juri@jurta.org>
6081
6082 * isearch.el (isearch--saved-overriding-local-map):
6083 New internal variable.
6084 (isearch-mode): Set it to the initial value of
6085 `overriding-terminal-local-map'.
6086 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6087 with `isearch--saved-overriding-local-map'. (Bug#16035)
6088
6089 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6090
6091 * progmodes/octave.el (inferior-octave-completion-table):
6092 Turn back into function, use `completion-table-with-cache'
6093 (Bug#11906). Update all references.
6094
6095 * minibuffer.el (completion-table-with-cache): New function.
6096
6097 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6098
6099 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6100
6101 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6102
6103 * net/eww.el (eww-current-source): New variable to store page
6104 source.
6105 (eww-display-html, eww-mode, eww-save-history)
6106 (eww-restore-history): Use it.
6107 (eww-view-source): New command to view page source.
6108 Opportunistically uses `html-mode' to highlight the buffer.
6109 (eww-mode-map): Install it.
6110
6111 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6112
6113 * net/dbus.el (dbus-unregister-service)
6114 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6115 Fix docstring.
6116 (dbus-unregister-service): Skip :serial entries in
6117 `dbus-registered-objects-table'.
6118 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6119
6120 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6121
6122 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6123 around keywords with extra `split-string' argument.
6124
6125 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6126
6127 * windmove.el (windmove-other-window-loc): Handle navigation
6128 between windows (excluding the minibuffer window - Bug#16017).
6129
6130 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6131
6132 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6133 in D-Bus type syntax.
6134 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6135 preserve unibyte strings. (Bug#16048)
6136
6137 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6140 Call force-mode-line-update is the proper buffer (bug#16042).
6141
6142 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6143
6144 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6145 `log-edit-remember-comment', make argument optional. Adjust all
6146 callers.
6147 (log-edit-mode): Add `log-edit-remember-comment' to
6148 `kill-buffer-hook' locally.
6149 (log-edit-kill-buffer): Don't remember comment explicitly since
6150 the buffer is killed anyway.
6151
6152 2013-12-04 Juri Linkov <juri@jurta.org>
6153
6154 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6155 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6156
6157 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6158
6159 * notifications.el (notifications-close-notification): Call the
6160 D-Bus method with ID being a `:uint32'. (Bug#16030)
6161
6162 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6163
6164 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6165
6166 2013-12-03 Juri Linkov <juri@jurta.org>
6167
6168 * progmodes/compile.el (compilation-start): Rename window alist
6169 entry `no-display-ok' to `allow-no-window'.
6170
6171 * simple.el (shell-command): Add window alist entry
6172 `allow-no-window' to `display-buffer'.
6173 (async-shell-command): Doc fix.
6174
6175 * window.el (display-buffer-no-window): New action function.
6176 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6177
6178 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6179
6180 * vc/log-edit.el (log-edit-set-header): Extract from
6181 `log-edit-toggle-header'.
6182 (log-edit-extract-headers): Separate the summary, when extracted
6183 from header, from the rest of the message with an empty line.
6184
6185 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6186 line, if present, to the Summary header.
6187
6188 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6191 in current-buffer (bug#16029).
6192
6193 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6194
6195 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6196 (debugger-mode-map): Bind it.
6197 (debugger--backtrace-base): New function.
6198 (debugger-eval-expression): Use it.
6199 (debugger-frame-number): Skip local vars when present.
6200 (debugger--locals-visible-p, debugger--insert-locals)
6201 (debugger--show-locals, debugger--hide-locals): New functions.
6202
6203 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6204
6205 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6206 "LC_ALL".
6207 (tramp-get-remote-locale): New defun.
6208 (tramp-open-connection-setup-interactive-shell): Use it.
6209
6210 2013-12-02 Leo Liu <sdl.web@gmail.com>
6211
6212 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6213
6214 * progmodes/sh-script.el (sh-shell-process):
6215 * progmodes/octave.el (inferior-octave-process-live-p):
6216 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6217 (gdb-inferior-io-sentinel):
6218 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6219
6220 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6221
6222 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6223 `save-selected-window' to `log-edit-hide-buf'. This makes
6224 `log-edit-show-files' idempotent.
6225 (log-edit-show-files): Mark the new window as dedicated.
6226
6227 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6228
6229 * vc/log-edit.el (log-edit-mode-map): Add binding for
6230 `log-edit-kill-biffer'.
6231 (log-edit-hide-buf): Add a FIXME comment.
6232 (log-edit-add-new-comment): New function, extracted from
6233 `log-edit-done'.
6234 (log-edit-done, log-edit-add-to-changelog): Use it.
6235 (log-edit-kill-buffer): New command.
6236
6237 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6238
6239 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6240 instead of killing the buffer.
6241
6242 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6245
6246 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6247
6248 * net/eww.el (eww-form-checkbox-selected-symbol)
6249 (eww-form-checkbox-symbol): New customizable variable.
6250 (eww-form-checkbox, eww-toggle-checkbox):
6251 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6252
6253 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6254 (shr--get-media-pref, shr--extract-best-source): New function.
6255 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6256 no :src tag was specified.
6257
6258 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6259 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6260 Use \\` to match beginning of string instead of ^.
6261 (eww-browse-with-external-browser): Provide optional URL parameter.
6262 (eww-render): Set `eww-current-title' back to "".
6263
6264 * net/shr.el (shr-tag-video): Display content for video if no
6265 poster is available.
6266 (shr-tag-audio): Add support for <audio> tag.
6267
6268 * net/eww.el (eww-text-input-types): New const.
6269 (eww-process-text-input): Treat input types in
6270 `eww-text-input-types' as text.
6271
6272 * net/shr.el (shr-tag-table): Fix comment typo.
6273
6274 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6275
6276 * net/eww.el (eww-follow-link): New command to avoid reloading
6277 pages when we follow #target links (bug#15243).
6278 (eww-quit): Special mode buffers shouldn't query before exiting.
6279
6280 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6281
6282 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6283 forms.
6284
6285 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6286
6287 * net/eww.el (eww-restore-history): Update the window title after
6288 moving in the history.
6289 (eww-current-dom): New variable used to save the current DOM.
6290
6291 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6292
6293 * vc/log-edit.el (log-edit-mode-map): Add binding for
6294 `log-edit-beginning-of-line'.
6295 (log-edit-setup-add-author): New user option.
6296 (log-edit-beginning-of-line): New command.
6297 (log-edit): Move major mode call above the contents setup so that
6298 the local variable values are already applied.
6299 (log-edit): Only insert "Author: " when
6300 `log-edit-setup-add-author' is non-nil.
6301 (log-edit): When SETUP is non-nil, position point after ": "
6302 instead of point-min.
6303
6304 2013-12-01 Glenn Morris <rgm@gnu.org>
6305
6306 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6307
6308 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6309
6310 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6311 redisplay to make sure the initial frame gets a chance to become
6312 visible. (Bug#16014)
6313
6314 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6315
6316 Support resizing frames and windows pixelwise.
6317 * cus-start.el (frame-resize-pixelwise)
6318 (window-resize-pixelwise): New entries.
6319 * emacs-lisp/debug.el (debug): Use window-total-height instead
6320 of window-total-size.
6321 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6322 * help.el (describe-bindings-internal): Use help-buffer as
6323 argument for with-help-window.
6324 (temp-buffer-max-width): New option.
6325 (resize-temp-buffer-window, help-window-setup)
6326 (with-help-window): Rewrite.
6327 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6328 dragging dividers.
6329 * window.el (frame-char-size, window-min-pixel-height)
6330 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6331 (window-min-pixel-width, window-safe-min-pixel-size)
6332 (window-combination-p, window-safe-min-size)
6333 (window-resizable-p, window--size-to-pixel)
6334 (window--pixel-to-size, window--resize-apply-p): New functions.
6335 (window-safe-min-height): Fix doc-string.
6336 (window-size, window-min-size, window--min-size-1)
6337 (window-sizable, window-sizable-p, window--min-delta-1)
6338 (window-min-delta, window--max-delta-1, window-max-delta)
6339 (window--resizable, window--resizable-p, window-resizable)
6340 (window-full-height-p, window-full-width-p, window-at-side-p)
6341 (window--in-direction-2, window-in-direction)
6342 (window--resize-reset-1, window--resize-mini-window)
6343 (window-resize, window-resize-no-error)
6344 (window--resize-child-windows-normal)
6345 (window--resize-child-windows, window--resize-siblings)
6346 (window--resize-this-window, window--resize-root-window)
6347 (window--resize-root-window-vertically)
6348 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6349 (maximize-window, minimize-window, delete-window)
6350 (quit-restore-window, window-split-min-size, split-window)
6351 (balance-windows-2, balance-windows)
6352 (balance-windows-area-adjust, balance-windows-area)
6353 (window--state-get-1, window-state-get, window--state-put-1)
6354 (window--state-put-2, window-state-put)
6355 (display-buffer-record-window, window--display-buffer):
6356 Make functions handle pixelwise sizing of windows.
6357 (display-buffer--action-function-custom-type)
6358 (display-buffer-fallback-action):
6359 Add display-buffer-in-previous-window.
6360 (display-buffer-use-some-window): Resize window to height it had
6361 before.
6362 (fit-window-to-buffer-horizontally): New option.
6363 (fit-frame-to-buffer): Describe new values.
6364 (fit-frame-to-buffer-bottom-margin): Replace with
6365 fit-frame-to-buffer-margins.
6366 (window--sanitize-margin): New function.
6367 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6368 using window-text-pixel-size.
6369
6370 2013-11-30 Glenn Morris <rgm@gnu.org>
6371
6372 * emacs-lisp/bytecomp.el (byte-compile-form):
6373 Make the `interactive-only' warning like the `obsolete' one.
6374 * comint.el (comint-run):
6375 * files.el (insert-file-literally, insert-file):
6376 * replace.el (replace-string, replace-regexp):
6377 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6378 (goto-line, insert-buffer, next-line, previous-line):
6379 Tweak `interactive-only' spec.
6380
6381 Stop keeping (most) generated cedet grammar files in the repository.
6382 * Makefile.in (semantic): New.
6383 (compile-main): Depend on semantic.
6384
6385 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6386
6387 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6388 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6389
6390 * uniquify.el (uniquify-buffer-name-style): Change default.
6391
6392 * loadup.el: Preload "uniquify".
6393
6394 * time.el (display-time-update): Update all mode lines (bug#15999).
6395
6396 * electric.el (electric-indent-mode): Enable by default.
6397 * loadup.el: Preload "electric".
6398
6399 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6400
6401 * emacs-lisp/helpers.el (string-empty-p): New function.
6402 (string-blank-p): New function.
6403
6404 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6405
6406 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6407 (Bug#14029).
6408
6409 2013-11-29 Andreas Politz <politza@fh-trier.de>
6410 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6411 allow non-lambda lists as functions.
6412 (imenu--in-alist): Don't recurse into non-subalists.
6413 (imenu): Don't pass function itself as an argument (Bug#14029).
6414
6415 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * progmodes/python.el (python-mode-map): Remove binding for ":".
6418 (python-indent-electric-colon): Remove command.
6419 (python-indent-post-self-insert-function): Integrate the previous code
6420 of python-indent-electric-colon. Make it conditional on
6421 electric-indent-mode.
6422 (python-mode): Add ?: to electric-indent-chars.
6423 Move python-indent-post-self-insert-function to the end of
6424 post-self-insert-hook.
6425
6426 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * doc-view.el (doc-view-goto-page): Update mode-line.
6429
6430 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6431
6432 2013-11-27 Glenn Morris <rgm@gnu.org>
6433
6434 * international/charprop.el, international/uni-bidi.el:
6435 * international/uni-category.el, international/uni-combining.el:
6436 * international/uni-comment.el, international/uni-decimal.el:
6437 * international/uni-decomposition.el, international/uni-digit.el:
6438 * international/uni-lowercase.el, international/uni-mirrored.el:
6439 * international/uni-name.el, international/uni-numeric.el:
6440 * international/uni-old-name.el, international/uni-titlecase.el:
6441 * international/uni-uppercase.el:
6442 Remove generated files from VCS repository.
6443
6444 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6445
6446 * filenotify.el (file-notify-add-watch): Don't special-case
6447 w32notify when computing the directory to watch.
6448
6449 2013-11-27 Glenn Morris <rgm@gnu.org>
6450
6451 Make bootstrap without generated uni-*.el files possible again.
6452 * loadup.el: Update command-line-args checking for unidata-gen.
6453 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6454 * composite.el, international/characters.el:
6455 Handle unicode tables being undefined.
6456
6457 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6458 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6459 (compile-main): Depend on leim rule.
6460 (leim): New rule.
6461 * loadup.el: Move leim-list.el to leim/ subdirectory.
6462 * startup.el (normal-top-level): No more leim directory.
6463 * international/ja-dic-cnv.el (skkdic-convert):
6464 Disable version-control and autoloads in output files.
6465 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6466 Disable version-control and autoloads in output files.
6467 * leim/quail: Move here from ../leim.
6468 * leim/quail/hangul.el (hangul-input-method-activate):
6469 Add autoload cookie.
6470 (generated-autoload-load-name): Set file-local value.
6471 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6472 (generated-autoload-load-name): Set file-local value.
6473
6474 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6475
6476 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6477 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6478 (eww-quit): Ask confirmation before quitting eww.
6479
6480 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6481
6482 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6483 reading output from Diff on MS-Windows and MS-DOS.
6484
6485 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6486
6487 * emacs-lisp/helpers.el (string-reverse): New function.
6488
6489 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6490
6491 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6492 names on MS Windows, like "/[::1]:".
6493
6494 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6495 SWITCHES.
6496
6497 2013-11-26 Glenn Morris <rgm@gnu.org>
6498
6499 * progmodes/python.el (python-indent-guess-indent-offset):
6500 Avoid corner-case error. (Bug#15975)
6501
6502 Preload leim-list.el. (Bug#4789)
6503 * loadup.el: Load leim-list.el when found.
6504 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6505
6506 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6507
6508 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6509
6510 * emacs-lisp/helpers.el (string-join): New function.
6511
6512 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6513
6514 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6515 Mark as obsolete and replace it with a symbol property.
6516 (byte-compile-form): Use new 'interactive-only property.
6517 * comint.el, files.el, replace.el, simple.el:
6518 Apply new 'interactive-only properly.
6519
6520 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6521
6522 * window.el (display-buffer-at-bottom): Make sure that
6523 split-window-sensibly creates the new window on bottom
6524 (Bug#15961).
6525
6526 2013-11-23 David Kastrup <dak@gnu.org>
6527
6528 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6529 on the conflict markers when available.
6530 (smerge--get-marker): New function.
6531 (smerge-end-re, smerge-base-re): Add subgroup.
6532
6533 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * frame.el (handle-focus-in, handle-focus-out): Add missing
6536 interactive spec.
6537
6538 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6539
6540 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6541 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6542
6543 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6546 (gomoku--last-pos): New var.
6547 (gomoku--intangible-chars): New const.
6548 (gomoku--intangible): New function.
6549 (gomoku-mode): Use it. Derive from special-mode.
6550 (gomoku-move-up): Adjust line count.
6551 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6552 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6553 Simplify accordingly.
6554
6555 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6556 Remove blink-cursor code.
6557 (blink-cursor-timer-function, blink-cursor-suspend):
6558 Don't special-case GUIs.
6559 (blink-cursor-mode): Use focus-in/out-hook.
6560
6561 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6562
6563 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6564 work when annotation is invisible (Bug#13886).
6565
6566 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6567
6568 * json.el (json-alist-p): Only return non-nil if the alist has
6569 simple keys (Bug#13518).
6570
6571 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6572
6573 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6574 when control-statement is the first statement in a buffer (Bug#15956).
6575
6576 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6577
6578 * imenu.el (imenu-generic-skip-comments-and-strings):
6579 New option (Bug#15560).
6580 (imenu--generic-function): Use it.
6581
6582 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6583
6584 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6585 (Bug#13898)
6586
6587 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6588
6589 * emacs-lisp/helpers.el: Add some string helpers.
6590 (string-trim-left): Removes leading whitespace.
6591 (string-trim-right): Removes trailing whitespace.
6592 (string-trim): Removes leading and trailing whitespace.
6593
6594 * subr.el (string-suffix-p): New function.
6595
6596 2013-11-23 Glenn Morris <rgm@gnu.org>
6597
6598 * progmodes/python.el (python-shell-send-file):
6599 Add option to delete file when done. (Bug#15647)
6600 (python-shell-send-string, python-shell-send-region): Use it.
6601
6602 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6603
6604 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6605 to set buffer-read-only to t, never to nil. (Bug#15938)
6606
6607 * textmodes/tex-mode.el (latex-noindent-environments):
6608 Add safe-local-variable property. (Bug#15936)
6609
6610 2013-11-23 Glenn Morris <rgm@gnu.org>
6611
6612 * textmodes/enriched.el (enriched-mode): Doc fix.
6613 * emacs-lisp/authors.el (authors-renamed-files-alist):
6614 Add enriched.doc -> enriched.txt.
6615
6616 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6617
6618 2013-11-22 Leo Liu <sdl.web@gmail.com>
6619
6620 * progmodes/octave.el (inferior-octave-startup): Spit out error
6621 message.
6622
6623 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6624
6625 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6626 Improve docstring.
6627 Add :version.
6628 (ruby-encoding-magic-comment-style): Add :version.
6629
6630 2013-11-22 Leo Liu <sdl.web@gmail.com>
6631
6632 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6633 (Bug#15076)
6634 (octave-help-mode): Adapt to change to help-mode-finish to use
6635 derived-mode-p on 2013-09-17.
6636 (inferior-octave-prompt): Also match octave-gui.
6637 (octave-kill-process): Don't ask twice. (Bug#10564)
6638
6639 2013-11-22 Leo Liu <sdl.web@gmail.com>
6640
6641 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6642 (inferior-octave-startup, inferior-octave-check-process)
6643 (inferior-octave-track-window-width-change)
6644 (octave-completion-at-point, octave-eldoc-function): Use it.
6645 (octave-kill-process): Provide confirmation. (Bug#10564)
6646
6647 2013-11-21 Leo Liu <sdl.web@gmail.com>
6648
6649 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6650 Fix obsolete variable comment-use-global-state.
6651
6652 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6653
6654 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6655 Add `octave-source-file'.
6656 (octave-source-file): New function. (Bug#15935)
6657
6658 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6659
6660 * net/eww.el (eww-local-regex): New variable.
6661 (eww): Use it to detect localhost and similar.
6662
6663 2013-11-21 Leo Liu <sdl.web@gmail.com>
6664
6665 Add completion for command `ag'.
6666 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6667 (pcomplete/ag): New function.
6668 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6669
6670 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6673 (bug#14646).
6674 (make-obsolete): Remove interactive spec.
6675
6676 2013-11-21 Glenn Morris <rgm@gnu.org>
6677
6678 * startup.el (command-line-1): Use path-separator with -L.
6679
6680 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6681
6682 * emacs-lisp/package.el (describe-package-1): Add package archive
6683 to shown fields.
6684
6685 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6686
6687 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6688 Change default to "# encoding: %s" to differentiate it from the
6689 default Ruby encoding comment template.
6690
6691 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6692
6693 * ses.el (ses-mode): Doc fix. (Bug#14748)
6694
6695 2013-11-20 Leo Liu <sdl.web@gmail.com>
6696
6697 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6698
6699 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6700
6701 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6702 when rebase or bisect are in progress.
6703
6704 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6705
6706 * filenotify.el (file-notify-add-watch): Doc fix.
6707
6708 2013-11-19 Leo Liu <sdl.web@gmail.com>
6709
6710 * obsolete/rcompile.el: Mark obsolete.
6711
6712 * progmodes/compile.el (compilation-start)
6713 (compilation-goto-locus, compilation-find-file):
6714 Pass no-display-ok and handle nil value from display-buffer.
6715 (Bug#13594)
6716
6717 * window.el (display-buffer-alist, display-buffer): Document the
6718 new parameter no-display-ok. Return either a window or nil
6719 but never a non-window value.
6720
6721 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * electric.el (electric-indent-mode-map): Remove.
6724 (electric-indent-mode): Change the global-map instead (bug#15915).
6725
6726 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6727 Use add-function.
6728
6729 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * emacs-lisp/nadvice.el (remove-function): Align with
6732 add-function's behavior.
6733
6734 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6735 (gdb--string-regexp): New constant.
6736 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6737 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6738 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6739 submatch 1.
6740 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6741 Adjust use accordingly.
6742 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6743
6744 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6745
6746 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6747 interpolation curlies (Bug#15914).
6748
6749 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6750
6751 * calc/calc.el (calc-context-sensitive-enter): New variable.
6752 (calc-enter): Use `calc-context-sensitive-enter'.
6753
6754 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6755
6756 * progmodes/cfengine.el: Version bump.
6757 (cfengine-cf-promises): New defcustom to locate cf-promises.
6758 (cfengine3-vartypes): Add new "data" type.
6759 (cfengine3--current-word): New function to get current name-like
6760 word or its bounds.
6761 (cfengine3--current-function): New function to look up a CFEngine
6762 function's definition.
6763 (cfengine3-format-function-docstring): New function.
6764 (cfengine3-make-syntax-cache): New function.
6765 (cfengine3-documentation-function): New function: ElDoc glue.
6766 (cfengine3-completion-function): New function: completion glue.
6767 (cfengine3-mode): Set `compile-command',
6768 `eldoc-documentation-function', and add to
6769 `completion-at-point-functions'.
6770
6771 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6772
6773 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6774 `tramp-current-connection'.
6775
6776 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6777
6778 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6779 nil/self/true/false with "end of symbol".
6780
6781 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6782
6783 * subr.el (version-regexp-alist): Fix a typo.
6784
6785 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6786
6787 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6788 "en_US.utf8" and "LC_CTYPE" to "".
6789 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6790 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6791
6792 2013-11-15 Leo Liu <sdl.web@gmail.com>
6793
6794 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6795
6796 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * progmodes/gud.el (ctl-x-map):
6799 Remove C-x SPC binding. (Bug#12342)
6800 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6801
6802 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6803
6804 * subr.el (version-regexp-alist):
6805 Recognize hg, svn and darcs versions as snapshot versions.
6806
6807 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6808 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6809 (ruby--encoding-comment-required-p): Extract from
6810 `ruby-mode-set-encoding'.
6811 (ruby-mode-set-encoding): Add the ability to always insert an
6812 utf-8 encoding comment. Fix and simplify coding comment update
6813 logic.
6814
6815 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6816
6817 * net/tramp-gvfs.el (top): Run init code only when
6818 `tramp-gvfs-enabled' is not nil.
6819 (tramp-gvfs-enabled): Check also :system bus.
6820
6821 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 Sync with upstream verilog-mode revision 78e66ba.
6824 * progmodes/verilog-mode.el (verilog-end-of-defun)
6825 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6826 (verilog-get-end-of-defun): Remove unused argument.
6827 (verilog-comment-depth): Remove unused local `e'.
6828 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6829 Don't pass arg to verilog-get-end-of-defun.
6830
6831 2013-11-14 Glenn Morris <rgm@gnu.org>
6832
6833 * obsolete/assoc.el (aget): Prefix dynamic variable.
6834
6835 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6836
6837 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * widget.el, hfy-cmap.el: Remove bogus package version number.
6840
6841 2013-11-13 Glenn Morris <rgm@gnu.org>
6842
6843 * replace.el (replace-eval-replacement):
6844 Try to give more helpful error message. (Bug#15836)
6845
6846 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6847 (archive-7z-update): Avoid custom type mismatches.
6848
6849 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6850
6851 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6852
6853 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6854 address can be empty.
6855
6856 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6857 Accept nil SWITCHES.
6858 (tramp-gvfs-handle-write-region): Implement APPEND.
6859
6860 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6861
6862 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6863 binary "|" operator and closing block args delimiter.
6864 Remove FIXME comment referring to Ruby 1.8-only syntax.
6865 (ruby-smie--implicit-semi-p): Not after "|" operator.
6866 (ruby-smie--closing-pipe-p): New function.
6867 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6868 (ruby-smie-rules): Indent after "|".
6869
6870 2013-11-12 Glenn Morris <rgm@gnu.org>
6871
6872 * ps-print.el (ps-face-attribute-list):
6873 Handle anonymous faces. (Bug#15827)
6874
6875 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6876
6877 * window.el (display-buffer-other-frame): Fix doc-string.
6878 (Bug#15868)
6879
6880 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6883
6884 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6885
6886 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6887 (tramp-sh-handle-file-local-copy): Don't write a message when
6888 saving temporary files.
6889
6890 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6891 both directories are remote.
6892 (tramp-smb-handle-directory-files): Do not return double entries.
6893 Do not expand full file names.
6894 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6895 (tramp-smb-handle-write-region): Implement APPEND.
6896 (tramp-smb-get-stat-capability): Fix a stupid bug.
6897
6898 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6899
6900 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6901
6902 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6903
6904 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6905 throwing error over malformed let/let* (bug#15814).
6906
6907 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * iswitchb.el (iswitchb-mode): Mark obsolete.
6910
6911 2013-11-11 Glenn Morris <rgm@gnu.org>
6912
6913 * international/uni-bidi.el, international/uni-category.el:
6914 * international/uni-name.el, international/uni-numeric.el:
6915 Regenerate for Unicode 6.3.0.
6916
6917 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6918
6919 * net/tramp.el (tramp-methods):
6920 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6921 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6922
6923 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6924
6925 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6926 Force highlighting text after Summary keyword in doc face for rpm.
6927
6928 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6929
6930 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6931 available and the word has no wildcards, append one to the grep pattern.
6932 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6933 (ispell-complete-word): Call `ispell-lookup-words' with the value
6934 independent of `ispell-look-p'.
6935
6936 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6937
6938 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6939 Not after "||".
6940 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6941 their parent.
6942
6943 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6946 (ruby-font-lock-keywords): Use backquote.
6947
6948 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6949
6950 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6951 (ruby-smie--backward-token): Only consider full-string matches.
6952
6953 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6954
6955 * faces.el (describe-face): Add distant-foreground.
6956
6957 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6958
6959 * progmodes/ruby-mode.el: Improve encoding comment handling.
6960 (ruby-encoding-magic-comment-style): New option.
6961 (ruby-custom-encoding-magic-comment-template): New option.
6962 (ruby--insert-coding-comment, ruby--detect-encoding):
6963 New functions extracted from `ruby-mode-set-encoding'.
6964 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6965 to control the style of the auto-inserted encoding comment.
6966
6967 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6968
6969 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6970 Use `smie-backward-sexp' with token argument.
6971
6972 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6973
6974 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6975 Remove instrumentation code.
6976
6977 2013-11-08 Glenn Morris <rgm@gnu.org>
6978
6979 * progmodes/autoconf.el (autoconf-mode):
6980 Tweak comment-start-skip. (Bug#15822)
6981
6982 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6985 at bobp (bug#15826).
6986 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6987
6988 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6989
6990 * man.el (Man-start-calling): New macro, extracted from
6991 Man-getpage-in-background.
6992 (Man-getpage-in-background): Use it.
6993 (Man-update-manpage): New command.
6994 (Man-mode-map): Bind it.
6995
6996 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6997
6998 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6999 of "and", "or", "&&" and "||".
7000 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7001 argument. Prohibit opening curly brace because it could only be a
7002 block opener in that position.
7003 (ruby-smie--forward-token, ruby-smie--backward-token):
7004 Separate "|" from "&" or "*" going after it. That can happen in block
7005 arguments.
7006 (ruby-smie--indent-to-stmt): New function, seeks the end of
7007 previous statement or beginning of buffer.
7008 (ruby-smie-rules): Use it.
7009 (ruby-smie-rules): Check if there's a ":" before a curly block
7010 opener candidate; if there is, it's a hash.
7011
7012 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7015 (cl--block-wrapper): Fix last accidental change.
7016
7017 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7018
7019 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7020 Instrument, in order to hunt failure on hydra.
7021
7022 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7023
7024 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7025 malformed bindings form (bug#15814).
7026
7027 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7028
7029 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7030 "." compared to " @ ". This incidentally fixes some indentation
7031 examples with "do".
7032 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7033 (ruby-smie-grammar): New tokens: "and" and "or".
7034 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7035 Exclude "and" and "or". Remove "do" in order to work around token
7036 priorities.
7037 (ruby-smie-rules): Add all infix tokens. Handle the case of
7038 beginning-of-buffer.
7039
7040 2013-11-06 Glenn Morris <rgm@gnu.org>
7041
7042 * Makefile.in (setwins_almost, setwins_for_subdirs):
7043 Avoid accidental matches.
7044
7045 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * menu-bar.el (popup-menu): Use key-binding.
7048
7049 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7050
7051 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7052 menus, support also the menus produced by minor modes.
7053 (Bug#15817)
7054
7055 2013-11-06 Leo Liu <sdl.web@gmail.com>
7056
7057 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7058 DISTANCE to bound the search. All uses changed. (Bug#15808)
7059
7060 2013-11-06 Glenn Morris <rgm@gnu.org>
7061
7062 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7063 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7064 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7065
7066 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * electric.el (electric-indent-just-newline): New command.
7069 (electric-indent-mode-map): New keymap.
7070 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7071 Re-add :group which weren't redundant.
7072
7073 * electric.el (electric-indent-local-mode): New minor mode.
7074 (electric-indent-functions-without-reindent): New var.
7075 (electric-indent-post-self-insert-function): Use it.
7076 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7077
7078 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7079
7080 * international/quail.el (quail-help): Be more explicit about the
7081 meaning of the labels shown on the keys. (Bug#15800)
7082
7083 * startup.el (normal-top-level): Load the subdirs.el files before
7084 setting the locale environment. (Bug#15805)
7085
7086 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7089 via arguments so as to get the right ones (bug#15418).
7090
7091 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7092
7093 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7094
7095 Fix problems found while writing a test suite.
7096
7097 * net/tramp-compat.el (tramp-compat-load): New defun.
7098 * net/tramp.el (tramp-handle-load): Use it.
7099
7100 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7101 "(numberp ok-if-already-exists)" correctly.
7102
7103 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7104
7105 * international/characters.el (glyphless-char-display-control):
7106 Add usage note.
7107
7108 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7109
7110 * progmodes/python.el (python-mode):
7111 * progmodes/scheme.el (scheme-mode):
7112 * progmodes/prolog.el (prolog-mode):
7113 * progmodes/ruby-mode.el (ruby-mode):
7114 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7115 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7116
7117 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * rect.el (rectangle--highlight-for-redisplay):
7120 * emacs-lisp/smie.el (smie--next-indent-change):
7121 Use buffer-chars-modified-tick.
7122
7123 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7124
7125 * electric.el (electric-indent-post-self-insert-function):
7126 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7127
7128 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7129
7130 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7131
7132 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7133
7134 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7135 (bug#15786).
7136
7137 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7140
7141 * progmodes/python.el: Fix up last change.
7142 (python-shell--save-temp-file): New function.
7143 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7144 `string' comes from the current buffer.
7145 (python-shell-send-string-no-output): Remove `msg' arg.
7146 (python--use-fake-loc): New var.
7147 (python-shell-buffer-substring): Obey it. Try to compensate for the
7148 extra coding line added by python-shell--save-temp-file.
7149 (python-shell-send-region): Use python-shell--save-temp-file and
7150 python-shell-send-file directly. Add `nomain' argument.
7151 (python-shell-send-buffer): Use python-shell-send-region.
7152 (python-electric-pair-string-delimiter): New function.
7153 (python-mode): Use it.
7154
7155 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7156
7157 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7158 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7159 environment and decoding all of the default-directory's to here
7160 from command-line.
7161 (command-line): Decode also argv[0].
7162
7163 * loadup.el: Error out if default-directory is a multibyte string
7164 when we are dumping.
7165
7166 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7167
7168 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7169
7170 * emacs-lisp/package.el (package-menu-mode)
7171 (package-menu--print-info, package-menu--archive-predicate):
7172 Add Archive column to package list.
7173
7174 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7175
7176 Fix problems found while writing a test suite.
7177
7178 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7179 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7180 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7181 to nil when running original file name handler. Otherwise,
7182 there are problems with constructs like "$$FOO".
7183
7184 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7185 for `localname'.
7186
7187 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7188
7189 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7190
7191 * subr.el (version<, version<=, version=):
7192 Update docstrings with information for snapshot versions.
7193
7194 * helpers.el: New library for misc helper functions.
7195 (hash-table-keys): New function returning a list of hash keys.
7196 (hash-table-values): New function returning a list of hash values.
7197
7198 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7199
7200 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7201 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7202
7203 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7204
7205 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7206 checking whether point is after a 1-letter word.
7207
7208 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7209
7210 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7211 Don't infloop when expanding region over `multiline' syntax-type that
7212 begins a line (bug#15778).
7213
7214 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7217 Make it into a proper minor mode.
7218 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7219 (rectangle-mark-mode-map): New keymap.
7220 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7221
7222 2013-11-04 Glenn Morris <rgm@gnu.org>
7223
7224 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7225
7226 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7229 (ruby-smie-rules): Use smie-rule-parent instead.
7230
7231 * emacs-lisp/smie.el (smie-rule-parent): Always call
7232 smie-indent-virtual rather than only for hanging tokens.
7233 (smie--next-indent-change): New helper command.
7234
7235 2013-11-03 Glenn Morris <rgm@gnu.org>
7236
7237 * Makefile.in (abs_srcdir): Remove.
7238 (emacs): Unset EMACSLOADPATH.
7239
7240 2013-11-02 Glenn Morris <rgm@gnu.org>
7241
7242 * Makefile.in (EMACS): Use a relative filename.
7243 (abs_top_builddir): Remove.
7244 (custom-deps, finder-data, autoloads): Use --chdir.
7245
7246 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7247
7248 Use relative filenames in TAGS files.
7249 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7250 (lisptagsfiles4, TAGS): Use relative file names.
7251 (TAGS-LISP): Remove.
7252 (maintainer-clean): No more TAGS-LISP file.
7253
7254 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7255 (lisptagsfiles4): Use absolute filenames again.
7256 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7257 Remove all *loaddefs files, not just the first. Remove esh-groups.
7258 (maintainer-clean): Delete TAGS, TAGS-LISP.
7259
7260 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7261
7262 * emacs-lisp/package.el (package-version-join):
7263 Recognize snapshot versions.
7264
7265 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7266
7267 * subr.el (version-regexp-alist): Add support for snapshot versions.
7268
7269 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7270
7271 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7272 New function, replacement for `smie-rule-parent' for when we want to
7273 skip over our direct parent if it's an assignment token..
7274 (ruby-smie-rules): Use it.
7275
7276 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7277
7278 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7279 unconditionally. Remove now unnecessary forward declarations.
7280 Remove XEmacs-specific setup.
7281 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7282 (ruby-font-lock-syntactic-keywords)
7283 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7284 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7285 (ruby-here-doc-end-syntax): Remove.
7286 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7287 defined as function.
7288
7289 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7290
7291 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7292
7293 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7294
7295 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7296 table and abbrev table, `define-derived-mode' does that for us
7297 anyway.
7298
7299 2013-11-01 Glenn Morris <rgm@gnu.org>
7300
7301 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7302 files is atomic for some time, so no parallel compilation issues).
7303
7304 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7305
7306 * faces.el (face-x-resources): Add :distant-foreground.
7307 (region): Use :distant-foreground for gtk and ns.
7308
7309 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7310
7311 Allow multiple bibliographies when BibLaTeX is used rather than
7312 BibTeX.
7313 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7314 (reftex-locate-bibliography-files): Us it.
7315
7316 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7317
7318 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7319 allow comments in pbm files.
7320
7321 * term/w32-win.el (dynamic-library-alist): Support newer versions
7322 of libjpeg starting with v7: look only for the DLL from the
7323 version against which Emacs was built.
7324 Support versions of libpng beyond 1.4.x.
7325 Support libtiff v4.x.
7326
7327 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7328
7329 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7330 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7331 Add property :safe.
7332 (ruby-deep-arglist): Add property :type.
7333
7334 2013-10-31 Glenn Morris <rgm@gnu.org>
7335
7336 * Makefile.in (custom-deps, finder-data): No need to setq the target
7337 variables, we are in the right directory and the defaults work fine.
7338
7339 2013-10-30 Glenn Morris <rgm@gnu.org>
7340
7341 * Makefile.in (autoloads): Do not use abs_lisp.
7342
7343 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7344 `newline' does not respect `standard-output', so use `princ'.
7345
7346 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7347
7348 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7349 * buff-menu.el (Buffer-menu--unmark): New function.
7350 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7351
7352 2013-10-30 Glenn Morris <rgm@gnu.org>
7353
7354 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7355
7356 * emacs-lisp/package.el (lm-homepage): Declare.
7357
7358 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7359 Fix doc typos.
7360
7361 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7362
7363 * Makefile.in (finder-data, autoloads, update-subdirs)
7364 (compile-main, compile-clean, compile-always, bootstrap-clean):
7365 Check return value of cd.
7366 (compile-calc): Remove.
7367
7368 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7371
7372 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7373 (byte-compile-and-folded): New function.
7374 (=, <, >, <=, >=): Use it.
7375
7376 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7377 (path-separator, null-device, buffer-file-coding-system)
7378 (lpr-headers-switches): Check system-type before modifying them.
7379 (find-buffer-file-type-coding-system): Mark obsolete.
7380 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7381 find-file-not-found-set-buffer-file-coding-system.
7382 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7383 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7384 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7385 (w32-direct-print-region-helper, w32-direct-print-region-function)
7386 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7387 * startup.el (normal-top-level-add-subdirs-to-load-path):
7388 * ps-print.el (ps-print-region-function):
7389 * lpr.el (print-region-function): Use new name.
7390
7391 * subr.el (custom-declare-variable-early): Remove function.
7392 (custom-declare-variable-list): Remove var.
7393 (error, user-error): Remove `while' loop.
7394 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7395 (user-emacs-directory-warning, locate-user-emacs-file):
7396 Move to files.el.
7397 * simple.el (read-quoted-char-radix, read-quoted-char):
7398 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7399 Move from subr.el.
7400 * custom.el (custom-declare-variable-list): Don't process
7401 custom-declare-variable-list.
7402
7403 * progmodes/python.el (python-shell-get-buffer): New function.
7404 (python-shell-get-process): Use it.
7405 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7406 Python which encoding was used. Don't split-string since we only care
7407 about the first line. Return the temp-file, if applicable.
7408 (python-shell-send-region): Tell compile.el how to turn locations in
7409 the temp-file into locations in the source buffer.
7410
7411 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * subr.el (undefined): Add missing behavior from the C code for
7414 unbound keys.
7415
7416 * rect.el: Use lexical-binding. Add new rectangular region support.
7417 (rectangle-mark): New command.
7418 (rectangle--region): New var.
7419 (deactivate-mark-hook): Reset rectangle--region.
7420 (rectangle--extract-region, rectangle--insert-for-yank)
7421 (rectangle--highlight-for-redisplay)
7422 (rectangle--unhighlight-for-redisplay): New functions.
7423 (region-extract-function, redisplay-unhighlight-region-function)
7424 (redisplay-highlight-region-function): Use them to handle
7425 rectangular region.
7426 * simple.el (region-extract-function): New var.
7427 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7428 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7429 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7430 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7431 (redisplay-unhighlight-region-function)
7432 (redisplay-highlight-region-function): New vars.
7433 (redisplay--update-region-highlight): New function.
7434 (pre-redisplay-function): Use it.
7435 (exchange-point-and-mark): Don't deactivate the mark before
7436 reactivate-it anyway.
7437 * comint.el (comint-kill-region): Remove yank-handler argument.
7438 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7439 (delete-char): Remove property, since it's now part of their
7440 default behavior.
7441 (self-insert-iso): Remove property since this command doesn't exist.
7442
7443 * emacs-lisp/package.el (package--download-one-archive)
7444 (describe-package-1): Don't query the user about final newline.
7445
7446 2013-10-29 Daniel Colascione <dancol@dancol.org>
7447
7448 * net/tramp.el (tramp-methods): Document new functionality.
7449 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7450 tramp-hostname-checker if method provides one instead of scanning
7451 argument list for "%h" to decide hostname acceptability.
7452
7453 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7454
7455 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7456 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7457 Handle COPY-CONTENTS. (Bug#15737)
7458
7459 2013-10-28 Daiki Ueno <ueno@gnu.org>
7460
7461 * epa-file.el
7462 (epa-file-cache-passphrase-for-symmetric-encryption):
7463 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7464
7465 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7466
7467 * image.el (defimage, image-load-path): Doc fixes.
7468
7469 2013-10-27 Alan Mackenzie <acm@muc.de>
7470
7471 Indent statements in macros following "##" correctly.
7472 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7473 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7474
7475 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7476
7477 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7478
7479 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7480
7481 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7482 after `=' is probably a new expression.
7483
7484 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7485
7486 * man.el (man-imenu-title): New option.
7487 (Man-mode-map): Add menu. (Bug#15722)
7488 (Man-mode): Add imenu to menu.
7489
7490 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7491
7492 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7493 specific in what the first arg can be: a non-keyword word,
7494 string/regexp/percent literal opener, opening paren, or unary
7495 operator followed directly by word.
7496
7497 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7500 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7501 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7502 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7503 Remove vars, they do not apply any more.
7504 (prolog-mode-abbrev-table): Remove redundant declaration.
7505 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7506 (prolog-use-smie): Remove.
7507 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7508 supported by prolog-electric-if-then-else-flag.
7509 (prolog-mode-variables, prolog-menu): Use setq-local.
7510 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7511 Remove binding to `Backspace' since this key doesn't exist anyway.
7512 Remove bindings for electric self-inserting keys.
7513 (prog-mode): Assume it's defined.
7514 (prolog-post-self-insert): New function.
7515 (prolog-mode): Use it.
7516 (prolog-indent-line, prolog-indent-level)
7517 (prolog-find-indent-of-matching-paren)
7518 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7519 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7520 (prolog-goto-next-paren, prolog-in-string-or-comment)
7521 (prolog-tokenize, prolog-inside-mline-comment)
7522 (prolog-find-start-of-mline-comment): Remove functions.
7523 (prolog-find-unmatched-paren, prolog-clause-end)
7524 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7525 (prolog-electric--if-then-else): Rename from
7526 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7527 (prolog-tokenize-searchkey): Remove const.
7528 (prolog-clause-info): Use forward-sexp.
7529 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7530 (prolog-electric-if-then-else): Remove commands.
7531 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7532 for use in post-self-insert-hook.
7533 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7534 for use in post-self-insert-hook.
7535 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7536 for use in post-self-insert-hook.
7537 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7538 adapt it for use in post-self-insert-hook.
7539
7540 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * emacs-lisp/ert.el (ert-run-tests-interactively):
7543 Use `completing-read'. (Bug#9756)
7544
7545 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7546
7547 * simple.el (line-move): Call line-move-1 instead of
7548 line-move-visual when the current window hscroll is zero, but
7549 temporary-goal-column indicates we will need to hscroll as result
7550 of the movement. (Bug#15712)
7551
7552 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7553
7554 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7555 capitalization. Use :visible instead of :active.
7556 Fix `ruby-indent-exp' reference. Add menu items for the generic
7557 commands that are used with SMIE.
7558 (ruby-do-end-to-brace): Insert space after `{'.
7559
7560 2013-10-25 John Anthony <john@jo.hnanthony.com>
7561
7562 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7563
7564 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7565
7566 2013-10-25 Glenn Morris <rgm@gnu.org>
7567
7568 * vc/vc.el (vc-print-log): Don't use a working revision unless
7569 one was explicitly specified. (Bug#15322)
7570
7571 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * subr.el (add-to-list): Preserve return value in compiler-macro
7574 (bug#15692).
7575
7576 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7577
7578 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7579 result. Ask user to retry using '-all' flag. (Bug#15701)
7580
7581 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/smie.el: New smie-config system.
7584 (smie-config): New defcustom.
7585 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7586 (smie-config-guess, smie-config-save): New commands.
7587 (smie-config--mode-local, smie-config--buffer-local)
7588 (smie-config--trace, smie-config--modefuns): New vars.
7589 (smie-config--advice, smie-config--mode-hook)
7590 (smie-config--setter, smie-config-local, smie-config--get-trace)
7591 (smie-config--guess-value, smie-config--guess): New functions.
7592 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7593 text properties. Treat "string fence" syntax like string syntax.
7594
7595 * progmodes/sh-script.el (sh-use-smie): Change default.
7596 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7597 (sh-var-value): Simplify by CSE.
7598 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7599 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7600 is used.
7601 (sh-guess-basic-offset): Use cl-incf.
7602 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7603
7604 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7605
7606 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7607 (bug#15699).
7608
7609 2013-10-24 Glenn Morris <rgm@gnu.org>
7610
7611 * Makefile.in (abs_top_srcdir): Remove.
7612 (update-subdirs): Use relative path to update-subdirs.
7613
7614 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7615
7616 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7617 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7618 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7619 Call unmsys--file-name before expand-file-name, not after it.
7620
7621 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7622
7623 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7624 (ert-test-skipped): New error.
7625 (ert-skip, ert-stats-skipped): New defuns.
7626 (ert--skip-unless): New macro.
7627 (ert-test-skipped): New struct.
7628 (ert--run-test-debugger, ert-test-result-type-p)
7629 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7630 (ert--stats-set-test-and-result, ert-char-for-test-result)
7631 (ert-string-for-test-result, ert-run-tests-batch)
7632 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7633 Handle skipped tests. (Bug#9803)
7634
7635 2013-10-24 Glenn Morris <rgm@gnu.org>
7636
7637 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7638
7639 * Makefile.in (abs_top_srcdir): New, set by configure.
7640 (update-subdirs): Correct build-aux location.
7641
7642 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7643
7644 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7645 value, whether we could auto-deduce `backend', or not.
7646
7647 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7648 with parameters" example. Simplify the "is it block or is it
7649 hash" check, but also make it more thorough.
7650
7651 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7652
7653 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7654
7655 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7658 { if it is hanging.
7659
7660 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7661 :before ";".
7662
7663 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7664
7665 * progmodes/compile.el (compilation-directory-matcher)
7666 (compilation-page-delimiter):
7667 Support GNU Make-4.0 directory quoting. (Bug#15678)
7668
7669 2013-10-23 Leo Liu <sdl.web@gmail.com>
7670
7671 * ido.el (ido-tidy): Handle read-only text.
7672
7673 2013-10-23 Glenn Morris <rgm@gnu.org>
7674
7675 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7676 (emacs, compile, compile-always):
7677 Quote entities that might contain whitespace.
7678 (custom-deps, finder-data, autoloads): Use abs_lisp.
7679 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7680 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7681 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7682
7683 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7684
7685 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7686 Use `following-char'.
7687
7688 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7689
7690 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7691 * progmodes/ruby-mode.el (ruby-smie-rules):
7692 Remove corresponding workaround. Fix indentation rule of ";" so it
7693 also applies when ";" is the parent.
7694
7695 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7696
7697 * frame.el (display-screens, display-pixel-height)
7698 (display-pixel-width, display-mm-width, display-backing-store)
7699 (display-save-under, display-planes, display-color-cells)
7700 (display-visual-class, display-monitor-attributes-list):
7701 Mention the optional ‘display’ argument in doc strings.
7702
7703 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7704
7705 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7706 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7707
7708 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7709
7710 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7711 TODO. Add "." after " @ ".
7712 (ruby-smie--at-dot-call): New function. Checks if point at method
7713 call with explicit target.
7714 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7715 to the method name tokens when it precedes them.
7716 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7717 (ruby-smie-rules): Add rule for indentation before and after "."
7718 token.
7719
7720 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * textmodes/remember.el (remember-diary-extract-entries):
7723 Avoid add-to-list.
7724
7725 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7726 an instruction.
7727
7728 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7729
7730 * progmodes/ruby-mode.el (ruby-smie-grammar):
7731 Add (almost) all infix operators.
7732 (ruby-smie--implicit-semi-p): Add new operator chars.
7733
7734 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7735 `smie-down-list'.
7736 (ruby-smie--args-separator-p): Check that there's no newline
7737 between method call and its arguments.
7738
7739 2013-10-20 Alan Mackenzie <acm@muc.de>
7740
7741 Allow comma separated lists after Java "implements".
7742
7743 * progmodes/cc-engine.el (c-backward-over-enum-header):
7744 Parse commas.
7745 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7746 from a "disallowed" list in enum fontification.
7747
7748 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7749
7750 * startup.el (default-frame-background-mode): Remove unused defvar.
7751
7752 * progmodes/verilog-mode.el (verilog-mode): Don't set
7753 comment-indent-function globally.
7754
7755 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7756
7757 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7758 Move Info menu item creation to ns-win.el.
7759
7760 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7761 in menu bar.
7762
7763 * menu-bar.el: Move GNUstep specific menus...
7764
7765 * term/ns-win.el (ns-initialize-window-system): ... to here.
7766
7767 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * simple.el (newline): Only run post-self-insert-hook when
7770 called interactively.
7771
7772 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7773
7774 * icomplete.el (icomplete-with-completion-tables): Add :version.
7775
7776 2013-10-19 Alan Mackenzie <acm@muc.de>
7777
7778 Fix fontification bugs with constructors and const.
7779
7780 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7781 CASE 2) Remove the check for the absence of a suffix construct
7782 after a function declaration with only types (no identifiers) in
7783 the parentheses. Also, accept a function declaration with just a
7784 type inside the parentheses, if this type can be positively
7785 recognised as such, or if a prefix keyword like "explicit" nails
7786 down the construct as a declaration.
7787
7788 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7789
7790 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7791 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7792 the problem whereby selecting a menu item that leads to a
7793 minibuffer prompt moves the cursor out of the minibuffer window,
7794 making it hard to type at the prompt. Suggested by Stefan Monnier
7795 <monnier@iro.umontreal.ca>.
7796
7797 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7798
7799 * menu-bar.el: Don't make Services menu.
7800
7801 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7802
7803 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7804 (ffap-alist): Use ffap-c++-mode for c++-mode.
7805 (ffap-c++-path): New variable.
7806 (ffap-c++-mode): New function.
7807
7808 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7809
7810 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7811
7812 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7813
7814 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7815 introduced on 2013-09-08, which results in an infinite loop
7816 requesting a password.
7817
7818 2013-10-18 Glenn Morris <rgm@gnu.org>
7819
7820 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7821
7822 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7823
7824 Sync with upstream verilog-mode revision 1a6ecec7.
7825 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7826 (verilog-mode-release-date): Remove.
7827 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7828 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7829 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7830 (verilog-auto-tieoff-ignore-regexp)
7831 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7832 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7833 (verilog-signals-with, verilog-dir-cache-preserving)
7834 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7835 Doc fixes.
7836 (verilog-case-fold): New option, to control case folding in
7837 regexp searches, bug597.
7838 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7839 (verilog-string-match-fold, verilog-in-paren-count)
7840 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7841 (verilog-at-close-struct-p): New functions.
7842 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7843 (verilog-forward-sexp, verilog-set-auto-endcomments)
7844 (verilog-leap-to-case-head): Handle "unique0" case.
7845 (verilog-in-constraint-re): New constant.
7846 (verilog-keywords, verilog-type-font-keywords):
7847 Add some SystemVerilog 1800-2012 keywords.
7848 (verilog-label-be): Remove unimplemented argument, bug669.
7849 (verilog-batch-execute-func): When batch expanding clear
7850 create-lockfiles to prevent spurious user locks when a file ends
7851 up not changing.
7852 (verilog-calculate-indent, verilog-calc-1)
7853 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7854 (verilog-do-indent): Fix indentation of nested constraints
7855 and structures.
7856 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7857 (verilog-auto-inst-param): Use verilog-string-match-fold.
7858 (verilog-read-inst-module-matcher):
7859 Fix AUTOINST on gate primitives with #1.
7860 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7861 Reads all user-defined typed variables.
7862 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7863 (verilog-signals-matching-regexp)
7864 (verilog-signals-not-matching-regexp, verilog-auto):
7865 Respect verilog-case-fold.
7866 (verilog-diff-report): Fix line count.
7867 (verilog-auto-assign-modport): Remove unused local `modi'.
7868 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7869 better handle multidimensional arrays.
7870 Fix packed array ports misadding bit index in AUTOINST, bug637.
7871 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7872 to not double-declare existing outputs and inputs, respectively.
7873 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7874 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7875 (verilog-sk-uvm-component): New skeleton.
7876 (verilog-submit-bug-report): Add verilog-case-fold,
7877 remove verilog-mode-release-date.
7878
7879 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7880
7881 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7882 as before.
7883
7884 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7885
7886 * textmodes/remember.el (remember): Set buffer-offer-save in
7887 remember buffers (bug#13566).
7888
7889 2013-10-18 Daniel Colascione <dancol@dancol.org>
7890
7891 When evaluating forms in ielm, direct standard output to ielm
7892 buffer. Add new ielm-return-for-effect command. Remove trailing
7893 whitespace throughout.
7894
7895 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7896 (ielm-return-for-effect): New command.
7897 (ielm-send-input): Accept optional `for-effect' parameter.
7898 (ielm-eval-input): Accept optional `for-effect' parameter.
7899 Bind `standard-output' to stream we create using
7900 `ielm-standard-output-impl'. Suppress printing result when
7901 `for-effect'.
7902 (ielm-standard-output-impl): New function.
7903 (inferior-emacs-lisp-mode): Explain new features in documentation.
7904
7905 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7906
7907 Code cleanup.
7908
7909 * net/tramp.el (tramp-debug-message): Do not check for connection
7910 buffer.
7911 (tramp-message): Use "vector" connection property.
7912
7913 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7914 (tramp-equal-remote, tramp-eshell-directory-change)
7915 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7916 (tramp-adb-handle-rename-file)
7917 * net/tramp-cmds.el (tramp-list-remote-buffers)
7918 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7919 * net/tramp-compat.el (tramp-compat-process-running-p)
7920 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7921 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7922 (tramp-gvfs-handle-rename-file)
7923 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7924 (tramp-set-file-uid-gid)
7925 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7926 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7927 of `file-remote-p'.
7928
7929 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7930 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7931 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7932 (tramp-gw-open-network-stream): Suppress unrelated traces.
7933
7934 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7935 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7936 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7937 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7938 connection property.
7939
7940 * net/tramp-cache.el (top): Suppress traces when reading
7941 persistency file.
7942
7943 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7944 Refactor common code. Improve debug message.
7945 (tramp-maybe-open-connection)
7946 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7947 connection buffer too early.
7948
7949 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7950 from `tramp-smb-actions-with-acl'.
7951 (tramp-smb-actions-set-acl): New defconst.
7952 (tramp-smb-handle-copy-directory)
7953 (tramp-smb-action-get-acl): New defun, renamed from
7954 `tramp-smb-action-with-acl'.
7955 (tramp-smb-action-set-acl): New defun.
7956 (tramp-smb-handle-set-file-acl): Rewrite.
7957
7958 2013-10-17 Glenn Morris <rgm@gnu.org>
7959
7960 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7961
7962 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * skeleton.el (skeleton-newline): Remove.
7965 (skeleton-internal-1): Use (insert "\n") instead.
7966
7967 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7968 let-bindings.
7969
7970 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7971 forward-sexp-function while we redo its job (bug#15613).
7972
7973 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7974
7975 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7976 represented by lists.
7977
7978 2013-10-16 Glenn Morris <rgm@gnu.org>
7979
7980 * tmm.el (tmm--history): New dynamic variable.
7981 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7982
7983 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7984
7985 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7986 (tramp-smb-errors): Add error messages.
7987 (tramp-smb-actions-with-acl): New defconst.
7988 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7989 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7990 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7991 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7992 (tramp-smb-get-stat-capability): Fix tests.
7993
7994 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7995
7996 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7997 (bug#15580).
7998
7999 2013-10-16 Glenn Morris <rgm@gnu.org>
8000
8001 * ansi-color.el (ansi-color-drop-regexp):
8002 Add 1J, 1K, 2K. (Bug#15617)
8003
8004 * files.el (hack-local-variables--warned-lexical): New.
8005 (hack-local-variables):
8006 Warn about misplaced lexical-binding. (Bug#15616)
8007
8008 * net/eww.el (eww-render): Always set eww-current-url,
8009 and update header line. (Bug#15622)
8010 (eww-display-html): ... Rather than just doing it here.
8011
8012 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8013
8014 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8015 menu navigations commands.
8016
8017 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8018
8019 * progmodes/subword.el (subword-capitalize): Be careful when
8020 the search for [[:alpha:]] fails (bug#15580).
8021
8022 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8023
8024 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8025 to commands that scroll the menu.
8026
8027 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8028
8029 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8030 Handle methods ending with `?' and `!'.
8031
8032 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8033
8034 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8035 `japanese-cp932' to `cp932' to fix the problem where saving a
8036 source file written in Shift_JIS twice would end up having
8037 `coding: japanese-cp932' which Ruby could not recognize.
8038 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8039 in `ruby-encoding-map'.
8040 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8041 doesn't need to be explicitly declared in magic comment.
8042 (ruby-encoding-map): Add type declaration for better customize UI.
8043
8044 2013-10-13 Glenn Morris <rgm@gnu.org>
8045
8046 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8047 Occur buffers are read-only. http://bugs.debian.org/720775
8048
8049 * emacs-lisp/authors.el (authors-fixed-entries):
8050 Comment out old alpha stuff.
8051
8052 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8053
8054 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8055 to `after-save-hook' instead of `before-save-hook'.
8056 (ruby-mode-set-encoding): Use the value of coding system used to
8057 write the file. Call `basic-save-buffer-1' after modifying the
8058 buffer.
8059
8060 2013-10-13 Alan Mackenzie <acm@muc.de>
8061
8062 Fix indentation/fontification of Java enum with
8063 "implements"/generic.
8064
8065 * progmodes/cc-engine.el (c-backward-over-enum-header):
8066 Extracted from the three other places and enhanced to handle generics.
8067 (c-inside-bracelist-p): Uses new function above.
8068 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8069 function above.
8070 (c-font-lock-enum-tail): Uses new function above.
8071
8072 2013-10-13 Kenichi Handa <handa@gnu.org>
8073
8074 * international/mule-cmds.el (select-safe-coding-system): Remove a
8075 superfluous condition in chekcing whether a coding system is safe
8076 or not.
8077
8078 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8079
8080 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8081
8082 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8083
8084 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8085
8086 2013-10-13 Glenn Morris <rgm@gnu.org>
8087
8088 * menu-bar.el (menu-bar-update-buffers):
8089 Unify Buffers menu prompt string. (Bug#15576)
8090
8091 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8092
8093 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8094 Add some entries.
8095 (authors-fixed-entries): Use accented form of name.
8096
8097 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8098
8099 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8100 method calls (bug#15594).
8101 (ruby-smie--args-separator-p): New function.
8102 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8103 recognize paren-free method calls.
8104
8105 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8106 internals of universal-argument.
8107
8108 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8109
8110 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8111 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8112 dropped menu on second mouse click on the menu bar.
8113
8114 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8117 (explicit-shell-file-name): Declare.
8118 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8119 (sh-completion-at-point-function): New function.
8120 (sh-mode): Use it.
8121 (sh-smie--keyword-p): Remove unused argument.
8122 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8123 vars.
8124 (sh-set-shell): Always setup SMIE, even if we use the
8125 old indentation code.
8126
8127 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8128
8129 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8130 cases of ? and =.
8131 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8132 predicate would return nil are almost non-existent.
8133 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8134
8135 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8136 cache also after commands that modify the buffer but don't move
8137 point.
8138
8139 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * env.el (substitute-env-in-file-name): New function.
8142 (substitute-env-vars): Extend the meaning of the optional arg.
8143
8144 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8145
8146 * term/w32-win.el (dynamic-library-alist): Define separate lists
8147 of GIF DLLs for versions before and after 5.0.0 of giflib.
8148 (Bug#15531)
8149
8150 2013-10-10 João Távora <joaotavora@gmail.com>
8151
8152 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8153 not locked, use last revision and current source as
8154 defaults. (Bug#15569)
8155
8156 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8157
8158 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8159 menu-bar is hidden.
8160
8161 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8162
8163 * window.el (pop-to-buffer-same-window): Fix doc-string.
8164 (Bug#15492)
8165
8166 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8169
8170 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8171
8172 * calendar/icalendar.el (icalendar-import-file):
8173 Fix interactive spec. (Bug#15482)
8174
8175 2013-10-10 Glenn Morris <rgm@gnu.org>
8176
8177 * desktop.el (desktop-save): Default to saving in .emacs.d,
8178 since PWD is no longer in desktop-path by default. (Bug#15319)
8179
8180 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8181 now that text mode has a menu with the same entry.
8182 (menu-bar-text-mode-auto-fill): Remove now unused func.
8183 * textmodes/text-mode.el (text-mode-map):
8184 Use auto-fill help text from menu-bar.el.
8185
8186 2013-10-10 John Anthony <john@jo.hnanthony.com>
8187
8188 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8189
8190 2013-10-09 Juri Linkov <juri@jurta.org>
8191
8192 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8193 instead of this-command-keys. Add universal-argument-more and
8194 universal-argument-minus to the list of prefix commands. (Bug#15568)
8195
8196 2013-10-09 Glenn Morris <rgm@gnu.org>
8197
8198 * vc/vc-svn.el (vc-svn-create-repo):
8199 Expand paths in file://... url. (Bug#15446)
8200
8201 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8202 Add some entries.
8203 (authors): Remove unused local variables.
8204
8205 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * profiler.el: Create a more coherent calltree from partial backtraces.
8208 (profiler-format): Hide the tail with `invisible' so that C-s can still
8209 find the hidden elements.
8210 (profiler-calltree-depth): Don't recurse so enthusiastically.
8211 (profiler-function-equal): New hash-table-test.
8212 (profiler-calltree-build-unified): New function.
8213 (profiler-calltree-build): Use it.
8214 (profiler-report-make-name-part): Indent the calltree less.
8215 (profiler-report-mode): Add visibility specs for profiler-format.
8216 (profiler-report-expand-entry, profiler-report-toggle-entry):
8217 Expand the whole subtree when provided with a prefix arg.
8218
8219 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8220
8221 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8222 iuwu-mod token.
8223 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8224 hanging iuwu-mod token.
8225 (ruby-smie--forward-token): Do not include a dot after a token in
8226 that token.
8227 (ruby-smie--backward-token): Likewise.
8228
8229 2013-10-08 Juri Linkov <juri@jurta.org>
8230
8231 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8232 to isearch-other-control-char.
8233 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8234 and isearch-post-command-hook to post-command-hook.
8235 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8236 and isearch-post-command-hook from post-command-hook.
8237 (isearch-unread-key-sequence)
8238 (isearch-reread-key-sequence-naturally)
8239 (isearch-lookup-scroll-key, isearch-other-control-char)
8240 (isearch-other-meta-char): Remove functions.
8241 (isearch-pre-command-hook, isearch-post-command-hook):
8242 New functions based on isearch-other-meta-char rewritten
8243 relying on the new behavior of overriding-terminal-local-map
8244 that does not replace the local keymaps any more. (Bug#15200)
8245
8246 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8247
8248 Support menus on text-mode terminals.
8249 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8250 functionality.
8251
8252 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8253
8254 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8255 Move here from mouse.el.
8256 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8257 and arrow keys.
8258 (tty-menu-navigation-map): New map for TTY menu navigation.
8259
8260 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8261
8262 * frame.el (display-mouse-p): Report text-mode mouse as available
8263 on w32.
8264 (display-popup-menus-p): Report availability if mouse is
8265 available; don't condition on window-system.
8266
8267 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8268 (tty-menu-selected-face): New faces.
8269
8270 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8273 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8274 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8275 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8276 New constants.
8277 (lisp-mode-variables): New `elisp' argument.
8278 (emacs-lisp-mode): Use it.
8279 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8280 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8281
8282 * indent.el: Use lexical-binding.
8283 (indent-region): Add progress reporter.
8284 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8285 last step.
8286 (indent--next-tab-stop): New function to implement this behavior.
8287 (tab-to-tab-stop, move-to-tab-stop): Use it.
8288
8289 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8290
8291 * indent.el (indent-rigidly--current-indentation): New function.
8292 (indent-rigidly-map): New var.
8293 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8294
8295 2013-10-08 Bastien Guerry <bzg@gnu.org>
8296
8297 * register.el (insert-register): Fix 2013-10-07 change.
8298
8299 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * progmodes/perl-mode.el: Use lexical-binding.
8302 Remove redundant :group args.
8303 (perl-nochange): Change default to be closer to other major modes's
8304 standard behavior.
8305 (perl-indent-line): Don't consider text on current line as a
8306 valid beginning of function from which to indent.
8307
8308 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8309 with more than one argument (bug#15538).
8310
8311 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8312
8313 * vc/pcvs.el: Use lexical-binding.
8314 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8315 environment of `eval'.
8316 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8317 than a list of expressions. Adjust callers.
8318 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8319
8320 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8321
8322 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8323 case of the dot in a chained method call being on the following line.
8324
8325 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * electric.el (electric-indent-inhibit): New var.
8328 (electric-indent-post-self-insert-function): Use it.
8329 * progmodes/python.el (python-mode): Set it.
8330
8331 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8332 open braces.
8333
8334 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8335
8336 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8337 (css-mode): Use electric-indent-chars.
8338
8339 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8340 (font-lock-beg, font-lock-end): Move before first use.
8341 (nxml-mode): Use syntax-propertize-function.
8342 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8343 (nxml-extend-after-change-region): Remove.
8344 * nxml/xmltok.el: Use lexical-binding.
8345 (xmltok-save): Use `declare'.
8346 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8347 * nxml/nxml-util.el: Use lexical-binding.
8348 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8349 Use `declare'.
8350 * nxml/nxml-ns.el: Use lexical-binding.
8351 (nxml-ns-save): Use `declare'.
8352 (nxml-ns-prefixes-for): Avoid add-to-list.
8353 * nxml/rng-match.el: Use lexical-binding.
8354 (rng--ipattern): Use cl-defstruct.
8355 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8356 (rng-cons-group-after, rng-subst-group-after)
8357 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8358 Use closures instead of `(lambda...).
8359
8360 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8361
8362 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8363 of BEG and END.
8364
8365 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8366 Use `tramp-handle-insert-file-contents'.
8367 (tramp-gvfs-handle-insert-file-contents): Remove function.
8368
8369 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8370 Use `save-restriction' in order to keep markers.
8371
8372 * net/trampver.el: Update release number.
8373
8374 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * progmodes/compile.el (compilation-parse-errors):
8377 Use compilation--put-prop.
8378 (compilation--ensure-parse): Check compilation-multiline.
8379
8380 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8381
8382 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8383 lexical-binding.
8384
8385 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8386
8387 * progmodes/ruby-mode.el: Fix recently added tests.
8388 (ruby-smie-grammar): Add - and +.
8389 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8390 (ruby-smie--backward-id): New functions.
8391 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8392 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8393 any more.
8394
8395 2013-10-07 Leo Liu <sdl.web@gmail.com>
8396
8397 * register.el (register-preview-delay)
8398 (register-preview-functions): New variables.
8399 (register-read-with-preview, register-preview)
8400 (register-describe-oneline): New functions.
8401 (point-to-register, window-configuration-to-register)
8402 (frame-configuration-to-register, jump-to-register)
8403 (number-to-register, view-register, insert-register)
8404 (copy-to-register, append-to-register, prepend-to-register)
8405 (copy-rectangle-to-register): Use register-read-with-preview to
8406 read register. (Bug#15525)
8407
8408 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8409
8410 * net/network-stream.el (network-stream-open-starttls): Don't add
8411 --insecure if it's already present, because that gnutls-cli
8412 rejects getting that parameter twice.
8413
8414 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8415
8416 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8417 keyword, too.
8418
8419 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8420
8421 * newcomment.el (comment-use-global-state): Change default value
8422 to t, mark obsolete (Bug#15251).
8423 (comment-beginning): In addition to `comment-to-syntax', check the
8424 value of `comment-use-global-state'.
8425
8426 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8429 (ruby-comment-column): Follow the global default, by default.
8430 (ruby-smie-grammar): Add assignment syntax.
8431 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8432 open-paren, a comma, or a \.
8433 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8434 and line continuations.
8435 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8436 followed by implicit semi-colons. Add rule for string concatenation
8437 and for indentation at BOB.
8438 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8439
8440 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8441 calling next-sexp, since next-token may have skipped chars which
8442 next-sexp doesn't know should be skipped!
8443
8444 2013-10-05 Leo Liu <sdl.web@gmail.com>
8445
8446 * progmodes/octave.el (octave-send-region):
8447 Call compilation-forget-errors.
8448
8449 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8450
8451 * vc/vc-svn.el (vc-svn-find-admin-dir):
8452 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8453 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8454 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8455 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8456
8457 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8460
8461 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * subr.el (read-passwd): Hide chars even when called within a context
8464 where after-change-functions is disabled (bug#15501).
8465 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8466 until we removed ourself from overriding-terminal-local-map.
8467
8468 2013-10-04 Leo Liu <sdl.web@gmail.com>
8469
8470 * progmodes/octave.el (inferior-octave-mode):
8471 Call compilation-forget-errors.
8472
8473 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8474
8475 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8476
8477 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8478
8479 * net/secrets.el (secrets-create-collection): Add optional
8480 argument ALIAS. Use proper Label keyword. Append ALIAS as
8481 dbus-call-method argument. (Bug#15516)
8482
8483 2013-10-04 Leo Liu <sdl.web@gmail.com>
8484
8485 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8486 (inferior-octave-compilation-font-lock-keywords): New variables.
8487 (compilation-error-regexp-alist)
8488 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8489 (inferior-octave-mode): Use compilation-shell-minor-mode.
8490
8491 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8492
8493 * minibuffer.el (completion--replace): Be careful that `end' might be
8494 a marker.
8495
8496 2013-10-03 Daiki Ueno <ueno@gnu.org>
8497
8498 Add support for package signature checking.
8499 * emacs-lisp/package.el (url-http-file-exists-p)
8500 (epg-make-context, epg-context-set-home-directory)
8501 (epg-verify-string, epg-context-result-for)
8502 (epg-signature-status, epg-signature-to-string)
8503 (epg-check-configuration, epg-configuration)
8504 (epg-import-keys-from-file): Declare.
8505 (package-check-signature): New user option.
8506 (package-unsigned-archives): New user option.
8507 (package-desc): Add `signed' field.
8508 (package-load-descriptor): Set `signed' field if .signed file exists.
8509 (package--archive-file-exists-p): New function.
8510 (package--check-signature): New function.
8511 (package-install-from-archive): Check package signature.
8512 (package--download-one-archive): Check archive signature.
8513 (package-delete): Remove .signed file.
8514 (package-import-keyring): New command.
8515 (package-refresh-contents): Import default keyring.
8516 (package-desc-status): Add "unsigned" status.
8517 (describe-package-1, package-menu--print-info)
8518 (package-menu-mark-delete, package-menu--find-upgrades)
8519 (package-menu--status-predicate): Support "unsigned" status.
8520
8521 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8524 the new compilation scheme using the new byte-codes.
8525
8526 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8527 (byte-pophandler): New byte codes.
8528 (byte-goto-ops): Adjust accordingly.
8529 (byte-compile--use-old-handlers): New var.
8530 (byte-compile-catch): Use new byte codes depending on
8531 byte-compile--use-old-handlers.
8532 (byte-compile-condition-case--old): Rename from
8533 byte-compile-condition-case.
8534 (byte-compile-condition-case--new): New function.
8535 (byte-compile-condition-case): New function that dispatches depending
8536 on byte-compile--use-old-handlers.
8537 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8538 when we can.
8539
8540 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8541 Optimize under `condition-case' and `catch' if
8542 byte-compile--use-old-handlers is nil.
8543 (disassemble-offset): Handle new bytecodes.
8544
8545 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * subr.el (error): Use `declare'.
8548 (decode-char, encode-char): Use advertised-calling-convention instead
8549 of the docstring to discourage use of the `restriction' arg.
8550
8551 2013-10-03 Daiki Ueno <ueno@gnu.org>
8552
8553 * epg.el (epg-verify-file): Add a comment saying that it does not
8554 notify verification error as a return value nor a signal.
8555 (epg-verify-string): Ditto.
8556
8557 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8558
8559 * progmodes/compile.el (compilation-start): Try globbing the arg to
8560 `cd' (bug#15417).
8561
8562 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8563
8564 Sync with Tramp 2.2.8.
8565
8566 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8567 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8568 * net/trampver.el: Update release number.
8569
8570 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8571
8572 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8573 and default-process-coding-system for darwin only.
8574
8575 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8578
8579 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8580
8581 * vc/vc-git.el (vc-git-grep): Disable pager.
8582
8583 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8584
8585 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8586 Use :url instead of :homepage, as per
8587 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8588
8589 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8590 non-nil, use `syntax-ppss' (Bug#15251).
8591
8592 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8593
8594 * progmodes/octave.el (inferior-octave-startup-file):
8595 Prefer ~/.emacs.d/init_octave.m.
8596
8597 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8598
8599 * emacs-lisp/package.el (package-desc-from-define):
8600 Accept additional arguments as plist, convert them to an alist and store
8601 them in the `extras' slot.
8602 (package-generate-description-file): Convert extras alist back to
8603 plist and append to the `define-package' form arguments.
8604 (package--alist-to-plist): New function.
8605 (package--ac-desc): Add `extras' slot.
8606 (package--add-to-archive-contents): Check if the archive-contents
8607 vector is long enough, and if it is, pass its `extras' slot value
8608 to `package-desc-create'.
8609 (package-buffer-info): Call `lm-homepage', pass the returned value
8610 to `package-desc-from-define'.
8611 (describe-package-1): Render the homepage button (Bug#13291).
8612
8613 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8614 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8615
8616 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8617
8618 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8619 and default-process-coding-system to utf-8-unix (Bug#15402).
8620
8621 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8622
8623 * subr.el (looking-back): Do not recommend using looking-back.
8624
8625 2013-09-28 Alan Mackenzie <acm@muc.de>
8626
8627 Fix indentation/fontification of Java enum with "implements".
8628
8629 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8630 regexp which matches "implements", etc., in Java.
8631 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8632 specifier clauses coming after "enum".
8633 * progmodes/cc-fonts.el (c-font-lock-declarations)
8634 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8635 after "enum".
8636
8637 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8638
8639 * faces.el (region): Change ns_selection_color to
8640 ns_selection_fg_color, add ns_selection_bg_color.
8641
8642 2013-09-28 Leo Liu <sdl.web@gmail.com>
8643
8644 * progmodes/octave.el (inferior-octave-completion-table)
8645 (inferior-octave-completion-at-point): Minor tweaks.
8646
8647 * textmodes/ispell.el (ispell-lookup-words): Rename from
8648 lookup-words. (Bug#15460)
8649 (lookup-words): Obsolete.
8650 (ispell-complete-word, ispell-command-loop): All uses changed.
8651
8652 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8653
8654 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8655 (octave-mode-menu): Add octave-send-buffer.
8656 (octave-send-buffer): New function.
8657
8658 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8659
8660 * progmodes/octave.el (octave-mode-map): Add key binding for
8661 octave-lookfor.
8662 (octave-mode-menu): Add octave-lookfor.
8663 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8664 octave-lookfor.
8665 (octave-lookfor): New function.
8666
8667 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8670 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8671 its convention.
8672 (cl--loop-set-iterator-function): New function.
8673 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8674 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8675 Bind `it' with `let' instead of substituting it with `cl-subst'.
8676 (cl--unused-var-p): New function.
8677 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8678 Eliminate some unused variable warnings (bug#15326).
8679
8680 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8681
8682 * doc-view.el (doc-view-scale-reset): Rename from
8683 `doc-view-reset-zoom-level'.
8684 (doc-view-scale-adjust): New command.
8685 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8686 `doc-view-scale-adjust'.
8687
8688 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8689
8690 * doc-view.el (doc-view-reset-zoom-level): New command.
8691 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8692 zoom commands (bug#15466).
8693
8694 2013-09-26 Kenichi Handa <handa@gnu.org>
8695
8696 * international/quail.el (quail-help): Make it not a command.
8697
8698 2013-09-26 Leo Liu <sdl.web@gmail.com>
8699
8700 * minibuffer.el (completion-all-sorted-completions): Make args
8701 optional as they are.
8702
8703 2013-09-25 Daniel Colascione <dancol@dancol.org>
8704
8705 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8706 specs are and that they're not evaluated.
8707
8708 2013-09-24 Sam Steingold <sds@gnu.org>
8709
8710 * midnight.el (clean-buffer-list-kill-regexps)
8711 (clean-buffer-list-kill-buffer-names): Update for the new Man
8712 buffer naming which includes the object name.
8713
8714 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8717 (eshell-parse-command, eshell-parse-pipeline): Use it since
8718 eshell-separate-commands requires a dynamic scoped var.
8719 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8720
8721 2013-09-23 Leo Liu <sdl.web@gmail.com>
8722
8723 * autoinsert.el (auto-insert-alist): Make the value of
8724 lexical-binding match its file setting.
8725
8726 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8727
8728 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8729
8730 * autoarg.el (autoarg-kp-digit-argument):
8731 * electric.el (Electric-command-loop):
8732 * kmacro.el (kmacro-step-edit-insert):
8733 Do not set universal-argument-num-events.
8734
8735 2013-09-22 Leo Liu <sdl.web@gmail.com>
8736
8737 * files.el (interpreter-mode-alist): Add octave.
8738
8739 2013-09-21 Alan Mackenzie <acm@muc.de>
8740
8741 C++: fontify identifier in declaration following "public:" correctly.
8742 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8743 to match "public", etc.
8744 (c-decl-prefix-re): Add ":" into the C++ value.
8745 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8746 bit. Add a check for a ":" preceded by "public", etc.
8747
8748 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8749
8750 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8751 recognized by GDB 7.5 and later.
8752
8753 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8754
8755 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8756
8757 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * subr.el (internal--call-interactively): New const.
8760 (called-interactively-p): Use it (bug#3984).
8761
8762 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8763
8764 * vc/pcvs.el (cvs-mode-ignore):
8765 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8766 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8767
8768 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8771 (eshell-ls-orig-insert-directory): Remove.
8772 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8773 (eshell-ls-use-in-dired): Use advice-add/remove.
8774 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8775 Add `orig-fun' arg for use in :around advice.
8776 Make it check (redundantly) eshell-ls-use-in-dired.
8777
8778 2013-09-19 Glenn Morris <rgm@gnu.org>
8779
8780 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8781
8782 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8783
8784 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8785
8786 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8787
8788 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8789 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8790 (tramp-get-remote-python): New defuns.
8791 (tramp-get-remote-uid-with-perl)
8792 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8793 contributed by yary <not.com@gmail.com> (tiny change).
8794 (tramp-get-remote-uid-with-python)
8795 (tramp-get-remote-gid-with-python): New defuns. Python code
8796 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8797 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8798
8799 2013-09-19 Glenn Morris <rgm@gnu.org>
8800
8801 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8802
8803 * eshell/em-unix.el (eshell-remove-entries):
8804 Rename argument to avoid name-clash with global `top-level'.
8805
8806 * eshell/esh-proc.el (eshell-kill-process-function):
8807 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8808 (eshell-reset-after-proc): Remove unused arg `proc'.
8809
8810 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8811 (directory-files-and-attributes): Mark unused arg.
8812
8813 * eshell/em-unix.el (eshell-remove-entries):
8814 Remove unused arg `path'. Update callers.
8815
8816 * eshell/em-hist.el (eshell-hist-parse-arguments):
8817 Remove unused arg `silent'. Update callers.
8818
8819 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8820 Fix (f)boundp mix-up.
8821
8822 * eshell/em-smart.el (eshell-smart-scroll-window)
8823 (eshell-disable-after-change):
8824 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8825
8826 2013-09-18 Alan Mackenzie <acm@muc.de>
8827
8828 Fix fontification of type when followed by "const".
8829 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8830 "known" types from fontification.
8831
8832 2013-09-18 Glenn Morris <rgm@gnu.org>
8833
8834 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8835 (chart-face-list): Drop Emacsen without display-color-p.
8836
8837 * net/eww.el (libxml-parse-html-region): Declare.
8838 (eww-display-html): Explicit error if no libxml2 support.
8839
8840 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8841
8842 * image.el (image-type-from-buffer, image-multi-frame-p):
8843 Remove --without-x warning/error.
8844
8845 * mouse.el (mouse-yank-primary):
8846 * term.el (term-mouse-paste):
8847 Reorder to silence --without-x compilation.
8848
8849 * mpc.el (doc-view-mode): Silence --without-x compilation.
8850
8851 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8852 Silence --without-x compilation.
8853
8854 * progmodes/gud.el (gud-find-file, gud-mode):
8855 Silence --without-x compilation.
8856 (tooltip-mode): Declare.
8857
8858 * wdired.el (dired-backup-overwrite): Remove declaration.
8859 (wdired-mode-map): Add doc string.
8860
8861 * custom.el (x-get-resource): Declare.
8862
8863 * eshell/em-glob.el (ange-cache):
8864 * eshell/em-unix.el (ange-cache): Declare.
8865
8866 * faces.el (x-display-list, x-open-connection, x-get-resource):
8867 Declare.
8868
8869 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8870 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8871 Declare.
8872
8873 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8874
8875 * net/gnutls.el (gnutls-log-level): Declare.
8876
8877 * net/shr.el (image-size, image-animate): Declare.
8878
8879 * simple.el (font-info): Declare.
8880
8881 * subr.el (x-popup-dialog): Declare.
8882
8883 * term/common-win.el (x-select-enable-primary)
8884 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8885 Declare.
8886
8887 * term/ns-win.el (x-handle-args): Declare.
8888
8889 * term/x-win.el (x-select-enable-clipboard): Declare.
8890
8891 * term/w32-win.el (create-default-fontset): Declare.
8892
8893 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8894 Declare.
8895
8896 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8897 (fit-frame-to-buffer): Explicit error if --without-x.
8898 (mouse-autoselect-window-select): Silence compiler.
8899
8900 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8901
8902 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8903 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8904 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8905 * eshell/esh-util.el (eshell-sublist):
8906 Remove unused local variables.
8907
8908 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8909
8910 * textmodes/two-column.el: Make 2C-split work for --without-x.
8911 (scroll-bar-columns): Autoload.
8912 (top-level): Require fringe when compiling.
8913
8914 2013-09-18 Leo Liu <sdl.web@gmail.com>
8915
8916 * subr.el (add-hook): Robustify to handle closure as well.
8917
8918 2013-09-17 Glenn Morris <rgm@gnu.org>
8919
8920 * simple.el (messages-buffer-mode-map): Unbind "g".
8921
8922 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * help-mode.el (help-mode-finish): Use derived-mode-p.
8925 Remove obsolete highlighting.
8926
8927 * play/life.el (life-mode): Use define-derived-mode. Derive from
8928 special-mode.
8929 (life): Let-bind inhibit-read-only.
8930 (life-setup): Avoid `setq'. Use `life-mode'.
8931
8932 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8933 which should not be needed any more.
8934 (package-menu-refresh, package-menu-describe-package): Use user-error.
8935
8936 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8937 (eshell-post-rewrite-command-hook): Make obsolete.
8938 (eshell-parse-command): Simplify.
8939 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8940 (eshell--cmd): Declare.
8941 (eshell-parse-pipeline): Remove unused var `final-p'.
8942 Pass a dynvar to eshell-post-rewrite-command-hook.
8943 Implement the new eshell-post-rewrite-command-function.
8944 (eshell-invoke-directly): Remove unused arg `input'.
8945 * eshell/esh-io.el (eshell-io-initialize):
8946 Use eshell-post-rewrite-command-function (bug#15399).
8947 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8948 adjust to new calling convention.
8949 (eshell-create-handles): Rename args to avoid clashing with dynvar
8950 `standard-output'.
8951
8952 2013-09-17 Glenn Morris <rgm@gnu.org>
8953
8954 * simple.el (messages-buffer-mode): New major mode.
8955 (messages-buffer): New function.
8956 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8957 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8958 (ert-run-test): Use `messages-buffer' function.
8959 (ert--force-message-log-buffer-truncation): Ignore read-only.
8960 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8961 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8962
8963 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8966
8967 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8968
8969 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * icomplete.el (icomplete-in-buffer): New var.
8972 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8973 vars and replace them with functions.
8974 (icomplete-minibuffer-setup): Adjust accordingly.
8975 (icomplete--completion-table, icomplete--completion-predicate)
8976 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8977 New functions.
8978 (icomplete-forward-completions, icomplete-backward-completions)
8979 (icomplete-simple-completing-p, icomplete-exhibit)
8980 (icomplete-completions): Use them.
8981 (icomplete--in-region-buffer): New var.
8982 (icomplete--in-region-setup): New function.
8983 (icomplete-mode): Use it.
8984
8985 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8986 (bug#15379).
8987 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8988 return args and options.
8989 (eshell-eval-using-options): Use the new return value of
8990 eshell--do-opts to set the options's vars in their scope.
8991 (eshell--set-option): Rename from eshell-set-option.
8992 Add arg `opt-vals'.
8993 (eshell--process-option): Rename from eshell-process-option.
8994 Add arg `opt-vals'.
8995 (eshell--process-args): Use an `opt-vals' alist to store the options's
8996 values during their processing and return them additionally to the
8997 remaining args.
8998
8999 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9000
9001 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9002 continuation character an operator, as far as indentation is
9003 concerned (Bug#15369).
9004
9005 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9006
9007 * window.el (window--state-put-2): Don't process buffer state
9008 when buffer doesn't exist any more (Bug#15382).
9009
9010 2013-09-15 Glenn Morris <rgm@gnu.org>
9011
9012 * eshell/em-unix.el (eshell/rm):
9013 Make -f ignore missing files. (Bug#15373)
9014
9015 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9016 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9017 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9018
9019 2013-09-14 Glenn Morris <rgm@gnu.org>
9020
9021 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9022
9023 2013-09-13 Glenn Morris <rgm@gnu.org>
9024
9025 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9026 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9027
9028 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9029
9030 * frame.el (x-focus-frame): Mark as declared in frame.c.
9031
9032 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * ls-lisp.el: Use advice-add.
9035 (original-insert-directory): Remove.
9036 (ls-lisp--insert-directory): Rename from insert-directory; add
9037 `orig-fun' argument.
9038 (insert-directory): Advise.
9039
9040 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9041
9042 * term.el (term-emulate-terminal): Decode the command string
9043 before passing it to term-command-hook. (Bug#15337)
9044
9045 2013-09-13 Glenn Morris <rgm@gnu.org>
9046
9047 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9048
9049 * eshell/esh-ext.el (eshell-search-path): Declare.
9050
9051 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9052 Otherwise an error occurs if eshell-dirs module not loaded.
9053
9054 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9055
9056 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9059 `tramp-check-proper-host'. Check for a valid method name.
9060
9061 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9062 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9063 * net/tramp-sh.el (tramp-maybe-open-connection):
9064 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9065
9066 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9067 also for hash values.
9068
9069 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * term/ns-win.el (parameters): Don't declare as dynamic.
9072 (before-make-frame-hook): Don't add ineffective function.
9073
9074 * eshell/*.el: Use lexical-binding (bug#15231).
9075
9076 2013-09-12 Kenichi Handa <handa@gnu.org>
9077
9078 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9079
9080 2013-09-12 Glenn Morris <rgm@gnu.org>
9081
9082 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9083 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9084
9085 * subr.el (do-after-load-evaluation): Also give compiler warnings
9086 when obsolete files are used (except by obsolete files).
9087
9088 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9089 in the status output, assume `filename' is the first. (Bug#15322)
9090
9091 * vc/vc.el (vc-deduce-fileset): Doc fix.
9092
9093 * calc/calc-help.el (Info-goto-node):
9094 * progmodes/cperl-mode.el (Info-find-node):
9095 * vc/ediff.el (Info-goto-node): Update declarations.
9096
9097 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9098
9099 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9100 (vc-bzr-pull): Require vc-dispatcher.
9101 * vc/vc-git.el (vc-compilation-mode): Declare.
9102 (vc-git-pull): Require vc-dispatcher.
9103
9104 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9105
9106 * progmodes/octave.el (help-button-action): Declare.
9107
9108 * shell.el (shell-directory-tracker): Output error as a message
9109 rather than just returning it as a string.
9110 (shell-process-pushd): Remove useless use of message.
9111
9112 * dframe.el (dframe-timer-fn):
9113 * files.el (dir-locals-read-from-file):
9114 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9115 (mpc-format):
9116 * reveal.el (reveal-post-command):
9117 * saveplace.el (load-save-place-alist-from-file):
9118 * shell.el (shell-resync-dirs):
9119 * w32-common-fns.el (x-get-selection-value):
9120 * emacs-lisp/copyright.el (copyright-find-copyright):
9121 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9122 * emulation/tpu-edt.el (tpu-copy-keyfile):
9123 * play/bubbles.el (bubbles--mark-neighbourhood):
9124 * progmodes/executable.el
9125 (executable-make-buffer-file-executable-if-script-p):
9126 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9127
9128 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 Cleanup Eshell to rely less on dynamic scoping.
9131 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9132 last-value, and ext-command here. Bind `args' closer to `body'.
9133 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9134 (eshell--args): Declare new dynamic var.
9135 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9136 last-value, and ext-command. Pass `args' to `body'.
9137 (eshell-process-args): Bind eshell--args.
9138 (eshell-set-option): Use eshell--args.
9139 * eshell/eshell.el (eshell): Use derived-mode-p.
9140 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9141 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9142 (eshell-glob-function): Declare.
9143 * eshell/esh-util.el: Require cl-lib.
9144 (eshell-read-hosts-file): Avoid add-to-list.
9145 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9146 `err'.
9147 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9148 Declare.
9149 (eshell/diff): Remove unused var `err'.
9150 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9151 `killflag'.
9152 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9153 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9154 first use.
9155 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9156 Move declaration before first use.
9157 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9158 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9159 rely on cl-return.
9160
9161 2013-09-12 Glenn Morris <rgm@gnu.org>
9162
9163 * term/ns-win.el (global-map): Remove binding for ispell-next,
9164 deleted 1999-05-29. (Bug#15357)
9165
9166 2013-09-11 Glenn Morris <rgm@gnu.org>
9167
9168 * echistory.el (electric-command-history): Remove call to deleted func.
9169
9170 * play/landmark.el (landmark-mode): Fix typos.
9171
9172 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9173 Check cvs-sort-ignore-file is bound.
9174
9175 * savehist.el: No need for cl when compiling on Emacs.
9176
9177 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9180 (bug#15338).
9181 (eshell-self-insert-command, eshell-send-invisible):
9182 Remove unused argument.
9183 (eshell-handle-control-codes): Remove unused var `orig'.
9184 Avoid delete-backward-char.
9185
9186 * files.el (set-auto-mode): Simplify a bit further.
9187
9188 2013-09-11 Glenn Morris <rgm@gnu.org>
9189
9190 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9191 (set-auto-mode): Don't regexp-quote elements.
9192 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9193 * progmodes/cc-mode.el (interpreter-mode-alist):
9194 * progmodes/ruby-mode.el (interpreter-mode-alist):
9195 Revert previous change.
9196
9197 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9199 * play/snake.el (snake-mode):
9200 * play/mpuz.el (mpuz-mode):
9201 * play/landmark.el (lm-mode):
9202 * play/blackbox.el (blackbox-mode):
9203 * play/5x5.el (5x5-mode):
9204 * obsolete/options.el (Edit-options-mode):
9205 * net/quickurl.el (quickurl-list-mode):
9206 * net/newst-treeview.el (newsticker-treeview-mode):
9207 * mail/rmailsum.el (rmail-summary-mode):
9208 * mail/mspools.el (mspools-mode):
9209 * locate.el (locate-mode):
9210 * ibuffer.el (ibuffer-mode):
9211 * emulation/ws-mode.el (wordstar-mode):
9212 * emacs-lisp/debug.el (debugger-mode):
9213 * array.el (array-mode):
9214 * net/eudc.el (eudc-mode): Use define-derived-mode.
9215 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9216 Move initialization into declaration.
9217 (mairix-searches-mode): Use define-derived-mode.
9218 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9219 (eudc-edit-hotlist): Use dolist.
9220 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9221 (Man-mode): Use define-derived-mode.
9222 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9223 (Info-edit-mode): Use define-derived-mode.
9224 (Info-cease-edit): Use Info-mode.
9225 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9226 into declaration.
9227 (eshell-mode): Use define-derived-mode.
9228 * chistory.el (command-history-mode-map): Rename from
9229 command-history-map.
9230 (command-history-mode): Use define-derived-mode.
9231 (Command-history-setup): Remove function.
9232 * calc/calc.el (calc-trail-mode-map): New var.
9233 (calc-trail-mode): Use define-derived-mode.
9234 (calc-trail-buffer): Set calc-main-buffer manually.
9235 * bookmark.el (bookmark-insert-annotation): New function.
9236 (bookmark-edit-annotation): Use it.
9237 (bookmark-edit-annotation-mode): Make it a proper major mode.
9238 (bookmark-send-edited-annotation): Use derived-mode-p.
9239 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9240 closer to its ideal place. Use \' to match EOS.
9241
9242 * profiler.el (profiler-calltree-find): Use function-equal.
9243
9244 2013-09-10 Glenn Morris <rgm@gnu.org>
9245
9246 * files.el (interpreter-mode-alist): Convert to regexps.
9247 (set-auto-mode): Adapt for this. (Bug#15306)
9248 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9249 Comment out unused variable.
9250 * progmodes/cc-mode.el (interpreter-mode-alist):
9251 * progmodes/python.el (interpreter-mode-alist):
9252 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9253 * progmodes/sh-script.el (sh-set-shell):
9254 No longer use interpreter-mode-alist to get list of shells.
9255
9256 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9257
9258 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * simple.el: Use set-temporary-overlay-map for universal-argument.
9261 (universal-argument-map): Don't use default-bindings (bug#15317).
9262 Bind switch-frame explicitly. Replace universal-argument-minus with
9263 a conditional binding.
9264 (universal-argument-num-events, saved-overriding-map): Remove.
9265 (restore-overriding-map): Remove.
9266 (universal-argument--mode): Rename from save&set-overriding-map,
9267 and rewrite.
9268 (universal-argument, universal-argument-more, negative-argument)
9269 (digit-argument): Adjust accordingly.
9270 (universal-argument-minus): Remove.
9271 (universal-argument-other-key): Remove.
9272
9273 * subr.el (with-demoted-errors): Add `format' argument.
9274
9275 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9276
9277 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9278 `tramp-cleanup-connection'.
9279
9280 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9281 parameters KEEP-DEBUG and KEEP-PASSWORD.
9282
9283 * net/tramp.el (tramp-file-name-handler):
9284 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9285 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9286 (tramp-maybe-open-connection):
9287 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9288 Use `tramp-cleanup-connection'.
9289
9290 * net/tramp-sh.el (tramp-maybe-open-connection):
9291 Catch 'uname-changed inside the progress reporter.
9292
9293 2013-09-10 Glenn Morris <rgm@gnu.org>
9294
9295 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9296
9297 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9298 returns "alternate access method" in mode (eg "-rw-r--r--.").
9299
9300 2013-09-08 Glenn Morris <rgm@gnu.org>
9301
9302 * saveplace.el (load-save-place-alist-from-file):
9303 Demote errors. (Bug#15305)
9304
9305 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9306
9307 Improve compatibility with older Emacsen, and XEmacs.
9308
9309 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9310 only if it is bound. It isn't for XEmacs.
9311 (with-tramp-progress-reporter): Do not let-bind `result'.
9312 This yields to scoping errors in XEmacs.
9313 (tramp-handle-make-auto-save-file-name): New function, moved from
9314 tramp-sh.el.
9315
9316 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9317 for `make-auto-save-file-name'.
9318 (tramp-adb--gnu-switches-to-ash):
9319 Use `tramp-compat-replace-regexp-in-string'.
9320
9321 * net/tramp-cache.el (tramp-cache-print): Call
9322 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9323
9324 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9325 bound. It isn't for XEmacs.
9326
9327 * net/tramp-compat.el (tramp-compat-copy-file):
9328 Catch `wrong-number-of-arguments' error.
9329 (tramp-compat-replace-regexp-in-string): New defun.
9330
9331 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9332 for `make-auto-save-file-name'.
9333 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9334 `copy-file'.
9335 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9336 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9337 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9338
9339 * net/tramp-gw.el (tramp-gw-open-network-stream):
9340 Use `tramp-compat-replace-regexp-in-string'.
9341
9342 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9343 Call `tramp-handle-make-auto-save-file-name'.
9344 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9345 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9346 (tramp-sh-file-inotifywait-process-filter):
9347 Use `tramp-compat-replace-regexp-in-string'.
9348 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9349
9350 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9351 for `make-auto-save-file-name'.
9352 (tramp-smb-handle-copy-directory):
9353 Call `tramp-compat-replace-regexp-in-string'.
9354 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9355 (tramp-smb-handle-copy-file): Improve error message.
9356 (tramp-smb-handle-rename-file): Rename directly only in case
9357 `newname' does not exist yet. This is a restriction of smbclient.
9358 (tramp-smb-maybe-open-connection): Rerun the function only when
9359 `auth-sources' is non-nil.
9360
9361 2013-09-08 Kenichi Handa <handa@gnu.org>
9362
9363 * international/characters.el: Set category "^" (Combining) for
9364 more characters.
9365
9366 2013-09-07 Alan Mackenzie <acm@muc.de>
9367
9368 Correctly fontify Java class constructors.
9369 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9370 in Java Mode.
9371 (c-recognize-typeless-decls): Set the Java value to t.
9372 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9373 While handling a "(", add a check for, effectively, Java, and handle a
9374 "typeless" declaration there.
9375
9376 2013-09-07 Roland Winkler <winkler@gnu.org>
9377
9378 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9379 field subtitle for entry type book.
9380
9381 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * minibuffer.el: Make minibuffer-complete call completion-in-region
9384 rather than other way around.
9385 (completion--some, completion-pcm--find-all-completions):
9386 Don't delay signals when debugging.
9387 (minibuffer-completion-contents): Beware fields within the
9388 minibuffer contents.
9389 (completion-all-sorted-completions): Use defvar-local.
9390 (completion--do-completion, completion--cache-all-sorted-completions)
9391 (completion-all-sorted-completions, minibuffer-force-complete):
9392 Add args `beg' and `end'.
9393 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9394 (minibuffer-complete): Use completion-in-region.
9395 (completion-complete-and-exit): New fun, extracted from
9396 minibuffer-complete-and-exit.
9397 (minibuffer-complete-and-exit): Use it.
9398 (completion--complete-and-exit): Rename from
9399 minibuffer--complete-and-exit.
9400 (completion-in-region--single-word): New function, extracted from
9401 minibuffer-complete-word.
9402 (minibuffer-complete-word): Use it.
9403 (display-completion-list): Make `common-substring' argument obsolete.
9404 (completion--in-region): Call completion--in-region-1 instead of
9405 minibuffer-complete.
9406 (completion-help-at-point): Pass boundaries to
9407 minibuffer-completion-help as args rather than via an overlay.
9408 (completion-pcm--string->pattern): Use `any-delim'.
9409 (completion-pcm--optimize-pattern): New function.
9410 (completion-pcm--pattern->regex): Handle `any-delim'.
9411 * icomplete.el (icomplete-forward-completions)
9412 (icomplete-backward-completions, icomplete-completions):
9413 Adjust calls to completion-all-sorted-completions and
9414 completion--cache-all-sorted-completions.
9415 (icomplete-with-completion-tables): Default to t.
9416 * emacs-lisp/crm.el (crm--current-element): Rename from
9417 crm--select-current-element. Don't put an overlay but return the
9418 boundaries instead.
9419 (crm--completion-command): Take two new args to bind to the boundaries.
9420 (crm-completion-help): Adjust accordingly.
9421 (crm-complete): Use completion-in-region.
9422 (crm-complete-word): Use completion-in-region--single-word.
9423 (crm-complete-and-exit): Use completion-complete-and-exit.
9424
9425 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9428 than dynamically.
9429
9430 2013-09-06 Juri Linkov <juri@jurta.org>
9431
9432 * info.el (Info-display-images-node): When image file doesn't exist
9433 display text version of the image if it's provided in the Info file.
9434 Otherwise, display the location of missing image from SRC attribute.
9435 Add help-echo text property from ALT attribute. (Bug#15279)
9436
9437 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9440 (edit-abbrevs-mode): Use define-derived-mode.
9441
9442 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9443 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9444 that it's defined.
9445 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9446 Use define-derived-mode.
9447
9448 * epg.el (epg-start-encrypt): Minor CSE simplification.
9449
9450 2013-09-06 William Xu <william.xwl@gmail.com>
9451
9452 * arc-mode.el: Add support for 7za (bug#15264).
9453 (archive-7z-program): New var.
9454 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9455 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9456 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9457
9458 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9459
9460 Remove URL syntax.
9461
9462 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9463 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9464 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9465 (tramp-postfix-host-format, tramp-file-name-regexp)
9466 (tramp-completion-file-name-regexp)
9467 (tramp-completion-dissect-file-name)
9468 (tramp-handle-substitute-in-file-name): Remove 'url case.
9469 (tramp-file-name-regexp-url)
9470 (tramp-completion-file-name-regexp-url): Remove constants.
9471
9472 2013-09-06 Glenn Morris <rgm@gnu.org>
9473
9474 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9475
9476 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9477
9478 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9479 keywords" below "here-doc beginnings" (Bug#15270).
9480
9481 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * subr.el (pop): Use `car-safe'.
9484 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9485 to detect unused `pop' return value.
9486
9487 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9488 var `block-regexp'.
9489 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9490 (python-fill-string): Remove unused var `marker'.
9491 (python-skeleton-add-menu-items): Remove unused var `items'.
9492
9493 * international/mule-cmds.el: Require CL.
9494 (find-coding-systems-for-charsets): Avoid add-to-list.
9495 (sanitize-coding-system-list): New function, extracted from
9496 select-safe-coding-system-interactively.
9497 (select-safe-coding-system-interactively): Use it.
9498 (read-input-method-name): Accept symbols for `default'.
9499
9500 * emacs-lisp/advice.el (defadvice): Add indent rule.
9501
9502 2013-09-05 Daniel Hackney <dan@haxney.org>
9503
9504 * dired-x.el:
9505 * net/ange-ftp.el:
9506 * net/browse-url.el:
9507 * net/dbus.el:
9508 * net/eudc.el:
9509 * net/eudcb-ldap.el:
9510 * net/eww.el:
9511 * net/imap.el:
9512 * printing.el:
9513 * vc/ediff-diff.el:
9514 * vc/ediff-init.el:
9515 * vc/ediff-merg.el:
9516 * vc/ediff-mult.el:
9517 * vc/ediff-util.el:
9518 * vc/ediff-wind.el:
9519 * vc/ediff.el:
9520 * vc/emerge.el:
9521 * vc/pcvs.el:
9522 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9523 byte compiler. Remove some unused let-bound variables.
9524
9525 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9528 a "ref-cell", since it gets better optimized (bug#14883).
9529
9530 2013-09-05 Glenn Morris <rgm@gnu.org>
9531
9532 * progmodes/cc-awk.el (c-forward-sws): Declare.
9533
9534 2013-09-04 Glenn Morris <rgm@gnu.org>
9535
9536 * generic-x.el [rul-generic-mode]: Require cc-mode.
9537 (c++-mode-syntax-table): Declare.
9538 (rul-generic-mode-syntax-table): Init in the defvar.
9539
9540 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9543 (vc-do-command, vc-set-async-update):
9544 * vc/vc-mtn.el (vc-mtn-dir-status):
9545 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9546 (vc-hg-pull, vc-hg-merge-branch):
9547 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9548 (vc-git-merge-branch):
9549 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9550 (vc-cvs-dir-status-files):
9551 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9552 (vc-bzr-dir-status-files):
9553 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9554 * vc/vc-annotate.el: Use lexical-binding.
9555 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9556 (vc-sentinel-movepoint): Declare.
9557 (vc-annotate): Don't use `goto-line'.
9558 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9559 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9560 (vc-sentinel-movepoint): Declare.
9561 * vc/vc-svn.el: Use lexical-binding.
9562 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9563 * vc/vc-sccs.el:
9564 * vc/vc-rcs.el: Use lexical-binding.
9565
9566 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9567 `deleted'. Don't drop errors silently.
9568
9569 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9570
9571 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9572
9573 * vc/vc.el (vc-ignore): Rewrite.
9574 (vc-default-ignore): New function.
9575 (vc-default-ignore-completion-table): Use find-ignore-file.
9576
9577 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9578 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9579 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9580 Remove. Most code moved to vc.el.
9581
9582 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9585 * net/tramp-smb.el (tramp-smb-get-file-entries):
9586 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9587 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9588
9589 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9590 Update call to it.
9591 (eww-change-select): Remove unused var `properties'.
9592 (eww-make-unique-file-name): Remove unused var `base'.
9593
9594 * finder.el (finder-compile-keywords): Don't mess with windows.
9595
9596 * calculator.el (calculator-funcall): Fix typo in last change.
9597
9598 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9599
9600 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9601 <pkg>-autoloads.el file stop us.
9602
9603 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9604 warnings, and factor out common code.
9605
9606 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9607
9608 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9609 two-character operators and whether the character preceding them
9610 changes their meaning (Bug#15208).
9611
9612 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9613
9614 Format code sent to Python shell for robustness.
9615 * progmodes/python.el (python-shell-buffer-substring):
9616 New function.
9617 (python-shell-send-region, python-shell-send-buffer): Use it.
9618
9619 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9620
9621 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9622 * net/tramp.el (tramp-user-error): ... here.
9623 (tramp-find-method, tramp-check-proper-host)
9624 (tramp-dissect-file-name, tramp-debug-message)
9625 (tramp-handle-shell-command):
9626 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9627 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9628
9629 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9630
9631 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9632
9633 * avoid.el (mouse-avoidance-point-position)
9634 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9635 returns nil.
9636
9637 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9638
9639 * progmodes/python.el (python-shell-completion-get-completions):
9640 Drop use of deleted `comint-last-prompt-overlay'.
9641 (python-nav-if-name-main): New command.
9642
9643 2013-09-01 Glenn Morris <rgm@gnu.org>
9644
9645 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9646 Avoid leading space in $wins. Otherwise the sed command used by
9647 eg compile-main ends up containing "/*.el". (Bug#15170)
9648
9649 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9650
9651 2013-08-30 Glenn Morris <rgm@gnu.org>
9652
9653 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9654 Fix is-this-a-directory logic. (Bug#15220)
9655
9656 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * textmodes/css-mode.el: Use SMIE.
9659 (css-smie-grammar): New var.
9660 (css-smie--forward-token, css-smie--backward-token)
9661 (css-smie-rules): New functions.
9662 (css-mode): Use them.
9663 (css-navigation-syntax-table): Remove var.
9664 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9665 (css-indent-calculate, css-indent-line): Remove functions.
9666
9667 Misc changes to reduce use of `(lambda...); and other cleanups.
9668 * cus-edit.el: Use lexical-binding.
9669 (customize-push-and-save, customize-apropos)
9670 (custom-buffer-create-internal): Use closures.
9671 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9672 * progmodes/ada-xref.el: Use setq.
9673 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9674 * dframe.el: Use lexical-binding.
9675 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9676 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9677 * descr-text.el: Use lexical-binding.
9678 (describe-text-widget, describe-text-sexp, describe-property-list):
9679 Use closures.
9680 * comint.el (comint-history-isearch-push-state): Use a closure.
9681 * calculator.el: Use lexical-binding.
9682 (calculator-number-to-string): Make it work with lexical-binding.
9683 (calculator-funcall): Same and use cl-letf.
9684
9685 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9686 (lisp--company-doc-string, lisp--company-location): New functions.
9687 (lisp-completion-at-point): Use them to improve Company support.
9688
9689 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9690 params of lambda expressions.
9691 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9692 (ruby-smie--opening-pipe-p): New function.
9693 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9694 symbols and matched |...| for formal params.
9695 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9696 from being treated as hanging. Handle "rescue".
9697
9698 2013-08-29 Glenn Morris <rgm@gnu.org>
9699
9700 * progmodes/cc-engine.el (c-pull-open-brace):
9701 Move definition before use.
9702
9703 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9706 are immutable. Don't use `unsafe' any more.
9707 (cl--defsubst-expand): Don't substitute at the same time as keeping
9708 a residual unused let-binding. Don't use `unsafe' any more.
9709
9710 2013-08-29 Glenn Morris <rgm@gnu.org>
9711
9712 * calendar/cal-china.el (calendar-chinese-year-cache):
9713 Recenter on 2015.
9714
9715 * nxml/nxml-util.el (nxml-debug-clear-inside):
9716 Use cl-loop rather than loop.
9717
9718 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9719
9720 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9721
9722 2013-08-28 Glenn Morris <rgm@gnu.org>
9723
9724 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9725
9726 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9727
9728 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9729
9730 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * simple.el (repeat-complex-command--called-interactively-skip):
9733 New function.
9734 (repeat-complex-command): Use it (bug#14136).
9735
9736 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9737 (c-define-abbrev-table): Add `doc' argument.
9738 (c-mode-abbrev-table, c++-mode-abbrev-table)
9739 (objc-mode-abbrev-table, java-mode-abbrev-table)
9740 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9741 (awk-mode-abbrev-table): Use it.
9742 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9743 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9744 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9745 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9746 Move initialization into the declaration; and remove any
9747 autoload cookie.
9748
9749 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9750 and dynamic let binding.
9751
9752 * vc/smerge-mode.el: Remove redundant :group args.
9753
9754 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9755 to load-path.
9756
9757 2013-08-28 Juri Linkov <juri@jurta.org>
9758
9759 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9760 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9761 (isearch-other-meta-char): Handle an undefined shifted printing
9762 character by downshifting it. (Bug#15200)
9763
9764 2013-08-28 Juri Linkov <juri@jurta.org>
9765
9766 * isearch.el (isearch-search): Change regexp error message for
9767 non-regexp searches. (Bug#15166)
9768
9769 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9770
9771 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9772 for portability to hosts where /bin/sh has problems.
9773
9774 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9777
9778 2013-08-27 Juri Linkov <juri@jurta.org>
9779
9780 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9781 in the keyboard macro. (Bug#15126)
9782
9783 2013-08-27 Juri Linkov <juri@jurta.org>
9784
9785 * isearch.el (isearch-quote-char): Comment out converting unibyte
9786 to multibyte, thus syncing with its `quoted-insert' counterpart.
9787 (Bug#15166)
9788
9789 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9790
9791 * window.el (display-buffer-use-some-window): Add missing
9792 argument in call of get-largest-window (Bug#15185).
9793 Reported by Stephen Leake.
9794
9795 2013-08-27 Glenn Morris <rgm@gnu.org>
9796
9797 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9798
9799 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9802 from a matcher-function unless there's no more matches (bug#15161).
9803
9804 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9805
9806 * minibuffer.el: Revert change from 2013-08-20.
9807
9808 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9809 with text property `tramp-default', if appropriate.
9810 (tramp-check-proper-host): New defun.
9811 (tramp-dissect-file-name): Do not check hostname. Revert change
9812 of 2013-03-18.
9813 (tramp-backtrace): Make VEC-OR-PROC optional.
9814
9815 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9816 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9817 * net/tramp-sh.el (tramp-maybe-open-connection):
9818 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9819 Apply `tramp-check-proper-host'.
9820
9821 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9822
9823 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9824 lambda expression in order to have `describe-variable' display it.
9825
9826 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9827
9828 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9829 BUF can be optional. (Bug#15186)
9830
9831 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9832
9833 * progmodes/flymake.el (flymake-get-real-file-name-function):
9834 Fix broken customization. (Bug#15184)
9835
9836 2013-08-25 Alan Mackenzie <acm@muc.de>
9837
9838 Improve indentation of bracelists defined by macros (without "=").
9839
9840 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9841 expansion begins with "{", regard it as bracelist when it doesn't
9842 contain a ";".
9843
9844 Parse C++ inher-intro when there's a template split over 2 lines.
9845
9846 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9847 rigorously the search for "class" etc. followed by ":".
9848
9849 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9850 random languages a regexp which never matches rather than nil.
9851
9852 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9853
9854 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9855 (c-awk-regexp-one-line-possibly-open-char-list-re)
9856 (c-awk-one-line-possibly-open-regexp-re)
9857 (c-awk-one-line-non-syn-ws*-re): Remove.
9858 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9859 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9860 (c-awk-space*-unclosed-regexp-/-re): New constants.
9861 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9862 aren't regexp delimiters.
9863
9864 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9865 handling for a rare situation in AWK Mode involving unterminated
9866 strings/regexps.
9867
9868 2013-08-23 Glenn Morris <rgm@gnu.org>
9869
9870 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9871
9872 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9873
9874 * files.el (create-file-buffer): If the result would begin with
9875 spaces, prepend a "|" instead of removing them. (Bug#15162)
9876
9877 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9880 text-properties (bug#15155).
9881
9882 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9883 exist any more.
9884 (calc-keypad-redraw): Remove unused var `pad'.
9885 (calc-keypad-press): Remove unused var `menu'.
9886
9887 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9888
9889 * window.el (display-buffer-pop-up-frame):
9890 Call pop-up-frame-function with BUFFER current so `make-frame' will
9891 use it as the new frame's buffer (Bug#15133).
9892
9893 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9894
9895 * calendar/timeclock.el: Minor cleanups.
9896 (timeclock-ask-before-exiting, timeclock-use-display-time):
9897 Use `symbol'.
9898 (timeclock-modeline-display): Define as alias before the
9899 actual definition.
9900 (timeclock-mode-line-display): Use define-minor-mode.
9901 (timeclock-day-list-template): Make it a function, add an argument.
9902 (timeclock-day-list-required, timeclock-day-list-length)
9903 (timeclock-day-list-debt, timeclock-day-list-span)
9904 (timeclock-day-list-break): Adjust calls accordingly.
9905
9906 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9909 Use read--expression so that completion works again.
9910
9911 2013-08-21 Sam Steingold <sds@gnu.org>
9912
9913 Add rudimentary inferior shell interaction
9914 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9915 (sh-set-shell): Reset it.
9916 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9917 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9918
9919 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * align.el: Use lexical-binding.
9922 (align-region): Simplify accordingly.
9923
9924 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9925
9926 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9927
9928 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9929 `non-essential' up.
9930
9931 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9932
9933 * net/tramp.el:
9934 * net/tramp-adb.el:
9935 * net/tramp-cmds.el:
9936 * net/tramp-ftp.el:
9937 * net/tramp-gvfs.el:
9938 * net/tramp-gw.el:
9939 * net/tramp-sh.el: Don't wrap external variable declarations by
9940 `eval-when-compile'.
9941
9942 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9943
9944 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9945 now that Emacs supports ImageMagick animations.
9946
9947 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9948
9949 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9950 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9951
9952 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9953
9954 * window.el (mouse-autoselect-window-select): Do autoselect when
9955 mouse pointer is on margin.
9956
9957 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9958
9959 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9960
9961 2013-08-16 Glenn Morris <rgm@gnu.org>
9962
9963 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9964 Handle "Remote Directory" response of some clients. (Bug#15058)
9965
9966 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9967 Tweak warning. (Bug#14926)
9968
9969 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9970 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9971
9972 * image-mode.el (image-mode-map): Add menu items to reverse,
9973 increase, decrease, reset animation speed.
9974 (image--set-speed, image-increase-speed, image-decrease-speed)
9975 (image-reverse-speed, image-reset-speed): New functions.
9976 (image-mode-map): Add bindings for speed commands.
9977
9978 * image.el (image-animate-get-speed, image-animate-set-speed):
9979 New functions.
9980 (image-animate-timeout): Respect image :speed property.
9981
9982 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9985 previous line (bug#15101).
9986 (debugger-eval-expression, debugger-record-expression):
9987 Use read--expression (bug#15102).
9988
9989 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9990
9991 Remove byte compiler warnings, visible when compiling with
9992 `byte-compile-force-lexical-warnings' set to t.
9993
9994 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9995 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9996 (tramp-handle-unhandled-file-name-directory)
9997 (tramp-handle-file-notify-add-watch, tramp-action-login)
9998 (tramp-action-succeed, tramp-action-permission-denied)
9999 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10000 arguments with "_".
10001
10002 * net/tramp-adb.el (tramp-adb-parse-device-names)
10003 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10004 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10005 (tramp-adb-handle-file-truename): Remove unused arguments.
10006
10007 * net/tramp-cache.el (tramp-flush-directory-property)
10008 (tramp-flush-connection-property, tramp-list-connections)
10009 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10010
10011 * net/tramp-compat.el (tramp-compat-make-temp-file):
10012 Rename FILENAME to F.
10013
10014 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10015 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10016 (tramp-zeroconf-parse-workstation-device-names)
10017 (tramp-zeroconf-parse-webdav-device-names)
10018 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10019
10020 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10021 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10022
10023 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10024 arguments.
10025 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10026 (tramp-sh-handle-insert-file-contents-literally)
10027 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10028 with "_".
10029 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10030 Remove unused variables.
10031
10032 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10033 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10034 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10035
10036 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10037 Make them a defconst.
10038 (tramp-uuencode-region): Remove unused variable.
10039
10040 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10041
10042 * frameset.el (frameset--prop-setter): New function.
10043 (frameset-prop): Add gv-setter declaration.
10044 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10045 parameter was already set in FILTERED. Doc fix.
10046 (frameset--record-minibuffer-relationships): Allow saving a
10047 minibufferless frame without its corresponding minibuffer frame.
10048 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10049 frame, if the frame id matches.
10050 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10051 frames before orphaned ones.
10052 (frameset-restore): Warn about orphaned windows, instead of error out.
10053
10054 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10055
10056 * window.el (window-make-atom): Don't overwrite parameter
10057 already present.
10058 (display-buffer-in-atom-window): Handle special case where we
10059 split an already atomic window.
10060 (window--major-non-side-window, display-buffer-in-side-window)
10061 (window--side-check): Ignore minibuffer window when walking
10062 window tree.
10063 (window-deletable-p): Return 'frame only if no other frame uses
10064 our minibuffer window.
10065 (record-window-buffer): Run buffer-list-update-hook.
10066 (split-window): Make sure window--check-frame won't destroy an
10067 existing atomic window in case the new window gets nested
10068 inside.
10069 (display-buffer-at-bottom): Ignore minibuffer window when
10070 walking window tree. Don't split a side window.
10071 (pop-to-buffer): Don't set-buffer here, the select-window call
10072 should do that.
10073 (mouse-autoselect-window-select): Autoselect only if we are in the
10074 text portion of the window.
10075
10076 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10077
10078 * net/shr.el (shr-parse-image-data): New function to grab both the
10079 data itself and the Content-Type.
10080 (shr-put-image): Use it.
10081
10082 * net/eww.el (eww-display-image): Ditto.
10083
10084 * image.el (image-content-type-suffixes): New variable.
10085
10086 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10087
10088 * progmodes/python.el (python-imenu--build-tree)
10089 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10090
10091 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10092
10093 * simple.el (backward-word): Mention the optional argument.
10094
10095 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * frameset.el (frameset--make): Rename constructor from make-frameset.
10098 (frameset-p, frameset-valid-p): Don't autoload.
10099 (frameset-valid-p): Use normal accessors.
10100
10101 2013-08-13 Glenn Morris <rgm@gnu.org>
10102
10103 * progmodes/compile.el (compile-command): Tweak example in doc.
10104 * obsolete/scribe.el (scribe-mode):
10105 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10106
10107 * mail/feedmail.el (feedmail-confirm-outgoing)
10108 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10109
10110 * cus-start.el (truncate-partial-width-windows): Fix type.
10111
10112 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10113
10114 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10115
10116 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * emacs-lisp/timer.el (timer--time-setter): New function.
10119 (timer--time): Use it as gv-setter.
10120
10121 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10122 setter is not a symbol.
10123
10124 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10125
10126 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10127 if sending fails. This makes debugging easier.
10128
10129 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10130
10131 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10132 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10133 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10134
10135 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10136
10137 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10138
10139 2013-08-12 Glenn Morris <rgm@gnu.org>
10140
10141 * format.el (format-annotate-function):
10142 Handle read-only text properties in the source. (Bug#14887)
10143
10144 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10145
10146 * net/eww.el (eww-display-html): Ignore coding system errors.
10147 One web site uses "utf-8lias" as the coding system.
10148
10149 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10150
10151 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10152
10153 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10156 (tutorial--detailed-help): Remove unused local variables.
10157 (tutorial--save-tutorial-to): Use ignore-errors.
10158 (help-with-tutorial): Use looking-at-p.
10159
10160 * view.el (view-buffer-other-window, view-buffer-other-frame):
10161 Mark unused arguments.
10162
10163 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10164 (woman-select-symbol-fonts, woman, woman-find-file)
10165 (woman-insert-file-contents, woman-non-underline-faces):
10166 Use string-match-p.
10167 (woman1-unquote): Move declaration.
10168
10169 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10170 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10171 argument. Remove unused local variable.
10172 (xml-parse-elem-type): Use string-match-p.
10173 (xml-substitute-numeric-entities): Use ignore-errors.
10174
10175 * calculator.el (calculator): Mark unused argument.
10176 (calculator-paste, calculator-quit, calculator-integer-p):
10177 Use ignore-errors.
10178 (calculator-string-to-number, calculator-decimal, calculator-exp)
10179 (calculator-op-or-exp): Use string-match-p.
10180
10181 * dired.el (dired-buffer-more-recently-used-p): Declare.
10182 (dired-insert-set-properties, dired-insert-old-subdirs):
10183 Use ignore-errors.
10184
10185 * dired-aux.el (dired-compress): Use ignore-errors.
10186 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10187 (dired-do-async-shell-command, dired-do-shell-command)
10188 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10189 (dired-insert-subdir-validate): Use string-match-p.
10190 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10191 (dired-add-entry): Use string-match-p, looking-at-p.
10192 (dired-insert-subdir-newpos): Remove unused local variable.
10193
10194 * filenotify.el (file-notify-callback): Remove unused local variable.
10195
10196 * filesets.el (filesets-error): Mark unused argument.
10197 (filesets-which-command-p, filesets-filter-dir-names)
10198 (filesets-directory-files, filesets-get-external-viewer)
10199 (filesets-ingroup-get-data): Use string-match-p.
10200
10201 * find-file.el (ff-other-file-name, ff-other-file-name)
10202 (ff-find-the-other-file, ff-cc-hh-converter):
10203 Remove unused local variables.
10204 (ff-get-file-name): Use string-match-p.
10205 (ff-all-dirs-under): Use ignore-errors.
10206
10207 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10208 (follow-select-if-visible): Remove unused local variable.
10209
10210 * forms.el (read-file-filter): Move declaration.
10211 (forms--make-format, forms--make-parser, forms-insert-record):
10212 Quote function with #'.
10213 (forms--update): Use string-match-p. Quote function with #'.
10214
10215 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10216 (help-make-xrefs): Use looking-at-p.
10217 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10218
10219 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10220 (ibuffer-confirm-operation-on): Use string-match-p.
10221
10222 * msb.el (msb-item-handler, msb-dired-item-handler):
10223 Mark unused arguments.
10224
10225 * ses.el (ses-decode-cell-symbol)
10226 (ses-kill-override): Remove unused local variable.
10227 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10228 (ses-load): Use ignore-errors, looking-at-p.
10229 (ses-jump-safe): Use ignore-errors.
10230 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10231
10232 * tabify.el (untabify, tabify): Mark unused arguments.
10233
10234 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10235 Mark unused argument.
10236 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10237 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10238
10239 * emacs-lisp/timer.el (timer--time): Define setter with
10240 gv-define-setter to avoid deprecation warning.
10241
10242 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10243 (*record-cmpl-statistics-p*): Remove (was commented out).
10244 (cmpl-statistics-block): Remove (body was commented out).
10245 All callers changed.
10246 (add-completions-from-buffer, load-completions-from-file):
10247 Remove unused variables.
10248
10249 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10250
10251 * filecache.el (file-cache-delete-file-list):
10252 Print message only when told so.
10253 (file-cache-files-matching): Use #' in mapconcat argument.
10254
10255 * ffap.el (ffap-url-at-point): Fix reference to variable
10256 thing-at-point-default-mail-uri-scheme.
10257
10258 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * subr.el (define-error): New function.
10261 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10262 error-file-not-found and define with define-error.
10263 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10264 and define with define-error.
10265 * userlock.el (file-locked, file-supersession):
10266 * simple.el (mark-inactive):
10267 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10268 * progmodes/ada-mode.el (ada-mode-errors):
10269 * play/life.el (life-extinct):
10270 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10271 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10272 * nxml/rng-util.el (rng-error):
10273 * nxml/rng-uri.el (rng-uri-error):
10274 * nxml/rng-match.el (rng-compile-error):
10275 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10276 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10277 * nxml/nxml-rap.el (nxml-scan-error):
10278 * nxml/nxml-outln.el (nxml-outline-error):
10279 * net/soap-client.el (soap-error):
10280 * net/gnutls.el (gnutls-error):
10281 * net/ange-ftp.el (ftp-error):
10282 * mpc.el (mpc-proc-error):
10283 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10284 (json-number-format, json-string-escape, json-string-format)
10285 (json-key-format, json-object-format):
10286 * jka-compr.el (compression-error):
10287 * international/quail.el (quail-error):
10288 * international/kkc.el (kkc-error):
10289 * emacs-lisp/ert.el (ert-test-failed):
10290 * calc/calc.el (calc-error, inexact-result, math-overflow)
10291 (math-underflow):
10292 * bookmark.el (bookmark-error-no-filename):
10293 * epg.el (epg-error): Define with define-error.
10294
10295 * time.el (display-time-event-handler)
10296 (display-time-next-load-average): Don't call sit-for since it seems
10297 unnecessary (bug#15045).
10298
10299 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10300 Use #' instead of ' to quote functions.
10301 (checkdoc-output-mode): Use setq-local.
10302 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10303 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10304 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10305 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10306 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10307 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10308 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10309 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10310
10311 * ido.el (ido-completion-help): Fix up compiler warning.
10312
10313 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10314
10315 * frameset.el (frameset-p): Add autoload cookie.
10316 (frameset--jump-to-register): New function, based on code moved from
10317 register.el.
10318 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10319
10320 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10321 (frameset-restore, frameset-save, frameset-session-filter-alist):
10322 Remove declarations.
10323 (register-alist): Doc fix.
10324 (frameset-to-register): Move to frameset.el.
10325 (jump-to-register, describe-register-1): Remove frameset-specific code.
10326
10327 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10328
10329 * allout-widgets.el (allout-widgets-pre-command-business)
10330 (allout-widgets-post-command-business)
10331 (allout-widgets-after-change-handler)
10332 (allout-decorate-item-and-context, allout-set-boundary-marker)
10333 (allout-body-modification-handler)
10334 (allout-graphics-modification-handler): Mark ignored arguments.
10335 (allout-widgets-post-command-business)
10336 (allout-widgets-exposure-change-processor)
10337 (allout-widgets-exposure-undo-processor)
10338 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10339 (allout-parse-item-at-point, allout-decorate-item-guides)
10340 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10341 * allout.el (epa-passphrase-callback-function): Declare.
10342 (allout-overlay-insert-in-front-handler)
10343 (allout-overlay-interior-modification-handler)
10344 (allout-isearch-end-handler, allout-chart-siblings)
10345 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10346 (allout-yank-processing, allout-process-exposed)
10347 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10348 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10349 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10350 (lisp-indent-defform): Mark ignored arguments.
10351 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10352 (calculate-lisp-indent): Remove unused variables.
10353 * international/characters.el (indian-2-column, arabic-2-column)
10354 (tibetan): Mark ignored arguments.
10355 (use-cjk-char-width-table): Mark ignored arguments.
10356 Remove unused variables.
10357 * international/fontset.el (build-default-fontset-data)
10358 (x-compose-font-name, create-fontset-from-fontset-spec):
10359 Mark ignored arguments.
10360 (fontset-plain-name): Remove unused variables.
10361 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10362 (keyboard-coding-system): Mark ignored arguments.
10363 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10364 * help.el (resize-temp-buffer-window):
10365 * window.el (display-buffer-in-major-side-window)
10366 (display-buffer-in-side-window, display-buffer-in-previous-window):
10367 Remove unused variables.
10368 * isearch.el (isearch-forward-symbol):
10369 * version.el (emacs-bzr-version-bzr):
10370 * international/mule-cmds.el (current-language-environment):
10371 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10372 (x-handle-display):
10373 * term/pc-win.el (x-list-fonts, x-display-planes)
10374 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10375 (x-server-version, x-display-screens, x-display-mm-height)
10376 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10377 (x-selection-owner-p, x-own-selection-internal)
10378 (x-disown-selection-internal, x-get-selection-internal)
10379 (msdos-initialize-window-system):
10380 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10381 * term/x-win.el (x-handle-no-bitmap-icon):
10382 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10383 (vc-default-find-file-hook, vc-default-extra-menu):
10384 Mark ignored arguments.
10385
10386 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10387
10388 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10389 break-condition in the context of the debugged code (bug#12685).
10390
10391 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10392
10393 * comint.el:
10394 Do not use an overlay to highlight the last prompt. (Bug#14744)
10395 (comint-mode): Make comint-last-prompt buffer local.
10396 (comint-last-prompt): New variable.
10397 (comint-last-prompt-overlay): Remove. Superseded by
10398 comint-last-prompt.
10399 (comint-snapshot-last-prompt, comint-output-filter):
10400 Use comint-last-prompt.
10401
10402 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10403
10404 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10405 (frameset-save): Check validity of the resulting frameset.
10406
10407 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10408
10409 * ido.el (ido-record-command): Add doc string.
10410
10411 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10412
10413 * frameset.el (frameset): Do not disable creation of the default
10414 frameset-p predicate. Doc fix.
10415 (frameset-valid-p): New function, copied from the old predicate-p.
10416 Add additional checks.
10417 (frameset-restore): Check with frameset-valid-p.
10418 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10419 (frameset-name, frameset-description, frameset-properties)
10420 (frameset-states): Add docstring.
10421 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10422 (frameset-filter-alist): Doc fixes.
10423
10424 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10425
10426 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10427
10428 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10431 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10432 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10433 (byte-compile-normal-call): Remove obsolescence check.
10434
10435 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10436
10437 * frameset.el (frameset-restore): Doc fix.
10438
10439 * register.el (frameset-frame-id, frameset-frame-with-id)
10440 (frameset-p, frameset-restore, frameset-save): Declare.
10441 (register-alist): Document framesets.
10442 (frameset-session-filter-alist): Declare.
10443 (frameset-to-register): New function.
10444 (jump-to-register): Implement jumping to framesets. Doc fix.
10445 (describe-register-1): Describe framesets.
10446
10447 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10448
10449 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10450
10451 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10452 Use lexical-binding.
10453
10454 * frameset.el (frameset): Use type vector, not list (incompatible
10455 change). Do not declare a new constructor, use the default one.
10456 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10457 `name' and `description', respectively, and add read-only slot
10458 `timestamp'. Doc fixes.
10459 (frameset-copy, frameset-persistent-filter-alist)
10460 (frameset-filter-alist, frameset-switch-to-gui-p)
10461 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10462 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10463 (frameset-filter-iconified, frameset-keep-original-display-p):
10464 Doc fixes.
10465 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10466 Rename from frameset-filter-(save|restore)-param. All callers changed.
10467 Doc fix.
10468 (frameset-p): Adapt to change to vector and be more thorough.
10469 Change arg name to OBJECT. Doc fix.
10470 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10471 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10472 All callers changed.
10473 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10474 All callers changed.
10475 (frameset--record-minibuffer-relationships): Rename from
10476 frameset--process-minibuffer-frames. All callers changed.
10477 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10478 Use new default constructor (again). Doc fix.
10479 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10480 All callers changed.
10481 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10482 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10483 Doc fix.
10484 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10485 PARAMETERS and WINDOW-STATE, respectively.
10486 (frameset-restore): Add new keyword argument PREDICATE.
10487 Reset frameset--target-display to nil. Doc fix.
10488
10489 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10492 (bat-mode): Use it.
10493 (bat-mode-syntax-table): Mark \n as end-of-comment.
10494 (bat-font-lock-keywords): Remove comment rule.
10495
10496 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10497 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10498
10499 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10500 (byte-compile-callargs-warn): Use `push'.
10501 (byte-compile-arglist-warn): Ignore higher-order "calls".
10502 (byte-compile-file-form-autoload): Use `pcase'.
10503 (byte-compile-function-form): If quoting a symbol, check that it exists.
10504
10505 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10506
10507 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10508 and add a few popular commands found in batch files.
10509 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10510 (dos-mode): Doc fixes.
10511
10512 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10515 (dos-mode): Use setq-local. Add space after "rem".
10516 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10517 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10518
10519 2013-08-07 Arni Magnusson <arnima@hafro.is>
10520
10521 * progmodes/dos.el: New file.
10522 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10523 dos-mode.
10524
10525 2013-08-06 Glenn Morris <rgm@gnu.org>
10526
10527 * calendar/calendar.el: Add new faces, and day-header-array.
10528 (calendar-weekday-header, calendar-weekend-header)
10529 (calendar-month-header): New faces.
10530 (calendar-day-header-construct): New function.
10531 (calendar-day-header-width): Also :set calendar-day-header-array.
10532 (calendar-american-month-header, calendar-european-month-header)
10533 (calendar-iso-month-header): Use calendar- faces.
10534 (calendar-generate-month):
10535 Use calendar-day-header-array for day headers; apply faces to them.
10536 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10537 (calendar-abbrev-construct): Add optional maxlen argument.
10538 (calendar-day-name-array): Doc fix.
10539 (calendar-day-name-array, calendar-abbrev-length)
10540 (calendar-day-abbrev-array):
10541 Also :set calendar-day-header-array, and maybe redraw.
10542 (calendar-day-header-array): New option. (Bug#15007)
10543 (calendar-font-lock-keywords): Set to nil and make obsolete.
10544 (calendar-day-name): Add option to use header array.
10545
10546 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10547
10548 * net/shr.el (shr-render-td): Remove debugging.
10549 (shr-render-td): Make width computation consistent by defaulting
10550 all zero-width columns to 10 characters. This may not be optimal,
10551 but it's at least consistent.
10552 (shr-make-table-1): Redo last change to fix the real problem in
10553 colspan handling.
10554
10555 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10556
10557 * files.el (cache-long-line-scans):
10558 Make obsolete alias to `cache-long-scans'.
10559
10560 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10561
10562 * frameset.el (frameset, frameset-filter-alist)
10563 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10564 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10565 (frameset-compute-pos): Rename from frameset--compute-pos,
10566 and add docstring.
10567 (frameset-move-onscreen): Use frameset-compute-pos.
10568 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10569
10570 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10571 Fix typos in docstrings.
10572
10573 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10574
10575 * frame.el (get-other-frame): Tiny cleanup.
10576
10577 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10578
10579 * vc/vc.el (vc-default-ignore-completion-table):
10580 Silence byte-compiler warning.
10581
10582 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10583 slot, which can indeed be nil.
10584 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10585 Move entry for `left' from persistent to live filter alist.
10586 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10587 Doc fixes.
10588 (frameset-filter-params): When restoring a frame, copy items added to
10589 `filtered', to avoid unwittingly modifying the original parameters.
10590 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10591 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10592
10593 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10594 to use looking-at-p instead of looking-at. (Bug#15028)
10595
10596 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 Revert introduction of isearch-filter-predicates (bug#14714).
10599 Rely on add-function instead.
10600 * isearch.el (isearch-filter-predicates): Rename it back to
10601 isearch-filter-predicate.
10602 (isearch-message-prefix): Use advice-function-mapc and advice
10603 properties to get the isearch-message-prefix.
10604 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10605 instead of run-hook-with-args-until-failure.
10606 (isearch-filter-visible): Not obsolete any more.
10607 * loadup.el: Preload nadvice.
10608 * replace.el (perform-replace): Revert to funcall
10609 instead of run-hook-with-args-until-failure.
10610 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10611 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10612 dired-isearch-filenames-toggle; make it into a proper minor mode.
10613 Use add/remove-function.
10614 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10615 Call the minor-mode rather than add/remove-hook.
10616 (dired-isearch-filter-filenames):
10617 Remove isearch-message-prefix property.
10618 * info.el (Info--search-loop): New function, extracted from Info-search.
10619 Funcall isearch-filter-predicate instead of
10620 run-hook-with-args-until-failure isearch-filter-predicates.
10621 (Info-search): Use it.
10622 (Info-mode): Use isearch-filter-predicate instead of
10623 isearch-filter-predicates.
10624
10625 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10626
10627 Do not call to `selected-window' where it is assumed by default.
10628 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10629 `window-hscroll', `window-width', `window-height', `window-buffer',
10630 `window-frame', `window-start', `window-point', `next-window'
10631 and `window-display-table'.
10632 * abbrev.el (abbrev--default-expand):
10633 * bs.el (bs--show-with-configuration):
10634 * buff-menu.el (Buffer-menu-mouse-select):
10635 * calc/calc.el (calc):
10636 * calendar/calendar.el (calendar-generate-window):
10637 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10638 (diary-make-entry):
10639 * comint.el (send-invisible, comint-dynamic-complete-filename)
10640 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10641 * completion.el (complete):
10642 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10643 * disp-table.el (describe-current-display-table):
10644 * doc-view.el (doc-view-insert-image):
10645 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10646 * ehelp.el (with-electric-help):
10647 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10648 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10649 * emacs-lisp/helper.el (Helper-help-scroller):
10650 * emulation/cua-base.el (cua--post-command-handler-1):
10651 * eshell/esh-mode.el (eshell-output-filter):
10652 * ffap.el (ffap-gnus-wrapper):
10653 * help-macro.el (make-help-screen):
10654 * hilit-chg.el (highlight-compare-buffers):
10655 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10656 * hl-line.el (global-hl-line-highlight):
10657 * icomplete.el (icomplete-simple-completing-p):
10658 * isearch.el (isearch-done):
10659 * jit-lock.el (jit-lock-stealth-fontify):
10660 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10661 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10662 * mpc.el (mpc-tagbrowser, mpc):
10663 * net/rcirc.el (rcirc-any-buffer):
10664 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10665 * play/landmark.el (landmark-max-width, landmark-max-height):
10666 * play/zone.el (zone):
10667 * progmodes/compile.el (compilation-goto-locus):
10668 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10669 * progmodes/etags.el (find-tag-other-window):
10670 * progmodes/fortran.el (fortran-column-ruler):
10671 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10672 * progmodes/verilog-mode.el (verilog-point-text):
10673 * reposition.el (reposition-window):
10674 * rot13.el (toggle-rot13-mode):
10675 * server.el (server-switch-buffer):
10676 * shell.el (shell-dynamic-complete-command)
10677 (shell-dynamic-complete-environment-variable):
10678 * simple.el (insert-buffer, set-selective-display)
10679 (delete-completion-window):
10680 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10681 (speedbar-recenter):
10682 * startup.el (fancy-splash-head):
10683 * textmodes/ispell.el (ispell-command-loop):
10684 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10685 * tutorial.el (help-with-tutorial):
10686 * vc/add-log.el (add-change-log-entry):
10687 * vc/compare-w.el (compare-windows):
10688 * vc/ediff-help.el (ediff-indent-help-message):
10689 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10690 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10691 (ediff-setup-control-frame):
10692 * vc/emerge.el (emerge-position-region):
10693 * vc/pcvs-util.el (cvs-bury-buffer):
10694 * window.el (walk-windows, mouse-autoselect-window-select):
10695 * winner.el (winner-set-conf, winner-undo): Related users changed.
10696
10697 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10698
10699 * frameset.el (frameset--set-id): Doc fix.
10700 (frameset-frame-id, frameset-frame-id-equal-p)
10701 (frameset-locate-frame-id): New functions.
10702 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10703 (frameset-restore): Use them.
10704
10705 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10706
10707 Do not call to `selected-frame' where it is assumed by default.
10708 Affected functions are `raise-frame', `redraw-frame',
10709 `frame-first-window', `frame-terminal' and `delete-frame'.
10710 * calendar/appt.el (appt-disp-window):
10711 * epg.el (epg-wait-for-completion):
10712 * follow.el (follow-delete-other-windows-and-split)
10713 (follow-avoid-tail-recenter):
10714 * international/mule.el (set-terminal-coding-system):
10715 * mail/rmail.el (rmail-mail-return):
10716 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10717 * progmodes/f90.el (f90-add-imenu-menu):
10718 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10719 * server.el (server-switch-buffer):
10720 * simple.el (delete-completion-window):
10721 * talk.el (talk):
10722 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10723 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10724 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10725 * vc/ediff.el (ediff-documentation): Related users changed.
10726 * frame.el (selected-terminal): Remove the leftover.
10727
10728 2013-08-05 Glenn Morris <rgm@gnu.org>
10729
10730 * calendar/calendar.el (calendar-generate-month):
10731 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10732 (calendar-generate-month, calendar-font-lock-keywords):
10733 Fix for calendar-day-header-width > length of any day name.
10734
10735 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10736
10737 * desktop.el (desktop-clear): Use new name of sort predicate.
10738
10739 * frameset.el (frameset): Add docstring. Move :version property to its
10740 own `version' slot.
10741 (frameset-copy): Rename from copy-frameset.
10742 (frameset-p): Check more thoroughly.
10743 (frameset-prop): Do not check for :version, which is no longer a prop.
10744 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10745 Use new :never value instead of t.
10746 (frameset-filter-alist): Expand and clarify docstring.
10747 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10748 (frameset-filter-minibuffer, frameset-filter-save-param)
10749 (frameset-filter-restore-param, frameset-filter-iconified):
10750 Add pointer to docstring of frameset-filter-alist.
10751 (frameset-filter-params): Rename filter values to be more meaningful:
10752 :never instead of t, and reverse the meanings of :save and :restore.
10753 (frameset--process-minibuffer-frames): Clarify error message.
10754 (frameset-save): Avoid unnecessary and confusing call to framep.
10755 Use new BOA constructor for framesets.
10756 (frameset--reuse-list): Doc fix.
10757 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10758 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10759 (frameset-minibufferless-first-p): Doc fix.
10760 Rename from frameset-sort-frames-for-deletion.
10761 (frameset-restore): Doc fixes. Use new function names.
10762 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10763
10764 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10765
10766 * desktop.el (desktop-restore-forces-onscreen)
10767 (desktop-restore-reuses-frames): Document :keyword constant values.
10768 (desktop-filter-parameters-alist): Remove, now identical to
10769 frameset-filter-alist.
10770 (desktop--filter-tty*): Remove, moved to frameset.el.
10771 (desktop-save-frameset, desktop-restore-frameset):
10772 Do not pass :filters argument.
10773
10774 * frameset.el (frameset-live-filter-alist)
10775 (frameset-persistent-filter-alist): New variables.
10776 (frameset-filter-alist): Use them. Add autoload cookie.
10777 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10778 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10779 `frameset--id' (it's supposed to be internal to frameset.el).
10780 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10781 (frameset--initial-params): New function.
10782 (frameset--get-frame): Use it. Doc fix.
10783 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10784 Accept :all, not 'all.
10785 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10786 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10787 with fbound symbols. Fix frame id matching, and remove matching ids if
10788 the frame being restored is deleted. Obey :delete.
10789
10790 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10791
10792 * subr.el (macrop): New function.
10793 (text-clone--maintaining): New var.
10794 (text-clone--maintain): Rename from text-clone-maintain. Use it
10795 instead of inhibit-modification-hooks.
10796
10797 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10798 a proxy, so as handle autoloads and redefinitions of the target.
10799 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10800
10801 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10802 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10803 (pcase--mutually-exclusive-p): New function.
10804 (pcase--split-consp): Use it.
10805 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10806 mutually exclusive with the current predicate.
10807
10808 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10809 (edebug-macrop): Remove. Use `macrop' instead.
10810 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10811 (ad-macro-p):
10812 * eshell/esh-cmd.el (eshell-macrop):
10813 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10814
10815 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10816
10817 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10818 (advice-mapc): New function, using it.
10819 (advice-function-member-p): New function.
10820 (advice--normalize): Store the cdr in advice--saved-rewrite since
10821 that's the part that will be changed.
10822 (advice--symbol-function): New function.
10823 (advice-remove): Handle removal before the function is defined.
10824 Adjust to new advice--saved-rewrite.
10825 (advice-member-p): Use advice-function-member-p and
10826 advice--symbol-function.
10827
10828 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10829
10830 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10831 (frameset-filter-minibuffer): Doc fix.
10832 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10833 (frameset--set-id, frameset--process-minibuffer-frames)
10834 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10835 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10836
10837 * desktop.el (desktop-clear): Only delete frames when called
10838 interactively and desktop-restore-frames is non-nil. Doc fix.
10839 (desktop-read): Set desktop-saved-frameset to nil.
10840
10841 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10842
10843 * vc/vc.el (vc-ignore): Rewrite.
10844 (vc-default-ignore-completion-table, vc--read-lines)
10845 (vc--add-line, vc--remove-regexp): New functions.
10846
10847 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10848 (vc-svn-ignore-completion-table): New function.
10849
10850 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10851 (vc-hg-ignore-completion-table)
10852 (vc-hg-find-ignore-file): New functions.
10853
10854 * vc/vc-git.el (vc-git-ignore): Rewrite.
10855 (vc-git-ignore-completion-table)
10856 (vc-git-find-ignore-file): New functions.
10857
10858 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10859
10860 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10861 (vc-bzr-ignore-completion-table)
10862 (vc-bzr-find-ignore-file): New functions.
10863
10864 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * frameset.el (frameset-prop): New function and setter.
10867 (frameset-save): Do not modify frame list passed by the caller.
10868
10869 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10872
10873 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10874
10875 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10876 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10877
10878 * custom.el (custom-initialize-default, custom-initialize-set)
10879 (custom-initialize-reset, custom-initialize-changed): Affect the
10880 toplevel-default-value (bug#6275, bug#14586).
10881 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10882 for bug#6275.
10883
10884 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10885
10886 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10887 Add cl-def* expressions.
10888
10889 * frameset.el (frameset-filter-params): Fix order of arguments.
10890
10891 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10892
10893 Move code related to saving frames to frameset.el.
10894 * desktop.el: Require frameset.
10895 (desktop-restore-frames): Doc fix.
10896 (desktop-restore-reuses-frames): Rename from
10897 desktop-restoring-reuses-frames.
10898 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10899 (desktop-clear): Clear frames too.
10900 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10901 (desktop--filter-tty*, desktop-save, desktop-read):
10902 Use frameset functions.
10903 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10904 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10905 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10906 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10907 (desktop--process-minibuffer-frames, desktop-save-frames)
10908 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10909 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10910 (desktop--sort-states, desktop-restoring-frames-p)
10911 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10912 (desktop-restoring-frameset-p, desktop-restore-frameset)
10913 (desktop--check-dont-save, desktop-save-frameset): New functions.
10914 (desktop--app-id): New constant.
10915 (desktop-first-buffer, desktop-buffer-ok-count)
10916 (desktop-buffer-fail-count): Move before first use.
10917 * frameset.el: New file.
10918
10919 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10920
10921 * files.el: Use lexical-binding.
10922 (dir-locals-read-from-file): Remove unused `err' variable.
10923 (hack-dir-local-variables--warned-coding): New var.
10924 (hack-dir-local-variables): Use it to avoid repeated warnings.
10925 (make-backup-file-name--default-function): New function.
10926 (make-backup-file-name-function): Use it as default.
10927 (buffer-stale--default-function): New function.
10928 (buffer-stale-function): Use it as default.
10929 (revert-buffer-insert-file-contents--default-function): New function.
10930 (revert-buffer-insert-file-contents-function): Use it as default.
10931 (insert-directory): Avoid add-to-list.
10932
10933 * autorevert.el (auto-revert-handler): Simplify.
10934 Use buffer-stale--default-function.
10935
10936 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10937
10938 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10939
10940 * whitespace.el (whitespace-ensure-local-variables): New function.
10941 (whitespace-cleanup-region): Call it.
10942 (whitespace-turn-on): Call it.
10943
10944 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10945
10946 Complete file name handlers.
10947
10948 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10949 (tramp-handle-verify-visited-file-modtime)
10950 (tramp-handle-file-notify-rm-watch): New functions.
10951 (tramp-call-process): Do not bind `default-directory'.
10952
10953 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10954 Order alphabetically.
10955 <access-file, add-name-to-file, dired-call-process>:
10956 <dired-compress-file, file-acl, file-notify-rm-watch>:
10957 <file-ownership-preserved-p, file-selinux-context>:
10958 <make-directory-internal, make-symbolic-link, set-file-acl>:
10959 <set-file-selinux-context, set-visited-file-modtime>:
10960 <verify-visited-file-modtime>: Add handler.
10961 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10962
10963 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10964 <file-notify-add-watch, file-notify-rm-watch>:
10965 <set-file-times, set-visited-file-modtime>:
10966 <verify-visited-file-modtime>: Add handler.
10967 (with-tramp-gvfs-error-message)
10968 (tramp-gvfs-handle-set-visited-file-modtime)
10969 (tramp-gvfs-fuse-file-name): Remove.
10970 (tramp-gvfs-handle-file-notify-add-watch)
10971 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10972 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10973
10974 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10975 Order alphabetically.
10976 <file-notify-rm-watch>: Use default Tramp handler.
10977 <executable-find>: Remove private handler.
10978 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10979 `default-directory'.
10980 (tramp-sh-handle-executable-find)
10981 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10982 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10983 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10984 Do not use `format' in `tramp-message'.
10985
10986 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10987 <file-notify-rm-watch, set-visited-file-modtime>:
10988 <verify-visited-file-modtime>: Add handler.
10989 (tramp-smb-call-winexe): Do not bind `default-directory'.
10990
10991 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10992
10993 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10994
10995 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10996
10997 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10998 use it.
10999 (log-view-diff-changeset): Same.
11000 (log-view-diff-common): Call backend command `previous-revision'
11001 to find out the previous revision, in both cases. Swap the
11002 variables `to' and `fr', so that `fr' usually refers to the
11003 earlier revision (Bug#14989).
11004
11005 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11006
11007 * ibuf-ext.el (ibuffer-filter-by-filename):
11008 Make it work with dired buffers too.
11009
11010 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11011
11012 * emacs-lisp/re-builder.el (reb-color-display-p):
11013 * files.el (save-buffers-kill-terminal):
11014 * net/browse-url.el (browse-url):
11015 * server.el (server-save-buffers-kill-terminal):
11016 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11017 Prefer nil to selected-frame for the first arg of frame-parameter.
11018
11019 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11020
11021 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11022
11023 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11024
11025 * minibuffer.el (completion--twq-all): Try and preserve each
11026 completion's case choice (bug#14907).
11027
11028 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11029
11030 * net/network-stream.el (open-network-stream): Mention the new
11031 :nogreeting parameter.
11032 (network-stream-open-starttls): Use the :nogreeting parameter
11033 (bug#14938).
11034
11035 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11036
11037 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11038 more natural than popping.
11039
11040 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11041 (shr-urlify): Highlight under mouse.
11042
11043 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11044
11045 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11046
11047 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11048
11049 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11050 buffer for output.
11051
11052 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11053 point-min==1. Fix search string. Fix parentheses missing.
11054
11055 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11056 assume point-min==1. Fix search string. Fix parentheses missing.
11057
11058 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11059
11060 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11061 buffer for output.
11062
11063 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11064
11065 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11066 initial frame is minibuffer-less. (Bug#14841)
11067
11068 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11069
11070 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11071 option.
11072
11073 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11074 (tramp-maybe-open-connection): Use it.
11075
11076 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11077
11078 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11079 minimal set of parameters passed when creating a frame, because
11080 the minibuffer status of a frame cannot be changed later.
11081
11082 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11083
11084 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11085 replace-regexp-in-string and inadvertent omissions in previous change.
11086 (todo-filter-items): Ensure only file names are comma-separated in
11087 name of filtered items buffer.
11088
11089 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11090
11091 * desktop.el: Optionally force offscreen frames back onscreen.
11092 (desktop-restoring-reuses-frames): New option.
11093 (desktop--compute-pos, desktop--move-onscreen): New functions.
11094 (desktop--make-frame): Use desktop--move-onscreen.
11095
11096 2013-07-27 Alan Mackenzie <acm@muc.de>
11097
11098 Fontify a Java generic method as a function.
11099 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11100 value to t.
11101
11102 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11103
11104 * calendar/todo-mode.el: Add command to rename todo files.
11105 (todo-rename-file): New command.
11106 (todo-key-bindings-t): Add key binding for it. Change the
11107 bindings of todo-filter-regexp-items(-multifile) to use `x'
11108 instead of `r', since the latter is better suited to the new
11109 renaming command.
11110
11111 2013-07-27 Alan Mackenzie <acm@muc.de>
11112
11113 Make Java try-with-resources statement parse properly.
11114 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11115 (c-block-stmt-1-2-key): New language constants/variables.
11116 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11117 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11118 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11119 with c-block-stmt-1-2-key.
11120
11121 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11122
11123 * desktop.el (desktop--make-frame): Apply most frame parameters after
11124 creating the frame to force (partially or totally) offscreen frames to
11125 be restored as such.
11126
11127 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11128
11129 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11130 (Bug#14948)
11131
11132 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11135 `base' arg of backtrace-frame.
11136
11137 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11138
11139 * simple.el (list-processes): Doc fix.
11140
11141 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11142
11143 * desktop.el (desktop--select-frame):
11144 Try harder to reuse existing frames.
11145
11146 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11149 (edebug-eval): Use backtrace-eval.
11150 (edebug--display, edebug--recursive-edit): Don't let-bind the
11151 edebug-outer-* vars that keep track of variables we locally let-bind.
11152 (edebug-outside-excursion): Don't restore outside values of locally
11153 let-bound vars.
11154 (edebug--display): Use user-error.
11155 (cl-lexical-debug, cl-debug-env): Remove.
11156
11157 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11158
11159 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11160 are restored to be sure that they are visible before deleting any
11161 remaining ones.
11162
11163 2013-07-26 Matthias Meulien <orontee@gmail.com>
11164
11165 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11166 vc-print-root-log. (Bug#14948)
11167
11168 2013-07-26 Richard Stallman <rms@gnu.org>
11169
11170 Add aliases for encrypting mail.
11171 * epa.el (epa-mail-aliases): New option.
11172 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11173 Bind inhibit-read-only so read-only text doesn't ruin everything.
11174 (epa-mail-default-recipients): New subroutine broken out.
11175 Handle epa-mail-aliases.
11176
11177 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 Add support for lexical variables to the debugger's `e' command.
11180 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11181 vars, except for debugger-outer-match-data.
11182 (debugger-frame-number): Move check for "on a function call" from
11183 callers into it. Add `skip-base' argument.
11184 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11185 (debugger-env-macro): Only reset the state stored in non-variables,
11186 i.e. current-buffer and match-data.
11187 (debugger-eval-expression): Rewrite using backtrace-eval.
11188 * subr.el (internal--called-interactively-p--get-frame): Remove.
11189 (called-interactively-p):
11190 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11191 `base' arg of backtrace-frame instead.
11192
11193 2013-07-26 Glenn Morris <rgm@gnu.org>
11194
11195 * align.el (align-regexp): Doc fix. (Bug#14857)
11196 (align-region): Explicit error if subexpression missing/does not match.
11197
11198 * simple.el (global-visual-line-mode):
11199 Do not duplicate the mode lighter. (Bug#14858)
11200
11201 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11202
11203 * window.el (display-buffer): In display-buffer bind
11204 split-window-keep-point to t, bug#14829.
11205
11206 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11207
11208 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11209 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11210 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11211 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11212 Change accordingly.
11213 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11214 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11215
11216 2013-07-25 Glenn Morris <rgm@gnu.org>
11217
11218 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11219
11220 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11221
11222 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11223 parameter to modify-frame-parameters if the value has not changed;
11224 this is a workaround for bug#14949.
11225 (desktop--make-frame): On cl-delete-if call, check parameter name,
11226 not full parameter.
11227
11228 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11229
11230 * vc/vc.el (vc-ignore): New function.
11231
11232 * vc/vc-svn.el (vc-svn-ignore): New function.
11233
11234 * vc/vc-hg.el (vc-hg-ignore): New function.
11235
11236 * vc/vc-git.el (vc-git-ignore): New function.
11237
11238 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11239 (vc-dir-ignore): New function.
11240
11241 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11242 (cvs-append-to-ignore): Move here from pcvs.el.
11243
11244 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11245
11246 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11247
11248 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11249
11250 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11251 (desktop-restore-frames): Warn when deleting an existing frame failed.
11252
11253 2013-07-24 Glenn Morris <rgm@gnu.org>
11254
11255 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11256
11257 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11258
11259 * filenotify.el (file-notify-supported-p):
11260 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11261 Remove functions.
11262
11263 * autorevert.el (auto-revert-use-notify)
11264 (auto-revert-notify-add-watch):
11265 * net/tramp.el (tramp-file-name-for-operation):
11266 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11267 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11268 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11269 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11270 Remove `file-notify-supported-p' entry.
11271
11272 2013-07-24 Glenn Morris <rgm@gnu.org>
11273
11274 * printing.el: Replace all uses of deleted ps-windows-system,
11275 ps-lp-system, ps-flatten-list with lpr- versions.
11276
11277 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11278
11279 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11280 checked with memq (bug#14935).
11281
11282 * files.el (revert-buffer-function): Use a non-nil default.
11283 (revert-buffer-preserve-modes): Declare var to
11284 provide access to the `preserve-modes' argument.
11285 (revert-buffer): Let-bind it.
11286 (revert-buffer--default): New function, extracted from revert-buffer.
11287
11288 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11289
11290 * lpr.el: Signal print errors more prominently.
11291 (print-region-function): Don't default to nil.
11292 (lpr-print-region): New function, extracted from print-region-1.
11293 Check lpr's return value and signal an error in case of problem.
11294 (print-region-1): Use it.
11295 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11296 versions instead.
11297 (ps-printer-name): Default to nil.
11298 (ps-printer-name-option): Default to lpr-printer-switch.
11299 (ps-print-region-function): Don't default to nil.
11300 (ps-postscript-code-directory): Simplify default.
11301 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11302 (ps-string-list, ps-eval-switch, ps-flatten-list)
11303 (ps-flatten-list-1): Remove.
11304 (ps-multibyte-buffer): Avoid setq.
11305 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11306 (print-region-function, ps-print-region-function): Don't set them here.
11307
11308 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11309
11310 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11311 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11312 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11313 (ido-decorations): Doc fix.
11314
11315 * ansi-color.el: Fix old URL.
11316
11317 2013-07-23 Michael R. Mauger <michael@mauger.com>
11318
11319 * progmodes/sql.el: Version 3.3
11320 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11321 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11322 (sql-interactive-remove-continuation-prompt): Rewrite, use
11323 functions above. Fix continuation prompt and complete output line
11324 handling.
11325 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11326 redirected output buffer.
11327 (sql-mode): Restore deleted code (Bug#13591).
11328
11329 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11330
11331 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11332
11333 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11334
11335 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11336
11337 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11338 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11339 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11340
11341 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11342
11343 * desktop.el (desktop-clear): Simplify; remove useless checks
11344 against invalid buffer names.
11345 (desktop-list*): Use cl-list*.
11346 (desktop-buffer-info, desktop-create-buffer): Simplify.
11347
11348 2013-07-23 Leo Liu <sdl.web@gmail.com>
11349
11350 * bookmark.el (bookmark-make-record): Restore NAME as a default
11351 value. (Bug#14933)
11352
11353 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11356 extracted from autoload--insert-text.
11357 (autoload--insert-text): Remove.
11358 (autoload--print-cookie-text): New function, extracted from
11359 autoload--insert-cookie-text.
11360 (autoload--insert-cookie-text): Remove.
11361 (autoload-generate-file-autoloads): Adjust calls accordingly.
11362
11363 * winner.el (winner-hook-installed-p): Remove.
11364 (winner-mode): Simplify accordingly.
11365
11366 * subr.el (add-to-list): Fix compiler-macro when `append' is
11367 not constant. Don't use `cl-member' for the base case.
11368
11369 * progmodes/subword.el: Fix boundary case (bug#13758).
11370 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11371 own group.
11372 (subword-backward-regexp): Make it a constant.
11373 (subword-forward-internal): Don't treat a trailing capital as the
11374 beginning of a word.
11375
11376 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11377
11378 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11379 global value of tabulated-list-revert-hook (bug#14930).
11380
11381 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11382
11383 * desktop.el: Require 'cl-lib.
11384 (desktop-before-saving-frames-functions): New hook.
11385 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11386 for frames being saved. Rename from desktop--save-minibuffer-frames.
11387 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11388 Do not save frames with non-nil `desktop-dont-save' parameter.
11389 Filter out deleted frames.
11390 (desktop--find-frame): Use cl-find-if.
11391 (desktop--select-frame): Use cl-(first|second|third) to access values
11392 of desktop-mini.
11393 (desktop--make-frame): Use cl-delete-if.
11394 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11395 (desktop-restore-frames): Use cl-(first|second|third) to access values
11396 of desktop-mini. Look for visible frame at the end, not while
11397 restoring frames.
11398
11399 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11400 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11401 Use string-match-p, looking-at-p (bug#14927).
11402
11403 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11404
11405 * desktop.el (desktop-saved-frame-states):
11406 Rename from desktop--saved-states; all users changed.
11407 (desktop-save-frames): Rename from desktop--save-frames.
11408 Do not save state to desktop file.
11409 (desktop-save): Save desktop-saved-frame-states to desktop file
11410 and reset to nil.
11411 (desktop-restoring-frames-p): New function.
11412 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11413 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11414 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11415
11416 * desktop.el: Correctly restore iconified frames.
11417 (desktop--filter-iconified-position): New function.
11418 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11419
11420 2013-07-20 Glenn Morris <rgm@gnu.org>
11421
11422 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11423 Let `message' do the formatting.
11424 (def-gdb-preempt-display-buffer): Add explicit format.
11425
11426 * image-dired.el (image-dired-track-original-file):
11427 Use with-current-buffer.
11428 (image-dired-track-thumbnail): Use with-current-buffer.
11429 Avoid changing point of wrong window.
11430
11431 * image-dired.el (image-dired-track-original-file):
11432 Avoid changing point of wrong window. (Bug#14909)
11433
11434 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11435
11436 * progmodes/gdb-mi.el (gdb-done-or-error):
11437 Guard against "%" in gdb output. (Bug#14127)
11438
11439 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11440
11441 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11442 (Bug#14826)
11443
11444 * international/mule.el (coding-system-iso-2022-flags): Fix last
11445 change.
11446
11447 2013-07-20 Kenichi Handa <handa@gnu.org>
11448
11449 * international/mule.el (coding-system-iso-2022-flags):
11450 Add `8-bit-level-4'. (Bug#8522)
11451
11452 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11453
11454 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11455 (bug#14815).
11456
11457 * net/eww.el (eww-process-text-input): Allow inputting when the
11458 point is at the start of the line, as the properties aren't
11459 front-sticky.
11460
11461 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11462 degenerate widths.
11463
11464 2013-07-19 Richard Stallman <rms@gnu.org>
11465
11466 * epa.el (epa-popup-info-window): Doc fix.
11467
11468 * subr.el (split-string): New arg TRIM.
11469
11470 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11471
11472 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11473 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11474
11475 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11476
11477 * filenotify.el (file-notify--library): Rename from
11478 `file-notify-support'. Do not autoload. Adapt all uses.
11479 (file-notify-supported-p): New defun.
11480
11481 * autorevert.el (auto-revert-use-notify):
11482 Use `file-notify-supported-p' instead of `file-notify-support'.
11483 Adapt docstring.
11484 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11485
11486 * net/tramp.el (tramp-file-name-for-operation):
11487 Add `file-notify-supported-p'.
11488
11489 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11490 New defun.
11491 (tramp-sh-file-name-handler-alist): Add it as handler for
11492 `file-notify-supported-p '.
11493
11494 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11495 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11496 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11497 Add `ignore' as handler for `file-notify-*' functions.
11498
11499 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11500
11501 * simple.el (line-move-partial, line-move): Don't start vscroll or
11502 scroll-up if the current line is not taller than the window.
11503 (Bug#14881)
11504
11505 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11506
11507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11508 highlight question marks in the method names as strings.
11509 (ruby-block-beg-keywords): Inline.
11510 (ruby-font-lock-keyword-beg-re): Extract from
11511 `ruby-font-lock-keywords'.
11512
11513 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11514
11515 * frame.el (blink-cursor-blinks): New defcustom.
11516 (blink-cursor-blinks-done): New defvar.
11517 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11518 (blink-cursor-timer-function): Check if number of blinks has been
11519 done on X and NS.
11520 (blink-cursor-suspend, blink-cursor-check): New defuns.
11521
11522 2013-07-15 Glenn Morris <rgm@gnu.org>
11523
11524 * edmacro.el (edmacro-format-keys): Fix previous change.
11525
11526 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11527
11528 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11529 The hack didn't work outside English locales anyway.
11530
11531 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11532
11533 * simple.el (define-alternatives): Rename from alternatives-define,
11534 per RMS' suggestion.
11535
11536 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11537
11538 * desktop.el (desktop-restore-frames): Change default to t.
11539 (desktop-restore-in-current-display): Now offer more options.
11540 (desktop-restoring-reuses-frames): New customization option.
11541 (desktop--saved-states): Doc fix.
11542 (desktop-filter-parameters-alist): New variable, renamed and expanded
11543 from desktop--excluded-frame-parameters.
11544 (desktop--target-display): New variable.
11545 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11546 (desktop--filter-tty*, desktop--filter-*-color)
11547 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11548 (desktop--filter-save-desktop-parm)
11549 (desktop-restore-in-original-display-p): New functions.
11550 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11551 (desktop--save-minibuffer-frames): New function, inspired by a similar
11552 function from Martin Rudalics.
11553 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11554 (desktop--restore-in-this-display-p): Remove.
11555 (desktop--find-frame): Rename from desktop--find-frame-in-display
11556 and add predicate argument.
11557 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11558 (desktop--reuse-list): New variable.
11559 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11560 New functions.
11561 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11562
11563 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11564
11565 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11566
11567 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11568
11569 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11570 Highlight conversion methods on Kernel.
11571
11572 2013-07-13 Alan Mackenzie <acm@muc.de>
11573
11574 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11575 and comment it out. This out-commenting enables certain C++
11576 declarations to be parsed correctly.
11577
11578 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11579
11580 * international/mule.el (define-coding-system): Doc fix.
11581
11582 * simple.el (default-font-height): Don't call font-info if the
11583 frame's default font didn't change since the frame was created.
11584 (Bug#14838)
11585
11586 2013-07-13 Leo Liu <sdl.web@gmail.com>
11587
11588 * ido.el (ido-read-file-name): Guard against non-symbol value.
11589
11590 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11591
11592 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11593 in nested defuns.
11594
11595 2013-07-13 Leo Liu <sdl.web@gmail.com>
11596
11597 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11598 ido-set-matches call. (Bug#6852)
11599
11600 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11601
11602 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11603 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11604 Ruby 2.0.
11605 (ruby-font-lock-keywords): Distinguish calls to functions with
11606 module-like names from module references. Highlight character
11607 literals.
11608
11609 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11610
11611 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11612 (gdb-send): Handle continued commands. (Bug#14847)
11613
11614 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11615
11616 * desktop.el (desktop--v2s): Remove unused local variable.
11617 (desktop-save-buffer): Make defvar-local; adjust docstring.
11618 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11619 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11620
11621 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11622
11623 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11624
11625 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11626
11627 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11628 (Bug#14842)
11629
11630 2013-07-12 Glenn Morris <rgm@gnu.org>
11631
11632 * doc-view.el: Require cl-lib at runtime too.
11633 (doc-view-remove-if): Remove.
11634 (doc-view-search-next-match, doc-view-search-previous-match):
11635 Use cl-remove-if.
11636
11637 * edmacro.el: Require cl-lib at runtime too.
11638 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11639 (edmacro-mismatch, edmacro-subseq): Remove.
11640
11641 * shadowfile.el: Require cl-lib.
11642 (shadow-remove-if): Remove.
11643 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11644 Use cl-remove-if.
11645
11646 * wid-edit.el: Require cl-lib.
11647 (widget-choose): Use cl-remove-if.
11648 (widget-remove-if): Remove.
11649
11650 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11651 (ebrowse-delete-if-not): Remove.
11652 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11653 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11654 Use cl-delete-if-not.
11655
11656 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11657
11658 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11659 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11660
11661 2013-07-12 Leo Liu <sdl.web@gmail.com>
11662
11663 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11664
11665 2013-07-11 Glenn Morris <rgm@gnu.org>
11666
11667 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11668 (edebug-gensym-index, edebug-gensym):
11669 Remove reimplementation of cl-gensym.
11670 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11671
11672 * thumbs.el: Require cl-lib at run-time too.
11673 (thumbs-gensym-counter, thumbs-gensym):
11674 Remove reimplementation of cl-gensym.
11675 (thumbs-temp-file): Use cl-gensym.
11676
11677 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11678 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11679 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11680 (ert--union, ert--gensym-counter, ert--gensym-counter)
11681 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11682 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11683 (ert-make-test-unbound, ert--expand-should-1)
11684 (ert--expand-should, ert--should-error-handle-error)
11685 (should-error, ert--explain-equal-rec)
11686 (ert--plist-difference-explanation, ert-select-tests)
11687 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11688 Use cl-lib functions rather than reimplementations.
11689
11690 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11691
11692 * net/tramp.el (tramp-methods): Extend docstring.
11693 (tramp-connection-timeout): New defcustom.
11694 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11695 (with-tramp-progress-reporter): Simplify.
11696 (tramp-process-actions): Improve messages.
11697
11698 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11699 * net/tramp-sh.el (tramp-maybe-open-connection):
11700 Use `tramp-connection-timeout'.
11701 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11702 (Bug#14808)
11703
11704 2013-07-11 Leo Liu <sdl.web@gmail.com>
11705
11706 * ido.el (ido-read-file-name): Conform to the requirements of
11707 read-file-name. (Bug#11861)
11708 (ido-read-directory-name): Conform to the requirements of
11709 read-directory-name.
11710
11711 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11712
11713 * subr.el (delay-warning): New function.
11714
11715 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11716
11717 * simple.el (default-line-height): New function.
11718 (line-move-partial, line-move): Use it instead of computing the
11719 line height inline.
11720 (line-move-partial): Always compute ROWH. If the last line is
11721 partially-visible, but its text is completely visible, allow
11722 cursor to enter such a partially-visible line.
11723
11724 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11725
11726 Improve error messages. (Bug#14808)
11727
11728 * net/tramp.el (tramp-current-connection): New defvar, moved from
11729 tramp-sh.el.
11730 (tramp-message-show-progress-reporter-message): Remove, not
11731 needed anymore.
11732 (tramp-error-with-buffer): Show message in minibuffer.
11733 Discard input before waiting. Reset connection timestamp.
11734 (with-tramp-progress-reporter): Improve messages.
11735 (tramp-process-actions): Use progress reporter. Delete process in
11736 case of error. Improve messages.
11737
11738 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11739 Call `tramp-error-with-buffer' with vector and buffer.
11740 (tramp-current-connection): Remove.
11741 (tramp-maybe-open-connection): The car of
11742 `tramp-current-connection' are the first 3 slots of the vector.
11743
11744 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11745
11746 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11747 inside continued strings.
11748
11749 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11750
11751 Timestamp fixes for undo (Bug#14824).
11752 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11753
11754 2013-07-10 Leo Liu <sdl.web@gmail.com>
11755
11756 * files.el (require-final-newline): Allow safe local value.
11757 (Bug#14834)
11758
11759 2013-07-09 Leo Liu <sdl.web@gmail.com>
11760
11761 * ido.el (ido-read-directory-name): Handle fallback.
11762 (ido-read-file-name): Update DIR to ido-current-directory.
11763 (Bug#1516)
11764 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11765
11766 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11767
11768 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11769 "autoload". Remove "warn lower camel case" section, previously
11770 commented out. Highlight negation char. Do not highlight the
11771 target in singleton method definitions.
11772
11773 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * faces.el (tty-setup-hook): Declare the hook.
11776
11777 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11778 and detect when a guard/pred depends on local vars (bug#14773).
11779 (pcase--u1): Adjust caller.
11780
11781 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11782
11783 * simple.el (line-move-partial, line-move): Account for
11784 line-spacing.
11785 (line-move-partial): Avoid setting vscroll when the last
11786 partially-visible line in window is of default height.
11787
11788 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11789
11790 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11791 been used a while.
11792
11793 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11794
11795 * subr.el (read-quoted-char): Remove unused local variable `char'.
11796
11797 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11798
11799 * vc/ediff.el (ediff-version): Version update.
11800 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11801 (ediff-merge-with-ancestor-command, ediff-directories-command)
11802 (ediff-directories3-command, ediff-merge-directories-command)
11803 (ediff-merge-directories-with-ancestor-command): New functions.
11804 All are command-line interfaces to ediff: to facilitate calling
11805 Emacs with the appropriate ediff functions invoked.
11806
11807 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11808 New function.
11809 (viper-save-kill-buffer): Check if buffer is modified.
11810
11811 * emulation/viper.el (viper-version): Version update.
11812 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11813
11814 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11815
11816 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11817 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11818 (viper-intercept-ESC-key): Simplify.
11819 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11820 don't use kbd.
11821 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11822 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11823 (viper-setup-ESC-to-escape): New functions.
11824 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11825 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11826
11827 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11828
11829 * simple.el (default-font-height, window-screen-lines):
11830 New functions.
11831 (line-move, line-move-partial): Use them instead of
11832 frame-char-height and window-text-height. This makes scrolling
11833 text smoother when the buffer's default face uses a font that is
11834 different from the frame's default font.
11835
11836 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11837
11838 * files.el (write-file): Do not display confirm dialog for NS,
11839 it does its own dialog, which can't be canceled (Bug#14578).
11840
11841 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11842
11843 * simple.el (line-move-partial): Adjust the row returned by
11844 posn-at-point for the current window-vscroll. (Bug#14567)
11845
11846 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11847
11848 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11849 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11850 spaces.
11851
11852 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11853
11854 * window.el (window-state-put-stale-windows): New variable.
11855 (window--state-put-2): Save list of windows without matching buffer.
11856 (window-state-put): Remove "bufferless" windows if possible.
11857
11858 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11859
11860 * simple.el (alternatives-define): Remove leftover :group keyword.
11861 Tweak docstring.
11862
11863 2013-07-06 Leo Liu <sdl.web@gmail.com>
11864
11865 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11866 (ido-enable-virtual-buffers): New variable.
11867 (ido-buffer-internal, ido-toggle-virtual-buffers)
11868 (ido-make-buffer-list): Use it.
11869 (ido-exhibit): Support turning on and off virtual buffers
11870 automatically.
11871
11872 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11873
11874 * simple.el (alternatives-define): New macro.
11875
11876 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11877
11878 * subr.el (read-quoted-char): Use read-key.
11879 (sit-for): Let read-event decode tty input (bug#14782).
11880
11881 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11882
11883 * calendar/todo-mode.el: Add handling of file deletion, both by
11884 mode command and externally. Fix various related bugs.
11885 Clarify Commentary and improve some documentation strings and code.
11886 (todo-delete-file): New command.
11887 (todo-check-file): New function.
11888 (todo-show): Handle external deletion of the file we're trying to
11889 show (bug#14688). Replace called-interactively-p by an optional
11890 prefix argument to avoid problematic interaction with catch form
11891 when byte compiled (bug#14702).
11892 (todo-quit): Handle external deletion of the archive's todo file.
11893 Make sure the buffer that was visiting the archive file is still
11894 live before trying to bury it.
11895 (todo-category-completions): Handle external deletion of any
11896 category completion files.
11897 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11898 of todo files, in case of external deletion.
11899 (todo-add-file): Replace unnecessary setq by let-binding.
11900 (todo-find-archive): Check whether there are any archives.
11901 Replace unnecessary setq by let-binding.
11902 (todo-archive-done-item): Use find-file-noselect to get the
11903 archive buffer whether or not the archive already exists.
11904 Remove superfluous code. Use file size instead of buffer-file-name to
11905 check if the archive is new; if it is, update list of archives.
11906 (todo-default-todo-file): Allow nil to be a valid value for when
11907 there are no todo files.
11908 (todo-reevaluate-default-file-defcustom): Use corrected definition
11909 of todo-default-todo-file.
11910 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11911 (todo-delete-category, todo-show-categories-table)
11912 (todo-category-number): Clarify comment.
11913 (todo-filter-items): Clarify documentation string.
11914 (todo-show-current-file, todo-display-as-todo-file)
11915 (todo-reset-and-enable-done-separator): Tweak documentation string.
11916 (todo-done-separator): Make separator length window-width, since
11917 bug#2749 is now fixed.
11918
11919 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11920
11921 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11922 Support both "gvfs-monitor-dir" and "inotifywait".
11923 (tramp-sh-file-inotifywait-process-filter): Rename from
11924 `tramp-sh-file-notify-process-filter'.
11925 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11926 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11927
11928 2013-07-05 Leo Liu <sdl.web@gmail.com>
11929
11930 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11931
11932 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11933
11934 * frame.el (display-pixel-height, display-pixel-width)
11935 (display-mm-height, display-mm-width): Mention behavior on
11936 multi-monitor setups in docstrings.
11937 (w32-display-monitor-attributes-list): Declare function.
11938 (display-monitor-attributes-list): Use it.
11939
11940 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11941
11942 * filenotify.el: New package.
11943
11944 * autorevert.el (top): Require filenotify.el.
11945 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11946 instead.
11947 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11948 (auto-revert-notify-handler): Use `file-notify-*' functions.
11949
11950 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11951
11952 * net/tramp.el (tramp-file-name-for-operation):
11953 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11954
11955 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11956 for `file-notify-add-watch' and `file-notify-rm-watch'.
11957 (tramp-process-sentinel): Improve trace.
11958 (tramp-sh-handle-file-notify-add-watch)
11959 (tramp-sh-file-notify-process-filter)
11960 (tramp-sh-handle-file-notify-rm-watch)
11961 (tramp-get-remote-inotifywait): New defuns.
11962
11963 2013-07-03 Juri Linkov <juri@jurta.org>
11964
11965 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11966 call of `occur-read-primary-args' to interactive spec.
11967
11968 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11969 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11970
11971 2013-07-03 Matthias Meulien <orontee@gmail.com>
11972
11973 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11974 `Buffer-menu-multi-occur'. Add it to the menu.
11975 (Buffer-menu-mode): Document it in docstring.
11976 (Buffer-menu-multi-occur): New command. (Bug#14673)
11977
11978 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11979
11980 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11981 keywords and built-ins.
11982
11983 2013-07-03 Glenn Morris <rgm@gnu.org>
11984
11985 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11986
11987 Make info-xref checks case-sensitive by default
11988 * info.el (Info-find-node, Info-find-in-tag-table)
11989 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11990 Add option for exact case matching of nodes.
11991 * info-xref.el (info-xref): New custom group.
11992 (info-xref-case-fold): New option.
11993 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11994
11995 2013-07-03 Leo Liu <sdl.web@gmail.com>
11996
11997 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11998
11999 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12000
12001 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12002 middle of block statement initially, lower the depth. Remove
12003 FIXME comment, not longer valid. Remove middle of block statement
12004 detection, no need to do that anymore since we've been using
12005 `ruby-parse-region' here.
12006
12007 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12008
12009 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12010
12011 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12012
12013 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12014
12015 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12016
12017 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12018 (desktop-restore-in-current-display): New customization option.
12019 (desktop--excluded-frame-parameters): Add `font'.
12020 (desktop--save-frames): Rename from desktop--save-windows.
12021 (desktop--restore-in-this-display-p): New function.
12022 (desktop--make-full-frame): Remove unwanted width/height from
12023 full(width|height) frames.
12024 (desktop--restore-frames): Rename from desktop--restore-windows.
12025 Obey desktop-restore-current-display. Do not delete old frames or
12026 select a new frame unless we were able to restore at least one frame.
12027
12028 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12029
12030 * files.el (find-file-noselect): Simplify conditional expression.
12031
12032 * textmodes/remember.el (remember-append-to-file):
12033 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12034
12035 Add `remember-notes' function to store random notes across Emacs
12036 restarts.
12037 * textmodes/remember.el (remember-data-file): Add :set callback to
12038 affect notes buffer (if any).
12039 (remember-notes): New command.
12040 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12041 New defcustoms for the `remember-notes' function.
12042 (remember-notes-save-and-bury-buffer): New command.
12043 (remember-notes-mode-map): New variable.
12044 (remember-mode): New minor mode.
12045 (remember-notes--kill-buffer-query): New function.
12046 * startup.el (initial-buffer-choice): Add notes to custom type.
12047
12048 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12049
12050 * bindings.el (right-char, left-char): Don't call sit-for, this is
12051 no longer needed. Use arithmetic comparison only for numerical
12052 arguments.
12053
12054 * international/mule-cmds.el (select-safe-coding-system):
12055 Handle the case of FROM being a string correctly. (Bug#14755)
12056
12057 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12058
12059 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12060 progression on degenerate tables.
12061 (shr-rescale-image): ImageMagick animated images currently don't work.
12062
12063 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12064
12065 Some fixes and improvements for desktop frame restoration.
12066 It is still experimental and disabled by default.
12067 * desktop.el (desktop--save-windows): Put the selected frame at
12068 the head of the list.
12069 (desktop--make-full-frame): New function.
12070 (desktop--restore-windows): Try to re-select the frame that was
12071 selected upon saving. Do not abort if some frames fail to restore,
12072 just show an error message and continue. Set up maximized frames
12073 so they have default non-maximized dimensions.
12074
12075 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12076
12077 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12078 Don't start heredoc inside a string or comment.
12079
12080 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12081
12082 * bindings.el (visual-order-cursor-movement): New defcustom.
12083 (right-char, left-char): Provide visual-order cursor motion by
12084 calling move-point-visually. Update the doc strings.
12085
12086 2013-06-28 Kenichi Handa <handa@gnu.org>
12087
12088 * international/mule.el (define-coding-system): New coding system
12089 properties :inhibit-null-byte-detection,
12090 :inhibit-iso-escape-detection, and :prefer-utf-8.
12091 (set-buffer-file-coding-system): If :charset-list property of
12092 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12093 appropriate for setting.
12094
12095 * international/mule-cmds.el (select-safe-coding-system):
12096 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12097 multibyte characters, return utf-8 (or one of its siblings).
12098
12099 * international/mule-conf.el (prefer-utf-8): New coding system.
12100 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12101 files.
12102
12103 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12104
12105 * net/shr.el (shr-render-region): New function.
12106
12107 * net/eww.el: Autoload `eww-browse-url'.
12108
12109 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12110
12111 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12112 Adapt to `package-desc-version' being a list.
12113 Use `package--ac-desc-version' to retrieve version from a package
12114 archive element.
12115
12116 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12117
12118 New experimental feature to save&restore window and frame setup.
12119 * desktop.el (desktop-save-windows): New defcustom.
12120 (desktop--saved-states): New var.
12121 (desktop--excluded-frame-parameters): New defconst.
12122 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12123 (desktop--restore-windows, desktop--save-windows): New functions.
12124 (desktop-save): Call `desktop--save-windows'.
12125 (desktop-read): Call `desktop--restore-windows'.
12126
12127 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12128
12129 * net/shr.el (add-face-text-property): Remove compat definition.
12130
12131 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12132
12133 * info.el (Info-try-follow-nearest-node): Move search for footnote
12134 above search for node name to prevent missing a footnote (bug#14717).
12135
12136 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12137
12138 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12139
12140 2013-06-27 Leo Liu <sdl.web@gmail.com>
12141
12142 * net/eww.el (eww-read-bookmarks): Check file size.
12143
12144 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12147 advice--pending if newdef is nil or an autoload (bug#13820).
12148 (advice-mapc): New function.
12149
12150 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12151
12152 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12153 probably.
12154 (eww-mode-map): Add a menu bar.
12155 (eww-add-bookmark): New command.
12156 (eww-bookmark-mode): New mode and commands.
12157 (eww-add-bookmark): Remove newlines from the title.
12158 (eww-bookmark-browse): Don't bug out if it's the only window.
12159
12160 2013-06-26 Glenn Morris <rgm@gnu.org>
12161
12162 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12163 (hfy-size): Handle ttys. (Bug#14668)
12164
12165 * info-xref.el: Update for Texinfo 5 change in *note format.
12166 (info-xref-node-re, info-xref-note-re): New constants.
12167 (info-xref-check-buffer): Use info-xref-note-re.
12168
12169 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12172
12173 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12174 nil terminate the loop (bug#14718).
12175
12176 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12177
12178 * net/eww.el: Rework history traversal. When going forward/back,
12179 put these actions into the history, too, so that they can be
12180 replayed.
12181 (eww-render): Move the history reset to the correct buffer.
12182
12183 2013-06-25 Juri Linkov <juri@jurta.org>
12184
12185 * files-x.el (modify-dir-local-variable): Change the header comment
12186 in the file with directory local variables. (Bug#14692)
12187
12188 * files-x.el (read-file-local-variable-value): Add `default'.
12189 (Bug#14710)
12190
12191 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12192
12193 * net/eww.el (eww-make-unique-file-name): Create a unique file
12194 name before saving to entering `y' accidentally asynchronously.
12195
12196 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12197
12198 * net/eww.el (eww-download): New command and keystroke.
12199
12200 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12201
12202 * net/eww.el (eww-copy-page-url): Change name of command.
12203
12204 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12205 be more consistent with Info and dired.
12206
12207 * net/eww.el (eww-mode-map): Ditto.
12208
12209 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12212 packages from archives.
12213 (package-archive-contents): Change format; include obsolete packages.
12214 (package-desc): Use `dir' to mark builtin packages.
12215 (package--from-builtin): Set the `dir' field to `builtin'.
12216 (generated-autoload-file, version-control): Declare.
12217 (package-compute-transaction): Change first arg and return value to be
12218 lists of package-descs. Adjust to new package-archive-contents format.
12219 (package--add-to-archive-contents): Adjust to new
12220 package-archive-contents format.
12221 (package-download-transaction): Arg is now a list of package-descs.
12222 (package-install): If `pkg' is a package name, pass it as
12223 a requirement, so it is subject to the usual (e.g. disabled) checks.
12224 (describe-package): Accept package-desc as well.
12225 (describe-package-1): Describe a specific package-desc. Add links to
12226 other package-descs for the same package name.
12227 (package-menu-describe-package): Pass the actual package-desc.
12228 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12229 works correctly.
12230 (package-desc-status): New function.
12231 (package-menu--refresh): New function, extracted
12232 from package-menu--generate.
12233 (package-menu--generate): Use it.
12234 (package-delete): Update package-alist.
12235 (package-menu-execute): Don't call package-initialize.
12236
12237 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12238 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12239 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12240 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12241 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12242 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12243
12244 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12245
12246 * window.el (window--state-get-1): Workaround for bug#14527.
12247 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12248
12249 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12250
12251 * net/eww.el (eww-back-url): Implement the history by stashing all
12252 the data into a list.
12253 (eww-forward-url): Allow going forward in the history, too.
12254
12255 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12258 for values and use read--expression for expressions (bug#14710).
12259 (read-file-local-variable): Avoid setq.
12260 (read-file-local-variable-mode): Use minor-mode-list.
12261
12262 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12263
12264 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12265 for DOI URLs.
12266
12267 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12268
12269 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12270 Update imenu-support when dialect changes.
12271
12272 2013-06-25 Leo Liu <sdl.web@gmail.com>
12273
12274 * ido.el (ido-read-internal): Allow forward slash on windows.
12275
12276 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12277
12278 * net/eww.el (eww): Start of strings is \\`, not ^.
12279
12280 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12281
12282 * net/shr.el (shr-browse-url): Fix interactive spec.
12283
12284 * net/eww.el (eww): Add a trailing slash to domain names.
12285
12286 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12287
12288 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12289
12290 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12291
12292 * net/shr.el (shr-browse-url): Use an external browser if given a
12293 prefix.
12294
12295 * net/eww.el (eww-external-browser): Move to shr.
12296
12297 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12298
12299 * net/eww.el (eww): Work more correctly for file: URLs.
12300 (eww-detect-charset): Allow quoted charsets.
12301 (eww-yank-page-url): New command and keystroke.
12302
12303 2013-06-24 Daiki Ueno <ueno@gnu.org>
12304
12305 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12306 file name of gpg executable.
12307 (epg-context-program): New function.
12308 (epg-context-home-directory): New function.
12309 (epg-context-set-program): New function.
12310 (epg-context-set-home-directory): New function.
12311 (epg--start): Use `epg-context-program' instead of
12312 'epg-gpg-program'.
12313 (epg--list-keys-1): Likewise.
12314
12315 2013-06-24 Leo Liu <sdl.web@gmail.com>
12316
12317 * ido.el (ido-read-internal): Fix bug#14620.
12318
12319 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12320
12321 * faces.el (face-documentation): Simplify.
12322 (read-face-attribute, tty-find-type, x-resolve-font-name):
12323 Use `string-match-p'.
12324 (list-faces-display): Use `string-match-p'. Simplify.
12325 (face-spec-recalc): Check face to avoid face alias loops.
12326 (read-color): Use `string-match-p' and non-capturing parenthesis.
12327
12328 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12329
12330 * net/shr.el (shr-rescale-image): Use the new
12331 :max-width/:max-height functionality.
12332
12333 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12334
12335 * net/eww.el (eww-search-prefix): New variable.
12336 (eww): Use it.
12337 (eww-external-browser): New variable.
12338 (eww-mode-map): New keystroke.
12339 (eww-browse-with-external-browser): New command.
12340
12341 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12342
12343 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12344
12345 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12346 Don't skip aligning the next header field when padding is 0;
12347 otherwise, field width is not respected unless the title is as
12348 wide as the field.
12349
12350 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12351
12352 * emacs-lisp/package.el (package-el-version): Remove.
12353 (package-process-define-package): Fix inf-loop.
12354 (package-install): Allow symbols as arguments again.
12355
12356 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12357
12358 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12359 add some more keyword-like methods.
12360 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12361
12362 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12363
12364 * bs.el (bs-buffer-show-mark): Make defvar-local.
12365 (bs-mode): Use setq-local.
12366
12367 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12368 (emacs-lock--try-unlocking): Make defvar-local.
12369
12370 2013-06-22 Glenn Morris <rgm@gnu.org>
12371
12372 * play/cookie1.el (cookie-apropos): Minor simplification.
12373
12374 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12375
12376 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12377
12378 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12379 `regexp-opt', it breaks the build during dumping.
12380
12381 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12382
12383 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12384 Highlight keyword-like methods on Kernel and Module with
12385 font-lock-builtin-face.
12386 (auto-mode-alist): Consolidate different entries into one regexp
12387 and add more *file-s.
12388
12389 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12390
12391 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12392
12393 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12394 (diary-entry): Use it in the action of this button type instead of
12395 diary-goto-entry.
12396
12397 * calendar/todo-mode.el: New version.
12398 (todo-add-category): Append new category to end of file and give
12399 it the highest number, instead of putting it at the beginning and
12400 giving it 0. Incorporate noninteractive functionality.
12401 (todo-forward-category): Adapt to 1-based category numbering.
12402 Allow skipping over archived categories.
12403 (todo-backward-category): Derive from todo-forward-category.
12404 (todo-backward-item, todo-forward-item): Make noninteractive and
12405 delegate interactive part to new commands. Make sensitive to done items.
12406 (todo-categories): Make value an alist of category names and
12407 vectors of item counts.
12408 (todo-category-beg): Make a defconst.
12409 (todo-category-number): Use 1 instead of 0 as initial value.
12410 (todo-category-select): Make sensitive to overlays, optional item
12411 highlighting and done items.
12412 (todo-delete-item): Make sensitive to overlays and marked and done items.
12413 (todo-edit-item): Make sensitive to overlays and editing of
12414 date/time header optional. Add format checks.
12415 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12416 no-op if point is not on an item. Advertise using todo-edit-quit.
12417 (todo-edit-mode): Make sensitive to new format, font-locking, and
12418 multiple todo files.
12419 (todo-insert-item, todo-insert-item-here): Derive from
12420 todo-basic-insert-item and extend functionality.
12421 (todo-item-end, todo-item-start): Make sensitive to done items.
12422 (todo-item-string): Don't return text properties. Restore point.
12423 (todo-jump-to-category): Make sensitive to multiple todo files and
12424 todo archives. Use extended category completion.
12425 (todo-lower-item, todo-raise-item): Rename to *-priority and
12426 derive from todo-set-item-priority.
12427 (todo-mode): Derive from special-mode. Make sensitive to new
12428 format, font-locking and multiple todo files. Make read-only.
12429 (todo-mode-map): Don't suppress digit keys, so they can supply
12430 prefix arguments. Add many new key bindings.
12431 (todo-prefix): Insert as an overlay instead of file text.
12432 Change semantics from diary date expression to purely visual mark.
12433 (todo-print): Rename to todo-print-buffer. Make buffer display
12434 features printable. Remove option to restrict number of items
12435 printed. Add option to print to file.
12436 (todo-print-function): Rename to todo-print-buffer-function.
12437 (todo-quit): Extend to handle exiting new todo modes.
12438 (todo-remove-item): Make sensitive to overlays.
12439 (todo-save): Extend to buffers of filtered items.
12440 (todo-show): Make sensitive to done items, multiple todo files and
12441 new todo modes. Offer to convert legacy todo file before creating
12442 first new todo file.
12443 (todo-show-priorities): Rename to todo-top-priorities.
12444 Change semantics of value 0.
12445 (todo-top-priorities): Rename to todo-filter-top-priorities,
12446 derive from todo-filter-items and extend functionality.
12447 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12448 and extend functionality to other types of filtered items.
12449 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12450 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12451 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12452 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12453 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12454 (todo-edit-mode-hook, todo-entry-prefix-function)
12455 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12456 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12457 (todo-initials, todo-insert-threshold, todo-item-string-start)
12458 (todo-line-string, todo-menu, todo-mode-hook)
12459 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12460 (todo-print-priorities, todo-remove-separator)
12461 (todo-save-top-priorities-too, todo-string-count-lines)
12462 (todo-string-multiline-p, todo-time-string-format)
12463 (todo-tmp-buffer-name): Remove.
12464 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12465 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12466 (todo-edit-category-diary-inclusion)
12467 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12468 (todo-edit-file, todo-edit-item-date-day)
12469 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12470 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12471 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12472 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12473 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12474 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12475 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12476 (todo-filter-top-priorities-multifile, todo-find-archive)
12477 (todo-find-filtered-items-file, todo-go-to-source-item)
12478 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12479 (todo-jump-to-archive-category, todo-lower-category)
12480 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12481 (todo-move-category, todo-move-item, todo-next-button)
12482 (todo-next-item, todo-padded-string, todo-powerset)
12483 (todo-previous-button, todo-previous-item)
12484 (todo-print-buffer-to-file, todo-raise-category)
12485 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12486 (todo-set-category-number, todo-set-item-priority)
12487 (todo-set-top-priorities-in-category)
12488 (todo-set-top-priorities-in-file, todo-show-categories-table)
12489 (todo-sort-categories-alphabetically-or-numerically)
12490 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12491 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12492 (todo-toggle-item-header, todo-toggle-item-highlighting)
12493 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12494 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12495 (todo-unarchive-items, todo-unmark-category): New commands.
12496 (todo-absolute-file-name, todo-add-to-buffer-list)
12497 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12498 (todo-basic-insert-item, todo-category-completions)
12499 (todo-category-number, todo-category-string-matcher-1)
12500 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12501 (todo-check-format, todo-clear-matches)
12502 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12503 (todo-current-category, todo-date-string-matcher)
12504 (todo-define-insertion-command, todo-diary-expired-matcher)
12505 (todo-diary-goto-entry, todo-diary-item-p)
12506 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12507 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12508 (todo-done-item-section-p, todo-done-separator)
12509 (todo-done-string-matcher, todo-files, todo-filter-items)
12510 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12511 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12512 (todo-insert-category-line, todo-insert-item-from-calendar)
12513 (todo-insert-sort-button, todo-insert-with-overlays)
12514 (todo-insertion-command-name, todo-insertion-key-bindings)
12515 (todo-label-to-key, todo-longest-category-name-length)
12516 (todo-make-categories-list, todo-mode-external-set)
12517 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12518 (todo-modes-set-3, todo-multiple-filter-files)
12519 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12520 (todo-read-category, todo-read-date, todo-read-dayname)
12521 (todo-read-file-name, todo-read-time)
12522 (todo-reevaluate-category-completions-files-defcustom)
12523 (todo-reevaluate-default-file-defcustom)
12524 (todo-reevaluate-filelist-defcustoms)
12525 (todo-reevaluate-filter-files-defcustom)
12526 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12527 (todo-reset-done-separator, todo-reset-done-separator-string)
12528 (todo-reset-done-string, todo-reset-global-current-todo-file)
12529 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12530 (todo-reset-prefix, todo-set-categories)
12531 (todo-set-date-from-calendar, todo-set-show-current-file)
12532 (todo-set-top-priorities, todo-short-file-name)
12533 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12534 (todo-total-item-counts, todo-update-buffer-list)
12535 (todo-update-categories-display, todo-update-categories-sexp)
12536 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12537 New functions.
12538 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12539 New major modes.
12540 (todo-categories, todo-display, todo-edit, todo-faces)
12541 (todo-filtered): New defgroups.
12542 (todo-archived-only, todo-button, todo-category-string, todo-date)
12543 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12544 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12545 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12546 (todo-add-item-if-new-category, todo-always-add-time-string)
12547 (todo-categories-align, todo-categories-archived-label)
12548 (todo-categories-category-label, todo-categories-diary-label)
12549 (todo-categories-done-label, todo-categories-number-separator)
12550 (todo-categories-todo-label, todo-categories-totals-label)
12551 (todo-category-completions-files, todo-completion-ignore-case)
12552 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12553 (todo-done-separator-string, todo-done-string)
12554 (todo-files-function, todo-filter-done-items, todo-filter-files)
12555 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12556 (todo-initial-category, todo-initial-file, todo-item-mark)
12557 (todo-legacy-date-time-regexp, todo-mode-line-function)
12558 (todo-nondiary-marker, todo-number-prefix)
12559 (todo-print-buffer-function, todo-show-current-file)
12560 (todo-show-done-only, todo-show-first, todo-show-with-done)
12561 (todo-skip-archived-categories, todo-top-priorities-overrides)
12562 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12563 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12564 New defcustoms.
12565 (todo-category-done, todo-date-pattern, todo-date-string-start)
12566 (todo-diary-items-buffer, todo-done-string-start)
12567 (todo-filtered-items-buffer, todo-item-start)
12568 (todo-month-abbrev-array, todo-month-name-array)
12569 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12570 (todo-top-priorities-buffer): New defconsts.
12571 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12572 (todo-categories-with-marks, todo-category-string-face)
12573 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12574 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12575 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12576 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12577 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12578 (todo-font-lock-keywords, todo-global-current-todo-file)
12579 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12580 (todo-insertion-commands-args)
12581 (todo-insertion-commands-args-genlist)
12582 (todo-insertion-commands-names, todo-insertion-map)
12583 (todo-key-bindings-t, todo-key-bindings-t+a)
12584 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12585 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12586 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12587 (todo-visited): New variables.
12588
12589 2013-06-21 Glenn Morris <rgm@gnu.org>
12590
12591 * play/cookie1.el (cookie-apropos): Add optional display argument.
12592 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12593 (psychoanalyze-pinhead): Use cookie-doctor.
12594
12595 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12596
12597 * emacs-lisp/package.el (tar-get-file-descriptor)
12598 (tar--extract): Declare.
12599
12600 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12601
12602 Extend flymake's warning predicate to be a function (bug#14217).
12603 * progmodes/flymake.el (flymake-warning-predicate): New.
12604 (flymake-parse-line): Use it.
12605 (flymake-warning-re): Make obsolete alias to
12606 `flymake-warning-predicate'.
12607
12608 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12611 (package-obsolete-list): Remove.
12612 (package-activate): Remove min-version argument. Add `force' argument.
12613 Adjust to new package-alist format.
12614 (package-mark-obsolete): Remove.
12615 (package-unpack): Force reload of the package's autoloads.
12616 (package-installed-p): Check builtins if the installed package is not
12617 recent enough.
12618 (package-initialize): Don't reset package-obsolete-list.
12619 Don't specify which package version to activate.
12620 (package-process-define-package, describe-package-1)
12621 (package-menu--generate): Adjust to new package-alist format.
12622
12623 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12624
12625 * allout-widgets.el (allout-widgets-mode-off)
12626 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12627 (allout-widgets-post-command-business)
12628 (allout-widgets-after-copy-or-kill-function)
12629 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12630 (allout-decorate-item-and-context)
12631 (allout-graphics-modification-handler): Fix typos in docstrings.
12632 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12633
12634 * cmuscheme.el (scheme-start-file): Doc fix.
12635 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12636 (scheme-input-filter): Use `string-match-p'.
12637
12638 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12639
12640 * dired-x.el: Use Dired consistently in docstrings.
12641
12642 * dired.el: Use Dired consistently in docstrings.
12643 (dired-readin, dired-mode): Use `setq-local'.
12644 (dired-switches-alist): Make defvar-local.
12645 (dired-buffers-for-dir): Use `zerop'.
12646 (dired-safe-switches-p, dired-switches-escape-p)
12647 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12648 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12649 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12650 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12651 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12652 (dired-toggle-marks, dired-mark-files-containing-regexp)
12653 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12654 (dired-flag-auto-save-files, dired-flag-backup-files):
12655 Use `looking-at-p'.
12656 (dired-mark-files-regexp, dired-build-subdir-alist):
12657 Use `string-match-p', `looking-at-p'.
12658
12659 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12660 (direct-print-region-helper): Use `string-match-p'.
12661
12662 2013-06-21 Leo Liu <sdl.web@gmail.com>
12663
12664 * comint.el (comint-redirect-results-list-from-process):
12665 Fix infinite loop.
12666
12667 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12668
12669 * net/eww.el (eww-update-header-line-format): Quote % characters.
12670
12671 2013-06-21 Glenn Morris <rgm@gnu.org>
12672
12673 * play/cookie1.el (cookie): New custom group.
12674 (cookie-file): New option.
12675 (cookie-check-file): New function.
12676 (cookie): Make it interactive. Make start and end messages optional.
12677 Interactively, display the result. Default to cookie-file.
12678 (cookie-insert): Default to cookie-file.
12679 (cookie-snarf): Make start and end messages optional.
12680 Default to cookie-file. Use with-temp-buffer.
12681 (cookie-read): Rename from read-cookie.
12682 Make start and end messages optional. Default to cookie-file.
12683 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12684 Do not autoload it.
12685 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12686 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12687
12688 2013-06-21 Leo Liu <sdl.web@gmail.com>
12689
12690 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12691
12692 2013-06-21 Glenn Morris <rgm@gnu.org>
12693
12694 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12695
12696 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12697 Daniel Hackney <dan@haxney.org>
12698
12699 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12700 Consolidate the single-file vs tarball code.
12701 (package-desc-suffix): New function.
12702 (package-desc-full-name): Don't bother inlining it.
12703 (package-load-descriptor): Return the new package-desc.
12704 (package-mark-obsolete): Remove unused arg `package'.
12705 (package-unpack): Make it work for single files as well.
12706 Make it update package-alist.
12707 (package--make-autoloads-and-stuff): Rename from
12708 package--make-autoloads-and-compile. Don't compile any more.
12709 (package--compile): New function.
12710 (package-generate-description-file): New function, extracted from
12711 package-unpack-single.
12712 (package-unpack-single): Remove.
12713 (package--with-work-buffer): Add indentation and debugging info.
12714 (package-download-single): Remove.
12715 (package-install-from-archive): Rename from package-download-tar, make
12716 it take a pkg-desc, and make it work for single files as well.
12717 (package-download-transaction): Simplify.
12718 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12719 external tar program.
12720 (package-install-from-buffer): Remove `pkg-desc' argument.
12721 Use package-tar-file-info for tar-mode buffers.
12722 (package-install-file): Simplify accordingly.
12723 (package-archive-base): Change to take a pkg-desc.
12724 * tar-mode.el (tar--check-descriptor): New function, extracted from
12725 tar-get-descriptor.
12726 (tar-get-descriptor): Use it.
12727 (tar-get-file-descriptor): New function.
12728 (tar--extract): New function, extracted from tar-extract.
12729 (tar--extract): Use it.
12730 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12731 case the summary uses non-ascii. Adjust to new calling convention of
12732 package-tar-file-info.
12733
12734 2013-06-21 Leo Liu <sdl.web@gmail.com>
12735
12736 * comint.el (comint-redirect-results-list-from-process):
12737 Fix random delay. (Bug#14681)
12738
12739 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12740
12741 * profiler.el (profiler-format-number): Use log, not log10.
12742
12743 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12744
12745 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12746
12747 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12750 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12751 yet available.
12752 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12753 (AUTOGENEL): ... here.
12754 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12755 (cl--defsubst-expand): Use it.
12756
12757 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12758
12759 * subr.el (log10): Move here from C code, and declare as obsolete.
12760 All uses of (log10 X) replaced with (log X 10).
12761
12762 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12763
12764 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12765 Declare with `defvar-local'.
12766 (tabulated-list-use-header-line, tabulated-list-entries)
12767 (tabulated-list-padding, tabulated-list-printer)
12768 (tabulated-list-sort-key): Declare with `defvar-local'.
12769 (tabulated-list-init-header, tabulated-list-print-fake-header):
12770 Use `setq-local'.
12771
12772 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12773
12774 * arc-mode.el (archive-mode): Add `archive-write-file' to
12775 `write-contents-functions' also for remote files. (Bug#14652)
12776
12777 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12778
12779 * cus-edit.el (custom-commands): Fix typos.
12780 (custom-display): Fix tooltip text.
12781 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12782 Fix typos in docstrings.
12783 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12784 (custom-unlispify-menu-entry, custom-magic-value-create)
12785 (custom-add-see-also, custom-group-value-create): Use ?\s.
12786 (custom-guess-type, customize-apropos, editable-field)
12787 (custom-face-value-create): Use `string-match-p'.
12788 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12789
12790 * custom.el (custom-load-symbol): Use `string-match-p'.
12791
12792 * ansi-color.el: Convert to lexical binding.
12793 (ansi-colors): Fix URL.
12794 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12795 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12796 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12797
12798 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12799
12800 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12801
12802 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12803
12804 2013-06-19 Tom Tromey <tromey@redhat.com>
12805
12806 * net/eww.el (eww-top-url): Remove.
12807 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12808 (eww-render): Set new variables. Don't set eww-top-url.
12809 (eww-handle-link): Handle "prev", "home", and "contents".
12810 Downcase the rel text.
12811 (eww-top-url): Choose best top URL.
12812
12813 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12814
12815 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12816 relying in widget.el. Using widget.el leads to too many
12817 user interface inconsistencies.
12818 (eww-self-insert): Implement entering commands in text fields.
12819 (eww-process-text-input): New function to make text input field editing
12820 work.
12821 (eww-submit): Rewrite to use the new-style form methods.
12822 (eww-select-display): Display the correct selected item.
12823 (eww-change-select): Implement changing the select value.
12824 (eww-toggle-checkbox): Implement radio/checkboxes.
12825 (eww-update-field): Fix compilation error.
12826 (eww-tag-textarea): Implement <textarea>.
12827
12828 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12829 we don't shadow mode-specific bindings.
12830
12831 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12832 nothing to push.
12833
12834 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12835
12836 2013-06-19 Glenn Morris <rgm@gnu.org>
12837
12838 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12839
12840 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12841
12842 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12843 not needed.
12844
12845 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12846
12847 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12848
12849 * net/browse-url.el (browse-url-browser-function):
12850 `eww-browse-url' has the right calling signature, `eww' does not.
12851
12852 2013-06-19 Glenn Morris <rgm@gnu.org>
12853
12854 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12855 Only eval autoloaded macros.
12856 (byte-compile-autoload): Only give the macro warning for macros.
12857
12858 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12859 (ps-underlined-faces): Declare.
12860
12861 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12862 (speedbar-add-supported-extension): Declare.
12863
12864 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12865 Don't include a date stamp in the header of the generated file;
12866 it leads to needless differences between output files.
12867
12868 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12869
12870 * net/secrets.el (secrets-struct-secret-content-type):
12871 Replace check of introspection data by a test call of "CreateItem".
12872 Some servers do not offer introspection.
12873
12874 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * electric.el (electric-pair-mode): Improve interaction with
12877 electric-layout-mode.
12878 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12879 (electric-pair-syntax): Use text-mode-syntax-table in comments
12880 and strings.
12881 (electric-pair--insert): New function.
12882 (electric-pair-post-self-insert-function): Use it and
12883 electric--after-char-pos.
12884
12885 2013-06-19 Leo Liu <sdl.web@gmail.com>
12886
12887 * progmodes/octave.el (octave-help): Fix regexp.
12888
12889 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12890
12891 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12892 (shr-table-horizontal-line): Allow nil as a value, and change the
12893 default.
12894 (shr-insert-table-ruler): Respect the nil value.
12895
12896 2013-06-18 Tom Tromey <tromey@barimba>
12897
12898 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12899 New defvars.
12900 (eww-open-file): New defun.
12901 (eww-render): Initialize new variables.
12902 (eww-display-html): Handle "link" and "a".
12903 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12904 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12905 (eww-back-url): Rename from eww-previous-url.
12906 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12907 New defuns.
12908
12909 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12910
12911 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12912 Distinguish ternary operator tokens from slash symbol and slash
12913 char literal.
12914
12915 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12916
12917 Convert symbol prettification into minor mode and global minor mode.
12918
12919 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12920 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12921 (prettify-symbols--keywords): Rename from
12922 `prog-prettify-symbols-alist' and make a local defvar.
12923 (prettify-symbols--compose-symbol): Rename from
12924 `prog--prettify-font-lock-compose-symbol'.
12925 (prettify-symbols--make-keywords): Rename from
12926 `prog-prettify-font-lock-symbols-keywords' and simplify.
12927 (prog-prettify-install): Remove.
12928 (prettify-symbols-mode): New minor mode, based on
12929 `prog-prettify-install'.
12930 (turn-on-prettify-symbols-mode): New function.
12931 (global-prettify-symbols-mode): New globalized minor mode.
12932
12933 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12934 * progmodes/cfengine.el (cfengine3-mode):
12935 * progmodes/perl-mode.el (perl-mode): Don't call
12936 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12937
12938 2013-06-18 Juri Linkov <juri@jurta.org>
12939
12940 * files-x.el (modify-file-local-variable-message): New function.
12941 (modify-file-local-variable)
12942 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12943 and call `modify-file-local-variable-message' when it's non-nil.
12944 (add-file-local-variable, delete-file-local-variable)
12945 (add-file-local-variable-prop-line)
12946 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12947 and use it. (Bug#9820)
12948
12949 2013-06-18 Juri Linkov <juri@jurta.org>
12950
12951 * emulation/vi.el (vi-shell-op):
12952 * emulation/vip.el (vip-execute-com, ex-command):
12953 * emulation/viper-cmd.el (viper-exec-bang):
12954 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12955 the call of `shell-command-on-region'. (Bug#14637)
12956
12957 * simple.el (shell-command-on-region): Doc fix.
12958
12959 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12960
12961 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12962 (bug#14633).
12963
12964 2013-06-18 Glenn Morris <rgm@gnu.org>
12965
12966 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12967
12968 * newcomment.el (comment-search-forward, comment-search-backward):
12969 Doc fix. (Bug#14376)
12970
12971 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12972
12973 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12974 (buffer-face-mode-invoke): Doc fix.
12975
12976 2013-06-18 Matthias Meulien <orontee@gmail.com>
12977
12978 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12979 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12980
12981 2013-06-18 Glenn Morris <rgm@gnu.org>
12982
12983 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12984 Replace obsolete function generic-make-keywords with its expansion.
12985
12986 * progmodes/python.el (ffap-alist): Declare.
12987
12988 * textmodes/reftex.el (bibtex-mode-map): Declare.
12989
12990 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12991
12992 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12993 (package-unpack, package-unpack-single): Return the pkg-dir.
12994 (package-download-transaction): Use it to update package-alist.
12995
12996 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12997
12998 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12999 possible choice.
13000
13001 2013-06-17 Juri Linkov <juri@jurta.org>
13002
13003 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13004
13005 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13006
13007 * emacs-lisp/package.el (package-load-descriptor):
13008 Remove `with-syntax-table' call, `read' doesn't need it.
13009 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13010
13011 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13012
13013 * startup.el (command-line): Expand package name returned by
13014 `package--description-file' (bug#14639).
13015
13016 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13017
13018 * emacs-lisp/package.el (package-load-descriptor): Do not call
13019 `emacs-lisp-mode', just use its syntax table.
13020
13021 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13022
13023 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13024 `font-lock-extra-managed-props' if any prettifying keyword is added.
13025 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13026 (prog-mode): Use `setq-local'.
13027
13028 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13029
13030 * international/characters.el (standard-case-table): Set syntax of ?»
13031 and ?« to punctuation.
13032
13033 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13034
13035 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13036 Save relevant match data before calling `syntax-ppss' (bug#14595).
13037
13038 2013-06-15 Juri Linkov <juri@jurta.org>
13039
13040 * files-x.el (modify-file-local-variable-prop-line): Add local
13041 variables to the end of the existing comment on the first line.
13042 Use `file-auto-mode-skip' to skip interpreter magic line,
13043 and also skip XML declaration.
13044
13045 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13046
13047 * startup.el (package--builtin-versions): New var.
13048 (package-subdirectory-regexp): Remove.
13049 (package--description-file): Hard code its value instead.
13050
13051 * emacs-lisp/package.el: Don't activate packages older than builtin.
13052 (package-obsolete-list): Rename from package-obsolete-alist, and make
13053 it into a simple list of package-desc.
13054 (package-strip-version): Remove.
13055 (package-built-in-p): Use package--builtin-versions.
13056 (package-mark-obsolete): Simplify.
13057 (package-process-define-package): Mark it obsolete if older than the
13058 builtin version.
13059 (package-handle-response): Use line-end-position.
13060 (package-read-archive-contents, package--download-one-archive):
13061 Simplify.
13062 (package--add-to-archive-contents): Skip if older than the builtin or
13063 installed version.
13064 (package-menu-describe-package): Fix last change.
13065 (package-list-unversioned): New var.
13066 (package-menu--generate): Use it.
13067
13068 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13069 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13070 (autoload-builtin-package-versions): New variable.
13071 (autoload-generate-file-autoloads): Use them.
13072 Remove the list of autoloaded functions/macros from the
13073 (autoload...) comments.
13074
13075 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13076
13077 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13078
13079 * simple.el (line-move-partial): Don't jump to the next screen
13080 line as soon as it becomes visible. Instead, continue enlarging
13081 the vscroll until the portion of a tall screen line that's left on
13082 display is about the height of the frame's default font.
13083 (Bug#14567)
13084
13085 2013-06-15 Glenn Morris <rgm@gnu.org>
13086
13087 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13088 compilation-error-regexp-alist void, or local while let-bound.
13089
13090 * progmodes/make-mode.el (makefile-mode-syntax-table):
13091 Treat "=" as punctuation. (Bug#14614)
13092
13093 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13094
13095 * help-fns.el (describe-variable):
13096 Add extra line for permanent-local variables.
13097
13098 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13099
13100 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13101 Add export, import, library. (Bug#9164)
13102 (library): Set indent function.
13103
13104 2013-06-14 Glenn Morris <rgm@gnu.org>
13105
13106 * term/xterm.el (xterm--query):
13107 Stop after first matching handler. (Bug#14615)
13108
13109 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13110
13111 Add support for dired in saveplace.
13112 * dired.el (dired-initial-position-hook): New variable.
13113 (dired-initial-position): Call hook to place cursor position.
13114 * saveplace.el (save-place-to-alist): Add dired position.
13115 (save-place-dired-hook): New function.
13116
13117 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13120 through a symbol rather than letrec.
13121
13122 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13123 (package-desc): Add `dir' field.
13124 (package-desc-full-name): New function.
13125 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13126 (package-maybe-load-descriptor): Remove.
13127 (package-load-all-descriptors): Just call package-load-descriptor.
13128 (package--disabled-p): New function.
13129 (package-desc-vers, package-desc-doc): Remove aliases.
13130 (package--dir): Remove function.
13131 (package-activate): Check if a package is disabled.
13132 (package-process-define-package): New function, extracted from
13133 define-package.
13134 (define-package): Turn into a place holder.
13135 (package-unpack-single, package-tar-file-info):
13136 Use package--description-file.
13137 (package-compute-transaction): Use package--disabled-p.
13138 (package-download-transaction): Don't call
13139 package-maybe-load-descriptor since they're all loaded anyway.
13140 (package-install): Change argument to be a pkg-desc.
13141 (package-delete): Use a single pkg-desc argument.
13142 (describe-package-1): Use package-desc-dir instead of package--dir.
13143 Use package-desc property instead of package-symbol.
13144 (package-install-button-action): Adjust accordingly.
13145 (package--push): Rewrite.
13146 (package-menu--print-info): Adjust accordingly. Change the ID format
13147 to be a pkg-desc.
13148 (package-menu-describe-package, package-menu-get-status)
13149 (package-menu--find-upgrades, package-menu-mark-upgrades)
13150 (package-menu-execute, package-menu--name-predicate):
13151 Adjust accordingly.
13152 * startup.el (package--description-file): New function.
13153 (command-line): Use it.
13154 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13155 Use package-desc-version.
13156
13157 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13158 (byte-compile-preprocess): Use it.
13159 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13160 can't quite recognize.
13161 (byte-compile-add-to-list): Remove.
13162 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13163 (cconv-closure-convert): Add assertion.
13164
13165 * emacs-lisp/map-ynp.el: Use lexical-binding.
13166 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13167 Factor out some repeated code.
13168
13169 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13170
13171 * subr.el (with-eval-after-load): New macro.
13172 (eval-after-load): Allow form to be a function.
13173 take advantage of lexical-binding.
13174 (do-after-load-evaluation): Use dolist and adjust to new format.
13175 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13176
13177 2013-06-13 Juri Linkov <juri@jurta.org>
13178
13179 * replace.el (perform-replace): Display "symbol " and other search
13180 modes from `isearch-message-prefix' in the *Help* buffer.
13181
13182 * isearch.el (isearch-query-replace): Add " symbol" and other
13183 possible search modes from `isearch-message-prefix' to the prompt.
13184 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13185 when reading a regexp to collect.
13186
13187 2013-06-13 Juri Linkov <juri@jurta.org>
13188
13189 * isearch.el (word-search-regexp): Match whitespace if the search
13190 string begins or ends in whitespace. The LAX arg is applied to
13191 both ends of the search string. Use `regexp-quote' and explicit
13192 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13193 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13194 boundaries are replaced with symbol boundaries, and characters
13195 between symbols match non-word non-symbol syntax. (Bug#14602)
13196
13197 2013-06-13 Juri Linkov <juri@jurta.org>
13198
13199 * isearch.el (isearch-del-char): Don't exceed the length of
13200 `isearch-string' by the prefix arg. (Bug#14563)
13201
13202 2013-06-13 Juri Linkov <juri@jurta.org>
13203
13204 * isearch.el (isearch-yank-word, isearch-yank-line)
13205 (isearch-char-by-name, isearch-quote-char)
13206 (isearch-printing-char, isearch-process-search-char):
13207 Add optional count prefix arg. (Bug#14563)
13208
13209 * international/isearch-x.el
13210 (isearch-process-search-multibyte-characters):
13211 Add optional count prefix arg.
13212
13213 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13216 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13217 lexical-binding.
13218
13219 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13220
13221 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13222
13223 2013-06-13 Glenn Morris <rgm@gnu.org>
13224
13225 * startup.el (tty-handle-args):
13226 Don't just discard "--" and anything after. (Bug#14608)
13227
13228 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13229
13230 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13231
13232 Implement changes in Secret Service API. Make it backward compatible.
13233 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13234 (secrets-create-item): Use it. Prefix properties with interface.
13235
13236 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13237
13238 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13239 (term-emulate-terminal): Respect term-suppress-hard-newline.
13240
13241 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13242
13243 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13244 Only remove a `thumb-file' overlay. (Bug#14548)
13245
13246 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13247
13248 * mail/reporter.el (reporter-submit-bug-report):
13249 Handle missing package-name. (Bug#14600)
13250
13251 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13252
13253 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13254 (reftex-citation-prompt, reftex-default-bibliography)
13255 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13256 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13257 (reftex-bib-sort-author, reftex-bib-sort-year)
13258 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13259 (reftex-extract-bib-entries-from-thebibliography)
13260 (reftex-get-bibkey-default, reftex-get-bib-names)
13261 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13262 (reftex-format-bib-entry, reftex-parse-bibitem)
13263 (reftex-format-bibitem, reftex-do-citation)
13264 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13265 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13266 (reftex-insert-bib-matches, reftex-format-citation)
13267 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13268 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13269 existing comments into docstrings.
13270
13271 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13272
13273 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13274
13275 2013-06-12 Andreas Schwab <schwab@suse.de>
13276
13277 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13278 for auto-save files.
13279
13280 2013-06-12 Glenn Morris <rgm@gnu.org>
13281
13282 * ido.el (ido-delete-ignored-files): Remove.
13283 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13284 Go back to calling ido-ignore-item-p directly.
13285
13286 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13287
13288 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13289
13290 * ido.el (ido-delete-ignored-files): New function,
13291 split from ido-make-file-list-1.
13292 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13293 (ido-make-file-list-1): Use ido-delete-ignored-files.
13294
13295 2013-06-12 Leo Liu <sdl.web@gmail.com>
13296
13297 * progmodes/octave.el (inferior-octave-startup)
13298 (inferior-octave-completion-table)
13299 (inferior-octave-track-window-width-change)
13300 (octave-eldoc-function-signatures, octave-help)
13301 (octave-find-definition): Use single quoted strings.
13302 (inferior-octave-startup-args): Change default value.
13303 (inferior-octave-startup): Do not hard code "-i" and
13304 "--no-line-editing".
13305 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13306 (inferior-octave-directory-tracker): Use it.
13307 (octave-goto-function-definition): Robustify.
13308 (octave-help): Support highlighting operators in 'See also'.
13309 (octave-find-definition): Find subfunctions only in Octave mode.
13310
13311 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13312
13313 * help-fns.el (help-fns--compiler-macro): If the handler function is
13314 named, then put a link to it.
13315 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13316 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13317 (cl-typep): Use it.
13318 (cl-eval-when): Simplify debug spec.
13319 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13320 compiler-macro function instead of setting `compiler-macro-file'.
13321
13322 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13323
13324 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13325 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13326
13327 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13328 Daniel Hackney <dan@haxney.org>
13329
13330 First part of Daniel Hackney's patch to package.el.
13331 * emacs-lisp/package.el: Use defstruct.
13332 (package-desc): New, main struct.
13333 (package--bi-desc, package--ac-desc): New structs, used to describe the
13334 format in external files.
13335 (package-desc-vers): Replace with package-desc-version accessor.
13336 (package-desc-doc): Replace with package-desc-summary accessor.
13337 (package-activate-1): Remove `package' arg since the pkg-vec now
13338 includes the name.
13339 (define-package): Use package-desc-from-define.
13340 (package-unpack-single): Change file-name arg to be a symbol.
13341 (package--add-to-archive-contents): Use package-desc-create and new
13342 accessor functions to package--ac-desc.
13343 (package-buffer-info, package-tar-file-info): Return a package-desc.
13344 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13345 arg to be a package-desc.
13346 (package-install-file): Adjust accordingly. Use \' to match EOS.
13347 (package--from-builtin): New function.
13348 (describe-package-1, package-menu--generate): Use it.
13349 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13350 (package-generate-autoloads): Idem and return the name of the file.
13351 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13352 Change pkg-info arg to be a package-desc.
13353 Use package-make-ac-desc.
13354 (package-upload-file): Use \' to match EOS.
13355 * finder.el (finder-compile-keywords): Use package-make-builtin.
13356
13357 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * vc/vc.el (vc-deduce-fileset): Change error message.
13360 (vc-read-backend): New function.
13361 (vc-next-action): Use it.
13362
13363 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13364
13365 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13366 (prolog-font-lock-keywords): Use regexp-opt instead.
13367 Don't manually highlight strings.
13368 (prolog-mode-variables): Simplify comment-start-skip.
13369 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13370
13371 * emacs-lisp/generic.el (generic--normalise-comments)
13372 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13373 (generic-mode-set-comments): Use them.
13374 (generic-bracket-support): Use setq-local.
13375 (generic-make-keywords-list): Declare obsolete.
13376
13377 2013-06-11 Glenn Morris <rgm@gnu.org>
13378
13379 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13380 Prettify after setting font-lock-defaults. (Bug#14574)
13381
13382 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13383
13384 * replace.el (query-replace, occur-read-regexp-defaults-function)
13385 (replace-search):
13386 * subr.el (declare-function, number-sequence, local-set-key)
13387 (substitute-key-definition, locate-user-emacs-file)
13388 (with-silent-modifications, split-string, eval-after-load):
13389 Fix typos, remove unneeded backslashes and reflow some docstrings.
13390
13391 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13392
13393 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13394 default for Elisp files.
13395
13396 2013-06-11 Glenn Morris <rgm@gnu.org>
13397
13398 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13399 although define-derived-mode was doing this anyway. (Bug#14583)
13400
13401 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13402
13403 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13404 Fix make-variable-buffer-local call to refer to the correct variable.
13405
13406 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13407
13408 * eshell/em-term.el (eshell-visual-commands)
13409 (eshell-visual-subcommands, eshell-visual-options):
13410 Add summary line to docstrings. Add cross-references.
13411
13412 2013-06-10 Glenn Morris <rgm@gnu.org>
13413
13414 * epa.el (epa-read-file-name): New function. (Bug#14510)
13415 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13416
13417 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13418
13419 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13420 output redirection to be ignored with visual commands.
13421
13422 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13423
13424 * eshell/em-term.el (eshell-visual-command-p): New function.
13425 (eshell-term-initialize): Move long lambda to separate function
13426 eshell-visual-command-p.
13427 * eshell/em-dirs.el (eshell-dirs-initialize):
13428 * eshell/em-script.el (eshell-script-initialize):
13429 Add missing #' to lambda.
13430
13431 2013-06-08 Leo Liu <sdl.web@gmail.com>
13432
13433 * progmodes/octave.el (octave-add-log-current-defun): New function.
13434 (octave-mode): Set add-log-current-defun-function.
13435 (octave-goto-function-definition): Do not move point if not found.
13436 (octave-find-definition): Enhance to try subfunctions first.
13437
13438 2013-06-08 Glenn Morris <rgm@gnu.org>
13439
13440 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13441 (byte-compile-backward-char, byte-compile-backward-word):
13442 Improve previous change, to handle non-explicit nil.
13443
13444 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13445
13446 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13447 (smie--opener/closer-at-point): New function.
13448 (smie--matching-block-data): Use it. Don't match from right after an
13449 opener or right before a closer. Obey smie-blink-matching-inners.
13450 Don't signal a mismatch for repeated inners like "switch..case..case".
13451
13452 2013-06-07 Leo Liu <sdl.web@gmail.com>
13453
13454 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13455 to t. (Bug#14303)
13456 (octave-function-header-regexp): Fix. (Bug#14570)
13457 (octave-help-mode-finish-hook, octave-help-mode-finish):
13458 Remove. Just use temp-buffer-show-hook.
13459
13460 * newcomment.el (comment-search-backward): Revert last change.
13461 (Bug#14434)
13462
13463 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13464
13465 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13466
13467 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13468 through xargs, to avoid failure due to MS-Windows limitations on
13469 command-line length.
13470
13471 2013-06-06 Glenn Morris <rgm@gnu.org>
13472
13473 * font-lock.el (lisp-font-lock-keywords-2):
13474 Treat user-error like error.
13475
13476 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13477 (byte-compile-backward-char, byte-compile-backward-word):
13478 Handle explicit nil arguments. (Bug#14565)
13479
13480 2013-06-05 Alan Mackenzie <acm@muc.de>
13481
13482 * isearch.el (isearch-allow-prefix): New user option.
13483 (isearch-other-meta-char): Don't exit isearch when a prefix
13484 argument is typed whilst `isearch-allow-prefix' is non-nil.
13485 (Bug#9706)
13486
13487 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13488
13489 * autorevert.el (auto-revert-notify-handler): Use memq.
13490 Hide assertion failure.
13491
13492 * skeleton.el: Use cl-lib.
13493 (skeleton-further-elements): Use defvar-local.
13494 (skeleton-insert): Use cl-progv.
13495
13496 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13497
13498 * progmodes/prog-mode.el (prog-prettify-symbols)
13499 (prog-prettify-install): Update docstrings.
13500
13501 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * simple.el: Move all the prog-mode code to prog-mode.el.
13504 * progmodes/prog-mode.el: New file.
13505 * loadup.el: Add prog-mode.el.
13506
13507 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13508
13509 * simple.el (prog-prettify-symbols): Add version.
13510 (prog-prettify-install): Add convenience function to prettify symbols.
13511
13512 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13513 (perl--augmented-font-lock-keywords-1)
13514 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13515 variables and use it.
13516
13517 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13518 (cfengine3-mode): Remove unneeded variable and use it.
13519
13520 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13521 (lisp--augmented-font-lock-keywords-1)
13522 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13523 Remove unneeded variables and use it.
13524
13525 2013-06-05 João Távora <joaotavora@gmail.com>
13526
13527 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13528 to point when opening the connection. (Bug#14380)
13529
13530 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13531
13532 * subr.el (load-history-regexp, load-history-filename-element)
13533 (eval-after-load, after-load-functions, do-after-load-evaluation)
13534 (eval-next-after-load, display-delayed-warnings)
13535 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13536 definition of save-match-data.
13537 (overriding-local-map): Remove accidental obsolescence declaration.
13538
13539 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13540
13541 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13542
13543 Generalize symbol prettify support to prog-mode and implement it
13544 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13545 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13546 (prog--prettify-font-lock-compose-symbol)
13547 (prog-prettify-font-lock-symbols-keywords): New variables and
13548 functions to support symbol prettification.
13549 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13550 (lisp--augmented-font-lock-keywords-1)
13551 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13552 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13553 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13554 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13555 Implement prettify of -> => :: strings.
13556 * progmodes/perl-mode.el (perl-prettify-symbols)
13557 (perl--font-lock-compose-symbol)
13558 (perl--font-lock-symbols-keywords): Move to prog-mode.
13559 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13560 (perl-font-lock-keywords-1)
13561 (perl-font-lock-keywords-2): Remove explicit prettify support.
13562 (perl--augmented-font-lock-keywords)
13563 (perl--augmented-font-lock-keywords-1)
13564 (perl--augmented-font-lock-keywords-2, perl-mode):
13565 Implement prettify support.
13566
13567 2013-06-05 Leo Liu <sdl.web@gmail.com>
13568
13569 Re-implement SMIE matching block highlight using
13570 show-paren-data-function. (Bug#14395)
13571 * emacs-lisp/smie.el (smie-matching-block-highlight)
13572 (smie--highlight-matching-block-overlay)
13573 (smie--highlight-matching-block-lastpos)
13574 (smie-highlight-matching-block)
13575 (smie-highlight-matching-block-mode): Remove.
13576 (smie--matching-block-data-cache): New variable.
13577 (smie--matching-block-data): New function.
13578 (smie-setup): Use smie--matching-block-data for
13579 show-paren-data-function.
13580
13581 * progmodes/octave.el (octave-mode-menu): Fix.
13582 (octave-find-definition): Skip garbage lines.
13583
13584 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 Fix compilation error with simultaneous dynamic+lexical scoping.
13587 Add warning when a defvar appears after the first let-binding.
13588 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13589 (byte-compile-close-variables): Initialize it.
13590 (byte-compile--declare-var): New function.
13591 (byte-compile-file-form-defvar)
13592 (byte-compile-file-form-define-abbrev-table)
13593 (byte-compile-file-form-custom-declare-variable): Use it.
13594 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13595 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13596 (byte-compile-bind): Handle dynamic bindings that shadow
13597 lexical bindings.
13598 (byte-compile-unbind): Make arg non-optional.
13599 (byte-compile-let): Simplify.
13600 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13601 (cconv--analyse-function, cconv-analyse-form): Populate it.
13602 Protect byte-compile-bound-variables to limit the scope of defvars.
13603 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13604 Remove unneeded rule for `declare'.
13605
13606 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13607 so as to avoid depending on cl-adjoin at run-time.
13608 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13609
13610 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13611 (macroexp--warn-and-return): Use it.
13612
13613 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13614
13615 * subr.el: Convert to lexical binding.
13616 (overriding-local-map): Make obsolete.
13617 (add-to-list): Doc fix. Add compiler macro.
13618 (read-key): Swap values of local maps.
13619
13620 2013-06-05 Leo Liu <sdl.web@gmail.com>
13621
13622 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13623
13624 2013-06-04 Leo Liu <sdl.web@gmail.com>
13625
13626 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13627 (compilation-auto-jump): Suppress the "Mark set" message to give
13628 way to exit message.
13629
13630 2013-06-04 Alan Mackenzie <acm@muc.de>
13631
13632 Remove faulty optimisation from indentation calculation.
13633 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13634 search limit based on 2000 characters back from indent-point.
13635
13636 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13637
13638 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13639
13640 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13641
13642 * emacs-lisp/lisp.el: Use lexical-binding.
13643 (lisp--local-variables-1, lisp--local-variables): New functions.
13644 (lisp--local-variables-completion-table): New var.
13645 (lisp-completion-at-point): Use it complete let-bound vars.
13646
13647 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13648 eagerly (bug#14422).
13649
13650 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13651
13652 * autorevert.el (auto-revert-notify-enabled)
13653 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13654 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13655 (auto-revert-notify-handler): Handle also gfilenotify.
13656
13657 * subr.el (file-notify-handle-event): New defun. Replacing ...
13658 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13659 Remove.
13660
13661 2013-06-03 Juri Linkov <juri@jurta.org>
13662
13663 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13664 `M-s h .'. (Bug#14427)
13665
13666 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13667 command `hi-lock-face-symbol-at-point'.
13668 (hi-lock-face-symbol-at-point): New command.
13669 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13670 (hi-lock-menu): Add `highlight-symbol-at-point'.
13671 (hi-lock-mode): Doc fix.
13672
13673 * isearch.el (isearch-forward-symbol-at-point): New command.
13674 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13675 (isearch-highlight-regexp): Add a regexp which matches
13676 words/symbols for word/symbol mode.
13677
13678 * subr.el (find-tag-default-bounds): New function with the body
13679 mostly moved from `find-tag-default'.
13680 (find-tag-default): Move most code to `find-tag-default-bounds',
13681 call it and apply `buffer-substring-no-properties' afterwards.
13682
13683 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13684
13685 * eshell/em-term.el (eshell-term-initialize):
13686 Use `cl-intersection' rather than `intersection'.
13687
13688 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13689
13690 * vc/log-view.el: Doc fix.
13691 (log-view-mode-map): Copy keymap from `special-mode-map'.
13692
13693 2013-06-02 Eric Ludlam <zappo@gnu.org>
13694
13695 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13696 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13697 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13698 (eieio-unbound, eieio-default-superclass)
13699 (eieio--define-field-accessors, method-static, method-before)
13700 (method-primary, method-after, method-num-lists)
13701 (method-generic-before, method-generic-primary)
13702 (method-generic-after, method-num-slots)
13703 (eieio-specialized-key-to-generic-key)
13704 (eieio--check-type, class-v, class-p)
13705 (eieio-class-name, define-obsolete-function-alias)
13706 (eieio-class-parents-fast, eieio-class-children-fast)
13707 (same-class-fast-p, class-constructor, generic-p)
13708 (generic-primary-only-p, generic-primary-only-one-p)
13709 (class-option-assoc, class-option, eieio-object-p)
13710 (class-abstract-p, class-method-invocation-order)
13711 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13712 (eieio-class-un-autoload, eieio-defclass)
13713 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13714 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13715 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13716 (eieio-defgeneric-reset-generic-form)
13717 (eieio-defgeneric-form-primary-only)
13718 (eieio-defgeneric-reset-generic-form-primary-only)
13719 (eieio-defgeneric-form-primary-only-one)
13720 (eieio-defgeneric-reset-generic-form-primary-only-one)
13721 (eieio-unbind-method-implementations)
13722 (eieio--defmethod, eieio--typep)
13723 (eieio-perform-slot-validation, eieio-validate-slot-value)
13724 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13725 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13726 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13727 (eieio-slot-name-index, eieio-class-slot-name-index)
13728 (eieio-set-defaults, eieio-initarg-to-attribute)
13729 (eieio-attribute-to-initarg, eieio-c3-candidate)
13730 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13731 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13732 (eieio-class-precedence-list, eieio-generic-call-methodname)
13733 (eieio-generic-call-arglst, eieio-generic-call-key)
13734 (eieio-generic-call-next-method-list)
13735 (eieio-pre-method-execution-functions, eieio-generic-call)
13736 (eieio-generic-call-primary-only, eieiomt-method-list)
13737 (eieiomt-optimizing-obarray, eieiomt-install)
13738 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13739 (eieio-generic-form, eieio-defmethod, make-obsolete)
13740 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13741 (defclass): Remove `eval-and-compile' from macro.
13742 (call-next-method, shared-initialize): Instead of using
13743 `scoped-class' variable, use new eieio--scoped-class, and
13744 eieio--with-scoped-class.
13745 (initialize-instance): Rename local variable 'scoped-class' to
13746 'this-class' to remove ambiguitity from old global.
13747
13748 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13749 eieio.el.
13750 (eieio--scoped-class-stack): New variable.
13751 (eieio--scoped-class): New fcn.
13752 (eieio--with-scoped-class): New scoping macro.
13753 (eieio-defclass): Use pushnew instead of add-to-list.
13754 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13755 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13756 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13757 `scoped-class' variable, use new eieio--scoped-class, and
13758 eieio--with-scoped-class.
13759
13760 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13761
13762 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13763
13764 * eshell/esh-ext.el (eshell-external-command): Pass args to
13765 `eshell-find-interpreter'.
13766 (eshell-find-interpreter): Add new second parameter ARGS.
13767
13768 * eshell/em-script.el (eshell-script-initialize): Add second arg
13769 to the function added as MATCH to `eshell-interpreter-alist'.
13770
13771 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13772 the function added as MATCH to `eshell-interpreter-alist'.
13773
13774 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13775 (eshell-visual-options): New defcustom.
13776 (eshell-escape-control-x): Adapt docstring.
13777 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13778 `eshell-visual-options' in addition to `eshell-visual-commands'.
13779 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13780
13781 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13782
13783 * progmodes/python.el (python-indent-block-enders): Add break,
13784 continue and raise keywords.
13785
13786 2013-06-01 Glenn Morris <rgm@gnu.org>
13787
13788 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13789
13790 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13791 * progmodes/cc-cmds.el (delete-forward-p):
13792 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13793 * progmodes/cc-engine.el (buffer-syntactic-context):
13794 * progmodes/cc-fonts.el (face-property-instance):
13795 * progmodes/cc-mode.el (set-keymap-parents):
13796 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13797 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13798 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13799 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13800 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13801
13802 * progmodes/cc-vars.el (other): Emacs has this widget since
13803 at least 21.1, so don't (re)define it.
13804
13805 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13806 Replace the obsolete alias pcomplete-arg-quote-list.
13807
13808 2013-06-01 Leo Liu <sdl.web@gmail.com>
13809
13810 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13811 punctuation syntax.
13812 (inferior-octave-minimal-columns)
13813 (inferior-octave-last-column-width): New variables.
13814 (inferior-octave-track-window-width-change): New function.
13815 (inferior-octave-mode): Adjust column width so that Octave output,
13816 for example from 'ls', can fit into the window nicely.
13817
13818 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13819
13820 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13821 Highlight expansions inside regexp literals.
13822
13823 2013-05-31 Glenn Morris <rgm@gnu.org>
13824
13825 * obsolete/sym-comp.el (symbol-complete):
13826 Replace obsolete completion-annotate-function.
13827
13828 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13829
13830 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13831
13832 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13833 New function, checks if point is inside a literal that allows
13834 expression expansion.
13835 (ruby-syntax-propertize-expansion): Use it.
13836 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13837 around the body.
13838
13839 2013-05-30 Juri Linkov <juri@jurta.org>
13840
13841 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13842 to "\M-si".
13843 (isearch-invisible): New variable.
13844 (isearch-forward): Doc fix.
13845 (isearch-mode): Set `isearch-invisible'
13846 to the value of `search-invisible'.
13847 (isearch-toggle-case-fold): Doc fix.
13848 (isearch-toggle-invisible): New command.
13849 (isearch-query-replace): Let-bind `search-invisible'
13850 to the value of `isearch-invisible'.
13851 (isearch-search): Use `isearch-invisible' instead of
13852 `search-invisible'. Let-bind `search-invisible'
13853 to the value of `isearch-invisible'. (Bug#11378)
13854
13855 2013-05-30 Juri Linkov <juri@jurta.org>
13856
13857 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13858 call when `query-flag' is nil and `search-invisible' is non-nil.
13859 (Bug#11746)
13860
13861 2013-05-30 Glenn Morris <rgm@gnu.org>
13862
13863 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13864
13865 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13866 (cc-require): Suppress spurious "noruntime" warnings.
13867 (cc-require-when-compile): Use fboundp, for sake of compiler.
13868
13869 * progmodes/cc-mode.el: Move load of cc-vars before that of
13870 cc-langs (which in turn loads cc-vars), to quieten compiler.
13871
13872 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13873
13874 * paren.el: Simplify the code.
13875 (show-paren-mode): Always start the timer.
13876 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13877 (show-paren--overlay, show-paren--overlay-1): Rename from
13878 show-paren-overlay and show-paren-overlay-1, and initialize to an
13879 overlay rather than to nil.
13880 (show-paren-function): Misc cleanup and simplifications.
13881
13882 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13883
13884 * paren.el (show-paren-data-function): New hook.
13885 (show-paren--default): New function, extracted from show-paren-function.
13886 (show-paren-function): Use show-paren-data-function.
13887
13888 2013-05-30 Glenn Morris <rgm@gnu.org>
13889
13890 * ielm.el (ielm-map, ielm-complete-symbol):
13891 Use completion-at-point rather than obsolete functions.
13892 (inferior-emacs-lisp-mode): Doc fix.
13893 Set completion-at-point-functions, rather than
13894 comint-dynamic-complete-functions.
13895
13896 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13897 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13898 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13899
13900 * image.el (image-animated-p): Tweak definition.
13901
13902 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13903 (rlogin-process-connection-type): Tweak default. Add set-after.
13904 (rlogin-host): Doc fix.
13905 (rlogin): Tweak prompt.
13906 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13907
13908 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13909 * progmodes/tcl.el (inferior-tcl-mode-map):
13910 Use completion-at-point rather than obsolete alias.
13911
13912 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13913
13914 * minibuffer.el (read-file-name-completion-ignore-case):
13915 Move before completion--in-region, for eager macro expansion.
13916
13917 2013-05-29 Juri Linkov <juri@jurta.org>
13918
13919 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13920 for total count of matching lines. Add `global-matches' for total
13921 count of matches. Rename `matches' to `lines' for count of
13922 matching lines. Add `matches' for count of matches.
13923 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13924 to `prev-line' for line number of prev match endpt.
13925 Increment `matches' for every match. Print the number of
13926 matching lines in the header.
13927 (occur-context-lines): Rename `lines' to `curr-line'.
13928 Rename `prev-lines' to `prev-line'. (Bug#14017)
13929
13930 2013-05-29 Juri Linkov <juri@jurta.org>
13931
13932 * replace.el (perform-replace): Add `skip-read-only-count',
13933 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13934 Increment them for corresponding conditions and report the number
13935 of skipped occurrences in the final message. (Bug#11746)
13936 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13937 (replace-string, replace-regexp): Doc fix.
13938
13939 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13940
13941 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13942
13943 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13944 prog-mode-map (bug#14504).
13945
13946 2013-05-29 Leo Liu <sdl.web@gmail.com>
13947
13948 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13949 (octave-help): Small simplification.
13950
13951 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13952 off the highlight first.
13953
13954 2013-05-29 Glenn Morris <rgm@gnu.org>
13955
13956 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13957 Handle idlwave-last-system-routine-info-cons-cell being nil.
13958
13959 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13960 (idlwave-write-paths): Simplify via with-temp-buffer.
13961
13962 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13963 * emulation/cua-rect.el: Also load cua-base at run time.
13964
13965 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13966 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13967 (cperl-imenu-on-info): Require imenu.
13968
13969 2013-05-28 Alan Mackenzie <acm@muc.de>
13970
13971 Handle "capitalised keywords" correctly.
13972 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13973
13974 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13975
13976 * eshell/em-unix.el: Add -r option to cp.
13977
13978 2013-05-28 Glenn Morris <rgm@gnu.org>
13979
13980 * vc/vc-arch.el (vc-exec-after): Declare.
13981 (vc-switches): Autoload.
13982 * vc/vc-bzr.el: No need to require vc when compiling.
13983 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13984 (vc-resynch-buffer, vc-dir-refresh): Declare.
13985 (vc-setup-buffer, vc-switches): Autoload.
13986 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13987 (vc-resynch-buffer): Declare.
13988 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13989 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13990 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13991 (grep-read-regexp, grep-read-files, grep-expand-template)
13992 (vc-dir-refresh): Declare.
13993 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13994 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13995 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13996 * vc/vc-mtn.el (vc-exec-after): Declare.
13997 (vc-switches): Autoload.
13998 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13999 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14000 (vc-file-tree-walk): Declare.
14001 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14002 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14003 (vc-tag-precondition, vc-rename-master): Autoload.
14004 * vc/vc-svn.el (vc-exec-after): Declare.
14005 (vc-switches, vc-setup-buffer): Autoload.
14006 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14007 Autoload.
14008 (vc-resynch-buffer): Declare.
14009
14010 * obsolete/fast-lock.el (byte-compile-warnings):
14011 Don't warn about obsolete features in this obsolete file.
14012
14013 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14014 Move definition before use.
14015
14016 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14017 (dun-unix-verbs): Remove dun-zippy.
14018 (dun-zippy): Remove function.
14019
14020 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14021
14022 2013-05-27 Juri Linkov <juri@jurta.org>
14023
14024 * replace.el (replace-search): New function with code moved out
14025 from `perform-replace'.
14026 (replace-highlight, replace-dehighlight): Move function definitions
14027 up closer to `replace-search'. (Bug#11746)
14028
14029 2013-05-27 Juri Linkov <juri@jurta.org>
14030
14031 * replace.el (perform-replace): Ignore invisible matches.
14032 In addition to checking `query-replace-skip-read-only', also
14033 filter out matches by calling `run-hook-with-args-until-failure'
14034 on `isearch-filter-predicates', and also check `search-invisible'
14035 for t or call `isearch-range-invisible'.
14036 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14037
14038 2013-05-27 Juri Linkov <juri@jurta.org>
14039
14040 * isearch.el (isearch-filter-predicates): Rename from
14041 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14042 (isearch-message-prefix): Display text from the property
14043 `isearch-message-prefix' of the currently active filters.
14044 (isearch-search): Don't compare `isearch-filter-predicate' with
14045 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14046 on `isearch-filter-predicates'. Also check `search-invisible' for t
14047 or call `isearch-range-invisible'.
14048 (isearch-filter-visible): Make obsolete.
14049 (isearch-lazy-highlight-search):
14050 Call `run-hook-with-args-until-failure' on
14051 `isearch-filter-predicates' and use `isearch-range-invisible'.
14052
14053 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14054 `isearch-filter-predicates' instead of `funcall'ing
14055 `isearch-filter-predicate'.
14056 (Info-mode): Set `Info-isearch-filter' to
14057 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14058
14059 * dired-aux.el (dired-isearch-filter-predicate-orig):
14060 Remove variable.
14061 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14062 (dired-isearch-filenames-end): Add and remove
14063 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14064 instead of changing the value of `isearch-filter-predicate'.
14065 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14066 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14067 Put property `isearch-message-prefix' to "filename " on
14068 `dired-isearch-filter-filenames'.
14069
14070 * wdired.el (wdired-change-to-wdired-mode):
14071 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14072 locally instead of changing `isearch-filter-predicate'.
14073 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14074
14075 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14076
14077 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14078 return the commit hash (Bug#14459). Also set the
14079 `vc-git-detached' property.
14080 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14081 (vc-git-mode-line-string): Use the same help-echo format whether
14082 in detached mode or not, because we know the actual revision now.
14083 When in detached mode, shorten the revision to 7 chars.
14084
14085 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14086
14087 * emacs-lisp/easy-mmode.el (define-minor-mode):
14088 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14089 mode hook and provide a docstring.
14090
14091 2013-05-27 Alan Mackenzie <acm@muc.de>
14092
14093 Remove spurious syntax-table text properties inserted by C-y.
14094 * progmodes/cc-mode.el (c-after-change): Also clear hard
14095 syntax-table property with value nil.
14096
14097 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14098
14099 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14100 when reading the events; the buffer layout shall not be changed.
14101
14102 2013-05-27 Leo Liu <sdl.web@gmail.com>
14103
14104 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14105 New variable.
14106 (inferior-octave-directory-tracker): Automatically re-sync
14107 default-directory.
14108 (octave-help): Improve handling of 'See also'.
14109
14110 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 * doc-view.el: Minor naming convention tweaks.
14113 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14114
14115 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14116 even if there's no `display' property yet (bug#14435).
14117
14118 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14119
14120 * subr.el (unmsys--file-name): Rename from reveal-filename.
14121
14122 * Makefile.in (custom-deps, finder-data, autoloads)
14123 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14124 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14125 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14126
14127 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14128
14129 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14130 error-completion on the first 2 args of condition-case (bug#14446).
14131 Don't burp at EOB.
14132
14133 2013-05-25 Leo Liu <sdl.web@gmail.com>
14134
14135 * comint.el (comint-previous-matching-input): Do not flood the
14136 *Messages* buffer with trivial messages.
14137
14138 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14139
14140 * progmodes/flymake.el (flymake-nop): Don't return a string.
14141 (flymake-set-at): Fix typo.
14142
14143 * simple.el (read--expression): New function, extracted from
14144 eval-expression. Set completion-at-point-functions (bug#14465).
14145 (eval-expression, eval-minibuffer): Use it.
14146
14147 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14148
14149 * progmodes/flymake.el (flymake-save-buffer-in-file)
14150 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14151 (flymake-selected-frame, flymake-log, flymake-ins-after)
14152 (flymake-set-at, flymake-get-buildfile-from-cache)
14153 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14154 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14155 Refine the doc string.
14156 (flymake-get-file-name-mode-and-masks): Reformat.
14157 (flymake-get-real-file-name-function): Fix a minor bug.
14158
14159 2013-05-24 Juri Linkov <juri@jurta.org>
14160
14161 * progmodes/grep.el (grep-mode-font-lock-keywords):
14162 Support =linenumber= format used by git-grep for lines with
14163 function names. (Bug#13549)
14164
14165 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14168 0 after a semi-colon; it works better for smie-auto-fill.
14169 (octave--indent-new-comment-line): New function.
14170 (octave-indent-new-comment-line): Use it (indirectly).
14171 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14172 modify comment-line-break-function.
14173
14174 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14175 (smie-setup): Use add-function to set it.
14176
14177 2013-05-24 Sam Steingold <sds@gnu.org>
14178
14179 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14180 argument (before the `interactive' argument).
14181
14182 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14183
14184 * image-mode.el (image-mode-winprops): Add winprops to
14185 image-mode-winprops-alist before running
14186 image-mode-new-window-functions.
14187 * doc-view.el (doc-view-new-window-function): Don't delay
14188 doc-view-goto-page via timers (bug#14435).
14189
14190 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14191
14192 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14193 (doc-view-desktop-save-buffer): New function.
14194 (doc-view-restore-desktop-buffer): New function.
14195 (desktop-buffer-mode-handlers):
14196 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14197 handler.
14198 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14199 `desktop-save-buffer' function.
14200
14201 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14202
14203 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14204 (tramp-gvfs-file-name-handler): Raise a user error when
14205 `tramp-gvfs-enabled' is nil.
14206 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14207 Do not raise a user error when loading package. (Bug#14447)
14208
14209 * net/xesam.el: Move to obsolete/.
14210
14211 2013-05-24 Glenn Morris <rgm@gnu.org>
14212
14213 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14214
14215 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14216
14217 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14218 (Info-find-node, Man-getpage-in-background): Declare.
14219
14220 * mail/unrmail.el (unrmail):
14221 Replace obsolete detect-coding-with-priority.
14222
14223 * net/socks.el (socks-split-string): Use this rather than split-string.
14224 (socks-nslookup-host): Update for above change.
14225 (dynamic-choice, s5-dynamic-choice-match)
14226 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14227 Comment out unused code.
14228
14229 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14230 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14231 (gud-tooltip-echo-area): Make obsolete.
14232 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14233
14234 * progmodes/js.el (js--optimize-arglist): Declare.
14235
14236 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14237
14238 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14239 (ediff-window-C): Declare.
14240
14241 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14242 Tweak requires to silence compiler.
14243
14244 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14245 (he-search-string, he-tried-table, he-expand-list)
14246 (he-init-string, he-string-member, he-substitute-string)
14247 (he-reset-string): Declare.
14248
14249 * obsolete/options.el (list-options): Use custom-variable-p,
14250 rather than obsolete alias.
14251
14252 2013-05-23 Sam Steingold <sds@gnu.org>
14253
14254 * simple.el (shell-command-on-region): Pass the `replace' argument
14255 down to `call-process-region' to comply with the doc as reported on
14256 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14257
14258 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14259
14260 * emacs-lisp/smie.el (smie-indent-forward-token)
14261 (smie-indent-backward-token): Handle string tokens (bug#14381).
14262
14263 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14264
14265 * ielm.el (ielm-menu): New menu.
14266 (inferior-emacs-lisp-mode): Set comment-start.
14267
14268 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14269
14270 * textmodes/reftex.el (reftex-ref-style-toggle):
14271 Fix deactivate action.
14272
14273 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14274 Add cleveref macros.
14275
14276 * textmodes/reftex-parse.el
14277 (reftex-locate-bibliography-files): Accept options for
14278 bibliography commands.
14279 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14280 Add addbibresource. Basic Biblatex support.
14281
14282 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14283
14284 * net/tramp-gvfs.el (top):
14285 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14286 when loading package. (Bug#14447)
14287
14288 2013-05-23 Glenn Morris <rgm@gnu.org>
14289
14290 * progmodes/js.el: No need to load comint when compiling.
14291 (ring-insert, comint-send-string, comint-send-input)
14292 (comint-last-input-end, ido-chop): Declare.
14293
14294 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14295 * vc/ediff-mult.el: Adjust requires.
14296 (ediff-directories-internal, ediff-directory-revisions-internal)
14297 (ediff-patch-file-internal): Declare.
14298 * vc/ediff-ptch.el: Adjust requires.
14299 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14300 (ediff-find-file): Autoload.
14301 * vc/ediff-util.el: No need to load ediff when compiling.
14302 (ediff-regions-internal): Declare.
14303 * vc/ediff-wind.el: Adjust requires.
14304 (ediff-compute-toolbar-width): Define when compiling.
14305 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14306 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14307 (dired-get-filename, dired-get-marked-files)
14308 (ediff-last-dir-patch, ediff-patch-default-directory)
14309 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14310 (ediff-patch-buffer-internal): Declare.
14311
14312 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14313 (ispell-process, ispell-buffer-local-words, lm-summary)
14314 (lm-section-start, lm-section-end): Declare.
14315 (checkdoc-ispell-init): Simplify.
14316
14317 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14318 (he-string-member, he-reset-string, he-substitute-string): Declare.
14319
14320 * eshell/em-ls.el: Adjust requires.
14321 (eshell-glob-regexp): Declare.
14322 * eshell/em-tramp.el: Adjust requires.
14323 (eshell-parse-command): Autoload.
14324 * eshell/em-xtra.el: Adjust requires.
14325 (eshell-parse-command): Autoload.
14326 * eshell/esh-ext.el: Adjust requires.
14327 (eshell-parse-command, eshell-close-handles): Autoload.
14328 * eshell/esh-io.el: Adjust requires.
14329 (eshell-output-filter): Autoload.
14330 * eshell/esh-util.el: No need to load tramp when compiling.
14331 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14332 Declare.
14333 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14334 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14335 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14336 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14337 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14338 * eshell/esh-opt.el, eshell/esh-proc.el:
14339 * eshell/esh-var.el: Adjust requires.
14340 * eshell/eshell.el: Do not require esh-util twice.
14341 (eshell-add-input-to-history): Declare.
14342 (eshell-command): Check history module is active before using it.
14343
14344 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14345
14346 2013-05-22 Leo Liu <sdl.web@gmail.com>
14347
14348 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14349
14350 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14351
14352 * autorevert.el (auto-revert-notify-add-watch)
14353 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14354 it indicates changes in file modification time.
14355
14356 2013-05-22 Glenn Morris <rgm@gnu.org>
14357
14358 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14359 Always delete the autoloaded function from the noruntime and
14360 unresolved functions lists.
14361
14362 * allout.el: No need to load epa, epg, overlay when compiling.
14363 (epg-context-set-passphrase-callback, epg-list-keys)
14364 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14365 (epg-key-user-id-list): Declare.
14366
14367 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14368 (viper-set-parsing-style-toggling-macro)
14369 (viper-set-emacs-state-searchstyle-macros):
14370 Use called-interactively-p on Emacs.
14371 (viper-looking-back): Make it an obsolete alias. Update callers.
14372 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14373 Use looking-back rather than viper-looking-back.
14374 (viper-tmp-insert-at-eob, viper-enlarge-region)
14375 (viper-read-string-with-history, viper-register-to-point)
14376 (viper-append-to-register, viper-change-state-to-vi)
14377 (viper-backward-char-carefully, viper-forward-char-carefully)
14378 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14379 (viper-change-state-to-emacs): Declare.
14380 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14381 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14382 * emulation/viper-mous.el: Do not load viper-cmd.
14383 (viper-backward-char-carefully, viper-forward-char-carefully)
14384 (viper-forward-word, viper-adjust-window): Declare.
14385
14386 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14387
14388 * progmodes/idlw-help.el (idlwave-help-fontify):
14389 Use called-interactively-p.
14390
14391 * term/w32console.el (w32-get-console-codepage)
14392 (w32-get-console-output-codepage): Declare.
14393
14394 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14395 Remove unnecessary declarations.
14396 (dframe-message): Doc fix.
14397
14398 * info.el (dframe-select-attached-frame, dframe-current-frame):
14399 Declare.
14400
14401 * speedbar.el (speedbar-message): Make it an obsolete alias.
14402 Update all callers.
14403 (speedbar-with-attached-buffer)
14404 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14405 (speedbar-with-writable): Use backquote.
14406 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14407 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14408 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14409 rather than speedbar- aliases.
14410 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14411 (speedbar-make-specialized-keymap, speedbar-insert-button)
14412 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14413 (speedbar-do-function-pointer): Declare.
14414 (rmail-speedbar-button, rmail-speedbar-find-file)
14415 (rmail-speedbar-move-message):
14416 Use dframe-with-attached-buffer rather than speedbar- alias.
14417 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14418 (dframe-message, speedbar-make-specialized-keymap)
14419 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14420 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14421 (speedbar-insert-button, dframe-select-attached-frame)
14422 (dframe-maybee-jump-to-attached-frame)
14423 (speedbar-change-initial-expansion-list)
14424 (speedbar-previously-used-expansion-list-name): Declare.
14425 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14426 Use dframe-message, dframe-with-attached-buffer rather than
14427 speedbar- aliases.
14428 (gud-sentinel): Silence compiler.
14429 * progmodes/vhdl-mode.el (speedbar-refresh)
14430 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14431 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14432 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14433 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14434 (speedbar-file-lists, speedbar-make-tag-line)
14435 (speedbar-line-directory, speedbar-goto-this-file)
14436 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14437 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14438 (speedbar-make-button, speedbar-reset-scanners)
14439 (speedbar-files-item-info, speedbar-line-text)
14440 (speedbar-find-file-in-frame, speedbar-set-timer)
14441 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14442 (speedbar-with-writable): Do not (re)define it.
14443 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14444 rather than speedbar- alias.
14445
14446 2013-05-21 Leo Liu <sdl.web@gmail.com>
14447
14448 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14449 menu items.
14450 (octave-mode): Tweak fill-nobreak-predicate.
14451 (inferior-octave-startup): Check process to avoid infinite loop.
14452 (inferior-octave): Pop to buffer first to show abornmal process
14453 exit information.
14454
14455 2013-05-21 Glenn Morris <rgm@gnu.org>
14456
14457 * printing.el (pr-menu-bar): Define when compiling.
14458
14459 2013-05-21 Leo Liu <sdl.web@gmail.com>
14460
14461 * progmodes/octave.el (octave-auto-fill): Remove.
14462 (octave-indent-new-comment-line): Improve.
14463 (octave-mode): Use auto fill mode through
14464 comment-line-break-function and fill-nobreak-predicate.
14465 (octave-goto-function-definition): Support DEFUN_DLD.
14466 (octave-beginning-of-defun): Small tweak.
14467 (octave-help): Show parent directory.
14468
14469 2013-05-21 Glenn Morris <rgm@gnu.org>
14470
14471 * files.el (dired-unmark):
14472 * progmodes/gud.el (gdb-input): Update declarations.
14473
14474 * calculator.el (electric, ehelp): No need to load when compiling.
14475 (Electric-command-loop, electric-describe-mode): Declare.
14476
14477 * doc-view.el (doc-view-current-converter-processes): Move before use.
14478
14479 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14480 Move MODE-set-explicitly definition before use.
14481
14482 * international/mule-diag.el (mule-diag):
14483 Don't use obsolete window-system-version.
14484
14485 * mail/feedmail.el (smtpmail): No need to load when compiling.
14486 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14487
14488 * mail/mail-utils.el (rfc822): No need to load when compiling.
14489 (rfc822-addresses): Autoload it.
14490 (mail-strip-quoted-names): Trivial simplification.
14491
14492 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14493 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14494
14495 * net/snmp-mode.el (tempo): Don't duplicate requires.
14496
14497 * progmodes/prolog.el (info): No need to load when compiling.
14498 (comint): Require before shell requires it.
14499 (Info-goto-node): Autoload it.
14500 (Info-follow-nearest-node): Declare.
14501 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14502
14503 * textmodes/artist.el (picture-mode-exit): Declare.
14504
14505 * textmodes/reftex-parse.el (reftex-parse-from-file):
14506 Trivial rewrite so the compiler can parse it better.
14507
14508 2013-05-20 Leo Liu <sdl.web@gmail.com>
14509
14510 * progmodes/octave.el (octave-help-mode-map)
14511 (octave-help-mode-finish-hook): New variables.
14512 (octave-help-mode, octave-help-mode-finish): New functions.
14513 (octave-help): Use octave-help-mode.
14514
14515 2013-05-20 Glenn Morris <rgm@gnu.org>
14516
14517 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14518
14519 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14520
14521 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14522 start at point, so that expansion starting right after opening
14523 slash in a regexp is recognized.
14524 (ruby-syntax-before-regexp-re): New defvar, extracted from
14525 ruby-syntax-propertize-function. Since the value of this regexp
14526 is looked up at runtime now, we should be able to turn
14527 `ruby-syntax-methods-before-regexp' into a defcustom later.
14528 (ruby-syntax-propertize-function): Split regexp matching into two
14529 parts, for opening and closing slashes. That allows us to skip
14530 over string interpolations and support multiline regexps.
14531 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14532 for them, which calls `ruby-syntax-propertize-expansion'.
14533 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14534 call to `ruby-syntax-propertize-function'.
14535 (ruby-syntax-propertize-expansion): Extracted from
14536 `ruby-syntax-propertize-expansions'. Handles one expansion.
14537 (ruby-syntax-propertize-percent-literal): Leave point right after
14538 the percent symbol, so that the expression expansion rule can
14539 propertize the contents.
14540 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14541 heredoc openers.
14542 (ruby-syntax-propertize-expansions): Remove.
14543
14544 2013-05-18 Juri Linkov <juri@jurta.org>
14545
14546 * man.el (Man-default-man-entry): Remove `-' from the end
14547 of the default value. (Bug#14400)
14548
14549 2013-05-18 Glenn Morris <rgm@gnu.org>
14550
14551 * comint.el (comint-password-prompt-regexp):
14552 Allow "password for XXX" where XXX contains colons (eg https://...).
14553
14554 2013-05-18 Leo Liu <sdl.web@gmail.com>
14555
14556 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14557 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14558 (octave-source-directories): Don't check process.
14559 (octave-source-directories, octave-find-definition): Doc fix.
14560
14561 2013-05-18 Glenn Morris <rgm@gnu.org>
14562
14563 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14564 Remove backspace/delete bindings. (Bug#14392)
14565
14566 * cus-dep.el (custom-make-dependencies): Sort the output.
14567 (custom-versions-load-alist): Convert comment to doc.
14568
14569 2013-05-17 Leo Liu <sdl.web@gmail.com>
14570
14571 * newcomment.el (comment-search-backward): Stricter in finding
14572 comment start. (Bug#14303)
14573
14574 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14575 (octave-comment-start-skip): Properly anchored.
14576
14577 2013-05-17 Leo Liu <sdl.web@gmail.com>
14578
14579 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14580 Clean up when turned off. (Bug#14395)
14581 (smie--highlight-matching-block-overlay): No longer buffer-local.
14582 (smie-highlight-matching-block): Adjust.
14583
14584 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14585
14586 Doc string fix for "nanoseconds" (Bug#14406).
14587 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14588 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14589
14590 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14591
14592 * calc/calc-units.el (math-extract-units): Preserve powers
14593 of units.
14594
14595 2013-05-17 Leo Liu <sdl.web@gmail.com>
14596
14597 * subr.el (delete-consecutive-dups): New function.
14598 * ido.el (ido-set-matches-1): Use it.
14599 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14600 * ido.el (ido-remove-consecutive-dups): Remove.
14601
14602 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14603
14604 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14605 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14606 regexp-opt's `words'.
14607
14608 2013-05-16 Leo Liu <sdl.web@gmail.com>
14609
14610 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14611 (smie--highlight-matching-block-overlay)
14612 (smie--highlight-matching-block-lastpos)
14613 (smie--highlight-matching-block-timer): New variables.
14614 (smie-highlight-matching-block): New function.
14615 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14616 (smie-setup): Conditionally enable smie-blink-matching-open.
14617
14618 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14619
14620 Sync with upstream verilog-mode r840.
14621 * progmodes/verilog-mode.el (verilog-mode-version)
14622 (verilog-mode-release-date): Update.
14623 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14624 (verilog-sig-tieoff): Fix string error on
14625 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14626 (verilog-read-decls): Fix parameters confusing
14627 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14628
14629 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14630
14631 * subr.el (reveal-filename): New function.
14632
14633 * loadup.el: Compute Emacs executable versions on MS-Windows,
14634 where executables have the .exe extension. Add a hard link
14635 emacs-XX.YY.ZZ.exe on MS-Windows.
14636
14637 * Makefile.in (XARGS_LIMIT): New variable.
14638 (custom-deps, finder-data, autoloads)
14639 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14640 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14641 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14642 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14643
14644 2013-05-16 Leo Liu <sdl.web@gmail.com>
14645
14646 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14647 (octave-mode-menu, octave-mode-map): Remove its uses.
14648
14649 2013-05-16 Reto Zimmermann <reto@gnu.org>
14650
14651 Sync with upstream vhdl mode v3.34.2.
14652 * progmodes/vhdl-mode.el: Use `push' throughout.
14653 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14654 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14655 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14656 (vhdl-actual-generic-name): New option to derive actual generic name.
14657 (vhdl-port-paste-signals): Replace formal by actual generics.
14658 (vhdl-beautify): New name for old group vhdl-align. Update users.
14659 (vhdl-beautify-options): New option.
14660 (vhdl-last-input-event): New compat alias. Use throughout.
14661 (vhdl-goto-line): Replace user level function `goto-line'.
14662 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14663 vhdl-fix-statement-buffer.
14664 (vhdl-create-mode-menu): Add some entries.
14665 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14666 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14667 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14668 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14669 to force statements on one line.
14670 (vhdl-remove-trailing-spaces-region):
14671 New, split from vhdl-remove-trailing-spaces.
14672 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14673 Respect vhdl-beautify-options.
14674 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14675 (vhdl-update-sensitivity-list): Not add with index if exists without.
14676 Not include array index with signal. Ignore keywords in comments.
14677 (vhdl-get-visible-signals): Regexp tweaks.
14678 (vhdl-template-component-inst): Handle empty library.
14679 (vhdl-template-type): Add template for 'enum' type.
14680 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14681 Use vhdl-replace-string.
14682 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14683 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14684 (vhdl-speedbar-initialize): Update for above name change.
14685 (vhdl-compose-wire-components): Fix in handling of constants.
14686 (vhdl-error-regexp-emacs-alist): New variable.
14687 (vhdl-error-regexp-add-emacs): New function;
14688 adds support for new compile.el (Emacs 22+)
14689 (vhdl-generate-makefile-1): Change target order for single lib. units.
14690 Allow use of absolute file names.
14691
14692 2013-05-16 Leo Liu <sdl.web@gmail.com>
14693
14694 * simple.el (prog-indent-sexp): Indent enclosing defun.
14695
14696 2013-05-15 Glenn Morris <rgm@gnu.org>
14697
14698 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14699 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14700 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14701 (whitespace-highlight): Move to whitespace group.
14702
14703 * comint.el (comint-source):
14704 * pcmpl-linux.el (pcmpl-linux):
14705 * shell.el (shell-faces):
14706 * eshell/esh-opt.el (eshell-opt):
14707 * international/ccl.el (ccl): Remove empty custom groups.
14708
14709 * completion.el (dynamic-completion-mode):
14710 * jit-lock.el (jit-lock-debug-mode):
14711 * minibuffer.el (completion-in-region-mode):
14712 * type-break.el (type-break-mode-line-message-mode)
14713 (type-break-query-mode):
14714 * emulation/tpu-edt.el (tpu-edt-mode):
14715 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14716 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14717 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14718
14719 * term/xterm.el (xterm): Change parent group to terminals.
14720
14721 * master.el (master): Remove empty custom group.
14722 (master-mode): Remove unused :group argument.
14723 * textmodes/refill.el (refill): Remove empty custom group.
14724 (refill-mode): Remove unused :group argument.
14725
14726 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14727
14728 * cus-dep.el: Provide a feature.
14729 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14730 Don't mistakenly ignore files whose basenames match a basename
14731 from preloaded-file-list (eg cedet/ede/simple.el).
14732 Add a fallback method for getting :group.
14733
14734 2013-05-15 Juri Linkov <juri@jurta.org>
14735
14736 * isearch.el (isearch-char-by-name): Rename from
14737 `isearch-insert-char-by-name'. Doc fix.
14738 (isearch-forward): Mention `isearch-char-by-name' in
14739 the docstring. (Bug#13348)
14740
14741 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14742 `exit-minibuffer' instead of
14743 `isearch-nonincremental-exit-minibuffer'.
14744 (isearch-edit-string): Remove mention of
14745 `isearch-nonincremental-exit-minibuffer' from docstring.
14746 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14747 (isearch-forward-exit-minibuffer)
14748 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14749
14750 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * loadup.el: Just use unversioned DOC.
14753
14754 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14755 literals as extending to EOB.
14756 (nxml-last-fontify-end): Remove unused variable.
14757 (nxml-after-change1): Use with-silent-modifications.
14758 (nxml-extend-after-change-region): Simplify.
14759 (nxml-extend-after-change-region1): Remove function.
14760 (nxml-after-change1): Don't adjust for dependent regions.
14761 (nxml-fontify-matcher): Simplify.
14762 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14763 (xmltok-add-dependent): Remove function.
14764 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14765 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14766 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14767 unclosed <[[, <?, comment, and other literals as extending to EOB.
14768 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14769 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14770 Remove functions.
14771 (rng-do-some-validation-1): Don't mark dependent regions.
14772 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14773 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14774 (nxml-clear-dependent-regions): Remove functions.
14775 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14776 (nxml-ensure-scan-up-to-date):
14777 Don't clear&mark dependent regions.
14778
14779 2013-05-15 Leo Liu <sdl.web@gmail.com>
14780
14781 * progmodes/octave.el (octave-goto-function-definition):
14782 Improve and fix callers.
14783
14784 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14785
14786 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14787 the setter (bug#14387).
14788
14789 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14790 surrounding group (bug#14402).
14791
14792 2013-05-14 Juri Linkov <juri@jurta.org>
14793
14794 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14795 (Bug#14390)
14796
14797 2013-05-14 Glenn Morris <rgm@gnu.org>
14798
14799 * progmodes/f90.el (f90-imenu-generic-expression):
14800 Fix typo in 2013-05-08 change. (Bug#14402)
14801
14802 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14803
14804 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14805 Remove signals for which replies are never received.
14806
14807 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14808
14809 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14810 (gdb-handler-alist, gdb-handler-number): Remove variables.
14811 (gdb-handler-list): New variable.
14812 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14813 (gdb-pending-handler-p, gdb-handle-reply)
14814 (gdb-remove-all-pending-triggers): New functions.
14815 (gdb-discard-unordered-replies): New defcustom.
14816 (gdb-handler): New defstruct.
14817 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14818 instead of gdb-pending-triggers. Update docstring.
14819 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14820 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14821 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14822 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14823 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14824 (gdb-frame-handler): Pending triggers are now automatically managed.
14825 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14826 Remove argument.
14827 (gdb-input): Automatically handles pending triggers. Update docstring.
14828 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14829 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14830 Update comments.
14831 (gdb-done-or-error): Now use gdb-handle-reply.
14832
14833 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14834
14835 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14836 gdb-debug-log.
14837
14838 2013-05-14 Glenn Morris <rgm@gnu.org>
14839
14840 * subr.el (user-emacs-directory-warning): New option.
14841 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14842
14843 2013-05-14 Leo Liu <sdl.web@gmail.com>
14844
14845 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14846 during redisplay.
14847 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14848 (octave-font-lock-texinfo-comment): Fix invalid search bound
14849 error: wrong side of point.
14850
14851 2013-05-14 Glenn Morris <rgm@gnu.org>
14852
14853 * progmodes/flymake.el (flymake-xml-program): New option.
14854 (flymake-xml-init): Use it.
14855
14856 * term/xterm.el: Provide a feature.
14857
14858 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14859
14860 2013-05-13 Glenn Morris <rgm@gnu.org>
14861
14862 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14863 Add compat aliases as a hack workaround. (Bug#14384)
14864
14865 2013-05-13 Leo Liu <sdl.web@gmail.com>
14866
14867 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14868 ###, and %!.
14869 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14870 C-M-q.
14871 (octave-comment-start-skip): Include %!.
14872 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14873
14874 2013-05-12 Leo Liu <sdl.web@gmail.com>
14875
14876 * progmodes/octave.el (inferior-octave-startup): Store the value
14877 of __octave_srcdir__ for octave-source-directories.
14878 (inferior-octave-check-process): New function refactored out of
14879 inferior-octave-send-list-and-digest.
14880 (octave-source-directories)
14881 (octave-find-definition-filename-function): New variables.
14882 (octave-source-directories)
14883 (octave-find-definition-default-filename): New functions.
14884 (octave-find-definition): Improve to find functions implemented in C++.
14885
14886 2013-05-12 Glenn Morris <rgm@gnu.org>
14887
14888 * calendar/diary-lib.el (diary-outlook-format-1):
14889 Don't include dayname in the output. (Bug#14349)
14890
14891 2013-05-11 Glenn Morris <rgm@gnu.org>
14892
14893 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14894
14895 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14896 Treat cc-provide like provide.
14897
14898 2013-05-11 Kevin Ryde <user42@zip.com.au>
14899
14900 * cus-dep.el (custom-make-dependencies):
14901 Use generated-autoload-load-name for the sake of files such
14902 such cedet/semantic/bovine/c.el, where the base file name
14903 is not in load-path. (Bug#5277)
14904
14905 2013-05-11 Glenn Morris <rgm@gnu.org>
14906
14907 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14908 Provide features.
14909
14910 2013-05-11 Leo Liu <sdl.web@gmail.com>
14911
14912 * progmodes/octave.el (octave-indent-comment): Improve.
14913 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14914 (octave-eldoc-function-signatures, octave-eldoc-function):
14915 New functions.
14916 (octave-mode, inferior-octave-mode): Add eldoc support.
14917
14918 2013-05-11 Richard Stallman <rms@gnu.org>
14919
14920 * epa.el (epa-decrypt-file): Take output file name as argument
14921 and read it using `interactive'.
14922
14923 2013-05-11 Leo Liu <sdl.web@gmail.com>
14924
14925 * progmodes/octave.el (octave-beginning-of-line)
14926 (octave-end-of-line): Check before using up-list because it jumps
14927 out of more syntactic contructs since moving to smie.
14928 (octave-indent-comment): New function.
14929 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14930 (octave-begin-keywords, octave-end-keywords)
14931 (octave-reserved-words, octave-smie-bnf-table)
14932 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14933
14934 2013-05-11 Glenn Morris <rgm@gnu.org>
14935
14936 * faces.el (internal-face-x-get-resource):
14937 * frame.el (ns-display-monitor-attributes-list):
14938 * calc/calc-aent.el (math-to-radians-2):
14939 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14940 Fix declarations.
14941
14942 * calc/calc-menu.el: Make it loadable in isolation.
14943
14944 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14945 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14946 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14947 (eudc-bbdb-query-internal): Require 'bbdb.
14948
14949 * lpr.el (lpr-headers-switches):
14950 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14951
14952 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14953
14954 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14955
14956 * term.el (term-set-escape-char): Make it idempotent.
14957
14958 2013-05-10 Leo Liu <sdl.web@gmail.com>
14959
14960 * progmodes/octave.el (inferior-octave-completion-table):
14961 No longer a function and all uses changed. Use cache to speed up
14962 completion due to bug#11906.
14963 (octave-beginning-of-defun): Re-write to be more general.
14964
14965 2013-05-10 Glenn Morris <rgm@gnu.org>
14966
14967 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14968
14969 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14970
14971 * comint.el (comint-redirect-send-command-to-process): Use :around
14972 rather than :override for comint-redirect-filter.
14973 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14974 Call it instead of comint-redirect-original-filter-function (which
14975 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14976
14977 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14978
14979 * frame.el (display-monitor-attributes-list): Add NS case.
14980 (ns-display-monitor-attributes-list): Declare.
14981
14982 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14983
14984 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14985
14986 2013-05-09 Glenn Morris <rgm@gnu.org>
14987
14988 * international/fontset.el (vertical-centering-font-regexp):
14989 Set standard-value.
14990
14991 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14992
14993 * bookmark.el (bookmark-search-delay):
14994 * cus-start.el (vertical-centering-font-regexp):
14995 * ps-mule.el (ps-mule-font-info-database-default):
14996 * ps-print.el (ps-default-fg, ps-default-bg):
14997 * type-break.el (type-break-good-break-interval):
14998 * whitespace.el (whitespace-indentation-regexp)
14999 (whitespace-space-after-tab-regexp):
15000 * emacs-lisp/testcover.el (testcover-1value-functions)
15001 (testcover-noreturn-functions, testcover-progn-functions)
15002 (testcover-prog1-functions):
15003 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15004 * eshell/em-glob.el (eshell-glob-translate-alist):
15005 * play/tetris.el (tetris-tty-colors):
15006 * progmodes/cpp.el (cpp-face-default-list):
15007 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15008 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15009 (idlwave-help-browser-generic-args):
15010 * progmodes/make-mode.el (makefile-special-targets-list):
15011 * progmodes/python.el (python-shell-virtualenv-path):
15012 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15013 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15014 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15015 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15016 * textmodes/reftex-vars.el (reftex-format-label-function):
15017 * textmodes/remember.el (remember-diary-file): Fix custom types.
15018
15019 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15020 Add :version.
15021
15022 2013-05-09 Leo Liu <sdl.web@gmail.com>
15023
15024 * progmodes/octave.el (inferior-octave-completion-at-point):
15025 Restore file completion. (Bug#14300)
15026 (inferior-octave-startup): Fix incorrect highlighting for the
15027 first prompt.
15028
15029 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * progmodes/ruby-mode.el: First cut at SMIE support.
15032 (ruby-use-smie): New var.
15033 (ruby-smie-grammar): New constant.
15034 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15035 (ruby-smie--forward-token, ruby-smie--backward-token)
15036 (ruby-smie-rules): New functions.
15037 (ruby-mode-variables): Setup SMIE if applicable.
15038
15039 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15040
15041 * simple.el (line-move-visual): Signal beginning/end of buffer
15042 only if vertical-motion moved less than it was requested. Avoids
15043 silly incorrect error messages when there are display strings with
15044 multiple newlines at EOL.
15045
15046 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15047
15048 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15049 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15050 (prolog-char-quote-workaround):
15051 * progmodes/cperl-mode.el (cperl-under-as-char):
15052 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15053 Mark as obsolete.
15054 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15055 their declaration.
15056 (vhdl-mode-syntax-table-init): Remove.
15057
15058 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15059 last change.
15060
15061 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15062 syntax for "_".
15063 (ld-script-font-lock-keywords):
15064 Change regexps to use things like \_< and \_>.
15065
15066 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15067 Change all regexps to use things like \_< and \_>.
15068
15069 * progmodes/autoconf.el (autoconf-definition-regexp)
15070 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15071 Handle a _ with symbol syntax.
15072 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15073
15074 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15075 Consolidate declaration.
15076 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15077 the declaration.
15078 (ada-create-syntax-table): Remove.
15079 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15080 already has the right syntax nowadays.
15081 (ada-goto-next-word): Don't change the syntax of "_".
15082
15083 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15084 with-wrapper-hook.
15085
15086 2013-05-08 Sam Steingold <sds@gnu.org>
15087
15088 * thingatpt.el (thing-at-point): Accept optional second argument
15089 NO-PROPERTIES to strip the text properties from the return value.
15090 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15091 to `thing-at-point' instead of stripping the properties ourselves.
15092 Also, when `thing-at-point' fails to find a url, prepend "http://"
15093 to the filename at point on the assumption that the user is
15094 pointing at something like gnu.org/gnu.
15095
15096 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15097
15098 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15099 * faces.el (crm-separator):
15100 Silence byte-compiler.
15101
15102 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15103 (tool-bar-map): Remove unneeded defvars.
15104
15105 2013-05-08 Leo Liu <sdl.web@gmail.com>
15106
15107 Re-work a fix for bug#10994 based on Le Wang's patch.
15108 * ido.el (ido-remove-consecutive-dups): New helper.
15109 (ido-completing-read): Use it.
15110 (ido-chop): Revert fix for bug#10994.
15111
15112 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15113
15114 * cus-edit.el (custom-save-variables):
15115 Pretty-print long values. (Bug#14187)
15116
15117 2013-05-08 Glenn Morris <rgm@gnu.org>
15118
15119 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15120 (m4-mode-syntax-table): Init in the defvar.
15121 (m4-mode-abbrev-table): Let define-derived-mode define it.
15122
15123 2013-05-08 Tom Tromey <tromey@redhat.com>
15124
15125 * progmodes/m4-mode.el (m4-mode-syntax-table):
15126 Do not treat "_" as word constituent. (Bug#14167)
15127
15128 2013-05-07 Glenn Morris <rgm@gnu.org>
15129
15130 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15131 Remove explicit eshell-isearch-cancel-map.
15132
15133 * progmodes/f90.el (f90-smart-end-names): New option.
15134 (f90-smart-end): Doc fix.
15135 (f90-end-block-optional-name): New constant.
15136 (f90-block-match): Respect f90-smart-end-names.
15137
15138 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15139
15140 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15141 about implicit semi-colons (bug#14218).
15142
15143 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15144
15145 * frame.el (display-monitor-attributes-list)
15146 (frame-monitor-attributes): New functions.
15147
15148 2013-05-06 Leo Liu <sdl.web@gmail.com>
15149
15150 * progmodes/octave.el (octave-syntax-propertize-function): Change
15151 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15152 (octave-font-lock-keywords): Use octave-operator-regexp.
15153 (octave-completion-at-point): Rename from
15154 octave-completion-at-point-function.
15155 (inferior-octave-directory-tracker): Robustify.
15156 (octave-text-functions): Remove and fix its uses. No such things
15157 any more.
15158
15159 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15160
15161 * emacs-lisp/trace.el (trace--display-buffer): New function.
15162 (trace-make-advice): Use it.
15163
15164 2013-05-06 Juri Linkov <juri@jurta.org>
15165
15166 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15167 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15168 Doc fix.
15169 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15170 in the help string. (Bug#12985)
15171
15172 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15173
15174 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15175
15176 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15177
15178 * progmodes/perl-mode.el: Add support for here documents.
15179 (perl-syntax-propertize-function): Match here-doc markers.
15180 (perl-syntax-propertize-special-constructs): Find their end.
15181 (perl-imenu-generic-expression): Use [:alnum:].
15182
15183 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15184 (advice--add-function): Refresh the advice if already present
15185 (bug#14317).
15186
15187 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15188
15189 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15190
15191 2013-05-06 Glenn Morris <rgm@gnu.org>
15192
15193 * w32-fns.el (w32-charset-info-alist): Declare.
15194
15195 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15196 of its defcustom properties.
15197 (eshell-cmpl-initialize): No need to load pcomplete.
15198
15199 * generic-x.el: No need to require comint when compiling.
15200
15201 * net/eudc-export.el: Make it loadable without bbdb.
15202 (top-level): Use require rather than load-library.
15203 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15204 (eudc-batch-export-records-to-bbdb)
15205 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15206 Require bbdb.
15207
15208 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15209
15210 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15211 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15212 some tweaks, instead.
15213
15214 2013-05-05 Leo Liu <sdl.web@gmail.com>
15215
15216 * progmodes/octave.el (octave-font-lock-keywords)
15217 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15218 (inferior-octave-send-list-and-digest): Improve error message.
15219 (octave-mode, inferior-octave-mode): Use setq-local.
15220 (octave-help): Set info-lookup-mode.
15221
15222 2013-05-05 Richard Stallman <rms@gnu.org>
15223
15224 * vc/compare-w.el (compare-windows-whitespace):
15225 Treat no-break space as whitespace.
15226
15227 * mail/rmailsum.el (rmail-summary-rmail-update):
15228 Detect empty summary and don't change selected message.
15229 (rmail-summary-goto-msg): Likewise.
15230
15231 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15232 Doc fixes, rename args.
15233
15234 2013-05-05 Alan Mackenzie <acm@muc.de>
15235
15236 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15237
15238 2013-05-05 Juri Linkov <juri@jurta.org>
15239
15240 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15241 to not add the length of the summary segment to the return value.
15242 (Bug#14125)
15243
15244 2013-05-05 Leo Liu <sdl.web@gmail.com>
15245
15246 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15247 (inferior-octave-output-filter): Remove.
15248 (octave-send-region, inferior-octave-startup): Fix callers.
15249 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15250 (octave-binary-file-extensions): New user variable.
15251 (octave-find-definition): Confirm if opening binary files.
15252 (octave-help-file): Use octave-find-definition to get the binary
15253 confirmation.
15254 (octave-help): Adjust for octave-help-file change.
15255
15256 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15257
15258 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15259 Merge the two entries that handle function definitions.
15260 (pascal--syntax-propertize): New const.
15261 (pascal-mode): Use it. Use setq-local.
15262
15263 2013-05-04 Glenn Morris <rgm@gnu.org>
15264
15265 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15266 (diary-from-outlook): Respect diary-from-outlook-function.
15267
15268 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15269
15270 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15271 Move the declaration from C.
15272 (read-minibuffer, eval-minibuffer): Move from C.
15273 (completion-setup-function): Avoid minibuffer-completion-contents.
15274
15275 2013-05-03 Leo Liu <sdl.web@gmail.com>
15276
15277 * progmodes/octave.el (octave-font-lock-keywords): Do not
15278 dehighlight 'end' in comments or strings.
15279 (octave-completing-read, octave-goto-function-definition):
15280 New helpers.
15281 (octave-help-buffer): New user variable.
15282 (octave-help-file, octave-help-function): New button types.
15283 (octave-help): New command and bind it to C-h ;.
15284 (octave-find-definition): New command and bind it to M-.
15285 (user-error): Alias to error if not defined.
15286
15287 2013-05-02 Leo Liu <sdl.web@gmail.com>
15288
15289 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15290 for \. (bug#14332)
15291 (octave-font-lock-keywords): Include [ and {.
15292
15293 2013-05-02 Leo Liu <sdl.web@gmail.com>
15294
15295 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15296 (inferior-octave): Remove calling comint-mode and return the buffer.
15297 (inferior-octave-startup): Cosmetic changes.
15298
15299 2013-05-02 Leo Liu <sdl.web@gmail.com>
15300
15301 * progmodes/octave.el (octave-syntax-propertize-function):
15302 Include the case when ' is at line beginning. (Bug#14336)
15303
15304 2013-05-02 Glenn Morris <rgm@gnu.org>
15305
15306 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15307 * desktop.el (vc-dir-mode): Just autoload it here.
15308
15309 2013-05-02 Alan Mackenzie <acm@muc.de>
15310
15311 Eliminate variable c-standard-font-lock-fontify-region-function.
15312 * progmodes/cc-mode.el
15313 (c-standard-font-lock-fontify-region-function): Remove.
15314 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15315
15316 2013-05-01 Leo Liu <sdl.web@gmail.com>
15317
15318 * progmodes/octave.el: Compatible with older emacs-24 releases.
15319 (inferior-octave-has-built-in-variables): Remove. Built-in
15320 variables were removed from Octave in 2007.
15321 (inferior-octave-startup): Fix uses.
15322 (comint-line-beginning-position): Remove compatibility code for
15323 emacs 21.
15324
15325 2013-05-01 Juri Linkov <juri@jurta.org>
15326
15327 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15328
15329 2013-05-01 Juri Linkov <juri@jurta.org>
15330
15331 * comint.el (comint-previous-matching-input): Don't print message
15332 "History item: %d" when `isearch-mode' is active.
15333 (comint-history-isearch-message): Print message "History item: %d"
15334 when `comint-input-ring-index' is not empty and this function is
15335 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15336
15337 2013-05-01 Leo Liu <sdl.web@gmail.com>
15338
15339 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15340 definitions. Use completion-at-point to insert keywords.
15341 (octave-abbrev-start): Remove.
15342 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15343
15344 2013-04-30 Leo Liu <sdl.web@gmail.com>
15345
15346 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15347 change.
15348
15349 2013-04-30 Alan Mackenzie <acm@muc.de>
15350
15351 Handle arbitrarily long C++ member initialisation lists.
15352 * progmodes/cc-engine.el (c-back-over-member-initializers):
15353 new function.
15354 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15355 (most) member init lists.
15356
15357 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15358
15359 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15360 variable.
15361
15362 2013-04-30 Leo Liu <sdl.web@gmail.com>
15363
15364 * progmodes/octave.el (octave-variables): Remove. No builtin
15365 variables any more. All converted to functions.
15366 (octave-font-lock-keywords, octave-completion-at-point-function):
15367 Fix uses.
15368 (octave-font-lock-texinfo-comment): New user variable.
15369 (octave-texinfo-font-lock-keywords): New variable for texinfo
15370 comment block.
15371 (octave-function-comment-block): New face.
15372 (octave-font-lock-texinfo-comment): New function.
15373 (octave-mode): Font lock texinfo comment block.
15374
15375 2013-04-29 Leo Liu <sdl.web@gmail.com>
15376
15377 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15378 indexing expression.
15379 (octave-continuation-string): Do not use \.
15380 (inferior-octave-complete-impossible): Remove.
15381 (inferior-octave-completion-table)
15382 (inferior-octave-completion-at-point): Remove its uses.
15383 (inferior-octave-startup): completion_matches was introduced to
15384 Octave in 1996 so safe to assume it.
15385 (octave-function-file-comment): Improve to follow how Octave does it.
15386 (octave-update-function-file-comment): Tweak.
15387
15388 2013-04-29 Leo Liu <sdl.web@gmail.com>
15389
15390 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15391 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15392 (octave-function-file-comment): Fix typo.
15393 (octave-sync-function-file-names): Use read-char-choice.
15394
15395 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15396
15397 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15398 to t for the less important warnings.
15399
15400 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15401
15402 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15403
15404 2013-04-27 Glenn Morris <rgm@gnu.org>
15405
15406 * vc/log-view.el (log-view-current-entry):
15407 Treat "---" separator lines as part of the following rev. (Bug#14169)
15408
15409 2013-04-27 Juri Linkov <juri@jurta.org>
15410
15411 * subr.el (read-number): Doc fix about using it by interactive
15412 code letter `n'. (Bug#14254)
15413
15414 2013-04-27 Juri Linkov <juri@jurta.org>
15415
15416 * desktop.el (desktop-auto-save-timeout): New option.
15417 (desktop-file-checksum): New variable.
15418 (desktop-save): Add optional arg `auto-save' and don't auto-save
15419 if nothing changed.
15420 (desktop-auto-save-timer): New variable.
15421 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15422 (after-init-hook): Call `desktop-auto-save-set-timer'.
15423 Suggested by Reuben Thomas <rrt@sc3d.org> in
15424 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15425
15426 2013-04-27 Leo Liu <sdl.web@gmail.com>
15427
15428 * progmodes/octave.el (octave-function-file-p)
15429 (octave-skip-comment-forward, octave-function-file-comment)
15430 (octave-update-function-file-comment): New functions.
15431 (octave-mode-map): Bind C-c ; to
15432 octave-update-function-file-comment.
15433 (octave-mode-menu): Add octave-update-function-file-comment.
15434 (octave-mode, inferior-octave-mode): Fix doc-string.
15435 (octave-insert-defun): Conform to Octave's coding convention.
15436 (Bug#14285)
15437
15438 * files.el (basic-save-buffer): Don't let errors in
15439 before-save-hook prevent saving buffer.
15440
15441 2013-04-20 Roland Winkler <winkler@gnu.org>
15442
15443 * faces.el (read-face-name): Use completing-read if arg multiple
15444 is nil.
15445
15446 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15447
15448 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15449 displayed, move point to after the totals line.
15450 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15451 for the details.
15452
15453 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15454
15455 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15456 Add current dir to the load-path.
15457 (package-generate-autoloads): Don't rely on
15458 autoload-ensure-default-file.
15459
15460 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15461
15462 * textmodes/remember.el (remember-store-in-files): Document that
15463 the file name format is passed to `format-time-string'.
15464
15465 2013-04-26 Leo Liu <sdl.web@gmail.com>
15466
15467 * progmodes/octave.el (octave-sync-function-file-names): New function.
15468 (octave-mode): Use it in before-save-hook.
15469
15470 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15471
15472 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15473 (bug#14274).
15474
15475 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15476 \n and comment, even if it's not an implicit ; (bug#14218).
15477
15478 2013-04-26 Glenn Morris <rgm@gnu.org>
15479
15480 * subr.el (read-number): Once more use `read' rather than
15481 `string-to-number', to trap non-numeric input. (Bug#14254)
15482
15483 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15484
15485 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15486 Use `syntax-multiline' text property consistently instead of
15487 `font-lock-multiline'. (Bug#14237)
15488
15489 2013-04-26 Glenn Morris <rgm@gnu.org>
15490
15491 * emacs-lisp/shadow.el (list-load-path-shadows):
15492 No longer necessary to check for duplicate simple.el, since
15493 2012-07-07 change to init_lread to not include installation lisp
15494 directories in load-path when running uninstalled. (Bug#14270)
15495
15496 2013-04-26 Leo Liu <sdl.web@gmail.com>
15497
15498 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15499 (octave-mode, inferior-octave-mode): Use setq-local.
15500 (octave-not-in-string-or-comment-p): Rename to
15501 octave-in-string-or-comment-p.
15502 (octave-in-comment-p, octave-in-string-p)
15503 (octave-in-string-or-comment-p): Replace defsubst with defun.
15504
15505 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15506
15507 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15508
15509 2013-04-25 Bastien Guerry <bzg@gnu.org>
15510
15511 * textmodes/remember.el (remember-data-directory)
15512 (remember-directory-file-name-format): Fix custom types.
15513
15514 2013-04-25 Leo Liu <sdl.web@gmail.com>
15515
15516 * progmodes/octave.el (octave-completion-at-point-function):
15517 Make use of inferior octave process.
15518 (octave-initialize-completions): Remove.
15519 (inferior-octave-completion-table): New function.
15520 (inferior-octave-completion-at-point): Use it.
15521 (octave-completion-alist): Remove.
15522
15523 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15524
15525 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15526 (opascal-mode-syntax-table): New var.
15527 (opascal-literal-kind, opascal-is-literal-end)
15528 (opascal-literal-token-at): Rewrite.
15529 (opascal--literal-start-re, opascal-font-lock-keywords)
15530 (opascal--syntax-propertize): New constants.
15531 (opascal-font-lock-defaults): Adjust.
15532 (opascal-mode): Use them. Set comment-<foo> variables as well.
15533 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15534 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15535 (delphi-other-face, opascal-other-face): Remove face variables.
15536 (opascal-save-state): Remove macro.
15537 (opascal-fontifying-progress-step): Remove constant.
15538 (opascal--ignore-changes): Remove var.
15539 (opascal-set-token-property, opascal-parse-next-literal)
15540 (opascal-is-stable-literal, opascal-complete-literal)
15541 (opascal-is-literal-start, opascal-face-of)
15542 (opascal-parse-region, opascal-parse-region-until-stable)
15543 (opascal-fontify-region, opascal-after-change)
15544 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15545 (opascal-debug-parse-region, opascal-debug-parse-window)
15546 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15547 (opascal-debug-fontify-buffer): Remove.
15548 (opascal-debug-mode-map): Adjust accordingly.
15549
15550 2013-04-25 Leo Liu <sdl.web@gmail.com>
15551
15552 Merge octave-mod.el and octave-inf.el into octave.el with some
15553 cleanups.
15554 * progmodes/octave.el: New file renamed from octave-mod.el.
15555 * progmodes/octave-inf.el: Merged into octave.el.
15556 * progmodes/octave-mod.el: Renamed to octave.el.
15557
15558 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15559
15560 * textmodes/reftex-vars.el
15561 (reftex-label-ignored-macros-and-environments): New defcustom.
15562
15563 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15564
15565 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15566
15567 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15568 (smie-indent-keyword): Improve the check to ensure that the next
15569 comment is really on the same line.
15570 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15571
15572 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15573 semi-colons if the line is not otherwise empty (bug#14218).
15574
15575 2013-04-25 Glenn Morris <rgm@gnu.org>
15576
15577 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15578
15579 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15580
15581 * progmodes/opascal.el (opascal-set-token-property): Rename from
15582 opascal-set-text-properties and only set `token' (bug#14134).
15583 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15584 (opascal-literal-text-properties): Remove.
15585 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15586 Adjust callers.
15587
15588 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15589
15590 * textmodes/remember.el (remember-handler-functions): Add an
15591 option for a new handler `remember-store-in-files'.
15592 (remember-data-directory, remember-directory-file-name-format):
15593 New options.
15594 (remember-store-in-files): New function to store remember notes
15595 as separate files within a directory.
15596
15597 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15598
15599 * progmodes/compile.el (compilation-next-error-function):
15600 Pass "formats" to compilation-find-file (bug#11777).
15601
15602 2013-04-24 Glenn Morris <rgm@gnu.org>
15603
15604 * vc/vc-bzr.el (vc-bzr-print-log):
15605 * vc/vc-hg.el (vc-hg-print-log):
15606 * vc/vc-svn.el (vc-svn-print-log):
15607 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15608
15609 * vc/vc-bzr.el (vc-bzr-print-log):
15610 * vc/vc-cvs.el (vc-cvs-print-log):
15611 * vc/vc-git.el (vc-git-print-log):
15612 * vc/vc-hg.el (vc-hg-print-log):
15613 * vc/vc-mtn.el (vc-mtn-print-log):
15614 * vc/vc-rcs.el (vc-rcs-print-log):
15615 * vc/vc-sccs.el (vc-sccs-print-log):
15616 * vc/vc-svn.el (vc-svn-print-log):
15617 * vc/vc.el (vc-print-log-internal): Doc fixes.
15618
15619 2013-04-23 Glenn Morris <rgm@gnu.org>
15620
15621 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15622 Remove venerable code attempting to avoid substitute-command-keys.
15623
15624 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15625
15626 * textmodes/reftex-vars.el (reftex-label-regexps):
15627 Call `reftex-compile-variables' after changes to this variable.
15628
15629 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15630
15631 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15632 Use lexical-binding.
15633 (jit-lock-force-redisplay): Use markers, check buffer's continued
15634 existence and beware narrowed buffers.
15635 (jit-lock-fontify-now): Adjust call accordingly.
15636
15637 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15638
15639 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15640 to avoid misleading the user.
15641
15642 2013-04-22 Leo Liu <sdl.web@gmail.com>
15643
15644 * info-look.el: Prefer latex2e.info. (Bug#14240)
15645
15646 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15647
15648 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15649
15650 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15651 * net/tramp.el (tramp-call-process): ... here.
15652 (tramp-set-completion-function, tramp-parse-putty):
15653 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15654 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15655 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15656 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15657 (tramp-call-local-coding-command): Use `tramp-call-process'
15658 instead of `tramp-compat-call-process'.
15659
15660 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15661 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15662 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15663 (tramp-find-inline-compress): Improve traces.
15664 (tramp-maybe-send-script): Check for Perl binary.
15665 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15666
15667 2013-04-22 Daiki Ueno <ueno@gnu.org>
15668
15669 * epg.el (epg-context-pinentry-mode): New function.
15670 (epg-context-set-pinentry-mode): New function.
15671 (epg--start): Pass --pinentry-mode option to gpg command.
15672
15673 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15674
15675 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15676 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15677 `completion-at-point'. (Bug#13774)
15678
15679 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15680 default key binding for `describe-distribution' has been moved to
15681 `C-h C-o'. (Bug#13970)
15682
15683 2013-04-21 Glenn Morris <rgm@gnu.org>
15684
15685 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15686 Add doc strings.
15687 (vc-print-log): Clarify interactive prompt.
15688
15689 2013-04-20 Glenn Morris <rgm@gnu.org>
15690
15691 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15692 No longer include timestamp etc information.
15693
15694 2013-04-20 Roland Winkler <winkler@gnu.org>
15695
15696 * faces.el (read-face-name): Bug fix, return just one face if arg
15697 multiple is nil. (Bug#14209)
15698
15699 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15700
15701 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15702 (remove-function): Autoload.
15703
15704 * comint.el (comint-redirect-original-filter-function): Remove.
15705 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15706 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15707 (vc-cvs-annotate-command):
15708 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15709 * progmodes/prolog.el (prolog-consult-compile):
15710 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15711 Use add/remove-function instead.
15712 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15713 (gud-tooltip-process-output, gud-tooltip-tips):
15714 Use add/remove-function instead.
15715 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15716 (scheme-interaction-mode, exit-scheme-interaction-mode):
15717 Use add/remove-function instead.
15718
15719 * vc/vc-dispatcher.el: Use lexical-binding.
15720 (vc--process-sentinel): Rename from vc-process-sentinel.
15721 Change last arg to be the code to run. Don't use vc-previous-sentinel
15722 and vc-sentinel-commands any more.
15723 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15724 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15725
15726 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15727
15728 * progmodes/sh-script.el (sh-imenu-generic-expression):
15729 Handle function names with a single character. (Bug#14111)
15730
15731 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15732
15733 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15734 for subroutines defined in an eval (bug#14182).
15735
15736 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15737
15738 * bookmark.el (bookmark-completing-read): Improve handling of empty
15739 string (bug#14176).
15740
15741 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15742
15743 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15744
15745 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15746
15747 New faster Imenu implementation (bug#14058).
15748 * progmodes/python.el:
15749 (python-imenu-prev-index-position):
15750 (python-imenu-format-item-label-function)
15751 (python-imenu-format-parent-item-label-function)
15752 (python-imenu-format-parent-item-jump-label-function):
15753 New vars.
15754 (python-imenu-format-item-label)
15755 (python-imenu-format-parent-item-label)
15756 (python-imenu-format-parent-item-jump-label)
15757 (python-imenu--put-parent, python-imenu--build-tree)
15758 (python-imenu-create-index, python-imenu-create-flat-index)
15759 (python-util-popn): New functions.
15760 (python-mode): Set imenu-create-index-function to
15761 python-imenu-create-index.
15762
15763 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15764
15765 * winner.el (winner-active-region): Use region-active-p, activate-mark
15766 and deactivate-mark (bug#14225).
15767
15768 * simple.el (deactivate-mark): Don't inline it.
15769
15770 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15771
15772 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15773
15774 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15775
15776 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15777 file extensions from the archive-mode entry in order to prefer
15778 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15779
15780 2013-04-18 Leo Liu <sdl.web@gmail.com>
15781
15782 * bindings.el (help-event-list): Add ?\?.
15783
15784 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15785
15786 * subr.el (with-wrapper-hook): Declare obsolete.
15787 * simple.el (filter-buffer-substring-function): New hook.
15788 (filter-buffer-substring): Use it.
15789 (filter-buffer-substring-functions): Mark obsolete.
15790 * minibuffer.el (completion-in-region-function): New hook.
15791 (completion-in-region): Use it.
15792 (completion-in-region-functions): Mark obsolete.
15793 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15794 * abbrev.el (abbrev-expand-function): New hook.
15795 (expand-abbrev): Use it.
15796 (abbrev-expand-functions): Mark obsolete.
15797 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15798 and :filter-return.
15799
15800 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15801
15802 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15803 and do not care about match data.
15804
15805 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15806
15807 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15808 completion tables when completing error conditions and
15809 `declare' arguments.
15810 (lisp-complete-symbol, field-complete): Mark as obsolete.
15811 (check-parens): Unmatched parens are user errors.
15812 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15813
15814 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15815
15816 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15817 command changed buffer (ie. `flyspell-pre-buffer' is not current
15818 buffer), which prevents making decisions based on invalid value of
15819 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15820 cause an error when `flyspell-pre-point' was nil after switching
15821 buffers.
15822 (flyspell-post-command-hook): No longer needs to change buffers when
15823 checking pre-word. While at it remove unnecessary progn.
15824
15825 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15826
15827 * textmodes/ispell.el (ispell-add-per-file-word-list):
15828 Fix `flyspell-correct-word-before-point' error when accepting
15829 words and `coment-padding' is an integer by using
15830 `comment-normalize-vars' (Bug #14214).
15831
15832 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15833
15834 New defun movement commands.
15835 * progmodes/python.el (python-nav--syntactically)
15836 (python-nav--forward-defun, python-nav-backward-defun)
15837 (python-nav-forward-defun): New functions.
15838
15839 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15840
15841 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15842 (python-syntax-context): Use named compiler-macro for backwards
15843 compatibility with Emacs 24.x.
15844
15845 2013-04-17 Leo Liu <sdl.web@gmail.com>
15846
15847 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15848 octave-hide-process-buffer.
15849
15850 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15851
15852 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15853 (bug#14216).
15854
15855 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15856
15857 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15858 Fix adjustment of offset when receiving incomplete responses from GDB
15859 (bug#14129).
15860
15861 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15862
15863 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15864 python-mode-abbrev-table.
15865 (python-skeleton-define): Adjust accordingly.
15866 (python-mode-abbrev-table): New table that inherits from it so that
15867 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15868
15869 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15870 (abbrev-symbol): Use it.
15871 (abbrev--before-point): Use it since we already handle inheritance.
15872
15873 2013-04-16 Leo Liu <sdl.web@gmail.com>
15874
15875 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15876 binding to info-lookup-symbol.
15877
15878 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15879
15880 * minibuffer.el (completion--twq-all):
15881 * term/ns-win.el (ns-initialize-window-system):
15882 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15883
15884 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15885
15886 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15887 global bindings.
15888
15889 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15890
15891 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15892
15893 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15894 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15895 to nil.
15896 (ruby-end-of-defun): Remove the unused arg, change the docstring
15897 to reflect that this function is only used as the value of
15898 `end-of-defun-function'.
15899 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15900 to reflect an earlier change that beginning/end-of-defun functions
15901 jump between methods in a class definition, as well as top-level
15902 functions.
15903
15904 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15905
15906 * minibuffer.el (minibuffer-complete): Don't just scroll
15907 a *Completions* that's been iconified.
15908 (minibuffer-force-complete): Make sure repetitions do cycle when going
15909 through completion-in-region -> minibuffer-complete.
15910
15911 2013-04-15 Alan Mackenzie <acm@muc.de>
15912
15913 Correct the placement of c-cpp-delimiters when there're #s not at
15914 col 0.
15915
15916 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15917 place a submatch around the #.
15918 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15919 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15920 on the #, not BOL.
15921
15922 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15923
15924 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15925 (advice--member-p): New arg `name'.
15926 (advice--add-function, advice-member-p): Use it (bug#14202).
15927
15928 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15929
15930 Reformulate java imenu-generic-expression.
15931 The old expression contained ill formed regexps.
15932
15933 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15934 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15935 (cc-imenu-java-method-arg-regexp): New defconsts.
15936 (cc-imenu-java-build-type-args-regex): New defun.
15937 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15938 handling of spaces in the regexp.
15939
15940 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15941
15942 * textmodes/ispell.el (ispell-command-loop): Remove
15943 flyspell highlight of a word when ispell accepts it (bug #14178).
15944
15945 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15946
15947 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15948 uses code from the previous `ange-ftp-run-real-handler'.
15949 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15950 only in case that function exist. This is needed for proper
15951 unloading of Tramp.
15952
15953 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15954
15955 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15956
15957 * textmodes/reftex.el (reftex-compile-variables): Use it.
15958
15959 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15960
15961 * files.el (normal-mode): Only use default major-mode if no other mode
15962 was specified.
15963
15964 * emacs-lisp/trace.el (trace-values): New function.
15965
15966 * files.el: Allow : in local variables (bug#14089).
15967 (hack-local-variable-regexp): New var.
15968 (hack-local-variables-prop-line, hack-local-variables): Use it.
15969
15970 2013-04-13 Roland Winkler <winkler@gnu.org>
15971
15972 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15973 data before it gets modified by bibtex-beginning-of-entry.
15974
15975 2013-04-13 Roland Winkler <winkler@gnu.org>
15976
15977 * textmodes/bibtex.el (bibtex-url): Doc fix.
15978
15979 2013-04-13 Roland Winkler <winkler@gnu.org>
15980
15981 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15982 does not visit a BibTeX file, exclude it from the list of buffers
15983 returned by bibtex-initialize.
15984
15985 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15986
15987 * window.el (split-window): Remove interactive form, since as a
15988 command this function is a special case of split-window-below.
15989 Correct doc string.
15990
15991 2013-04-12 Roland Winkler <winkler@gnu.org>
15992
15993 * faces.el (read-face-name): Do not override value of arg default.
15994 Allow single faces and strings as default values. Remove those
15995 elements from return value that are not faces.
15996 (describe-face): Simplify.
15997 (face-at-point): New optional args thing and multiple so that this
15998 function can provide the same functionality previously provided by
15999 read-face-name.
16000 (make-face-bold, make-face-unbold, make-face-italic)
16001 (make-face-unitalic, make-face-bold-italic, invert-face)
16002 (modify-face, read-face-and-attribute): Use face-at-point.
16003
16004 * cus-edit.el (customize-face, customize-face-other-window)
16005 * cus-theme.el (custom-theme-add-face)
16006 * face-remap.el (buffer-face-set)
16007 * facemenu.el (facemenu-set-face): Use face-at-point.
16008
16009 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16010
16011 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16012
16013 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16014
16015 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16016 off leading { and trailing } from field values.
16017
16018 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16019
16020 * emacs-lisp/timer.el (timer--check): New function.
16021 (timer--time, timer-set-function, timer-event-handler): Use it.
16022 (timer-set-idle-time): Simplify.
16023 (timer--activate): CSE.
16024 (timer-event-handler): Give more info in error message.
16025 (internal-timer-start-idle): New function, moved from C.
16026
16027 * mpc.el (mpc-proc): Add `restart' argument.
16028 (mpc-proc-cmd): Use it.
16029 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16030 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16031 less often.
16032
16033 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16034
16035 * progmodes/sh-script.el: Implement `sh-mode' own
16036 `add-log-current-defun-function' (bug#14112).
16037 (sh-current-defun-name): New function.
16038 (sh-mode): Use the function.
16039
16040 2013-04-09 Bastien Guerry <bzg@gnu.org>
16041
16042 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16043
16044 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16047
16048 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16049 timer (bug#14156).
16050
16051 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16052
16053 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16054 declaration.
16055
16056 2013-04-07 Leo Liu <sdl.web@gmail.com>
16057
16058 * pcmpl-x.el: New file.
16059
16060 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16061
16062 Do not set x-display-name until X connection is established.
16063 This is needed to prevent from weird situation described at
16064 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16065 * frame.el (make-frame): Set x-display-name after call to
16066 window system initialization function, not before.
16067 * term/x-win.el (x-initialize-window-system): Add optional
16068 display argument and use it.
16069 * term/w32-win.el (w32-initialize-window-system):
16070 * term/ns-win.el (ns-initialize-window-system):
16071 * term/pc-win.el (msdos-initialize-window-system):
16072 Add compatible optional display argument.
16073
16074 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16075
16076 * files.el (normal-backup-enable-predicate): On MS-Windows and
16077 MS-DOS compare truenames of temporary-file-directory and of the
16078 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16079 don't fail comparison by compare-strings. Also, compare file
16080 names case-insensitively on MS-Windows and MS-DOS.
16081
16082 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16083
16084 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16085 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16086
16087 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16088
16089 * whitespace.el (whitespace-color-on, whitespace-color-off):
16090 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16091
16092 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16093
16094 * ispell.el (ispell-set-spellchecker-params):
16095 Really set `ispell-args' for all equivs.
16096
16097 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16098
16099 * ido.el (ido-completions): Use extra elements of ido-decorations
16100 (bug#14143).
16101 (ido-decorations): Update docstring.
16102
16103 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16104
16105 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16106 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16107 nil during initialization, in order not to miss changes since the
16108 file was opened. (Bug#14140)
16109
16110 2013-04-05 Leo Liu <sdl.web@gmail.com>
16111
16112 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16113
16114 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16115
16116 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16117
16118 2013-04-04 Glenn Morris <rgm@gnu.org>
16119
16120 * electric.el (electric-pair-inhibit-predicate): Add :version.
16121
16122 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16123
16124 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16125 when a package is required several times (bug#14082).
16126
16127 2013-04-04 Roland Winkler <winkler@gnu.org>
16128
16129 * faces.el (read-face-name): Behave as promised by the docstring.
16130 Assume that arg default is a list of faces.
16131 (describe-face): Call read-face-name with list of default faces.
16132
16133 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16134
16135 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16136 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16137 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16138 the header.
16139 (bookmark-exit-hook-internal): Save even if list is empty.
16140
16141 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16142
16143 * emacs-lisp/package.el (package-pinned-packages): New var.
16144 (package--add-to-archive-contents): Obey it (bug#14118).
16145
16146 2013-04-03 Alan Mackenzie <acm@muc.de>
16147
16148 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16149 Also adapt to the new values of element 7 of a parse state.
16150
16151 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16152 parameter `not-in-delimiter'. Handle being inside comment opener.
16153 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16154 character in case we're typing a '*' after a '/'.
16155 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16156 instead by passing the parameter to c-state-pp-to-literal.
16157
16158 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16159 for elt. 7 of a parse state.
16160
16161 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16162
16163 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16164 * international/latin1-disp.el, international/mule-util.el:
16165 * language/cyril-util.el, language/european.el, language/ind-util.el:
16166 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16167 * language/tibetan.el, language/viet-util.el:
16168 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16169
16170 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16171
16172 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16173 (electric-pair-post-self-insert-function): Use it.
16174 (electric-pair-default-inhibit): New function, extracted from
16175 electric-pair-post-self-insert-function.
16176
16177 2013-03-31 Roland Winkler <winkler@gnu.org>
16178
16179 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16180
16181 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16182
16183 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16184
16185 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16186
16187 Un-indent after "pass" and "return" statements (Bug#13888)
16188 * progmodes/python.el (python-indent-block-enders): New var.
16189 (python-indent-calculate-indentation): Use it.
16190
16191 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16192
16193 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16194 defun. Defining it as defalias could introduce too eager
16195 byte-compiler optimization. (Bug#14030)
16196
16197 2013-03-30 Chong Yidong <cyd@gnu.org>
16198
16199 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16200
16201 2013-03-30 Leo Liu <sdl.web@gmail.com>
16202
16203 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16204 (kmacro-execute-from-register): Pass the keyboard macro to
16205 kmacro-call-macro or repeating won't work correctly.
16206
16207 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16208
16209 * progmodes/subword.el: Back to using `forward-symbol'.
16210
16211 * subr.el (forward-whitespace, forward-symbol)
16212 (forward-same-syntax): Move from thingatpt.el.
16213
16214 2013-03-29 Leo Liu <sdl.web@gmail.com>
16215
16216 * kmacro.el (kmacro-to-register): New command.
16217 (kmacro-execute-from-register): New function.
16218 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16219
16220 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16221
16222 * mpc.el: Use defvar-local and setq-local.
16223 (mpc--proc-connect): Connection failures are not bugs.
16224 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16225 (mpc-volume-map): Bind to the up-events.
16226
16227 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16228
16229 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16230 instead of `forward-symbol'.
16231
16232 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16233
16234 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16235 (edebug--recursive-edit): Use it.
16236 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16237 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16238
16239 2013-03-28 Leo Liu <sdl.web@gmail.com>
16240
16241 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16242
16243 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16244
16245 * facemenu.el (list-colors-callback): New defvar.
16246 (list-colors-redisplay): New function.
16247 (list-colors-display): Install list-colors-redisplay as the
16248 revert-buffer-function. (Bug#14063)
16249
16250 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16251
16252 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16253 and suffixes don't overlap (bug#14061).
16254
16255 * case-table.el: Use lexical-binding.
16256 (case-table-get-table): New function.
16257 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16258
16259 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16260
16261 * progmodes/subword.el: Add `superword-mode' to do word motion
16262 over symbol_words (parallels and leverages `subword-mode' which
16263 does word motion inside MixedCaseWords).
16264
16265 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16266
16267 * eshell/em-unix.el: Move su and sudo to...
16268 * eshell/em-tramp.el: ...Eshell tramp module.
16269
16270 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16271
16272 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16273 Change return value to be a sexp. Delay `get-buffer' to after
16274 restoring the desktop (bug#13951).
16275
16276 2013-03-26 Leo Liu <sdl.web@gmail.com>
16277
16278 * register.el: Move semantic tag handling back to
16279 cedet/semantic/senator.el. (Bug#14052)
16280
16281 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16282
16283 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16284 into the prompt either (bug#13963).
16285
16286 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16289 part of "(error-foo)".
16290
16291 2013-03-24 Juri Linkov <juri@jurta.org>
16292
16293 * replace.el (list-matching-lines-prefix-face): New defcustom.
16294 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16295 `occur-engine' if `face-differs-from-default-p' returns t.
16296 (occur-engine): Add `,' inside backquote construct to evaluate
16297 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16298 Pass `prefix-face' to the functions `occur-context-lines' and
16299 `occur-engine-add-prefix'.
16300 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16301 `prefix-face' and propertize the prefix with `prefix-face'.
16302 (Bug#14017)
16303
16304 2013-03-24 Leo Liu <sdl.web@gmail.com>
16305
16306 * nxml/rng-valid.el (rng-validate-while-idle)
16307 (rng-validate-quick-while-idle): Guard against deleted buffer.
16308 (Bug#13999)
16309
16310 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16311 is the last entry in kill-buffer-hook.
16312
16313 * files.el (kill-buffer-hook): Doc fix.
16314
16315 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16316
16317 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16318 Make it safe-local.
16319
16320 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16321
16322 2013-03-23 Leo Liu <sdl.web@gmail.com>
16323
16324 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16325 Remove.
16326
16327 * nxml/rng-valid.el (rng-validate-mode)
16328 (rng-after-change-function, rng-do-some-validation):
16329 * nxml/rng-maint.el (rng-validate-buffer):
16330 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16331 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16332 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16333 (nxml-extend-after-change-region): Use with-silent-modifications.
16334
16335 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16336 timer-idle-list.
16337
16338 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16339 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16340 timer-idle-list. (Bug#13999)
16341
16342 2013-03-23 Juri Linkov <juri@jurta.org>
16343
16344 * info.el (info-index-match): New face.
16345 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16346 main pattern and add text properties with the new face to matches
16347 in index entries relative to the beginning of the index entry.
16348 (Bug#14015)
16349
16350 2013-03-21 Eric Ludlam <zappo@gnu.org>
16351
16352 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16353 Inhibit read only while inserting objects.
16354
16355 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16356
16357 * progmodes/cfengine.el: Update docs to mention
16358 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16359 symbol motion. Remove "_" from the word syntax.
16360
16361 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16362
16363 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16364 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16365
16366 2013-03-20 Juri Linkov <juri@jurta.org>
16367
16368 * info.el (Info-next-reference-or-link)
16369 (Info-prev-reference-or-link): New functions.
16370 (Info-next-reference, Info-prev-reference): Use them.
16371 (Info-try-follow-nearest-node): Handle footnote navigation.
16372 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16373
16374 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16375
16376 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16377 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16378
16379 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16380
16381 Suppress unnecessary non-ASCII chatter during build process.
16382 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16383 (batch-skkdic-convert): Suppress most of the chatter.
16384 It's not needed so much now that machines are faster,
16385 and its non-ASCII component was confusing; see Dmitry Gutov in
16386 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16387
16388 2013-03-20 Leo Liu <sdl.web@gmail.com>
16389
16390 * ido.el (ido-chop): Fix bug#10994.
16391
16392 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16393
16394 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16395 Remove vars.
16396 (whitespace-color-on, whitespace-color-off):
16397 Use `font-lock-fontify-buffer' (Bug#13817).
16398
16399 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16400
16401 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16402 remapping in mode-line.
16403 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16404
16405 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16406
16407 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16408 value for `whitespace-line' face (Bug#13875).
16409 (whitespace-font-lock-keywords): Change description.
16410 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16411 the constructed keywords instead.
16412 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16413
16414 2013-03-19 Leo Liu <sdl.web@gmail.com>
16415
16416 * progmodes/compile.el (compilation-display-error): New command.
16417 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16418 C-o. (Bug#13992)
16419
16420 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16421
16422 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16423
16424 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16425
16426 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16427
16428 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16429
16430 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16431
16432 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16433 * net/tramp-gvfs.el (top):
16434 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16435 (tramp-handle-shell-command): Use it.
16436 (tramp-dissect-file-name): Raise an error when hostname is a
16437 method name, and neither method nor user is specified.
16438
16439 * net/trampver.el: Update release number.
16440
16441 2013-03-18 Leo Liu <sdl.web@gmail.com>
16442
16443 Make sure eldoc can be turned off properly.
16444 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16445 eldoc-mode.
16446 (eldoc-display-message-p): Revert last change.
16447 (eldoc-display-message-no-interference-p)
16448 (eldoc-print-current-symbol-info): Tweak.
16449
16450 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16451
16452 * doc-view.el (doc-view-new-window-function): Check the new window
16453 overlay's display property instead the char property of the
16454 buffer's first char. Use `with-selected-window' instead of
16455 `save-window-excursion' with `select-window'.
16456 (doc-view-document->bitmap): Check the current doc-view overlay's
16457 display property instead the char property of the buffer's first char.
16458
16459 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16460
16461 Automate the build of ja-dic.el (Bug#13984).
16462 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16463 from the input, rather than assume that it's been done for us by the
16464 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16465 the current date into a ja-dic.el comment, as that complicates
16466 regression testing.
16467
16468 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16469
16470 * whitespace.el: Fix double evaluation.
16471 (whitespace-space, whitespace-hspace, whitespace-tab)
16472 (whitespace-newline, whitespace-trailing, whitespace-line)
16473 (whitespace-space-before-tab, whitespace-indentation)
16474 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16475 obsolete defvars.
16476 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16477 (whitespace-color-on): Use a single font-lock-add-keywords call.
16478 Fix double-evaluation of face variables.
16479
16480 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16481
16482 * net/tramp-adb.el (tramp-adb-parse-device-names):
16483 Use `start-process' instead of `call-process'. Otherwise, the
16484 function might be blocked under MS Windows. (Bug#13299)
16485
16486 2013-03-17 Leo Liu <sdl.web@gmail.com>
16487
16488 Extend eldoc to display info in the mode-line. (Bug#13978)
16489 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16490 (eldoc-mode-line-string): New variable.
16491 (eldoc-minibuffer-message): New function.
16492 (eldoc-message-function): New variable.
16493 (eldoc-message): Use it.
16494 (eldoc-display-message-p)
16495 (eldoc-display-message-no-interference-p):
16496 Support eldoc-post-insert-mode.
16497
16498 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16499 (eval-expression): Run it.
16500
16501 2013-03-17 Roland Winkler <winkler@gnu.org>
16502
16503 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16504 strings in the list of return values.
16505
16506 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16507
16508 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16509 radix before checking for HMS forms.
16510
16511 2013-03-16 Leo Liu <sdl.web@gmail.com>
16512
16513 * progmodes/scheme.el: Add indentation and font-locking for λ.
16514 (Bug#13975)
16515
16516 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16517
16518 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16519 token before point (bug#13942).
16520
16521 2013-03-16 Leo Liu <sdl.web@gmail.com>
16522
16523 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16524
16525 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16526
16527 * startup.el (command-line-normalize-file-name): Fix handling of
16528 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16529 <xfq.free@gmail.com> in
16530 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16531
16532 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16533
16534 Sync with Tramp 2.2.7.
16535
16536 * net/trampver.el: Update release number.
16537
16538 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16539
16540 * doc-view.el: Fix bug#13887.
16541 (doc-view-insert-image): Don't modify overlay associated to
16542 non-live windows, and implement horizontal centering of image in
16543 case it's smaller than the window.
16544 (doc-view-new-window-function): Force redisplay of new windows on
16545 doc-view buffers.
16546
16547 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16548
16549 * saveplace.el (save-place-alist-to-file): Don't sort
16550 `save-place-alist', just pretty-print it (bug#13882).
16551
16552 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16553
16554 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16555 Check whether `default-file-name-coding-system' is bound.
16556 It isn't in XEmacs.
16557
16558 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16559
16560 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16561 backquotes for `obsolete' (bug#13929).
16562
16563 * international/mule.el (find-auto-coding): Include file name in
16564 obsolescence warning (bug#13922).
16565
16566 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16567
16568 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16569 for CFEngine 3-specific indentation.
16570 (cfengine3-indent-line): Use it. Fix up category regex.
16571 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16572
16573 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16574
16575 * type-break.el (type-break-file-name):
16576 * textmodes/remember.el (remember-data-file):
16577 * strokes.el (strokes-file):
16578 * shadowfile.el (shadow-initialize):
16579 * saveplace.el (save-place-file):
16580 * ps-bdf.el (bdf-cache-file):
16581 * progmodes/idlwave.el (idlwave-config-directory):
16582 * net/quickurl.el (quickurl-url-file):
16583 * international/kkc.el (kkc-init-file-name):
16584 * ido.el (ido-save-directory-list-file):
16585 * emulation/viper.el (viper-custom-file-name):
16586 * emulation/vip.el (vip-startup-file):
16587 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16588 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16589
16590 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16591
16592 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16593 * language/thai-word.el: Switch to UTF-8.
16594
16595 See ChangeLog.16 for earlier changes.
16596
16597 ;; Local Variables:
16598 ;; coding: utf-8
16599 ;; End:
16600
16601 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16602
16603 This file is part of GNU Emacs.
16604
16605 GNU Emacs is free software: you can redistribute it and/or modify
16606 it under the terms of the GNU General Public License as published by
16607 the Free Software Foundation, either version 3 of the License, or
16608 (at your option) any later version.
16609
16610 GNU Emacs is distributed in the hope that it will be useful,
16611 but WITHOUT ANY WARRANTY; without even the implied warranty of
16612 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16613 GNU General Public License for more details.
16614
16615 You should have received a copy of the GNU General Public License
16616 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.