]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* net/tramp-sh.el (tramp-send-command-and-read): New optional arg MARKER.
[gnu-emacs] / lisp / ChangeLog
1 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-sh.el (tramp-send-command-and-read): New optional
4 arg MARKER.
5 (tramp-get-remote-path): Use it.
6
7 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
8
9 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
10 (tramp-accept-process-output): Use nil as argument for
11 `accept-process-output', when there is a gateway prepended.
12
13 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
14 wrong debug buffer.
15 (tramp-gw-open-connection): Set process coding system 'binary.
16 (tramp-gw-open-network-stream): Handle HTTP error 403.
17
18 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
19 wrong debug buffer.
20 (tramp-maybe-open-connection): Set connection property "gateway".
21
22 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * subr.el (sit-for): Tweak docstring (bug#19381).
25
26 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
27
28 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
29 stage to after `diff-index' (bug#19386).
30
31 2014-12-14 João Távora <joaotavora@gmail.com>
32
33 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
34 `electric-pair-mode' (bug#19356).
35
36 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
37
38 * simple.el (password-word-equivalents): Add "passcode", used for
39 numeric secrets like PINs or RSA tokens.
40
41 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
42
43 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
44 order to determine `tramp-own-remote-path'.
45
46 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
47
48 * progmodes/python.el (python-shell-parse-command):
49 Quote `python-shell-interpreter`. (Bug#19289)
50
51 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
54 of the whole pipe when indenting an opening keyword after a |.
55 Generalize this treatment to opening keywords like "while" (bug#18031).
56
57 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * simple.el (newline): Place the hook buffer-locally,
60 to make sure it's first.
61
62 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
63 Fix handling of symbols with different syntax at beginning/end or with
64 symbol rather than word syntax.
65
66 2014-11-30 Eli Zaretskii <eliz@gnu.org>
67
68 * simple.el (line-move): If noninteractive, call line-move-1, not
69 forward-line, since the former is compatible with line-move-visual
70 both in terms of the column to which it moves and the return
71 value. (Bug#19211)
72
73 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
74 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * outline.el (outline-move-subtree-down): Make sure we can move
77 forward to find the end of the subtree and the insertion point
78 (bug#19102).
79
80 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
81
82 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
83 for comment lines non-greedy and stopping at newlines to fix stack
84 overflows with large files. [Backport]
85
86 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
87
88 * progmodes/python.el (python-shell-completion-setup-code):
89 Use __builtin__ module (or builtins in Python 3) and catch all errors
90 when importing readline and rlcompleter.
91
92 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
93
94 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
95 (todo-revert-buffer): New function.
96 (todo-modes-set-1): Use it as the buffer-local value of
97 revert-buffer-function.
98
99 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
100
101 * calendar/todo-mode.el (todo-mode): If called interactively, just
102 display a message saying to call todo-show to enter Todo mode
103 (Bug#19112).
104
105 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
106
107 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
108 (Bug#18579)
109
110 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
111 files. (Bug#18579)
112
113 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
114
115 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
116 remote `buffer-file-name'.
117
118 2014-11-23 Leo Liu <sdl.web@gmail.com>
119
120 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
121
122 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
123
124 Set PYTHONUNBUFFERED on shell startup.
125
126 * progmodes/python.el (python-shell-unbuffered): New var.
127 (python-shell-calculate-process-environment): Use it.
128
129 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
130
131 * net/tramp.el (tramp-action-password): Clean password on subsequent
132 attempts even if there was no wrong password indication. (Bug#19047)
133
134 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
135 fallback.
136 (tramp-open-connection-setup-interactive-shell): No need to check
137 for nil as `tramp-get-remote-locale' return value.
138
139 2014-11-21 Eli Zaretskii <eliz@gnu.org>
140
141 * vc/vc-git.el (vc-git-command, vc-git--call):
142 Bind coding-system-for-read and coding-system-for-write to
143 vc-git-commits-coding-system.
144 (vc-git-previous-revision): Use "~1" instead of "^", since the
145 latter is a special character for MS-Windows system shells.
146
147 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
148
149 Improve XEmacs compatibility.
150
151 * net/tramp.el (tramp-autoload-file-name-handler):
152 Wrap `temporary-file-directory' by `symbol-value', it doesn't
153 exist in XEmacs.
154 (tramp-read-passwd): Don't use `with-timeout-suspend' and
155 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
156 (tramp-time-less-p, tramp-time-subtract): Remove functions.
157 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
158 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
159 * net/tramp-cache.el (tramp-get-file-property):
160 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
161 Use `time-less-p' and `time-subtract, respectively.
162
163 * net/tramp-adb.el (top): Do not require time-date.el.
164
165 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
166
167 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
168 Check, whether `utf-8' is a valid coding system.
169
170 2014-11-19 Eli Zaretskii <eliz@gnu.org>
171
172 * vc/vc.el (vc-retrieve-tag): Doc fix.
173
174 2014-11-17 Eli Zaretskii <eliz@gnu.org>
175
176 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
177 Don't assume --long is the default for "bzr log", always specify
178 it explicitly, in case the user defined an alias for 'log' that
179 uses some other format.
180
181 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
182
183 * progmodes/python.el (python-eldoc--get-doc-at-point):
184 Strip shell output before returning. (bug#18794)
185
186 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
187
188 Fix indentation before `!=' and after `+='. Originally reported
189 in https://github.com/mooz/js2-mode/issues/174.
190 * progmodes/js.el (js--indent-operator-re): Make assignments and
191 (in)equality operator a separate case.
192 (js--continued-expression-p): Escape the second `+' in the regexp.
193
194 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
197
198 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
199
200 * version.el (emacs-repository-get-version): Use git rev-parse
201 instead of git log.
202
203 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
204
205 * progmodes/python.el (python-indent-calculate-levels):
206 Fix indentation behavior multiline dedenter statement. (Bug#18432)
207
208 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
209
210 * progmodes/python.el (python-indent-region):
211 Use python-indent-line and skip special cases. (Bug#18843)
212
213 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
214
215 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
216
217 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
218
219 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
220 envelope-from when reporting through sendmail (bug#19054).
221
222 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
223
224 * progmodes/python.el (python-ffap-module-path):
225 Use `derived-mode-p' instead of equality test on `major-mode'.
226
227 2014-11-13 Ulrich Müller <ulm@gentoo.org>
228
229 * version.el (emacs-repository-get-version): Call `git log'
230 command with proper format argument (bug#19049).
231
232 2014-11-10 Glenn Morris <rgm@gnu.org>
233
234 * startup.el (command-line): Handle nil elements in load-path.
235
236 2014-11-08 Glenn Morris <rgm@gnu.org>
237
238 * emacs-lisp/bytecomp.el (byte-compile-report-error):
239 Allow the argument to be a string. Due to the vague doc,
240 it was already being used this way.
241
242 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
243
244 * net/tramp.el (tramp-check-cached-permissions): Include hop in
245 the constructed Tramp file name. (Bug#18943)
246
247 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
248
249 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
250 (bug#18952).
251 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
252 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
253
254 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
255
256 * files.el (file-name-non-special): Wrap the call of
257 `insert-file-contents' by `unwind-protect', in order to set the
258 buffer's file name anyway. (Bug#18891)
259
260 2014-11-07 Daiki Ueno <ueno@gnu.org>
261
262 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
263 (bug#18979). Reported by Hideki Saito.
264
265 2014-10-18 Alan Mackenzie <acm@muc.de>
266
267 Check that a "macro" found near point-min isn't a ## operator.
268 Fixes bug #18749. Backported from trunk, 2014-11-05.
269 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
270 (c-beginning-of-macro): Use the above new function.
271
272 2014-11-05 Alan Mackenzie <acm@muc.de>
273
274 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
275 * progmodes/cc-fonts.el (c-font-lock-declarations):
276 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
277 the buffer is sometimes narrowed to less than "limit" (e.g., in
278 the presence of macros).
279
280 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
281
282 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
283 only when message appeared in minibuffer. (Bug#18891)
284
285 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
286 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
287 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
288 case of errors.
289
290 2014-11-04 Eli Zaretskii <eliz@gnu.org>
291
292 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
293 returned by load-average.
294
295 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
296
297 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
298 a local copy; setting `inhibit-file-name-handlers' proper might be
299 more performant. (Bug#18751)
300
301 2014-11-04 Glenn Morris <rgm@gnu.org>
302
303 * mail/emacsbug.el (report-emacs-bug): No longer include
304 recent-keys in the report. (Bug#18900)
305
306 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
307
308 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
309 local copy of FILENAME, when it is remote. (Bug#18751)
310
311 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
312
313 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
314 an error when the command fails; the return code must indicate.
315 (tramp-adb-send-command-and-check): Fix docstring.
316
317 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
318
319 * net/tramp-cache.el (tramp-get-file-property)
320 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
321 and `tramp-cache-set-count-*' are bound. Otherwise, there might
322 be compiler warnings.
323
324 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
325 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
326
327 2014-11-01 Eli Zaretskii <eliz@gnu.org>
328
329 * progmodes/compile.el (compilation-mode): Turn off deferred
330 fontifications locally. (Bug#18856)
331
332 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
333
334 * net/tramp-sh.el (tramp-send-command): Fix the case where the
335 remote-echo connection property is non-nil (bug#18858).
336
337 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
338
339 Backport Tramp changes from trunk.
340
341 * net/tramp.el (tramp-methods): Tweak docstring.
342 (tramp-file-name-handler): Apply `cons' where appropriate.
343 (tramp-handle-file-accessible-directory-p): Check for
344 `file-readable-p' instead of `file-executable-p'.
345 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
346 (tramp-handle-unhandled-file-name-directory): Return "/".
347 (tramp-check-cached-permissions):
348 Use `tramp-compat-file-attributes'.
349 (tramp-call-process): Add new argument VEC. Adapt callees in all
350 tramp*.el files.
351
352 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
353 (tramp-adb-handle-write-region): Improve messages.
354 (tramp-adb-maybe-open-connection): Don't set
355 `tramp-current-*' variables.
356
357 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
358 Suppress debug messages.
359
360 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
361 (tramp-ftp-file-name-handler):
362
363 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
364 (tramp-gvfs-methods-mounttracker)
365 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
366 during initialization. (Bug#18774)
367 (tramp-gvfs-handle-delete-file): Flush file properties, not
368 directory properties.
369 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
370 reading "unix::mode".
371 (tramp-gvfs-handle-file-name-all-completions):
372 Use "-h" option for "gvfs-ls".
373 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
374 `user' and `localname' could be nil.
375 (tramp-gvfs-send-command): Simplify traces.
376
377 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
378 (vc-git-program, vc-hg-program): Declare.
379 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
380 (tramp-methods) <nc>: Add new method.
381 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
382 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
383 `tramp-login-args'.
384 (tramp-default-user-alist): Add "nc".
385 (top): Remove completion function for "sftp". Add completion
386 functions for "nc" and "psftp".
387 (tramp-sh-handle-set-visited-file-modtime):
388 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
389 (tramp-do-copy-or-rename-file-out-of-band):
390 Use cached "remote-copy-args" value, if available. (Bug#18199)
391 Tweak docstring. Implement support for "nc" method.
392 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
393 (tramp-remote-coding-commands, tramp-call-local-coding-command):
394 Tweak docstring.
395 (tramp-sh-handle-start-file-process): Expand `default-directory'.
396 (tramp-sh-handle-write-region): Tweak error message.
397 (tramp-sh-handle-vc-registered): Remove backends when the remote
398 binary does not exist.
399 (tramp-open-connection-setup-interactive-shell):
400 Prefer utf-8 coding. (Bug#17859)
401 (tramp-find-inline-encoding): Do not raise an error.
402 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
403 the "nc" case. Quote result also locally.
404 (tramp-get-remote-id): Check also for "gid".
405 (tramp-get-remote-python):
406
407 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
408 (tramp-smb-handle-set-file-acl): Use `start-process'.
409 (tramp-smb-handle-insert-directory): Use progress reporter.
410 (tramp-smb-handle-rename-file): Flush also file properties of
411 FILENAME.
412
413 * net/trampver.el: Update release number.
414
415 2014-11-01 Reuben Thomas <rrt@sc3d.org>
416
417 * net/tramp.el (tramp-handle-file-symlink-p):
418 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
419 about VMS, which we no longer support.
420
421 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
424 the global vc-handled-backends (bug#18535).
425
426 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
427 Michael Albinus <michael.albinus@gmx.de>
428
429 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
430 Reduce the amount of set environment variable commands.
431
432 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
433
434 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
435 current-time.
436
437 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
438
439 * net/tramp-sh.el (tramp-get-remote-python): Also search for
440 executables named "python2" or "python3".
441 (tramp-get-remote-uid-with-python): Use parentheses around
442 arguments to `print' to make it compatible with Python 3.
443 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
444
445 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * simple.el (newline): Add assertions to try and help catch bug#18913.
448
449 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
450 (bug#18886).
451 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
452
453 2014-10-31 Eli Zaretskii <eliz@gnu.org>
454
455 * Makefile.in (repo-update): Fix a typo and slightly reword
456 commentary.
457
458 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
459
460 * Makefile.in: Change some production names so they're neutral
461 about the repository type.
462
463 2014-10-30 Kim F. Storm <storm@cua.dk>
464
465 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
466 * delsel.el (delete-selection-save-to-register)
467 (delsel--replace-text-or-position): New vars.
468 (delete-active-region): Use them.
469 (delete-selection-repeat-replace-region): New command, moved from
470 cua-base.el.
471 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
472 (cua-repeat-replace-region): Move command to delsel.el.
473 (cua--init-keymaps): Update binding accordingly.
474 (cua-mode): Set delete-selection-save-to-register.
475
476 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
479 (c-lang-defconst):
480 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
481
482 2014-10-29 Eli Zaretskii <eliz@gnu.org>
483
484 * progmodes/compile.el (compilation-start):
485 If compilation-scroll-output is non-nil, don't force window-start of
486 the compilation buffer to be at beginning of buffer. (Bug#18874)
487
488 2014-10-23 Tassilo Horn <tsdh@gnu.org>
489
490 * doc-view.el (doc-view-open-text): View the document's plain text
491 in the current buffer instead of a new one.
492 (doc-view-toggle-display): Handle the case where the current
493 buffer contains the plain text contents of the document.
494 (doc-view-initiate-display): Don't switch to fallback mode if the
495 user wants to view the doc's plain text. [Backport]
496
497 2014-10-23 Eli Zaretskii <eliz@gnu.org>
498
499 * startup.el (fancy-about-text): Read the entire tutorial, not
500 just its first 256 bytes. (Bug#18760)
501
502 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
503
504 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
505 * emacs-lisp/cl-extra.el: Add missing provide.
506
507 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
510 all args are copyable (bug#18767).
511 (=, <, >, <=, >=): Re-enable the optimization.
512
513 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
514
515 * vc/vc-hg.el (vc-hg-log-graph): New var.
516 (vc-hg-print-log): Use it.
517 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
518 graph output (bug#17515).
519
520 2014-10-20 Juri Linkov <juri@jurta.org>
521
522 * vc/diff-mode.el (diff-refine-changed): Rename from
523 `diff-refine-change' for consistency with `diff-changed'.
524 (diff-refine-change): Add obsolete face alias. (Bug#10181)
525
526 * vc/smerge-mode.el (smerge-refined-changed): Rename from
527 `smerge-refined-change'.
528 (smerge-refined-change): Add obsolete face alias.
529
530 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * subr.el (call-process-shell-command, process-file-shell-command):
533 Make the `args' obsolete (bug#18409).
534 (start-process-shell-command, start-file-process-shell-command):
535 Use `declare'.
536
537 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
538
539 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
540
541 2014-10-20 Glenn Morris <rgm@gnu.org>
542
543 * dired.el (dired-read-regexp): Make obsolete.
544 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
545 (dired-flag-files-regexp):
546 * dired-aux.el (dired-mark-read-regexp):
547 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
548
549 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * progmodes/python.el (inferior-python-mode): Use add-hook.
552
553 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
554
555 2014-10-20 Glenn Morris <rgm@gnu.org>
556
557 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
558 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
559 * emulation/ws-mode.el: Move to obsolete/. [Backport]
560
561 2014-10-20 Glenn Morris <rgm@gnu.org>
562
563 * cus-start.el (history-length): Bump :version. [Backport]
564
565 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * obsolete/cc-compat.el: Make obsolete (bug#18561).
568
569 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
570
571 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
572 case (bug#18767).
573
574 2014-10-20 Glenn Morris <rgm@gnu.org>
575
576 * Version 24.4 released.
577
578 2014-10-15 Alan Mackenzie <acm@muc.de>
579
580 * cus-edit.el (custom-command-apply): Specify the return value in
581 the doc string.
582 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
583 custom-command-apply has returned non-nil.
584
585 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
588 Backported (bug#18688).
589
590 2014-10-14 Eli Zaretskii <eliz@gnu.org>
591
592 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
593 Force bidi-paragraph-direction to 'left-to-right'. This fixes
594 buffer-menu display when the first buffer happens to start with
595 R2L letter.
596
597 2014-10-13 Glenn Morris <rgm@gnu.org>
598
599 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
600 (authors-obsolete-files-regexps): Additions.
601 (authors-no-scan-regexps): New constant.
602 (authors-no-scan-file-p): New function.
603 (authors): Respect authors-no-scan-file-p.
604
605 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
606
607 Fix import completion. (Bug#18582)
608 * progmodes/python.el (python-shell-completion-get-completions):
609 Fix import case regexp.
610
611 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
614 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
615 * progmodes/prolog.el (prolog-electric--underscore): Same.
616
617 2014-10-09 Glenn Morris <rgm@gnu.org>
618
619 * frame.el (display-monitor-attributes-list): Doc tweaks.
620
621 2014-10-08 Eli Zaretskii <eliz@gnu.org>
622
623 * faces.el (display-grayscale-p): Mention in the doc string that
624 the argument can be either a display name or a frame.
625
626 * frame.el (display-pixel-height, display-pixel-width)
627 (display-mm-height, display-mm-width, display-backing-store)
628 (display-save-under, display-planes, display-color-cells)
629 (display-visual-class, display-monitor-attributes-list)
630 (display-screens): Mention in the doc string that the argument can
631 be either a display name or a frame. Improve the docs of the
632 monitor attributes. (Bug#18636)
633
634 2014-10-06 Martin Rudalics <rudalics@gmx.at>
635
636 * term.el (term-window-width): Subtract 1 from the width when
637 any fringe has zero width, not just the right fringe. (Bug#18601)
638
639 2014-10-05 Leo Liu <sdl.web@gmail.com>
640
641 * imenu.el (imenu-default-goto-function): Fix typo.
642
643 2014-10-04 Glenn Morris <rgm@gnu.org>
644
645 * frame.el (frame-monitor-attributes)
646 (display-monitor-attributes-list): Doc fixes.
647
648 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
649
650 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
651 (vc-svn-ignore): Use it. (Bug#18619)
652
653 2014-10-03 Martin Rudalics <rudalics@gmx.at>
654
655 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
656 In doc-string mention need to set `frame-resize-pixelwise'.
657
658 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
661 similarly to Rogers's 2010-06-16 change for the remote case
662 (bug#18605).
663
664 2014-10-01 Glenn Morris <rgm@gnu.org>
665
666 * emacs-lisp/package.el (package-import-keyring):
667 Create gnupg directory private. (Bug#17625#155)
668
669 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * progmodes/python.el (python-shell-completion-get-completions):
672 Use python-shell--prompt-calculated-input-regexp from the
673 process buffer (bug#18582).
674 Don't assume that `line' comes from the process buffer.
675
676 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
677
678 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
679 (bug#18462).
680
681 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * emacs-lisp/package.el (package-check-signature): Default to nil if
684 GPG is not available.
685 (package-refresh-contents): Don't mess with the keyring if we won't
686 check the signatures anyway.
687
688 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
689
690 * window.el (fit-window-to-buffer): When counting buffer width,
691 count the whole visible buffer. Correctly convert the body-height
692 to pixel size for window-text-pixel-size (Bug#18498).
693
694 2014-09-14 Glenn Morris <rgm@gnu.org>
695
696 * image.el (image-multi-frame-p): Fix thinko - do not force
697 a delay if none was specified. (Bug#18334)
698
699 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
700
701 * window.el (fit-window-to-buffer): Doc fix.
702
703 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
704
705 * desktop.el (desktop-create-buffer): Check that buffers are still live
706 before burying them (bug#18373).
707
708 2014-09-09 Glenn Morris <rgm@gnu.org>
709
710 * calendar/diary-lib.el (diary-list-entries):
711 Restore 24.3 display behavior. (Bug#18381)
712
713 2014-09-09 Eli Zaretskii <eliz@gnu.org>
714
715 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
716 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
717 discrepancy between window-pixel-edges and mouse events, and
718 avoids moving mode line up when the mouse click is on the modeline
719 and no drag is attempted.
720
721 2014-09-08 Glenn Morris <rgm@gnu.org>
722
723 * calendar/calendar.el (calendar-basic-setup):
724 Avoid clobbering calendar with diary. (Bug#18381)
725
726 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
729
730 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
731
732 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
733 as well (bug#18400).
734
735 2014-09-04 Eli Zaretskii <eliz@gnu.org>
736
737 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
738
739 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * emacs-lisp/package.el (package-generate-description-file):
742 Properly quote the arguments (bug#18332). Change second arg.
743 (package--alist-to-plist-args): Rename from package--alist-to-plist and
744 quote the elements.
745 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
746 the *-pkg.el file. Adjust to new calling convention of
747 package-generate-description-file.
748
749 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
750 (gud-gdb-completions): Remove obsolete workaround.
751
752 2014-09-02 Eli Zaretskii <eliz@gnu.org>
753
754 * subr.el (posn-col-row): Revert the change from commit
755 2010-11-13T21:07:58Z!eliz@gnu.org, which
756 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
757 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
758 introduced an off-by-one error in the reported row when there is a
759 header line. (Bug#18384)
760
761 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
762
763 * progmodes/python.el (python-indent-post-self-insert-function):
764 Avoid electric colon at beginning-of-defun. (Bug#18228)
765
766 2014-09-01 Glenn Morris <rgm@gnu.org>
767
768 * tutorial.el (tutorial--display-changes):
769 Fix 2014-07-29 change. (Bug#18382)
770
771 2014-08-29 Ken Brown <kbrown@cornell.edu>
772
773 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
774 the Cygwin-w32 build. (Bug#18347)
775
776 2014-08-28 Glenn Morris <rgm@gnu.org>
777
778 * tar-mode.el (tar--extract, tar-extract):
779 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
780
781 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
782
783 * emacs-lisp/authors.el (authors-aliases): Addition.
784
785 * net/tramp-adb.el: Spell author name correctly.
786
787 2014-08-27 João Távora <joaotavora@gmail.com>
788
789 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
790 use url-expand-file-name. (Bug#18310)
791
792 2014-08-25 Glenn Morris <rgm@gnu.org>
793
794 * emulation/cua-rect.el (cua--highlight-rectangle):
795 Avoid error at point-min. (Bug#18309)
796
797 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
800 executable-find (bug#18244).
801
802 * simple.el (self-insert-uses-region-functions): Defvar.
803
804 2014-08-13 Leo Liu <sdl.web@gmail.com>
805
806 * speedbar.el (speedbar-generic-list-tag-p): Allow special
807 elements from imenu.
808
809 2014-08-11 Glenn Morris <rgm@gnu.org>
810
811 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
812
813 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
814 chose coding system for writing before backing up, since it causes
815 a more serious problem than the one it solves. (Closes Bug#18141,
816 reopens Bug#13522.)
817
818 2014-08-10 Martin Rudalics <rudalics@gmx.at>
819
820 * window.el (window-total-size): Make doc-string more
821 self-contained.
822
823 2014-08-09 Martin Rudalics <rudalics@gmx.at>
824
825 * window.el (display-buffer-below-selected): Restore original
826 behavior if buffer is already displayed in the window below the
827 selected one (Bug#18181).
828
829 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
832 event (bug#18212).
833
834 2014-08-08 Eli Zaretskii <eliz@gnu.org>
835
836 * info.el (info): Doc fix.
837
838 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * info.el (Info-mode-map): Override a global down-mouse-2 binding
841 (bug#18212).
842
843 2014-08-05 Eli Zaretskii <eliz@gnu.org>
844
845 * simple.el (default-line-height): A floating-point value of
846 line-spacing means a fraction of the default frame font's height,
847 not of the font currently used by the 'default' face.
848 Truncate the pixel value, like the display engine does.
849 (window-screen-lines): Use window-inside-pixel-edges for
850 determining the window height in pixels. (Bug#18195)
851
852 2014-07-29 Eli Zaretskii <eliz@gnu.org>
853
854 * tutorial.el (tutorial--display-changes): Accept punctuation
855 characters before the key binding. (Bug#18146)
856
857 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
858
859 * doc-view.el (doc-view-open-text): Don't require that the
860 document is saved in a file (e.g., email attachment).
861
862 2014-07-27 Eli Zaretskii <eliz@gnu.org>
863
864 * window.el (window--pixel-to-total): Use FRAME's root window, not
865 that of the selected frame. (Bug#18112, Bug#16674)
866
867 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
868
869 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
870 (Bug#18117)
871
872 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
873
874 * progmodes/python.el (inferior-python-mode): Doc fix.
875
876 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
877
878 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
879 not a character, ignore it instead of raising an error.
880
881 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
882
883 * calendar/todo-mode.el: Fix handling of marked items and make
884 minor code improvements.
885 (todo-edit-item): If there are marked items, ensure user can only
886 invoke editing commands that work with marked items.
887 (todo-edit-item--text): When there are marked items, make it a
888 noop if invoked with point not on an item; otherwise, ensure it
889 applies only to item at point.
890 (todo-item-undone): If there are marked not-done items, return
891 point to its original position before signaling user error.
892 (todo--user-error-if-marked-done-item): New function.
893 (todo-edit-item--header, todo-edit-item--diary-inclusion)
894 (todo-item-done): Use it.
895
896 2014-07-25 Glenn Morris <rgm@gnu.org>
897
898 * files.el (toggle-read-only): Re-add basic doc-string.
899 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
900
901 * progmodes/prolog.el (prolog-mode-keybindings-edit):
902 Replace missing `switch-to-prolog' with `run-prolog'.
903 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
904
905 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
906
907 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
908 of file-wide setting when changing category-wide setting.
909
910 2014-07-21 Glenn Morris <rgm@gnu.org>
911
912 * progmodes/hideif.el (hide-ifdef-mode-submap):
913 Also substitute read-only-mode.
914 * bindings.el (mode-line-toggle-read-only):
915 * bs.el (bs-toggle-readonly):
916 * buff-menu.el (Buffer-menu-toggle-read-only):
917 * dired.el (dired-toggle-read-only):
918 * files.el (view-read-only, find-file-read-only)
919 (find-file-read-only-other-window)
920 (find-file-read-only-other-frame):
921 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
922 Doc fixes re toggle-read-only.
923
924 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
925
926 * progmodes/python.el: Add comment about pipe buffering and
927 solutions for missing/delayed output in inferior Python shells.
928 (Bug#17304)
929
930 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
931
932 * progmodes/python.el (python-mode): Don't set
933 mode-require-final-newline. (Bug#17990)
934
935 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
936
937 Make python.el work with IPython automatically. (Bug#15510)
938 * progmodes/python.el:
939 (python-shell-completion-setup-code): New value supporting iPython.
940 (python-shell-completion-string-code): New value supporting iPython.
941 (python-shell-completion-get-completions): Use them.
942 (python-shell-completion-module-string-code): Make obsolete.
943 (python-shell-prompt-input-regexps)
944 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
945 (python-shell-output-filter): Fix comment typo.
946
947 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
948
949 Fix Python shell prompts detection for remote hosts.
950 * progmodes/python.el (python-shell-prompt-detect):
951 Replace call-process with process-file and make it more robust.
952
953 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
954
955 Autodetect Python shell prompts. (Bug#17370)
956 * progmodes/python.el:
957 (python-shell-interpreter-interactive-arg)
958 (python-shell-prompt-detect-enabled)
959 (python-shell-prompt-detect-failure-warning)
960 (python-shell-prompt-input-regexps)
961 (python-shell-prompt-output-regexps): New vars.
962 (python-shell-prompt-calculated-input-regexp)
963 (python-shell-prompt-calculated-output-regexp): New vars.
964 (python-shell-get-process-name)
965 (python-shell-internal-get-process-name)
966 (python-shell-output-filter)
967 (python-shell-completion-get-completions): Use them.
968 (python-shell-prompt-detect)
969 (python-shell-prompt-validate-regexps): New functions.
970 (python-shell-prompt-set-calculated-regexps): New function.
971 (inferior-python-mode): Use it. Also honor overridden
972 python-shell-interpreter and python-shell-interpreter-args.
973 (python-shell-make-comint): Honor overridden
974 python-shell-interpreter and python-shell-interpreter-args.
975 (python-shell-get-or-create-process): Make it testable by allowing
976 to call run-python non-interactively.
977 (python-util-valid-regexp-p): New function.
978 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
979 (python-shell-prompt-output-regexp)
980 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
981
982 2014-07-16 Glenn Morris <rgm@gnu.org>
983
984 * desktop.el (after-init-hook): Disable startup frame restoration
985 in non-graphical situations. (Bug#17693)
986
987 2014-07-14 Glenn Morris <rgm@gnu.org>
988
989 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
990 if it was "empty", or used for a different set of files. (Bug#17884)
991
992 2014-07-13 Eli Zaretskii <eliz@gnu.org>
993
994 * bindings.el (mode-line-remote): If default-directory is not a
995 string, don't call file-remote-p on it; instead state in the
996 help-echo that it is nil. (Bug#17986)
997
998 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
999
1000 Fix bug: C-x v v discarded existing log message (Bug#17884).
1001 * vc/vc-dispatcher.el (vc-log-edit):
1002 Don't clobber an already-existing log message.
1003
1004 2014-07-10 Glenn Morris <rgm@gnu.org>
1005
1006 * vc/log-edit.el (log-edit-changelog-entries):
1007 Check for a visited-but-never-saved ChangeLog.
1008
1009 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1012 a non-existing file (bug#17970).
1013
1014 * faces.el (face-name): Undo last change.
1015 (x-resolve-font-name): Don't call face-name (bug#17956).
1016
1017 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1018
1019 Fix dedenters and electric colon handling. (Bug#15163)
1020
1021 * progmodes/python.el
1022 (python-rx-constituents): Add dedenter and block-ender.
1023 (python-indent-dedenters, python-indent-block-enders): Delete.
1024 (python-indent-context): Return new case for dedenter-statement.
1025 (python-indent-calculate-indentation): Handle new case.
1026 (python-indent-calculate-levels): Fix levels calculation for
1027 dedenter statements.
1028 (python-indent-post-self-insert-function): Fix colon handling.
1029 (python-info-dedenter-opening-block-message): New function.
1030 (python-indent-line): Use it.
1031 (python-info-closing-block)
1032 (python-info-closing-block-message): Remove.
1033 (python-info-dedenter-opening-block-position)
1034 (python-info-dedenter-opening-block-positions)
1035 (python-info-dedenter-statement-p): New functions.
1036
1037 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1040 the middle of a line (bug#17896).
1041
1042 2014-07-08 Juri Linkov <juri@jurta.org>
1043
1044 * startup.el (command-line): Append displaying the warning about
1045 the errors in the init file to the end of `after-init-hook'.
1046 (Bug#17927)
1047
1048 2014-07-08 Juri Linkov <juri@jurta.org>
1049
1050 * faces.el (face-name): Return input arg `face' as is
1051 when it's not a symbol.
1052 (x-resolve-font-name): Don't check if the face is a symbol.
1053 (Bug#17956)
1054
1055 2014-07-08 Juri Linkov <juri@jurta.org>
1056
1057 * facemenu.el (list-colors-print): In help-echo format use %.2f
1058 instead of %d because now HSV values are floating-point components
1059 between 0.0 and 1.0.
1060
1061 2014-07-06 Glenn Morris <rgm@gnu.org>
1062
1063 * emulation/cua-rect.el (cua--activate-rectangle):
1064 Avoid setting cua--rectangle to nil. (Bug#17877)
1065
1066 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1067
1068 * calendar/todo-mode.el: Fix wrong-type-argument error when
1069 marking multiple consecutive items.
1070 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1071 end of the todo and done items sections. Note in doc string that
1072 items marked by passing a numeric prefix argument can include the
1073 last todo and first done items.
1074 (todo-mark-category): Don't try to mark the empty line between the
1075 todo and done items sections.
1076
1077 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1078
1079 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1080 proper Lisp quoting (bug#17934).
1081
1082 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1083 require-final-newline since prog-mode already took care of it (bug#17947).
1084
1085 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1086
1087 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1088 refer to the Todo mode Info manual. Update the comment on
1089 requiring cl-lib.
1090 (todo-find-filtered-items-file): Add todo-prefix overlays.
1091 (todo-filter-items): Reorder a let-bound variable to avoid a
1092 wrong-type-argument error on canceling the file choice dialog.
1093
1094 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * progmodes/octave.el (inferior-octave-mode):
1097 Set comint-input-ring-size to a number (bug#17912).
1098
1099 2014-07-03 Juri Linkov <juri@jurta.org>
1100
1101 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1102 and `isearch-mode' associated with nil. (Bug#17849)
1103
1104 2014-07-02 Juri Linkov <juri@jurta.org>
1105
1106 * desktop.el (desktop-save): Rename arg `auto-save' to
1107 `only-if-changed'. Doc fix. (Bug#17873)
1108
1109 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1112 Use insert-for-yank (bug#17271).
1113
1114 2014-07-02 Leo Liu <sdl.web@gmail.com>
1115
1116 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1117 Support lexical-binding.
1118
1119 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * vc/log-edit.el (log-edit-goto-eoh): New function.
1122 (log-edit--match-first-line): Use it (bug#17861).
1123
1124 2014-07-01 Glenn Morris <rgm@gnu.org>
1125
1126 * vc/log-edit.el (log-edit-hook): Add missing :version.
1127
1128 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1129
1130 * progmodes/python.el (python-indent-post-self-insert-function):
1131 Enhancements to electric indentation behavior inside
1132 parens. (Bug#17658)
1133
1134 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1137 buffer-invisibility-spec (bug#17867).
1138
1139 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1140
1141 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1142 pass "-a".
1143
1144 2014-06-29 Glenn Morris <rgm@gnu.org>
1145
1146 * cus-edit.el (help):
1147 * finder.el (finder-known-keywords):
1148 * help.el (help-for-help-internal):
1149 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1150 (ediff-redraw-registry-buffer):
1151 * vc/ediff-ptch.el (ediff-patch-file-internal):
1152 Doc fixes re "online" help. (Bug#17803)
1153
1154 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1155 (idlwave-mode): Doc URL update.
1156
1157 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1158
1159 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1160 account for file-wide setting of todo-top-priorities-overrides.
1161 Make code a bit cleaner.
1162
1163 2014-06-27 Leo Liu <sdl.web@gmail.com>
1164
1165 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1166
1167 2014-06-27 Glenn Morris <rgm@gnu.org>
1168
1169 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1170
1171 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1172
1173 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1174 category-wide setting of todo-top-priorities-overrides, check for
1175 a file-wide setting and fontify accordingly.
1176
1177 2014-06-26 Glenn Morris <rgm@gnu.org>
1178
1179 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1180
1181 2014-06-26 Daiki Ueno <ueno@gnu.org>
1182
1183 * emacs-lisp/package.el (package--check-signature):
1184 If package-check-signature is allow-unsigned, don't signal error when
1185 we can't verify signature because of missing public key
1186 (backport for bug#17625).
1187
1188 2014-06-26 Glenn Morris <rgm@gnu.org>
1189
1190 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1191 Remove outdated declaration.
1192
1193 * emacs-lisp/authors.el (authors-valid-file-names)
1194 (authors-renamed-files-alist): Additions.
1195
1196 2014-06-25 Leo Liu <sdl.web@gmail.com>
1197
1198 * textmodes/picture.el (picture-set-tab-stops):
1199 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1200 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1201
1202 * progmodes/asm-mode.el (asm-calculate-indentation):
1203 Use indent-next-tab-stop.
1204
1205 * indent.el (indent-accumulate-tab-stops): New function.
1206
1207 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1210 (package-desc-status): Obey it.
1211
1212 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1213
1214 * calendar/todo-mode.el: Fix two bugs.
1215 (todo-insert-item--basic): If user cancels item insertion to
1216 another category before setting priority, show original category
1217 whether it is in the same or a different file.
1218 (todo-set-item-priority): After selecting category, instead of
1219 moving point to top, which extends an active region, restore it.
1220
1221 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * help-fns.el (describe-function-1): Check file-name is a string before
1224 calling help-fns--autoloaded-p (bug#17564).
1225
1226 2014-06-24 Juri Linkov <juri@jurta.org>
1227
1228 * desktop.el (desktop-auto-save-enable)
1229 (desktop-auto-save-disable): New functions.
1230 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1231 (desktop-read): Disable the autosave before loading the desktop,
1232 and enable afterwards. (Bug#17351)
1233
1234 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 Fix some indentation problem with \; and pipes (bug#17842).
1237 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1238 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1239 New functions.
1240 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1241 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1242 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1243
1244 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1245
1246 * international/fontset.el (script-representative-chars):
1247 Add representative characters for scripts added in Unicode 7.0.
1248 (otf-script-alist): Synchronize with the latest registry of OTF
1249 script tags.
1250
1251 * international/characters.el (char-script-table): Update for
1252 scripts added and codepoint ranges changed in Unicode 7.0.
1253
1254 2014-06-23 Leo Liu <sdl.web@gmail.com>
1255
1256 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1257 tab-stop-list to nil. (Bug#16381)
1258
1259 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1260 (indent-rigidly-left-to-tab-stop)
1261 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1262 (move-to-tab-stop): Change callers.
1263
1264 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1265
1266 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1267 wrt behavior of \n as the first/last element of a skeleton.
1268
1269 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1270
1271 * net/tramp-adb.el (tramp-adb-handle-process-file):
1272 * net/tramp-sh.el (tramp-sh-handle-process-file):
1273 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1274 the output buffer when DISPLAY is non-nil. (Bug#17815)
1275
1276 2014-06-21 Glenn Morris <rgm@gnu.org>
1277
1278 * play/landmark.el (landmark-move-down, landmark-move-up):
1279 Fix 2007-10-20 change - preserve horizontal position.
1280
1281 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1282
1283 Fix completion retrieval parsing (bug#17209).
1284 * progmodes/python.el (python-mode):
1285 (python-util-strip-string): New function.
1286 (python-shell-completion-get-completions): Use it.
1287
1288 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1289
1290 * skeleton.el (skeleton-insert): Fix last change.
1291
1292 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1293
1294 Enhancements for outline integration (bug#17796).
1295 * progmodes/python.el (python-mode): Properly set
1296 outline-heading-end-regexp so that comments after colons for
1297 defuns are supported.
1298
1299 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1300
1301 * skeleton.el (skeleton-insert): Doc fix.
1302
1303 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1306 (smie-config-guess): Use smie-config-local so the rules are obeyed
1307 (bug#17818).
1308
1309 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1310 since it's already done inside the loop (bug#17819).
1311
1312 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1313
1314 * mouse.el (mouse-drag-line): Re-remove code initially removed
1315 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1316 (Bug#17819).
1317
1318 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1321 align with the surrounding parent (bug#17721).
1322
1323 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1324
1325 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1326 locally to nil.
1327 (texinfo-insert-block, texinfo-insert-@end)
1328 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1329 local setting of skeleton-end-newline by adding an explicit \n to
1330 the skeletons where appropriate. (Bug#17801)
1331
1332 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1335 (smie-indent--hanging-p): Use it.
1336 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1337
1338 2014-06-20 Leo Liu <sdl.web@gmail.com>
1339
1340 * simple.el (read-quoted-char): Don't let help chars pop up help
1341 buffer. (Bug#16617)
1342
1343 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1346 for | (bug#17621).
1347
1348 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1351 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1352 burping.
1353
1354 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1355
1356 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1357 and later. (Bug#17790)
1358
1359 2014-06-18 Juri Linkov <juri@jurta.org>
1360
1361 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1362 to `soft'. (Bug#17554)
1363
1364 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1367 (bug#17737).
1368
1369 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1370
1371 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1372 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1373
1374 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1375
1376 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1377 `unread-command-events'.
1378
1379 2014-06-14 Glenn Morris <rgm@gnu.org>
1380
1381 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1382 Replace delete-duplicates and mapcan by cl- versions throughout.
1383 And cl-macroexpand-all by macroexpand-all.
1384 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1385
1386 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1387
1388 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1389
1390 2014-06-14 Juri Linkov <juri@jurta.org>
1391
1392 * bindings.el: Put `ascii-character' property on keypad keys
1393 mapped to characters. (Bug#17759)
1394
1395 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1398 bumping forward into a closing paren (bug#17761).
1399
1400 * term/xterm.el (xterm--version-handler): Work around for OSX
1401 Terminal.app (bug#17607).
1402
1403 2014-06-08 Glenn Morris <rgm@gnu.org>
1404
1405 * startup.el (initial-buffer-choice): Doc fix.
1406 Reset :version (adding an option does not merit a :version bump).
1407
1408 * bookmark.el (bookmark-load):
1409 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1410
1411 2014-06-06 Juri Linkov <juri@jurta.org>
1412
1413 * desktop.el: Activate auto-saving on window configuration changes.
1414 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1415 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1416 (desktop-auto-save-set-timer): Change REPEAT arg of
1417 `run-with-idle-timer' from t to nil.
1418 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1419
1420 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1421
1422 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1423 vc-hg-command (bug#17570).
1424
1425 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1428 (bug#17702).
1429
1430 2014-06-06 Glenn Morris <rgm@gnu.org>
1431
1432 * startup.el (window-setup-hook): Doc fix.
1433
1434 2014-06-05 Glenn Morris <rgm@gnu.org>
1435
1436 * emacs-lisp/package.el (package-check-signature)
1437 (package-unsigned-archives): Doc fixes.
1438
1439 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1440
1441 * window.el (display-buffer-use-some-window): Don't make window
1442 used smaller than it was before (Bug#17671).
1443
1444 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1445
1446 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1447 'redisplay' instead of '(sit-for 0)'.
1448
1449 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1452 regexp. (Bug#17653)
1453
1454 2014-06-03 Glenn Morris <rgm@gnu.org>
1455
1456 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1457
1458 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1459
1460 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1461
1462 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1463
1464 * simple.el (keyboard-quit): Force update of mode lines, to remove
1465 the "Def" indicator, if we were defining a macro. (Bug#17615)
1466
1467 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * minibuffer.el (minibuffer-force-complete-and-exit):
1470 Obey minibuffer-default (bug#17545).
1471
1472 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1473 (bug#17619).
1474
1475 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * subr.el (set-transient-map): Don't wait for some "nested"
1478 transient-map to finish if we're only supposed to be active for
1479 the next command (bug#17642).
1480
1481 2014-05-31 Leo Liu <sdl.web@gmail.com>
1482
1483 * emacs-lisp/gv.el (window-buffer, window-display-table)
1484 (window-dedicated-p, window-hscroll, window-point, window-start):
1485 Fix gv-expander. (Bug#17630)
1486
1487 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1490 clicks (bug#17633).
1491
1492 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1493 for the single comma, since ", " is *very* common in normal French text
1494 (bug#17643).
1495
1496 2014-05-30 Glenn Morris <rgm@gnu.org>
1497
1498 * emacs-lisp/package.el (package-check-signature)
1499 (package-unsigned-archives): Fix :version.
1500
1501 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1502
1503 * subr.el (sit-for): Don't run input-methods (bug#15614).
1504
1505 2014-05-28 Glenn Morris <rgm@gnu.org>
1506
1507 * cus-start.el: Fix some :version numbers.
1508
1509 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * simple.el (deactivate-mark): Set mark-active to nil even if
1512 deactivation is done via setting transient-mark-mode to nil,
1513 since one is buffer-local and the other is global.
1514
1515 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1516 there can't be more than 2 arguments (bug#17584).
1517
1518 2014-05-27 Glenn Morris <rgm@gnu.org>
1519
1520 * simple.el (filter-buffer-substring-functions)
1521 (filter-buffer-substring-function, buffer-substring-filters)
1522 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1523
1524 * minibuffer.el (completion-in-region-functions, completion-in-region)
1525 (completion--in-region): Doc fixes.
1526
1527 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1528 (expand-abbrev, abbrev--default-expand): Doc fixes.
1529
1530 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1531
1532 Include sources used to create macuvs.h.
1533 * international/README: Refer to the Unicode Terms of Use rather
1534 than copying it bodily here, as that simplifies maintenance.
1535
1536 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1537
1538 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1539
1540 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1541
1542 * window.el (window--dump-frame): Remove interactive
1543 specification.
1544
1545 2014-05-23 Glenn Morris <rgm@gnu.org>
1546
1547 * hippie-exp.el (he-line-search-regexp):
1548 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1549
1550 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1551
1552 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1553 to avoid errors when trying to create or visit a file foo.todo
1554 located outside to todo-directory, and to allow having such files
1555 without them being tied to Todo mode (bug#17482).
1556 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1557 (todo-archive-done-item, todo-find-filtered-items-file)
1558 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1559 (todo-category-completions, todo-read-category): When visiting a
1560 Todo file, make sure we're in the right mode and the buffer local
1561 variables are set.
1562 (todo-make-categories-list, todo-reset-nondiary-marker)
1563 (todo-reset-done-string, todo-reset-comment-string):
1564 After processing all Todo files, kill the buffers of those files that
1565 weren't being visited before the processing.
1566 (todo-display-as-todo-file, todo-add-to-buffer-list)
1567 (todo-visit-files-commands): Comment out.
1568 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1569 (auto-mode-alist): Remove add-to-list calls making Todo file
1570 extensions unrestrictedly tied to Todo modes.
1571
1572 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1575 (advice-function-member-p): Tell it to check both names and functions
1576 (bug#17531).
1577 (advice--add-function): Adjust call accordingly.
1578
1579 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1580
1581 * calendar/todo-mode.el: Miscellaneous bug fixes.
1582 (todo-delete-file): When deleting an archive but not its todo
1583 file, make sure to update the todo file's category sexp.
1584 (todo-move-category): Keep the moved category's name unless the
1585 file moved to already has a category with that name. If the
1586 numerically last category of the source file was moved, make the
1587 first category current to avoid selecting a nonexisting category.
1588 (todo-merge-category): Fix implementation to make merging to a
1589 category in another file work as documented. Eliminate now
1590 insufficient and unnecessary renaming of archive category, correct
1591 document string accordingly, and clarify it. If the numerically
1592 last category of the source file was merged, make the first
1593 category current to avoid selecting a nonexisting category.
1594 (todo-archive-done-item): When there are marked items and point
1595 happens to be on an unmarked item, ignore the latter. Don't leave
1596 point below last item after archiving marked items.
1597 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1598 from an archive with only one category deletes the archive only
1599 when the category is empty after unarchiving. Make sure the todo
1600 file's category sexp is updated.
1601 (todo-read-file-name): Allow an existing file name even when it is
1602 not required (todo-move-category needs this to work as documented).
1603 (todo-add-file): Call todo-validate-name to reject the name of an
1604 existing todo file (needed due to fix in todo-read-file-name).
1605 (todo-reset-nondiary-marker): Also reset in filtered items files.
1606 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1607 regexp filtered items files.
1608 (todo-reset-highlight-item): Also reset in filtered items files.
1609 Fix incorrect variable reference in document string.
1610
1611 2014-05-22 Glenn Morris <rgm@gnu.org>
1612
1613 * window.el (window--dump-frame): Avoid error in --without-x builds.
1614
1615 2014-05-21 Glenn Morris <rgm@gnu.org>
1616
1617 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1618
1619 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1620
1621 * frame.el (set-frame-font): Doc fix.
1622
1623 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1624
1625 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1626
1627 * emacs-lisp/package.el (package--download-one-archive):
1628 Use `write-region' instead of `save-buffer' to avoid running various
1629 hooks. (Bug#17155)
1630 (describe-package-1): Same. Insert newline at the end of the
1631 buffer if appropriate.
1632
1633 2014-05-20 Juri Linkov <juri@jurta.org>
1634
1635 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1636 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1637 Add more modifiers: meta, control, shift, hyper, super, alt.
1638 (Bug#17439)
1639
1640 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1641 to allow changing its value with `set-variable'.
1642
1643 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1646 #; comments.
1647 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1648 New functions.
1649 (scheme-mode-variables): Set syntax-propertize-function instead of
1650 font-lock-syntactic-face-function.
1651 (scheme-font-lock-syntactic-face-function): Delete.
1652
1653 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1654
1655 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1658 (bug#17392).
1659
1660 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1663 for a temporary file name.
1664
1665 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1666
1667 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1668
1669 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1670
1671 * net/dbus.el (dbus-init-bus, dbus-call-method)
1672 (dbus-call-method-asynchronously, dbus-send-signal)
1673 (dbus-method-return-internal, dbus-method-error-internal):
1674 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1675
1676 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1677
1678 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1679 methods which do not have a doc string. (Bug#17490)
1680
1681 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1682 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1685 suffix (bug#15419).
1686
1687 2014-05-14 Glenn Morris <rgm@gnu.org>
1688
1689 * vc/emerge.el (emerge-temp-file-prefix):
1690 Make pointless option obsolete.
1691 (emerge-temp-file-mode): Make non-functional option obsolete.
1692
1693 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1694
1695 * net/browse-url.el (browse-url):
1696 Use `unhandled-file-name-directory' when setting `default-directory',
1697 in order to circumvent stalled remote connections. (Bug#17425)
1698
1699 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1702 into autoloading just because of a silly indirection.
1703
1704 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1705
1706 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1707
1708 2014-05-11 Glenn Morris <rgm@gnu.org>
1709
1710 * emacs-lisp/find-gc.el: Move to ../admin.
1711
1712 2014-05-10 Glenn Morris <rgm@gnu.org>
1713
1714 * printing.el (pr-version):
1715 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1716
1717 * net/browse-url.el (browse-url-mosaic):
1718 Create /tmp/Mosaic.PID as a private file.
1719
1720 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1723 (advice--member-p): If name is given, only compare the name.
1724 (advice--remove-function): Don't stop at the first match.
1725 (advice--normalize-place): New function.
1726 (add-function, remove-function): Use it.
1727 (advice--add-function): Pass the name, if any, to
1728 advice--remove-function.
1729
1730 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1731
1732 * electric.el (electric-indent-post-self-insert-function): Don't use
1733 `pos' after modifying the buffer (bug#17449).
1734
1735 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * subr.el (function-put): Add function.
1738
1739 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1740
1741 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1742 Correct argument list to conform to todo-insert-item--basic.
1743
1744 2014-05-09 Glenn Morris <rgm@gnu.org>
1745
1746 * files.el (cd-absolute): Test if directory is accessible
1747 rather than executable. (Bug#17330)
1748
1749 * progmodes/compile.el (recompile):
1750 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1751
1752 2014-05-08 Juri Linkov <juri@jurta.org>
1753
1754 * dired.el (dired-check-switches, dired-switches-recursive-p):
1755 New functions. (Bug#17218)
1756 (dired-switches-escape-p, dired-move-to-end-of-filename):
1757 Use `dired-check-switches'.
1758 (dired-insert-old-subdirs, dired-build-subdir-alist)
1759 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1760
1761 2014-05-08 Glenn Morris <rgm@gnu.org>
1762
1763 * net/browse-url.el (browse-url-mosaic):
1764 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1765 This is CVE-2014-3423.
1766
1767 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1770 (xterm-mouse--read-event-sequence-1000): Return nil if something
1771 looks fishy.
1772 (xterm-mouse-event): Propagate it.
1773 (xterm-mouse-translate-1): Handle it.
1774
1775 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1776
1777 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1778 four slots of the parameter list are filled, make sure to pass it
1779 to the argument list of todo-insert-item--basic.
1780
1781 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1784 Add optional `seen' argument to detect and break infinite loops.
1785
1786 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1787
1788 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1789 (trace-unsafe, trace-use-tree): Make parentheses style be
1790 according to Emacs style.
1791
1792 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1793
1794 * net/tramp-sh.el (tramp-remote-process-environment):
1795 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1796 Add :version entry.
1797 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1798 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1799 extra "PSx=..." commands.
1800 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1801 (Bug#17295)
1802
1803 (tramp-uudecode): Replace the hard-coded temporary file name by a
1804 format specifier.
1805 (tramp-remote-coding-commands): Enhance docstring.
1806 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1807 name. (Bug#17415)
1808 This is CVE-2014-3424.
1809
1810 2014-05-06 Glenn Morris <rgm@gnu.org>
1811
1812 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1813 (find-gc-source-files): Update some names.
1814 (trace-call-tree): Simplify and update.
1815 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1816 This is CVE-2014-3422.
1817
1818 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * minibuffer.el (completion--try-word-completion): Revert fix for
1821 Bug#15980 (bug#17375).
1822
1823 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1824 Always store button numbers in the same way in xterm-mouse-last;
1825 Don't burp is xterm-mouse-last is not set as expected.
1826 Never return negative indices.
1827
1828 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1829
1830 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1831 Backtrack one char if the global/char-literal var matcher hits
1832 inside a string. The next char could be the beginning of an
1833 expression expansion.
1834
1835 2014-05-05 Glenn Morris <rgm@gnu.org>
1836
1837 * help-fns.el (describe-function-1): Test for an autoload before a
1838 macro, since `macrop' works on autoloads. (Bug#17410)
1839
1840 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1843
1844 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1845 Make sure the new point we return is within the new string (bug#17239).
1846
1847 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1848
1849 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1850
1851 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1854 Use nil rather than `default' for the "default" appearance (bug#17388).
1855 * vc/ediff-util.el (ediff-inferior-compare-regions)
1856 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1857 a misleading `default' value when it's really a boolean.
1858 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1859 overlay is not visible.
1860
1861 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1862
1863 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1864 (todo-menu): Uncomment and update.
1865
1866 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1867
1868 * calendar/todo-mode.el: Reimplement item editing to have the same
1869 basic user interface as item insertion, and make small UI and
1870 larger internal improvements to the latter.
1871 (todo-insert-item): Add reference to the Todo mode user manual to
1872 the documentation string.
1873 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1874 adjust all callers. Change signature to combine diary and
1875 nonmarking arguments. Incorporate functionality of deleted item
1876 copying command and add error checking. Remove detailed
1877 descriptions of the arguments from the documentation string, since
1878 this is treated in the Todo mode user manual.
1879 (todo-copy-item, todo-edit-multiline-item)
1880 (todo-edit-done-item-comment, todo-edit-item-header)
1881 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1882 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1883 (todo-edit-item-date-year, todo-edit-item-date-month)
1884 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1885 Remove.
1886 (todo-edit-item): Reimplement as wrapper command for
1887 todo-edit-item--next-key and make it distinguish done and not done
1888 todo items.
1889 (todo-edit-item--text): New function, replacing old command
1890 todo-edit-item and incorporating deleted commands
1891 todo-edit-multiline-item and todo-edit-done-item-comment.
1892 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1893 Use only numeric value of prefix argument. Remove detailed
1894 descriptions of the arguments from the documentation string, since
1895 this is treated in the Todo mode user manual.
1896 (todo-edit-item--diary-inclusion): New function, replacing old
1897 command todo-edit-item-diary-inclusion and incorporating and fixing
1898 functionality of deleted command todo-edit-item-diary-nonmarking,
1899 making sure to remove todo-nondiary-marker when adding
1900 diary-nonmarking-symbol.
1901 (todo-edit-category-diary-inclusion): Make sure to delete
1902 diary-nonmarking-symbol when adding todo-nondiary-marker.
1903 (todo-edit-category-diary-nonmarking): Fix indentation.
1904 (todo-insert-item--parameters): Group diary and nonmarking
1905 parameters together.
1906 (todo-insert-item--apply-args): Adjust to signature of
1907 todo-insert-item--basic and incorporate copy parameter.
1908 Make small code improvements.
1909 (todo-insert-item--next-param): Improve prompt and adjust it to
1910 new parameter grouping. Remove obsolete code.
1911 (todo-edit-item--param-key-alist)
1912 (todo-edit-item--date-param-key-alist)
1913 (todo-edit-done-item--param-key-alist): New defconsts.
1914 (todo-edit-item--prompt): New variable.
1915 (todo-edit-item--next-key): New function.
1916 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1917 Remove bindings of deleted commands.
1918
1919 2014-05-02 Leo Liu <sdl.web@gmail.com>
1920
1921 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1922
1923 2014-05-01 Glenn Morris <rgm@gnu.org>
1924
1925 * allout-widgets.el (allout-widgets-tally)
1926 (allout-decorate-item-guides):
1927 * menu-bar.el (menu-bar-positive-p):
1928 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1929 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1930 * progmodes/js.el (js--inside-param-list-p)
1931 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1932 * progmodes/prolog.el (region-exists-p):
1933 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1934 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1935 Doc fixes (replace `iff').
1936
1937 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1940
1941 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1942
1943 * dired.el (dired-initial-position-hook, dired-initial-position):
1944 Doc string fixes.
1945
1946 2014-04-29 Glenn Morris <rgm@gnu.org>
1947
1948 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1949
1950 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1951
1952 * faces.el (face-spec-recalc): Apply X resources only after the
1953 defface spec has been applied. Thus, X resources are no longer
1954 overridden by the defface spec which also fixes issues on win32 where
1955 the toolbar coloring was wrong because it is set through X resources
1956 and was (wrongfully) overridden. (Bug#16694)
1957
1958 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * textmodes/rst.el (electric-pair-pairs): Declare.
1961 (rst-mode): Set it (bug#17131).
1962
1963 2014-04-27 Juri Linkov <juri@jurta.org>
1964
1965 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1966 and `print-level' to nil. (Bug#17351)
1967
1968 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1969
1970 * battery.el (battery-update): Handle the case where battery
1971 status is "N/A" (bug#17319).
1972
1973 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1974
1975 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1976 Use equal-including-properties to compare help-echo strings (bug#17331).
1977
1978 2014-04-24 Leo Liu <sdl.web@gmail.com>
1979
1980 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1981 Fix syntax for @. (Bug#17325)
1982
1983 2014-04-24 Daniel Colascione <dancol@dancol.org>
1984
1985 * emacs-lisp/cl.el (gv): Require gv early to break eager
1986 macro-expansion cycles.
1987
1988 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * simple.el (region-active-p): Check there's a mark (bug#17324).
1991
1992 * simple.el (completion-list-mode-map): Use choose-completion for the
1993 mouse binding as well (bug#17302).
1994 (completion-list-mode, completion-setup-function): Adjust docstring and
1995 echo area message accordingly.
1996 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1997 calling convention of choose-completion.
1998 * comint.el (comint-dynamic-list-completions):
1999 * term.el (term-dynamic-list-completions): Accept choose-completion.
2000
2001 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2002 &, |, +, - and * can't be a division (bug#17317).
2003
2004 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2007 features on gnome-terminal (bug#16988).
2008
2009 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2010
2011 * dired.el (dired-insert-set-properties): Do not consider
2012 subdirectory headings and empty lines to be information that
2013 `dired-hide-details-mode' should hide. (Bug#17228)
2014
2015 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2016
2017 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2018 Remove test messages.
2019 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2020 and `target' twice.
2021
2022 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2025 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2026
2027 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2028
2029 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2030
2031 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2032 Set "IFS=" when using read builtin, in order to preserve spaces in
2033 the file name. Add test messages for hunting a bug on hydra.
2034 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2035
2036 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2039 Don't prettify a word within a symbol.
2040
2041 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2042
2043 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2044 possible.
2045
2046 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2049 assignments such as "case=hello" (bug#17297).
2050
2051 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2052
2053 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2054 Do not autoload.
2055 (tramp-file-name-handler, tramp-completion-file-name-handler):
2056 Revert patch from 2014-04-10, it isn't necessary anymore.
2057 (tramp-autoload-file-name-handler)
2058 (tramp-register-autoload-file-name-handlers): New defuns.
2059 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2060 (tramp-register-file-name-handlers): Remove also
2061 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2062 Do not autoload its invocation, but eval it after loading of 'tramp.
2063
2064 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2065
2066 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2067
2068 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2069
2070 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2071 was done (bug#17264).
2072 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2073 comment to EOB.
2074
2075 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2076 here-documents (bug#17262).
2077
2078 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2079
2080 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2081 Provide doc strings, as required by snarf-documentation.
2082
2083 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2084
2085 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2086 arg of overlays-at. Use `invisible-p'.
2087
2088 * obsolete/lucid.el (extent-at):
2089 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2090 overlays-at.
2091 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2092
2093 2014-04-14 João Távora <joaotavora@gmail.com>
2094
2095 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2096 links. (Bug#17217).
2097
2098 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2099
2100 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2101 Use mapc to loop over a vector. (Bug#17257).
2102
2103 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2104
2105 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2106 patch, there are new problems with file names containing spaces.
2107 Get rid of backticks. (Bug#17238)
2108
2109 2014-04-13 João Távora <joaotavora@gmail.com>
2110
2111 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2112 possible bug.
2113
2114 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2115
2116 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2117 (blink-cursor-mode): Mention customization variables and the
2118 effect of 'blink-cursor-blinks'.
2119
2120 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2121
2122 * simple.el (undo): Prevent insertion of identity mapping into
2123 undo-equiv-table so as undo-only does not inf loop in the presence
2124 of consecutive nils in undo list.
2125
2126 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2127
2128 * faces.el (make-face): Deprecate optional argument as it is no
2129 longer needed/used since the conditional X resources handling
2130 has been pushed down to make-face-x-resource-internal itself.
2131 (make-empty-face): Don't pass optional argument to make-face.
2132
2133 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2134
2135 * international/characters.el <standard-case-table>: Add entries
2136 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2137 Set category of Coptic characters be 'g' (Greek).
2138
2139 2014-04-12 Leo Liu <sdl.web@gmail.com>
2140
2141 * progmodes/octave.el (completion-table-with-cache): Define if not
2142 available.
2143 (octave-goto-function-definition)
2144 (octave-sync-function-file-names)
2145 (octave-find-definition-default-filename): Backquote upattern for
2146 compatibility.
2147
2148 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2149
2150 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2151 name twice due to backticks. (Bug#17238)
2152
2153 2014-04-11 Glenn Morris <rgm@gnu.org>
2154
2155 * term/w32-win.el (x-win-suspend-error):
2156 * term/x-win.el (x-win-suspend-error): Sync docs.
2157
2158 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 Ediff's overlay priorities cause more trouble than they solve.
2161 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2162 (ediff-highest-priority): Remove function (bug#17234).
2163 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2164 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2165 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2166 overlay priorities.
2167
2168 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2169
2170 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2171 entry; use symbol boundaries to avoid mis-matches.
2172
2173 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2174
2175 * net/tramp.el (tramp-file-name-handler)
2176 (tramp-completion-file-name-handler): Avoid recursive loading.
2177
2178 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2179 Quote result also locally.
2180
2181 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2182
2183 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2184 Module methods. (Bug#17216)
2185
2186 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2189 (describe-bindings-internal): Mark obsolete.
2190
2191 2014-04-07 João Távora <joaotavora@gmail.com>
2192
2193 * elec-pair.el:
2194 (electric-pair--syntax-ppss): When inside comments parse from
2195 comment beginning.
2196 (electric-pair--balance-info): Fix typo in comment.
2197 (electric-pair--in-unterminated-string-p): Delete.
2198 (electric-pair--unbalanced-strings-p): New function.
2199 (electric-pair-string-bound-function): New var.
2200 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2201 according to `electric-pair--in-unterminated-string-p'
2202
2203 2014-04-07 João Távora <joaotavora@gmail.com>
2204
2205 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2206 Inhibit quote pairing if point-max is inside an unterminated string.
2207 (electric-pair--looking-at-unterminated-string-p): Delete.
2208 (electric-pair--in-unterminated-string-p): New function.
2209
2210 2014-04-07 Glenn Morris <rgm@gnu.org>
2211
2212 * shell.el (shell-directory-tracker):
2213 Go back to just ignoring failures. (Bug#17159)
2214
2215 2014-04-06 João Távora <joaotavora@gmail.com>
2216
2217 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2218 backspace. (bug#16981)
2219 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2220 (electric-pair-backward-delete-char-untabify): Delete.
2221 (electric-pair-mode-map): Bind backspace to a menu item filtering
2222 a new `electric-pair-delete-pair' command.
2223 (electric-pair-delete-pair): New command.
2224
2225 2014-04-06 João Távora <joaotavora@gmail.com>
2226
2227 * progmodes/python.el (python-electric-pair-string-delimiter):
2228 Fix triple-quoting electricity. (Bug#17192)
2229
2230 2014-04-06 João Távora <joaotavora@gmail.com>
2231
2232 * elec-pair.el (electric-pair-post-self-insert-function):
2233 Don't skip whitespace when `electric-pair-text-pairs' and
2234 `electric-pair-pairs' were used. syntax to
2235 electric-pair--skip-whitespace. (Bug#17183)
2236
2237 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2238
2239 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2240 "<F>". (Bug#17199)
2241
2242 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2245 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2246
2247 2014-04-05 Glenn Morris <rgm@gnu.org>
2248
2249 * help.el (view-lossage): Doc tweak.
2250
2251 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2252
2253 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2254 only when inhibit-x-resources is nil, and do that earlier in the
2255 function. Doc fix. (Bug#16694)
2256 (face-spec-choose): Accept additional optional argument, whose
2257 value is returned if no matching attributes are found.
2258 (face-spec-recalc): Use the new optional argument when calling
2259 face-spec-choose. (Bug#16378)
2260 (make-face-x-resource-internal): Do nothing when
2261 inhibit-x-resources is non-nil. Don't touch the default face if
2262 reversed video is given--as was done in previous versions of Emacs.
2263 (face-set-after-frame-default): Don't call
2264 make-face-x-resource-internal here. (Bug#16434)
2265
2266 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2267
2268 * doc-view.el (doc-view-bookmark-jump):
2269 Use `bookmark-after-jump-hook' to jump to the right page after the
2270 buffer is shown in a window. (bug#16090)
2271
2272 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2273
2274 * international/characters.el (mirroring): Fix last change:
2275 instead of loading uni-mirrored.el explicitly, do that implicitly
2276 by creating the 'mirroring' uniprop table. This avoids announcing
2277 the loading of uni-mirrored.el.
2278
2279 2014-04-04 Glenn Morris <rgm@gnu.org>
2280
2281 * files.el (buffer-stale--default-function)
2282 (buffer-stale-function, revert-buffer--default):
2283 * autorevert.el (auto-revert-buffers): Doc tweaks.
2284
2285 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2286
2287 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2288
2289 2014-04-03 Glenn Morris <rgm@gnu.org>
2290
2291 * files.el (make-backup-file-name-function)
2292 (make-backup-file-name, make-backup-file-name--default-function)
2293 (make-backup-file-name-1, find-backup-file-name)
2294 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2295 (buffer-stale--default-function, buffer-stale-function)
2296 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2297 (revert-buffer, revert-buffer--default)
2298 (revert-buffer-insert-file-contents--default-function):
2299 Doc fixes related to defaults no longer being nil.
2300 (make-backup-file-name-function): Bump :version.
2301 Restore nil as a valid but deprecated custom type.
2302
2303 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2306 used as a variable (bug#17174).
2307
2308 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2309
2310 * progmodes/perl-mode.el (perl-indent-new-calculate):
2311 Handle forward-sexp failure (bug#16985).
2312 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2313 modifiers introducing expressions (bug#17116).
2314
2315 2014-04-02 Glenn Morris <rgm@gnu.org>
2316
2317 * menu-bar.el (menu-bar-file-menu):
2318 * vc/ediff.el (ediff-current-file):
2319 Update for revert-buffer-function no longer being nil by default.
2320
2321 * simple.el (command-execute): Respect nil disabled-command-function.
2322
2323 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2324
2325 * simple.el (command-execute): Do not execute the command when it
2326 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2327
2328 2014-03-29 Juri Linkov <juri@jurta.org>
2329
2330 * dired-aux.el (dired-compress-file): Don't use string-match-p
2331 because its match data is used afterwards.
2332
2333 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2336 0 like nil.
2337
2338 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2339
2340 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2341 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2342
2343 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2344 Don't propertize `?' or `!' as symbol constituent when after
2345 colon. (Bug#17097)
2346
2347 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2348
2349 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2350 which is no longer needed and causes trouble in GTK builds (bug#17046).
2351
2352 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2353 Use url-insert-file-contents; package-handle-response no longer exists.
2354
2355 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2356
2357 * emacs-lisp/package.el: Fix bug#16733 (again).
2358 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2359 (url-http-target-url): Remove unused declarations.
2360 (package-handle-response): Remove.
2361 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2362 (package--download-one-archive): Use current-buffer instead of
2363 dynamic binding of `buffer'.
2364 (describe-package-1): Do not decode readme-string.
2365
2366 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2367
2368 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2369
2370 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2371
2372 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2373
2374 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2375 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2376 `remote-file-name-inhibit-cache' to nil in the second pass.
2377 (tramp-find-executable): Do not call "which" on SunOS.
2378 (tramp-send-command-and-check): Fix docstring.
2379 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2380 check whether source directory has set the sticky bit.
2381
2382 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2383
2384 * simple.el (primitive-undo): Only process marker adjustments
2385 validated against their corresponding (TEXT . POS). Issue warning
2386 for lone marker adjustments in undo history. (Bug#16818)
2387 (undo-make-selective-list): Add marker adjustments to selective
2388 undo list based on whether their corresponding (TEXT . POS) is in
2389 the region. Remove variable adjusted-markers, which was unused
2390 and only non nil during undo-make-selective-list.
2391 (undo-elt-in-region): Return nil when passed a marker adjustment
2392 and explain in function doc.
2393
2394 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2395
2396 * emacs-lisp/package.el (package--add-to-archive-contents):
2397 Include already installed and built-in packages in
2398 `package-archive-contents'.
2399 (package-install): Don't include already installed packages in the
2400 options during interactive invocation. (Bug#16762)
2401
2402 2014-03-24 Daniel Colascione <dancol@dancol.org>
2403
2404 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2405 instead of cl-loop search function.
2406
2407 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2408
2409 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2410
2411 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2412
2413 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2414
2415 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2416
2417 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2418 Match special global variables without curlies, too.
2419 (ruby-font-lock-keywords): Simplify the matcher for special global
2420 variables. Don't require a non-word character after the variable.
2421 (Bug#17057)
2422
2423 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * simple.el (redisplay-highlight-region-function): Increase priority of
2426 overlay to make sure boundaries are visible (bug#15899).
2427
2428 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2429
2430 * frameset.el (frameset-restore): Compare display strings with equal.
2431
2432 * frame.el (make-frame): Don't quote display name in error message,
2433 it is already a string.
2434
2435 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2436
2437 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2438 the password.
2439
2440 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2441
2442 * emacs-lisp/package.el (package-show-package-list): If the buffer
2443 is already displayed in another window, switch to that window.
2444
2445 2014-03-21 Daniel Colascione <dancol@dancol.org>
2446
2447 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2448 information in bug reports.
2449
2450 2014-03-23 Daniel Colascione <dancol@dancol.org>
2451
2452 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2453 list to look for keyword arguments instead of `memq', fixing
2454 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2455 Please make bootstrap.
2456
2457 2014-03-23 Richard Stallman <rms@gnu.org>
2458
2459 * battery.el (battery-linux-sysfs): Search for each field
2460 from the beginning of the buffer.
2461
2462 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2463
2464 * emacs-lisp/package.el (package-desc): Use the contents of the
2465 quoted form, not its cdr. (Bug#16873)
2466
2467 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2468
2469 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2470 benefit of doc.c; change parameter profile to match the X function.
2471
2472 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2473
2474 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2475 and `tramp-copy-env'.
2476
2477 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2478 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2479
2480 2014-03-21 Glenn Morris <rgm@gnu.org>
2481
2482 * electric.el (electric-indent-post-self-insert-function): Add doc.
2483
2484 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2485
2486 * emacs-lisp/package.el (package-compute-transaction):
2487 Use `version-list-<=' to compare the requirement version against
2488 the version of package already to be installed. Update the error
2489 message. (Bug#16826)
2490
2491 * progmodes/ruby-mode.el (ruby-smie-rules):
2492 Add indentation rule for ` @ '. (Bug#17050)
2493
2494 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2495
2496 * align.el (align-regexp): Remove superfluous backslash.
2497
2498 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2499 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2500 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2501 Fix docstring typos.
2502 (ffap-next): Use C-u in docstring.
2503 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2504 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2505 Remove superfluous backslashes.
2506 (ffap-string-at-point): Reflow docstring.
2507
2508 * server.el (server-host): Reflow docstring.
2509 (server-unload-function): Fix docstring typo.
2510 (server-eval-at): Remove superfluous backslash.
2511
2512 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2513 (skeleton-insert): Doc fix.
2514 (skeleton-insert): Reflow docstring.
2515
2516 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2517 (tty-color-approximate, tty-color-by-index, tty-color-values)
2518 (tty-color-desc): Remove superfluous backslashes.
2519
2520 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * electric.el (electric-newline-and-maybe-indent): New command.
2523 Bind it globally to C-j.
2524 (electric-indent-mode): Don't mess with the global map any more.
2525 Don't drop the post-self-insert-hook is some buffer is still using it
2526 (bug#16770).
2527
2528 * bindings.el (global-map): Remove C-j binding.
2529
2530 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2531 the docstring of functions advised before dumping (bug#16993).
2532
2533 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2534
2535 * ps-print.el (ps-generate-postscript-with-faces):
2536 Explicitly deactivate the mark (bug#16866).
2537 * simple.el (deactivate-mark): Update region highlight.
2538
2539 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2540
2541 * emacs-lisp/package.el (describe-package-1):
2542 Decode commentary (bug#16733).
2543
2544 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2545
2546 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2547 modification of the value argument of :set (bug#16755).
2548
2549 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * simple.el (newline-and-indent): Do autofill (bug#17031).
2552
2553 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2554
2555 * newcomment.el (comment-normalize-vars): Only add escaping check
2556 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2557 (comment-beginning): Use `narrow-to-region' instead of moving back
2558 one character.
2559 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2560 (comment-start-skip): Update the docstring.
2561
2562 2014-03-18 Richard Stallman <rms@gnu.org>
2563
2564 * dired.el (dired-display-file): Force use of other window.
2565
2566 2014-03-18 Daniel Colascione <dancol@dancol.org>
2567
2568 * startup.el (tty-handle-args): Remove debug message from 2007.
2569
2570 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2573 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2574 (advice--make-1, advice-add, advice-remove):
2575 Remove braindead :advice-pending hack.
2576
2577 2014-03-17 Glenn Morris <rgm@gnu.org>
2578
2579 * calendar/calendar.el (calendar-generate-month): Apply weekend
2580 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2581
2582 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2583
2584 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2585 (tramp-call-process): Trace also DESTINATION.
2586
2587 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2588 Quote file names when they are local. Remove superfluous trace.
2589
2590 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2591
2592 * newcomment.el (comment-beginning): If `comment-start-skip'
2593 doesn't match, move back one char and try again. (Bug#16971)
2594
2595 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2596 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2597 Set `comment-start-skip' to a simpler value that doesn't try to
2598 check if the semicolon is escaped (this is handled by
2599 `syntax-ppss' now). (Bug#16971)
2600
2601 * progmodes/scheme.el (scheme-mode-variables): Same.
2602
2603 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2604
2605 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2606 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2607 current (Bug#16816, Bug#17007).
2608 (with-current-buffer-window): New macro doing the same as
2609 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2610 * help.el (help-print-return-message): Warn in doc-string to not
2611 use this in `with-help-window'.
2612 (describe-bindings-internal): Call `describe-buffer-bindings'
2613 from within help buffer. See Juanma's scenario in (Bug#16816).
2614 (with-help-window): Update doc-string.
2615 * dired.el (dired-mark-pop-up):
2616 * files.el (save-buffers-kill-emacs):
2617 * register.el (register-preview): Use `with-current-buffer-window'
2618 instead of `with-temp-buffer-window'.
2619
2620 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2621
2622 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2623 Implement inserting into current buffer, documented in their docstrings.
2624 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2625 (rst-section-tree-point, rst-forward-section, rst-indent)
2626 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2627 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2628 (rst-font-lock-handle-adornment-pre-match-form)
2629 (rst-repeat-last-character): Reflow docstrings.
2630 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2631 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2632 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2633 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2634 Fix docstring typos.
2635 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2636 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2637 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2638
2639 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2640
2641 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2642 for compatibility with other ports.
2643 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2644 from the -xrm command line argument, but in the Nextstep port its value
2645 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2646
2647 * progmodes/python.el (defconst, python-syntax-count-quotes)
2648 (python-indent-region, python-indent-shift-right)
2649 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2650 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2651 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2652 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2653 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2654 (python-shell-buffer-substring, python-shell-send-buffer)
2655 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2656 (python-completion-complete-at-point, python-fill-docstring-style)
2657 (python-eldoc-function, python-imenu-format-item-label)
2658 (python-imenu-format-parent-item-label)
2659 (python-imenu-format-parent-item-jump-label)
2660 (python-imenu--build-tree, python-imenu-create-index)
2661 (python-imenu-create-flat-index): Fix docstring typos.
2662 (python-indent-context, python-shell-prompt-regexp, run-python):
2663 Remove superfluous backslashes.
2664 (python-indent-line, python-nav-beginning-of-defun)
2665 (python-shell-get-buffer, python-shell-get-process)
2666 (python-info-current-defun, python-info-current-line-comment-p)
2667 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2668 (python-indent-post-self-insert-function, python-shell-send-file)
2669 (python-shell-completion-get-completions)
2670 (python-shell-completion-complete-or-indent)
2671 (python-eldoc--get-doc-at-point): Reflow docstrings.
2672
2673 2014-03-14 Glenn Morris <rgm@gnu.org>
2674
2675 * emacs-lisp/package.el (package-menu-mode-map):
2676 Replace use of obsolete function alias. Tweak menu item text.
2677
2678 * info.el (Info-finder-find-node):
2679 Ignore the `emacs' metapackage. (Bug#10813)
2680
2681 * finder.el (finder-list-matches): Include unversioned packages
2682 in the result of a keyword search.
2683
2684 * finder.el (finder--builtins-descriptions): New constant.
2685 (finder-compile-keywords): Use finder--builtins-descriptions.
2686
2687 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2688
2689 * simple.el (blink-matching-paren): Describe the new value,
2690 `jump', enabling the old behavior.
2691 (blink-matching-open): Use that value. (Bug#17008)
2692
2693 2014-03-14 Glenn Morris <rgm@gnu.org>
2694
2695 * finder.el (finder-no-scan-regexp): Add leim-list.
2696 (finder-compile-keywords):
2697 Don't skip files with same basename. (Bug#14010)
2698 * Makefile.in (setwins_finder): New, excluding leim.
2699 (finder-data): Use setwins_finder.
2700
2701 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2702 (help-function-arglist, help-make-usage): Move from here...
2703 * help.el (help-split-fundoc, help-add-fundoc-usage)
2704 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2705 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2706
2707 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2708
2709 * net/socks.el (socks, socks-override-functions)
2710 (socks-find-services-entry):
2711 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2712 (hif-find-ifdef-block):
2713 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2714
2715 * net/tls.el (tls-program): Reflow docstring.
2716
2717 * progmodes/pascal.el (pascal-mode-abbrev-table)
2718 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2719 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2720 (pascal-outline-mode): Fix docstring typos.
2721 (pascal-mode): Let define-derived-mode document mode hook.
2722 (pascal-uncomment-area): Reflow.
2723 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2724
2725 * progmodes/opascal.el (opascal-compound-block-indent)
2726 (opascal-case-label-indent): Fix docstring typos.
2727 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2728
2729 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2730
2731 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2732 Fontify multiple adjacent negation chars. (Bug#17004)
2733
2734 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2735
2736 * emacs-lisp/package.el (package--prepare-dependencies):
2737 Accept requirements without explicit version (bug#14941).
2738
2739 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2740
2741 * register.el (register-separator, copy-to-register): Doc fixes.
2742 (register-preview-default): Remove unnecessary call to concat.
2743
2744 * frameset.el (frameset-restore): When checking for a visible frame,
2745 use the action map instead of calling visible-frame-list.
2746
2747 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2748
2749 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2750
2751 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2752
2753 * window.el (fit-frame-to-buffer): Get maximum width from
2754 display's width instead of height.
2755
2756 2014-03-12 Glenn Morris <rgm@gnu.org>
2757
2758 * desktop.el (desktop-restore-frames)
2759 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2760 (desktop-restore-reuses-frames): Doc tweaks.
2761
2762 * electric.el (electric-indent-mode): Doc fix.
2763
2764 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2765
2766 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2767 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2768 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2769 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2770 (cvs-dired-use-hook): Fix docstring typos.
2771 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2772 Doc fixes.
2773
2774 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2775 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2776 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2777 (cvs-execute-single-dir): Fix docstring typos.
2778
2779 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2780 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2781
2782 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2783
2784 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2785 Fix docstring typos.
2786
2787 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2788
2789 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2790 called from jump-to-register after unloading the frameset package.
2791
2792 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2795 (bug#16975). Deactivate the mark before setting it to nil.
2796 (activate-mark): Do nothing if region is already active.
2797
2798 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2799
2800 * frameset.el (frameset--target-display): Remove definition; declare.
2801 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2802
2803 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2804
2805 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2806 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2807 when the advice is pending.
2808 (advice-remove): Remove this marker when not needed any more.
2809
2810 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2811
2812 * frameset.el: Separate options for reusing frames and cleaning up.
2813 (frameset--reuse-list): Remove definition; declare.
2814 (frameset--action-map): Declare.
2815 (frameset--find-frame-if): Doc fix.
2816 (frameset--restore-frame): Cache frame action.
2817 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2818 how to clean up the frame list after restoring. Remove cleaning
2819 options from REUSE-FRAMES. Change all keyword values to symbols.
2820 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2821
2822 * desktop.el (desktop-restore-forces-onscreen)
2823 (desktop-restore-reuses-frames): Use non-keyword values.
2824 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2825
2826 2014-03-10 Glenn Morris <rgm@gnu.org>
2827
2828 * files.el (find-file): Doc fix: update info node name.
2829
2830 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2831 Doc fix: remove references to deleted info nodes.
2832
2833 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2836 Do not add `nil' to the environment, when there's no remote `locale'.
2837 (tramp-find-inline-encoding): Check, that the remote host has
2838 installed perl, before sending scripts.
2839
2840 2014-03-10 Leo Liu <sdl.web@gmail.com>
2841
2842 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2843 Clear eldoc-last-message. (Bug#16920)
2844
2845 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2846
2847 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2848 (bug#14430).
2849
2850 2014-03-09 Juri Linkov <juri@jurta.org>
2851
2852 * ansi-color.el (ansi-color-names-vector): Copy default colors
2853 from `xterm-standard-colors' that look well on the default white
2854 background (and also on the black background) to avoid illegible
2855 color combinations like yellow-on-white and white-on-white.
2856 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2857
2858 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2859
2860 * frameset.el (frameset-restore): When no frame is visible, do not
2861 generate a list of frames, just make visible the selected one.
2862
2863 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2864
2865 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2866 it only contains the repository root. (Bug#16897)
2867
2868 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2869
2870 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2871 only when `remote-file-name-inhibit-cache' is nil.
2872 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2873
2874 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2875
2876 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2877 Fix doc-strings.
2878 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2879 fit-frame-to-buffer variable. Fix doc-string.
2880 (fit-window-to-buffer): Set ONLY argument in call of
2881 fit-frame-to-buffer. Fix doc-string.
2882
2883 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2884
2885 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2886 (tramp-action-password): Clear password cache if needed.
2887 (tramp-read-passwd): Do not clear password cache.
2888
2889 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2890 cache unless it is the first password request.
2891
2892 2014-03-06 Glenn Morris <rgm@gnu.org>
2893
2894 * simple.el (newline): Doc tweak.
2895
2896 * emacs-lisp/shadow.el (load-path-shadows-find):
2897 Ignore dir-locals. (Bug#12357)
2898
2899 2014-03-05 Glenn Morris <rgm@gnu.org>
2900
2901 * files.el (interpreter-mode-alist):
2902 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2903
2904 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2905
2906 * frameset.el (frameset--initial-params): Filter out null entries.
2907
2908 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2909
2910 * window.el (window-min-height, window-min-width):
2911 Rewrite doc-strings.
2912 (window-body-size): Add PIXELWISE argument to make it consistent
2913 with its callees.
2914
2915 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2916
2917 * finder.el (finder-mode-map, finder-mode-syntax-table):
2918 Revert part of 2014-02-28 change.
2919
2920 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2921
2922 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2923 (eww-setup-buffer): Clear next/prev/etc more reliably.
2924 (eww-textarea-map): [tab] doesn't work on tty.
2925 Reported by Mario Lang.
2926
2927 * net/shr.el (shr-map): Ditto.
2928
2929 2014-03-04 Glenn Morris <rgm@gnu.org>
2930
2931 * minibuffer.el (completion-hilit-commonality):
2932 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2933
2934 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2935
2936 * hilit-chg.el (hilit-chg-unload-function): New function.
2937 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2938 (hilit-chg-map-changes): Prefer cardinal number to digit.
2939 (hilit-chg-display-changes): Reflow docstring.
2940 (highlight-changes-rotate-faces): Remove superfluous backslash.
2941
2942 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2943
2944 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2945 `tramp-send-command-and-check'.
2946
2947 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2948
2949 * hexl.el (hexl-address-region, hexl-ascii-region)
2950 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2951 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2952 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2953 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2954 (hexl-mode): Doc fix.
2955 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2956 (hexl-mode-ruler): Fix typos in docstrings.
2957
2958 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2959 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2960 Remove superfluous backslashes.
2961 (strokes-last-stroke, strokes-global-map, strokes-mode):
2962 Reflow docstrings.
2963 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2964 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2965 (strokes-distance-squared, strokes-global-set-stroke)
2966 (strokes-global-set-stroke-string): Doc fixes.
2967 (strokes-help): Fix typos; reflow docstring.
2968
2969 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2970
2971 * window.el (window-in-direction): Fix doc-string.
2972
2973 2014-03-04 Glenn Morris <rgm@gnu.org>
2974
2975 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2976 Explicit error if no grammar.
2977 (smie-config-save): Doc fix. Fix quote typo.
2978
2979 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2980
2981 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2982 electric-indent-mode-hook if we obey electric-indent-mode.
2983 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2984 decide whether we obey electric-indent-mode.
2985 (c-change-set-fl-decl-start, c-extend-after-change-region):
2986 Silence warnings.
2987 (c-electric-indent-mode-hook): Assume we do want to obey
2988 electric-indent-mode.
2989
2990 * electric.el (electric-indent-mode-has-been-called): Remove.
2991 (electric-indent-mode): Fix accordingly.
2992
2993 * files.el (hack-local-variables): Mention file name in warning.
2994
2995 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2996
2997 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2998
2999 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3000 * simple.el (delete-forward-char): Mark as interactive-only.
3001
3002 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3003
3004 * icomplete.el (icomplete-completions):
3005 Follow-up to 2014-03-01 change.
3006
3007 * icomplete.el: Miscellaneous doc fixes.
3008 Use Icomplete everywhere instead of icomplete for consistency.
3009 (icomplete-max-delay-chars): Fix typo.
3010 (icomplete-mode): Use \[].
3011 (icomplete-tidy, icomplete-exhibit): Reflow.
3012 (icomplete-minibuffer-setup-hook, icomplete-completions):
3013 Remove superfluous backlashes.
3014
3015 * ido.el: Miscellaneous doc fixes.
3016 Use Ido everywhere instead of ido or `ido' for consistency.
3017 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3018 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3019 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3020 (ido-separator): Extract obsolescence info from docstring and declare
3021 with make-obsolete-variable.
3022 (ido-minibuffer-setup-hook): Simplify example.
3023 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3024 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3025 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3026 (ido-everywhere): Reflow docstring.
3027 (ido-toggle-vc): Doc fix.
3028 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3029 of long list of keybindings.
3030
3031 2014-03-03 Glenn Morris <rgm@gnu.org>
3032
3033 * frame.el (display-pixel-height, display-pixel-width)
3034 (display-mm-dimensions-alist, display-mm-height)
3035 (display-mm-width): Doc tweaks.
3036
3037 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3038
3039 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3040 case of undo in region.
3041
3042 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3043
3044 * window.el (fit-window-to-buffer): Fix argument in window-size
3045 call when window is horizontally combined.
3046
3047 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3048
3049 * icomplete.el (icomplete-completions): Use string-width.
3050 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3051
3052 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3053
3054 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3055 Highlight regexp options. (Bug#16914)
3056
3057 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3058
3059 * window.el (window--max-delta-1): Round down when calculating
3060 how many lines/columns we can get from a window.
3061
3062 2014-03-01 Glenn Morris <rgm@gnu.org>
3063
3064 * isearch.el (search-invisible): Doc fix.
3065
3066 * minibuffer.el (completion-hilit-commonality):
3067 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3068 * comint.el (comint-dynamic-list-completions): Doc fix.
3069 * comint.el (comint-dynamic-list-completions):
3070 * filecache.el (file-cache-minibuffer-complete):
3071 * tempo.el (tempo-display-completions):
3072 * eshell/em-hist.el (eshell-list-history):
3073 Replace use of obsolete argument of display-completion-list.
3074
3075 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * icomplete.el (icomplete-completions):
3078 Revert back to using "..." when ?… cannot be displayed.
3079
3080 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3081
3082 * finder.el (finder-unload-function): New function.
3083
3084 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3085
3086 * dframe.el (dframe-detach):
3087 * find-dired.el (find-dired, find-name-dired):
3088 * finder.el (finder-mode-map, finder-mode-syntax-table)
3089 (finder-headmark, finder-select, finder-mouse-select):
3090 Fix docstring typos.
3091
3092 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3093
3094 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3095 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3096 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3097 Fix doc-string based on a suggestion by Nicolas Richard
3098 <theonewiththeevillook@yahoo.fr>.
3099 * help.el (with-help-window): Fix doc-string.
3100
3101 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3102
3103 * net/shr.el (shr-image-animate): New option.
3104 (shr-put-image): Respect shr-image-animate.
3105
3106 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp-adb.el (tramp-adb-parse-device-names):
3109 Use `accept-process-output'.
3110 (tramp-adb-handle-file-truename): Cache the localname only.
3111 (tramp-adb-handle-make-directory)
3112 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3113 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3114 modes cannot be changed.
3115
3116 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3117 file properties of symlinks.
3118
3119 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3120
3121 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3122 required/optional fields to match development biblatex. (Bug#16781)
3123
3124 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3125
3126 * saveplace.el (toggle-save-place):
3127 Fix argument handling. (Bug#16673)
3128
3129 2014-02-28 Glenn Morris <rgm@gnu.org>
3130
3131 * minibuffer.el (completions-first-difference)
3132 (completions-common-part, completion-hilit-commonality): Doc fixes.
3133
3134 2014-02-28 Karl Berry <karl@gnu.org>
3135
3136 * info.el (Info-mode-map): Add H for describe-mode,
3137 to synchronize with standalone Info.
3138
3139 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3140
3141 * progmodes/sql.el (sql-interactive-mode):
3142 Avoid setting global comint-input-ring-separator. (Bug#16814)
3143
3144 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3145
3146 * net/dbus.el (dbus--init-bus): Declare function.
3147 (dbus-path-local, dbus-interface-local): New defconst.
3148 (dbus-init-bus): Use them.
3149 (dbus-return-values-table): Extend doc.
3150 (dbus-handle-bus-disconnect): Extend error message.
3151
3152 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3153
3154 * subr.el (y-or-n-p): Fix double space issue in message.
3155
3156 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3157
3158 * net/tramp.el (tramp-call-process): Improve trace message.
3159 (tramp-handle-insert-file-contents): Trace error case.
3160
3161 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3162 <insert-directory>: Use `tramp-handle-insert-directory'.
3163 (tramp-adb-handle-insert-directory): Remove function.
3164 (tramp-adb-send-command-and-check): New defun, replacing
3165 `tramp-adb-command-exit-status'. Change all callees.
3166 (tramp-adb-handle-file-attributes)
3167 (tramp-adb-handle-directory-files-and-attributes): Use it.
3168 (tramp-adb-ls-output-name-less-p):
3169 Use `directory-listing-before-filename-regexp'.
3170 (tramp-adb-handle-delete-directory): Flush also file properties of
3171 the truename of directory.
3172 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3173 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3174 (tramp-adb-handle-write-region): Implement APPEND.
3175 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3176 properties correctly.
3177 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3178 variables. Check for connected devices only when needed.
3179
3180 2014-02-27 Glenn Morris <rgm@gnu.org>
3181
3182 * minibuffer.el (completion-table-dynamic)
3183 (completion-table-with-cache): Doc fixes.
3184
3185 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3186 (completing-read-multiple): Doc fixes.
3187
3188 2014-02-27 Daniel Colascione <dancol@dancol.org>
3189
3190 * minibuffer.el (completion--nth-completion): Fix indentation.
3191
3192 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3193 explicit tramp path is empty.
3194
3195 2014-02-27 Glenn Morris <rgm@gnu.org>
3196
3197 * emacs-lisp/crm.el (completing-read-multiple):
3198 Empower help-enable-auto-load.
3199
3200 2014-02-26 Glenn Morris <rgm@gnu.org>
3201
3202 * startup.el (command-line): Don't init the tty in daemon mode.
3203
3204 Avoid calling tty-setup-hook twice, eg if a term file
3205 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3206 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3207 (tty-create-frame-with-faces): Use it.
3208 * startup.el (command-line): Pass run-hook argument
3209 to tty-run-terminal-initialization.
3210
3211 * dired.el (dired-restore-desktop-buffer): Demote errors;
3212 eg in case a glob match fails. (Bug#16884)
3213
3214 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3215
3216 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3217 error from `read-from-string'. (Bug#16850)
3218
3219 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3220 result of `completing-read' in the interactive form. (Bug#16854)
3221
3222 2014-02-25 Glenn Morris <rgm@gnu.org>
3223
3224 * image.el (image-animate, image-animate-timeout):
3225 Stop animating images in dead buffers. (Bug#16878)
3226
3227 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3228
3229 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3230 Doc fixes.
3231 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3232 * term/sun.el (sun-raw-prefix-hooks):
3233 Use tty-setup-hook instead of term-setup-hook.
3234 (terminal-init-sun): Construct message from bytecomp plist.
3235 * term/wyse50.el (enable-arrow-keys): Doc fix.
3236
3237 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3238
3239 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3240 Fix docstring typos.
3241
3242 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3243
3244 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3245
3246 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3247
3248 * minibuffer.el (completion--try-word-completion):
3249 Fix error when completing M-x commands (bug#16808).
3250
3251 2014-02-24 Leo Liu <sdl.web@gmail.com>
3252
3253 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3254
3255 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3256
3257 * apropos.el (apropos-print): Avoid formatting error when
3258 apropos-do-all and apropos-compact-layout are both t.
3259
3260 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3261
3262 * apropos.el (apropos-property, apropos-all-words-regexp)
3263 (apropos-true-hit, apropos-variable, apropos-print):
3264 Fix docstring typos, and remove obsolete comment.
3265
3266 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3267
3268 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3269 Preserve trailing "/". (Bug#16851)
3270
3271 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3272
3273 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3274 after `=>' (bug#16811).
3275 (ruby-smie-rules): Handle the inconsistent second element of the
3276 list returned by `smie-indent--parent'.
3277 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3278 method call.
3279
3280 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3281
3282 * elec-pair.el (electric-pair-text-syntax-table)
3283 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3284 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3285 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3286 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3287
3288 2014-02-22 Glenn Morris <rgm@gnu.org>
3289
3290 * imenu.el (imenu--generic-function): Doc fix.
3291
3292 * register.el (frame-configuration-to-register): Make obsolete.
3293
3294 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3295
3296 * desktop.el (desktop-save-buffer-p): Do not fail when
3297 desktop-files-not-to-save is nil. Return t for true result
3298 as the doc says.
3299
3300 2014-02-22 Daniel Colascione <dancol@dancol.org>
3301
3302 * net/secrets.el (secrets-create-item, secrets-search-items):
3303 Check that attribute values are strings, avoiding the construction
3304 of invalid dbus messages.
3305
3306 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3307
3308 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3309 defun-declarations-alist.
3310
3311 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3312
3313 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3314 (bug#16829).
3315
3316 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3317
3318 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3319 (whitespace-newline, whitespace-trailing, whitespace-line)
3320 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3321 (whitespace-space-after-tab): Fix typo in docstrings.
3322
3323 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3324
3325 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3326
3327 * electric.el (electric-indent-functions-without-reindent):
3328 Add `yaml-indent-line'.
3329
3330 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3331
3332 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3333 It has done nothing for years; should be removed after the release.
3334
3335 * simple.el (choose-completion): Fix docstring typo.
3336 (read-quoted-char-radix): Remove unneeded * in docstring.
3337 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3338 Don't escape parentheses unnecessarily in docstrings.
3339
3340 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3341
3342 Fix handling of window-min-height/-width (Bug#16738).
3343 * window.el (window--dump-window, window--dump-frame):
3344 New functions.
3345 (window--min-size-1): Account for window dividers.
3346 When window-resize-pixelwise is nil, delay rounding till after the
3347 sum of the window components has been calculated.
3348 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3349 nil make sure at least one text line and two text columns remain
3350 fully visible.
3351 (window-resize): Signal an error when window-resize-apply fails.
3352 (window--resize-child-windows): Fix calculation of by how many
3353 pixels a window can still be shrunk via window-new-normal.
3354 (adjust-window-trailing-edge): Call window--resizable with
3355 correct TRAIL argument.
3356
3357 (with-temp-buffer-window): Don't evaluate BODY within
3358 with-current-buffer (Bug#16816).
3359
3360 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3361
3362 * net/tramp.el (tramp-check-cached-permissions):
3363 Call `file-attributes' with `suffix' being a symbol but a string.
3364
3365 2014-02-21 Daniel Colascione <dancol@dancol.org>
3366
3367 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3368 (dbus-init-bus): New function: call into dbus-init-bus-1
3369 and installs a handler for the disconnect signal.
3370 (dbus-call-method): Rewrite to look for result in cons.
3371 (dbus-call-method-handler): Store result in cons.
3372 (dbus-check-event): Recognize events with nil sender as valid.
3373 (dbus-handle-bus-disconnect): New function. React to bus
3374 disconnection signal by synthesizing dbus error for each
3375 pending synchronous or asynchronous call.
3376 (dbus-notice-synchronous-call-errors): New function.
3377 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3378 is true, not all the time.
3379
3380 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3381
3382 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3383 Remove obsolescence declarations, these variables do not exist anymore.
3384
3385 * savehist.el (savehist-save-minibuffer-history)
3386 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3387 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3388 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3389 mostly, refer to "Savehist mode" when talking about the mode,
3390 and not the function.
3391
3392 * saveplace.el (save-place): Remove redundant info in docstring.
3393 (save-place-forget-unreadable-files, toggle-save-place)
3394 (save-place-forget-unreadable-files, save-place-dired-hook):
3395 Fix typos and remove unneeded backslashes.
3396
3397 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3398
3399 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3400 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3401
3402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3403 <insert-directory>: Use `tramp-handle-insert-directory'.
3404 (tramp-gvfs-handle-insert-directory): Remove function.
3405
3406 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3407 Call `tramp-handle-insert-directory'.
3408
3409 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3410
3411 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3412 before the start of buffer/region (bug#16799).
3413
3414 2014-02-20 Glenn Morris <rgm@gnu.org>
3415
3416 * isearch.el (search-invisible): Doc fix.
3417
3418 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3419
3420 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3421 (bug#16657).
3422
3423 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3424
3425 * frameset.el (frameset-restore): Delay removing an old frame's
3426 duplicate id until the new frame has been correctly created.
3427
3428 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3429
3430 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3431 (tramp-check-cached-permissions): Call `file-attributes' if the
3432 cache is empty.
3433
3434 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3435 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3436
3437 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3438 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3439 (tramp-gvfs-maybe-open-connection): Set always connection
3440 properties, even if target is mounted already.
3441
3442 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3443 Set tramp-autoload cookie.
3444 (tramp-get-remote-touch): New defun.
3445 (tramp-sh-handle-set-file-times): Use it.
3446 (tramp-sh-handle-directory-files-and-attributes):
3447 Use `tramp-handle-directory-files-and-attributes' if neither stat
3448 nor perl are available on the remote host.
3449
3450 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3451 "/". Write long listing only when "l" belongs to the switches.
3452
3453 * net/trampver.el: Update release number.
3454
3455 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3456
3457 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3458
3459 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3460
3461 * window.el (window-state-put): Allow WINDOW to refer to an
3462 internal window (Bug#16793).
3463
3464 2014-02-19 Glenn Morris <rgm@gnu.org>
3465
3466 * textmodes/remember.el: Move provide statement to end.
3467 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3468 (remember-notes): Doc fixes.
3469
3470 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3471
3472 * delsel.el (delete-char): Restore incorrectly erased property
3473 (bug#16795).
3474
3475 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3476
3477 * frameset.el (frameset--restore-frame): When a frame is being reused
3478 and its root window is not alive, delete all the frame's windows before
3479 restoring the window state. This works around the issue in bug#16793.
3480
3481 2014-02-18 Glenn Morris <rgm@gnu.org>
3482
3483 * textmodes/remember.el (remember-data-directory)
3484 (remember-directory-file-name-format, remember-store-in-files)
3485 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3486 (remember-notes-save-and-bury-buffer)
3487 (remember-notes--kill-buffer-query): Doc fixes.
3488
3489 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3490
3491 2014-02-17 Alan Mackenzie <acm@muc.de>
3492
3493 Connect electric-indent-mode up with CC Mode. Bug #15478.
3494 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3495 to electric-indent-{,local-}-mode.
3496 (c-basic-common-init): Set electric-indent-inhibit.
3497 Initialise c-electric-flag from electric-indent-mode.
3498 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3499 New hook functions which propagate electric-indent-mode to CC mode.
3500
3501 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3502 hit, toggle electric-indent-local-mode.
3503
3504 * electric.el (electric-indent-mode-has-been-called):
3505 New variable.
3506
3507 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * frameset.el (frameset-cfg-id): New function.
3510 (frameset--reuse-frame, frameset-restore): Use it.
3511 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3512
3513 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * ido.el (ido-file-internal): Remove unused var `d'.
3516 Use \` for to match BoS. Fit within 80n columns.
3517
3518 2014-02-17 Daniel Colascione <dancol@dancol.org>
3519
3520 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3521 dbus-call-method check for completion using a busy-wait loop with
3522 gradual backoff.
3523
3524 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3525
3526 Sync with Tramp 2.2.9.
3527
3528 * net/trampver.el: Update release number.
3529
3530 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3531
3532 * ido.el (ido-file-internal): Don't add the name of an existing
3533 directory twice. (Bug#16747)
3534
3535 2014-02-16 Glenn Morris <rgm@gnu.org>
3536
3537 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3538 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3539
3540 2014-02-15 Michael R. Mauger <michael@mauger.com>
3541
3542 * progmodes/sql.el: Version 3.4
3543 (sql-oracle-options): New default value ("-L").
3544 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3545 (sql-placeholders-filter): Correct placeholder pattern.
3546 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3547 (sql-login-delay): New variable.
3548 (sql-product-interactive): Use it.
3549
3550 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3551
3552 * frameset.el (frameset--jump-to-register): Check that buffer is live
3553 (bug#16749).
3554
3555 2014-02-15 Glenn Morris <rgm@gnu.org>
3556
3557 * info.el (info-initialize): Revert 2014-01-10 change.
3558
3559 2014-02-14 Glenn Morris <rgm@gnu.org>
3560
3561 * replace.el (map-query-replace-regexp)
3562 (read-regexp-defaults-function, read-regexp): Doc fixes.
3563
3564 * dired.el (dired-read-regexp):
3565 * faces.el (list-faces-display):
3566 * misearch.el (multi-isearch-read-matching-buffers)
3567 (multi-isearch-read-matching-files):
3568 * play/cookie1.el (cookie-apropos):
3569 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3570
3571 * textmodes/remember.el (remember): Use frameset-to-register
3572 rather than frame-configuration-to-register.
3573
3574 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3575
3576 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3577 incorrect keybinding.
3578
3579 2014-02-13 Daniel Colascione <dancol@dancol.org>
3580
3581 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3582 when adding overlays so that line numbers from compiler match line
3583 numbers we use.
3584
3585 2014-02-13 Glenn Morris <rgm@gnu.org>
3586
3587 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3588
3589 * jit-lock.el (jit-lock-mode): Doc fix.
3590
3591 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3592
3593 * apropos.el (apropos-read-pattern): When the user passes an empty
3594 string, give a more helpful error message than "Wrong type
3595 argument: stringp, nil".
3596
3597 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3600
3601 2014-02-13 Glenn Morris <rgm@gnu.org>
3602
3603 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3604
3605 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3608 shift-select commands.
3609
3610 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3611
3612 * progmodes/js.el (js-indent-line): Don't widen.
3613 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3614
3615 2014-02-12 Glenn Morris <rgm@gnu.org>
3616
3617 * icomplete.el (icomplete): Add info-link to defgroup.
3618 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3619 (icomplete-minibuffer-map, icomplete-mode)
3620 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3621
3622 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3623 (package-menu-filter): Rename from package-menu-filter-interactive.
3624 Doc fix.
3625
3626 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3627
3628 * frameset.el (frameset--jump-to-register): Select the required
3629 window and buffer before restoring position (bug#16696).
3630
3631 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3632
3633 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3634
3635 2014-02-10 Glenn Morris <rgm@gnu.org>
3636
3637 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3638
3639 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3640
3641 * w32-common-fns.el (x-get-selection): Doc fix.
3642 * select.el (x-get-selection): Doc fix. (Bug#15109)
3643
3644 * face-remap.el (face-remap-add-relative)
3645 (face-remap-remove-relative, face-remap-reset-base)
3646 (face-remap-set-base): Call force-mode-line-update to redisplay
3647 the current buffer due to potential change in faces. (Bug#16709)
3648
3649 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3650
3651 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3652 script more robustly.
3653
3654 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3655
3656 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3657
3658 * simple.el (choose-completion): Doc fix (bug#14160).
3659
3660 * subr.el (event-start): Say what a nil EVENT value means.
3661
3662 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3663 (bug#14197).
3664
3665 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3666
3667 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3668
3669 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3670
3671 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3672 predicate function (bug#15455).
3673
3674 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3675
3676 * ielm.el (inferior-emacs-lisp-mode): Instead of
3677 `comment-use-global-state', set `comment-use-syntax'.
3678
3679 2014-02-10 Glenn Morris <rgm@gnu.org>
3680
3681 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3682
3683 2014-02-09 Alan Mackenzie <acm@muc.de>
3684
3685 Fix c-invalidate-state-cache on narrowed buffers.
3686 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3687 Widen when setting and clearing the CPP delimiter properties.
3688
3689 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3690
3691 * help.el (describe-bindings): Doc fix (bug#9888).
3692
3693 * files.el (save-buffer): Use ARG as the parameter name for
3694 consistency (bug#10346).
3695 (save-buffer): Clarify the 0 argument (bug#10346).
3696
3697 * cus-edit.el (customize-apropos): Fix error string.
3698 (custom-buffer-create): Doc fix (bug#11122).
3699 (custom-sort-items): Doc fix (bug#11121).
3700
3701 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3702
3703 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3704 (icomplete-simple-completing-p): Mention the previous variable.
3705
3706 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3707 meaning of the parameter (bug#12282).
3708
3709 * files.el (find-file-noselect): Clarify prompt when changing
3710 readedness (bug#13261).
3711 (locate-file): Suffixes aren't returned, so don't say that they
3712 are (bug#12674).
3713 (backup-inhibited): Doc clarification (bug#12525).
3714
3715 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3716 before we actually start to delete things (bug#16331).
3717
3718 * subr.el (event-start): Doc fix (bug#14228).
3719 (event-end): Ditto.
3720
3721 2014-02-09 Glenn Morris <rgm@gnu.org>
3722
3723 * emacs-lisp/warnings.el (lwarn):
3724 Empower help-enable-auto-load. (Bug#15940)
3725
3726 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3727
3728 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3729 (Bug#16690)
3730
3731 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3732
3733 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3734 Insert output at end of buffer. (Bug#16120)
3735
3736 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3737
3738 * simple.el (choose-completion-string-functions): Document new
3739 calling convention (bug#14153).
3740 (execute-extended-command): Clarify doc string (bug#13373).
3741
3742 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3743
3744 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3745 (find-grep-dired): Doc fix (bug#14288).
3746
3747 2014-02-08 Juri Linkov <juri@jurta.org>
3748
3749 * isearch.el (isearch-quote-char): Check character validity
3750 like in `quoted-insert' (bug#16677).
3751
3752 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3753
3754 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3755
3756 * isearch.el (isearch-hide-immediately): Doc clarification
3757 (bug#14723).
3758
3759 * simple.el (line-move): Document utility function used many
3760 places in the Emacs sources (bug#14843).
3761
3762 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3763 (dired-prev-marked-file): Doc fix (bug#14855).
3764 (dired-up-directory): Doc fix (bug#14848).
3765
3766 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3767
3768 * files.el (file-relative-name): Doc fix (bug#15159).
3769
3770 * fringe.el (fringe-styles): Doc fix (bug#15239).
3771
3772 * isearch.el (isearch-filter-predicate): Documentation typo fix
3773 (bug#15474).
3774
3775 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3776
3777 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3778
3779 * replace.el (replace-match-maybe-edit): Doc clarification
3780 (bug#15632).
3781
3782 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3783
3784 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3785
3786 2014-02-08 Glenn Morris <rgm@gnu.org>
3787
3788 * help-fns.el (describe-variable):
3789 Check {file,dir}-local-variables-alist, and buffer-file-name,
3790 in the correct buffer.
3791
3792 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3793
3794 * help-fns.el (describe-variable): Fix the case where
3795 a value is directory-local with no dir-locals file. (Bug#16635)
3796
3797 2014-02-08 Glenn Morris <rgm@gnu.org>
3798
3799 * abbrev.el (edit-abbrevs-mode):
3800 Derive from fundamental-mode. (Bug#16682)
3801
3802 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3803
3804 * simple.el (quoted-insert): Check character validity (bug#16677).
3805
3806 2014-02-07 Juri Linkov <juri@jurta.org>
3807
3808 * desktop.el (desktop-read): Claim the lock when the owner is not
3809 the current process. (Bug#16157)
3810
3811 2014-02-07 Juri Linkov <juri@jurta.org>
3812
3813 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3814 to "\\` ". (Bug#16651)
3815
3816 2014-02-07 Juri Linkov <juri@jurta.org>
3817
3818 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3819 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3820 (desktop-auto-save-cancel-timer): New function with some code from
3821 `desktop-auto-save-set-timer'.
3822 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3823 Instead of setting `desktop-save-mode' to nil, call
3824 `desktop-save-mode' with arg 0. (Bug#16630)
3825
3826 2014-02-07 Glenn Morris <rgm@gnu.org>
3827
3828 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3829 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3830 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3831
3832 * obsolete/iswitchb.el: Move to obsolete/.
3833 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3834 since obsolete/ is not scanned for autoloads.
3835 * emacs-lisp/authors.el (authors-valid-file-names):
3836 Add iswitchb.el.
3837
3838 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3839 Disable now non-functional find-file-hook.
3840
3841 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3842
3843 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3844 instead of ";" in order to avoid additional prompts. Let heredoc
3845 scripts read from tty. (Bug#16582)
3846 (tramp-send-command): No special handling of heredocs, it isn't
3847 necessary anymore.
3848
3849 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3852 with a space (bug#16664). Limit the symbols considered to the ones
3853 that are bound or fbound (bug#16646).
3854
3855 2014-02-06 Glenn Morris <rgm@gnu.org>
3856
3857 * epa.el (epa-mail-aliases): Doc fix.
3858
3859 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3860
3861 * emacs-lisp/lisp.el (lisp-completion-at-point):
3862 Use `completion-table-merge' instead of `completion-table-in-turn'
3863 (bug#16604).
3864
3865 * minibuffer.el (completion-table-merge): New function.
3866
3867 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3868
3869 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3870 (tramp-sh-handle-set-file-acl)
3871 (tramp-sh-handle-start-file-process)
3872 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3873 (tramp-find-executable, tramp-send-command): Use it.
3874
3875 2014-02-05 Glenn Morris <rgm@gnu.org>
3876
3877 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3878
3879 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3880
3881 * progmodes/python.el (python-shell-send-string)
3882 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3883
3884 2014-02-04 Anders Lindgren <andlind@gmail.com>
3885
3886 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3887 the names (bug#16620).
3888
3889 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3890
3891 * faces.el (window-divider): New default value. Rewrite doc-string.
3892 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3893
3894 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3895
3896 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3897 `protected' and `public' can also be called without arguments.
3898
3899 2014-02-03 Glenn Morris <rgm@gnu.org>
3900
3901 * register.el (window-configuration-to-register)
3902 (frame-configuration-to-register): Unadvertise unused argument.
3903 * frameset.el (frameset-to-register): Remove unused argument.
3904
3905 * frameset.el (frameset-to-register):
3906 * kmacro.el (kmacro-to-register):
3907 * register.el (increment-register):
3908 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3909 (calc-append-to-register, calc-prepend-to-register):
3910 * play/gametree.el (gametree-layout-to-register)
3911 (gametree-apply-register-layout):
3912 * textmodes/picture.el (picture-clear-rectangle-to-register)
3913 (picture-yank-rectangle-from-register):
3914 * vc/emerge.el (emerge-combine-versions-register):
3915 Use register-read-with-preview to read registers.
3916
3917 2014-02-03 João Távora <joaotavora@gmail.com>
3918
3919 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3920 when at beginning of (possibly narrowed) buffer.
3921
3922 2014-02-02 Daniel Colascione <dancol@dancol.org>
3923
3924 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3925 Also try to display local help from just before point.
3926
3927 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3928
3929 c-parse-state. Don't "append-lower-brace-pair" in certain
3930 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3931 recognised as a comment.
3932
3933 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3934 as well as normal comment starter.
3935 (c-parse-state-get-strategy): Extra return possibility
3936 'back-and-forward.
3937 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3938 return value list to indicate replacement of a brace-pair cons
3939 with its car.
3940 (c-parse-state-1): With 'back-and-forward, only call
3941 c-append-lower-brace-pair-to state-cache when cons-separated.
3942
3943 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3944
3945 * term/ns-win.el (ns-suspend-error): New function.
3946 (ns-initialize-window-system): Add ns-suspend-error to
3947 suspend-hook (Bug#16612).
3948
3949 2014-02-02 Daniel Colascione <dancol@dancol.org>
3950
3951 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3952 Make loading cc-mode silent.
3953
3954 2014-02-02 Daniel Colascione <dancol@dancol.org>
3955
3956 * comint.el (comint-prompt-read-only): Change doc to suggest
3957 remap keybinding.
3958
3959 2014-02-02 Glenn Morris <rgm@gnu.org>
3960
3961 * register.el (register-read-with-preview, point-to-register)
3962 (window-configuration-to-register, frame-configuration-to-register)
3963 (jump-to-register, number-to-register, view-register, insert-register)
3964 (copy-to-register, append-to-register, prepend-to-register)
3965 (copy-rectangle-to-register): Doc fixes.
3966
3967 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3970 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3971 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3972 * help-fns.el (describe-function-1): Use it.
3973
3974 2014-02-02 Glenn Morris <rgm@gnu.org>
3975
3976 * register.el (register-preview-default): New function,
3977 split from register-preview.
3978 (register-preview-function): Rename from register-preview-functions,
3979 make it not a hook.
3980 (register-preview): Use register-preview-function.
3981 (register-read-with-preview): Error on non-character event. (Bug#16595)
3982
3983 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3984
3985 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3986 `:' before binary operators (bug#16609). Don't check for `:'
3987 before `[' and `(', or their syntax status. A percent literal
3988 can't end with either.
3989 (ruby-font-lock-keywords): For built-ins that require arguments,
3990 check that they're followed by something that looks like argument
3991 (bug#16610).
3992
3993 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3994
3995 * subr.el (butlast): Document what an omitted N means (bug#13437).
3996 (nbutlast): Ditto.
3997
3998 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3999
4000 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4001 depth shallower (bug#16587).
4002 (shr-tag-svg): Respect `shr-inhibit-images'.
4003 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4004
4005 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4006
4007 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4008 (ruby-smie-grammar): Make "." right-associative. Make its priority
4009 lower than the ternary and all binary operators.
4010 (ruby-smie-rules): Indent "(" relative to the first non-"."
4011 parent, or the first "." parent at indentation.
4012 Use `ruby-align-chained-calls' for indentation of "." tokens.
4013 (Bug#16593)
4014
4015 2014-01-31 Juri Linkov <juri@jurta.org>
4016
4017 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4018 from `make-hash-table'.
4019
4020 * textmodes/ispell.el (ispell-init-process): Change message format
4021 to be consistent with other messages.
4022
4023 2014-01-31 Glenn Morris <rgm@gnu.org>
4024
4025 * delsel.el (delete-selection-mode): Doc fix.
4026
4027 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4028 (trace-function-background): Doc fixes.
4029
4030 * ido.el (ido-use-virtual-buffers): Doc fix.
4031 Reset :version, since the default value has not changed.
4032
4033 * register.el (register-preview-delay, register-read-with-preview):
4034 Doc fixes.
4035
4036 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4037 do not mess with mail-buffer position (fixes 2009-11-03 change).
4038 * progmodes/cc-mode.el (c-submit-bug-report):
4039 Check auto-fill-mode is bound. (Bug#16592)
4040
4041 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4042
4043 * startup.el (fancy-splash-image-file): New function,
4044 split from fancy-splash-head.
4045 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4046 so that we are both using the same image. (Bug#16574)
4047
4048 2014-01-30 Glenn Morris <rgm@gnu.org>
4049
4050 * simple.el (eval-expression): Doc fix.
4051
4052 * hexl.el (hexl-mode-hook):
4053 * ielm.el (ielm-mode-hook):
4054 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4055 (lisp-interaction-mode-hook):
4056 * progmodes/cfengine.el (cfengine3-documentation-function):
4057 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4058
4059 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4062 is a symbol (bug#16584).
4063
4064 2014-01-30 Glenn Morris <rgm@gnu.org>
4065
4066 * help.el (help-for-help-internal): Add "P" to text.
4067
4068 2014-01-29 Glenn Morris <rgm@gnu.org>
4069
4070 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4071
4072 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4073
4074 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4075 height constraints.
4076
4077 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4078
4079 * progmodes/hideif.el: Extend to full CPP expression syntax.
4080 (hif-token-alist): Add missing tokens.
4081 (hif-token-regexp): Add support for float/octal/hex immediates.
4082 (hif-string-literal-regexp): New const.
4083 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4084 (hif-exprlist): New function.
4085 (hif-parse-if-exp): Use it.
4086 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4087 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4088 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4089 (hif-logxor, hif-comma): New functions.
4090
4091 2014-01-28 Glenn Morris <rgm@gnu.org>
4092
4093 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4094
4095 * indent.el (tab-stop-list): Doc fix. Add :version.
4096
4097 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4098 (cvs-append-to-ignore): Add compatibility alias.
4099
4100 2014-01-27 Glenn Morris <rgm@gnu.org>
4101
4102 * dired.el (dired-hide-details-mode): Don't autoload it,
4103 since it cannot be used outside Dired buffers anyway.
4104
4105 * emulation/cua-base.el (cua-mode): Doc fix.
4106
4107 * dired.el (dired-hide-details-hide-symlink-targets)
4108 (dired-hide-details-hide-information-lines)
4109 (dired-hide-details-mode): Doc fixes.
4110
4111 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4112 * strokes.el (strokes-file): Doc fix. Bump :version.
4113 (strokes-help): Doc fix.
4114 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4115 * emulation/viper.el (viper): Doc fix for custom group.
4116 (top-level): Remove oh-so-no-longer-relevant text about vip.
4117 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4118
4119 * ido.el (ido-save-directory-list-file):
4120 * saveplace.el (save-place-file):
4121 * calendar/timeclock.el (timeclock-file):
4122 * net/quickurl.el (quickurl-url-file):
4123 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4124 * progmodes/idlwave.el (idlwave-config-directory):
4125 * textmodes/remember.el (remember-data-file):
4126 Bump :version.
4127
4128 2014-01-26 Glenn Morris <rgm@gnu.org>
4129
4130 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4131 Doc fix. Make obsolete.
4132 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4133
4134 * sort.el (delete-duplicate-lines): Doc fix.
4135
4136 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4137
4138 * progmodes/ada-mode.el (ada):
4139 * woman.el (woman): Link to info manual and Commentary section.
4140
4141 * progmodes/flymake.el (flymake):
4142 * nxml/nxml-mode.el (nxml):
4143 * net/eww.el (eww):
4144 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4145 * htmlfontify.el (htmlfontify):
4146 * ses.el (ses):
4147 * epa.el (epa):
4148 * ido.el (ido): Link to info manual.
4149
4150 2014-01-25 Leo Liu <sdl.web@gmail.com>
4151
4152 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4153
4154 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4155
4156 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4157 (bug#16537).
4158
4159 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4160
4161 * net/eww.el (eww-download-callback):
4162 Fix reference to eww-download-directory.
4163
4164 * emacs-lisp/bytecomp.el (byte-compile-file):
4165 Remove unused local variable `file-name'.
4166
4167 2014-01-24 Glenn Morris <rgm@gnu.org>
4168
4169 * woman.el (woman-default-faces, woman-monochrome-faces):
4170 Fix obsolescence specification.
4171
4172 * subr.el (with-demoted-errors): Doc fix.
4173
4174 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4177 (cl--macroexp-fboundp): New function.
4178 (cl--make-type-test): Use it.
4179
4180 2014-01-23 Glenn Morris <rgm@gnu.org>
4181
4182 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4183 * simple.el (eval-expression): Doc fixes.
4184
4185 2014-01-22 Glenn Morris <rgm@gnu.org>
4186
4187 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4188
4189 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * emacs-lisp/package.el: Write files silently.
4192 (package-autoload-ensure-default-file, package--write-file-no-coding)
4193 (package-generate-description-file, package--download-one-archive)
4194 (package-install-from-archive): Tell `write-region' to stay quiet.
4195 (package-menu-mode, package-menu--print-info): Omit the Archive column
4196 if there's only one archive.
4197 (package-all-keywords, package--has-keyword-p): Remove dead code.
4198
4199 2014-01-22 Glenn Morris <rgm@gnu.org>
4200
4201 * version.el (emacs-bzr-version-bzr): Fix typo.
4202
4203 * version.el (emacs-repository-get-version):
4204 Check either .bzr or .git, but not both.
4205 Make the git case actually use the DIR argument, and return nil
4206 rather than the empty string.
4207 Avoid error if .git exists but the git executable is not found.
4208
4209 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4210
4211 Fixes in window size functions around Bug#16430 and Bug#16470.
4212 * window.el (window-total-size, window-size): New argument ROUND.
4213 (window--min-delta-1, window-min-delta, window--max-delta-1):
4214 Be more conservative when calculating the numbers of lines or
4215 columns a window can shrink (Bug#16430).
4216 (fit-window-to-buffer): Simplify code.
4217 * term.el (term-window-width): Call window-body-width again.
4218
4219 2014-01-22 Glenn Morris <rgm@gnu.org>
4220
4221 * image.el (image-format-suffixes): Doc fix.
4222
4223 * international/quail.el (quail-define-package): Doc fix.
4224
4225 * emacs-lisp/authors.el (authors-valid-file-names)
4226 (authors-renamed-files-alist): Additions.
4227
4228 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4229 reverts 2014-01-09 change. (Bug#16422)
4230
4231 * calc/calc-embed.el (thing-at-point-looking-at):
4232 * emacs-lisp/map-ynp.el (x-popup-dialog):
4233 * obsolete/lmenu.el (x-popup-dialog):
4234 * emacs-lisp/package.el (url-recreate-url):
4235 * mail/mailclient.el (clipboard-kill-ring-save):
4236 * subr.el (x-popup-dialog): Update declaration.
4237 * mail/rmail.el (rmail-mime-message-p):
4238 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4239
4240 2014-01-21 Daniel Colascione <dancol@dancol.org>
4241
4242 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4243 Correctly detect when we're inside an arithmetic expansion form
4244 containing nested parenthesis.
4245 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4246 to detect cases where we shouldn't expand "<<" to a heredoc
4247 skeleton.
4248
4249 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4252 (eldoc--message-command-p): New function.
4253 (eldoc-display-message-p): Use it.
4254 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4255 message is not automatically erased for us.
4256 (eldoc-print-current-symbol-info): Erase previous message, if any.
4257
4258 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4259
4260 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4261 specify it's an interactive function.
4262
4263 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4264 Fix regex used for scanning for citation keys which failed for
4265 citations with optional arguments.
4266
4267 2014-01-21 Leo Liu <sdl.web@gmail.com>
4268
4269 * simple.el (read--expression): Don't enable eldoc-mode.
4270
4271 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * simple.el (move-beginning-of-line): Make sure we don't move forward
4274 (bug#16497).
4275
4276 2014-01-20 Juri Linkov <juri@jurta.org>
4277
4278 * saveplace.el (toggle-save-place, save-place-to-alist)
4279 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4280 'dired-mode) before checking for dired-directory. (Bug#16477)
4281
4282 2014-01-20 Juri Linkov <juri@jurta.org>
4283
4284 * indent.el (indent-line-to): Use backward-to-indentation
4285 instead of back-to-indentation. (Bug#16461)
4286
4287 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4288
4289 Revert some of the CANNOT_DUMP fix (Bug#16494).
4290 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4291 but fixing this can wait until after the next release.
4292 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4293
4294 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4295
4296 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4297 Use `password-word-equivalents'.
4298 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4299 to t. (Bug#5664, Bug#13124)
4300
4301 2014-01-19 Alan Mackenzie <acm@muc.de>
4302
4303 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4304 points.
4305 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4306 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4307 * progmodes/cc-mode.el (c-before-change, c-after-change)
4308 (c-font-lock-fontify-region): Bind it here.
4309
4310 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4311
4312 * term.el (term-window-width): Call window-text-width instead of
4313 window-width (Bug#16470).
4314
4315 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4316
4317 * simple.el (password-word-equivalents): Remove duplicates.
4318 Sort, to make this easier next time.
4319 Downcase. Omit ": " after "jelszó".
4320
4321 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4322
4323 * term/common-win.el (saved-region-selection): Defvar it.
4324 (x-select-text): Set saved-region-selection (Bug#16382).
4325
4326 2014-01-18 Glenn Morris <rgm@gnu.org>
4327
4328 * emacs-lisp/authors.el (authors-aliases)
4329 (authors-renamed-files-alist): Add some entries.
4330
4331 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4332
4333 * net/tramp.el (tramp-password-prompt-regexp):
4334 Use `password-word-equivalents' if available.
4335 (tramp-action-password, tramp-process-one-action)
4336 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4337
4338 2014-01-17 Chong Yidong <cyd@gnu.org>
4339
4340 * simple.el (password-word-equivalents): New defcustom.
4341 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4342 to 24.4.
4343 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4344 to t. (Bug#13124)
4345
4346 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4347
4348 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4349 (ruby-align-to-stmt-keywords): Change the default value.
4350 Use `ruby-alignable-keywords' to generate the possible customization
4351 choices.
4352 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4353 keywords, check against the value of `ruby-alignable-keywords'
4354 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4355
4356 2014-01-17 Glenn Morris <rgm@gnu.org>
4357
4358 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4359
4360 Make M-x authors return zero *Authors Errors* from current logs.
4361 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4362 (authors-ignored-files): Add some entries, remove others.
4363 (authors-ambiguous-files, authors-valid-file-names):
4364 Add some entries.
4365 (authors-renamed-files-alist): Add, remove, and adjust entries.
4366 (authors-renamed-files-regexps): Add some entries.
4367 Remove some very broad ones. Make some entries `lax'.
4368 (authors-lax-changelogs): New constant.
4369 (authors-disambiguate-file-name): Treat top-level specially.
4370 (authors-lax-changelog-p): New function.
4371 (authors-canonical-file-name): Check file as written against
4372 authors-valid-file-names. Do not special-case etc/.
4373 Handle `lax' logs and authors-renamed-files-regexps elements.
4374
4375 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4376
4377 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4378 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4379 callers.
4380
4381 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4384 Assume we're already in the proper buffer.
4385 Inspired by Anders Lindgren <andlind@gmail.com>.
4386 (follow-post-command-hook): Call it from the right buffer.
4387 (follow-comint-scroll-to-bottom): Adjust call.
4388 (follow-all-followers): Use get-buffer-window-list.
4389
4390 2014-01-15 Daniel Colascione <dancol@dancol.org>
4391
4392 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4393 `buffer-file-name' in interactive-form so that we don't leave
4394 pathless file names in `file-name-history'.
4395
4396 2014-01-15 Juri Linkov <juri@jurta.org>
4397
4398 * indent.el (indent-rigidly): Set deactivate-mark to nil
4399 in transient indentation mode. (Bug#16438)
4400
4401 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4402
4403 * emacs-lisp/package.el (package-desc-keywords): New function
4404 (Bug#16222).
4405 (describe-package-1, package-all-keywords)
4406 (package--has-keyword-p): Use it.
4407
4408 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4409
4410 * simple.el (define-alternatives): When creating the
4411 COMMAND-alternatives variable, assign COMMAND as its definition
4412 name so that `describe-variable' can relocate it.
4413
4414 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4415
4416 * font-lock.el (font-lock-keywords): Fix typo in docstring
4417 (bug#16307).
4418
4419 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4420
4421 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4422 line instead of wrongly reset `add-coment' (bug#13577).
4423
4424 2014-01-14 Daiki Ueno <ueno@gnu.org>
4425
4426 * epa-file.el (epa-file-write-region): Encode the region according
4427 to `buffer-file-format'. Problem reported at:
4428 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4429
4430 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4433 so it applies in the right buffer (bug#16410).
4434
4435 2014-01-13 Daniel Colascione <dancol@dancol.org>
4436
4437 * textmodes/rst.el (rst-define-key): Provide deprecated
4438 keybindings through named functions instead of anonymous ones so
4439 that "??" doesn't appear in describe-mode output.
4440
4441 2014-01-13 Bastien Guerry <bzg@gnu.org>
4442
4443 * simple.el (define-alternatives): Call the selected command
4444 interactively. When setting `COMMAND--implementation' for the
4445 first time, tell the user how to chose another implementation.
4446 Enhance the docstring.
4447
4448 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4451 (log-edit--match-first-line): New function.
4452 (log-edit-font-lock-keywords): Use it.
4453 (log-edit-mode): Make jit-lock-defer-multiline work.
4454
4455 2014-01-13 Bastien Guerry <bzg@gnu.org>
4456
4457 * rect.el (rectangle-mark-mode): When the region is not active,
4458 display a message saying that the mark as been set and that
4459 rectangle mode is in use.
4460 (rectangle--highlight-for-redisplay): Only put an overlay with a
4461 visible vertical bar when (display-graphic-p) is non-nil.
4462 This partially fixes Bug#16403.
4463
4464 2014-01-13 Juri Linkov <juri@jurta.org>
4465
4466 * info.el (Info-find-file): Go to DIR before displaying the error
4467 about a nonexistent file if no previous Info file is visited.
4468 Use `user-error' instead of `error' for "Info file %s does not exist".
4469 (Info-find-node-2): In case of a nonexistent node in unwind forms
4470 go to the Top node if there is no previous node to revert to.
4471 (Bug#16405)
4472
4473 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4474
4475 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4476 * window.el (fit-frame-to-buffer): Fix doc-string.
4477 Respect window-min-height/-width. Fit pixelwise when
4478 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4479 when avoiding that frame goes partially off-screen.
4480 (fit-window-to-buffer): Respect window-min-height/-width
4481 (Bug#14096).
4482
4483 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4484
4485 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4486 after an empty line.
4487
4488 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * net/shr.el (shr-render-region): Autoload.
4491
4492 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4493
4494 * net/eww.el (eww-download-directory): Rename from
4495 `eww-download-path' (Bug#16419).
4496
4497 2014-01-12 Leo Liu <sdl.web@gmail.com>
4498
4499 * dired-x.el (dired-mode-map): Fix last change.
4500
4501 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4502
4503 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4504
4505 Spelling fixes.
4506 * emacs-lisp/generic.el (generic--normalize-comments):
4507 Rename from generic--normalise-comments. All uses changed.
4508 * play/bubbles.el (bubbles--neighborhood-score)
4509 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4510 (bubbles--neighborhood-available)
4511 (bubbles--update-neighborhood-score):
4512 Rename from names with 'neighbourhood'. All uses changed.
4513
4514 2014-01-12 Leo Liu <sdl.web@gmail.com>
4515
4516 Re-implement the feature of showing eldoc info after editing.
4517 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4518 (eldoc-edit-message-commands): New function.
4519 (eldoc-print-after-edit): New variable.
4520 (eldoc-pre-command-refresh-echo-area): Emit message only by
4521 eldoc-message-commands.
4522 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4523 if eldoc-print-after-edit is set. (Bug#16346)
4524 * simple.el (read--expression): Enable eldoc-mode.
4525 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4526
4527 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4528 Eric S. Raymond <esr@thyrsus.com>
4529
4530 * version.el (emacs-repository-get-version): Enhance so the
4531 function works correctly in either a Bazaar or Git repo.
4532
4533 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4534
4535 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4536 Goes with removal of the joke manpages from /etc.
4537
4538 2014-01-10 Kenichi Handa <handa@gnu.org>
4539
4540 * mail/rmail.el (rmail-get-coding-system):
4541 Check rmail-get-coding-function before "funcall"ing it.
4542
4543 2014-01-10 Glenn Morris <rgm@gnu.org>
4544
4545 * emacs-lisp/authors.el (authors-fixed-entries):
4546 Update for files that no longer exist.
4547
4548 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4549
4550 * version.el (emacs-bzr-get-version): Restore compatibilty with
4551 24.3 (Tested).
4552
4553 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4554
4555 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4556 and Podfile.
4557
4558 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4559
4560 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4561
4562 2014-01-10 Chong Yidong <cyd@gnu.org>
4563
4564 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4565
4566 2014-01-10 Anders Lindgren <andlind@gmail.com>
4567
4568 * follow.el (follow-cache-command-list): Include right-char and
4569 left-char.
4570
4571 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4572
4573 Spelling fixes.
4574 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4575 * woman.el (woman-mark-horizontal-position):
4576 Rename from woman-mark-horizonal-position. Use changed.
4577
4578 2014-01-10 Glenn Morris <rgm@gnu.org>
4579
4580 * info.el (info-initialize): If running uninstalled, ensure our
4581 own info files are always found first, even if INFOPATH is set.
4582
4583 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4584
4585 2014-01-09 David Engster <deng@randomsample.de>
4586
4587 * emacs-lisp/eieio-custom.el:
4588 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4589 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4590 * emacs-lisp/eieio.el: Regenerate autoloads.
4591
4592 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4593
4594 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4595 following renames. (Bug#8756)
4596
4597 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4600 (bug#16382).
4601 (activate-mark): Add `no-tmm' argument.
4602 (set-mark, push-mark-command): Use it instead of running
4603 activate-mark-hook by hand.
4604
4605 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4606
4607 In preparation for the move to git, sanitize out some
4608 Bazaar-specific names.
4609
4610 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4611
4612 * version.el (emacs-bzr-version): Name changed to
4613 emacs-repository-version. Obsolete-variable alias made.
4614 * loadup.el: Follow through on this name change.
4615 * mail/emacsbug.el (report-emacs-bug): Factor out any
4616 assumption about the version control system in use.
4617
4618 2014-01-08 David Engster <deng@randomsample.de>
4619
4620 * help-fns.el (help-fns-describe-function-functions):
4621 New variable to call functions for augmenting help buffers.
4622 (describe-function-1): Remove explicit calls to
4623 `help-fns--compiler-macro', `help-fns--parent-mode' and
4624 `help-fns--obsolete'. Put them in above new variable instead, and
4625 call them through `run-hook-with-args'.
4626 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4627 `eieio-describe-class'. Not meant for interactive use anymore,
4628 but to augment existing help buffers. Remove optional second
4629 argument. Create proper button for file location.
4630 Rewrite function to use `insert' instead of `princ' and `prin1' where
4631 possible.
4632 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4633 (eieio-method-def, eieio-class-def): Move further up.
4634 (describe-method, describe-generic, eieio-describe-method):
4635 Remove aliases.
4636 (eieio-help-constructor, eieio-help-generic): Rename from
4637 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4638 Rewrite to use `insert' in the current buffer and use proper help
4639 buttons.
4640 (eieio-help-find-method-definition)
4641 (eieio-help-find-class-definition): Also accept symbols as
4642 arguments.
4643 (eieio-help-mode-augmentation-maybee): Remove.
4644 (eieio-describe-class-sb): Use `describe-function'.
4645 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4646 Add `eieio-help-generic' and `eieio-help-constructor'.
4647
4648 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4649
4650 Spelling fixes.
4651 * language/china-util.el (hz-ascii-designation):
4652 Rename from hz-ascii-designnation.
4653 (hz-ascii-designation): Rename from hz-ascii-designnation.
4654 All uses changed.
4655
4656 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4659 package-alist.
4660
4661 2014-01-08 Bastien Guerry <bzg@gnu.org>
4662
4663 * emacs-lisp/package.el (package-delete):
4664 Correctly delete the package from package-alist.
4665
4666 2014-01-08 Daiki Ueno <ueno@gnu.org>
4667
4668 * emacs-lisp/package.el (url-recreate-url): Declare.
4669 (url-http-target-url): Declare.
4670 (package-handle-response): Include requested URL in the error message.
4671 (package--check-signature): Don't re-signal errors from
4672 package--with-work-buffer. Suggested by Stefan Monnier.
4673
4674 2014-01-07 Bastien Guerry <bzg@gnu.org>
4675
4676 * minibuffer.el (completion--try-word-completion): When both a
4677 hyphen and a space are possible candidates for the character
4678 following a word, display both candidates. (Bug#15980)
4679
4680 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4681
4682 * window.el (balance-windows-2): While rounding don't give a
4683 window more than the remainder. Bug#16351, bug#16383.
4684
4685 2014-01-07 Glenn Morris <rgm@gnu.org>
4686
4687 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4688 (menu-bar-help-menu): Use view-external-packages instead.
4689
4690 2014-01-07 Bastien Guerry <bzg@gnu.org>
4691
4692 * emacs-lisp/package.el (package-delete): Also delete the package
4693 name from `package-alist', not its description only.
4694
4695 2014-01-07 Glenn Morris <rgm@gnu.org>
4696
4697 * help.el (view-external-packages):
4698 * menu-bar.el (menu-bar-help-extra-packages):
4699 Visit efaq.info rather than etc/MORE.STUFF.
4700
4701 2014-01-07 Juri Linkov <juri@jurta.org>
4702
4703 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4704 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4705
4706 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4707 that shadows RET. (Bug#16342)
4708
4709 2014-01-07 Chong Yidong <cyd@gnu.org>
4710
4711 * isearch.el (isearch-yank-char, isearch-yank-word)
4712 (isearch-yank-line): Doc fix.
4713
4714 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4717 * emacs-lisp/elint.el (elint-find-builtins):
4718 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4719 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4720 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4721 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4722 * apropos.el (apropos-safe-documentation):
4723 * subr.el (symbol-file): Remove redundant fboundp.
4724 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4725
4726 2014-01-06 Bastien Guerry <bzg@gnu.org>
4727
4728 * hl-line.el (global-hl-line-overlay): Make a local variable.
4729 (global-hl-line-overlays): New variable to store all overlays.
4730 (global-hl-line-mode): Don't delete overlays from the current
4731 buffer when `global-hl-line-sticky-flag' is non-nil.
4732 (global-hl-line-highlight): Add new overlays to
4733 `global-hl-line-overlays'.
4734 (global-hl-line-unhighlight-all): New function to delete all
4735 overlays when turning off `global-hl-line-mode'.
4736 This fixes Bug#16183.
4737
4738 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * subr.el (set-transient-map): Fix nested case and docstring.
4741
4742 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4743
4744 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4745 `Texinfo' entry.
4746
4747 2014-01-06 Daniel Colascione <dancol@dancol.org>
4748
4749 Fix defun navigation in vc log view.
4750
4751 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4752 like `beginning-of-defun'.
4753 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4754 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4755 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4756 (log-view-extract-comment): Call `log-view-current-entry' directly
4757 instead of relying on broken `log-view-beginning-of-defun' behavior.
4758
4759 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4760
4761 Spelling fixes.
4762 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4763 * emacs-lisp/debug.el (cancel-debug-on-entry):
4764 * epg.el (epg-error-to-string):
4765 * files.el (recover-file):
4766 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4767 * mail/emacsbug.el (report-emacs-bug-hook):
4768 * mail/sendmail.el (mail-recover):
4769 * ses.el (ses-yank-resize):
4770 * term/ns-win.el (ns-print-buffer):
4771 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4772 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4773 All uses changed.
4774 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4775
4776 2014-01-06 Leo Liu <sdl.web@gmail.com>
4777
4778 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4779 to avoid shadowing global key. (Bug#16354)
4780
4781 2014-01-06 Daniel Colascione <dancol@dancol.org>
4782
4783 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4784 rst-mode.
4785
4786 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4787
4788 * window.el (balance-windows): Add mising t to fix Bug#16351.
4789
4790 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4791
4792 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4793 (bug#16285).
4794 (shr-insert): If we have a word that's longer than `shr-width',
4795 break after it anyway. Otherwise we'll do no breaking once we get
4796 such a long word.
4797
4798 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4799
4800 * net/eww.el (eww): Support single/double quote for search.
4801 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4802 (eww-history-quit): Delete and use quit-window.
4803 (eww-history-kill): Delete, because it doesn't work well and
4804 not necessary.
4805 (eww-history-mode-map): Delete some keys and add easy-menu.
4806
4807 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4808
4809 Fix misspelling of 'chinese' in rx (Bug#16237).
4810 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4811 chinese-two-byte.
4812
4813 Change subword regexps back to vars (Bug#16296).
4814 * progmodes/subword.el (subword-forward-regexp)
4815 (subword-backward-regexp): Change these back to variables.
4816
4817 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4820 syntax-begin-function (bug#16247).
4821
4822 2014-01-03 Chong Yidong <cyd@gnu.org>
4823
4824 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4825 (advice--docstring): Delete variable.
4826 (advice--make-1): Leave the docstring empty.
4827 (advice-add): Use function-documentation for advised docstring.
4828
4829 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4830 Ignore function-documentation property when getting documentation.
4831 (ad-activate-advised-definition): Use function-documentation
4832 generate the docstring.
4833 (ad-make-advised-definition): Don't call
4834 ad-make-advised-definition-docstring.
4835 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4836 Delete functions.
4837
4838 * progmodes/sql.el (sql-help): Use function-documentation instead
4839 of dynamic-docstring-function property. No need to autoload now.
4840 (sql--help-docstring): New variable.
4841 (sql--make-help-docstring): Use it.
4842
4843 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * ielm.el (ielm-tab): Retarget.
4846 (ielm-map): Use ielm-tab for tab.
4847 (ielm-complete-filename): Use comint-filename-completion.
4848 (ielm-complete-symbol): Remove.
4849 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4850 remove ielm-tab from completion-at-point-functions (bug#16224).
4851
4852 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4853 Beware signals raised by predicates (bug#16201).
4854
4855 2014-01-02 Richard Stallman <rms@gnu.org>
4856
4857 * dired-aux.el (dired-do-print): Handle printer-name.
4858
4859 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4860 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4861 (rmail-epa-decrypt): Turn off mime processing.
4862
4863 * mail/rmail.el (rmail-make-in-reply-to-field):
4864 Add parens in message-id.
4865
4866 * mail/rmail.el (rmail-get-coding-function): Variable.
4867 (rmail-get-coding-system): Use it.
4868
4869 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4870
4871 * international/mule-conf.el: Unify the charset indian-is13194.
4872 (indian-is13194): Specify unify-map.
4873
4874 2013-12-31 Leo Liu <sdl.web@gmail.com>
4875
4876 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4877
4878 2013-12-30 Daniel Colascione <dancol@dancol.org>
4879
4880 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4881 of printing a useless when we resume from sleep.
4882
4883 * progmodes/sh-script.el
4884 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4885 in indentation code. (Bug#16233)
4886
4887 2013-12-28 João Távora <joaotavora@gmail.com>
4888
4889 * elec-pair.el (electric-pair-post-self-insert-function):
4890 Don't open extra newlines at beginning of buffer. (Bug#16272)
4891
4892 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4893
4894 * frame.el (window-system-for-display): Don't allow to create a
4895 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4896
4897 2013-12-28 Glenn Morris <rgm@gnu.org>
4898
4899 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4900 Update callers.
4901
4902 * apropos.el (apropos-match-face):
4903 * calculator.el (calculator-displayer):
4904 * dabbrev.el (dabbrev-search-these-buffers-only):
4905 * face-remap.el (buffer-face-mode-face):
4906 * simple.el (yank-handled-properties):
4907 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4908 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4909 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4910 (hashcash-double-spend-database):
4911 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4912 (ruby-deep-indent-paren-style):
4913 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4914 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4915 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4916 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4917 Specify custom types.
4918
4919 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4920 * bookmark.el (bookmark-bmenu-use-header-line):
4921 * doc-view.el (doc-view-scale-internally):
4922 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4923 * register.el (register-preview-delay):
4924 * net/shr.el (shr-bullet):
4925 * progmodes/cfengine.el (cfengine-cf-promises)
4926 (cfengine-parameters-indent):
4927 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4928 * textmodes/reftex-vars.el (reftex-label-regexps):
4929 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4930
4931 * net/tls.el (tls-certtool-program): Fix default value.
4932
4933 * desktop.el (desktop-restore-in-current-display):
4934 * newcomment.el (comment-empty-lines):
4935 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4936 (idlwave-pad-keyword):
4937 * progmodes/tcl.el (tcl-tab-always-indent):
4938 * textmodes/reftex-vars.el (reftex-index-default-tag):
4939 * elec-pair.el (electric-pair-skip-whitespace):
4940 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4941
4942 * emacs-lisp/authors.el (authors-ignored-files)
4943 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4944
4945 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4946
4947 * shell.el (shell-dynamic-complete-command): Doc fix.
4948 (shell--command-completion-data): Shell completion now matches
4949 executable filenames from the current buffer's directory, on
4950 systems in which this behavior is the default (windows-nt, ms-dos).
4951
4952 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4953
4954 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4955
4956 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4959 (bug#16251).
4960
4961 * electric.el: Move all electric-pair-* to elec-pair.el.
4962 * elec-pair.el: New file, split from electric.el.
4963
4964 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4965
4966 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4967 indentation level is larger than the width, because that will
4968 infloop.
4969 (shr-insert): Fill repeatedly long texts, so that Japanese is
4970 formatted correctly (bug#16263).
4971 (shr-find-fill-point): Off by one error in comparison with the
4972 indentation.
4973
4974 2013-12-26 João Távora <joaotavora@gmail.com>
4975
4976 * electric.el (electric-pair-mode): More flexible engine for skip-
4977 and inhibit predicates, new options for pairing-related functionality.
4978 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4979 if that keeps or improves their balance in buffers.
4980 (electric-pair-delete-adjacent-pairs): Delete the pair when
4981 backspacing over adjacent matched delimiters.
4982 (electric-pair-open-extra-newline): Open extra newline when
4983 inserting newlines between adjacent matched delimiters.
4984 (electric--sort-post-self-insertion-hook):
4985 Sort post-self-insert-hook according to priority values when
4986 minor-modes are activated.
4987 * simple.el (newline-and-indent): Call newline with interactive
4988 set to t.
4989 (blink-paren-post-self-insert-function): Set priority to 100.
4990 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4991 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4992 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4993 electric-pair-open-newline-between-pairs to nil.
4994
4995 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4996
4997 * progmodes/python.el: Use lexical-binding.
4998 (python-nav-beginning-of-defun): Stop searching ASAP.
4999
5000 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5001
5002 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5003 Fix interactive spec. Doc fix. (Bug#15754)
5004
5005 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5006
5007 * emacs-lisp/byte-run.el (eval-when-compile):
5008 * progmodes/cc-defs.el (cc-eval-when-compile):
5009 Fix edebug spec (bug#16184).
5010
5011 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5012
5013 * net/shr.el (shr-visit-file): Remove debugging function.
5014 (shr-insert): Don't infloop if we can't find a good place to break
5015 the line (bug#16256).
5016
5017 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5018
5019 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5020 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5021 python-nav-lisp-forward-sexp-safe.
5022 (python-nav--forward-sexp): New argument SAFE allows switching
5023 forward sexp movement behavior for parens.
5024 (python-nav-forward-sexp): Throw errors on unterminated parens
5025 (Bug#16191).
5026 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5027 (python-nav-backward-sexp-safe): New functions.
5028 (python-shell-buffer-substring):
5029 Use `python-nav-forward-sexp-safe'.
5030
5031 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5032
5033 * net/shr.el (shr-find-fill-point): Don't break lines before a
5034 quotation mark.
5035 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5036 (shr-find-fill-point): Remove the special checks for the quotation
5037 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5038
5039 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5040
5041 * net/eww.el (eww-form-textarea): Use a different face for
5042 textareas than text input since they have different keymaps
5043 (bug#16142).
5044
5045 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5046
5047 * progmodes/python.el (python-nav-beginning-of-statement):
5048 Speed up (Bug#15295).
5049
5050 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5051
5052 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5053 the window configuration.
5054
5055 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5056
5057 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5058 we run on MS-Windows or MS-DOS.
5059
5060 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5061
5062 * window.el (balance-windows-area): Call window-size instead of
5063 window-height and window-width. Bug#16241.
5064
5065 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5066
5067 * net/eww.el (eww-bookmark-quit): Remove.
5068 (eww-bookmark-browse): Restore the window configuration when you
5069 choose a bookmark (bug#16144).
5070
5071 2013-12-24 Daniel Colascione <dancol@dancol.org>
5072
5073 * icomplete.el: Remove redundant :group arguments to `defcustom'
5074 throughout.
5075 (icomplete-show-matches-on-no-input): New customizable variable.
5076 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5077 we have something to show.
5078 (icomplete-exhibit): Compute completions even if we have no user input.
5079
5080 2013-12-23 Daniel Colascione <dancol@dancol.org>
5081
5082 * icomplete.el: Move `provide' to end of file.
5083
5084 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5085
5086 * net/gnutls.el (gnutls-verify-error): Add version tag.
5087
5088 2013-12-23 Chong Yidong <cyd@gnu.org>
5089
5090 * subr.el (set-transient-map): Rename from
5091 set-temporary-overlay-map. Doc fix.
5092
5093 * face-remap.el (text-scale-adjust):
5094 * indent.el (indent-rigidly):
5095 * kmacro.el (kmacro-call-macro):
5096 * minibuffer.el (minibuffer-force-complete):
5097 * repeat.el (repeat):
5098 * simple.el (universal-argument--mode):
5099 * calendar/todo-mode.el (todo-insert-item--next-param):
5100 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5101
5102 * indent.el (indent-rigidly): Use substitute-command-keys.
5103
5104 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5105
5106 * net/eww.el (eww-tag-select): Add text-property to jump to next
5107 select field.
5108 (eww): Add non-supported ftp error.
5109
5110 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5111
5112 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5113 comments. Handle electric indent after typing `?' and `!'.
5114
5115 2013-12-22 Chong Yidong <cyd@gnu.org>
5116
5117 * faces.el (face-spec-recalc): If the theme specs are not
5118 applicable to a frame, fall back on the defface spec.
5119 This prevents themes from obliterating faces on low-color terminals.
5120
5121 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5122
5123 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5124 after `{'. We need it after block openers, and it doesn't seem
5125 to hurt after hash openers.
5126
5127 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5128
5129 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5130 extracted from `ruby-smie-rules'.
5131 (ruby--electric-indent-chars): New variable.
5132 (ruby--electric-indent-p): New function.
5133 (ruby-mode): Use `electric-indent-functions' instead of
5134 `electric-indent-chars'.
5135
5136 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5137
5138 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5139 docstring.
5140 (ruby-smie-rules): Indent plus one level after `=>'.
5141
5142 2013-12-21 Richard Stallman <rms@gnu.org>
5143
5144 * simple.el (newline): Doc fix.
5145
5146 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5147
5148 * net/eww.el (eww-list-histories, eww-list-histories)
5149 (eww-history-browse, eww-history-quit, eww-history-kill)
5150 (eww-history-mode-map, eww-history-mode): New command and
5151 functions to list browser histories.
5152 (eww-form-text): Support text form with disabled
5153 and readonly attributes.
5154 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5155
5156 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5157
5158 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5159 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5160 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5161 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5162 Use `user-error'.
5163 (eww-bookmark-mode-map): Add menu.
5164 (eww-render, eww-mode): Use `setq-local'.
5165 (eww-tool-bar-map): New variable.
5166 (eww-mode): Set `tool-bar-map'.
5167 (eww-view-source): Check for `html-mode' with `fboundp'.
5168
5169 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5170
5171 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5172 elements with text inside. Also remove debugging.
5173
5174 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5175
5176 * cus-start.el (all): Add ns-use-srgb-colorspace.
5177
5178 2013-12-21 Chong Yidong <cyd@gnu.org>
5179
5180 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5181 undefined. Thus, theme settings for undefined faces do not take
5182 effect until the faces are defined with defface, the same as with
5183 theme variables.
5184
5185 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5186 (face-spec-reset-face): Don't assign extra properties in temacs.
5187 (face-spec-recalc): Apply X resources too.
5188
5189 2013-12-21 Chong Yidong <cyd@gnu.org>
5190
5191 * faces.el (face-spec-set):
5192 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5193 * custom.el (defface): Doc fixes (Bug#16203).
5194
5195 * indent.el (indent-rigidly-map): Add docstring, and move commands
5196 into named functions.
5197 (indent-rigidly-left, indent-rigidly-right)
5198 (indent-rigidly-left-to-tab-stop)
5199 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5200 indentation direction based on bidi direction, and accumulate
5201 sequential commands in a single undo boundary.
5202 (indent-rigidly--pop-undo): New utility function.
5203
5204 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5205
5206 * faces.el (read-face-name): Require crm.el when using crm-separator.
5207
5208 2013-12-20 Daniel Colascione <dancol@dancol.org>
5209
5210 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5211 so that we don't reflow comments into the shebang line.
5212
5213 2013-12-20 Juri Linkov <juri@jurta.org>
5214
5215 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5216 a position when `dired-directory' is non-nil. Check integer
5217 positions with `integerp'.
5218 (toggle-save-place, save-places-to-alist): Add check for
5219 `dired-directory'.
5220 (save-place-find-file-hook): Check integer positions with
5221 `integerp'.
5222 (save-place-dired-hook): Use `dired-goto-file' when
5223 `dired-filename' is found in the assoc list. Check integer
5224 positions with `integerp'.
5225 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5226
5227 * dired.el (dired-initial-position-hook): Rename back from
5228 `dired-initial-point-hook'.
5229 (dired-initial-position): Rename `dired-initial-point-hook' to
5230 `dired-initial-position-hook'.
5231 (dired-file-name-at-point): Doc fix. (Bug#15329)
5232
5233 2013-12-20 Juri Linkov <juri@jurta.org>
5234
5235 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5236 (read-regexp-suggestions): New function.
5237 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5238 Use `read-regexp-suggestions'. Add non-empty default to history
5239 for empty input.
5240 (occur-read-regexp-defaults-function): Remove function.
5241 (occur-read-primary-args): Use `regexp-history-last' instead of
5242 `occur-read-regexp-defaults-function'.
5243
5244 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5245 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5246 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5247 `hi-lock-read-regexp-defaults-function'. Doc fix.
5248 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5249 with `find-tag-default-as-symbol-regexp'. Doc fix.
5250 (hi-lock-read-regexp-defaults): Remove function.
5251 (hi-lock-regexp-okay): Add check for null.
5252
5253 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5254 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5255
5256 * subr.el (find-tag-default-as-symbol-regexp): New function.
5257 (find-tag-default-as-regexp): Move symbol regexp formatting to
5258 `find-tag-default-as-symbol-regexp'.
5259
5260 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5261
5262 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5263 (Bug#14179)
5264
5265 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5266
5267 * calendar/todo-mode.el: New implementation of item insertion
5268 commands and key bindings.
5269 (todo-key-prompt): New face.
5270 (todo-insert-item): New command.
5271 (todo-insert-item--parameters): New defconst, replacing defvar
5272 todo-insertion-commands-args-genlist.
5273 (todo-insert-item--param-key-alist): New defconst, replacing
5274 defvar todo-insertion-commands-arg-key-list.
5275 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5276 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5277 (todo-insert-item--next-param): New functions.
5278 (todo-insert-item--args, todo-insert-item--argleft)
5279 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5280 New variables.
5281 (todo-key-bindings-t): Change binding of "i" from
5282 todo-insertion-map to todo-insert-item.
5283 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5284 (todo-insertion-command-name, todo-insertion-commands-names)
5285 (todo-define-insertion-command, todo-insertion-commands)
5286 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5287
5288 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5289
5290 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5291 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5292 eval-when-compile.
5293 (todo-move-category): Allow choosing a non-existing todo file to
5294 move the category to, and create that file.
5295 (todo-default-priority): New user option.
5296 (todo-set-item-priority): Use it.
5297 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5298 (desktop-restore-file-buffer): Declare.
5299 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5300 (todo-modes-set-2): Locally set desktop-save-buffer to
5301 todo-desktop-save-buffer.
5302 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5303 (auto-mode-alist): Add autoload cookie.
5304
5305 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5306
5307 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5308 helpers.el was a poor choice of name.
5309 (string-remove-prefix): New function.
5310 (string-remove-suffix): New function.
5311
5312 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5313
5314 Fix assignment for new window total sizes.
5315 * window.el (window--pixel-to-size): Remove function.
5316 (window--pixel-to-total-1, window--pixel-to-total):
5317 Fix calculation of new total sizes.
5318
5319 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5320
5321 * comint.el (comint-output-filter): Fix rear-nonsticky property
5322 placement (Bug#16010).
5323
5324 2013-12-20 Chong Yidong <cyd@gnu.org>
5325
5326 * faces.el (read-color): Minor fix for completion function.
5327
5328 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5329
5330 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5331 New option. (Bug#16182)
5332 (ruby-smie--indent-to-stmt-p): Use it.
5333 (ruby-smie-rules): Revert the logic in the handling of `when'.
5334 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5335 (ruby-deep-arglist, ruby-deep-indent-paren)
5336 (ruby-deep-indent-paren-style): Update docstrings to note that the
5337 vars don't have any effect with SMIE.
5338
5339 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5340
5341 * calc/calc.el (calc-enter, calc-pop): Use the variable
5342 `calc-context-sensitive-enter'.
5343
5344 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5345
5346 * net/shr.el (shr-insert): Protect against infloops in degenerate
5347 tables.
5348
5349 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5350
5351 * progmodes/octave.el (octave): Add link to manual and octave
5352 homepage.
5353 (octave-mode-menu): Link to octave-mode manual.
5354
5355 2013-12-20 Leo Liu <sdl.web@gmail.com>
5356
5357 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5358 insertion using skeleton-end-newline. (Bug#16138)
5359
5360 2013-12-20 Juri Linkov <juri@jurta.org>
5361
5362 * replace.el (occur-engine): Use `add-face-text-property'
5363 to add the face property to matches and titles. (Bug#14645)
5364
5365 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5366 the palette of other hi-lock colors.
5367 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5368
5369 2013-12-19 Juri Linkov <juri@jurta.org>
5370
5371 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5372 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5373 (minibuffer-history-symbol): Move variable declaration closer to
5374 its usage.
5375
5376 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5377 (Bug#14785)
5378
5379 2013-12-19 Juri Linkov <juri@jurta.org>
5380
5381 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5382 New function.
5383 (log-edit-hook): Add it to :options. (Bug#16170)
5384
5385 2013-12-19 Juri Linkov <juri@jurta.org>
5386
5387 * simple.el (eval-expression-print-format): Don't check for
5388 command names and the last command. Always display additional
5389 formats of the integer result in the echo area, and insert them
5390 to the current buffer only with a zero prefix arg.
5391 Display character when char-displayable-p is non-nil.
5392 (eval-expression): With a zero prefix arg, set `print-length' and
5393 `print-level' to nil, and insert the integer values from
5394 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5395
5396 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5397 `eval-last-sexp-arg-internal'. Doc fix.
5398 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5399 `eval-last-sexp-print-value'. Doc fix.
5400 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5401 Set `print-length' and `print-level' to nil when arg is zero.
5402 (eval-last-sexp): Doc fix.
5403 (eval-defun-2): Print the integer values from
5404 `eval-expression-print-format' at the end.
5405
5406 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5407 values from `eval-expression-print-format' at the end.
5408
5409 * ielm.el (ielm-eval-input): Print the integer
5410 values from `eval-expression-print-format' at the end.
5411
5412 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5413
5414 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5415 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5416
5417 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5420 (hl-line-highlight, global-hl-line-highlight): Use it.
5421 (hl-line-overlay): Use defvar-local.
5422
5423 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5424
5425 * term/ns-win.el: Require dnd.
5426 (global-map): Remove drag items.
5427 (ns-insert-text, ns-set-foreground-at-mouse)
5428 (ns-set-background-at-mouse):
5429 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5430 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5431 New functions.
5432
5433 2013-12-19 Glenn Morris <rgm@gnu.org>
5434
5435 * emacs-lisp/ert.el (ert-select-tests):
5436 Fix string/symbol mixup. (Bug#16121)
5437
5438 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5439
5440 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5441 keywords to their parent.
5442
5443 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5444
5445 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5446 first arg to be a string (fixed dead code), or an operator symbol.
5447 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5448 operator symbols.
5449 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5450 did nothing. Don't respond to `(:after ".")', it will be called
5451 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5452 change anything. Only return indentation for binary operators
5453 when they are hanging. De-dent opening paren when its parent is
5454 `.', otherwise it looks bad when the dot is not at bol or eol
5455 (bug#16182).
5456
5457 2013-12-19 Juri Linkov <juri@jurta.org>
5458
5459 * replace.el (query-replace-read-args): Split a non-negative arg
5460 and a negative arg into separate elements.
5461 (query-replace, query-replace-regexp, replace-string)
5462 (replace-regexp): Add arg `backward'. Doc fix.
5463 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5464 move point to the beginning of the match.
5465 (replace-search, replace-highlight): Use new arg `backward'
5466 to set the value of `isearch-forward'.
5467 (perform-replace): Add arg `backward' and use it to perform
5468 replacement backward. (Bug#14979)
5469
5470 * isearch.el (isearch-query-replace): Use a negative prefix arg
5471 to call `perform-replace' with a non-nil arg `backward'.
5472
5473 2013-12-18 Juri Linkov <juri@jurta.org>
5474
5475 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5476 to the default list. Move `log-edit-show-files' to the end.
5477 Add more available functions to options.
5478 (log-edit): Move default specific settings to
5479 `log-edit-insert-message-template'. Don't move point.
5480 (log-edit-insert-message-template): New function.
5481 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5482 (Bug#16170)
5483
5484 2013-12-18 Juri Linkov <juri@jurta.org>
5485
5486 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5487 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5488
5489 2013-12-18 Leo Liu <sdl.web@gmail.com>
5490
5491 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5492 (Bug#16186)
5493
5494 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5495
5496 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5497 formats for displaying file sizes when the -s switch is given.
5498 Instead, compute a separate format for displaying the size in
5499 blocks, which is displayed in addition to the "regular" size.
5500 When -h is given in addition to -s, produce size in blocks in
5501 human-readable form as well. (Bug#16179)
5502
5503 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5504
5505 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5506 Reference tables with ~\ref{...} instead of only \ref{...}.
5507
5508 2013-12-18 Chong Yidong <cyd@gnu.org>
5509
5510 * cus-edit.el (custom-magic-alist): Fix "themed" description
5511 (Bug#14348).
5512
5513 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5514 is non-nil, do not create a new entry in the symbol's theme-value
5515 or theme-face property; update theme-settings only (Bug#14664).
5516 (custom-available-themes): Doc fix.
5517
5518 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5519 (Bug#15674).
5520
5521 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5522
5523 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5524
5525 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5526 (Bug#13914).
5527
5528 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5529
5530 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5531
5532 2013-12-18 Glenn Morris <rgm@gnu.org>
5533
5534 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5535 * cus-start.el (load-prefer-newer): New option.
5536
5537 2013-12-18 Le Wang <l26wang@gmail.com>
5538
5539 * comint.el (comint-previous-matching-input-from-input):
5540 Retain point (Bug#13404).
5541
5542 2013-12-18 Chong Yidong <cyd@gnu.org>
5543
5544 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5545
5546 2013-12-18 Glenn Morris <rgm@gnu.org>
5547
5548 * mail/emacsbug.el (report-emacs-bug):
5549 Only mention enable-multibyte-characters if non-standard.
5550
5551 2013-12-17 Juri Linkov <juri@jurta.org>
5552
5553 * arc-mode.el (archive-extract-by-file): Check if directory exists
5554 before deletion to not show irrelevant errors if it doesn't exist.
5555
5556 2013-12-17 Juri Linkov <juri@jurta.org>
5557
5558 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5559 (Bug#14751)
5560
5561 * net/eww.el (browse-web): Add alias to `eww'.
5562 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5563 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5564
5565 * net/browse-url.el (browse-url-browser-function): Move `eww'
5566 closer to similar functions.
5567
5568 * startup.el (fancy-startup-screen, fancy-about-screen):
5569 Set browse-url-browser-function to eww-browse-url locally.
5570 (Bug#14751)
5571
5572 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * window.el (window--pixel-to-total): Remove unused `mini' var.
5575 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5576 (split-window): Remove unused `new' var.
5577 (window--display-buffer): Remove unused `frame' and `delta' vars.
5578 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5579 and display-width'.
5580
5581 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5582
5583 * dired.el (dired-mark-pop-up):
5584 * register.el (register-preview): Don't bind
5585 split-height-threshold here since it's now done in
5586 display-buffer-below-selected.
5587
5588 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5589
5590 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5591 xterm-rgb-convert-to-16bit.
5592 (rxvt-register-default-colors): Standardize with
5593 xterm-register-default-colors (Bug#14078).
5594
5595 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5596
5597 * simple.el (kill-region): Pass mark first, then point, so that
5598 kill-append works right (Bug#12819).
5599 (copy-region-as-kill, kill-ring-save): Likewise.
5600
5601 2013-12-17 Leo Liu <sdl.web@gmail.com>
5602
5603 * net/rcirc.el (rcirc-add-face):
5604 * eshell/em-prompt.el (eshell-emit-prompt):
5605 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5606 (Bug#16167)
5607
5608 2013-12-17 Chong Yidong <cyd@gnu.org>
5609
5610 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5611 Suggested by Xue Fuqiao.
5612
5613 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5614
5615 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5616
5617 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * net/shr.el (shr-insert-document): Remove unused var
5620 `shr-preliminary-table-render'.
5621 (shr-rescale-image): Remove unused arg `force'.
5622 (shr-put-image): Update calls accordingly.
5623 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5624
5625 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5626
5627 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5628 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5629 :close-all, to see which indentation method to use (Bug#16116).
5630 (smie-rules-function): Document the method :close-all.
5631
5632 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5633
5634 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5635
5636 * net/eww.el (eww-display-html): If we can't find the anchor we're
5637 looking for, then go to point-min.
5638
5639 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5640
5641 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5642 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5643 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5644 Expand dir too, in case it's relative.
5645
5646 2013-12-16 Juri Linkov <juri@jurta.org>
5647
5648 * desktop.el (desktop-auto-save-timeout): Change default to
5649 `auto-save-timeout'. Doc fix.
5650 (desktop-save): Skip the timestamp in desktop-saved-frameset
5651 when checking for auto-save changes.
5652 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5653 `desktop-auto-save' is called repeatedly by the idle timer.
5654 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5655 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5656 (Bug#15331)
5657
5658 2013-12-16 Juri Linkov <juri@jurta.org>
5659
5660 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5661 (Bug#16035)
5662 (isearch-pre-command-hook): Check `this-command' for symbolp.
5663
5664 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5667
5668 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5669
5670 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5671 (cfengine3--current-function): Bring in the current-function
5672 functionality from `cfengine3--current-word'.
5673 (cfengine3-completion-function): Bring in the
5674 bounds-of-current-word functionality from
5675 `cfengine3--current-word'.
5676
5677 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5678
5679 * window.el (display-buffer-below-selected):
5680 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5681
5682 2013-12-16 Leo Liu <sdl.web@gmail.com>
5683
5684 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5685 Remove NOMSG arg and all uses changed.
5686
5687 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5690 (cua--deactivate-rectangle): Don't deactivate the mark.
5691 (cua-set-rectangle-mark): Don't set mark-active since
5692 cua--activate-rectangle already does it for us.
5693 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5694 non-rectangular region.
5695
5696 * emulation/cua-base.el (cua-repeat-replace-region):
5697 Use with-current-buffer.
5698
5699 * net/gnutls.el: Use cl-lib.
5700 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5701
5702 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5703
5704 * emacs-lisp/package.el (package-built-in-p): Support both
5705 built-in and the package.el converted package descriptions.
5706 (package-show-package-list): Allow keywords.
5707 (package-keyword-button-action): Use it instead of
5708 `finder-list-matches'.
5709 (package-menu-filter-interactive): Interactive filtering (by
5710 keyword) function.
5711 (package-menu--generate): Support keywords and change keymappings
5712 and headers when they are given.
5713 (package--has-keyword-p): Helper function.
5714 (package-menu--refresh): Use it.
5715 (package--mapc): Helper function.
5716 (package-all-keywords): Use it.
5717 (package-menu-mode-map): Set up menu items and keybindings to
5718 provide a filtering UI.
5719
5720 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5721
5722 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5723 the behavior when a certificate fails validation. Defaults to
5724 old behavior: never abort, just warn.
5725 (gnutls-negotiate): Use it.
5726
5727 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5728
5729 * window.el (display-buffer-below-selected): Never split window
5730 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5731
5732 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5733
5734 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5735 (package-buffer-info): Use it (bug#15108).
5736
5737 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5738
5739 * icomplete.el (icomplete-completions): Make sure the prefix is already
5740 displayed elsewhere before hiding it (bug#16219).
5741
5742 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5743
5744 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5745 open-paren tokens when preceded by a open-paren, too.
5746 (ruby-smie-rules): Handle virtual indentation after open-paren
5747 tokens specially. If there is code between it and eol, return the
5748 column where is starts (Bug#16118).
5749
5750 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5751
5752 * progmodes/cfengine.el: Fix `add-hook' doc.
5753 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5754 (cfengine3--current-word): Fix parameters.
5755 (cfengine3-make-syntax-cache): Simplify further.
5756 (cfengine3-completion-function, cfengine3--current-function):
5757 Use `assq' for symbols.
5758 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5759
5760 2013-12-13 Glenn Morris <rgm@gnu.org>
5761
5762 * loadup.el (load-path): Warn if site-load or site-init changes it.
5763 No more need to reset it when bootstrapping.
5764
5765 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5766
5767 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5768 locations for cf-promises.
5769 (cfengine-mode-syntax-functions-regex): New caching variable.
5770 (cfengine3-fallback-syntax): Fallback syntax for cases where
5771 cf-promises doesn't run.
5772 (cfengine3--current-word): Reimplement using
5773 `cfengine-mode-syntax-functions-regex'.
5774 (cfengine3-completion-function, cfengine3--current-function):
5775 Use `cfengine3-make-syntax-cache' directly.
5776 (cfengine3-clear-syntax-cache): New function.
5777 (cfengine3-make-syntax-cache): Simplify and create
5778 `cfengine-mode-syntax-functions-regex' on demand.
5779 (cfengine3-format-function-docstring): Don't call
5780 `cfengine3-make-syntax-cache' explicitly.
5781
5782 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5783
5784 Fix windmove-find-other-window broken after pixelwise resizing
5785 (Bug#16017).
5786 * windmove.el (windmove-other-window-loc): Revert change from
5787 2013-12-04.
5788 (windmove-find-other-window): Call window-in-direction.
5789 * window.el (window-in-direction): New arguments SIGN, WRAP and
5790 MINI to emulate original windmove-find-other-window behavior.
5791
5792 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5793
5794 * simple.el (blink-matching--overlay): New variable.
5795 (blink-matching-open): Instead of moving point, highlight the
5796 matching paren with an overlay
5797 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5798
5799 * faces.el (paren-showing-faces, show-paren-match)
5800 (show-paren-mismatch): Move from paren.el.
5801
5802 2013-12-13 Leo Liu <sdl.web@gmail.com>
5803
5804 * indent.el (indent-region): Disable progress reporter in
5805 minibuffer. (Bug#16108)
5806
5807 * bindings.el (visual-order-cursor-movement): Fix version.
5808
5809 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5810
5811 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5812 Also match after beginning of line.
5813 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5814 files. Thanks to Russell Sim. (Bug#15378)
5815
5816 2013-12-13 Juri Linkov <juri@jurta.org>
5817
5818 * simple.el <Keypad support>: Remove key bindings duplicated
5819 with bindings.el. (Bug#14397)
5820
5821 2013-12-13 Juri Linkov <juri@jurta.org>
5822
5823 * comint.el (comint-mode-map): Replace `delete-char' with
5824 `delete-forward-char'. (Bug#16109)
5825
5826 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5827
5828 * progmodes/python.el (python-indent-calculate-indentation):
5829 Fix de-denters cornercase. (Bug#15731)
5830
5831 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5834 (advice--make): Pay attention to `depth'.
5835 (advice--make-1): Don't autoload commands eagerly.
5836 * emacs-lisp/elp.el (elp-instrument-function):
5837 * emacs-lisp/trace.el (trace-function-internal):
5838 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5839
5840 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5841
5842 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5843
5844 * term/w32-win.el (w32-handle-dropped-file):
5845 * startup.el (normal-top-level):
5846 * net/browse-url.el (browse-url-file-url):
5847 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5848 decode file names using 'utf-8' rather than
5849 file-name-coding-system.
5850
5851 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5852
5853 * progmodes/python.el (python-indent-context)
5854 (python-indent-calculate-indentation): Fix auto-identation
5855 behavior for comment blocks. (Bug#15916)
5856
5857 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5858
5859 * progmodes/python.el (python-indent-calculate-indentation):
5860 When determining indentation, don't treat "return", "pass", etc., as
5861 operators when they are just string constituents. (Bug#15812)
5862
5863 2013-12-12 Juri Linkov <juri@jurta.org>
5864
5865 * uniquify.el (uniquify-buffer-name-style): Change default to
5866 `post-forward-angle-brackets'.
5867
5868 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5869 `uniquify'. Change default to `post-forward-angle-brackets'.
5870
5871 2013-12-11 Glenn Morris <rgm@gnu.org>
5872
5873 * emacs-lisp/package.el (finder-list-matches):
5874 Autoload rather than falsely declaring.
5875
5876 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5877
5878 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5879 (eww-mode-map): Use them.
5880
5881 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5882
5883 * window.el (display-buffer-in-side-window): Fix doc-string
5884 (Bug#16115).
5885
5886 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5887
5888 * vc/vc-git.el: Silence byte-compiler warnings.
5889 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5890 (log-edit-set-header): Declare.
5891
5892 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5893
5894 * Makefile.in (custom-deps, finder-data): Run output file names
5895 through unmsys--file-name. (Bug#16099)
5896
5897 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5900 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5901
5902 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5903 instead of deleting the selection "by hand" (bug#16098).
5904 Rely on insert-for-yank to yank rectangles.
5905 (cua-highlight-region-shift-only): Mark obsolete.
5906 (cua-mode): Don't enable/disable transient-mark-mode,
5907 shift-select-mode (cua-mode works both with and without them), and
5908 pc-selection-mode (obsolete).
5909 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5910 (cua--deactivate-rectangle): Deactivate it.
5911
5912 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5913 (delete-selection-helper): Make sure yank starts at the top of the
5914 deleted region.
5915 (minibuffer-keyboard-quit): Use region-active-p.
5916
5917 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5918
5919 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5920 to `delete' (bug#16109).
5921
5922 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5923
5924 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5925 info manual and show keybindings and set `:group' keyword.
5926
5927 2013-12-11 Juri Linkov <juri@jurta.org>
5928
5929 * delsel.el (delete-active-region): Let-bind `this-command'
5930 to prevent `kill-region' from changing its original value.
5931 (delete-selection-helper): Handle `overwrite-mode' for the type
5932 `kill' exactly the same way as for the type `t'.
5933 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5934 Support more commands. (Bug#13312)
5935
5936 2013-12-11 Juri Linkov <juri@jurta.org>
5937
5938 * bindings.el: Map kp keys to non-kp keys systematically
5939 with basic modifiers control, meta and shift. (Bug#14397)
5940
5941 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5942
5943 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5944 "Close browser" menu items. Fix wrong function of "List
5945 bookmarks".
5946
5947 2013-12-11 Juri Linkov <juri@jurta.org>
5948
5949 * misearch.el (multi-isearch-buffers): Set the value of
5950 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5951 arg of isearch-forward to t.
5952 (multi-isearch-buffers-regexp): Set the value of
5953 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5954 arg of isearch-forward-regexp to t.
5955 (multi-isearch-files): Set the value of
5956 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5957 arg of isearch-forward to t.
5958 (multi-isearch-files-regexp): Set the value of
5959 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5960 arg of isearch-forward-regexp to t. (Bug#16035)
5961
5962 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5963 arg of isearch-forward to t.
5964 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5965 arg of isearch-forward-regexp to t.
5966 (dired-isearch-filter-filenames): Remove unnecessary check for
5967 `dired-isearch-filenames'.
5968
5969 * comint.el (comint-history-isearch-backward):
5970 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5971 (comint-history-isearch-backward-regexp):
5972 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5973
5974 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5975
5976 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5977 unmsys--file-name. (Bug#16099)
5978
5979 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5980
5981 * emacs-lisp/package.el (package-keyword-button-action):
5982 Remove finder.el require dependency.
5983
5984 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5985
5986 * emacs-lisp/package.el: Require finder.el.
5987 (describe-package-1): Add keyword buttons.
5988 (package-make-button): New convenience function.
5989 (package-keyword-button-action): Keyword button action using
5990 `finder-list-matches'.
5991
5992 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5993
5994 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5995 last commit.
5996
5997 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5998
5999 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6000 symlinked files.
6001
6002 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6003
6004 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6005 after the end of a percent literal.
6006
6007 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6008
6009 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6010 Handle caret-delimited strings (Bug#16079).
6011
6012 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6013
6014 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6015 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6016 `ruby-parse-partial' (Bug#16078).
6017
6018 2013-12-09 Leo Liu <sdl.web@gmail.com>
6019
6020 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6021
6022 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6023
6024 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6025 (js-switch-indent-offset): New option.
6026 (js--proper-indentation): Use it. And handle the case when
6027 "default" is actually a key in an object literal.
6028 (js--same-line): New function.
6029 (js--multi-line-declaration-indentation): Use it.
6030 (js--indent-in-array-comp, js--array-comp-indentation):
6031 New functions.
6032 (js--proper-indentation): Use them, to handle array comprehension
6033 continuations.
6034
6035 2013-12-08 Leo Liu <sdl.web@gmail.com>
6036
6037 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6038 (flymake-make-overlay): Remove arg MOUSE-FACE.
6039 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6040
6041 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6044 New function.
6045 (redisplay-highlight-region-function): Use it.
6046
6047 * emulation/cua-base.el (cua--explicit-region-start)
6048 (cua--last-region-shifted): Remove.
6049 (cua--deactivate): Use deactivate-mark.
6050 (cua--pre-command-handler-1): Don't handle shift-selection.
6051 (cua--post-command-handler-1): Don't change transient-mark-mode.
6052 (cua--select-keymaps): Use region-active-p rather than
6053 cua--explicit-region-start or cua--last-region-shifted.
6054 (cua-mode): Enable shift-select-mode.
6055
6056 2013-12-08 Leo Liu <sdl.web@gmail.com>
6057
6058 * progmodes/flymake.el (flymake-popup-current-error-menu):
6059 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6060 (flymake-posn-at-point-as-event, flymake-popup-menu)
6061 (flymake-make-emacs-menu): Remove. (Bug#16077)
6062
6063 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * rect.el (rectangle-mark-mode): Activate mark even if
6066 transient-mark-mode is off (bug#16066).
6067 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6068 is > mark and at bolp.
6069
6070 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6071 (region-extract-function): Use it.
6072 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6073 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6074 Delete functions.
6075 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6076 kill-ring-save, kill-region, delete-char, delete-forward-char.
6077 Ignore self-insert-iso.
6078
6079 * emulation/cua-gmrk.el (cua--init-global-mark):
6080 Ignore `self-insert-iso'.
6081
6082 * emulation/cua-base.el (cua--prefix-copy-handler)
6083 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6084 checking cua--rectangle.
6085 (cua-delete-region): Use region-extract-function.
6086 (cua-replace-region): Delete function.
6087 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6088 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6089 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6090 (cua--init-keymaps): Don't remap delete-selection commands.
6091 (cua-mode): Use delete-selection-mode instead of rolling our own
6092 (bug#16085).
6093
6094 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6095 Obey region-extract-function.
6096
6097 Make registers and delete-selection-mode work on rectangles.
6098 * register.el (describe-register-1): Don't modify the register's value.
6099 (copy-to-register): Obey region-extract-function.
6100 * delsel.el (delete-active-region): Obey region-extract-function.
6101
6102 2013-12-08 Leo Liu <sdl.web@gmail.com>
6103
6104 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6105 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6106 (flymake-compilation-prevents-syntax-check)
6107 (flymake-start-syntax-check-on-newline)
6108 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6109 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6110 (flymake-xml-program, flymake-master-file-dirs)
6111 (flymake-master-file-count-limit)
6112 (flymake-allowed-file-name-masks): Relocate.
6113 (flymake-makehash, flymake-float-time)
6114 (flymake-replace-regexp-in-string, flymake-split-string)
6115 (flymake-get-temp-dir): Remove.
6116 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6117 (flymake-current-row, flymake-selected-frame)
6118 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6119 related functions. (Bug#16077)
6120
6121 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6122
6123 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6124
6125 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6126
6127 * help-fns.el (describe-function-1): Use new advice-* functions
6128 rather than old ad-* functions. Fix function type description and
6129 source links for advised functions and subrs.
6130
6131 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6132
6133 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6134
6135 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6136
6137 * progmodes/compile.el (compilation-start):
6138 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6139
6140 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6141 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6142
6143 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6144
6145 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6146 Touch up the last change.
6147
6148 2013-12-06 Leo Liu <sdl.web@gmail.com>
6149
6150 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6151 (inferior-octave-startup): Always use "octave> " for prompt.
6152 (octave-goto-function-definition)
6153 (octave-sync-function-file-names)
6154 (octave-find-definition-default-filename): Remove redundant backquotes.
6155
6156 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6157
6158 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6159 syntax for `?'.
6160 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6161 where appropriate already.
6162 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6163 end of method names (Bug#15874).
6164
6165 2013-12-06 Juri Linkov <juri@jurta.org>
6166
6167 * isearch.el (isearch--saved-overriding-local-map):
6168 New internal variable.
6169 (isearch-mode): Set it to the initial value of
6170 `overriding-terminal-local-map'.
6171 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6172 with `isearch--saved-overriding-local-map'. (Bug#16035)
6173
6174 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6175
6176 * progmodes/octave.el (inferior-octave-completion-table):
6177 Turn back into function, use `completion-table-with-cache'
6178 (Bug#11906). Update all references.
6179
6180 * minibuffer.el (completion-table-with-cache): New function.
6181
6182 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6183
6184 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6185
6186 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6187
6188 * net/eww.el (eww-current-source): New variable to store page
6189 source.
6190 (eww-display-html, eww-mode, eww-save-history)
6191 (eww-restore-history): Use it.
6192 (eww-view-source): New command to view page source.
6193 Opportunistically uses `html-mode' to highlight the buffer.
6194 (eww-mode-map): Install it.
6195
6196 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6197
6198 * net/dbus.el (dbus-unregister-service)
6199 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6200 Fix docstring.
6201 (dbus-unregister-service): Skip :serial entries in
6202 `dbus-registered-objects-table'.
6203 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6204
6205 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6206
6207 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6208 around keywords with extra `split-string' argument.
6209
6210 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6211
6212 * windmove.el (windmove-other-window-loc): Handle navigation
6213 between windows (excluding the minibuffer window - Bug#16017).
6214
6215 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6216
6217 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6218 in D-Bus type syntax.
6219 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6220 preserve unibyte strings. (Bug#16048)
6221
6222 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6225 Call force-mode-line-update is the proper buffer (bug#16042).
6226
6227 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6228
6229 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6230 `log-edit-remember-comment', make argument optional. Adjust all
6231 callers.
6232 (log-edit-mode): Add `log-edit-remember-comment' to
6233 `kill-buffer-hook' locally.
6234 (log-edit-kill-buffer): Don't remember comment explicitly since
6235 the buffer is killed anyway.
6236
6237 2013-12-04 Juri Linkov <juri@jurta.org>
6238
6239 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6240 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6241
6242 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6243
6244 * notifications.el (notifications-close-notification): Call the
6245 D-Bus method with ID being a `:uint32'. (Bug#16030)
6246
6247 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6248
6249 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6250
6251 2013-12-03 Juri Linkov <juri@jurta.org>
6252
6253 * progmodes/compile.el (compilation-start): Rename window alist
6254 entry `no-display-ok' to `allow-no-window'.
6255
6256 * simple.el (shell-command): Add window alist entry
6257 `allow-no-window' to `display-buffer'.
6258 (async-shell-command): Doc fix.
6259
6260 * window.el (display-buffer-no-window): New action function.
6261 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6262
6263 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6264
6265 * vc/log-edit.el (log-edit-set-header): Extract from
6266 `log-edit-toggle-header'.
6267 (log-edit-extract-headers): Separate the summary, when extracted
6268 from header, from the rest of the message with an empty line.
6269
6270 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6271 line, if present, to the Summary header.
6272
6273 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6274
6275 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6276 in current-buffer (bug#16029).
6277
6278 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6279
6280 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6281 (debugger-mode-map): Bind it.
6282 (debugger--backtrace-base): New function.
6283 (debugger-eval-expression): Use it.
6284 (debugger-frame-number): Skip local vars when present.
6285 (debugger--locals-visible-p, debugger--insert-locals)
6286 (debugger--show-locals, debugger--hide-locals): New functions.
6287
6288 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6289
6290 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6291 "LC_ALL".
6292 (tramp-get-remote-locale): New defun.
6293 (tramp-open-connection-setup-interactive-shell): Use it.
6294
6295 2013-12-02 Leo Liu <sdl.web@gmail.com>
6296
6297 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6298
6299 * progmodes/sh-script.el (sh-shell-process):
6300 * progmodes/octave.el (inferior-octave-process-live-p):
6301 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6302 (gdb-inferior-io-sentinel):
6303 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6304
6305 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6306
6307 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6308 `save-selected-window' to `log-edit-hide-buf'. This makes
6309 `log-edit-show-files' idempotent.
6310 (log-edit-show-files): Mark the new window as dedicated.
6311
6312 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6313
6314 * vc/log-edit.el (log-edit-mode-map): Add binding for
6315 `log-edit-kill-biffer'.
6316 (log-edit-hide-buf): Add a FIXME comment.
6317 (log-edit-add-new-comment): New function, extracted from
6318 `log-edit-done'.
6319 (log-edit-done, log-edit-add-to-changelog): Use it.
6320 (log-edit-kill-buffer): New command.
6321
6322 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6323
6324 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6325 instead of killing the buffer.
6326
6327 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6330
6331 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6332
6333 * net/eww.el (eww-form-checkbox-selected-symbol)
6334 (eww-form-checkbox-symbol): New customizable variable.
6335 (eww-form-checkbox, eww-toggle-checkbox):
6336 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6337
6338 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6339 (shr--get-media-pref, shr--extract-best-source): New function.
6340 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6341 no :src tag was specified.
6342
6343 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6344 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6345 Use \\` to match beginning of string instead of ^.
6346 (eww-browse-with-external-browser): Provide optional URL parameter.
6347 (eww-render): Set `eww-current-title' back to "".
6348
6349 * net/shr.el (shr-tag-video): Display content for video if no
6350 poster is available.
6351 (shr-tag-audio): Add support for <audio> tag.
6352
6353 * net/eww.el (eww-text-input-types): New const.
6354 (eww-process-text-input): Treat input types in
6355 `eww-text-input-types' as text.
6356
6357 * net/shr.el (shr-tag-table): Fix comment typo.
6358
6359 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6360
6361 * net/eww.el (eww-follow-link): New command to avoid reloading
6362 pages when we follow #target links (bug#15243).
6363 (eww-quit): Special mode buffers shouldn't query before exiting.
6364
6365 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6366
6367 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6368 forms.
6369
6370 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6371
6372 * net/eww.el (eww-restore-history): Update the window title after
6373 moving in the history.
6374 (eww-current-dom): New variable used to save the current DOM.
6375
6376 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6377
6378 * vc/log-edit.el (log-edit-mode-map): Add binding for
6379 `log-edit-beginning-of-line'.
6380 (log-edit-setup-add-author): New user option.
6381 (log-edit-beginning-of-line): New command.
6382 (log-edit): Move major mode call above the contents setup so that
6383 the local variable values are already applied.
6384 (log-edit): Only insert "Author: " when
6385 `log-edit-setup-add-author' is non-nil.
6386 (log-edit): When SETUP is non-nil, position point after ": "
6387 instead of point-min.
6388
6389 2013-12-01 Glenn Morris <rgm@gnu.org>
6390
6391 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6392
6393 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6394
6395 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6396 redisplay to make sure the initial frame gets a chance to become
6397 visible. (Bug#16014)
6398
6399 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6400
6401 Support resizing frames and windows pixelwise.
6402 * cus-start.el (frame-resize-pixelwise)
6403 (window-resize-pixelwise): New entries.
6404 * emacs-lisp/debug.el (debug): Use window-total-height instead
6405 of window-total-size.
6406 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6407 * help.el (describe-bindings-internal): Use help-buffer as
6408 argument for with-help-window.
6409 (temp-buffer-max-width): New option.
6410 (resize-temp-buffer-window, help-window-setup)
6411 (with-help-window): Rewrite.
6412 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6413 dragging dividers.
6414 * window.el (frame-char-size, window-min-pixel-height)
6415 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6416 (window-min-pixel-width, window-safe-min-pixel-size)
6417 (window-combination-p, window-safe-min-size)
6418 (window-resizable-p, window--size-to-pixel)
6419 (window--pixel-to-size, window--resize-apply-p): New functions.
6420 (window-safe-min-height): Fix doc-string.
6421 (window-size, window-min-size, window--min-size-1)
6422 (window-sizable, window-sizable-p, window--min-delta-1)
6423 (window-min-delta, window--max-delta-1, window-max-delta)
6424 (window--resizable, window--resizable-p, window-resizable)
6425 (window-full-height-p, window-full-width-p, window-at-side-p)
6426 (window--in-direction-2, window-in-direction)
6427 (window--resize-reset-1, window--resize-mini-window)
6428 (window-resize, window-resize-no-error)
6429 (window--resize-child-windows-normal)
6430 (window--resize-child-windows, window--resize-siblings)
6431 (window--resize-this-window, window--resize-root-window)
6432 (window--resize-root-window-vertically)
6433 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6434 (maximize-window, minimize-window, delete-window)
6435 (quit-restore-window, window-split-min-size, split-window)
6436 (balance-windows-2, balance-windows)
6437 (balance-windows-area-adjust, balance-windows-area)
6438 (window--state-get-1, window-state-get, window--state-put-1)
6439 (window--state-put-2, window-state-put)
6440 (display-buffer-record-window, window--display-buffer):
6441 Make functions handle pixelwise sizing of windows.
6442 (display-buffer--action-function-custom-type)
6443 (display-buffer-fallback-action):
6444 Add display-buffer-in-previous-window.
6445 (display-buffer-use-some-window): Resize window to height it had
6446 before.
6447 (fit-window-to-buffer-horizontally): New option.
6448 (fit-frame-to-buffer): Describe new values.
6449 (fit-frame-to-buffer-bottom-margin): Replace with
6450 fit-frame-to-buffer-margins.
6451 (window--sanitize-margin): New function.
6452 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6453 using window-text-pixel-size.
6454
6455 2013-11-30 Glenn Morris <rgm@gnu.org>
6456
6457 * emacs-lisp/bytecomp.el (byte-compile-form):
6458 Make the `interactive-only' warning like the `obsolete' one.
6459 * comint.el (comint-run):
6460 * files.el (insert-file-literally, insert-file):
6461 * replace.el (replace-string, replace-regexp):
6462 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6463 (goto-line, insert-buffer, next-line, previous-line):
6464 Tweak `interactive-only' spec.
6465
6466 Stop keeping (most) generated cedet grammar files in the repository.
6467 * Makefile.in (semantic): New.
6468 (compile-main): Depend on semantic.
6469
6470 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6473 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6474
6475 * uniquify.el (uniquify-buffer-name-style): Change default.
6476
6477 * loadup.el: Preload "uniquify".
6478
6479 * time.el (display-time-update): Update all mode lines (bug#15999).
6480
6481 * electric.el (electric-indent-mode): Enable by default.
6482 * loadup.el: Preload "electric".
6483
6484 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6485
6486 * emacs-lisp/helpers.el (string-empty-p): New function.
6487 (string-blank-p): New function.
6488
6489 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6490
6491 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6492 (Bug#14029).
6493
6494 2013-11-29 Andreas Politz <politza@fh-trier.de>
6495 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6496 allow non-lambda lists as functions.
6497 (imenu--in-alist): Don't recurse into non-subalists.
6498 (imenu): Don't pass function itself as an argument (Bug#14029).
6499
6500 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * progmodes/python.el (python-mode-map): Remove binding for ":".
6503 (python-indent-electric-colon): Remove command.
6504 (python-indent-post-self-insert-function): Integrate the previous code
6505 of python-indent-electric-colon. Make it conditional on
6506 electric-indent-mode.
6507 (python-mode): Add ?: to electric-indent-chars.
6508 Move python-indent-post-self-insert-function to the end of
6509 post-self-insert-hook.
6510
6511 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * doc-view.el (doc-view-goto-page): Update mode-line.
6514
6515 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6516
6517 2013-11-27 Glenn Morris <rgm@gnu.org>
6518
6519 * international/charprop.el, international/uni-bidi.el:
6520 * international/uni-category.el, international/uni-combining.el:
6521 * international/uni-comment.el, international/uni-decimal.el:
6522 * international/uni-decomposition.el, international/uni-digit.el:
6523 * international/uni-lowercase.el, international/uni-mirrored.el:
6524 * international/uni-name.el, international/uni-numeric.el:
6525 * international/uni-old-name.el, international/uni-titlecase.el:
6526 * international/uni-uppercase.el:
6527 Remove generated files from VCS repository.
6528
6529 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6530
6531 * filenotify.el (file-notify-add-watch): Don't special-case
6532 w32notify when computing the directory to watch.
6533
6534 2013-11-27 Glenn Morris <rgm@gnu.org>
6535
6536 Make bootstrap without generated uni-*.el files possible again.
6537 * loadup.el: Update command-line-args checking for unidata-gen.
6538 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6539 * composite.el, international/characters.el:
6540 Handle unicode tables being undefined.
6541
6542 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6543 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6544 (compile-main): Depend on leim rule.
6545 (leim): New rule.
6546 * loadup.el: Move leim-list.el to leim/ subdirectory.
6547 * startup.el (normal-top-level): No more leim directory.
6548 * international/ja-dic-cnv.el (skkdic-convert):
6549 Disable version-control and autoloads in output files.
6550 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6551 Disable version-control and autoloads in output files.
6552 * leim/quail: Move here from ../leim.
6553 * leim/quail/hangul.el (hangul-input-method-activate):
6554 Add autoload cookie.
6555 (generated-autoload-load-name): Set file-local value.
6556 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6557 (generated-autoload-load-name): Set file-local value.
6558
6559 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6560
6561 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6562 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6563 (eww-quit): Ask confirmation before quitting eww.
6564
6565 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6566
6567 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6568 reading output from Diff on MS-Windows and MS-DOS.
6569
6570 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6571
6572 * emacs-lisp/helpers.el (string-reverse): New function.
6573
6574 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6575
6576 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6577 names on MS Windows, like "/[::1]:".
6578
6579 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6580 SWITCHES.
6581
6582 2013-11-26 Glenn Morris <rgm@gnu.org>
6583
6584 * progmodes/python.el (python-indent-guess-indent-offset):
6585 Avoid corner-case error. (Bug#15975)
6586
6587 Preload leim-list.el. (Bug#4789)
6588 * loadup.el: Load leim-list.el when found.
6589 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6590
6591 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6592
6593 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6594
6595 * emacs-lisp/helpers.el (string-join): New function.
6596
6597 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6598
6599 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6600 Mark as obsolete and replace it with a symbol property.
6601 (byte-compile-form): Use new 'interactive-only property.
6602 * comint.el, files.el, replace.el, simple.el:
6603 Apply new 'interactive-only properly.
6604
6605 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6606
6607 * window.el (display-buffer-at-bottom): Make sure that
6608 split-window-sensibly creates the new window on bottom
6609 (Bug#15961).
6610
6611 2013-11-23 David Kastrup <dak@gnu.org>
6612
6613 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6614 on the conflict markers when available.
6615 (smerge--get-marker): New function.
6616 (smerge-end-re, smerge-base-re): Add subgroup.
6617
6618 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 * frame.el (handle-focus-in, handle-focus-out): Add missing
6621 interactive spec.
6622
6623 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6624
6625 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6626 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6627
6628 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6629
6630 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6631 (gomoku--last-pos): New var.
6632 (gomoku--intangible-chars): New const.
6633 (gomoku--intangible): New function.
6634 (gomoku-mode): Use it. Derive from special-mode.
6635 (gomoku-move-up): Adjust line count.
6636 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6637 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6638 Simplify accordingly.
6639
6640 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6641 Remove blink-cursor code.
6642 (blink-cursor-timer-function, blink-cursor-suspend):
6643 Don't special-case GUIs.
6644 (blink-cursor-mode): Use focus-in/out-hook.
6645
6646 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6647
6648 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6649 work when annotation is invisible (Bug#13886).
6650
6651 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6652
6653 * json.el (json-alist-p): Only return non-nil if the alist has
6654 simple keys (Bug#13518).
6655
6656 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6657
6658 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6659 when control-statement is the first statement in a buffer (Bug#15956).
6660
6661 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6662
6663 * imenu.el (imenu-generic-skip-comments-and-strings):
6664 New option (Bug#15560).
6665 (imenu--generic-function): Use it.
6666
6667 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6668
6669 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6670 (Bug#13898)
6671
6672 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6673
6674 * emacs-lisp/helpers.el: Add some string helpers.
6675 (string-trim-left): Removes leading whitespace.
6676 (string-trim-right): Removes trailing whitespace.
6677 (string-trim): Removes leading and trailing whitespace.
6678
6679 * subr.el (string-suffix-p): New function.
6680
6681 2013-11-23 Glenn Morris <rgm@gnu.org>
6682
6683 * progmodes/python.el (python-shell-send-file):
6684 Add option to delete file when done. (Bug#15647)
6685 (python-shell-send-string, python-shell-send-region): Use it.
6686
6687 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6688
6689 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6690 to set buffer-read-only to t, never to nil. (Bug#15938)
6691
6692 * textmodes/tex-mode.el (latex-noindent-environments):
6693 Add safe-local-variable property. (Bug#15936)
6694
6695 2013-11-23 Glenn Morris <rgm@gnu.org>
6696
6697 * textmodes/enriched.el (enriched-mode): Doc fix.
6698 * emacs-lisp/authors.el (authors-renamed-files-alist):
6699 Add enriched.doc -> enriched.txt.
6700
6701 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6702
6703 2013-11-22 Leo Liu <sdl.web@gmail.com>
6704
6705 * progmodes/octave.el (inferior-octave-startup): Spit out error
6706 message.
6707
6708 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6709
6710 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6711 Improve docstring.
6712 Add :version.
6713 (ruby-encoding-magic-comment-style): Add :version.
6714
6715 2013-11-22 Leo Liu <sdl.web@gmail.com>
6716
6717 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6718 (Bug#15076)
6719 (octave-help-mode): Adapt to change to help-mode-finish to use
6720 derived-mode-p on 2013-09-17.
6721 (inferior-octave-prompt): Also match octave-gui.
6722 (octave-kill-process): Don't ask twice. (Bug#10564)
6723
6724 2013-11-22 Leo Liu <sdl.web@gmail.com>
6725
6726 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6727 (inferior-octave-startup, inferior-octave-check-process)
6728 (inferior-octave-track-window-width-change)
6729 (octave-completion-at-point, octave-eldoc-function): Use it.
6730 (octave-kill-process): Provide confirmation. (Bug#10564)
6731
6732 2013-11-21 Leo Liu <sdl.web@gmail.com>
6733
6734 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6735 Fix obsolete variable comment-use-global-state.
6736
6737 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6738
6739 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6740 Add `octave-source-file'.
6741 (octave-source-file): New function. (Bug#15935)
6742
6743 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6744
6745 * net/eww.el (eww-local-regex): New variable.
6746 (eww): Use it to detect localhost and similar.
6747
6748 2013-11-21 Leo Liu <sdl.web@gmail.com>
6749
6750 Add completion for command `ag'.
6751 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6752 (pcomplete/ag): New function.
6753 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6754
6755 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6758 (bug#14646).
6759 (make-obsolete): Remove interactive spec.
6760
6761 2013-11-21 Glenn Morris <rgm@gnu.org>
6762
6763 * startup.el (command-line-1): Use path-separator with -L.
6764
6765 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6766
6767 * emacs-lisp/package.el (describe-package-1): Add package archive
6768 to shown fields.
6769
6770 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6771
6772 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6773 Change default to "# encoding: %s" to differentiate it from the
6774 default Ruby encoding comment template.
6775
6776 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6777
6778 * ses.el (ses-mode): Doc fix. (Bug#14748)
6779
6780 2013-11-20 Leo Liu <sdl.web@gmail.com>
6781
6782 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6783
6784 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6785
6786 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6787 when rebase or bisect are in progress.
6788
6789 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6790
6791 * filenotify.el (file-notify-add-watch): Doc fix.
6792
6793 2013-11-19 Leo Liu <sdl.web@gmail.com>
6794
6795 * obsolete/rcompile.el: Mark obsolete.
6796
6797 * progmodes/compile.el (compilation-start)
6798 (compilation-goto-locus, compilation-find-file):
6799 Pass no-display-ok and handle nil value from display-buffer.
6800 (Bug#13594)
6801
6802 * window.el (display-buffer-alist, display-buffer): Document the
6803 new parameter no-display-ok. Return either a window or nil
6804 but never a non-window value.
6805
6806 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * electric.el (electric-indent-mode-map): Remove.
6809 (electric-indent-mode): Change the global-map instead (bug#15915).
6810
6811 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6812 Use add-function.
6813
6814 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * emacs-lisp/nadvice.el (remove-function): Align with
6817 add-function's behavior.
6818
6819 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6820 (gdb--string-regexp): New constant.
6821 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6822 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6823 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6824 submatch 1.
6825 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6826 Adjust use accordingly.
6827 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6828
6829 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6830
6831 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6832 interpolation curlies (Bug#15914).
6833
6834 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6835
6836 * calc/calc.el (calc-context-sensitive-enter): New variable.
6837 (calc-enter): Use `calc-context-sensitive-enter'.
6838
6839 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6840
6841 * progmodes/cfengine.el: Version bump.
6842 (cfengine-cf-promises): New defcustom to locate cf-promises.
6843 (cfengine3-vartypes): Add new "data" type.
6844 (cfengine3--current-word): New function to get current name-like
6845 word or its bounds.
6846 (cfengine3--current-function): New function to look up a CFEngine
6847 function's definition.
6848 (cfengine3-format-function-docstring): New function.
6849 (cfengine3-make-syntax-cache): New function.
6850 (cfengine3-documentation-function): New function: ElDoc glue.
6851 (cfengine3-completion-function): New function: completion glue.
6852 (cfengine3-mode): Set `compile-command',
6853 `eldoc-documentation-function', and add to
6854 `completion-at-point-functions'.
6855
6856 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6857
6858 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6859 `tramp-current-connection'.
6860
6861 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6862
6863 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6864 nil/self/true/false with "end of symbol".
6865
6866 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6867
6868 * subr.el (version-regexp-alist): Fix a typo.
6869
6870 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6871
6872 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6873 "en_US.utf8" and "LC_CTYPE" to "".
6874 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6875 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6876
6877 2013-11-15 Leo Liu <sdl.web@gmail.com>
6878
6879 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6880
6881 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * progmodes/gud.el (ctl-x-map):
6884 Remove C-x SPC binding. (Bug#12342)
6885 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6886
6887 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6888
6889 * subr.el (version-regexp-alist):
6890 Recognize hg, svn and darcs versions as snapshot versions.
6891
6892 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6893 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6894 (ruby--encoding-comment-required-p): Extract from
6895 `ruby-mode-set-encoding'.
6896 (ruby-mode-set-encoding): Add the ability to always insert an
6897 utf-8 encoding comment. Fix and simplify coding comment update
6898 logic.
6899
6900 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6901
6902 * net/tramp-gvfs.el (top): Run init code only when
6903 `tramp-gvfs-enabled' is not nil.
6904 (tramp-gvfs-enabled): Check also :system bus.
6905
6906 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 Sync with upstream verilog-mode revision 78e66ba.
6909 * progmodes/verilog-mode.el (verilog-end-of-defun)
6910 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6911 (verilog-get-end-of-defun): Remove unused argument.
6912 (verilog-comment-depth): Remove unused local `e'.
6913 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6914 Don't pass arg to verilog-get-end-of-defun.
6915
6916 2013-11-14 Glenn Morris <rgm@gnu.org>
6917
6918 * obsolete/assoc.el (aget): Prefix dynamic variable.
6919
6920 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6921
6922 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * widget.el, hfy-cmap.el: Remove bogus package version number.
6925
6926 2013-11-13 Glenn Morris <rgm@gnu.org>
6927
6928 * replace.el (replace-eval-replacement):
6929 Try to give more helpful error message. (Bug#15836)
6930
6931 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6932 (archive-7z-update): Avoid custom type mismatches.
6933
6934 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6935
6936 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6937
6938 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6939 address can be empty.
6940
6941 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6942 Accept nil SWITCHES.
6943 (tramp-gvfs-handle-write-region): Implement APPEND.
6944
6945 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6946
6947 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6948 binary "|" operator and closing block args delimiter.
6949 Remove FIXME comment referring to Ruby 1.8-only syntax.
6950 (ruby-smie--implicit-semi-p): Not after "|" operator.
6951 (ruby-smie--closing-pipe-p): New function.
6952 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6953 (ruby-smie-rules): Indent after "|".
6954
6955 2013-11-12 Glenn Morris <rgm@gnu.org>
6956
6957 * ps-print.el (ps-face-attribute-list):
6958 Handle anonymous faces. (Bug#15827)
6959
6960 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6961
6962 * window.el (display-buffer-other-frame): Fix doc-string.
6963 (Bug#15868)
6964
6965 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6968
6969 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6970
6971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6972 (tramp-sh-handle-file-local-copy): Don't write a message when
6973 saving temporary files.
6974
6975 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6976 both directories are remote.
6977 (tramp-smb-handle-directory-files): Do not return double entries.
6978 Do not expand full file names.
6979 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6980 (tramp-smb-handle-write-region): Implement APPEND.
6981 (tramp-smb-get-stat-capability): Fix a stupid bug.
6982
6983 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6986
6987 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6988
6989 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6990 throwing error over malformed let/let* (bug#15814).
6991
6992 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6994 * iswitchb.el (iswitchb-mode): Mark obsolete.
6995
6996 2013-11-11 Glenn Morris <rgm@gnu.org>
6997
6998 * international/uni-bidi.el, international/uni-category.el:
6999 * international/uni-name.el, international/uni-numeric.el:
7000 Regenerate for Unicode 6.3.0.
7001
7002 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7003
7004 * net/tramp.el (tramp-methods):
7005 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7006 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7007
7008 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7009
7010 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7011 Force highlighting text after Summary keyword in doc face for rpm.
7012
7013 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7014
7015 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7016 available and the word has no wildcards, append one to the grep pattern.
7017 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7018 (ispell-complete-word): Call `ispell-lookup-words' with the value
7019 independent of `ispell-look-p'.
7020
7021 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7022
7023 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7024 Not after "||".
7025 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7026 their parent.
7027
7028 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7031 (ruby-font-lock-keywords): Use backquote.
7032
7033 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7034
7035 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7036 (ruby-smie--backward-token): Only consider full-string matches.
7037
7038 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7039
7040 * faces.el (describe-face): Add distant-foreground.
7041
7042 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7043
7044 * progmodes/ruby-mode.el: Improve encoding comment handling.
7045 (ruby-encoding-magic-comment-style): New option.
7046 (ruby-custom-encoding-magic-comment-template): New option.
7047 (ruby--insert-coding-comment, ruby--detect-encoding):
7048 New functions extracted from `ruby-mode-set-encoding'.
7049 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7050 to control the style of the auto-inserted encoding comment.
7051
7052 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7053
7054 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7055 Use `smie-backward-sexp' with token argument.
7056
7057 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7058
7059 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7060 Remove instrumentation code.
7061
7062 2013-11-08 Glenn Morris <rgm@gnu.org>
7063
7064 * progmodes/autoconf.el (autoconf-mode):
7065 Tweak comment-start-skip. (Bug#15822)
7066
7067 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7070 at bobp (bug#15826).
7071 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7072
7073 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7074
7075 * man.el (Man-start-calling): New macro, extracted from
7076 Man-getpage-in-background.
7077 (Man-getpage-in-background): Use it.
7078 (Man-update-manpage): New command.
7079 (Man-mode-map): Bind it.
7080
7081 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7082
7083 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7084 of "and", "or", "&&" and "||".
7085 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7086 argument. Prohibit opening curly brace because it could only be a
7087 block opener in that position.
7088 (ruby-smie--forward-token, ruby-smie--backward-token):
7089 Separate "|" from "&" or "*" going after it. That can happen in block
7090 arguments.
7091 (ruby-smie--indent-to-stmt): New function, seeks the end of
7092 previous statement or beginning of buffer.
7093 (ruby-smie-rules): Use it.
7094 (ruby-smie-rules): Check if there's a ":" before a curly block
7095 opener candidate; if there is, it's a hash.
7096
7097 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7100 (cl--block-wrapper): Fix last accidental change.
7101
7102 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7103
7104 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7105 Instrument, in order to hunt failure on hydra.
7106
7107 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7108
7109 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7110 malformed bindings form (bug#15814).
7111
7112 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7113
7114 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7115 "." compared to " @ ". This incidentally fixes some indentation
7116 examples with "do".
7117 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7118 (ruby-smie-grammar): New tokens: "and" and "or".
7119 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7120 Exclude "and" and "or". Remove "do" in order to work around token
7121 priorities.
7122 (ruby-smie-rules): Add all infix tokens. Handle the case of
7123 beginning-of-buffer.
7124
7125 2013-11-06 Glenn Morris <rgm@gnu.org>
7126
7127 * Makefile.in (setwins_almost, setwins_for_subdirs):
7128 Avoid accidental matches.
7129
7130 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * menu-bar.el (popup-menu): Use key-binding.
7133
7134 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7135
7136 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7137 menus, support also the menus produced by minor modes.
7138 (Bug#15817)
7139
7140 2013-11-06 Leo Liu <sdl.web@gmail.com>
7141
7142 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7143 DISTANCE to bound the search. All uses changed. (Bug#15808)
7144
7145 2013-11-06 Glenn Morris <rgm@gnu.org>
7146
7147 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7148 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7149 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7150
7151 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * electric.el (electric-indent-just-newline): New command.
7154 (electric-indent-mode-map): New keymap.
7155 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7156 Re-add :group which weren't redundant.
7157
7158 * electric.el (electric-indent-local-mode): New minor mode.
7159 (electric-indent-functions-without-reindent): New var.
7160 (electric-indent-post-self-insert-function): Use it.
7161 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7162
7163 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7164
7165 * international/quail.el (quail-help): Be more explicit about the
7166 meaning of the labels shown on the keys. (Bug#15800)
7167
7168 * startup.el (normal-top-level): Load the subdirs.el files before
7169 setting the locale environment. (Bug#15805)
7170
7171 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7172
7173 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7174 via arguments so as to get the right ones (bug#15418).
7175
7176 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7177
7178 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7179
7180 Fix problems found while writing a test suite.
7181
7182 * net/tramp-compat.el (tramp-compat-load): New defun.
7183 * net/tramp.el (tramp-handle-load): Use it.
7184
7185 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7186 "(numberp ok-if-already-exists)" correctly.
7187
7188 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7189
7190 * international/characters.el (glyphless-char-display-control):
7191 Add usage note.
7192
7193 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7194
7195 * progmodes/python.el (python-mode):
7196 * progmodes/scheme.el (scheme-mode):
7197 * progmodes/prolog.el (prolog-mode):
7198 * progmodes/ruby-mode.el (ruby-mode):
7199 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7200 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7201
7202 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * rect.el (rectangle--highlight-for-redisplay):
7205 * emacs-lisp/smie.el (smie--next-indent-change):
7206 Use buffer-chars-modified-tick.
7207
7208 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7209
7210 * electric.el (electric-indent-post-self-insert-function):
7211 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7212
7213 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7214
7215 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7216
7217 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7218
7219 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7220 (bug#15786).
7221
7222 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7223
7224 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7225
7226 * progmodes/python.el: Fix up last change.
7227 (python-shell--save-temp-file): New function.
7228 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7229 `string' comes from the current buffer.
7230 (python-shell-send-string-no-output): Remove `msg' arg.
7231 (python--use-fake-loc): New var.
7232 (python-shell-buffer-substring): Obey it. Try to compensate for the
7233 extra coding line added by python-shell--save-temp-file.
7234 (python-shell-send-region): Use python-shell--save-temp-file and
7235 python-shell-send-file directly. Add `nomain' argument.
7236 (python-shell-send-buffer): Use python-shell-send-region.
7237 (python-electric-pair-string-delimiter): New function.
7238 (python-mode): Use it.
7239
7240 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7241
7242 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7243 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7244 environment and decoding all of the default-directory's to here
7245 from command-line.
7246 (command-line): Decode also argv[0].
7247
7248 * loadup.el: Error out if default-directory is a multibyte string
7249 when we are dumping.
7250
7251 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7252
7253 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7254
7255 * emacs-lisp/package.el (package-menu-mode)
7256 (package-menu--print-info, package-menu--archive-predicate):
7257 Add Archive column to package list.
7258
7259 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7260
7261 Fix problems found while writing a test suite.
7262
7263 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7264 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7265 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7266 to nil when running original file name handler. Otherwise,
7267 there are problems with constructs like "$$FOO".
7268
7269 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7270 for `localname'.
7271
7272 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7273
7274 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7275
7276 * subr.el (version<, version<=, version=):
7277 Update docstrings with information for snapshot versions.
7278
7279 * helpers.el: New library for misc helper functions.
7280 (hash-table-keys): New function returning a list of hash keys.
7281 (hash-table-values): New function returning a list of hash values.
7282
7283 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7284
7285 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7286 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7287
7288 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7289
7290 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7291 checking whether point is after a 1-letter word.
7292
7293 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7294
7295 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7296 Don't infloop when expanding region over `multiline' syntax-type that
7297 begins a line (bug#15778).
7298
7299 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7300
7301 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7302 Make it into a proper minor mode.
7303 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7304 (rectangle-mark-mode-map): New keymap.
7305 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7306
7307 2013-11-04 Glenn Morris <rgm@gnu.org>
7308
7309 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7310
7311 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7314 (ruby-smie-rules): Use smie-rule-parent instead.
7315
7316 * emacs-lisp/smie.el (smie-rule-parent): Always call
7317 smie-indent-virtual rather than only for hanging tokens.
7318 (smie--next-indent-change): New helper command.
7319
7320 2013-11-03 Glenn Morris <rgm@gnu.org>
7321
7322 * Makefile.in (abs_srcdir): Remove.
7323 (emacs): Unset EMACSLOADPATH.
7324
7325 2013-11-02 Glenn Morris <rgm@gnu.org>
7326
7327 * Makefile.in (EMACS): Use a relative filename.
7328 (abs_top_builddir): Remove.
7329 (custom-deps, finder-data, autoloads): Use --chdir.
7330
7331 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7332
7333 Use relative filenames in TAGS files.
7334 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7335 (lisptagsfiles4, TAGS): Use relative file names.
7336 (TAGS-LISP): Remove.
7337 (maintainer-clean): No more TAGS-LISP file.
7338
7339 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7340 (lisptagsfiles4): Use absolute filenames again.
7341 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7342 Remove all *loaddefs files, not just the first. Remove esh-groups.
7343 (maintainer-clean): Delete TAGS, TAGS-LISP.
7344
7345 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7346
7347 * emacs-lisp/package.el (package-version-join):
7348 Recognize snapshot versions.
7349
7350 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7351
7352 * subr.el (version-regexp-alist): Add support for snapshot versions.
7353
7354 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7355
7356 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7357 New function, replacement for `smie-rule-parent' for when we want to
7358 skip over our direct parent if it's an assignment token..
7359 (ruby-smie-rules): Use it.
7360
7361 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7362
7363 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7364 unconditionally. Remove now unnecessary forward declarations.
7365 Remove XEmacs-specific setup.
7366 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7367 (ruby-font-lock-syntactic-keywords)
7368 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7369 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7370 (ruby-here-doc-end-syntax): Remove.
7371 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7372 defined as function.
7373
7374 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7375
7376 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7377
7378 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7379
7380 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7381 table and abbrev table, `define-derived-mode' does that for us
7382 anyway.
7383
7384 2013-11-01 Glenn Morris <rgm@gnu.org>
7385
7386 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7387 files is atomic for some time, so no parallel compilation issues).
7388
7389 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7390
7391 * faces.el (face-x-resources): Add :distant-foreground.
7392 (region): Use :distant-foreground for gtk and ns.
7393
7394 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7395
7396 Allow multiple bibliographies when BibLaTeX is used rather than
7397 BibTeX.
7398 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7399 (reftex-locate-bibliography-files): Us it.
7400
7401 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7402
7403 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7404 allow comments in pbm files.
7405
7406 * term/w32-win.el (dynamic-library-alist): Support newer versions
7407 of libjpeg starting with v7: look only for the DLL from the
7408 version against which Emacs was built.
7409 Support versions of libpng beyond 1.4.x.
7410 Support libtiff v4.x.
7411
7412 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7413
7414 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7415 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7416 Add property :safe.
7417 (ruby-deep-arglist): Add property :type.
7418
7419 2013-10-31 Glenn Morris <rgm@gnu.org>
7420
7421 * Makefile.in (custom-deps, finder-data): No need to setq the target
7422 variables, we are in the right directory and the defaults work fine.
7423
7424 2013-10-30 Glenn Morris <rgm@gnu.org>
7425
7426 * Makefile.in (autoloads): Do not use abs_lisp.
7427
7428 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7429 `newline' does not respect `standard-output', so use `princ'.
7430
7431 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7432
7433 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7434 * buff-menu.el (Buffer-menu--unmark): New function.
7435 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7436
7437 2013-10-30 Glenn Morris <rgm@gnu.org>
7438
7439 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7440
7441 * emacs-lisp/package.el (lm-homepage): Declare.
7442
7443 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7444 Fix doc typos.
7445
7446 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7447
7448 * Makefile.in (finder-data, autoloads, update-subdirs)
7449 (compile-main, compile-clean, compile-always, bootstrap-clean):
7450 Check return value of cd.
7451 (compile-calc): Remove.
7452
7453 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7456
7457 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7458 (byte-compile-and-folded): New function.
7459 (=, <, >, <=, >=): Use it.
7460
7461 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7462 (path-separator, null-device, buffer-file-coding-system)
7463 (lpr-headers-switches): Check system-type before modifying them.
7464 (find-buffer-file-type-coding-system): Mark obsolete.
7465 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7466 find-file-not-found-set-buffer-file-coding-system.
7467 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7468 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7469 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7470 (w32-direct-print-region-helper, w32-direct-print-region-function)
7471 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7472 * startup.el (normal-top-level-add-subdirs-to-load-path):
7473 * ps-print.el (ps-print-region-function):
7474 * lpr.el (print-region-function): Use new name.
7475
7476 * subr.el (custom-declare-variable-early): Remove function.
7477 (custom-declare-variable-list): Remove var.
7478 (error, user-error): Remove `while' loop.
7479 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7480 (user-emacs-directory-warning, locate-user-emacs-file):
7481 Move to files.el.
7482 * simple.el (read-quoted-char-radix, read-quoted-char):
7483 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7484 Move from subr.el.
7485 * custom.el (custom-declare-variable-list): Don't process
7486 custom-declare-variable-list.
7487
7488 * progmodes/python.el (python-shell-get-buffer): New function.
7489 (python-shell-get-process): Use it.
7490 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7491 Python which encoding was used. Don't split-string since we only care
7492 about the first line. Return the temp-file, if applicable.
7493 (python-shell-send-region): Tell compile.el how to turn locations in
7494 the temp-file into locations in the source buffer.
7495
7496 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7497
7498 * subr.el (undefined): Add missing behavior from the C code for
7499 unbound keys.
7500
7501 * rect.el: Use lexical-binding. Add new rectangular region support.
7502 (rectangle-mark): New command.
7503 (rectangle--region): New var.
7504 (deactivate-mark-hook): Reset rectangle--region.
7505 (rectangle--extract-region, rectangle--insert-for-yank)
7506 (rectangle--highlight-for-redisplay)
7507 (rectangle--unhighlight-for-redisplay): New functions.
7508 (region-extract-function, redisplay-unhighlight-region-function)
7509 (redisplay-highlight-region-function): Use them to handle
7510 rectangular region.
7511 * simple.el (region-extract-function): New var.
7512 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7513 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7514 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7515 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7516 (redisplay-unhighlight-region-function)
7517 (redisplay-highlight-region-function): New vars.
7518 (redisplay--update-region-highlight): New function.
7519 (pre-redisplay-function): Use it.
7520 (exchange-point-and-mark): Don't deactivate the mark before
7521 reactivate-it anyway.
7522 * comint.el (comint-kill-region): Remove yank-handler argument.
7523 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7524 (delete-char): Remove property, since it's now part of their
7525 default behavior.
7526 (self-insert-iso): Remove property since this command doesn't exist.
7527
7528 * emacs-lisp/package.el (package--download-one-archive)
7529 (describe-package-1): Don't query the user about final newline.
7530
7531 2013-10-29 Daniel Colascione <dancol@dancol.org>
7532
7533 * net/tramp.el (tramp-methods): Document new functionality.
7534 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7535 tramp-hostname-checker if method provides one instead of scanning
7536 argument list for "%h" to decide hostname acceptability.
7537
7538 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7539
7540 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7541 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7542 Handle COPY-CONTENTS. (Bug#15737)
7543
7544 2013-10-28 Daiki Ueno <ueno@gnu.org>
7545
7546 * epa-file.el
7547 (epa-file-cache-passphrase-for-symmetric-encryption):
7548 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7549
7550 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7551
7552 * image.el (defimage, image-load-path): Doc fixes.
7553
7554 2013-10-27 Alan Mackenzie <acm@muc.de>
7555
7556 Indent statements in macros following "##" correctly.
7557 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7558 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7559
7560 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7561
7562 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7563
7564 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7565
7566 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7567 after `=' is probably a new expression.
7568
7569 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7570
7571 * man.el (man-imenu-title): New option.
7572 (Man-mode-map): Add menu. (Bug#15722)
7573 (Man-mode): Add imenu to menu.
7574
7575 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7576
7577 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7578 specific in what the first arg can be: a non-keyword word,
7579 string/regexp/percent literal opener, opening paren, or unary
7580 operator followed directly by word.
7581
7582 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7585 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7586 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7587 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7588 Remove vars, they do not apply any more.
7589 (prolog-mode-abbrev-table): Remove redundant declaration.
7590 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7591 (prolog-use-smie): Remove.
7592 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7593 supported by prolog-electric-if-then-else-flag.
7594 (prolog-mode-variables, prolog-menu): Use setq-local.
7595 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7596 Remove binding to `Backspace' since this key doesn't exist anyway.
7597 Remove bindings for electric self-inserting keys.
7598 (prog-mode): Assume it's defined.
7599 (prolog-post-self-insert): New function.
7600 (prolog-mode): Use it.
7601 (prolog-indent-line, prolog-indent-level)
7602 (prolog-find-indent-of-matching-paren)
7603 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7604 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7605 (prolog-goto-next-paren, prolog-in-string-or-comment)
7606 (prolog-tokenize, prolog-inside-mline-comment)
7607 (prolog-find-start-of-mline-comment): Remove functions.
7608 (prolog-find-unmatched-paren, prolog-clause-end)
7609 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7610 (prolog-electric--if-then-else): Rename from
7611 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7612 (prolog-tokenize-searchkey): Remove const.
7613 (prolog-clause-info): Use forward-sexp.
7614 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7615 (prolog-electric-if-then-else): Remove commands.
7616 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7617 for use in post-self-insert-hook.
7618 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7619 for use in post-self-insert-hook.
7620 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7621 for use in post-self-insert-hook.
7622 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7623 adapt it for use in post-self-insert-hook.
7624
7625 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7626
7627 * emacs-lisp/ert.el (ert-run-tests-interactively):
7628 Use `completing-read'. (Bug#9756)
7629
7630 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7631
7632 * simple.el (line-move): Call line-move-1 instead of
7633 line-move-visual when the current window hscroll is zero, but
7634 temporary-goal-column indicates we will need to hscroll as result
7635 of the movement. (Bug#15712)
7636
7637 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7638
7639 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7640 capitalization. Use :visible instead of :active.
7641 Fix `ruby-indent-exp' reference. Add menu items for the generic
7642 commands that are used with SMIE.
7643 (ruby-do-end-to-brace): Insert space after `{'.
7644
7645 2013-10-25 John Anthony <john@jo.hnanthony.com>
7646
7647 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7648
7649 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7650
7651 2013-10-25 Glenn Morris <rgm@gnu.org>
7652
7653 * vc/vc.el (vc-print-log): Don't use a working revision unless
7654 one was explicitly specified. (Bug#15322)
7655
7656 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7657
7658 * subr.el (add-to-list): Preserve return value in compiler-macro
7659 (bug#15692).
7660
7661 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7662
7663 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7664 result. Ask user to retry using '-all' flag. (Bug#15701)
7665
7666 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * emacs-lisp/smie.el: New smie-config system.
7669 (smie-config): New defcustom.
7670 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7671 (smie-config-guess, smie-config-save): New commands.
7672 (smie-config--mode-local, smie-config--buffer-local)
7673 (smie-config--trace, smie-config--modefuns): New vars.
7674 (smie-config--advice, smie-config--mode-hook)
7675 (smie-config--setter, smie-config-local, smie-config--get-trace)
7676 (smie-config--guess-value, smie-config--guess): New functions.
7677 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7678 text properties. Treat "string fence" syntax like string syntax.
7679
7680 * progmodes/sh-script.el (sh-use-smie): Change default.
7681 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7682 (sh-var-value): Simplify by CSE.
7683 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7684 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7685 is used.
7686 (sh-guess-basic-offset): Use cl-incf.
7687 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7688
7689 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7690
7691 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7692 (bug#15699).
7693
7694 2013-10-24 Glenn Morris <rgm@gnu.org>
7695
7696 * Makefile.in (abs_top_srcdir): Remove.
7697 (update-subdirs): Use relative path to update-subdirs.
7698
7699 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7700
7701 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7702 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7703 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7704 Call unmsys--file-name before expand-file-name, not after it.
7705
7706 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7707
7708 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7709 (ert-test-skipped): New error.
7710 (ert-skip, ert-stats-skipped): New defuns.
7711 (ert--skip-unless): New macro.
7712 (ert-test-skipped): New struct.
7713 (ert--run-test-debugger, ert-test-result-type-p)
7714 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7715 (ert--stats-set-test-and-result, ert-char-for-test-result)
7716 (ert-string-for-test-result, ert-run-tests-batch)
7717 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7718 Handle skipped tests. (Bug#9803)
7719
7720 2013-10-24 Glenn Morris <rgm@gnu.org>
7721
7722 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7723
7724 * Makefile.in (abs_top_srcdir): New, set by configure.
7725 (update-subdirs): Correct build-aux location.
7726
7727 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7728
7729 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7730 value, whether we could auto-deduce `backend', or not.
7731
7732 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7733 with parameters" example. Simplify the "is it block or is it
7734 hash" check, but also make it more thorough.
7735
7736 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7737
7738 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7739
7740 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7743 { if it is hanging.
7744
7745 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7746 :before ";".
7747
7748 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7749
7750 * progmodes/compile.el (compilation-directory-matcher)
7751 (compilation-page-delimiter):
7752 Support GNU Make-4.0 directory quoting. (Bug#15678)
7753
7754 2013-10-23 Leo Liu <sdl.web@gmail.com>
7755
7756 * ido.el (ido-tidy): Handle read-only text.
7757
7758 2013-10-23 Glenn Morris <rgm@gnu.org>
7759
7760 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7761 (emacs, compile, compile-always):
7762 Quote entities that might contain whitespace.
7763 (custom-deps, finder-data, autoloads): Use abs_lisp.
7764 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7765 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7766 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7767
7768 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7769
7770 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7771 Use `following-char'.
7772
7773 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7776 * progmodes/ruby-mode.el (ruby-smie-rules):
7777 Remove corresponding workaround. Fix indentation rule of ";" so it
7778 also applies when ";" is the parent.
7779
7780 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7781
7782 * frame.el (display-screens, display-pixel-height)
7783 (display-pixel-width, display-mm-width, display-backing-store)
7784 (display-save-under, display-planes, display-color-cells)
7785 (display-visual-class, display-monitor-attributes-list):
7786 Mention the optional ‘display’ argument in doc strings.
7787
7788 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7789
7790 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7791 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7792
7793 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7794
7795 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7796 TODO. Add "." after " @ ".
7797 (ruby-smie--at-dot-call): New function. Checks if point at method
7798 call with explicit target.
7799 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7800 to the method name tokens when it precedes them.
7801 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7802 (ruby-smie-rules): Add rule for indentation before and after "."
7803 token.
7804
7805 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * textmodes/remember.el (remember-diary-extract-entries):
7808 Avoid add-to-list.
7809
7810 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7811 an instruction.
7812
7813 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7814
7815 * progmodes/ruby-mode.el (ruby-smie-grammar):
7816 Add (almost) all infix operators.
7817 (ruby-smie--implicit-semi-p): Add new operator chars.
7818
7819 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7820 `smie-down-list'.
7821 (ruby-smie--args-separator-p): Check that there's no newline
7822 between method call and its arguments.
7823
7824 2013-10-20 Alan Mackenzie <acm@muc.de>
7825
7826 Allow comma separated lists after Java "implements".
7827
7828 * progmodes/cc-engine.el (c-backward-over-enum-header):
7829 Parse commas.
7830 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7831 from a "disallowed" list in enum fontification.
7832
7833 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7834
7835 * startup.el (default-frame-background-mode): Remove unused defvar.
7836
7837 * progmodes/verilog-mode.el (verilog-mode): Don't set
7838 comment-indent-function globally.
7839
7840 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7841
7842 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7843 Move Info menu item creation to ns-win.el.
7844
7845 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7846 in menu bar.
7847
7848 * menu-bar.el: Move GNUstep specific menus...
7849
7850 * term/ns-win.el (ns-initialize-window-system): ... to here.
7851
7852 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * simple.el (newline): Only run post-self-insert-hook when
7855 called interactively.
7856
7857 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7858
7859 * icomplete.el (icomplete-with-completion-tables): Add :version.
7860
7861 2013-10-19 Alan Mackenzie <acm@muc.de>
7862
7863 Fix fontification bugs with constructors and const.
7864
7865 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7866 CASE 2) Remove the check for the absence of a suffix construct
7867 after a function declaration with only types (no identifiers) in
7868 the parentheses. Also, accept a function declaration with just a
7869 type inside the parentheses, if this type can be positively
7870 recognised as such, or if a prefix keyword like "explicit" nails
7871 down the construct as a declaration.
7872
7873 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7874
7875 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7876 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7877 the problem whereby selecting a menu item that leads to a
7878 minibuffer prompt moves the cursor out of the minibuffer window,
7879 making it hard to type at the prompt. Suggested by Stefan Monnier
7880 <monnier@iro.umontreal.ca>.
7881
7882 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7883
7884 * menu-bar.el: Don't make Services menu.
7885
7886 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7887
7888 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7889 (ffap-alist): Use ffap-c++-mode for c++-mode.
7890 (ffap-c++-path): New variable.
7891 (ffap-c++-mode): New function.
7892
7893 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7894
7895 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7896
7897 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7898
7899 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7900 introduced on 2013-09-08, which results in an infinite loop
7901 requesting a password.
7902
7903 2013-10-18 Glenn Morris <rgm@gnu.org>
7904
7905 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7906
7907 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7908
7909 Sync with upstream verilog-mode revision 1a6ecec7.
7910 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7911 (verilog-mode-release-date): Remove.
7912 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7913 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7914 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7915 (verilog-auto-tieoff-ignore-regexp)
7916 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7917 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7918 (verilog-signals-with, verilog-dir-cache-preserving)
7919 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7920 Doc fixes.
7921 (verilog-case-fold): New option, to control case folding in
7922 regexp searches, bug597.
7923 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7924 (verilog-string-match-fold, verilog-in-paren-count)
7925 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7926 (verilog-at-close-struct-p): New functions.
7927 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7928 (verilog-forward-sexp, verilog-set-auto-endcomments)
7929 (verilog-leap-to-case-head): Handle "unique0" case.
7930 (verilog-in-constraint-re): New constant.
7931 (verilog-keywords, verilog-type-font-keywords):
7932 Add some SystemVerilog 1800-2012 keywords.
7933 (verilog-label-be): Remove unimplemented argument, bug669.
7934 (verilog-batch-execute-func): When batch expanding clear
7935 create-lockfiles to prevent spurious user locks when a file ends
7936 up not changing.
7937 (verilog-calculate-indent, verilog-calc-1)
7938 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7939 (verilog-do-indent): Fix indentation of nested constraints
7940 and structures.
7941 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7942 (verilog-auto-inst-param): Use verilog-string-match-fold.
7943 (verilog-read-inst-module-matcher):
7944 Fix AUTOINST on gate primitives with #1.
7945 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7946 Reads all user-defined typed variables.
7947 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7948 (verilog-signals-matching-regexp)
7949 (verilog-signals-not-matching-regexp, verilog-auto):
7950 Respect verilog-case-fold.
7951 (verilog-diff-report): Fix line count.
7952 (verilog-auto-assign-modport): Remove unused local `modi'.
7953 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7954 better handle multidimensional arrays.
7955 Fix packed array ports misadding bit index in AUTOINST, bug637.
7956 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7957 to not double-declare existing outputs and inputs, respectively.
7958 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7959 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7960 (verilog-sk-uvm-component): New skeleton.
7961 (verilog-submit-bug-report): Add verilog-case-fold,
7962 remove verilog-mode-release-date.
7963
7964 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7965
7966 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7967 as before.
7968
7969 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7970
7971 * textmodes/remember.el (remember): Set buffer-offer-save in
7972 remember buffers (bug#13566).
7973
7974 2013-10-18 Daniel Colascione <dancol@dancol.org>
7975
7976 When evaluating forms in ielm, direct standard output to ielm
7977 buffer. Add new ielm-return-for-effect command. Remove trailing
7978 whitespace throughout.
7979
7980 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7981 (ielm-return-for-effect): New command.
7982 (ielm-send-input): Accept optional `for-effect' parameter.
7983 (ielm-eval-input): Accept optional `for-effect' parameter.
7984 Bind `standard-output' to stream we create using
7985 `ielm-standard-output-impl'. Suppress printing result when
7986 `for-effect'.
7987 (ielm-standard-output-impl): New function.
7988 (inferior-emacs-lisp-mode): Explain new features in documentation.
7989
7990 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7991
7992 Code cleanup.
7993
7994 * net/tramp.el (tramp-debug-message): Do not check for connection
7995 buffer.
7996 (tramp-message): Use "vector" connection property.
7997
7998 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7999 (tramp-equal-remote, tramp-eshell-directory-change)
8000 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8001 (tramp-adb-handle-rename-file)
8002 * net/tramp-cmds.el (tramp-list-remote-buffers)
8003 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8004 * net/tramp-compat.el (tramp-compat-process-running-p)
8005 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8006 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8007 (tramp-gvfs-handle-rename-file)
8008 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8009 (tramp-set-file-uid-gid)
8010 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8011 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8012 of `file-remote-p'.
8013
8014 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8015 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8016 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8017 (tramp-gw-open-network-stream): Suppress unrelated traces.
8018
8019 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8020 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8021 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8022 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8023 connection property.
8024
8025 * net/tramp-cache.el (top): Suppress traces when reading
8026 persistency file.
8027
8028 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8029 Refactor common code. Improve debug message.
8030 (tramp-maybe-open-connection)
8031 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8032 connection buffer too early.
8033
8034 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8035 from `tramp-smb-actions-with-acl'.
8036 (tramp-smb-actions-set-acl): New defconst.
8037 (tramp-smb-handle-copy-directory)
8038 (tramp-smb-action-get-acl): New defun, renamed from
8039 `tramp-smb-action-with-acl'.
8040 (tramp-smb-action-set-acl): New defun.
8041 (tramp-smb-handle-set-file-acl): Rewrite.
8042
8043 2013-10-17 Glenn Morris <rgm@gnu.org>
8044
8045 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8046
8047 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8048
8049 * skeleton.el (skeleton-newline): Remove.
8050 (skeleton-internal-1): Use (insert "\n") instead.
8051
8052 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8053 let-bindings.
8054
8055 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8056 forward-sexp-function while we redo its job (bug#15613).
8057
8058 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8059
8060 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8061 represented by lists.
8062
8063 2013-10-16 Glenn Morris <rgm@gnu.org>
8064
8065 * tmm.el (tmm--history): New dynamic variable.
8066 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8067
8068 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8069
8070 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8071 (tramp-smb-errors): Add error messages.
8072 (tramp-smb-actions-with-acl): New defconst.
8073 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8074 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8075 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8076 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8077 (tramp-smb-get-stat-capability): Fix tests.
8078
8079 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8080
8081 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8082 (bug#15580).
8083
8084 2013-10-16 Glenn Morris <rgm@gnu.org>
8085
8086 * ansi-color.el (ansi-color-drop-regexp):
8087 Add 1J, 1K, 2K. (Bug#15617)
8088
8089 * files.el (hack-local-variables--warned-lexical): New.
8090 (hack-local-variables):
8091 Warn about misplaced lexical-binding. (Bug#15616)
8092
8093 * net/eww.el (eww-render): Always set eww-current-url,
8094 and update header line. (Bug#15622)
8095 (eww-display-html): ... Rather than just doing it here.
8096
8097 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8098
8099 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8100 menu navigations commands.
8101
8102 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8103
8104 * progmodes/subword.el (subword-capitalize): Be careful when
8105 the search for [[:alpha:]] fails (bug#15580).
8106
8107 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8108
8109 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8110 to commands that scroll the menu.
8111
8112 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8113
8114 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8115 Handle methods ending with `?' and `!'.
8116
8117 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8118
8119 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8120 `japanese-cp932' to `cp932' to fix the problem where saving a
8121 source file written in Shift_JIS twice would end up having
8122 `coding: japanese-cp932' which Ruby could not recognize.
8123 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8124 in `ruby-encoding-map'.
8125 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8126 doesn't need to be explicitly declared in magic comment.
8127 (ruby-encoding-map): Add type declaration for better customize UI.
8128
8129 2013-10-13 Glenn Morris <rgm@gnu.org>
8130
8131 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8132 Occur buffers are read-only. http://bugs.debian.org/720775
8133
8134 * emacs-lisp/authors.el (authors-fixed-entries):
8135 Comment out old alpha stuff.
8136
8137 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8138
8139 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8140 to `after-save-hook' instead of `before-save-hook'.
8141 (ruby-mode-set-encoding): Use the value of coding system used to
8142 write the file. Call `basic-save-buffer-1' after modifying the
8143 buffer.
8144
8145 2013-10-13 Alan Mackenzie <acm@muc.de>
8146
8147 Fix indentation/fontification of Java enum with
8148 "implements"/generic.
8149
8150 * progmodes/cc-engine.el (c-backward-over-enum-header):
8151 Extracted from the three other places and enhanced to handle generics.
8152 (c-inside-bracelist-p): Uses new function above.
8153 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8154 function above.
8155 (c-font-lock-enum-tail): Uses new function above.
8156
8157 2013-10-13 Kenichi Handa <handa@gnu.org>
8158
8159 * international/mule-cmds.el (select-safe-coding-system): Remove a
8160 superfluous condition in chekcing whether a coding system is safe
8161 or not.
8162
8163 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8164
8165 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8166
8167 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8168
8169 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8170
8171 2013-10-13 Glenn Morris <rgm@gnu.org>
8172
8173 * menu-bar.el (menu-bar-update-buffers):
8174 Unify Buffers menu prompt string. (Bug#15576)
8175
8176 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8177
8178 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8179 Add some entries.
8180 (authors-fixed-entries): Use accented form of name.
8181
8182 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8185 method calls (bug#15594).
8186 (ruby-smie--args-separator-p): New function.
8187 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8188 recognize paren-free method calls.
8189
8190 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8191 internals of universal-argument.
8192
8193 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8194
8195 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8196 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8197 dropped menu on second mouse click on the menu bar.
8198
8199 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8202 (explicit-shell-file-name): Declare.
8203 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8204 (sh-completion-at-point-function): New function.
8205 (sh-mode): Use it.
8206 (sh-smie--keyword-p): Remove unused argument.
8207 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8208 vars.
8209 (sh-set-shell): Always setup SMIE, even if we use the
8210 old indentation code.
8211
8212 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8213
8214 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8215 cases of ? and =.
8216 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8217 predicate would return nil are almost non-existent.
8218 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8219
8220 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8221 cache also after commands that modify the buffer but don't move
8222 point.
8223
8224 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * env.el (substitute-env-in-file-name): New function.
8227 (substitute-env-vars): Extend the meaning of the optional arg.
8228
8229 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8230
8231 * term/w32-win.el (dynamic-library-alist): Define separate lists
8232 of GIF DLLs for versions before and after 5.0.0 of giflib.
8233 (Bug#15531)
8234
8235 2013-10-10 João Távora <joaotavora@gmail.com>
8236
8237 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8238 not locked, use last revision and current source as
8239 defaults. (Bug#15569)
8240
8241 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8242
8243 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8244 menu-bar is hidden.
8245
8246 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8247
8248 * window.el (pop-to-buffer-same-window): Fix doc-string.
8249 (Bug#15492)
8250
8251 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8254
8255 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8256
8257 * calendar/icalendar.el (icalendar-import-file):
8258 Fix interactive spec. (Bug#15482)
8259
8260 2013-10-10 Glenn Morris <rgm@gnu.org>
8261
8262 * desktop.el (desktop-save): Default to saving in .emacs.d,
8263 since PWD is no longer in desktop-path by default. (Bug#15319)
8264
8265 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8266 now that text mode has a menu with the same entry.
8267 (menu-bar-text-mode-auto-fill): Remove now unused func.
8268 * textmodes/text-mode.el (text-mode-map):
8269 Use auto-fill help text from menu-bar.el.
8270
8271 2013-10-10 John Anthony <john@jo.hnanthony.com>
8272
8273 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8274
8275 2013-10-09 Juri Linkov <juri@jurta.org>
8276
8277 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8278 instead of this-command-keys. Add universal-argument-more and
8279 universal-argument-minus to the list of prefix commands. (Bug#15568)
8280
8281 2013-10-09 Glenn Morris <rgm@gnu.org>
8282
8283 * vc/vc-svn.el (vc-svn-create-repo):
8284 Expand paths in file://... url. (Bug#15446)
8285
8286 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8287 Add some entries.
8288 (authors): Remove unused local variables.
8289
8290 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * profiler.el: Create a more coherent calltree from partial backtraces.
8293 (profiler-format): Hide the tail with `invisible' so that C-s can still
8294 find the hidden elements.
8295 (profiler-calltree-depth): Don't recurse so enthusiastically.
8296 (profiler-function-equal): New hash-table-test.
8297 (profiler-calltree-build-unified): New function.
8298 (profiler-calltree-build): Use it.
8299 (profiler-report-make-name-part): Indent the calltree less.
8300 (profiler-report-mode): Add visibility specs for profiler-format.
8301 (profiler-report-expand-entry, profiler-report-toggle-entry):
8302 Expand the whole subtree when provided with a prefix arg.
8303
8304 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8305
8306 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8307 iuwu-mod token.
8308 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8309 hanging iuwu-mod token.
8310 (ruby-smie--forward-token): Do not include a dot after a token in
8311 that token.
8312 (ruby-smie--backward-token): Likewise.
8313
8314 2013-10-08 Juri Linkov <juri@jurta.org>
8315
8316 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8317 to isearch-other-control-char.
8318 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8319 and isearch-post-command-hook to post-command-hook.
8320 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8321 and isearch-post-command-hook from post-command-hook.
8322 (isearch-unread-key-sequence)
8323 (isearch-reread-key-sequence-naturally)
8324 (isearch-lookup-scroll-key, isearch-other-control-char)
8325 (isearch-other-meta-char): Remove functions.
8326 (isearch-pre-command-hook, isearch-post-command-hook):
8327 New functions based on isearch-other-meta-char rewritten
8328 relying on the new behavior of overriding-terminal-local-map
8329 that does not replace the local keymaps any more. (Bug#15200)
8330
8331 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8332
8333 Support menus on text-mode terminals.
8334 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8335 functionality.
8336
8337 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8338
8339 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8340 Move here from mouse.el.
8341 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8342 and arrow keys.
8343 (tty-menu-navigation-map): New map for TTY menu navigation.
8344
8345 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8346
8347 * frame.el (display-mouse-p): Report text-mode mouse as available
8348 on w32.
8349 (display-popup-menus-p): Report availability if mouse is
8350 available; don't condition on window-system.
8351
8352 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8353 (tty-menu-selected-face): New faces.
8354
8355 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8358 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8359 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8360 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8361 New constants.
8362 (lisp-mode-variables): New `elisp' argument.
8363 (emacs-lisp-mode): Use it.
8364 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8365 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8366
8367 * indent.el: Use lexical-binding.
8368 (indent-region): Add progress reporter.
8369 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8370 last step.
8371 (indent--next-tab-stop): New function to implement this behavior.
8372 (tab-to-tab-stop, move-to-tab-stop): Use it.
8373
8374 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8375
8376 * indent.el (indent-rigidly--current-indentation): New function.
8377 (indent-rigidly-map): New var.
8378 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8379
8380 2013-10-08 Bastien Guerry <bzg@gnu.org>
8381
8382 * register.el (insert-register): Fix 2013-10-07 change.
8383
8384 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * progmodes/perl-mode.el: Use lexical-binding.
8387 Remove redundant :group args.
8388 (perl-nochange): Change default to be closer to other major modes's
8389 standard behavior.
8390 (perl-indent-line): Don't consider text on current line as a
8391 valid beginning of function from which to indent.
8392
8393 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8394 with more than one argument (bug#15538).
8395
8396 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8397
8398 * vc/pcvs.el: Use lexical-binding.
8399 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8400 environment of `eval'.
8401 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8402 than a list of expressions. Adjust callers.
8403 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8404
8405 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8406
8407 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8408 case of the dot in a chained method call being on the following line.
8409
8410 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * electric.el (electric-indent-inhibit): New var.
8413 (electric-indent-post-self-insert-function): Use it.
8414 * progmodes/python.el (python-mode): Set it.
8415
8416 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8417 open braces.
8418
8419 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8420
8421 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8422 (css-mode): Use electric-indent-chars.
8423
8424 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8425 (font-lock-beg, font-lock-end): Move before first use.
8426 (nxml-mode): Use syntax-propertize-function.
8427 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8428 (nxml-extend-after-change-region): Remove.
8429 * nxml/xmltok.el: Use lexical-binding.
8430 (xmltok-save): Use `declare'.
8431 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8432 * nxml/nxml-util.el: Use lexical-binding.
8433 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8434 Use `declare'.
8435 * nxml/nxml-ns.el: Use lexical-binding.
8436 (nxml-ns-save): Use `declare'.
8437 (nxml-ns-prefixes-for): Avoid add-to-list.
8438 * nxml/rng-match.el: Use lexical-binding.
8439 (rng--ipattern): Use cl-defstruct.
8440 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8441 (rng-cons-group-after, rng-subst-group-after)
8442 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8443 Use closures instead of `(lambda...).
8444
8445 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8446
8447 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8448 of BEG and END.
8449
8450 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8451 Use `tramp-handle-insert-file-contents'.
8452 (tramp-gvfs-handle-insert-file-contents): Remove function.
8453
8454 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8455 Use `save-restriction' in order to keep markers.
8456
8457 * net/trampver.el: Update release number.
8458
8459 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * progmodes/compile.el (compilation-parse-errors):
8462 Use compilation--put-prop.
8463 (compilation--ensure-parse): Check compilation-multiline.
8464
8465 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8466
8467 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8468 lexical-binding.
8469
8470 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8471
8472 * progmodes/ruby-mode.el: Fix recently added tests.
8473 (ruby-smie-grammar): Add - and +.
8474 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8475 (ruby-smie--backward-id): New functions.
8476 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8477 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8478 any more.
8479
8480 2013-10-07 Leo Liu <sdl.web@gmail.com>
8481
8482 * register.el (register-preview-delay)
8483 (register-preview-functions): New variables.
8484 (register-read-with-preview, register-preview)
8485 (register-describe-oneline): New functions.
8486 (point-to-register, window-configuration-to-register)
8487 (frame-configuration-to-register, jump-to-register)
8488 (number-to-register, view-register, insert-register)
8489 (copy-to-register, append-to-register, prepend-to-register)
8490 (copy-rectangle-to-register): Use register-read-with-preview to
8491 read register. (Bug#15525)
8492
8493 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8494
8495 * net/network-stream.el (network-stream-open-starttls): Don't add
8496 --insecure if it's already present, because that gnutls-cli
8497 rejects getting that parameter twice.
8498
8499 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8500
8501 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8502 keyword, too.
8503
8504 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8505
8506 * newcomment.el (comment-use-global-state): Change default value
8507 to t, mark obsolete (Bug#15251).
8508 (comment-beginning): In addition to `comment-to-syntax', check the
8509 value of `comment-use-global-state'.
8510
8511 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8514 (ruby-comment-column): Follow the global default, by default.
8515 (ruby-smie-grammar): Add assignment syntax.
8516 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8517 open-paren, a comma, or a \.
8518 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8519 and line continuations.
8520 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8521 followed by implicit semi-colons. Add rule for string concatenation
8522 and for indentation at BOB.
8523 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8524
8525 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8526 calling next-sexp, since next-token may have skipped chars which
8527 next-sexp doesn't know should be skipped!
8528
8529 2013-10-05 Leo Liu <sdl.web@gmail.com>
8530
8531 * progmodes/octave.el (octave-send-region):
8532 Call compilation-forget-errors.
8533
8534 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8535
8536 * vc/vc-svn.el (vc-svn-find-admin-dir):
8537 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8538 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8539 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8540 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8541
8542 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8545
8546 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * subr.el (read-passwd): Hide chars even when called within a context
8549 where after-change-functions is disabled (bug#15501).
8550 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8551 until we removed ourself from overriding-terminal-local-map.
8552
8553 2013-10-04 Leo Liu <sdl.web@gmail.com>
8554
8555 * progmodes/octave.el (inferior-octave-mode):
8556 Call compilation-forget-errors.
8557
8558 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8559
8560 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8561
8562 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8563
8564 * net/secrets.el (secrets-create-collection): Add optional
8565 argument ALIAS. Use proper Label keyword. Append ALIAS as
8566 dbus-call-method argument. (Bug#15516)
8567
8568 2013-10-04 Leo Liu <sdl.web@gmail.com>
8569
8570 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8571 (inferior-octave-compilation-font-lock-keywords): New variables.
8572 (compilation-error-regexp-alist)
8573 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8574 (inferior-octave-mode): Use compilation-shell-minor-mode.
8575
8576 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8577
8578 * minibuffer.el (completion--replace): Be careful that `end' might be
8579 a marker.
8580
8581 2013-10-03 Daiki Ueno <ueno@gnu.org>
8582
8583 Add support for package signature checking.
8584 * emacs-lisp/package.el (url-http-file-exists-p)
8585 (epg-make-context, epg-context-set-home-directory)
8586 (epg-verify-string, epg-context-result-for)
8587 (epg-signature-status, epg-signature-to-string)
8588 (epg-check-configuration, epg-configuration)
8589 (epg-import-keys-from-file): Declare.
8590 (package-check-signature): New user option.
8591 (package-unsigned-archives): New user option.
8592 (package-desc): Add `signed' field.
8593 (package-load-descriptor): Set `signed' field if .signed file exists.
8594 (package--archive-file-exists-p): New function.
8595 (package--check-signature): New function.
8596 (package-install-from-archive): Check package signature.
8597 (package--download-one-archive): Check archive signature.
8598 (package-delete): Remove .signed file.
8599 (package-import-keyring): New command.
8600 (package-refresh-contents): Import default keyring.
8601 (package-desc-status): Add "unsigned" status.
8602 (describe-package-1, package-menu--print-info)
8603 (package-menu-mark-delete, package-menu--find-upgrades)
8604 (package-menu--status-predicate): Support "unsigned" status.
8605
8606 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8609 the new compilation scheme using the new byte-codes.
8610
8611 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8612 (byte-pophandler): New byte codes.
8613 (byte-goto-ops): Adjust accordingly.
8614 (byte-compile--use-old-handlers): New var.
8615 (byte-compile-catch): Use new byte codes depending on
8616 byte-compile--use-old-handlers.
8617 (byte-compile-condition-case--old): Rename from
8618 byte-compile-condition-case.
8619 (byte-compile-condition-case--new): New function.
8620 (byte-compile-condition-case): New function that dispatches depending
8621 on byte-compile--use-old-handlers.
8622 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8623 when we can.
8624
8625 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8626 Optimize under `condition-case' and `catch' if
8627 byte-compile--use-old-handlers is nil.
8628 (disassemble-offset): Handle new bytecodes.
8629
8630 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8631
8632 * subr.el (error): Use `declare'.
8633 (decode-char, encode-char): Use advertised-calling-convention instead
8634 of the docstring to discourage use of the `restriction' arg.
8635
8636 2013-10-03 Daiki Ueno <ueno@gnu.org>
8637
8638 * epg.el (epg-verify-file): Add a comment saying that it does not
8639 notify verification error as a return value nor a signal.
8640 (epg-verify-string): Ditto.
8641
8642 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8643
8644 * progmodes/compile.el (compilation-start): Try globbing the arg to
8645 `cd' (bug#15417).
8646
8647 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8648
8649 Sync with Tramp 2.2.8.
8650
8651 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8652 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8653 * net/trampver.el: Update release number.
8654
8655 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8656
8657 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8658 and default-process-coding-system for darwin only.
8659
8660 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8663
8664 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8665
8666 * vc/vc-git.el (vc-git-grep): Disable pager.
8667
8668 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8669
8670 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8671 Use :url instead of :homepage, as per
8672 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8673
8674 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8675 non-nil, use `syntax-ppss' (Bug#15251).
8676
8677 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8678
8679 * progmodes/octave.el (inferior-octave-startup-file):
8680 Prefer ~/.emacs.d/init_octave.m.
8681
8682 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8683
8684 * emacs-lisp/package.el (package-desc-from-define):
8685 Accept additional arguments as plist, convert them to an alist and store
8686 them in the `extras' slot.
8687 (package-generate-description-file): Convert extras alist back to
8688 plist and append to the `define-package' form arguments.
8689 (package--alist-to-plist): New function.
8690 (package--ac-desc): Add `extras' slot.
8691 (package--add-to-archive-contents): Check if the archive-contents
8692 vector is long enough, and if it is, pass its `extras' slot value
8693 to `package-desc-create'.
8694 (package-buffer-info): Call `lm-homepage', pass the returned value
8695 to `package-desc-from-define'.
8696 (describe-package-1): Render the homepage button (Bug#13291).
8697
8698 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8699 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8700
8701 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8702
8703 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8704 and default-process-coding-system to utf-8-unix (Bug#15402).
8705
8706 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8707
8708 * subr.el (looking-back): Do not recommend using looking-back.
8709
8710 2013-09-28 Alan Mackenzie <acm@muc.de>
8711
8712 Fix indentation/fontification of Java enum with "implements".
8713
8714 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8715 regexp which matches "implements", etc., in Java.
8716 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8717 specifier clauses coming after "enum".
8718 * progmodes/cc-fonts.el (c-font-lock-declarations)
8719 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8720 after "enum".
8721
8722 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8723
8724 * faces.el (region): Change ns_selection_color to
8725 ns_selection_fg_color, add ns_selection_bg_color.
8726
8727 2013-09-28 Leo Liu <sdl.web@gmail.com>
8728
8729 * progmodes/octave.el (inferior-octave-completion-table)
8730 (inferior-octave-completion-at-point): Minor tweaks.
8731
8732 * textmodes/ispell.el (ispell-lookup-words): Rename from
8733 lookup-words. (Bug#15460)
8734 (lookup-words): Obsolete.
8735 (ispell-complete-word, ispell-command-loop): All uses changed.
8736
8737 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8738
8739 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8740 (octave-mode-menu): Add octave-send-buffer.
8741 (octave-send-buffer): New function.
8742
8743 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8744
8745 * progmodes/octave.el (octave-mode-map): Add key binding for
8746 octave-lookfor.
8747 (octave-mode-menu): Add octave-lookfor.
8748 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8749 octave-lookfor.
8750 (octave-lookfor): New function.
8751
8752 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8755 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8756 its convention.
8757 (cl--loop-set-iterator-function): New function.
8758 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8759 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8760 Bind `it' with `let' instead of substituting it with `cl-subst'.
8761 (cl--unused-var-p): New function.
8762 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8763 Eliminate some unused variable warnings (bug#15326).
8764
8765 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8766
8767 * doc-view.el (doc-view-scale-reset): Rename from
8768 `doc-view-reset-zoom-level'.
8769 (doc-view-scale-adjust): New command.
8770 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8771 `doc-view-scale-adjust'.
8772
8773 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8774
8775 * doc-view.el (doc-view-reset-zoom-level): New command.
8776 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8777 zoom commands (bug#15466).
8778
8779 2013-09-26 Kenichi Handa <handa@gnu.org>
8780
8781 * international/quail.el (quail-help): Make it not a command.
8782
8783 2013-09-26 Leo Liu <sdl.web@gmail.com>
8784
8785 * minibuffer.el (completion-all-sorted-completions): Make args
8786 optional as they are.
8787
8788 2013-09-25 Daniel Colascione <dancol@dancol.org>
8789
8790 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8791 specs are and that they're not evaluated.
8792
8793 2013-09-24 Sam Steingold <sds@gnu.org>
8794
8795 * midnight.el (clean-buffer-list-kill-regexps)
8796 (clean-buffer-list-kill-buffer-names): Update for the new Man
8797 buffer naming which includes the object name.
8798
8799 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8802 (eshell-parse-command, eshell-parse-pipeline): Use it since
8803 eshell-separate-commands requires a dynamic scoped var.
8804 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8805
8806 2013-09-23 Leo Liu <sdl.web@gmail.com>
8807
8808 * autoinsert.el (auto-insert-alist): Make the value of
8809 lexical-binding match its file setting.
8810
8811 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8812
8813 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8814
8815 * autoarg.el (autoarg-kp-digit-argument):
8816 * electric.el (Electric-command-loop):
8817 * kmacro.el (kmacro-step-edit-insert):
8818 Do not set universal-argument-num-events.
8819
8820 2013-09-22 Leo Liu <sdl.web@gmail.com>
8821
8822 * files.el (interpreter-mode-alist): Add octave.
8823
8824 2013-09-21 Alan Mackenzie <acm@muc.de>
8825
8826 C++: fontify identifier in declaration following "public:" correctly.
8827 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8828 to match "public", etc.
8829 (c-decl-prefix-re): Add ":" into the C++ value.
8830 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8831 bit. Add a check for a ":" preceded by "public", etc.
8832
8833 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8834
8835 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8836 recognized by GDB 7.5 and later.
8837
8838 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8839
8840 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8841
8842 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * subr.el (internal--call-interactively): New const.
8845 (called-interactively-p): Use it (bug#3984).
8846
8847 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8848
8849 * vc/pcvs.el (cvs-mode-ignore):
8850 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8851 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8852
8853 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8856 (eshell-ls-orig-insert-directory): Remove.
8857 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8858 (eshell-ls-use-in-dired): Use advice-add/remove.
8859 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8860 Add `orig-fun' arg for use in :around advice.
8861 Make it check (redundantly) eshell-ls-use-in-dired.
8862
8863 2013-09-19 Glenn Morris <rgm@gnu.org>
8864
8865 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8866
8867 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8868
8869 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8870
8871 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8872
8873 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8874 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8875 (tramp-get-remote-python): New defuns.
8876 (tramp-get-remote-uid-with-perl)
8877 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8878 contributed by yary <not.com@gmail.com> (tiny change).
8879 (tramp-get-remote-uid-with-python)
8880 (tramp-get-remote-gid-with-python): New defuns. Python code
8881 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8882 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8883
8884 2013-09-19 Glenn Morris <rgm@gnu.org>
8885
8886 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8887
8888 * eshell/em-unix.el (eshell-remove-entries):
8889 Rename argument to avoid name-clash with global `top-level'.
8890
8891 * eshell/esh-proc.el (eshell-kill-process-function):
8892 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8893 (eshell-reset-after-proc): Remove unused arg `proc'.
8894
8895 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8896 (directory-files-and-attributes): Mark unused arg.
8897
8898 * eshell/em-unix.el (eshell-remove-entries):
8899 Remove unused arg `path'. Update callers.
8900
8901 * eshell/em-hist.el (eshell-hist-parse-arguments):
8902 Remove unused arg `silent'. Update callers.
8903
8904 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8905 Fix (f)boundp mix-up.
8906
8907 * eshell/em-smart.el (eshell-smart-scroll-window)
8908 (eshell-disable-after-change):
8909 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8910
8911 2013-09-18 Alan Mackenzie <acm@muc.de>
8912
8913 Fix fontification of type when followed by "const".
8914 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8915 "known" types from fontification.
8916
8917 2013-09-18 Glenn Morris <rgm@gnu.org>
8918
8919 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8920 (chart-face-list): Drop Emacsen without display-color-p.
8921
8922 * net/eww.el (libxml-parse-html-region): Declare.
8923 (eww-display-html): Explicit error if no libxml2 support.
8924
8925 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8926
8927 * image.el (image-type-from-buffer, image-multi-frame-p):
8928 Remove --without-x warning/error.
8929
8930 * mouse.el (mouse-yank-primary):
8931 * term.el (term-mouse-paste):
8932 Reorder to silence --without-x compilation.
8933
8934 * mpc.el (doc-view-mode): Silence --without-x compilation.
8935
8936 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8937 Silence --without-x compilation.
8938
8939 * progmodes/gud.el (gud-find-file, gud-mode):
8940 Silence --without-x compilation.
8941 (tooltip-mode): Declare.
8942
8943 * wdired.el (dired-backup-overwrite): Remove declaration.
8944 (wdired-mode-map): Add doc string.
8945
8946 * custom.el (x-get-resource): Declare.
8947
8948 * eshell/em-glob.el (ange-cache):
8949 * eshell/em-unix.el (ange-cache): Declare.
8950
8951 * faces.el (x-display-list, x-open-connection, x-get-resource):
8952 Declare.
8953
8954 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8955 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8956 Declare.
8957
8958 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8959
8960 * net/gnutls.el (gnutls-log-level): Declare.
8961
8962 * net/shr.el (image-size, image-animate): Declare.
8963
8964 * simple.el (font-info): Declare.
8965
8966 * subr.el (x-popup-dialog): Declare.
8967
8968 * term/common-win.el (x-select-enable-primary)
8969 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8970 Declare.
8971
8972 * term/ns-win.el (x-handle-args): Declare.
8973
8974 * term/x-win.el (x-select-enable-clipboard): Declare.
8975
8976 * term/w32-win.el (create-default-fontset): Declare.
8977
8978 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8979 Declare.
8980
8981 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8982 (fit-frame-to-buffer): Explicit error if --without-x.
8983 (mouse-autoselect-window-select): Silence compiler.
8984
8985 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8986
8987 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8988 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8989 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8990 * eshell/esh-util.el (eshell-sublist):
8991 Remove unused local variables.
8992
8993 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8994
8995 * textmodes/two-column.el: Make 2C-split work for --without-x.
8996 (scroll-bar-columns): Autoload.
8997 (top-level): Require fringe when compiling.
8998
8999 2013-09-18 Leo Liu <sdl.web@gmail.com>
9000
9001 * subr.el (add-hook): Robustify to handle closure as well.
9002
9003 2013-09-17 Glenn Morris <rgm@gnu.org>
9004
9005 * simple.el (messages-buffer-mode-map): Unbind "g".
9006
9007 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * help-mode.el (help-mode-finish): Use derived-mode-p.
9010 Remove obsolete highlighting.
9011
9012 * play/life.el (life-mode): Use define-derived-mode. Derive from
9013 special-mode.
9014 (life): Let-bind inhibit-read-only.
9015 (life-setup): Avoid `setq'. Use `life-mode'.
9016
9017 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9018 which should not be needed any more.
9019 (package-menu-refresh, package-menu-describe-package): Use user-error.
9020
9021 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9022 (eshell-post-rewrite-command-hook): Make obsolete.
9023 (eshell-parse-command): Simplify.
9024 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9025 (eshell--cmd): Declare.
9026 (eshell-parse-pipeline): Remove unused var `final-p'.
9027 Pass a dynvar to eshell-post-rewrite-command-hook.
9028 Implement the new eshell-post-rewrite-command-function.
9029 (eshell-invoke-directly): Remove unused arg `input'.
9030 * eshell/esh-io.el (eshell-io-initialize):
9031 Use eshell-post-rewrite-command-function (bug#15399).
9032 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9033 adjust to new calling convention.
9034 (eshell-create-handles): Rename args to avoid clashing with dynvar
9035 `standard-output'.
9036
9037 2013-09-17 Glenn Morris <rgm@gnu.org>
9038
9039 * simple.el (messages-buffer-mode): New major mode.
9040 (messages-buffer): New function.
9041 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9042 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9043 (ert-run-test): Use `messages-buffer' function.
9044 (ert--force-message-log-buffer-truncation): Ignore read-only.
9045 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9046 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9047
9048 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9051
9052 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9053
9054 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * icomplete.el (icomplete-in-buffer): New var.
9057 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9058 vars and replace them with functions.
9059 (icomplete-minibuffer-setup): Adjust accordingly.
9060 (icomplete--completion-table, icomplete--completion-predicate)
9061 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9062 New functions.
9063 (icomplete-forward-completions, icomplete-backward-completions)
9064 (icomplete-simple-completing-p, icomplete-exhibit)
9065 (icomplete-completions): Use them.
9066 (icomplete--in-region-buffer): New var.
9067 (icomplete--in-region-setup): New function.
9068 (icomplete-mode): Use it.
9069
9070 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9071 (bug#15379).
9072 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9073 return args and options.
9074 (eshell-eval-using-options): Use the new return value of
9075 eshell--do-opts to set the options's vars in their scope.
9076 (eshell--set-option): Rename from eshell-set-option.
9077 Add arg `opt-vals'.
9078 (eshell--process-option): Rename from eshell-process-option.
9079 Add arg `opt-vals'.
9080 (eshell--process-args): Use an `opt-vals' alist to store the options's
9081 values during their processing and return them additionally to the
9082 remaining args.
9083
9084 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9085
9086 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9087 continuation character an operator, as far as indentation is
9088 concerned (Bug#15369).
9089
9090 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9091
9092 * window.el (window--state-put-2): Don't process buffer state
9093 when buffer doesn't exist any more (Bug#15382).
9094
9095 2013-09-15 Glenn Morris <rgm@gnu.org>
9096
9097 * eshell/em-unix.el (eshell/rm):
9098 Make -f ignore missing files. (Bug#15373)
9099
9100 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9101 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9102 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9103
9104 2013-09-14 Glenn Morris <rgm@gnu.org>
9105
9106 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9107
9108 2013-09-13 Glenn Morris <rgm@gnu.org>
9109
9110 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9111 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9112
9113 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9114
9115 * frame.el (x-focus-frame): Mark as declared in frame.c.
9116
9117 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * ls-lisp.el: Use advice-add.
9120 (original-insert-directory): Remove.
9121 (ls-lisp--insert-directory): Rename from insert-directory; add
9122 `orig-fun' argument.
9123 (insert-directory): Advise.
9124
9125 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9126
9127 * term.el (term-emulate-terminal): Decode the command string
9128 before passing it to term-command-hook. (Bug#15337)
9129
9130 2013-09-13 Glenn Morris <rgm@gnu.org>
9131
9132 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9133
9134 * eshell/esh-ext.el (eshell-search-path): Declare.
9135
9136 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9137 Otherwise an error occurs if eshell-dirs module not loaded.
9138
9139 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9140
9141 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9142
9143 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9144 `tramp-check-proper-host'. Check for a valid method name.
9145
9146 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9147 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9148 * net/tramp-sh.el (tramp-maybe-open-connection):
9149 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9150
9151 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9152 also for hash values.
9153
9154 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * term/ns-win.el (parameters): Don't declare as dynamic.
9157 (before-make-frame-hook): Don't add ineffective function.
9158
9159 * eshell/*.el: Use lexical-binding (bug#15231).
9160
9161 2013-09-12 Kenichi Handa <handa@gnu.org>
9162
9163 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9164
9165 2013-09-12 Glenn Morris <rgm@gnu.org>
9166
9167 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9168 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9169
9170 * subr.el (do-after-load-evaluation): Also give compiler warnings
9171 when obsolete files are used (except by obsolete files).
9172
9173 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9174 in the status output, assume `filename' is the first. (Bug#15322)
9175
9176 * vc/vc.el (vc-deduce-fileset): Doc fix.
9177
9178 * calc/calc-help.el (Info-goto-node):
9179 * progmodes/cperl-mode.el (Info-find-node):
9180 * vc/ediff.el (Info-goto-node): Update declarations.
9181
9182 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9183
9184 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9185 (vc-bzr-pull): Require vc-dispatcher.
9186 * vc/vc-git.el (vc-compilation-mode): Declare.
9187 (vc-git-pull): Require vc-dispatcher.
9188
9189 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9190
9191 * progmodes/octave.el (help-button-action): Declare.
9192
9193 * shell.el (shell-directory-tracker): Output error as a message
9194 rather than just returning it as a string.
9195 (shell-process-pushd): Remove useless use of message.
9196
9197 * dframe.el (dframe-timer-fn):
9198 * files.el (dir-locals-read-from-file):
9199 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9200 (mpc-format):
9201 * reveal.el (reveal-post-command):
9202 * saveplace.el (load-save-place-alist-from-file):
9203 * shell.el (shell-resync-dirs):
9204 * w32-common-fns.el (x-get-selection-value):
9205 * emacs-lisp/copyright.el (copyright-find-copyright):
9206 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9207 * emulation/tpu-edt.el (tpu-copy-keyfile):
9208 * play/bubbles.el (bubbles--mark-neighbourhood):
9209 * progmodes/executable.el
9210 (executable-make-buffer-file-executable-if-script-p):
9211 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9212
9213 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 Cleanup Eshell to rely less on dynamic scoping.
9216 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9217 last-value, and ext-command here. Bind `args' closer to `body'.
9218 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9219 (eshell--args): Declare new dynamic var.
9220 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9221 last-value, and ext-command. Pass `args' to `body'.
9222 (eshell-process-args): Bind eshell--args.
9223 (eshell-set-option): Use eshell--args.
9224 * eshell/eshell.el (eshell): Use derived-mode-p.
9225 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9226 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9227 (eshell-glob-function): Declare.
9228 * eshell/esh-util.el: Require cl-lib.
9229 (eshell-read-hosts-file): Avoid add-to-list.
9230 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9231 `err'.
9232 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9233 Declare.
9234 (eshell/diff): Remove unused var `err'.
9235 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9236 `killflag'.
9237 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9238 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9239 first use.
9240 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9241 Move declaration before first use.
9242 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9243 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9244 rely on cl-return.
9245
9246 2013-09-12 Glenn Morris <rgm@gnu.org>
9247
9248 * term/ns-win.el (global-map): Remove binding for ispell-next,
9249 deleted 1999-05-29. (Bug#15357)
9250
9251 2013-09-11 Glenn Morris <rgm@gnu.org>
9252
9253 * echistory.el (electric-command-history): Remove call to deleted func.
9254
9255 * play/landmark.el (landmark-mode): Fix typos.
9256
9257 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9258 Check cvs-sort-ignore-file is bound.
9259
9260 * savehist.el: No need for cl when compiling on Emacs.
9261
9262 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9263
9264 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9265 (bug#15338).
9266 (eshell-self-insert-command, eshell-send-invisible):
9267 Remove unused argument.
9268 (eshell-handle-control-codes): Remove unused var `orig'.
9269 Avoid delete-backward-char.
9270
9271 * files.el (set-auto-mode): Simplify a bit further.
9272
9273 2013-09-11 Glenn Morris <rgm@gnu.org>
9274
9275 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9276 (set-auto-mode): Don't regexp-quote elements.
9277 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9278 * progmodes/cc-mode.el (interpreter-mode-alist):
9279 * progmodes/ruby-mode.el (interpreter-mode-alist):
9280 Revert previous change.
9281
9282 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * play/snake.el (snake-mode):
9285 * play/mpuz.el (mpuz-mode):
9286 * play/landmark.el (lm-mode):
9287 * play/blackbox.el (blackbox-mode):
9288 * play/5x5.el (5x5-mode):
9289 * obsolete/options.el (Edit-options-mode):
9290 * net/quickurl.el (quickurl-list-mode):
9291 * net/newst-treeview.el (newsticker-treeview-mode):
9292 * mail/rmailsum.el (rmail-summary-mode):
9293 * mail/mspools.el (mspools-mode):
9294 * locate.el (locate-mode):
9295 * ibuffer.el (ibuffer-mode):
9296 * emulation/ws-mode.el (wordstar-mode):
9297 * emacs-lisp/debug.el (debugger-mode):
9298 * array.el (array-mode):
9299 * net/eudc.el (eudc-mode): Use define-derived-mode.
9300 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9301 Move initialization into declaration.
9302 (mairix-searches-mode): Use define-derived-mode.
9303 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9304 (eudc-edit-hotlist): Use dolist.
9305 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9306 (Man-mode): Use define-derived-mode.
9307 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9308 (Info-edit-mode): Use define-derived-mode.
9309 (Info-cease-edit): Use Info-mode.
9310 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9311 into declaration.
9312 (eshell-mode): Use define-derived-mode.
9313 * chistory.el (command-history-mode-map): Rename from
9314 command-history-map.
9315 (command-history-mode): Use define-derived-mode.
9316 (Command-history-setup): Remove function.
9317 * calc/calc.el (calc-trail-mode-map): New var.
9318 (calc-trail-mode): Use define-derived-mode.
9319 (calc-trail-buffer): Set calc-main-buffer manually.
9320 * bookmark.el (bookmark-insert-annotation): New function.
9321 (bookmark-edit-annotation): Use it.
9322 (bookmark-edit-annotation-mode): Make it a proper major mode.
9323 (bookmark-send-edited-annotation): Use derived-mode-p.
9324 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9325 closer to its ideal place. Use \' to match EOS.
9326
9327 * profiler.el (profiler-calltree-find): Use function-equal.
9328
9329 2013-09-10 Glenn Morris <rgm@gnu.org>
9330
9331 * files.el (interpreter-mode-alist): Convert to regexps.
9332 (set-auto-mode): Adapt for this. (Bug#15306)
9333 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9334 Comment out unused variable.
9335 * progmodes/cc-mode.el (interpreter-mode-alist):
9336 * progmodes/python.el (interpreter-mode-alist):
9337 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9338 * progmodes/sh-script.el (sh-set-shell):
9339 No longer use interpreter-mode-alist to get list of shells.
9340
9341 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9342
9343 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * simple.el: Use set-temporary-overlay-map for universal-argument.
9346 (universal-argument-map): Don't use default-bindings (bug#15317).
9347 Bind switch-frame explicitly. Replace universal-argument-minus with
9348 a conditional binding.
9349 (universal-argument-num-events, saved-overriding-map): Remove.
9350 (restore-overriding-map): Remove.
9351 (universal-argument--mode): Rename from save&set-overriding-map,
9352 and rewrite.
9353 (universal-argument, universal-argument-more, negative-argument)
9354 (digit-argument): Adjust accordingly.
9355 (universal-argument-minus): Remove.
9356 (universal-argument-other-key): Remove.
9357
9358 * subr.el (with-demoted-errors): Add `format' argument.
9359
9360 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9361
9362 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9363 `tramp-cleanup-connection'.
9364
9365 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9366 parameters KEEP-DEBUG and KEEP-PASSWORD.
9367
9368 * net/tramp.el (tramp-file-name-handler):
9369 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9370 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9371 (tramp-maybe-open-connection):
9372 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9373 Use `tramp-cleanup-connection'.
9374
9375 * net/tramp-sh.el (tramp-maybe-open-connection):
9376 Catch 'uname-changed inside the progress reporter.
9377
9378 2013-09-10 Glenn Morris <rgm@gnu.org>
9379
9380 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9381
9382 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9383 returns "alternate access method" in mode (eg "-rw-r--r--.").
9384
9385 2013-09-08 Glenn Morris <rgm@gnu.org>
9386
9387 * saveplace.el (load-save-place-alist-from-file):
9388 Demote errors. (Bug#15305)
9389
9390 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9391
9392 Improve compatibility with older Emacsen, and XEmacs.
9393
9394 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9395 only if it is bound. It isn't for XEmacs.
9396 (with-tramp-progress-reporter): Do not let-bind `result'.
9397 This yields to scoping errors in XEmacs.
9398 (tramp-handle-make-auto-save-file-name): New function, moved from
9399 tramp-sh.el.
9400
9401 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9402 for `make-auto-save-file-name'.
9403 (tramp-adb--gnu-switches-to-ash):
9404 Use `tramp-compat-replace-regexp-in-string'.
9405
9406 * net/tramp-cache.el (tramp-cache-print): Call
9407 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9408
9409 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9410 bound. It isn't for XEmacs.
9411
9412 * net/tramp-compat.el (tramp-compat-copy-file):
9413 Catch `wrong-number-of-arguments' error.
9414 (tramp-compat-replace-regexp-in-string): New defun.
9415
9416 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9417 for `make-auto-save-file-name'.
9418 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9419 `copy-file'.
9420 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9421 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9422 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9423
9424 * net/tramp-gw.el (tramp-gw-open-network-stream):
9425 Use `tramp-compat-replace-regexp-in-string'.
9426
9427 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9428 Call `tramp-handle-make-auto-save-file-name'.
9429 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9430 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9431 (tramp-sh-file-inotifywait-process-filter):
9432 Use `tramp-compat-replace-regexp-in-string'.
9433 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9434
9435 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9436 for `make-auto-save-file-name'.
9437 (tramp-smb-handle-copy-directory):
9438 Call `tramp-compat-replace-regexp-in-string'.
9439 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9440 (tramp-smb-handle-copy-file): Improve error message.
9441 (tramp-smb-handle-rename-file): Rename directly only in case
9442 `newname' does not exist yet. This is a restriction of smbclient.
9443 (tramp-smb-maybe-open-connection): Rerun the function only when
9444 `auth-sources' is non-nil.
9445
9446 2013-09-08 Kenichi Handa <handa@gnu.org>
9447
9448 * international/characters.el: Set category "^" (Combining) for
9449 more characters.
9450
9451 2013-09-07 Alan Mackenzie <acm@muc.de>
9452
9453 Correctly fontify Java class constructors.
9454 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9455 in Java Mode.
9456 (c-recognize-typeless-decls): Set the Java value to t.
9457 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9458 While handling a "(", add a check for, effectively, Java, and handle a
9459 "typeless" declaration there.
9460
9461 2013-09-07 Roland Winkler <winkler@gnu.org>
9462
9463 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9464 field subtitle for entry type book.
9465
9466 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * minibuffer.el: Make minibuffer-complete call completion-in-region
9469 rather than other way around.
9470 (completion--some, completion-pcm--find-all-completions):
9471 Don't delay signals when debugging.
9472 (minibuffer-completion-contents): Beware fields within the
9473 minibuffer contents.
9474 (completion-all-sorted-completions): Use defvar-local.
9475 (completion--do-completion, completion--cache-all-sorted-completions)
9476 (completion-all-sorted-completions, minibuffer-force-complete):
9477 Add args `beg' and `end'.
9478 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9479 (minibuffer-complete): Use completion-in-region.
9480 (completion-complete-and-exit): New fun, extracted from
9481 minibuffer-complete-and-exit.
9482 (minibuffer-complete-and-exit): Use it.
9483 (completion--complete-and-exit): Rename from
9484 minibuffer--complete-and-exit.
9485 (completion-in-region--single-word): New function, extracted from
9486 minibuffer-complete-word.
9487 (minibuffer-complete-word): Use it.
9488 (display-completion-list): Make `common-substring' argument obsolete.
9489 (completion--in-region): Call completion--in-region-1 instead of
9490 minibuffer-complete.
9491 (completion-help-at-point): Pass boundaries to
9492 minibuffer-completion-help as args rather than via an overlay.
9493 (completion-pcm--string->pattern): Use `any-delim'.
9494 (completion-pcm--optimize-pattern): New function.
9495 (completion-pcm--pattern->regex): Handle `any-delim'.
9496 * icomplete.el (icomplete-forward-completions)
9497 (icomplete-backward-completions, icomplete-completions):
9498 Adjust calls to completion-all-sorted-completions and
9499 completion--cache-all-sorted-completions.
9500 (icomplete-with-completion-tables): Default to t.
9501 * emacs-lisp/crm.el (crm--current-element): Rename from
9502 crm--select-current-element. Don't put an overlay but return the
9503 boundaries instead.
9504 (crm--completion-command): Take two new args to bind to the boundaries.
9505 (crm-completion-help): Adjust accordingly.
9506 (crm-complete): Use completion-in-region.
9507 (crm-complete-word): Use completion-in-region--single-word.
9508 (crm-complete-and-exit): Use completion-complete-and-exit.
9509
9510 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9513 than dynamically.
9514
9515 2013-09-06 Juri Linkov <juri@jurta.org>
9516
9517 * info.el (Info-display-images-node): When image file doesn't exist
9518 display text version of the image if it's provided in the Info file.
9519 Otherwise, display the location of missing image from SRC attribute.
9520 Add help-echo text property from ALT attribute. (Bug#15279)
9521
9522 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9523
9524 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9525 (edit-abbrevs-mode): Use define-derived-mode.
9526
9527 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9528 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9529 that it's defined.
9530 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9531 Use define-derived-mode.
9532
9533 * epg.el (epg-start-encrypt): Minor CSE simplification.
9534
9535 2013-09-06 William Xu <william.xwl@gmail.com>
9536
9537 * arc-mode.el: Add support for 7za (bug#15264).
9538 (archive-7z-program): New var.
9539 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9540 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9541 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9542
9543 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9544
9545 Remove URL syntax.
9546
9547 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9548 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9549 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9550 (tramp-postfix-host-format, tramp-file-name-regexp)
9551 (tramp-completion-file-name-regexp)
9552 (tramp-completion-dissect-file-name)
9553 (tramp-handle-substitute-in-file-name): Remove 'url case.
9554 (tramp-file-name-regexp-url)
9555 (tramp-completion-file-name-regexp-url): Remove constants.
9556
9557 2013-09-06 Glenn Morris <rgm@gnu.org>
9558
9559 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9560
9561 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9562
9563 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9564 keywords" below "here-doc beginnings" (Bug#15270).
9565
9566 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * subr.el (pop): Use `car-safe'.
9569 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9570 to detect unused `pop' return value.
9571
9572 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9573 var `block-regexp'.
9574 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9575 (python-fill-string): Remove unused var `marker'.
9576 (python-skeleton-add-menu-items): Remove unused var `items'.
9577
9578 * international/mule-cmds.el: Require CL.
9579 (find-coding-systems-for-charsets): Avoid add-to-list.
9580 (sanitize-coding-system-list): New function, extracted from
9581 select-safe-coding-system-interactively.
9582 (select-safe-coding-system-interactively): Use it.
9583 (read-input-method-name): Accept symbols for `default'.
9584
9585 * emacs-lisp/advice.el (defadvice): Add indent rule.
9586
9587 2013-09-05 Daniel Hackney <dan@haxney.org>
9588
9589 * dired-x.el:
9590 * net/ange-ftp.el:
9591 * net/browse-url.el:
9592 * net/dbus.el:
9593 * net/eudc.el:
9594 * net/eudcb-ldap.el:
9595 * net/eww.el:
9596 * net/imap.el:
9597 * printing.el:
9598 * vc/ediff-diff.el:
9599 * vc/ediff-init.el:
9600 * vc/ediff-merg.el:
9601 * vc/ediff-mult.el:
9602 * vc/ediff-util.el:
9603 * vc/ediff-wind.el:
9604 * vc/ediff.el:
9605 * vc/emerge.el:
9606 * vc/pcvs.el:
9607 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9608 byte compiler. Remove some unused let-bound variables.
9609
9610 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9613 a "ref-cell", since it gets better optimized (bug#14883).
9614
9615 2013-09-05 Glenn Morris <rgm@gnu.org>
9616
9617 * progmodes/cc-awk.el (c-forward-sws): Declare.
9618
9619 2013-09-04 Glenn Morris <rgm@gnu.org>
9620
9621 * generic-x.el [rul-generic-mode]: Require cc-mode.
9622 (c++-mode-syntax-table): Declare.
9623 (rul-generic-mode-syntax-table): Init in the defvar.
9624
9625 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9628 (vc-do-command, vc-set-async-update):
9629 * vc/vc-mtn.el (vc-mtn-dir-status):
9630 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9631 (vc-hg-pull, vc-hg-merge-branch):
9632 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9633 (vc-git-merge-branch):
9634 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9635 (vc-cvs-dir-status-files):
9636 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9637 (vc-bzr-dir-status-files):
9638 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9639 * vc/vc-annotate.el: Use lexical-binding.
9640 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9641 (vc-sentinel-movepoint): Declare.
9642 (vc-annotate): Don't use `goto-line'.
9643 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9644 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9645 (vc-sentinel-movepoint): Declare.
9646 * vc/vc-svn.el: Use lexical-binding.
9647 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9648 * vc/vc-sccs.el:
9649 * vc/vc-rcs.el: Use lexical-binding.
9650
9651 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9652 `deleted'. Don't drop errors silently.
9653
9654 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9655
9656 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9657
9658 * vc/vc.el (vc-ignore): Rewrite.
9659 (vc-default-ignore): New function.
9660 (vc-default-ignore-completion-table): Use find-ignore-file.
9661
9662 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9663 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9664 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9665 Remove. Most code moved to vc.el.
9666
9667 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9668
9669 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9670 * net/tramp-smb.el (tramp-smb-get-file-entries):
9671 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9672 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9673
9674 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9675 Update call to it.
9676 (eww-change-select): Remove unused var `properties'.
9677 (eww-make-unique-file-name): Remove unused var `base'.
9678
9679 * finder.el (finder-compile-keywords): Don't mess with windows.
9680
9681 * calculator.el (calculator-funcall): Fix typo in last change.
9682
9683 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9684
9685 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9686 <pkg>-autoloads.el file stop us.
9687
9688 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9689 warnings, and factor out common code.
9690
9691 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9692
9693 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9694 two-character operators and whether the character preceding them
9695 changes their meaning (Bug#15208).
9696
9697 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9698
9699 Format code sent to Python shell for robustness.
9700 * progmodes/python.el (python-shell-buffer-substring):
9701 New function.
9702 (python-shell-send-region, python-shell-send-buffer): Use it.
9703
9704 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9705
9706 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9707 * net/tramp.el (tramp-user-error): ... here.
9708 (tramp-find-method, tramp-check-proper-host)
9709 (tramp-dissect-file-name, tramp-debug-message)
9710 (tramp-handle-shell-command):
9711 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9712 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9713
9714 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9715
9716 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9717
9718 * avoid.el (mouse-avoidance-point-position)
9719 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9720 returns nil.
9721
9722 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9723
9724 * progmodes/python.el (python-shell-completion-get-completions):
9725 Drop use of deleted `comint-last-prompt-overlay'.
9726 (python-nav-if-name-main): New command.
9727
9728 2013-09-01 Glenn Morris <rgm@gnu.org>
9729
9730 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9731 Avoid leading space in $wins. Otherwise the sed command used by
9732 eg compile-main ends up containing "/*.el". (Bug#15170)
9733
9734 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9735
9736 2013-08-30 Glenn Morris <rgm@gnu.org>
9737
9738 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9739 Fix is-this-a-directory logic. (Bug#15220)
9740
9741 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9742
9743 * textmodes/css-mode.el: Use SMIE.
9744 (css-smie-grammar): New var.
9745 (css-smie--forward-token, css-smie--backward-token)
9746 (css-smie-rules): New functions.
9747 (css-mode): Use them.
9748 (css-navigation-syntax-table): Remove var.
9749 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9750 (css-indent-calculate, css-indent-line): Remove functions.
9751
9752 Misc changes to reduce use of `(lambda...); and other cleanups.
9753 * cus-edit.el: Use lexical-binding.
9754 (customize-push-and-save, customize-apropos)
9755 (custom-buffer-create-internal): Use closures.
9756 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9757 * progmodes/ada-xref.el: Use setq.
9758 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9759 * dframe.el: Use lexical-binding.
9760 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9761 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9762 * descr-text.el: Use lexical-binding.
9763 (describe-text-widget, describe-text-sexp, describe-property-list):
9764 Use closures.
9765 * comint.el (comint-history-isearch-push-state): Use a closure.
9766 * calculator.el: Use lexical-binding.
9767 (calculator-number-to-string): Make it work with lexical-binding.
9768 (calculator-funcall): Same and use cl-letf.
9769
9770 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9771 (lisp--company-doc-string, lisp--company-location): New functions.
9772 (lisp-completion-at-point): Use them to improve Company support.
9773
9774 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9775 params of lambda expressions.
9776 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9777 (ruby-smie--opening-pipe-p): New function.
9778 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9779 symbols and matched |...| for formal params.
9780 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9781 from being treated as hanging. Handle "rescue".
9782
9783 2013-08-29 Glenn Morris <rgm@gnu.org>
9784
9785 * progmodes/cc-engine.el (c-pull-open-brace):
9786 Move definition before use.
9787
9788 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9791 are immutable. Don't use `unsafe' any more.
9792 (cl--defsubst-expand): Don't substitute at the same time as keeping
9793 a residual unused let-binding. Don't use `unsafe' any more.
9794
9795 2013-08-29 Glenn Morris <rgm@gnu.org>
9796
9797 * calendar/cal-china.el (calendar-chinese-year-cache):
9798 Recenter on 2015.
9799
9800 * nxml/nxml-util.el (nxml-debug-clear-inside):
9801 Use cl-loop rather than loop.
9802
9803 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9804
9805 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9806
9807 2013-08-28 Glenn Morris <rgm@gnu.org>
9808
9809 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9810
9811 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9812
9813 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9814
9815 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * simple.el (repeat-complex-command--called-interactively-skip):
9818 New function.
9819 (repeat-complex-command): Use it (bug#14136).
9820
9821 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9822 (c-define-abbrev-table): Add `doc' argument.
9823 (c-mode-abbrev-table, c++-mode-abbrev-table)
9824 (objc-mode-abbrev-table, java-mode-abbrev-table)
9825 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9826 (awk-mode-abbrev-table): Use it.
9827 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9828 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9829 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9830 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9831 Move initialization into the declaration; and remove any
9832 autoload cookie.
9833
9834 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9835 and dynamic let binding.
9836
9837 * vc/smerge-mode.el: Remove redundant :group args.
9838
9839 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9840 to load-path.
9841
9842 2013-08-28 Juri Linkov <juri@jurta.org>
9843
9844 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9845 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9846 (isearch-other-meta-char): Handle an undefined shifted printing
9847 character by downshifting it. (Bug#15200)
9848
9849 2013-08-28 Juri Linkov <juri@jurta.org>
9850
9851 * isearch.el (isearch-search): Change regexp error message for
9852 non-regexp searches. (Bug#15166)
9853
9854 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9855
9856 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9857 for portability to hosts where /bin/sh has problems.
9858
9859 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9862
9863 2013-08-27 Juri Linkov <juri@jurta.org>
9864
9865 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9866 in the keyboard macro. (Bug#15126)
9867
9868 2013-08-27 Juri Linkov <juri@jurta.org>
9869
9870 * isearch.el (isearch-quote-char): Comment out converting unibyte
9871 to multibyte, thus syncing with its `quoted-insert' counterpart.
9872 (Bug#15166)
9873
9874 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9875
9876 * window.el (display-buffer-use-some-window): Add missing
9877 argument in call of get-largest-window (Bug#15185).
9878 Reported by Stephen Leake.
9879
9880 2013-08-27 Glenn Morris <rgm@gnu.org>
9881
9882 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9883
9884 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9885
9886 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9887 from a matcher-function unless there's no more matches (bug#15161).
9888
9889 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9890
9891 * minibuffer.el: Revert change from 2013-08-20.
9892
9893 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9894 with text property `tramp-default', if appropriate.
9895 (tramp-check-proper-host): New defun.
9896 (tramp-dissect-file-name): Do not check hostname. Revert change
9897 of 2013-03-18.
9898 (tramp-backtrace): Make VEC-OR-PROC optional.
9899
9900 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9901 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9902 * net/tramp-sh.el (tramp-maybe-open-connection):
9903 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9904 Apply `tramp-check-proper-host'.
9905
9906 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9907
9908 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9909 lambda expression in order to have `describe-variable' display it.
9910
9911 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9912
9913 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9914 BUF can be optional. (Bug#15186)
9915
9916 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9917
9918 * progmodes/flymake.el (flymake-get-real-file-name-function):
9919 Fix broken customization. (Bug#15184)
9920
9921 2013-08-25 Alan Mackenzie <acm@muc.de>
9922
9923 Improve indentation of bracelists defined by macros (without "=").
9924
9925 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9926 expansion begins with "{", regard it as bracelist when it doesn't
9927 contain a ";".
9928
9929 Parse C++ inher-intro when there's a template split over 2 lines.
9930
9931 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9932 rigorously the search for "class" etc. followed by ":".
9933
9934 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9935 random languages a regexp which never matches rather than nil.
9936
9937 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9938
9939 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9940 (c-awk-regexp-one-line-possibly-open-char-list-re)
9941 (c-awk-one-line-possibly-open-regexp-re)
9942 (c-awk-one-line-non-syn-ws*-re): Remove.
9943 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9944 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9945 (c-awk-space*-unclosed-regexp-/-re): New constants.
9946 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9947 aren't regexp delimiters.
9948
9949 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9950 handling for a rare situation in AWK Mode involving unterminated
9951 strings/regexps.
9952
9953 2013-08-23 Glenn Morris <rgm@gnu.org>
9954
9955 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9956
9957 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9958
9959 * files.el (create-file-buffer): If the result would begin with
9960 spaces, prepend a "|" instead of removing them. (Bug#15162)
9961
9962 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9963
9964 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9965 text-properties (bug#15155).
9966
9967 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9968 exist any more.
9969 (calc-keypad-redraw): Remove unused var `pad'.
9970 (calc-keypad-press): Remove unused var `menu'.
9971
9972 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9973
9974 * window.el (display-buffer-pop-up-frame):
9975 Call pop-up-frame-function with BUFFER current so `make-frame' will
9976 use it as the new frame's buffer (Bug#15133).
9977
9978 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * calendar/timeclock.el: Minor cleanups.
9981 (timeclock-ask-before-exiting, timeclock-use-display-time):
9982 Use `symbol'.
9983 (timeclock-modeline-display): Define as alias before the
9984 actual definition.
9985 (timeclock-mode-line-display): Use define-minor-mode.
9986 (timeclock-day-list-template): Make it a function, add an argument.
9987 (timeclock-day-list-required, timeclock-day-list-length)
9988 (timeclock-day-list-debt, timeclock-day-list-span)
9989 (timeclock-day-list-break): Adjust calls accordingly.
9990
9991 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9994 Use read--expression so that completion works again.
9995
9996 2013-08-21 Sam Steingold <sds@gnu.org>
9997
9998 Add rudimentary inferior shell interaction
9999 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10000 (sh-set-shell): Reset it.
10001 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10002 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10003
10004 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 * align.el: Use lexical-binding.
10007 (align-region): Simplify accordingly.
10008
10009 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10010
10011 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10012
10013 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10014 `non-essential' up.
10015
10016 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10017
10018 * net/tramp.el:
10019 * net/tramp-adb.el:
10020 * net/tramp-cmds.el:
10021 * net/tramp-ftp.el:
10022 * net/tramp-gvfs.el:
10023 * net/tramp-gw.el:
10024 * net/tramp-sh.el: Don't wrap external variable declarations by
10025 `eval-when-compile'.
10026
10027 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10028
10029 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10030 now that Emacs supports ImageMagick animations.
10031
10032 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10033
10034 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10035 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10036
10037 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10038
10039 * window.el (mouse-autoselect-window-select): Do autoselect when
10040 mouse pointer is on margin.
10041
10042 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10043
10044 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10045
10046 2013-08-16 Glenn Morris <rgm@gnu.org>
10047
10048 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10049 Handle "Remote Directory" response of some clients. (Bug#15058)
10050
10051 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10052 Tweak warning. (Bug#14926)
10053
10054 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10055 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10056
10057 * image-mode.el (image-mode-map): Add menu items to reverse,
10058 increase, decrease, reset animation speed.
10059 (image--set-speed, image-increase-speed, image-decrease-speed)
10060 (image-reverse-speed, image-reset-speed): New functions.
10061 (image-mode-map): Add bindings for speed commands.
10062
10063 * image.el (image-animate-get-speed, image-animate-set-speed):
10064 New functions.
10065 (image-animate-timeout): Respect image :speed property.
10066
10067 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10068
10069 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10070 previous line (bug#15101).
10071 (debugger-eval-expression, debugger-record-expression):
10072 Use read--expression (bug#15102).
10073
10074 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10075
10076 Remove byte compiler warnings, visible when compiling with
10077 `byte-compile-force-lexical-warnings' set to t.
10078
10079 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10080 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10081 (tramp-handle-unhandled-file-name-directory)
10082 (tramp-handle-file-notify-add-watch, tramp-action-login)
10083 (tramp-action-succeed, tramp-action-permission-denied)
10084 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10085 arguments with "_".
10086
10087 * net/tramp-adb.el (tramp-adb-parse-device-names)
10088 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10089 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10090 (tramp-adb-handle-file-truename): Remove unused arguments.
10091
10092 * net/tramp-cache.el (tramp-flush-directory-property)
10093 (tramp-flush-connection-property, tramp-list-connections)
10094 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10095
10096 * net/tramp-compat.el (tramp-compat-make-temp-file):
10097 Rename FILENAME to F.
10098
10099 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10100 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10101 (tramp-zeroconf-parse-workstation-device-names)
10102 (tramp-zeroconf-parse-webdav-device-names)
10103 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10104
10105 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10106 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10107
10108 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10109 arguments.
10110 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10111 (tramp-sh-handle-insert-file-contents-literally)
10112 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10113 with "_".
10114 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10115 Remove unused variables.
10116
10117 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10118 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10119 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10120
10121 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10122 Make them a defconst.
10123 (tramp-uuencode-region): Remove unused variable.
10124
10125 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10126
10127 * frameset.el (frameset--prop-setter): New function.
10128 (frameset-prop): Add gv-setter declaration.
10129 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10130 parameter was already set in FILTERED. Doc fix.
10131 (frameset--record-minibuffer-relationships): Allow saving a
10132 minibufferless frame without its corresponding minibuffer frame.
10133 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10134 frame, if the frame id matches.
10135 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10136 frames before orphaned ones.
10137 (frameset-restore): Warn about orphaned windows, instead of error out.
10138
10139 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10140
10141 * window.el (window-make-atom): Don't overwrite parameter
10142 already present.
10143 (display-buffer-in-atom-window): Handle special case where we
10144 split an already atomic window.
10145 (window--major-non-side-window, display-buffer-in-side-window)
10146 (window--side-check): Ignore minibuffer window when walking
10147 window tree.
10148 (window-deletable-p): Return 'frame only if no other frame uses
10149 our minibuffer window.
10150 (record-window-buffer): Run buffer-list-update-hook.
10151 (split-window): Make sure window--check-frame won't destroy an
10152 existing atomic window in case the new window gets nested
10153 inside.
10154 (display-buffer-at-bottom): Ignore minibuffer window when
10155 walking window tree. Don't split a side window.
10156 (pop-to-buffer): Don't set-buffer here, the select-window call
10157 should do that.
10158 (mouse-autoselect-window-select): Autoselect only if we are in the
10159 text portion of the window.
10160
10161 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10162
10163 * net/shr.el (shr-parse-image-data): New function to grab both the
10164 data itself and the Content-Type.
10165 (shr-put-image): Use it.
10166
10167 * net/eww.el (eww-display-image): Ditto.
10168
10169 * image.el (image-content-type-suffixes): New variable.
10170
10171 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10172
10173 * progmodes/python.el (python-imenu--build-tree)
10174 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10175
10176 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10177
10178 * simple.el (backward-word): Mention the optional argument.
10179
10180 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10181
10182 * frameset.el (frameset--make): Rename constructor from make-frameset.
10183 (frameset-p, frameset-valid-p): Don't autoload.
10184 (frameset-valid-p): Use normal accessors.
10185
10186 2013-08-13 Glenn Morris <rgm@gnu.org>
10187
10188 * progmodes/compile.el (compile-command): Tweak example in doc.
10189 * obsolete/scribe.el (scribe-mode):
10190 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10191
10192 * mail/feedmail.el (feedmail-confirm-outgoing)
10193 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10194
10195 * cus-start.el (truncate-partial-width-windows): Fix type.
10196
10197 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10198
10199 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10200
10201 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * emacs-lisp/timer.el (timer--time-setter): New function.
10204 (timer--time): Use it as gv-setter.
10205
10206 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10207 setter is not a symbol.
10208
10209 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10210
10211 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10212 if sending fails. This makes debugging easier.
10213
10214 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10215
10216 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10217 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10218 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10219
10220 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10221
10222 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10223
10224 2013-08-12 Glenn Morris <rgm@gnu.org>
10225
10226 * format.el (format-annotate-function):
10227 Handle read-only text properties in the source. (Bug#14887)
10228
10229 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10230
10231 * net/eww.el (eww-display-html): Ignore coding system errors.
10232 One web site uses "utf-8lias" as the coding system.
10233
10234 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10237
10238 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10239
10240 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10241 (tutorial--detailed-help): Remove unused local variables.
10242 (tutorial--save-tutorial-to): Use ignore-errors.
10243 (help-with-tutorial): Use looking-at-p.
10244
10245 * view.el (view-buffer-other-window, view-buffer-other-frame):
10246 Mark unused arguments.
10247
10248 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10249 (woman-select-symbol-fonts, woman, woman-find-file)
10250 (woman-insert-file-contents, woman-non-underline-faces):
10251 Use string-match-p.
10252 (woman1-unquote): Move declaration.
10253
10254 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10255 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10256 argument. Remove unused local variable.
10257 (xml-parse-elem-type): Use string-match-p.
10258 (xml-substitute-numeric-entities): Use ignore-errors.
10259
10260 * calculator.el (calculator): Mark unused argument.
10261 (calculator-paste, calculator-quit, calculator-integer-p):
10262 Use ignore-errors.
10263 (calculator-string-to-number, calculator-decimal, calculator-exp)
10264 (calculator-op-or-exp): Use string-match-p.
10265
10266 * dired.el (dired-buffer-more-recently-used-p): Declare.
10267 (dired-insert-set-properties, dired-insert-old-subdirs):
10268 Use ignore-errors.
10269
10270 * dired-aux.el (dired-compress): Use ignore-errors.
10271 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10272 (dired-do-async-shell-command, dired-do-shell-command)
10273 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10274 (dired-insert-subdir-validate): Use string-match-p.
10275 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10276 (dired-add-entry): Use string-match-p, looking-at-p.
10277 (dired-insert-subdir-newpos): Remove unused local variable.
10278
10279 * filenotify.el (file-notify-callback): Remove unused local variable.
10280
10281 * filesets.el (filesets-error): Mark unused argument.
10282 (filesets-which-command-p, filesets-filter-dir-names)
10283 (filesets-directory-files, filesets-get-external-viewer)
10284 (filesets-ingroup-get-data): Use string-match-p.
10285
10286 * find-file.el (ff-other-file-name, ff-other-file-name)
10287 (ff-find-the-other-file, ff-cc-hh-converter):
10288 Remove unused local variables.
10289 (ff-get-file-name): Use string-match-p.
10290 (ff-all-dirs-under): Use ignore-errors.
10291
10292 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10293 (follow-select-if-visible): Remove unused local variable.
10294
10295 * forms.el (read-file-filter): Move declaration.
10296 (forms--make-format, forms--make-parser, forms-insert-record):
10297 Quote function with #'.
10298 (forms--update): Use string-match-p. Quote function with #'.
10299
10300 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10301 (help-make-xrefs): Use looking-at-p.
10302 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10303
10304 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10305 (ibuffer-confirm-operation-on): Use string-match-p.
10306
10307 * msb.el (msb-item-handler, msb-dired-item-handler):
10308 Mark unused arguments.
10309
10310 * ses.el (ses-decode-cell-symbol)
10311 (ses-kill-override): Remove unused local variable.
10312 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10313 (ses-load): Use ignore-errors, looking-at-p.
10314 (ses-jump-safe): Use ignore-errors.
10315 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10316
10317 * tabify.el (untabify, tabify): Mark unused arguments.
10318
10319 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10320 Mark unused argument.
10321 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10322 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10323
10324 * emacs-lisp/timer.el (timer--time): Define setter with
10325 gv-define-setter to avoid deprecation warning.
10326
10327 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10328 (*record-cmpl-statistics-p*): Remove (was commented out).
10329 (cmpl-statistics-block): Remove (body was commented out).
10330 All callers changed.
10331 (add-completions-from-buffer, load-completions-from-file):
10332 Remove unused variables.
10333
10334 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10335
10336 * filecache.el (file-cache-delete-file-list):
10337 Print message only when told so.
10338 (file-cache-files-matching): Use #' in mapconcat argument.
10339
10340 * ffap.el (ffap-url-at-point): Fix reference to variable
10341 thing-at-point-default-mail-uri-scheme.
10342
10343 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10344
10345 * subr.el (define-error): New function.
10346 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10347 error-file-not-found and define with define-error.
10348 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10349 and define with define-error.
10350 * userlock.el (file-locked, file-supersession):
10351 * simple.el (mark-inactive):
10352 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10353 * progmodes/ada-mode.el (ada-mode-errors):
10354 * play/life.el (life-extinct):
10355 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10356 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10357 * nxml/rng-util.el (rng-error):
10358 * nxml/rng-uri.el (rng-uri-error):
10359 * nxml/rng-match.el (rng-compile-error):
10360 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10361 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10362 * nxml/nxml-rap.el (nxml-scan-error):
10363 * nxml/nxml-outln.el (nxml-outline-error):
10364 * net/soap-client.el (soap-error):
10365 * net/gnutls.el (gnutls-error):
10366 * net/ange-ftp.el (ftp-error):
10367 * mpc.el (mpc-proc-error):
10368 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10369 (json-number-format, json-string-escape, json-string-format)
10370 (json-key-format, json-object-format):
10371 * jka-compr.el (compression-error):
10372 * international/quail.el (quail-error):
10373 * international/kkc.el (kkc-error):
10374 * emacs-lisp/ert.el (ert-test-failed):
10375 * calc/calc.el (calc-error, inexact-result, math-overflow)
10376 (math-underflow):
10377 * bookmark.el (bookmark-error-no-filename):
10378 * epg.el (epg-error): Define with define-error.
10379
10380 * time.el (display-time-event-handler)
10381 (display-time-next-load-average): Don't call sit-for since it seems
10382 unnecessary (bug#15045).
10383
10384 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10385 Use #' instead of ' to quote functions.
10386 (checkdoc-output-mode): Use setq-local.
10387 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10388 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10389 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10390 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10391 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10392 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10393 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10394 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10395
10396 * ido.el (ido-completion-help): Fix up compiler warning.
10397
10398 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10399
10400 * frameset.el (frameset-p): Add autoload cookie.
10401 (frameset--jump-to-register): New function, based on code moved from
10402 register.el.
10403 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10404
10405 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10406 (frameset-restore, frameset-save, frameset-session-filter-alist):
10407 Remove declarations.
10408 (register-alist): Doc fix.
10409 (frameset-to-register): Move to frameset.el.
10410 (jump-to-register, describe-register-1): Remove frameset-specific code.
10411
10412 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10413
10414 * allout-widgets.el (allout-widgets-pre-command-business)
10415 (allout-widgets-post-command-business)
10416 (allout-widgets-after-change-handler)
10417 (allout-decorate-item-and-context, allout-set-boundary-marker)
10418 (allout-body-modification-handler)
10419 (allout-graphics-modification-handler): Mark ignored arguments.
10420 (allout-widgets-post-command-business)
10421 (allout-widgets-exposure-change-processor)
10422 (allout-widgets-exposure-undo-processor)
10423 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10424 (allout-parse-item-at-point, allout-decorate-item-guides)
10425 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10426 * allout.el (epa-passphrase-callback-function): Declare.
10427 (allout-overlay-insert-in-front-handler)
10428 (allout-overlay-interior-modification-handler)
10429 (allout-isearch-end-handler, allout-chart-siblings)
10430 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10431 (allout-yank-processing, allout-process-exposed)
10432 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10433 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10434 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10435 (lisp-indent-defform): Mark ignored arguments.
10436 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10437 (calculate-lisp-indent): Remove unused variables.
10438 * international/characters.el (indian-2-column, arabic-2-column)
10439 (tibetan): Mark ignored arguments.
10440 (use-cjk-char-width-table): Mark ignored arguments.
10441 Remove unused variables.
10442 * international/fontset.el (build-default-fontset-data)
10443 (x-compose-font-name, create-fontset-from-fontset-spec):
10444 Mark ignored arguments.
10445 (fontset-plain-name): Remove unused variables.
10446 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10447 (keyboard-coding-system): Mark ignored arguments.
10448 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10449 * help.el (resize-temp-buffer-window):
10450 * window.el (display-buffer-in-major-side-window)
10451 (display-buffer-in-side-window, display-buffer-in-previous-window):
10452 Remove unused variables.
10453 * isearch.el (isearch-forward-symbol):
10454 * version.el (emacs-bzr-version-bzr):
10455 * international/mule-cmds.el (current-language-environment):
10456 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10457 (x-handle-display):
10458 * term/pc-win.el (x-list-fonts, x-display-planes)
10459 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10460 (x-server-version, x-display-screens, x-display-mm-height)
10461 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10462 (x-selection-owner-p, x-own-selection-internal)
10463 (x-disown-selection-internal, x-get-selection-internal)
10464 (msdos-initialize-window-system):
10465 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10466 * term/x-win.el (x-handle-no-bitmap-icon):
10467 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10468 (vc-default-find-file-hook, vc-default-extra-menu):
10469 Mark ignored arguments.
10470
10471 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10474 break-condition in the context of the debugged code (bug#12685).
10475
10476 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10477
10478 * comint.el:
10479 Do not use an overlay to highlight the last prompt. (Bug#14744)
10480 (comint-mode): Make comint-last-prompt buffer local.
10481 (comint-last-prompt): New variable.
10482 (comint-last-prompt-overlay): Remove. Superseded by
10483 comint-last-prompt.
10484 (comint-snapshot-last-prompt, comint-output-filter):
10485 Use comint-last-prompt.
10486
10487 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10488
10489 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10490 (frameset-save): Check validity of the resulting frameset.
10491
10492 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10493
10494 * ido.el (ido-record-command): Add doc string.
10495
10496 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10497
10498 * frameset.el (frameset): Do not disable creation of the default
10499 frameset-p predicate. Doc fix.
10500 (frameset-valid-p): New function, copied from the old predicate-p.
10501 Add additional checks.
10502 (frameset-restore): Check with frameset-valid-p.
10503 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10504 (frameset-name, frameset-description, frameset-properties)
10505 (frameset-states): Add docstring.
10506 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10507 (frameset-filter-alist): Doc fixes.
10508
10509 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10510
10511 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10512
10513 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10514
10515 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10516 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10517 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10518 (byte-compile-normal-call): Remove obsolescence check.
10519
10520 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10521
10522 * frameset.el (frameset-restore): Doc fix.
10523
10524 * register.el (frameset-frame-id, frameset-frame-with-id)
10525 (frameset-p, frameset-restore, frameset-save): Declare.
10526 (register-alist): Document framesets.
10527 (frameset-session-filter-alist): Declare.
10528 (frameset-to-register): New function.
10529 (jump-to-register): Implement jumping to framesets. Doc fix.
10530 (describe-register-1): Describe framesets.
10531
10532 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10533
10534 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10535
10536 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10537 Use lexical-binding.
10538
10539 * frameset.el (frameset): Use type vector, not list (incompatible
10540 change). Do not declare a new constructor, use the default one.
10541 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10542 `name' and `description', respectively, and add read-only slot
10543 `timestamp'. Doc fixes.
10544 (frameset-copy, frameset-persistent-filter-alist)
10545 (frameset-filter-alist, frameset-switch-to-gui-p)
10546 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10547 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10548 (frameset-filter-iconified, frameset-keep-original-display-p):
10549 Doc fixes.
10550 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10551 Rename from frameset-filter-(save|restore)-param. All callers changed.
10552 Doc fix.
10553 (frameset-p): Adapt to change to vector and be more thorough.
10554 Change arg name to OBJECT. Doc fix.
10555 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10556 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10557 All callers changed.
10558 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10559 All callers changed.
10560 (frameset--record-minibuffer-relationships): Rename from
10561 frameset--process-minibuffer-frames. All callers changed.
10562 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10563 Use new default constructor (again). Doc fix.
10564 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10565 All callers changed.
10566 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10567 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10568 Doc fix.
10569 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10570 PARAMETERS and WINDOW-STATE, respectively.
10571 (frameset-restore): Add new keyword argument PREDICATE.
10572 Reset frameset--target-display to nil. Doc fix.
10573
10574 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10575
10576 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10577 (bat-mode): Use it.
10578 (bat-mode-syntax-table): Mark \n as end-of-comment.
10579 (bat-font-lock-keywords): Remove comment rule.
10580
10581 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10582 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10583
10584 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10585 (byte-compile-callargs-warn): Use `push'.
10586 (byte-compile-arglist-warn): Ignore higher-order "calls".
10587 (byte-compile-file-form-autoload): Use `pcase'.
10588 (byte-compile-function-form): If quoting a symbol, check that it exists.
10589
10590 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10591
10592 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10593 and add a few popular commands found in batch files.
10594 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10595 (dos-mode): Doc fixes.
10596
10597 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10600 (dos-mode): Use setq-local. Add space after "rem".
10601 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10602 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10603
10604 2013-08-07 Arni Magnusson <arnima@hafro.is>
10605
10606 * progmodes/dos.el: New file.
10607 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10608 dos-mode.
10609
10610 2013-08-06 Glenn Morris <rgm@gnu.org>
10611
10612 * calendar/calendar.el: Add new faces, and day-header-array.
10613 (calendar-weekday-header, calendar-weekend-header)
10614 (calendar-month-header): New faces.
10615 (calendar-day-header-construct): New function.
10616 (calendar-day-header-width): Also :set calendar-day-header-array.
10617 (calendar-american-month-header, calendar-european-month-header)
10618 (calendar-iso-month-header): Use calendar- faces.
10619 (calendar-generate-month):
10620 Use calendar-day-header-array for day headers; apply faces to them.
10621 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10622 (calendar-abbrev-construct): Add optional maxlen argument.
10623 (calendar-day-name-array): Doc fix.
10624 (calendar-day-name-array, calendar-abbrev-length)
10625 (calendar-day-abbrev-array):
10626 Also :set calendar-day-header-array, and maybe redraw.
10627 (calendar-day-header-array): New option. (Bug#15007)
10628 (calendar-font-lock-keywords): Set to nil and make obsolete.
10629 (calendar-day-name): Add option to use header array.
10630
10631 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10632
10633 * net/shr.el (shr-render-td): Remove debugging.
10634 (shr-render-td): Make width computation consistent by defaulting
10635 all zero-width columns to 10 characters. This may not be optimal,
10636 but it's at least consistent.
10637 (shr-make-table-1): Redo last change to fix the real problem in
10638 colspan handling.
10639
10640 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10641
10642 * files.el (cache-long-line-scans):
10643 Make obsolete alias to `cache-long-scans'.
10644
10645 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10646
10647 * frameset.el (frameset, frameset-filter-alist)
10648 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10649 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10650 (frameset-compute-pos): Rename from frameset--compute-pos,
10651 and add docstring.
10652 (frameset-move-onscreen): Use frameset-compute-pos.
10653 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10654
10655 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10656 Fix typos in docstrings.
10657
10658 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10659
10660 * frame.el (get-other-frame): Tiny cleanup.
10661
10662 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10663
10664 * vc/vc.el (vc-default-ignore-completion-table):
10665 Silence byte-compiler warning.
10666
10667 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10668 slot, which can indeed be nil.
10669 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10670 Move entry for `left' from persistent to live filter alist.
10671 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10672 Doc fixes.
10673 (frameset-filter-params): When restoring a frame, copy items added to
10674 `filtered', to avoid unwittingly modifying the original parameters.
10675 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10676 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10677
10678 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10679 to use looking-at-p instead of looking-at. (Bug#15028)
10680
10681 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 Revert introduction of isearch-filter-predicates (bug#14714).
10684 Rely on add-function instead.
10685 * isearch.el (isearch-filter-predicates): Rename it back to
10686 isearch-filter-predicate.
10687 (isearch-message-prefix): Use advice-function-mapc and advice
10688 properties to get the isearch-message-prefix.
10689 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10690 instead of run-hook-with-args-until-failure.
10691 (isearch-filter-visible): Not obsolete any more.
10692 * loadup.el: Preload nadvice.
10693 * replace.el (perform-replace): Revert to funcall
10694 instead of run-hook-with-args-until-failure.
10695 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10696 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10697 dired-isearch-filenames-toggle; make it into a proper minor mode.
10698 Use add/remove-function.
10699 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10700 Call the minor-mode rather than add/remove-hook.
10701 (dired-isearch-filter-filenames):
10702 Remove isearch-message-prefix property.
10703 * info.el (Info--search-loop): New function, extracted from Info-search.
10704 Funcall isearch-filter-predicate instead of
10705 run-hook-with-args-until-failure isearch-filter-predicates.
10706 (Info-search): Use it.
10707 (Info-mode): Use isearch-filter-predicate instead of
10708 isearch-filter-predicates.
10709
10710 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10711
10712 Do not call to `selected-window' where it is assumed by default.
10713 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10714 `window-hscroll', `window-width', `window-height', `window-buffer',
10715 `window-frame', `window-start', `window-point', `next-window'
10716 and `window-display-table'.
10717 * abbrev.el (abbrev--default-expand):
10718 * bs.el (bs--show-with-configuration):
10719 * buff-menu.el (Buffer-menu-mouse-select):
10720 * calc/calc.el (calc):
10721 * calendar/calendar.el (calendar-generate-window):
10722 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10723 (diary-make-entry):
10724 * comint.el (send-invisible, comint-dynamic-complete-filename)
10725 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10726 * completion.el (complete):
10727 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10728 * disp-table.el (describe-current-display-table):
10729 * doc-view.el (doc-view-insert-image):
10730 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10731 * ehelp.el (with-electric-help):
10732 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10733 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10734 * emacs-lisp/helper.el (Helper-help-scroller):
10735 * emulation/cua-base.el (cua--post-command-handler-1):
10736 * eshell/esh-mode.el (eshell-output-filter):
10737 * ffap.el (ffap-gnus-wrapper):
10738 * help-macro.el (make-help-screen):
10739 * hilit-chg.el (highlight-compare-buffers):
10740 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10741 * hl-line.el (global-hl-line-highlight):
10742 * icomplete.el (icomplete-simple-completing-p):
10743 * isearch.el (isearch-done):
10744 * jit-lock.el (jit-lock-stealth-fontify):
10745 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10746 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10747 * mpc.el (mpc-tagbrowser, mpc):
10748 * net/rcirc.el (rcirc-any-buffer):
10749 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10750 * play/landmark.el (landmark-max-width, landmark-max-height):
10751 * play/zone.el (zone):
10752 * progmodes/compile.el (compilation-goto-locus):
10753 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10754 * progmodes/etags.el (find-tag-other-window):
10755 * progmodes/fortran.el (fortran-column-ruler):
10756 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10757 * progmodes/verilog-mode.el (verilog-point-text):
10758 * reposition.el (reposition-window):
10759 * rot13.el (toggle-rot13-mode):
10760 * server.el (server-switch-buffer):
10761 * shell.el (shell-dynamic-complete-command)
10762 (shell-dynamic-complete-environment-variable):
10763 * simple.el (insert-buffer, set-selective-display)
10764 (delete-completion-window):
10765 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10766 (speedbar-recenter):
10767 * startup.el (fancy-splash-head):
10768 * textmodes/ispell.el (ispell-command-loop):
10769 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10770 * tutorial.el (help-with-tutorial):
10771 * vc/add-log.el (add-change-log-entry):
10772 * vc/compare-w.el (compare-windows):
10773 * vc/ediff-help.el (ediff-indent-help-message):
10774 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10775 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10776 (ediff-setup-control-frame):
10777 * vc/emerge.el (emerge-position-region):
10778 * vc/pcvs-util.el (cvs-bury-buffer):
10779 * window.el (walk-windows, mouse-autoselect-window-select):
10780 * winner.el (winner-set-conf, winner-undo): Related users changed.
10781
10782 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10783
10784 * frameset.el (frameset--set-id): Doc fix.
10785 (frameset-frame-id, frameset-frame-id-equal-p)
10786 (frameset-locate-frame-id): New functions.
10787 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10788 (frameset-restore): Use them.
10789
10790 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10791
10792 Do not call to `selected-frame' where it is assumed by default.
10793 Affected functions are `raise-frame', `redraw-frame',
10794 `frame-first-window', `frame-terminal' and `delete-frame'.
10795 * calendar/appt.el (appt-disp-window):
10796 * epg.el (epg-wait-for-completion):
10797 * follow.el (follow-delete-other-windows-and-split)
10798 (follow-avoid-tail-recenter):
10799 * international/mule.el (set-terminal-coding-system):
10800 * mail/rmail.el (rmail-mail-return):
10801 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10802 * progmodes/f90.el (f90-add-imenu-menu):
10803 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10804 * server.el (server-switch-buffer):
10805 * simple.el (delete-completion-window):
10806 * talk.el (talk):
10807 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10808 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10809 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10810 * vc/ediff.el (ediff-documentation): Related users changed.
10811 * frame.el (selected-terminal): Remove the leftover.
10812
10813 2013-08-05 Glenn Morris <rgm@gnu.org>
10814
10815 * calendar/calendar.el (calendar-generate-month):
10816 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10817 (calendar-generate-month, calendar-font-lock-keywords):
10818 Fix for calendar-day-header-width > length of any day name.
10819
10820 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10821
10822 * desktop.el (desktop-clear): Use new name of sort predicate.
10823
10824 * frameset.el (frameset): Add docstring. Move :version property to its
10825 own `version' slot.
10826 (frameset-copy): Rename from copy-frameset.
10827 (frameset-p): Check more thoroughly.
10828 (frameset-prop): Do not check for :version, which is no longer a prop.
10829 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10830 Use new :never value instead of t.
10831 (frameset-filter-alist): Expand and clarify docstring.
10832 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10833 (frameset-filter-minibuffer, frameset-filter-save-param)
10834 (frameset-filter-restore-param, frameset-filter-iconified):
10835 Add pointer to docstring of frameset-filter-alist.
10836 (frameset-filter-params): Rename filter values to be more meaningful:
10837 :never instead of t, and reverse the meanings of :save and :restore.
10838 (frameset--process-minibuffer-frames): Clarify error message.
10839 (frameset-save): Avoid unnecessary and confusing call to framep.
10840 Use new BOA constructor for framesets.
10841 (frameset--reuse-list): Doc fix.
10842 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10843 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10844 (frameset-minibufferless-first-p): Doc fix.
10845 Rename from frameset-sort-frames-for-deletion.
10846 (frameset-restore): Doc fixes. Use new function names.
10847 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10848
10849 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10850
10851 * desktop.el (desktop-restore-forces-onscreen)
10852 (desktop-restore-reuses-frames): Document :keyword constant values.
10853 (desktop-filter-parameters-alist): Remove, now identical to
10854 frameset-filter-alist.
10855 (desktop--filter-tty*): Remove, moved to frameset.el.
10856 (desktop-save-frameset, desktop-restore-frameset):
10857 Do not pass :filters argument.
10858
10859 * frameset.el (frameset-live-filter-alist)
10860 (frameset-persistent-filter-alist): New variables.
10861 (frameset-filter-alist): Use them. Add autoload cookie.
10862 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10863 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10864 `frameset--id' (it's supposed to be internal to frameset.el).
10865 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10866 (frameset--initial-params): New function.
10867 (frameset--get-frame): Use it. Doc fix.
10868 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10869 Accept :all, not 'all.
10870 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10871 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10872 with fbound symbols. Fix frame id matching, and remove matching ids if
10873 the frame being restored is deleted. Obey :delete.
10874
10875 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * subr.el (macrop): New function.
10878 (text-clone--maintaining): New var.
10879 (text-clone--maintain): Rename from text-clone-maintain. Use it
10880 instead of inhibit-modification-hooks.
10881
10882 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10883 a proxy, so as handle autoloads and redefinitions of the target.
10884 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10885
10886 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10887 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10888 (pcase--mutually-exclusive-p): New function.
10889 (pcase--split-consp): Use it.
10890 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10891 mutually exclusive with the current predicate.
10892
10893 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10894 (edebug-macrop): Remove. Use `macrop' instead.
10895 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10896 (ad-macro-p):
10897 * eshell/esh-cmd.el (eshell-macrop):
10898 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10899
10900 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10903 (advice-mapc): New function, using it.
10904 (advice-function-member-p): New function.
10905 (advice--normalize): Store the cdr in advice--saved-rewrite since
10906 that's the part that will be changed.
10907 (advice--symbol-function): New function.
10908 (advice-remove): Handle removal before the function is defined.
10909 Adjust to new advice--saved-rewrite.
10910 (advice-member-p): Use advice-function-member-p and
10911 advice--symbol-function.
10912
10913 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10914
10915 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10916 (frameset-filter-minibuffer): Doc fix.
10917 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10918 (frameset--set-id, frameset--process-minibuffer-frames)
10919 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10920 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10921
10922 * desktop.el (desktop-clear): Only delete frames when called
10923 interactively and desktop-restore-frames is non-nil. Doc fix.
10924 (desktop-read): Set desktop-saved-frameset to nil.
10925
10926 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10927
10928 * vc/vc.el (vc-ignore): Rewrite.
10929 (vc-default-ignore-completion-table, vc--read-lines)
10930 (vc--add-line, vc--remove-regexp): New functions.
10931
10932 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10933 (vc-svn-ignore-completion-table): New function.
10934
10935 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10936 (vc-hg-ignore-completion-table)
10937 (vc-hg-find-ignore-file): New functions.
10938
10939 * vc/vc-git.el (vc-git-ignore): Rewrite.
10940 (vc-git-ignore-completion-table)
10941 (vc-git-find-ignore-file): New functions.
10942
10943 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10944
10945 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10946 (vc-bzr-ignore-completion-table)
10947 (vc-bzr-find-ignore-file): New functions.
10948
10949 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10950
10951 * frameset.el (frameset-prop): New function and setter.
10952 (frameset-save): Do not modify frame list passed by the caller.
10953
10954 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10957
10958 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10961 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10962
10963 * custom.el (custom-initialize-default, custom-initialize-set)
10964 (custom-initialize-reset, custom-initialize-changed): Affect the
10965 toplevel-default-value (bug#6275, bug#14586).
10966 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10967 for bug#6275.
10968
10969 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10970
10971 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10972 Add cl-def* expressions.
10973
10974 * frameset.el (frameset-filter-params): Fix order of arguments.
10975
10976 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10977
10978 Move code related to saving frames to frameset.el.
10979 * desktop.el: Require frameset.
10980 (desktop-restore-frames): Doc fix.
10981 (desktop-restore-reuses-frames): Rename from
10982 desktop-restoring-reuses-frames.
10983 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10984 (desktop-clear): Clear frames too.
10985 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10986 (desktop--filter-tty*, desktop-save, desktop-read):
10987 Use frameset functions.
10988 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10989 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10990 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10991 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10992 (desktop--process-minibuffer-frames, desktop-save-frames)
10993 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10994 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10995 (desktop--sort-states, desktop-restoring-frames-p)
10996 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10997 (desktop-restoring-frameset-p, desktop-restore-frameset)
10998 (desktop--check-dont-save, desktop-save-frameset): New functions.
10999 (desktop--app-id): New constant.
11000 (desktop-first-buffer, desktop-buffer-ok-count)
11001 (desktop-buffer-fail-count): Move before first use.
11002 * frameset.el: New file.
11003
11004 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 * files.el: Use lexical-binding.
11007 (dir-locals-read-from-file): Remove unused `err' variable.
11008 (hack-dir-local-variables--warned-coding): New var.
11009 (hack-dir-local-variables): Use it to avoid repeated warnings.
11010 (make-backup-file-name--default-function): New function.
11011 (make-backup-file-name-function): Use it as default.
11012 (buffer-stale--default-function): New function.
11013 (buffer-stale-function): Use it as default.
11014 (revert-buffer-insert-file-contents--default-function): New function.
11015 (revert-buffer-insert-file-contents-function): Use it as default.
11016 (insert-directory): Avoid add-to-list.
11017
11018 * autorevert.el (auto-revert-handler): Simplify.
11019 Use buffer-stale--default-function.
11020
11021 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11022
11023 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11024
11025 * whitespace.el (whitespace-ensure-local-variables): New function.
11026 (whitespace-cleanup-region): Call it.
11027 (whitespace-turn-on): Call it.
11028
11029 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11030
11031 Complete file name handlers.
11032
11033 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11034 (tramp-handle-verify-visited-file-modtime)
11035 (tramp-handle-file-notify-rm-watch): New functions.
11036 (tramp-call-process): Do not bind `default-directory'.
11037
11038 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11039 Order alphabetically.
11040 <access-file, add-name-to-file, dired-call-process>:
11041 <dired-compress-file, file-acl, file-notify-rm-watch>:
11042 <file-ownership-preserved-p, file-selinux-context>:
11043 <make-directory-internal, make-symbolic-link, set-file-acl>:
11044 <set-file-selinux-context, set-visited-file-modtime>:
11045 <verify-visited-file-modtime>: Add handler.
11046 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11047
11048 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11049 <file-notify-add-watch, file-notify-rm-watch>:
11050 <set-file-times, set-visited-file-modtime>:
11051 <verify-visited-file-modtime>: Add handler.
11052 (with-tramp-gvfs-error-message)
11053 (tramp-gvfs-handle-set-visited-file-modtime)
11054 (tramp-gvfs-fuse-file-name): Remove.
11055 (tramp-gvfs-handle-file-notify-add-watch)
11056 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11057 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11058
11059 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11060 Order alphabetically.
11061 <file-notify-rm-watch>: Use default Tramp handler.
11062 <executable-find>: Remove private handler.
11063 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11064 `default-directory'.
11065 (tramp-sh-handle-executable-find)
11066 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11067 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11068 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11069 Do not use `format' in `tramp-message'.
11070
11071 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11072 <file-notify-rm-watch, set-visited-file-modtime>:
11073 <verify-visited-file-modtime>: Add handler.
11074 (tramp-smb-call-winexe): Do not bind `default-directory'.
11075
11076 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11077
11078 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11079
11080 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11081
11082 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11083 use it.
11084 (log-view-diff-changeset): Same.
11085 (log-view-diff-common): Call backend command `previous-revision'
11086 to find out the previous revision, in both cases. Swap the
11087 variables `to' and `fr', so that `fr' usually refers to the
11088 earlier revision (Bug#14989).
11089
11090 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11091
11092 * ibuf-ext.el (ibuffer-filter-by-filename):
11093 Make it work with dired buffers too.
11094
11095 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11096
11097 * emacs-lisp/re-builder.el (reb-color-display-p):
11098 * files.el (save-buffers-kill-terminal):
11099 * net/browse-url.el (browse-url):
11100 * server.el (server-save-buffers-kill-terminal):
11101 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11102 Prefer nil to selected-frame for the first arg of frame-parameter.
11103
11104 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11105
11106 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11107
11108 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11109
11110 * minibuffer.el (completion--twq-all): Try and preserve each
11111 completion's case choice (bug#14907).
11112
11113 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11114
11115 * net/network-stream.el (open-network-stream): Mention the new
11116 :nogreeting parameter.
11117 (network-stream-open-starttls): Use the :nogreeting parameter
11118 (bug#14938).
11119
11120 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11121
11122 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11123 more natural than popping.
11124
11125 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11126 (shr-urlify): Highlight under mouse.
11127
11128 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11129
11130 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11131
11132 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11133
11134 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11135 buffer for output.
11136
11137 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11138 point-min==1. Fix search string. Fix parentheses missing.
11139
11140 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11141 assume point-min==1. Fix search string. Fix parentheses missing.
11142
11143 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11144
11145 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11146 buffer for output.
11147
11148 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11149
11150 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11151 initial frame is minibuffer-less. (Bug#14841)
11152
11153 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11154
11155 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11156 option.
11157
11158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11159 (tramp-maybe-open-connection): Use it.
11160
11161 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11162
11163 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11164 minimal set of parameters passed when creating a frame, because
11165 the minibuffer status of a frame cannot be changed later.
11166
11167 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11168
11169 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11170 replace-regexp-in-string and inadvertent omissions in previous change.
11171 (todo-filter-items): Ensure only file names are comma-separated in
11172 name of filtered items buffer.
11173
11174 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11175
11176 * desktop.el: Optionally force offscreen frames back onscreen.
11177 (desktop-restoring-reuses-frames): New option.
11178 (desktop--compute-pos, desktop--move-onscreen): New functions.
11179 (desktop--make-frame): Use desktop--move-onscreen.
11180
11181 2013-07-27 Alan Mackenzie <acm@muc.de>
11182
11183 Fontify a Java generic method as a function.
11184 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11185 value to t.
11186
11187 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11188
11189 * calendar/todo-mode.el: Add command to rename todo files.
11190 (todo-rename-file): New command.
11191 (todo-key-bindings-t): Add key binding for it. Change the
11192 bindings of todo-filter-regexp-items(-multifile) to use `x'
11193 instead of `r', since the latter is better suited to the new
11194 renaming command.
11195
11196 2013-07-27 Alan Mackenzie <acm@muc.de>
11197
11198 Make Java try-with-resources statement parse properly.
11199 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11200 (c-block-stmt-1-2-key): New language constants/variables.
11201 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11202 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11203 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11204 with c-block-stmt-1-2-key.
11205
11206 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11207
11208 * desktop.el (desktop--make-frame): Apply most frame parameters after
11209 creating the frame to force (partially or totally) offscreen frames to
11210 be restored as such.
11211
11212 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11213
11214 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11215 (Bug#14948)
11216
11217 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11218
11219 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11220 `base' arg of backtrace-frame.
11221
11222 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11223
11224 * simple.el (list-processes): Doc fix.
11225
11226 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11227
11228 * desktop.el (desktop--select-frame):
11229 Try harder to reuse existing frames.
11230
11231 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11232
11233 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11234 (edebug-eval): Use backtrace-eval.
11235 (edebug--display, edebug--recursive-edit): Don't let-bind the
11236 edebug-outer-* vars that keep track of variables we locally let-bind.
11237 (edebug-outside-excursion): Don't restore outside values of locally
11238 let-bound vars.
11239 (edebug--display): Use user-error.
11240 (cl-lexical-debug, cl-debug-env): Remove.
11241
11242 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11243
11244 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11245 are restored to be sure that they are visible before deleting any
11246 remaining ones.
11247
11248 2013-07-26 Matthias Meulien <orontee@gmail.com>
11249
11250 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11251 vc-print-root-log. (Bug#14948)
11252
11253 2013-07-26 Richard Stallman <rms@gnu.org>
11254
11255 Add aliases for encrypting mail.
11256 * epa.el (epa-mail-aliases): New option.
11257 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11258 Bind inhibit-read-only so read-only text doesn't ruin everything.
11259 (epa-mail-default-recipients): New subroutine broken out.
11260 Handle epa-mail-aliases.
11261
11262 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 Add support for lexical variables to the debugger's `e' command.
11265 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11266 vars, except for debugger-outer-match-data.
11267 (debugger-frame-number): Move check for "on a function call" from
11268 callers into it. Add `skip-base' argument.
11269 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11270 (debugger-env-macro): Only reset the state stored in non-variables,
11271 i.e. current-buffer and match-data.
11272 (debugger-eval-expression): Rewrite using backtrace-eval.
11273 * subr.el (internal--called-interactively-p--get-frame): Remove.
11274 (called-interactively-p):
11275 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11276 `base' arg of backtrace-frame instead.
11277
11278 2013-07-26 Glenn Morris <rgm@gnu.org>
11279
11280 * align.el (align-regexp): Doc fix. (Bug#14857)
11281 (align-region): Explicit error if subexpression missing/does not match.
11282
11283 * simple.el (global-visual-line-mode):
11284 Do not duplicate the mode lighter. (Bug#14858)
11285
11286 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11287
11288 * window.el (display-buffer): In display-buffer bind
11289 split-window-keep-point to t, bug#14829.
11290
11291 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11292
11293 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11294 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11295 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11296 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11297 Change accordingly.
11298 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11299 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11300
11301 2013-07-25 Glenn Morris <rgm@gnu.org>
11302
11303 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11304
11305 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11306
11307 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11308 parameter to modify-frame-parameters if the value has not changed;
11309 this is a workaround for bug#14949.
11310 (desktop--make-frame): On cl-delete-if call, check parameter name,
11311 not full parameter.
11312
11313 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11314
11315 * vc/vc.el (vc-ignore): New function.
11316
11317 * vc/vc-svn.el (vc-svn-ignore): New function.
11318
11319 * vc/vc-hg.el (vc-hg-ignore): New function.
11320
11321 * vc/vc-git.el (vc-git-ignore): New function.
11322
11323 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11324 (vc-dir-ignore): New function.
11325
11326 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11327 (cvs-append-to-ignore): Move here from pcvs.el.
11328
11329 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11330
11331 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11332
11333 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11334
11335 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11336 (desktop-restore-frames): Warn when deleting an existing frame failed.
11337
11338 2013-07-24 Glenn Morris <rgm@gnu.org>
11339
11340 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11341
11342 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11343
11344 * filenotify.el (file-notify-supported-p):
11345 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11346 Remove functions.
11347
11348 * autorevert.el (auto-revert-use-notify)
11349 (auto-revert-notify-add-watch):
11350 * net/tramp.el (tramp-file-name-for-operation):
11351 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11352 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11353 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11354 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11355 Remove `file-notify-supported-p' entry.
11356
11357 2013-07-24 Glenn Morris <rgm@gnu.org>
11358
11359 * printing.el: Replace all uses of deleted ps-windows-system,
11360 ps-lp-system, ps-flatten-list with lpr- versions.
11361
11362 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11363
11364 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11365 checked with memq (bug#14935).
11366
11367 * files.el (revert-buffer-function): Use a non-nil default.
11368 (revert-buffer-preserve-modes): Declare var to
11369 provide access to the `preserve-modes' argument.
11370 (revert-buffer): Let-bind it.
11371 (revert-buffer--default): New function, extracted from revert-buffer.
11372
11373 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * lpr.el: Signal print errors more prominently.
11376 (print-region-function): Don't default to nil.
11377 (lpr-print-region): New function, extracted from print-region-1.
11378 Check lpr's return value and signal an error in case of problem.
11379 (print-region-1): Use it.
11380 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11381 versions instead.
11382 (ps-printer-name): Default to nil.
11383 (ps-printer-name-option): Default to lpr-printer-switch.
11384 (ps-print-region-function): Don't default to nil.
11385 (ps-postscript-code-directory): Simplify default.
11386 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11387 (ps-string-list, ps-eval-switch, ps-flatten-list)
11388 (ps-flatten-list-1): Remove.
11389 (ps-multibyte-buffer): Avoid setq.
11390 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11391 (print-region-function, ps-print-region-function): Don't set them here.
11392
11393 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11394
11395 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11396 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11397 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11398 (ido-decorations): Doc fix.
11399
11400 * ansi-color.el: Fix old URL.
11401
11402 2013-07-23 Michael R. Mauger <michael@mauger.com>
11403
11404 * progmodes/sql.el: Version 3.3
11405 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11406 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11407 (sql-interactive-remove-continuation-prompt): Rewrite, use
11408 functions above. Fix continuation prompt and complete output line
11409 handling.
11410 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11411 redirected output buffer.
11412 (sql-mode): Restore deleted code (Bug#13591).
11413
11414 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11415
11416 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11417
11418 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11419
11420 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11421
11422 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11423 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11424 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11425
11426 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11427
11428 * desktop.el (desktop-clear): Simplify; remove useless checks
11429 against invalid buffer names.
11430 (desktop-list*): Use cl-list*.
11431 (desktop-buffer-info, desktop-create-buffer): Simplify.
11432
11433 2013-07-23 Leo Liu <sdl.web@gmail.com>
11434
11435 * bookmark.el (bookmark-make-record): Restore NAME as a default
11436 value. (Bug#14933)
11437
11438 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11439
11440 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11441 extracted from autoload--insert-text.
11442 (autoload--insert-text): Remove.
11443 (autoload--print-cookie-text): New function, extracted from
11444 autoload--insert-cookie-text.
11445 (autoload--insert-cookie-text): Remove.
11446 (autoload-generate-file-autoloads): Adjust calls accordingly.
11447
11448 * winner.el (winner-hook-installed-p): Remove.
11449 (winner-mode): Simplify accordingly.
11450
11451 * subr.el (add-to-list): Fix compiler-macro when `append' is
11452 not constant. Don't use `cl-member' for the base case.
11453
11454 * progmodes/subword.el: Fix boundary case (bug#13758).
11455 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11456 own group.
11457 (subword-backward-regexp): Make it a constant.
11458 (subword-forward-internal): Don't treat a trailing capital as the
11459 beginning of a word.
11460
11461 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11462
11463 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11464 global value of tabulated-list-revert-hook (bug#14930).
11465
11466 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11467
11468 * desktop.el: Require 'cl-lib.
11469 (desktop-before-saving-frames-functions): New hook.
11470 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11471 for frames being saved. Rename from desktop--save-minibuffer-frames.
11472 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11473 Do not save frames with non-nil `desktop-dont-save' parameter.
11474 Filter out deleted frames.
11475 (desktop--find-frame): Use cl-find-if.
11476 (desktop--select-frame): Use cl-(first|second|third) to access values
11477 of desktop-mini.
11478 (desktop--make-frame): Use cl-delete-if.
11479 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11480 (desktop-restore-frames): Use cl-(first|second|third) to access values
11481 of desktop-mini. Look for visible frame at the end, not while
11482 restoring frames.
11483
11484 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11485 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11486 Use string-match-p, looking-at-p (bug#14927).
11487
11488 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11489
11490 * desktop.el (desktop-saved-frame-states):
11491 Rename from desktop--saved-states; all users changed.
11492 (desktop-save-frames): Rename from desktop--save-frames.
11493 Do not save state to desktop file.
11494 (desktop-save): Save desktop-saved-frame-states to desktop file
11495 and reset to nil.
11496 (desktop-restoring-frames-p): New function.
11497 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11498 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11499 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11500
11501 * desktop.el: Correctly restore iconified frames.
11502 (desktop--filter-iconified-position): New function.
11503 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11504
11505 2013-07-20 Glenn Morris <rgm@gnu.org>
11506
11507 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11508 Let `message' do the formatting.
11509 (def-gdb-preempt-display-buffer): Add explicit format.
11510
11511 * image-dired.el (image-dired-track-original-file):
11512 Use with-current-buffer.
11513 (image-dired-track-thumbnail): Use with-current-buffer.
11514 Avoid changing point of wrong window.
11515
11516 * image-dired.el (image-dired-track-original-file):
11517 Avoid changing point of wrong window. (Bug#14909)
11518
11519 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11520
11521 * progmodes/gdb-mi.el (gdb-done-or-error):
11522 Guard against "%" in gdb output. (Bug#14127)
11523
11524 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11525
11526 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11527 (Bug#14826)
11528
11529 * international/mule.el (coding-system-iso-2022-flags): Fix last
11530 change.
11531
11532 2013-07-20 Kenichi Handa <handa@gnu.org>
11533
11534 * international/mule.el (coding-system-iso-2022-flags):
11535 Add `8-bit-level-4'. (Bug#8522)
11536
11537 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11538
11539 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11540 (bug#14815).
11541
11542 * net/eww.el (eww-process-text-input): Allow inputting when the
11543 point is at the start of the line, as the properties aren't
11544 front-sticky.
11545
11546 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11547 degenerate widths.
11548
11549 2013-07-19 Richard Stallman <rms@gnu.org>
11550
11551 * epa.el (epa-popup-info-window): Doc fix.
11552
11553 * subr.el (split-string): New arg TRIM.
11554
11555 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11556
11557 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11558 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11559
11560 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11561
11562 * filenotify.el (file-notify--library): Rename from
11563 `file-notify-support'. Do not autoload. Adapt all uses.
11564 (file-notify-supported-p): New defun.
11565
11566 * autorevert.el (auto-revert-use-notify):
11567 Use `file-notify-supported-p' instead of `file-notify-support'.
11568 Adapt docstring.
11569 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11570
11571 * net/tramp.el (tramp-file-name-for-operation):
11572 Add `file-notify-supported-p'.
11573
11574 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11575 New defun.
11576 (tramp-sh-file-name-handler-alist): Add it as handler for
11577 `file-notify-supported-p '.
11578
11579 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11580 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11581 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11582 Add `ignore' as handler for `file-notify-*' functions.
11583
11584 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11585
11586 * simple.el (line-move-partial, line-move): Don't start vscroll or
11587 scroll-up if the current line is not taller than the window.
11588 (Bug#14881)
11589
11590 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11591
11592 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11593 highlight question marks in the method names as strings.
11594 (ruby-block-beg-keywords): Inline.
11595 (ruby-font-lock-keyword-beg-re): Extract from
11596 `ruby-font-lock-keywords'.
11597
11598 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11599
11600 * frame.el (blink-cursor-blinks): New defcustom.
11601 (blink-cursor-blinks-done): New defvar.
11602 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11603 (blink-cursor-timer-function): Check if number of blinks has been
11604 done on X and NS.
11605 (blink-cursor-suspend, blink-cursor-check): New defuns.
11606
11607 2013-07-15 Glenn Morris <rgm@gnu.org>
11608
11609 * edmacro.el (edmacro-format-keys): Fix previous change.
11610
11611 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11612
11613 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11614 The hack didn't work outside English locales anyway.
11615
11616 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11617
11618 * simple.el (define-alternatives): Rename from alternatives-define,
11619 per RMS' suggestion.
11620
11621 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11622
11623 * desktop.el (desktop-restore-frames): Change default to t.
11624 (desktop-restore-in-current-display): Now offer more options.
11625 (desktop-restoring-reuses-frames): New customization option.
11626 (desktop--saved-states): Doc fix.
11627 (desktop-filter-parameters-alist): New variable, renamed and expanded
11628 from desktop--excluded-frame-parameters.
11629 (desktop--target-display): New variable.
11630 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11631 (desktop--filter-tty*, desktop--filter-*-color)
11632 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11633 (desktop--filter-save-desktop-parm)
11634 (desktop-restore-in-original-display-p): New functions.
11635 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11636 (desktop--save-minibuffer-frames): New function, inspired by a similar
11637 function from Martin Rudalics.
11638 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11639 (desktop--restore-in-this-display-p): Remove.
11640 (desktop--find-frame): Rename from desktop--find-frame-in-display
11641 and add predicate argument.
11642 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11643 (desktop--reuse-list): New variable.
11644 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11645 New functions.
11646 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11647
11648 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11649
11650 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11651
11652 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11653
11654 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11655 Highlight conversion methods on Kernel.
11656
11657 2013-07-13 Alan Mackenzie <acm@muc.de>
11658
11659 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11660 and comment it out. This out-commenting enables certain C++
11661 declarations to be parsed correctly.
11662
11663 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11664
11665 * international/mule.el (define-coding-system): Doc fix.
11666
11667 * simple.el (default-font-height): Don't call font-info if the
11668 frame's default font didn't change since the frame was created.
11669 (Bug#14838)
11670
11671 2013-07-13 Leo Liu <sdl.web@gmail.com>
11672
11673 * ido.el (ido-read-file-name): Guard against non-symbol value.
11674
11675 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11676
11677 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11678 in nested defuns.
11679
11680 2013-07-13 Leo Liu <sdl.web@gmail.com>
11681
11682 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11683 ido-set-matches call. (Bug#6852)
11684
11685 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11686
11687 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11688 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11689 Ruby 2.0.
11690 (ruby-font-lock-keywords): Distinguish calls to functions with
11691 module-like names from module references. Highlight character
11692 literals.
11693
11694 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11695
11696 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11697 (gdb-send): Handle continued commands. (Bug#14847)
11698
11699 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11700
11701 * desktop.el (desktop--v2s): Remove unused local variable.
11702 (desktop-save-buffer): Make defvar-local; adjust docstring.
11703 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11704 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11705
11706 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11707
11708 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11709
11710 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11711
11712 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11713 (Bug#14842)
11714
11715 2013-07-12 Glenn Morris <rgm@gnu.org>
11716
11717 * doc-view.el: Require cl-lib at runtime too.
11718 (doc-view-remove-if): Remove.
11719 (doc-view-search-next-match, doc-view-search-previous-match):
11720 Use cl-remove-if.
11721
11722 * edmacro.el: Require cl-lib at runtime too.
11723 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11724 (edmacro-mismatch, edmacro-subseq): Remove.
11725
11726 * shadowfile.el: Require cl-lib.
11727 (shadow-remove-if): Remove.
11728 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11729 Use cl-remove-if.
11730
11731 * wid-edit.el: Require cl-lib.
11732 (widget-choose): Use cl-remove-if.
11733 (widget-remove-if): Remove.
11734
11735 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11736 (ebrowse-delete-if-not): Remove.
11737 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11738 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11739 Use cl-delete-if-not.
11740
11741 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11742
11743 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11744 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11745
11746 2013-07-12 Leo Liu <sdl.web@gmail.com>
11747
11748 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11749
11750 2013-07-11 Glenn Morris <rgm@gnu.org>
11751
11752 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11753 (edebug-gensym-index, edebug-gensym):
11754 Remove reimplementation of cl-gensym.
11755 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11756
11757 * thumbs.el: Require cl-lib at run-time too.
11758 (thumbs-gensym-counter, thumbs-gensym):
11759 Remove reimplementation of cl-gensym.
11760 (thumbs-temp-file): Use cl-gensym.
11761
11762 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11763 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11764 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11765 (ert--union, ert--gensym-counter, ert--gensym-counter)
11766 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11767 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11768 (ert-make-test-unbound, ert--expand-should-1)
11769 (ert--expand-should, ert--should-error-handle-error)
11770 (should-error, ert--explain-equal-rec)
11771 (ert--plist-difference-explanation, ert-select-tests)
11772 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11773 Use cl-lib functions rather than reimplementations.
11774
11775 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11776
11777 * net/tramp.el (tramp-methods): Extend docstring.
11778 (tramp-connection-timeout): New defcustom.
11779 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11780 (with-tramp-progress-reporter): Simplify.
11781 (tramp-process-actions): Improve messages.
11782
11783 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11784 * net/tramp-sh.el (tramp-maybe-open-connection):
11785 Use `tramp-connection-timeout'.
11786 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11787 (Bug#14808)
11788
11789 2013-07-11 Leo Liu <sdl.web@gmail.com>
11790
11791 * ido.el (ido-read-file-name): Conform to the requirements of
11792 read-file-name. (Bug#11861)
11793 (ido-read-directory-name): Conform to the requirements of
11794 read-directory-name.
11795
11796 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11797
11798 * subr.el (delay-warning): New function.
11799
11800 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11801
11802 * simple.el (default-line-height): New function.
11803 (line-move-partial, line-move): Use it instead of computing the
11804 line height inline.
11805 (line-move-partial): Always compute ROWH. If the last line is
11806 partially-visible, but its text is completely visible, allow
11807 cursor to enter such a partially-visible line.
11808
11809 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11810
11811 Improve error messages. (Bug#14808)
11812
11813 * net/tramp.el (tramp-current-connection): New defvar, moved from
11814 tramp-sh.el.
11815 (tramp-message-show-progress-reporter-message): Remove, not
11816 needed anymore.
11817 (tramp-error-with-buffer): Show message in minibuffer.
11818 Discard input before waiting. Reset connection timestamp.
11819 (with-tramp-progress-reporter): Improve messages.
11820 (tramp-process-actions): Use progress reporter. Delete process in
11821 case of error. Improve messages.
11822
11823 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11824 Call `tramp-error-with-buffer' with vector and buffer.
11825 (tramp-current-connection): Remove.
11826 (tramp-maybe-open-connection): The car of
11827 `tramp-current-connection' are the first 3 slots of the vector.
11828
11829 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11830
11831 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11832 inside continued strings.
11833
11834 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11835
11836 Timestamp fixes for undo (Bug#14824).
11837 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11838
11839 2013-07-10 Leo Liu <sdl.web@gmail.com>
11840
11841 * files.el (require-final-newline): Allow safe local value.
11842 (Bug#14834)
11843
11844 2013-07-09 Leo Liu <sdl.web@gmail.com>
11845
11846 * ido.el (ido-read-directory-name): Handle fallback.
11847 (ido-read-file-name): Update DIR to ido-current-directory.
11848 (Bug#1516)
11849 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11850
11851 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11852
11853 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11854 "autoload". Remove "warn lower camel case" section, previously
11855 commented out. Highlight negation char. Do not highlight the
11856 target in singleton method definitions.
11857
11858 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11859
11860 * faces.el (tty-setup-hook): Declare the hook.
11861
11862 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11863 and detect when a guard/pred depends on local vars (bug#14773).
11864 (pcase--u1): Adjust caller.
11865
11866 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11867
11868 * simple.el (line-move-partial, line-move): Account for
11869 line-spacing.
11870 (line-move-partial): Avoid setting vscroll when the last
11871 partially-visible line in window is of default height.
11872
11873 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11874
11875 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11876 been used a while.
11877
11878 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11879
11880 * subr.el (read-quoted-char): Remove unused local variable `char'.
11881
11882 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11883
11884 * vc/ediff.el (ediff-version): Version update.
11885 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11886 (ediff-merge-with-ancestor-command, ediff-directories-command)
11887 (ediff-directories3-command, ediff-merge-directories-command)
11888 (ediff-merge-directories-with-ancestor-command): New functions.
11889 All are command-line interfaces to ediff: to facilitate calling
11890 Emacs with the appropriate ediff functions invoked.
11891
11892 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11893 New function.
11894 (viper-save-kill-buffer): Check if buffer is modified.
11895
11896 * emulation/viper.el (viper-version): Version update.
11897 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11898
11899 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11902 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11903 (viper-intercept-ESC-key): Simplify.
11904 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11905 don't use kbd.
11906 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11907 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11908 (viper-setup-ESC-to-escape): New functions.
11909 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11910 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11911
11912 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11913
11914 * simple.el (default-font-height, window-screen-lines):
11915 New functions.
11916 (line-move, line-move-partial): Use them instead of
11917 frame-char-height and window-text-height. This makes scrolling
11918 text smoother when the buffer's default face uses a font that is
11919 different from the frame's default font.
11920
11921 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11922
11923 * files.el (write-file): Do not display confirm dialog for NS,
11924 it does its own dialog, which can't be canceled (Bug#14578).
11925
11926 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11927
11928 * simple.el (line-move-partial): Adjust the row returned by
11929 posn-at-point for the current window-vscroll. (Bug#14567)
11930
11931 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11932
11933 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11934 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11935 spaces.
11936
11937 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11938
11939 * window.el (window-state-put-stale-windows): New variable.
11940 (window--state-put-2): Save list of windows without matching buffer.
11941 (window-state-put): Remove "bufferless" windows if possible.
11942
11943 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11944
11945 * simple.el (alternatives-define): Remove leftover :group keyword.
11946 Tweak docstring.
11947
11948 2013-07-06 Leo Liu <sdl.web@gmail.com>
11949
11950 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11951 (ido-enable-virtual-buffers): New variable.
11952 (ido-buffer-internal, ido-toggle-virtual-buffers)
11953 (ido-make-buffer-list): Use it.
11954 (ido-exhibit): Support turning on and off virtual buffers
11955 automatically.
11956
11957 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11958
11959 * simple.el (alternatives-define): New macro.
11960
11961 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * subr.el (read-quoted-char): Use read-key.
11964 (sit-for): Let read-event decode tty input (bug#14782).
11965
11966 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11967
11968 * calendar/todo-mode.el: Add handling of file deletion, both by
11969 mode command and externally. Fix various related bugs.
11970 Clarify Commentary and improve some documentation strings and code.
11971 (todo-delete-file): New command.
11972 (todo-check-file): New function.
11973 (todo-show): Handle external deletion of the file we're trying to
11974 show (bug#14688). Replace called-interactively-p by an optional
11975 prefix argument to avoid problematic interaction with catch form
11976 when byte compiled (bug#14702).
11977 (todo-quit): Handle external deletion of the archive's todo file.
11978 Make sure the buffer that was visiting the archive file is still
11979 live before trying to bury it.
11980 (todo-category-completions): Handle external deletion of any
11981 category completion files.
11982 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11983 of todo files, in case of external deletion.
11984 (todo-add-file): Replace unnecessary setq by let-binding.
11985 (todo-find-archive): Check whether there are any archives.
11986 Replace unnecessary setq by let-binding.
11987 (todo-archive-done-item): Use find-file-noselect to get the
11988 archive buffer whether or not the archive already exists.
11989 Remove superfluous code. Use file size instead of buffer-file-name to
11990 check if the archive is new; if it is, update list of archives.
11991 (todo-default-todo-file): Allow nil to be a valid value for when
11992 there are no todo files.
11993 (todo-reevaluate-default-file-defcustom): Use corrected definition
11994 of todo-default-todo-file.
11995 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11996 (todo-delete-category, todo-show-categories-table)
11997 (todo-category-number): Clarify comment.
11998 (todo-filter-items): Clarify documentation string.
11999 (todo-show-current-file, todo-display-as-todo-file)
12000 (todo-reset-and-enable-done-separator): Tweak documentation string.
12001 (todo-done-separator): Make separator length window-width, since
12002 bug#2749 is now fixed.
12003
12004 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12005
12006 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12007 Support both "gvfs-monitor-dir" and "inotifywait".
12008 (tramp-sh-file-inotifywait-process-filter): Rename from
12009 `tramp-sh-file-notify-process-filter'.
12010 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12011 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12012
12013 2013-07-05 Leo Liu <sdl.web@gmail.com>
12014
12015 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12016
12017 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12018
12019 * frame.el (display-pixel-height, display-pixel-width)
12020 (display-mm-height, display-mm-width): Mention behavior on
12021 multi-monitor setups in docstrings.
12022 (w32-display-monitor-attributes-list): Declare function.
12023 (display-monitor-attributes-list): Use it.
12024
12025 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12026
12027 * filenotify.el: New package.
12028
12029 * autorevert.el (top): Require filenotify.el.
12030 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12031 instead.
12032 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12033 (auto-revert-notify-handler): Use `file-notify-*' functions.
12034
12035 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12036
12037 * net/tramp.el (tramp-file-name-for-operation):
12038 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12039
12040 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12041 for `file-notify-add-watch' and `file-notify-rm-watch'.
12042 (tramp-process-sentinel): Improve trace.
12043 (tramp-sh-handle-file-notify-add-watch)
12044 (tramp-sh-file-notify-process-filter)
12045 (tramp-sh-handle-file-notify-rm-watch)
12046 (tramp-get-remote-inotifywait): New defuns.
12047
12048 2013-07-03 Juri Linkov <juri@jurta.org>
12049
12050 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12051 call of `occur-read-primary-args' to interactive spec.
12052
12053 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12054 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12055
12056 2013-07-03 Matthias Meulien <orontee@gmail.com>
12057
12058 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12059 `Buffer-menu-multi-occur'. Add it to the menu.
12060 (Buffer-menu-mode): Document it in docstring.
12061 (Buffer-menu-multi-occur): New command. (Bug#14673)
12062
12063 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12064
12065 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12066 keywords and built-ins.
12067
12068 2013-07-03 Glenn Morris <rgm@gnu.org>
12069
12070 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12071
12072 Make info-xref checks case-sensitive by default
12073 * info.el (Info-find-node, Info-find-in-tag-table)
12074 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12075 Add option for exact case matching of nodes.
12076 * info-xref.el (info-xref): New custom group.
12077 (info-xref-case-fold): New option.
12078 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12079
12080 2013-07-03 Leo Liu <sdl.web@gmail.com>
12081
12082 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12083
12084 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12085
12086 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12087 middle of block statement initially, lower the depth. Remove
12088 FIXME comment, not longer valid. Remove middle of block statement
12089 detection, no need to do that anymore since we've been using
12090 `ruby-parse-region' here.
12091
12092 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12093
12094 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12095
12096 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12097
12098 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12099
12100 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12101
12102 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12103 (desktop-restore-in-current-display): New customization option.
12104 (desktop--excluded-frame-parameters): Add `font'.
12105 (desktop--save-frames): Rename from desktop--save-windows.
12106 (desktop--restore-in-this-display-p): New function.
12107 (desktop--make-full-frame): Remove unwanted width/height from
12108 full(width|height) frames.
12109 (desktop--restore-frames): Rename from desktop--restore-windows.
12110 Obey desktop-restore-current-display. Do not delete old frames or
12111 select a new frame unless we were able to restore at least one frame.
12112
12113 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12114
12115 * files.el (find-file-noselect): Simplify conditional expression.
12116
12117 * textmodes/remember.el (remember-append-to-file):
12118 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12119
12120 Add `remember-notes' function to store random notes across Emacs
12121 restarts.
12122 * textmodes/remember.el (remember-data-file): Add :set callback to
12123 affect notes buffer (if any).
12124 (remember-notes): New command.
12125 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12126 New defcustoms for the `remember-notes' function.
12127 (remember-notes-save-and-bury-buffer): New command.
12128 (remember-notes-mode-map): New variable.
12129 (remember-mode): New minor mode.
12130 (remember-notes--kill-buffer-query): New function.
12131 * startup.el (initial-buffer-choice): Add notes to custom type.
12132
12133 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12134
12135 * bindings.el (right-char, left-char): Don't call sit-for, this is
12136 no longer needed. Use arithmetic comparison only for numerical
12137 arguments.
12138
12139 * international/mule-cmds.el (select-safe-coding-system):
12140 Handle the case of FROM being a string correctly. (Bug#14755)
12141
12142 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12143
12144 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12145 progression on degenerate tables.
12146 (shr-rescale-image): ImageMagick animated images currently don't work.
12147
12148 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12149
12150 Some fixes and improvements for desktop frame restoration.
12151 It is still experimental and disabled by default.
12152 * desktop.el (desktop--save-windows): Put the selected frame at
12153 the head of the list.
12154 (desktop--make-full-frame): New function.
12155 (desktop--restore-windows): Try to re-select the frame that was
12156 selected upon saving. Do not abort if some frames fail to restore,
12157 just show an error message and continue. Set up maximized frames
12158 so they have default non-maximized dimensions.
12159
12160 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12161
12162 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12163 Don't start heredoc inside a string or comment.
12164
12165 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12166
12167 * bindings.el (visual-order-cursor-movement): New defcustom.
12168 (right-char, left-char): Provide visual-order cursor motion by
12169 calling move-point-visually. Update the doc strings.
12170
12171 2013-06-28 Kenichi Handa <handa@gnu.org>
12172
12173 * international/mule.el (define-coding-system): New coding system
12174 properties :inhibit-null-byte-detection,
12175 :inhibit-iso-escape-detection, and :prefer-utf-8.
12176 (set-buffer-file-coding-system): If :charset-list property of
12177 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12178 appropriate for setting.
12179
12180 * international/mule-cmds.el (select-safe-coding-system):
12181 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12182 multibyte characters, return utf-8 (or one of its siblings).
12183
12184 * international/mule-conf.el (prefer-utf-8): New coding system.
12185 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12186 files.
12187
12188 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12189
12190 * net/shr.el (shr-render-region): New function.
12191
12192 * net/eww.el: Autoload `eww-browse-url'.
12193
12194 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12195
12196 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12197 Adapt to `package-desc-version' being a list.
12198 Use `package--ac-desc-version' to retrieve version from a package
12199 archive element.
12200
12201 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12202
12203 New experimental feature to save&restore window and frame setup.
12204 * desktop.el (desktop-save-windows): New defcustom.
12205 (desktop--saved-states): New var.
12206 (desktop--excluded-frame-parameters): New defconst.
12207 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12208 (desktop--restore-windows, desktop--save-windows): New functions.
12209 (desktop-save): Call `desktop--save-windows'.
12210 (desktop-read): Call `desktop--restore-windows'.
12211
12212 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12213
12214 * net/shr.el (add-face-text-property): Remove compat definition.
12215
12216 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12217
12218 * info.el (Info-try-follow-nearest-node): Move search for footnote
12219 above search for node name to prevent missing a footnote (bug#14717).
12220
12221 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12222
12223 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12224
12225 2013-06-27 Leo Liu <sdl.web@gmail.com>
12226
12227 * net/eww.el (eww-read-bookmarks): Check file size.
12228
12229 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12232 advice--pending if newdef is nil or an autoload (bug#13820).
12233 (advice-mapc): New function.
12234
12235 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12236
12237 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12238 probably.
12239 (eww-mode-map): Add a menu bar.
12240 (eww-add-bookmark): New command.
12241 (eww-bookmark-mode): New mode and commands.
12242 (eww-add-bookmark): Remove newlines from the title.
12243 (eww-bookmark-browse): Don't bug out if it's the only window.
12244
12245 2013-06-26 Glenn Morris <rgm@gnu.org>
12246
12247 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12248 (hfy-size): Handle ttys. (Bug#14668)
12249
12250 * info-xref.el: Update for Texinfo 5 change in *note format.
12251 (info-xref-node-re, info-xref-note-re): New constants.
12252 (info-xref-check-buffer): Use info-xref-note-re.
12253
12254 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12255
12256 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12257
12258 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12259 nil terminate the loop (bug#14718).
12260
12261 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12262
12263 * net/eww.el: Rework history traversal. When going forward/back,
12264 put these actions into the history, too, so that they can be
12265 replayed.
12266 (eww-render): Move the history reset to the correct buffer.
12267
12268 2013-06-25 Juri Linkov <juri@jurta.org>
12269
12270 * files-x.el (modify-dir-local-variable): Change the header comment
12271 in the file with directory local variables. (Bug#14692)
12272
12273 * files-x.el (read-file-local-variable-value): Add `default'.
12274 (Bug#14710)
12275
12276 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12277
12278 * net/eww.el (eww-make-unique-file-name): Create a unique file
12279 name before saving to entering `y' accidentally asynchronously.
12280
12281 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12282
12283 * net/eww.el (eww-download): New command and keystroke.
12284
12285 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12286
12287 * net/eww.el (eww-copy-page-url): Change name of command.
12288
12289 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12290 be more consistent with Info and dired.
12291
12292 * net/eww.el (eww-mode-map): Ditto.
12293
12294 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12297 packages from archives.
12298 (package-archive-contents): Change format; include obsolete packages.
12299 (package-desc): Use `dir' to mark builtin packages.
12300 (package--from-builtin): Set the `dir' field to `builtin'.
12301 (generated-autoload-file, version-control): Declare.
12302 (package-compute-transaction): Change first arg and return value to be
12303 lists of package-descs. Adjust to new package-archive-contents format.
12304 (package--add-to-archive-contents): Adjust to new
12305 package-archive-contents format.
12306 (package-download-transaction): Arg is now a list of package-descs.
12307 (package-install): If `pkg' is a package name, pass it as
12308 a requirement, so it is subject to the usual (e.g. disabled) checks.
12309 (describe-package): Accept package-desc as well.
12310 (describe-package-1): Describe a specific package-desc. Add links to
12311 other package-descs for the same package name.
12312 (package-menu-describe-package): Pass the actual package-desc.
12313 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12314 works correctly.
12315 (package-desc-status): New function.
12316 (package-menu--refresh): New function, extracted
12317 from package-menu--generate.
12318 (package-menu--generate): Use it.
12319 (package-delete): Update package-alist.
12320 (package-menu-execute): Don't call package-initialize.
12321
12322 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12323 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12324 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12325 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12326 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12327 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12328
12329 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12330
12331 * window.el (window--state-get-1): Workaround for bug#14527.
12332 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12333
12334 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12335
12336 * net/eww.el (eww-back-url): Implement the history by stashing all
12337 the data into a list.
12338 (eww-forward-url): Allow going forward in the history, too.
12339
12340 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12341
12342 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12343 for values and use read--expression for expressions (bug#14710).
12344 (read-file-local-variable): Avoid setq.
12345 (read-file-local-variable-mode): Use minor-mode-list.
12346
12347 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12348
12349 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12350 for DOI URLs.
12351
12352 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12353
12354 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12355 Update imenu-support when dialect changes.
12356
12357 2013-06-25 Leo Liu <sdl.web@gmail.com>
12358
12359 * ido.el (ido-read-internal): Allow forward slash on windows.
12360
12361 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12362
12363 * net/eww.el (eww): Start of strings is \\`, not ^.
12364
12365 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12366
12367 * net/shr.el (shr-browse-url): Fix interactive spec.
12368
12369 * net/eww.el (eww): Add a trailing slash to domain names.
12370
12371 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12372
12373 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12374
12375 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12376
12377 * net/shr.el (shr-browse-url): Use an external browser if given a
12378 prefix.
12379
12380 * net/eww.el (eww-external-browser): Move to shr.
12381
12382 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12383
12384 * net/eww.el (eww): Work more correctly for file: URLs.
12385 (eww-detect-charset): Allow quoted charsets.
12386 (eww-yank-page-url): New command and keystroke.
12387
12388 2013-06-24 Daiki Ueno <ueno@gnu.org>
12389
12390 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12391 file name of gpg executable.
12392 (epg-context-program): New function.
12393 (epg-context-home-directory): New function.
12394 (epg-context-set-program): New function.
12395 (epg-context-set-home-directory): New function.
12396 (epg--start): Use `epg-context-program' instead of
12397 'epg-gpg-program'.
12398 (epg--list-keys-1): Likewise.
12399
12400 2013-06-24 Leo Liu <sdl.web@gmail.com>
12401
12402 * ido.el (ido-read-internal): Fix bug#14620.
12403
12404 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12405
12406 * faces.el (face-documentation): Simplify.
12407 (read-face-attribute, tty-find-type, x-resolve-font-name):
12408 Use `string-match-p'.
12409 (list-faces-display): Use `string-match-p'. Simplify.
12410 (face-spec-recalc): Check face to avoid face alias loops.
12411 (read-color): Use `string-match-p' and non-capturing parenthesis.
12412
12413 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12414
12415 * net/shr.el (shr-rescale-image): Use the new
12416 :max-width/:max-height functionality.
12417
12418 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12419
12420 * net/eww.el (eww-search-prefix): New variable.
12421 (eww): Use it.
12422 (eww-external-browser): New variable.
12423 (eww-mode-map): New keystroke.
12424 (eww-browse-with-external-browser): New command.
12425
12426 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12427
12428 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12429
12430 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12431 Don't skip aligning the next header field when padding is 0;
12432 otherwise, field width is not respected unless the title is as
12433 wide as the field.
12434
12435 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12436
12437 * emacs-lisp/package.el (package-el-version): Remove.
12438 (package-process-define-package): Fix inf-loop.
12439 (package-install): Allow symbols as arguments again.
12440
12441 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12442
12443 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12444 add some more keyword-like methods.
12445 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12446
12447 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12448
12449 * bs.el (bs-buffer-show-mark): Make defvar-local.
12450 (bs-mode): Use setq-local.
12451
12452 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12453 (emacs-lock--try-unlocking): Make defvar-local.
12454
12455 2013-06-22 Glenn Morris <rgm@gnu.org>
12456
12457 * play/cookie1.el (cookie-apropos): Minor simplification.
12458
12459 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12460
12461 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12462
12463 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12464 `regexp-opt', it breaks the build during dumping.
12465
12466 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12467
12468 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12469 Highlight keyword-like methods on Kernel and Module with
12470 font-lock-builtin-face.
12471 (auto-mode-alist): Consolidate different entries into one regexp
12472 and add more *file-s.
12473
12474 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12475
12476 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12477
12478 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12479 (diary-entry): Use it in the action of this button type instead of
12480 diary-goto-entry.
12481
12482 * calendar/todo-mode.el: New version.
12483 (todo-add-category): Append new category to end of file and give
12484 it the highest number, instead of putting it at the beginning and
12485 giving it 0. Incorporate noninteractive functionality.
12486 (todo-forward-category): Adapt to 1-based category numbering.
12487 Allow skipping over archived categories.
12488 (todo-backward-category): Derive from todo-forward-category.
12489 (todo-backward-item, todo-forward-item): Make noninteractive and
12490 delegate interactive part to new commands. Make sensitive to done items.
12491 (todo-categories): Make value an alist of category names and
12492 vectors of item counts.
12493 (todo-category-beg): Make a defconst.
12494 (todo-category-number): Use 1 instead of 0 as initial value.
12495 (todo-category-select): Make sensitive to overlays, optional item
12496 highlighting and done items.
12497 (todo-delete-item): Make sensitive to overlays and marked and done items.
12498 (todo-edit-item): Make sensitive to overlays and editing of
12499 date/time header optional. Add format checks.
12500 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12501 no-op if point is not on an item. Advertise using todo-edit-quit.
12502 (todo-edit-mode): Make sensitive to new format, font-locking, and
12503 multiple todo files.
12504 (todo-insert-item, todo-insert-item-here): Derive from
12505 todo-basic-insert-item and extend functionality.
12506 (todo-item-end, todo-item-start): Make sensitive to done items.
12507 (todo-item-string): Don't return text properties. Restore point.
12508 (todo-jump-to-category): Make sensitive to multiple todo files and
12509 todo archives. Use extended category completion.
12510 (todo-lower-item, todo-raise-item): Rename to *-priority and
12511 derive from todo-set-item-priority.
12512 (todo-mode): Derive from special-mode. Make sensitive to new
12513 format, font-locking and multiple todo files. Make read-only.
12514 (todo-mode-map): Don't suppress digit keys, so they can supply
12515 prefix arguments. Add many new key bindings.
12516 (todo-prefix): Insert as an overlay instead of file text.
12517 Change semantics from diary date expression to purely visual mark.
12518 (todo-print): Rename to todo-print-buffer. Make buffer display
12519 features printable. Remove option to restrict number of items
12520 printed. Add option to print to file.
12521 (todo-print-function): Rename to todo-print-buffer-function.
12522 (todo-quit): Extend to handle exiting new todo modes.
12523 (todo-remove-item): Make sensitive to overlays.
12524 (todo-save): Extend to buffers of filtered items.
12525 (todo-show): Make sensitive to done items, multiple todo files and
12526 new todo modes. Offer to convert legacy todo file before creating
12527 first new todo file.
12528 (todo-show-priorities): Rename to todo-top-priorities.
12529 Change semantics of value 0.
12530 (todo-top-priorities): Rename to todo-filter-top-priorities,
12531 derive from todo-filter-items and extend functionality.
12532 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12533 and extend functionality to other types of filtered items.
12534 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12535 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12536 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12537 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12538 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12539 (todo-edit-mode-hook, todo-entry-prefix-function)
12540 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12541 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12542 (todo-initials, todo-insert-threshold, todo-item-string-start)
12543 (todo-line-string, todo-menu, todo-mode-hook)
12544 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12545 (todo-print-priorities, todo-remove-separator)
12546 (todo-save-top-priorities-too, todo-string-count-lines)
12547 (todo-string-multiline-p, todo-time-string-format)
12548 (todo-tmp-buffer-name): Remove.
12549 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12550 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12551 (todo-edit-category-diary-inclusion)
12552 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12553 (todo-edit-file, todo-edit-item-date-day)
12554 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12555 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12556 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12557 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12558 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12559 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12560 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12561 (todo-filter-top-priorities-multifile, todo-find-archive)
12562 (todo-find-filtered-items-file, todo-go-to-source-item)
12563 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12564 (todo-jump-to-archive-category, todo-lower-category)
12565 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12566 (todo-move-category, todo-move-item, todo-next-button)
12567 (todo-next-item, todo-padded-string, todo-powerset)
12568 (todo-previous-button, todo-previous-item)
12569 (todo-print-buffer-to-file, todo-raise-category)
12570 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12571 (todo-set-category-number, todo-set-item-priority)
12572 (todo-set-top-priorities-in-category)
12573 (todo-set-top-priorities-in-file, todo-show-categories-table)
12574 (todo-sort-categories-alphabetically-or-numerically)
12575 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12576 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12577 (todo-toggle-item-header, todo-toggle-item-highlighting)
12578 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12579 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12580 (todo-unarchive-items, todo-unmark-category): New commands.
12581 (todo-absolute-file-name, todo-add-to-buffer-list)
12582 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12583 (todo-basic-insert-item, todo-category-completions)
12584 (todo-category-number, todo-category-string-matcher-1)
12585 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12586 (todo-check-format, todo-clear-matches)
12587 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12588 (todo-current-category, todo-date-string-matcher)
12589 (todo-define-insertion-command, todo-diary-expired-matcher)
12590 (todo-diary-goto-entry, todo-diary-item-p)
12591 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12592 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12593 (todo-done-item-section-p, todo-done-separator)
12594 (todo-done-string-matcher, todo-files, todo-filter-items)
12595 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12596 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12597 (todo-insert-category-line, todo-insert-item-from-calendar)
12598 (todo-insert-sort-button, todo-insert-with-overlays)
12599 (todo-insertion-command-name, todo-insertion-key-bindings)
12600 (todo-label-to-key, todo-longest-category-name-length)
12601 (todo-make-categories-list, todo-mode-external-set)
12602 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12603 (todo-modes-set-3, todo-multiple-filter-files)
12604 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12605 (todo-read-category, todo-read-date, todo-read-dayname)
12606 (todo-read-file-name, todo-read-time)
12607 (todo-reevaluate-category-completions-files-defcustom)
12608 (todo-reevaluate-default-file-defcustom)
12609 (todo-reevaluate-filelist-defcustoms)
12610 (todo-reevaluate-filter-files-defcustom)
12611 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12612 (todo-reset-done-separator, todo-reset-done-separator-string)
12613 (todo-reset-done-string, todo-reset-global-current-todo-file)
12614 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12615 (todo-reset-prefix, todo-set-categories)
12616 (todo-set-date-from-calendar, todo-set-show-current-file)
12617 (todo-set-top-priorities, todo-short-file-name)
12618 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12619 (todo-total-item-counts, todo-update-buffer-list)
12620 (todo-update-categories-display, todo-update-categories-sexp)
12621 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12622 New functions.
12623 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12624 New major modes.
12625 (todo-categories, todo-display, todo-edit, todo-faces)
12626 (todo-filtered): New defgroups.
12627 (todo-archived-only, todo-button, todo-category-string, todo-date)
12628 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12629 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12630 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12631 (todo-add-item-if-new-category, todo-always-add-time-string)
12632 (todo-categories-align, todo-categories-archived-label)
12633 (todo-categories-category-label, todo-categories-diary-label)
12634 (todo-categories-done-label, todo-categories-number-separator)
12635 (todo-categories-todo-label, todo-categories-totals-label)
12636 (todo-category-completions-files, todo-completion-ignore-case)
12637 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12638 (todo-done-separator-string, todo-done-string)
12639 (todo-files-function, todo-filter-done-items, todo-filter-files)
12640 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12641 (todo-initial-category, todo-initial-file, todo-item-mark)
12642 (todo-legacy-date-time-regexp, todo-mode-line-function)
12643 (todo-nondiary-marker, todo-number-prefix)
12644 (todo-print-buffer-function, todo-show-current-file)
12645 (todo-show-done-only, todo-show-first, todo-show-with-done)
12646 (todo-skip-archived-categories, todo-top-priorities-overrides)
12647 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12648 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12649 New defcustoms.
12650 (todo-category-done, todo-date-pattern, todo-date-string-start)
12651 (todo-diary-items-buffer, todo-done-string-start)
12652 (todo-filtered-items-buffer, todo-item-start)
12653 (todo-month-abbrev-array, todo-month-name-array)
12654 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12655 (todo-top-priorities-buffer): New defconsts.
12656 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12657 (todo-categories-with-marks, todo-category-string-face)
12658 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12659 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12660 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12661 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12662 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12663 (todo-font-lock-keywords, todo-global-current-todo-file)
12664 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12665 (todo-insertion-commands-args)
12666 (todo-insertion-commands-args-genlist)
12667 (todo-insertion-commands-names, todo-insertion-map)
12668 (todo-key-bindings-t, todo-key-bindings-t+a)
12669 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12670 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12671 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12672 (todo-visited): New variables.
12673
12674 2013-06-21 Glenn Morris <rgm@gnu.org>
12675
12676 * play/cookie1.el (cookie-apropos): Add optional display argument.
12677 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12678 (psychoanalyze-pinhead): Use cookie-doctor.
12679
12680 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12681
12682 * emacs-lisp/package.el (tar-get-file-descriptor)
12683 (tar--extract): Declare.
12684
12685 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12686
12687 Extend flymake's warning predicate to be a function (bug#14217).
12688 * progmodes/flymake.el (flymake-warning-predicate): New.
12689 (flymake-parse-line): Use it.
12690 (flymake-warning-re): Make obsolete alias to
12691 `flymake-warning-predicate'.
12692
12693 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12696 (package-obsolete-list): Remove.
12697 (package-activate): Remove min-version argument. Add `force' argument.
12698 Adjust to new package-alist format.
12699 (package-mark-obsolete): Remove.
12700 (package-unpack): Force reload of the package's autoloads.
12701 (package-installed-p): Check builtins if the installed package is not
12702 recent enough.
12703 (package-initialize): Don't reset package-obsolete-list.
12704 Don't specify which package version to activate.
12705 (package-process-define-package, describe-package-1)
12706 (package-menu--generate): Adjust to new package-alist format.
12707
12708 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12709
12710 * allout-widgets.el (allout-widgets-mode-off)
12711 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12712 (allout-widgets-post-command-business)
12713 (allout-widgets-after-copy-or-kill-function)
12714 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12715 (allout-decorate-item-and-context)
12716 (allout-graphics-modification-handler): Fix typos in docstrings.
12717 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12718
12719 * cmuscheme.el (scheme-start-file): Doc fix.
12720 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12721 (scheme-input-filter): Use `string-match-p'.
12722
12723 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12724
12725 * dired-x.el: Use Dired consistently in docstrings.
12726
12727 * dired.el: Use Dired consistently in docstrings.
12728 (dired-readin, dired-mode): Use `setq-local'.
12729 (dired-switches-alist): Make defvar-local.
12730 (dired-buffers-for-dir): Use `zerop'.
12731 (dired-safe-switches-p, dired-switches-escape-p)
12732 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12733 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12734 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12735 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12736 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12737 (dired-toggle-marks, dired-mark-files-containing-regexp)
12738 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12739 (dired-flag-auto-save-files, dired-flag-backup-files):
12740 Use `looking-at-p'.
12741 (dired-mark-files-regexp, dired-build-subdir-alist):
12742 Use `string-match-p', `looking-at-p'.
12743
12744 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12745 (direct-print-region-helper): Use `string-match-p'.
12746
12747 2013-06-21 Leo Liu <sdl.web@gmail.com>
12748
12749 * comint.el (comint-redirect-results-list-from-process):
12750 Fix infinite loop.
12751
12752 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12753
12754 * net/eww.el (eww-update-header-line-format): Quote % characters.
12755
12756 2013-06-21 Glenn Morris <rgm@gnu.org>
12757
12758 * play/cookie1.el (cookie): New custom group.
12759 (cookie-file): New option.
12760 (cookie-check-file): New function.
12761 (cookie): Make it interactive. Make start and end messages optional.
12762 Interactively, display the result. Default to cookie-file.
12763 (cookie-insert): Default to cookie-file.
12764 (cookie-snarf): Make start and end messages optional.
12765 Default to cookie-file. Use with-temp-buffer.
12766 (cookie-read): Rename from read-cookie.
12767 Make start and end messages optional. Default to cookie-file.
12768 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12769 Do not autoload it.
12770 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12771 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12772
12773 2013-06-21 Leo Liu <sdl.web@gmail.com>
12774
12775 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12776
12777 2013-06-21 Glenn Morris <rgm@gnu.org>
12778
12779 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12780
12781 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12782 Daniel Hackney <dan@haxney.org>
12783
12784 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12785 Consolidate the single-file vs tarball code.
12786 (package-desc-suffix): New function.
12787 (package-desc-full-name): Don't bother inlining it.
12788 (package-load-descriptor): Return the new package-desc.
12789 (package-mark-obsolete): Remove unused arg `package'.
12790 (package-unpack): Make it work for single files as well.
12791 Make it update package-alist.
12792 (package--make-autoloads-and-stuff): Rename from
12793 package--make-autoloads-and-compile. Don't compile any more.
12794 (package--compile): New function.
12795 (package-generate-description-file): New function, extracted from
12796 package-unpack-single.
12797 (package-unpack-single): Remove.
12798 (package--with-work-buffer): Add indentation and debugging info.
12799 (package-download-single): Remove.
12800 (package-install-from-archive): Rename from package-download-tar, make
12801 it take a pkg-desc, and make it work for single files as well.
12802 (package-download-transaction): Simplify.
12803 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12804 external tar program.
12805 (package-install-from-buffer): Remove `pkg-desc' argument.
12806 Use package-tar-file-info for tar-mode buffers.
12807 (package-install-file): Simplify accordingly.
12808 (package-archive-base): Change to take a pkg-desc.
12809 * tar-mode.el (tar--check-descriptor): New function, extracted from
12810 tar-get-descriptor.
12811 (tar-get-descriptor): Use it.
12812 (tar-get-file-descriptor): New function.
12813 (tar--extract): New function, extracted from tar-extract.
12814 (tar--extract): Use it.
12815 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12816 case the summary uses non-ascii. Adjust to new calling convention of
12817 package-tar-file-info.
12818
12819 2013-06-21 Leo Liu <sdl.web@gmail.com>
12820
12821 * comint.el (comint-redirect-results-list-from-process):
12822 Fix random delay. (Bug#14681)
12823
12824 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12825
12826 * profiler.el (profiler-format-number): Use log, not log10.
12827
12828 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12829
12830 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12831
12832 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12833
12834 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12835 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12836 yet available.
12837 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12838 (AUTOGENEL): ... here.
12839 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12840 (cl--defsubst-expand): Use it.
12841
12842 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12843
12844 * subr.el (log10): Move here from C code, and declare as obsolete.
12845 All uses of (log10 X) replaced with (log X 10).
12846
12847 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12848
12849 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12850 Declare with `defvar-local'.
12851 (tabulated-list-use-header-line, tabulated-list-entries)
12852 (tabulated-list-padding, tabulated-list-printer)
12853 (tabulated-list-sort-key): Declare with `defvar-local'.
12854 (tabulated-list-init-header, tabulated-list-print-fake-header):
12855 Use `setq-local'.
12856
12857 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12858
12859 * arc-mode.el (archive-mode): Add `archive-write-file' to
12860 `write-contents-functions' also for remote files. (Bug#14652)
12861
12862 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12863
12864 * cus-edit.el (custom-commands): Fix typos.
12865 (custom-display): Fix tooltip text.
12866 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12867 Fix typos in docstrings.
12868 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12869 (custom-unlispify-menu-entry, custom-magic-value-create)
12870 (custom-add-see-also, custom-group-value-create): Use ?\s.
12871 (custom-guess-type, customize-apropos, editable-field)
12872 (custom-face-value-create): Use `string-match-p'.
12873 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12874
12875 * custom.el (custom-load-symbol): Use `string-match-p'.
12876
12877 * ansi-color.el: Convert to lexical binding.
12878 (ansi-colors): Fix URL.
12879 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12880 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12881 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12882
12883 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12884
12885 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12886
12887 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12888
12889 2013-06-19 Tom Tromey <tromey@redhat.com>
12890
12891 * net/eww.el (eww-top-url): Remove.
12892 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12893 (eww-render): Set new variables. Don't set eww-top-url.
12894 (eww-handle-link): Handle "prev", "home", and "contents".
12895 Downcase the rel text.
12896 (eww-top-url): Choose best top URL.
12897
12898 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12899
12900 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12901 relying in widget.el. Using widget.el leads to too many
12902 user interface inconsistencies.
12903 (eww-self-insert): Implement entering commands in text fields.
12904 (eww-process-text-input): New function to make text input field editing
12905 work.
12906 (eww-submit): Rewrite to use the new-style form methods.
12907 (eww-select-display): Display the correct selected item.
12908 (eww-change-select): Implement changing the select value.
12909 (eww-toggle-checkbox): Implement radio/checkboxes.
12910 (eww-update-field): Fix compilation error.
12911 (eww-tag-textarea): Implement <textarea>.
12912
12913 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12914 we don't shadow mode-specific bindings.
12915
12916 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12917 nothing to push.
12918
12919 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12920
12921 2013-06-19 Glenn Morris <rgm@gnu.org>
12922
12923 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12924
12925 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12926
12927 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12928 not needed.
12929
12930 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12931
12932 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12933
12934 * net/browse-url.el (browse-url-browser-function):
12935 `eww-browse-url' has the right calling signature, `eww' does not.
12936
12937 2013-06-19 Glenn Morris <rgm@gnu.org>
12938
12939 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12940 Only eval autoloaded macros.
12941 (byte-compile-autoload): Only give the macro warning for macros.
12942
12943 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12944 (ps-underlined-faces): Declare.
12945
12946 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12947 (speedbar-add-supported-extension): Declare.
12948
12949 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12950 Don't include a date stamp in the header of the generated file;
12951 it leads to needless differences between output files.
12952
12953 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12954
12955 * net/secrets.el (secrets-struct-secret-content-type):
12956 Replace check of introspection data by a test call of "CreateItem".
12957 Some servers do not offer introspection.
12958
12959 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12960
12961 * electric.el (electric-pair-mode): Improve interaction with
12962 electric-layout-mode.
12963 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12964 (electric-pair-syntax): Use text-mode-syntax-table in comments
12965 and strings.
12966 (electric-pair--insert): New function.
12967 (electric-pair-post-self-insert-function): Use it and
12968 electric--after-char-pos.
12969
12970 2013-06-19 Leo Liu <sdl.web@gmail.com>
12971
12972 * progmodes/octave.el (octave-help): Fix regexp.
12973
12974 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12975
12976 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12977 (shr-table-horizontal-line): Allow nil as a value, and change the
12978 default.
12979 (shr-insert-table-ruler): Respect the nil value.
12980
12981 2013-06-18 Tom Tromey <tromey@barimba>
12982
12983 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12984 New defvars.
12985 (eww-open-file): New defun.
12986 (eww-render): Initialize new variables.
12987 (eww-display-html): Handle "link" and "a".
12988 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12989 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12990 (eww-back-url): Rename from eww-previous-url.
12991 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12992 New defuns.
12993
12994 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12995
12996 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12997 Distinguish ternary operator tokens from slash symbol and slash
12998 char literal.
12999
13000 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13001
13002 Convert symbol prettification into minor mode and global minor mode.
13003
13004 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13005 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13006 (prettify-symbols--keywords): Rename from
13007 `prog-prettify-symbols-alist' and make a local defvar.
13008 (prettify-symbols--compose-symbol): Rename from
13009 `prog--prettify-font-lock-compose-symbol'.
13010 (prettify-symbols--make-keywords): Rename from
13011 `prog-prettify-font-lock-symbols-keywords' and simplify.
13012 (prog-prettify-install): Remove.
13013 (prettify-symbols-mode): New minor mode, based on
13014 `prog-prettify-install'.
13015 (turn-on-prettify-symbols-mode): New function.
13016 (global-prettify-symbols-mode): New globalized minor mode.
13017
13018 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13019 * progmodes/cfengine.el (cfengine3-mode):
13020 * progmodes/perl-mode.el (perl-mode): Don't call
13021 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13022
13023 2013-06-18 Juri Linkov <juri@jurta.org>
13024
13025 * files-x.el (modify-file-local-variable-message): New function.
13026 (modify-file-local-variable)
13027 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13028 and call `modify-file-local-variable-message' when it's non-nil.
13029 (add-file-local-variable, delete-file-local-variable)
13030 (add-file-local-variable-prop-line)
13031 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13032 and use it. (Bug#9820)
13033
13034 2013-06-18 Juri Linkov <juri@jurta.org>
13035
13036 * emulation/vi.el (vi-shell-op):
13037 * emulation/vip.el (vip-execute-com, ex-command):
13038 * emulation/viper-cmd.el (viper-exec-bang):
13039 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13040 the call of `shell-command-on-region'. (Bug#14637)
13041
13042 * simple.el (shell-command-on-region): Doc fix.
13043
13044 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13045
13046 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13047 (bug#14633).
13048
13049 2013-06-18 Glenn Morris <rgm@gnu.org>
13050
13051 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13052
13053 * newcomment.el (comment-search-forward, comment-search-backward):
13054 Doc fix. (Bug#14376)
13055
13056 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13057
13058 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13059 (buffer-face-mode-invoke): Doc fix.
13060
13061 2013-06-18 Matthias Meulien <orontee@gmail.com>
13062
13063 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13064 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13065
13066 2013-06-18 Glenn Morris <rgm@gnu.org>
13067
13068 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13069 Replace obsolete function generic-make-keywords with its expansion.
13070
13071 * progmodes/python.el (ffap-alist): Declare.
13072
13073 * textmodes/reftex.el (bibtex-mode-map): Declare.
13074
13075 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13076
13077 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13078 (package-unpack, package-unpack-single): Return the pkg-dir.
13079 (package-download-transaction): Use it to update package-alist.
13080
13081 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13082
13083 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13084 possible choice.
13085
13086 2013-06-17 Juri Linkov <juri@jurta.org>
13087
13088 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13089
13090 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13091
13092 * emacs-lisp/package.el (package-load-descriptor):
13093 Remove `with-syntax-table' call, `read' doesn't need it.
13094 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13095
13096 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13097
13098 * startup.el (command-line): Expand package name returned by
13099 `package--description-file' (bug#14639).
13100
13101 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13102
13103 * emacs-lisp/package.el (package-load-descriptor): Do not call
13104 `emacs-lisp-mode', just use its syntax table.
13105
13106 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13107
13108 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13109 `font-lock-extra-managed-props' if any prettifying keyword is added.
13110 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13111 (prog-mode): Use `setq-local'.
13112
13113 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13114
13115 * international/characters.el (standard-case-table): Set syntax of ?»
13116 and ?« to punctuation.
13117
13118 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13119
13120 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13121 Save relevant match data before calling `syntax-ppss' (bug#14595).
13122
13123 2013-06-15 Juri Linkov <juri@jurta.org>
13124
13125 * files-x.el (modify-file-local-variable-prop-line): Add local
13126 variables to the end of the existing comment on the first line.
13127 Use `file-auto-mode-skip' to skip interpreter magic line,
13128 and also skip XML declaration.
13129
13130 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13131
13132 * startup.el (package--builtin-versions): New var.
13133 (package-subdirectory-regexp): Remove.
13134 (package--description-file): Hard code its value instead.
13135
13136 * emacs-lisp/package.el: Don't activate packages older than builtin.
13137 (package-obsolete-list): Rename from package-obsolete-alist, and make
13138 it into a simple list of package-desc.
13139 (package-strip-version): Remove.
13140 (package-built-in-p): Use package--builtin-versions.
13141 (package-mark-obsolete): Simplify.
13142 (package-process-define-package): Mark it obsolete if older than the
13143 builtin version.
13144 (package-handle-response): Use line-end-position.
13145 (package-read-archive-contents, package--download-one-archive):
13146 Simplify.
13147 (package--add-to-archive-contents): Skip if older than the builtin or
13148 installed version.
13149 (package-menu-describe-package): Fix last change.
13150 (package-list-unversioned): New var.
13151 (package-menu--generate): Use it.
13152
13153 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13154 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13155 (autoload-builtin-package-versions): New variable.
13156 (autoload-generate-file-autoloads): Use them.
13157 Remove the list of autoloaded functions/macros from the
13158 (autoload...) comments.
13159
13160 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13161
13162 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13163
13164 * simple.el (line-move-partial): Don't jump to the next screen
13165 line as soon as it becomes visible. Instead, continue enlarging
13166 the vscroll until the portion of a tall screen line that's left on
13167 display is about the height of the frame's default font.
13168 (Bug#14567)
13169
13170 2013-06-15 Glenn Morris <rgm@gnu.org>
13171
13172 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13173 compilation-error-regexp-alist void, or local while let-bound.
13174
13175 * progmodes/make-mode.el (makefile-mode-syntax-table):
13176 Treat "=" as punctuation. (Bug#14614)
13177
13178 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13179
13180 * help-fns.el (describe-variable):
13181 Add extra line for permanent-local variables.
13182
13183 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13184
13185 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13186 Add export, import, library. (Bug#9164)
13187 (library): Set indent function.
13188
13189 2013-06-14 Glenn Morris <rgm@gnu.org>
13190
13191 * term/xterm.el (xterm--query):
13192 Stop after first matching handler. (Bug#14615)
13193
13194 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13195
13196 Add support for dired in saveplace.
13197 * dired.el (dired-initial-position-hook): New variable.
13198 (dired-initial-position): Call hook to place cursor position.
13199 * saveplace.el (save-place-to-alist): Add dired position.
13200 (save-place-dired-hook): New function.
13201
13202 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13205 through a symbol rather than letrec.
13206
13207 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13208 (package-desc): Add `dir' field.
13209 (package-desc-full-name): New function.
13210 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13211 (package-maybe-load-descriptor): Remove.
13212 (package-load-all-descriptors): Just call package-load-descriptor.
13213 (package--disabled-p): New function.
13214 (package-desc-vers, package-desc-doc): Remove aliases.
13215 (package--dir): Remove function.
13216 (package-activate): Check if a package is disabled.
13217 (package-process-define-package): New function, extracted from
13218 define-package.
13219 (define-package): Turn into a place holder.
13220 (package-unpack-single, package-tar-file-info):
13221 Use package--description-file.
13222 (package-compute-transaction): Use package--disabled-p.
13223 (package-download-transaction): Don't call
13224 package-maybe-load-descriptor since they're all loaded anyway.
13225 (package-install): Change argument to be a pkg-desc.
13226 (package-delete): Use a single pkg-desc argument.
13227 (describe-package-1): Use package-desc-dir instead of package--dir.
13228 Use package-desc property instead of package-symbol.
13229 (package-install-button-action): Adjust accordingly.
13230 (package--push): Rewrite.
13231 (package-menu--print-info): Adjust accordingly. Change the ID format
13232 to be a pkg-desc.
13233 (package-menu-describe-package, package-menu-get-status)
13234 (package-menu--find-upgrades, package-menu-mark-upgrades)
13235 (package-menu-execute, package-menu--name-predicate):
13236 Adjust accordingly.
13237 * startup.el (package--description-file): New function.
13238 (command-line): Use it.
13239 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13240 Use package-desc-version.
13241
13242 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13243 (byte-compile-preprocess): Use it.
13244 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13245 can't quite recognize.
13246 (byte-compile-add-to-list): Remove.
13247 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13248 (cconv-closure-convert): Add assertion.
13249
13250 * emacs-lisp/map-ynp.el: Use lexical-binding.
13251 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13252 Factor out some repeated code.
13253
13254 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * subr.el (with-eval-after-load): New macro.
13257 (eval-after-load): Allow form to be a function.
13258 take advantage of lexical-binding.
13259 (do-after-load-evaluation): Use dolist and adjust to new format.
13260 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13261
13262 2013-06-13 Juri Linkov <juri@jurta.org>
13263
13264 * replace.el (perform-replace): Display "symbol " and other search
13265 modes from `isearch-message-prefix' in the *Help* buffer.
13266
13267 * isearch.el (isearch-query-replace): Add " symbol" and other
13268 possible search modes from `isearch-message-prefix' to the prompt.
13269 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13270 when reading a regexp to collect.
13271
13272 2013-06-13 Juri Linkov <juri@jurta.org>
13273
13274 * isearch.el (word-search-regexp): Match whitespace if the search
13275 string begins or ends in whitespace. The LAX arg is applied to
13276 both ends of the search string. Use `regexp-quote' and explicit
13277 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13278 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13279 boundaries are replaced with symbol boundaries, and characters
13280 between symbols match non-word non-symbol syntax. (Bug#14602)
13281
13282 2013-06-13 Juri Linkov <juri@jurta.org>
13283
13284 * isearch.el (isearch-del-char): Don't exceed the length of
13285 `isearch-string' by the prefix arg. (Bug#14563)
13286
13287 2013-06-13 Juri Linkov <juri@jurta.org>
13288
13289 * isearch.el (isearch-yank-word, isearch-yank-line)
13290 (isearch-char-by-name, isearch-quote-char)
13291 (isearch-printing-char, isearch-process-search-char):
13292 Add optional count prefix arg. (Bug#14563)
13293
13294 * international/isearch-x.el
13295 (isearch-process-search-multibyte-characters):
13296 Add optional count prefix arg.
13297
13298 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13299
13300 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13301 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13302 lexical-binding.
13303
13304 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13305
13306 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13307
13308 2013-06-13 Glenn Morris <rgm@gnu.org>
13309
13310 * startup.el (tty-handle-args):
13311 Don't just discard "--" and anything after. (Bug#14608)
13312
13313 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13314
13315 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13316
13317 Implement changes in Secret Service API. Make it backward compatible.
13318 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13319 (secrets-create-item): Use it. Prefix properties with interface.
13320
13321 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13322
13323 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13324 (term-emulate-terminal): Respect term-suppress-hard-newline.
13325
13326 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13327
13328 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13329 Only remove a `thumb-file' overlay. (Bug#14548)
13330
13331 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13332
13333 * mail/reporter.el (reporter-submit-bug-report):
13334 Handle missing package-name. (Bug#14600)
13335
13336 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13337
13338 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13339 (reftex-citation-prompt, reftex-default-bibliography)
13340 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13341 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13342 (reftex-bib-sort-author, reftex-bib-sort-year)
13343 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13344 (reftex-extract-bib-entries-from-thebibliography)
13345 (reftex-get-bibkey-default, reftex-get-bib-names)
13346 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13347 (reftex-format-bib-entry, reftex-parse-bibitem)
13348 (reftex-format-bibitem, reftex-do-citation)
13349 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13350 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13351 (reftex-insert-bib-matches, reftex-format-citation)
13352 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13353 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13354 existing comments into docstrings.
13355
13356 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13357
13358 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13359
13360 2013-06-12 Andreas Schwab <schwab@suse.de>
13361
13362 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13363 for auto-save files.
13364
13365 2013-06-12 Glenn Morris <rgm@gnu.org>
13366
13367 * ido.el (ido-delete-ignored-files): Remove.
13368 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13369 Go back to calling ido-ignore-item-p directly.
13370
13371 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13372
13373 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13374
13375 * ido.el (ido-delete-ignored-files): New function,
13376 split from ido-make-file-list-1.
13377 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13378 (ido-make-file-list-1): Use ido-delete-ignored-files.
13379
13380 2013-06-12 Leo Liu <sdl.web@gmail.com>
13381
13382 * progmodes/octave.el (inferior-octave-startup)
13383 (inferior-octave-completion-table)
13384 (inferior-octave-track-window-width-change)
13385 (octave-eldoc-function-signatures, octave-help)
13386 (octave-find-definition): Use single quoted strings.
13387 (inferior-octave-startup-args): Change default value.
13388 (inferior-octave-startup): Do not hard code "-i" and
13389 "--no-line-editing".
13390 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13391 (inferior-octave-directory-tracker): Use it.
13392 (octave-goto-function-definition): Robustify.
13393 (octave-help): Support highlighting operators in 'See also'.
13394 (octave-find-definition): Find subfunctions only in Octave mode.
13395
13396 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13397
13398 * help-fns.el (help-fns--compiler-macro): If the handler function is
13399 named, then put a link to it.
13400 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13401 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13402 (cl-typep): Use it.
13403 (cl-eval-when): Simplify debug spec.
13404 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13405 compiler-macro function instead of setting `compiler-macro-file'.
13406
13407 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13408
13409 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13410 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13411
13412 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13413 Daniel Hackney <dan@haxney.org>
13414
13415 First part of Daniel Hackney's patch to package.el.
13416 * emacs-lisp/package.el: Use defstruct.
13417 (package-desc): New, main struct.
13418 (package--bi-desc, package--ac-desc): New structs, used to describe the
13419 format in external files.
13420 (package-desc-vers): Replace with package-desc-version accessor.
13421 (package-desc-doc): Replace with package-desc-summary accessor.
13422 (package-activate-1): Remove `package' arg since the pkg-vec now
13423 includes the name.
13424 (define-package): Use package-desc-from-define.
13425 (package-unpack-single): Change file-name arg to be a symbol.
13426 (package--add-to-archive-contents): Use package-desc-create and new
13427 accessor functions to package--ac-desc.
13428 (package-buffer-info, package-tar-file-info): Return a package-desc.
13429 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13430 arg to be a package-desc.
13431 (package-install-file): Adjust accordingly. Use \' to match EOS.
13432 (package--from-builtin): New function.
13433 (describe-package-1, package-menu--generate): Use it.
13434 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13435 (package-generate-autoloads): Idem and return the name of the file.
13436 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13437 Change pkg-info arg to be a package-desc.
13438 Use package-make-ac-desc.
13439 (package-upload-file): Use \' to match EOS.
13440 * finder.el (finder-compile-keywords): Use package-make-builtin.
13441
13442 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 * vc/vc.el (vc-deduce-fileset): Change error message.
13445 (vc-read-backend): New function.
13446 (vc-next-action): Use it.
13447
13448 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13449
13450 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13451 (prolog-font-lock-keywords): Use regexp-opt instead.
13452 Don't manually highlight strings.
13453 (prolog-mode-variables): Simplify comment-start-skip.
13454 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13455
13456 * emacs-lisp/generic.el (generic--normalise-comments)
13457 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13458 (generic-mode-set-comments): Use them.
13459 (generic-bracket-support): Use setq-local.
13460 (generic-make-keywords-list): Declare obsolete.
13461
13462 2013-06-11 Glenn Morris <rgm@gnu.org>
13463
13464 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13465 Prettify after setting font-lock-defaults. (Bug#14574)
13466
13467 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13468
13469 * replace.el (query-replace, occur-read-regexp-defaults-function)
13470 (replace-search):
13471 * subr.el (declare-function, number-sequence, local-set-key)
13472 (substitute-key-definition, locate-user-emacs-file)
13473 (with-silent-modifications, split-string, eval-after-load):
13474 Fix typos, remove unneeded backslashes and reflow some docstrings.
13475
13476 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13477
13478 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13479 default for Elisp files.
13480
13481 2013-06-11 Glenn Morris <rgm@gnu.org>
13482
13483 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13484 although define-derived-mode was doing this anyway. (Bug#14583)
13485
13486 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13487
13488 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13489 Fix make-variable-buffer-local call to refer to the correct variable.
13490
13491 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13492
13493 * eshell/em-term.el (eshell-visual-commands)
13494 (eshell-visual-subcommands, eshell-visual-options):
13495 Add summary line to docstrings. Add cross-references.
13496
13497 2013-06-10 Glenn Morris <rgm@gnu.org>
13498
13499 * epa.el (epa-read-file-name): New function. (Bug#14510)
13500 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13501
13502 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13503
13504 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13505 output redirection to be ignored with visual commands.
13506
13507 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13508
13509 * eshell/em-term.el (eshell-visual-command-p): New function.
13510 (eshell-term-initialize): Move long lambda to separate function
13511 eshell-visual-command-p.
13512 * eshell/em-dirs.el (eshell-dirs-initialize):
13513 * eshell/em-script.el (eshell-script-initialize):
13514 Add missing #' to lambda.
13515
13516 2013-06-08 Leo Liu <sdl.web@gmail.com>
13517
13518 * progmodes/octave.el (octave-add-log-current-defun): New function.
13519 (octave-mode): Set add-log-current-defun-function.
13520 (octave-goto-function-definition): Do not move point if not found.
13521 (octave-find-definition): Enhance to try subfunctions first.
13522
13523 2013-06-08 Glenn Morris <rgm@gnu.org>
13524
13525 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13526 (byte-compile-backward-char, byte-compile-backward-word):
13527 Improve previous change, to handle non-explicit nil.
13528
13529 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13530
13531 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13532 (smie--opener/closer-at-point): New function.
13533 (smie--matching-block-data): Use it. Don't match from right after an
13534 opener or right before a closer. Obey smie-blink-matching-inners.
13535 Don't signal a mismatch for repeated inners like "switch..case..case".
13536
13537 2013-06-07 Leo Liu <sdl.web@gmail.com>
13538
13539 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13540 to t. (Bug#14303)
13541 (octave-function-header-regexp): Fix. (Bug#14570)
13542 (octave-help-mode-finish-hook, octave-help-mode-finish):
13543 Remove. Just use temp-buffer-show-hook.
13544
13545 * newcomment.el (comment-search-backward): Revert last change.
13546 (Bug#14434)
13547
13548 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13549
13550 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13551
13552 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13553 through xargs, to avoid failure due to MS-Windows limitations on
13554 command-line length.
13555
13556 2013-06-06 Glenn Morris <rgm@gnu.org>
13557
13558 * font-lock.el (lisp-font-lock-keywords-2):
13559 Treat user-error like error.
13560
13561 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13562 (byte-compile-backward-char, byte-compile-backward-word):
13563 Handle explicit nil arguments. (Bug#14565)
13564
13565 2013-06-05 Alan Mackenzie <acm@muc.de>
13566
13567 * isearch.el (isearch-allow-prefix): New user option.
13568 (isearch-other-meta-char): Don't exit isearch when a prefix
13569 argument is typed whilst `isearch-allow-prefix' is non-nil.
13570 (Bug#9706)
13571
13572 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13573
13574 * autorevert.el (auto-revert-notify-handler): Use memq.
13575 Hide assertion failure.
13576
13577 * skeleton.el: Use cl-lib.
13578 (skeleton-further-elements): Use defvar-local.
13579 (skeleton-insert): Use cl-progv.
13580
13581 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13582
13583 * progmodes/prog-mode.el (prog-prettify-symbols)
13584 (prog-prettify-install): Update docstrings.
13585
13586 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * simple.el: Move all the prog-mode code to prog-mode.el.
13589 * progmodes/prog-mode.el: New file.
13590 * loadup.el: Add prog-mode.el.
13591
13592 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13593
13594 * simple.el (prog-prettify-symbols): Add version.
13595 (prog-prettify-install): Add convenience function to prettify symbols.
13596
13597 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13598 (perl--augmented-font-lock-keywords-1)
13599 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13600 variables and use it.
13601
13602 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13603 (cfengine3-mode): Remove unneeded variable and use it.
13604
13605 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13606 (lisp--augmented-font-lock-keywords-1)
13607 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13608 Remove unneeded variables and use it.
13609
13610 2013-06-05 João Távora <joaotavora@gmail.com>
13611
13612 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13613 to point when opening the connection. (Bug#14380)
13614
13615 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13616
13617 * subr.el (load-history-regexp, load-history-filename-element)
13618 (eval-after-load, after-load-functions, do-after-load-evaluation)
13619 (eval-next-after-load, display-delayed-warnings)
13620 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13621 definition of save-match-data.
13622 (overriding-local-map): Remove accidental obsolescence declaration.
13623
13624 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13625
13626 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13627
13628 Generalize symbol prettify support to prog-mode and implement it
13629 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13630 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13631 (prog--prettify-font-lock-compose-symbol)
13632 (prog-prettify-font-lock-symbols-keywords): New variables and
13633 functions to support symbol prettification.
13634 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13635 (lisp--augmented-font-lock-keywords-1)
13636 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13637 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13638 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13639 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13640 Implement prettify of -> => :: strings.
13641 * progmodes/perl-mode.el (perl-prettify-symbols)
13642 (perl--font-lock-compose-symbol)
13643 (perl--font-lock-symbols-keywords): Move to prog-mode.
13644 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13645 (perl-font-lock-keywords-1)
13646 (perl-font-lock-keywords-2): Remove explicit prettify support.
13647 (perl--augmented-font-lock-keywords)
13648 (perl--augmented-font-lock-keywords-1)
13649 (perl--augmented-font-lock-keywords-2, perl-mode):
13650 Implement prettify support.
13651
13652 2013-06-05 Leo Liu <sdl.web@gmail.com>
13653
13654 Re-implement SMIE matching block highlight using
13655 show-paren-data-function. (Bug#14395)
13656 * emacs-lisp/smie.el (smie-matching-block-highlight)
13657 (smie--highlight-matching-block-overlay)
13658 (smie--highlight-matching-block-lastpos)
13659 (smie-highlight-matching-block)
13660 (smie-highlight-matching-block-mode): Remove.
13661 (smie--matching-block-data-cache): New variable.
13662 (smie--matching-block-data): New function.
13663 (smie-setup): Use smie--matching-block-data for
13664 show-paren-data-function.
13665
13666 * progmodes/octave.el (octave-mode-menu): Fix.
13667 (octave-find-definition): Skip garbage lines.
13668
13669 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 Fix compilation error with simultaneous dynamic+lexical scoping.
13672 Add warning when a defvar appears after the first let-binding.
13673 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13674 (byte-compile-close-variables): Initialize it.
13675 (byte-compile--declare-var): New function.
13676 (byte-compile-file-form-defvar)
13677 (byte-compile-file-form-define-abbrev-table)
13678 (byte-compile-file-form-custom-declare-variable): Use it.
13679 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13680 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13681 (byte-compile-bind): Handle dynamic bindings that shadow
13682 lexical bindings.
13683 (byte-compile-unbind): Make arg non-optional.
13684 (byte-compile-let): Simplify.
13685 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13686 (cconv--analyse-function, cconv-analyse-form): Populate it.
13687 Protect byte-compile-bound-variables to limit the scope of defvars.
13688 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13689 Remove unneeded rule for `declare'.
13690
13691 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13692 so as to avoid depending on cl-adjoin at run-time.
13693 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13694
13695 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13696 (macroexp--warn-and-return): Use it.
13697
13698 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * subr.el: Convert to lexical binding.
13701 (overriding-local-map): Make obsolete.
13702 (add-to-list): Doc fix. Add compiler macro.
13703 (read-key): Swap values of local maps.
13704
13705 2013-06-05 Leo Liu <sdl.web@gmail.com>
13706
13707 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13708
13709 2013-06-04 Leo Liu <sdl.web@gmail.com>
13710
13711 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13712 (compilation-auto-jump): Suppress the "Mark set" message to give
13713 way to exit message.
13714
13715 2013-06-04 Alan Mackenzie <acm@muc.de>
13716
13717 Remove faulty optimisation from indentation calculation.
13718 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13719 search limit based on 2000 characters back from indent-point.
13720
13721 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13722
13723 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13724
13725 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13726
13727 * emacs-lisp/lisp.el: Use lexical-binding.
13728 (lisp--local-variables-1, lisp--local-variables): New functions.
13729 (lisp--local-variables-completion-table): New var.
13730 (lisp-completion-at-point): Use it complete let-bound vars.
13731
13732 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13733 eagerly (bug#14422).
13734
13735 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13736
13737 * autorevert.el (auto-revert-notify-enabled)
13738 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13739 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13740 (auto-revert-notify-handler): Handle also gfilenotify.
13741
13742 * subr.el (file-notify-handle-event): New defun. Replacing ...
13743 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13744 Remove.
13745
13746 2013-06-03 Juri Linkov <juri@jurta.org>
13747
13748 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13749 `M-s h .'. (Bug#14427)
13750
13751 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13752 command `hi-lock-face-symbol-at-point'.
13753 (hi-lock-face-symbol-at-point): New command.
13754 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13755 (hi-lock-menu): Add `highlight-symbol-at-point'.
13756 (hi-lock-mode): Doc fix.
13757
13758 * isearch.el (isearch-forward-symbol-at-point): New command.
13759 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13760 (isearch-highlight-regexp): Add a regexp which matches
13761 words/symbols for word/symbol mode.
13762
13763 * subr.el (find-tag-default-bounds): New function with the body
13764 mostly moved from `find-tag-default'.
13765 (find-tag-default): Move most code to `find-tag-default-bounds',
13766 call it and apply `buffer-substring-no-properties' afterwards.
13767
13768 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13769
13770 * eshell/em-term.el (eshell-term-initialize):
13771 Use `cl-intersection' rather than `intersection'.
13772
13773 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13774
13775 * vc/log-view.el: Doc fix.
13776 (log-view-mode-map): Copy keymap from `special-mode-map'.
13777
13778 2013-06-02 Eric Ludlam <zappo@gnu.org>
13779
13780 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13781 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13782 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13783 (eieio-unbound, eieio-default-superclass)
13784 (eieio--define-field-accessors, method-static, method-before)
13785 (method-primary, method-after, method-num-lists)
13786 (method-generic-before, method-generic-primary)
13787 (method-generic-after, method-num-slots)
13788 (eieio-specialized-key-to-generic-key)
13789 (eieio--check-type, class-v, class-p)
13790 (eieio-class-name, define-obsolete-function-alias)
13791 (eieio-class-parents-fast, eieio-class-children-fast)
13792 (same-class-fast-p, class-constructor, generic-p)
13793 (generic-primary-only-p, generic-primary-only-one-p)
13794 (class-option-assoc, class-option, eieio-object-p)
13795 (class-abstract-p, class-method-invocation-order)
13796 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13797 (eieio-class-un-autoload, eieio-defclass)
13798 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13799 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13800 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13801 (eieio-defgeneric-reset-generic-form)
13802 (eieio-defgeneric-form-primary-only)
13803 (eieio-defgeneric-reset-generic-form-primary-only)
13804 (eieio-defgeneric-form-primary-only-one)
13805 (eieio-defgeneric-reset-generic-form-primary-only-one)
13806 (eieio-unbind-method-implementations)
13807 (eieio--defmethod, eieio--typep)
13808 (eieio-perform-slot-validation, eieio-validate-slot-value)
13809 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13810 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13811 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13812 (eieio-slot-name-index, eieio-class-slot-name-index)
13813 (eieio-set-defaults, eieio-initarg-to-attribute)
13814 (eieio-attribute-to-initarg, eieio-c3-candidate)
13815 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13816 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13817 (eieio-class-precedence-list, eieio-generic-call-methodname)
13818 (eieio-generic-call-arglst, eieio-generic-call-key)
13819 (eieio-generic-call-next-method-list)
13820 (eieio-pre-method-execution-functions, eieio-generic-call)
13821 (eieio-generic-call-primary-only, eieiomt-method-list)
13822 (eieiomt-optimizing-obarray, eieiomt-install)
13823 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13824 (eieio-generic-form, eieio-defmethod, make-obsolete)
13825 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13826 (defclass): Remove `eval-and-compile' from macro.
13827 (call-next-method, shared-initialize): Instead of using
13828 `scoped-class' variable, use new eieio--scoped-class, and
13829 eieio--with-scoped-class.
13830 (initialize-instance): Rename local variable 'scoped-class' to
13831 'this-class' to remove ambiguitity from old global.
13832
13833 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13834 eieio.el.
13835 (eieio--scoped-class-stack): New variable.
13836 (eieio--scoped-class): New fcn.
13837 (eieio--with-scoped-class): New scoping macro.
13838 (eieio-defclass): Use pushnew instead of add-to-list.
13839 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13840 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13841 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13842 `scoped-class' variable, use new eieio--scoped-class, and
13843 eieio--with-scoped-class.
13844
13845 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13846
13847 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13848
13849 * eshell/esh-ext.el (eshell-external-command): Pass args to
13850 `eshell-find-interpreter'.
13851 (eshell-find-interpreter): Add new second parameter ARGS.
13852
13853 * eshell/em-script.el (eshell-script-initialize): Add second arg
13854 to the function added as MATCH to `eshell-interpreter-alist'.
13855
13856 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13857 the function added as MATCH to `eshell-interpreter-alist'.
13858
13859 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13860 (eshell-visual-options): New defcustom.
13861 (eshell-escape-control-x): Adapt docstring.
13862 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13863 `eshell-visual-options' in addition to `eshell-visual-commands'.
13864 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13865
13866 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13867
13868 * progmodes/python.el (python-indent-block-enders): Add break,
13869 continue and raise keywords.
13870
13871 2013-06-01 Glenn Morris <rgm@gnu.org>
13872
13873 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13874
13875 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13876 * progmodes/cc-cmds.el (delete-forward-p):
13877 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13878 * progmodes/cc-engine.el (buffer-syntactic-context):
13879 * progmodes/cc-fonts.el (face-property-instance):
13880 * progmodes/cc-mode.el (set-keymap-parents):
13881 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13882 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13883 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13884 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13885 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13886
13887 * progmodes/cc-vars.el (other): Emacs has this widget since
13888 at least 21.1, so don't (re)define it.
13889
13890 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13891 Replace the obsolete alias pcomplete-arg-quote-list.
13892
13893 2013-06-01 Leo Liu <sdl.web@gmail.com>
13894
13895 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13896 punctuation syntax.
13897 (inferior-octave-minimal-columns)
13898 (inferior-octave-last-column-width): New variables.
13899 (inferior-octave-track-window-width-change): New function.
13900 (inferior-octave-mode): Adjust column width so that Octave output,
13901 for example from 'ls', can fit into the window nicely.
13902
13903 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13904
13905 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13906 Highlight expansions inside regexp literals.
13907
13908 2013-05-31 Glenn Morris <rgm@gnu.org>
13909
13910 * obsolete/sym-comp.el (symbol-complete):
13911 Replace obsolete completion-annotate-function.
13912
13913 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13914
13915 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13916
13917 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13918 New function, checks if point is inside a literal that allows
13919 expression expansion.
13920 (ruby-syntax-propertize-expansion): Use it.
13921 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13922 around the body.
13923
13924 2013-05-30 Juri Linkov <juri@jurta.org>
13925
13926 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13927 to "\M-si".
13928 (isearch-invisible): New variable.
13929 (isearch-forward): Doc fix.
13930 (isearch-mode): Set `isearch-invisible'
13931 to the value of `search-invisible'.
13932 (isearch-toggle-case-fold): Doc fix.
13933 (isearch-toggle-invisible): New command.
13934 (isearch-query-replace): Let-bind `search-invisible'
13935 to the value of `isearch-invisible'.
13936 (isearch-search): Use `isearch-invisible' instead of
13937 `search-invisible'. Let-bind `search-invisible'
13938 to the value of `isearch-invisible'. (Bug#11378)
13939
13940 2013-05-30 Juri Linkov <juri@jurta.org>
13941
13942 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13943 call when `query-flag' is nil and `search-invisible' is non-nil.
13944 (Bug#11746)
13945
13946 2013-05-30 Glenn Morris <rgm@gnu.org>
13947
13948 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13949
13950 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13951 (cc-require): Suppress spurious "noruntime" warnings.
13952 (cc-require-when-compile): Use fboundp, for sake of compiler.
13953
13954 * progmodes/cc-mode.el: Move load of cc-vars before that of
13955 cc-langs (which in turn loads cc-vars), to quieten compiler.
13956
13957 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13958
13959 * paren.el: Simplify the code.
13960 (show-paren-mode): Always start the timer.
13961 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13962 (show-paren--overlay, show-paren--overlay-1): Rename from
13963 show-paren-overlay and show-paren-overlay-1, and initialize to an
13964 overlay rather than to nil.
13965 (show-paren-function): Misc cleanup and simplifications.
13966
13967 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 * paren.el (show-paren-data-function): New hook.
13970 (show-paren--default): New function, extracted from show-paren-function.
13971 (show-paren-function): Use show-paren-data-function.
13972
13973 2013-05-30 Glenn Morris <rgm@gnu.org>
13974
13975 * ielm.el (ielm-map, ielm-complete-symbol):
13976 Use completion-at-point rather than obsolete functions.
13977 (inferior-emacs-lisp-mode): Doc fix.
13978 Set completion-at-point-functions, rather than
13979 comint-dynamic-complete-functions.
13980
13981 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13982 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13983 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13984
13985 * image.el (image-animated-p): Tweak definition.
13986
13987 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13988 (rlogin-process-connection-type): Tweak default. Add set-after.
13989 (rlogin-host): Doc fix.
13990 (rlogin): Tweak prompt.
13991 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13992
13993 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13994 * progmodes/tcl.el (inferior-tcl-mode-map):
13995 Use completion-at-point rather than obsolete alias.
13996
13997 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13998
13999 * minibuffer.el (read-file-name-completion-ignore-case):
14000 Move before completion--in-region, for eager macro expansion.
14001
14002 2013-05-29 Juri Linkov <juri@jurta.org>
14003
14004 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14005 for total count of matching lines. Add `global-matches' for total
14006 count of matches. Rename `matches' to `lines' for count of
14007 matching lines. Add `matches' for count of matches.
14008 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14009 to `prev-line' for line number of prev match endpt.
14010 Increment `matches' for every match. Print the number of
14011 matching lines in the header.
14012 (occur-context-lines): Rename `lines' to `curr-line'.
14013 Rename `prev-lines' to `prev-line'. (Bug#14017)
14014
14015 2013-05-29 Juri Linkov <juri@jurta.org>
14016
14017 * replace.el (perform-replace): Add `skip-read-only-count',
14018 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14019 Increment them for corresponding conditions and report the number
14020 of skipped occurrences in the final message. (Bug#11746)
14021 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14022 (replace-string, replace-regexp): Doc fix.
14023
14024 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14025
14026 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14027
14028 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14029 prog-mode-map (bug#14504).
14030
14031 2013-05-29 Leo Liu <sdl.web@gmail.com>
14032
14033 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14034 (octave-help): Small simplification.
14035
14036 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14037 off the highlight first.
14038
14039 2013-05-29 Glenn Morris <rgm@gnu.org>
14040
14041 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14042 Handle idlwave-last-system-routine-info-cons-cell being nil.
14043
14044 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14045 (idlwave-write-paths): Simplify via with-temp-buffer.
14046
14047 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14048 * emulation/cua-rect.el: Also load cua-base at run time.
14049
14050 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14051 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14052 (cperl-imenu-on-info): Require imenu.
14053
14054 2013-05-28 Alan Mackenzie <acm@muc.de>
14055
14056 Handle "capitalised keywords" correctly.
14057 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14058
14059 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14060
14061 * eshell/em-unix.el: Add -r option to cp.
14062
14063 2013-05-28 Glenn Morris <rgm@gnu.org>
14064
14065 * vc/vc-arch.el (vc-exec-after): Declare.
14066 (vc-switches): Autoload.
14067 * vc/vc-bzr.el: No need to require vc when compiling.
14068 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14069 (vc-resynch-buffer, vc-dir-refresh): Declare.
14070 (vc-setup-buffer, vc-switches): Autoload.
14071 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14072 (vc-resynch-buffer): Declare.
14073 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14074 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14075 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14076 (grep-read-regexp, grep-read-files, grep-expand-template)
14077 (vc-dir-refresh): Declare.
14078 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14079 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14080 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14081 * vc/vc-mtn.el (vc-exec-after): Declare.
14082 (vc-switches): Autoload.
14083 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14084 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14085 (vc-file-tree-walk): Declare.
14086 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14087 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14088 (vc-tag-precondition, vc-rename-master): Autoload.
14089 * vc/vc-svn.el (vc-exec-after): Declare.
14090 (vc-switches, vc-setup-buffer): Autoload.
14091 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14092 Autoload.
14093 (vc-resynch-buffer): Declare.
14094
14095 * obsolete/fast-lock.el (byte-compile-warnings):
14096 Don't warn about obsolete features in this obsolete file.
14097
14098 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14099 Move definition before use.
14100
14101 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14102 (dun-unix-verbs): Remove dun-zippy.
14103 (dun-zippy): Remove function.
14104
14105 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14106
14107 2013-05-27 Juri Linkov <juri@jurta.org>
14108
14109 * replace.el (replace-search): New function with code moved out
14110 from `perform-replace'.
14111 (replace-highlight, replace-dehighlight): Move function definitions
14112 up closer to `replace-search'. (Bug#11746)
14113
14114 2013-05-27 Juri Linkov <juri@jurta.org>
14115
14116 * replace.el (perform-replace): Ignore invisible matches.
14117 In addition to checking `query-replace-skip-read-only', also
14118 filter out matches by calling `run-hook-with-args-until-failure'
14119 on `isearch-filter-predicates', and also check `search-invisible'
14120 for t or call `isearch-range-invisible'.
14121 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14122
14123 2013-05-27 Juri Linkov <juri@jurta.org>
14124
14125 * isearch.el (isearch-filter-predicates): Rename from
14126 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14127 (isearch-message-prefix): Display text from the property
14128 `isearch-message-prefix' of the currently active filters.
14129 (isearch-search): Don't compare `isearch-filter-predicate' with
14130 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14131 on `isearch-filter-predicates'. Also check `search-invisible' for t
14132 or call `isearch-range-invisible'.
14133 (isearch-filter-visible): Make obsolete.
14134 (isearch-lazy-highlight-search):
14135 Call `run-hook-with-args-until-failure' on
14136 `isearch-filter-predicates' and use `isearch-range-invisible'.
14137
14138 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14139 `isearch-filter-predicates' instead of `funcall'ing
14140 `isearch-filter-predicate'.
14141 (Info-mode): Set `Info-isearch-filter' to
14142 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14143
14144 * dired-aux.el (dired-isearch-filter-predicate-orig):
14145 Remove variable.
14146 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14147 (dired-isearch-filenames-end): Add and remove
14148 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14149 instead of changing the value of `isearch-filter-predicate'.
14150 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14151 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14152 Put property `isearch-message-prefix' to "filename " on
14153 `dired-isearch-filter-filenames'.
14154
14155 * wdired.el (wdired-change-to-wdired-mode):
14156 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14157 locally instead of changing `isearch-filter-predicate'.
14158 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14159
14160 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14161
14162 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14163 return the commit hash (Bug#14459). Also set the
14164 `vc-git-detached' property.
14165 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14166 (vc-git-mode-line-string): Use the same help-echo format whether
14167 in detached mode or not, because we know the actual revision now.
14168 When in detached mode, shorten the revision to 7 chars.
14169
14170 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * emacs-lisp/easy-mmode.el (define-minor-mode):
14173 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14174 mode hook and provide a docstring.
14175
14176 2013-05-27 Alan Mackenzie <acm@muc.de>
14177
14178 Remove spurious syntax-table text properties inserted by C-y.
14179 * progmodes/cc-mode.el (c-after-change): Also clear hard
14180 syntax-table property with value nil.
14181
14182 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14183
14184 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14185 when reading the events; the buffer layout shall not be changed.
14186
14187 2013-05-27 Leo Liu <sdl.web@gmail.com>
14188
14189 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14190 New variable.
14191 (inferior-octave-directory-tracker): Automatically re-sync
14192 default-directory.
14193 (octave-help): Improve handling of 'See also'.
14194
14195 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14196
14197 * doc-view.el: Minor naming convention tweaks.
14198 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14199
14200 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14201 even if there's no `display' property yet (bug#14435).
14202
14203 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14204
14205 * subr.el (unmsys--file-name): Rename from reveal-filename.
14206
14207 * Makefile.in (custom-deps, finder-data, autoloads)
14208 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14209 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14210 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14211
14212 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14213
14214 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14215 error-completion on the first 2 args of condition-case (bug#14446).
14216 Don't burp at EOB.
14217
14218 2013-05-25 Leo Liu <sdl.web@gmail.com>
14219
14220 * comint.el (comint-previous-matching-input): Do not flood the
14221 *Messages* buffer with trivial messages.
14222
14223 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14224
14225 * progmodes/flymake.el (flymake-nop): Don't return a string.
14226 (flymake-set-at): Fix typo.
14227
14228 * simple.el (read--expression): New function, extracted from
14229 eval-expression. Set completion-at-point-functions (bug#14465).
14230 (eval-expression, eval-minibuffer): Use it.
14231
14232 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14233
14234 * progmodes/flymake.el (flymake-save-buffer-in-file)
14235 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14236 (flymake-selected-frame, flymake-log, flymake-ins-after)
14237 (flymake-set-at, flymake-get-buildfile-from-cache)
14238 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14239 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14240 Refine the doc string.
14241 (flymake-get-file-name-mode-and-masks): Reformat.
14242 (flymake-get-real-file-name-function): Fix a minor bug.
14243
14244 2013-05-24 Juri Linkov <juri@jurta.org>
14245
14246 * progmodes/grep.el (grep-mode-font-lock-keywords):
14247 Support =linenumber= format used by git-grep for lines with
14248 function names. (Bug#13549)
14249
14250 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14251
14252 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14253 0 after a semi-colon; it works better for smie-auto-fill.
14254 (octave--indent-new-comment-line): New function.
14255 (octave-indent-new-comment-line): Use it (indirectly).
14256 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14257 modify comment-line-break-function.
14258
14259 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14260 (smie-setup): Use add-function to set it.
14261
14262 2013-05-24 Sam Steingold <sds@gnu.org>
14263
14264 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14265 argument (before the `interactive' argument).
14266
14267 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14268
14269 * image-mode.el (image-mode-winprops): Add winprops to
14270 image-mode-winprops-alist before running
14271 image-mode-new-window-functions.
14272 * doc-view.el (doc-view-new-window-function): Don't delay
14273 doc-view-goto-page via timers (bug#14435).
14274
14275 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14276
14277 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14278 (doc-view-desktop-save-buffer): New function.
14279 (doc-view-restore-desktop-buffer): New function.
14280 (desktop-buffer-mode-handlers):
14281 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14282 handler.
14283 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14284 `desktop-save-buffer' function.
14285
14286 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14287
14288 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14289 (tramp-gvfs-file-name-handler): Raise a user error when
14290 `tramp-gvfs-enabled' is nil.
14291 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14292 Do not raise a user error when loading package. (Bug#14447)
14293
14294 * net/xesam.el: Move to obsolete/.
14295
14296 2013-05-24 Glenn Morris <rgm@gnu.org>
14297
14298 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14299
14300 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14301
14302 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14303 (Info-find-node, Man-getpage-in-background): Declare.
14304
14305 * mail/unrmail.el (unrmail):
14306 Replace obsolete detect-coding-with-priority.
14307
14308 * net/socks.el (socks-split-string): Use this rather than split-string.
14309 (socks-nslookup-host): Update for above change.
14310 (dynamic-choice, s5-dynamic-choice-match)
14311 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14312 Comment out unused code.
14313
14314 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14315 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14316 (gud-tooltip-echo-area): Make obsolete.
14317 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14318
14319 * progmodes/js.el (js--optimize-arglist): Declare.
14320
14321 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14322
14323 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14324 (ediff-window-C): Declare.
14325
14326 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14327 Tweak requires to silence compiler.
14328
14329 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14330 (he-search-string, he-tried-table, he-expand-list)
14331 (he-init-string, he-string-member, he-substitute-string)
14332 (he-reset-string): Declare.
14333
14334 * obsolete/options.el (list-options): Use custom-variable-p,
14335 rather than obsolete alias.
14336
14337 2013-05-23 Sam Steingold <sds@gnu.org>
14338
14339 * simple.el (shell-command-on-region): Pass the `replace' argument
14340 down to `call-process-region' to comply with the doc as reported on
14341 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14342
14343 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14344
14345 * emacs-lisp/smie.el (smie-indent-forward-token)
14346 (smie-indent-backward-token): Handle string tokens (bug#14381).
14347
14348 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14349
14350 * ielm.el (ielm-menu): New menu.
14351 (inferior-emacs-lisp-mode): Set comment-start.
14352
14353 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14354
14355 * textmodes/reftex.el (reftex-ref-style-toggle):
14356 Fix deactivate action.
14357
14358 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14359 Add cleveref macros.
14360
14361 * textmodes/reftex-parse.el
14362 (reftex-locate-bibliography-files): Accept options for
14363 bibliography commands.
14364 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14365 Add addbibresource. Basic Biblatex support.
14366
14367 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14368
14369 * net/tramp-gvfs.el (top):
14370 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14371 when loading package. (Bug#14447)
14372
14373 2013-05-23 Glenn Morris <rgm@gnu.org>
14374
14375 * progmodes/js.el: No need to load comint when compiling.
14376 (ring-insert, comint-send-string, comint-send-input)
14377 (comint-last-input-end, ido-chop): Declare.
14378
14379 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14380 * vc/ediff-mult.el: Adjust requires.
14381 (ediff-directories-internal, ediff-directory-revisions-internal)
14382 (ediff-patch-file-internal): Declare.
14383 * vc/ediff-ptch.el: Adjust requires.
14384 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14385 (ediff-find-file): Autoload.
14386 * vc/ediff-util.el: No need to load ediff when compiling.
14387 (ediff-regions-internal): Declare.
14388 * vc/ediff-wind.el: Adjust requires.
14389 (ediff-compute-toolbar-width): Define when compiling.
14390 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14391 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14392 (dired-get-filename, dired-get-marked-files)
14393 (ediff-last-dir-patch, ediff-patch-default-directory)
14394 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14395 (ediff-patch-buffer-internal): Declare.
14396
14397 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14398 (ispell-process, ispell-buffer-local-words, lm-summary)
14399 (lm-section-start, lm-section-end): Declare.
14400 (checkdoc-ispell-init): Simplify.
14401
14402 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14403 (he-string-member, he-reset-string, he-substitute-string): Declare.
14404
14405 * eshell/em-ls.el: Adjust requires.
14406 (eshell-glob-regexp): Declare.
14407 * eshell/em-tramp.el: Adjust requires.
14408 (eshell-parse-command): Autoload.
14409 * eshell/em-xtra.el: Adjust requires.
14410 (eshell-parse-command): Autoload.
14411 * eshell/esh-ext.el: Adjust requires.
14412 (eshell-parse-command, eshell-close-handles): Autoload.
14413 * eshell/esh-io.el: Adjust requires.
14414 (eshell-output-filter): Autoload.
14415 * eshell/esh-util.el: No need to load tramp when compiling.
14416 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14417 Declare.
14418 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14419 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14420 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14421 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14422 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14423 * eshell/esh-opt.el, eshell/esh-proc.el:
14424 * eshell/esh-var.el: Adjust requires.
14425 * eshell/eshell.el: Do not require esh-util twice.
14426 (eshell-add-input-to-history): Declare.
14427 (eshell-command): Check history module is active before using it.
14428
14429 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14430
14431 2013-05-22 Leo Liu <sdl.web@gmail.com>
14432
14433 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14434
14435 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14436
14437 * autorevert.el (auto-revert-notify-add-watch)
14438 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14439 it indicates changes in file modification time.
14440
14441 2013-05-22 Glenn Morris <rgm@gnu.org>
14442
14443 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14444 Always delete the autoloaded function from the noruntime and
14445 unresolved functions lists.
14446
14447 * allout.el: No need to load epa, epg, overlay when compiling.
14448 (epg-context-set-passphrase-callback, epg-list-keys)
14449 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14450 (epg-key-user-id-list): Declare.
14451
14452 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14453 (viper-set-parsing-style-toggling-macro)
14454 (viper-set-emacs-state-searchstyle-macros):
14455 Use called-interactively-p on Emacs.
14456 (viper-looking-back): Make it an obsolete alias. Update callers.
14457 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14458 Use looking-back rather than viper-looking-back.
14459 (viper-tmp-insert-at-eob, viper-enlarge-region)
14460 (viper-read-string-with-history, viper-register-to-point)
14461 (viper-append-to-register, viper-change-state-to-vi)
14462 (viper-backward-char-carefully, viper-forward-char-carefully)
14463 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14464 (viper-change-state-to-emacs): Declare.
14465 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14466 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14467 * emulation/viper-mous.el: Do not load viper-cmd.
14468 (viper-backward-char-carefully, viper-forward-char-carefully)
14469 (viper-forward-word, viper-adjust-window): Declare.
14470
14471 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14472
14473 * progmodes/idlw-help.el (idlwave-help-fontify):
14474 Use called-interactively-p.
14475
14476 * term/w32console.el (w32-get-console-codepage)
14477 (w32-get-console-output-codepage): Declare.
14478
14479 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14480 Remove unnecessary declarations.
14481 (dframe-message): Doc fix.
14482
14483 * info.el (dframe-select-attached-frame, dframe-current-frame):
14484 Declare.
14485
14486 * speedbar.el (speedbar-message): Make it an obsolete alias.
14487 Update all callers.
14488 (speedbar-with-attached-buffer)
14489 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14490 (speedbar-with-writable): Use backquote.
14491 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14492 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14493 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14494 rather than speedbar- aliases.
14495 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14496 (speedbar-make-specialized-keymap, speedbar-insert-button)
14497 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14498 (speedbar-do-function-pointer): Declare.
14499 (rmail-speedbar-button, rmail-speedbar-find-file)
14500 (rmail-speedbar-move-message):
14501 Use dframe-with-attached-buffer rather than speedbar- alias.
14502 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14503 (dframe-message, speedbar-make-specialized-keymap)
14504 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14505 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14506 (speedbar-insert-button, dframe-select-attached-frame)
14507 (dframe-maybee-jump-to-attached-frame)
14508 (speedbar-change-initial-expansion-list)
14509 (speedbar-previously-used-expansion-list-name): Declare.
14510 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14511 Use dframe-message, dframe-with-attached-buffer rather than
14512 speedbar- aliases.
14513 (gud-sentinel): Silence compiler.
14514 * progmodes/vhdl-mode.el (speedbar-refresh)
14515 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14516 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14517 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14518 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14519 (speedbar-file-lists, speedbar-make-tag-line)
14520 (speedbar-line-directory, speedbar-goto-this-file)
14521 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14522 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14523 (speedbar-make-button, speedbar-reset-scanners)
14524 (speedbar-files-item-info, speedbar-line-text)
14525 (speedbar-find-file-in-frame, speedbar-set-timer)
14526 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14527 (speedbar-with-writable): Do not (re)define it.
14528 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14529 rather than speedbar- alias.
14530
14531 2013-05-21 Leo Liu <sdl.web@gmail.com>
14532
14533 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14534 menu items.
14535 (octave-mode): Tweak fill-nobreak-predicate.
14536 (inferior-octave-startup): Check process to avoid infinite loop.
14537 (inferior-octave): Pop to buffer first to show abornmal process
14538 exit information.
14539
14540 2013-05-21 Glenn Morris <rgm@gnu.org>
14541
14542 * printing.el (pr-menu-bar): Define when compiling.
14543
14544 2013-05-21 Leo Liu <sdl.web@gmail.com>
14545
14546 * progmodes/octave.el (octave-auto-fill): Remove.
14547 (octave-indent-new-comment-line): Improve.
14548 (octave-mode): Use auto fill mode through
14549 comment-line-break-function and fill-nobreak-predicate.
14550 (octave-goto-function-definition): Support DEFUN_DLD.
14551 (octave-beginning-of-defun): Small tweak.
14552 (octave-help): Show parent directory.
14553
14554 2013-05-21 Glenn Morris <rgm@gnu.org>
14555
14556 * files.el (dired-unmark):
14557 * progmodes/gud.el (gdb-input): Update declarations.
14558
14559 * calculator.el (electric, ehelp): No need to load when compiling.
14560 (Electric-command-loop, electric-describe-mode): Declare.
14561
14562 * doc-view.el (doc-view-current-converter-processes): Move before use.
14563
14564 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14565 Move MODE-set-explicitly definition before use.
14566
14567 * international/mule-diag.el (mule-diag):
14568 Don't use obsolete window-system-version.
14569
14570 * mail/feedmail.el (smtpmail): No need to load when compiling.
14571 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14572
14573 * mail/mail-utils.el (rfc822): No need to load when compiling.
14574 (rfc822-addresses): Autoload it.
14575 (mail-strip-quoted-names): Trivial simplification.
14576
14577 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14578 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14579
14580 * net/snmp-mode.el (tempo): Don't duplicate requires.
14581
14582 * progmodes/prolog.el (info): No need to load when compiling.
14583 (comint): Require before shell requires it.
14584 (Info-goto-node): Autoload it.
14585 (Info-follow-nearest-node): Declare.
14586 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14587
14588 * textmodes/artist.el (picture-mode-exit): Declare.
14589
14590 * textmodes/reftex-parse.el (reftex-parse-from-file):
14591 Trivial rewrite so the compiler can parse it better.
14592
14593 2013-05-20 Leo Liu <sdl.web@gmail.com>
14594
14595 * progmodes/octave.el (octave-help-mode-map)
14596 (octave-help-mode-finish-hook): New variables.
14597 (octave-help-mode, octave-help-mode-finish): New functions.
14598 (octave-help): Use octave-help-mode.
14599
14600 2013-05-20 Glenn Morris <rgm@gnu.org>
14601
14602 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14603
14604 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14605
14606 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14607 start at point, so that expansion starting right after opening
14608 slash in a regexp is recognized.
14609 (ruby-syntax-before-regexp-re): New defvar, extracted from
14610 ruby-syntax-propertize-function. Since the value of this regexp
14611 is looked up at runtime now, we should be able to turn
14612 `ruby-syntax-methods-before-regexp' into a defcustom later.
14613 (ruby-syntax-propertize-function): Split regexp matching into two
14614 parts, for opening and closing slashes. That allows us to skip
14615 over string interpolations and support multiline regexps.
14616 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14617 for them, which calls `ruby-syntax-propertize-expansion'.
14618 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14619 call to `ruby-syntax-propertize-function'.
14620 (ruby-syntax-propertize-expansion): Extracted from
14621 `ruby-syntax-propertize-expansions'. Handles one expansion.
14622 (ruby-syntax-propertize-percent-literal): Leave point right after
14623 the percent symbol, so that the expression expansion rule can
14624 propertize the contents.
14625 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14626 heredoc openers.
14627 (ruby-syntax-propertize-expansions): Remove.
14628
14629 2013-05-18 Juri Linkov <juri@jurta.org>
14630
14631 * man.el (Man-default-man-entry): Remove `-' from the end
14632 of the default value. (Bug#14400)
14633
14634 2013-05-18 Glenn Morris <rgm@gnu.org>
14635
14636 * comint.el (comint-password-prompt-regexp):
14637 Allow "password for XXX" where XXX contains colons (eg https://...).
14638
14639 2013-05-18 Leo Liu <sdl.web@gmail.com>
14640
14641 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14642 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14643 (octave-source-directories): Don't check process.
14644 (octave-source-directories, octave-find-definition): Doc fix.
14645
14646 2013-05-18 Glenn Morris <rgm@gnu.org>
14647
14648 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14649 Remove backspace/delete bindings. (Bug#14392)
14650
14651 * cus-dep.el (custom-make-dependencies): Sort the output.
14652 (custom-versions-load-alist): Convert comment to doc.
14653
14654 2013-05-17 Leo Liu <sdl.web@gmail.com>
14655
14656 * newcomment.el (comment-search-backward): Stricter in finding
14657 comment start. (Bug#14303)
14658
14659 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14660 (octave-comment-start-skip): Properly anchored.
14661
14662 2013-05-17 Leo Liu <sdl.web@gmail.com>
14663
14664 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14665 Clean up when turned off. (Bug#14395)
14666 (smie--highlight-matching-block-overlay): No longer buffer-local.
14667 (smie-highlight-matching-block): Adjust.
14668
14669 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14670
14671 Doc string fix for "nanoseconds" (Bug#14406).
14672 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14673 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14674
14675 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14676
14677 * calc/calc-units.el (math-extract-units): Preserve powers
14678 of units.
14679
14680 2013-05-17 Leo Liu <sdl.web@gmail.com>
14681
14682 * subr.el (delete-consecutive-dups): New function.
14683 * ido.el (ido-set-matches-1): Use it.
14684 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14685 * ido.el (ido-remove-consecutive-dups): Remove.
14686
14687 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14690 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14691 regexp-opt's `words'.
14692
14693 2013-05-16 Leo Liu <sdl.web@gmail.com>
14694
14695 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14696 (smie--highlight-matching-block-overlay)
14697 (smie--highlight-matching-block-lastpos)
14698 (smie--highlight-matching-block-timer): New variables.
14699 (smie-highlight-matching-block): New function.
14700 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14701 (smie-setup): Conditionally enable smie-blink-matching-open.
14702
14703 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14704
14705 Sync with upstream verilog-mode r840.
14706 * progmodes/verilog-mode.el (verilog-mode-version)
14707 (verilog-mode-release-date): Update.
14708 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14709 (verilog-sig-tieoff): Fix string error on
14710 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14711 (verilog-read-decls): Fix parameters confusing
14712 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14713
14714 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14715
14716 * subr.el (reveal-filename): New function.
14717
14718 * loadup.el: Compute Emacs executable versions on MS-Windows,
14719 where executables have the .exe extension. Add a hard link
14720 emacs-XX.YY.ZZ.exe on MS-Windows.
14721
14722 * Makefile.in (XARGS_LIMIT): New variable.
14723 (custom-deps, finder-data, autoloads)
14724 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14725 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14726 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14727 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14728
14729 2013-05-16 Leo Liu <sdl.web@gmail.com>
14730
14731 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14732 (octave-mode-menu, octave-mode-map): Remove its uses.
14733
14734 2013-05-16 Reto Zimmermann <reto@gnu.org>
14735
14736 Sync with upstream vhdl mode v3.34.2.
14737 * progmodes/vhdl-mode.el: Use `push' throughout.
14738 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14739 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14740 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14741 (vhdl-actual-generic-name): New option to derive actual generic name.
14742 (vhdl-port-paste-signals): Replace formal by actual generics.
14743 (vhdl-beautify): New name for old group vhdl-align. Update users.
14744 (vhdl-beautify-options): New option.
14745 (vhdl-last-input-event): New compat alias. Use throughout.
14746 (vhdl-goto-line): Replace user level function `goto-line'.
14747 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14748 vhdl-fix-statement-buffer.
14749 (vhdl-create-mode-menu): Add some entries.
14750 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14751 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14752 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14753 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14754 to force statements on one line.
14755 (vhdl-remove-trailing-spaces-region):
14756 New, split from vhdl-remove-trailing-spaces.
14757 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14758 Respect vhdl-beautify-options.
14759 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14760 (vhdl-update-sensitivity-list): Not add with index if exists without.
14761 Not include array index with signal. Ignore keywords in comments.
14762 (vhdl-get-visible-signals): Regexp tweaks.
14763 (vhdl-template-component-inst): Handle empty library.
14764 (vhdl-template-type): Add template for 'enum' type.
14765 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14766 Use vhdl-replace-string.
14767 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14768 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14769 (vhdl-speedbar-initialize): Update for above name change.
14770 (vhdl-compose-wire-components): Fix in handling of constants.
14771 (vhdl-error-regexp-emacs-alist): New variable.
14772 (vhdl-error-regexp-add-emacs): New function;
14773 adds support for new compile.el (Emacs 22+)
14774 (vhdl-generate-makefile-1): Change target order for single lib. units.
14775 Allow use of absolute file names.
14776
14777 2013-05-16 Leo Liu <sdl.web@gmail.com>
14778
14779 * simple.el (prog-indent-sexp): Indent enclosing defun.
14780
14781 2013-05-15 Glenn Morris <rgm@gnu.org>
14782
14783 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14784 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14785 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14786 (whitespace-highlight): Move to whitespace group.
14787
14788 * comint.el (comint-source):
14789 * pcmpl-linux.el (pcmpl-linux):
14790 * shell.el (shell-faces):
14791 * eshell/esh-opt.el (eshell-opt):
14792 * international/ccl.el (ccl): Remove empty custom groups.
14793
14794 * completion.el (dynamic-completion-mode):
14795 * jit-lock.el (jit-lock-debug-mode):
14796 * minibuffer.el (completion-in-region-mode):
14797 * type-break.el (type-break-mode-line-message-mode)
14798 (type-break-query-mode):
14799 * emulation/tpu-edt.el (tpu-edt-mode):
14800 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14801 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14802 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14803
14804 * term/xterm.el (xterm): Change parent group to terminals.
14805
14806 * master.el (master): Remove empty custom group.
14807 (master-mode): Remove unused :group argument.
14808 * textmodes/refill.el (refill): Remove empty custom group.
14809 (refill-mode): Remove unused :group argument.
14810
14811 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14812
14813 * cus-dep.el: Provide a feature.
14814 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14815 Don't mistakenly ignore files whose basenames match a basename
14816 from preloaded-file-list (eg cedet/ede/simple.el).
14817 Add a fallback method for getting :group.
14818
14819 2013-05-15 Juri Linkov <juri@jurta.org>
14820
14821 * isearch.el (isearch-char-by-name): Rename from
14822 `isearch-insert-char-by-name'. Doc fix.
14823 (isearch-forward): Mention `isearch-char-by-name' in
14824 the docstring. (Bug#13348)
14825
14826 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14827 `exit-minibuffer' instead of
14828 `isearch-nonincremental-exit-minibuffer'.
14829 (isearch-edit-string): Remove mention of
14830 `isearch-nonincremental-exit-minibuffer' from docstring.
14831 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14832 (isearch-forward-exit-minibuffer)
14833 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14834
14835 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14836
14837 * loadup.el: Just use unversioned DOC.
14838
14839 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14840 literals as extending to EOB.
14841 (nxml-last-fontify-end): Remove unused variable.
14842 (nxml-after-change1): Use with-silent-modifications.
14843 (nxml-extend-after-change-region): Simplify.
14844 (nxml-extend-after-change-region1): Remove function.
14845 (nxml-after-change1): Don't adjust for dependent regions.
14846 (nxml-fontify-matcher): Simplify.
14847 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14848 (xmltok-add-dependent): Remove function.
14849 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14850 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14851 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14852 unclosed <[[, <?, comment, and other literals as extending to EOB.
14853 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14854 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14855 Remove functions.
14856 (rng-do-some-validation-1): Don't mark dependent regions.
14857 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14858 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14859 (nxml-clear-dependent-regions): Remove functions.
14860 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14861 (nxml-ensure-scan-up-to-date):
14862 Don't clear&mark dependent regions.
14863
14864 2013-05-15 Leo Liu <sdl.web@gmail.com>
14865
14866 * progmodes/octave.el (octave-goto-function-definition):
14867 Improve and fix callers.
14868
14869 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14870
14871 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14872 the setter (bug#14387).
14873
14874 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14875 surrounding group (bug#14402).
14876
14877 2013-05-14 Juri Linkov <juri@jurta.org>
14878
14879 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14880 (Bug#14390)
14881
14882 2013-05-14 Glenn Morris <rgm@gnu.org>
14883
14884 * progmodes/f90.el (f90-imenu-generic-expression):
14885 Fix typo in 2013-05-08 change. (Bug#14402)
14886
14887 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14888
14889 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14890 Remove signals for which replies are never received.
14891
14892 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14893
14894 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14895 (gdb-handler-alist, gdb-handler-number): Remove variables.
14896 (gdb-handler-list): New variable.
14897 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14898 (gdb-pending-handler-p, gdb-handle-reply)
14899 (gdb-remove-all-pending-triggers): New functions.
14900 (gdb-discard-unordered-replies): New defcustom.
14901 (gdb-handler): New defstruct.
14902 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14903 instead of gdb-pending-triggers. Update docstring.
14904 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14905 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14906 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14907 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14908 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14909 (gdb-frame-handler): Pending triggers are now automatically managed.
14910 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14911 Remove argument.
14912 (gdb-input): Automatically handles pending triggers. Update docstring.
14913 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14914 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14915 Update comments.
14916 (gdb-done-or-error): Now use gdb-handle-reply.
14917
14918 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14919
14920 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14921 gdb-debug-log.
14922
14923 2013-05-14 Glenn Morris <rgm@gnu.org>
14924
14925 * subr.el (user-emacs-directory-warning): New option.
14926 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14927
14928 2013-05-14 Leo Liu <sdl.web@gmail.com>
14929
14930 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14931 during redisplay.
14932 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14933 (octave-font-lock-texinfo-comment): Fix invalid search bound
14934 error: wrong side of point.
14935
14936 2013-05-14 Glenn Morris <rgm@gnu.org>
14937
14938 * progmodes/flymake.el (flymake-xml-program): New option.
14939 (flymake-xml-init): Use it.
14940
14941 * term/xterm.el: Provide a feature.
14942
14943 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14944
14945 2013-05-13 Glenn Morris <rgm@gnu.org>
14946
14947 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14948 Add compat aliases as a hack workaround. (Bug#14384)
14949
14950 2013-05-13 Leo Liu <sdl.web@gmail.com>
14951
14952 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14953 ###, and %!.
14954 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14955 C-M-q.
14956 (octave-comment-start-skip): Include %!.
14957 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14958
14959 2013-05-12 Leo Liu <sdl.web@gmail.com>
14960
14961 * progmodes/octave.el (inferior-octave-startup): Store the value
14962 of __octave_srcdir__ for octave-source-directories.
14963 (inferior-octave-check-process): New function refactored out of
14964 inferior-octave-send-list-and-digest.
14965 (octave-source-directories)
14966 (octave-find-definition-filename-function): New variables.
14967 (octave-source-directories)
14968 (octave-find-definition-default-filename): New functions.
14969 (octave-find-definition): Improve to find functions implemented in C++.
14970
14971 2013-05-12 Glenn Morris <rgm@gnu.org>
14972
14973 * calendar/diary-lib.el (diary-outlook-format-1):
14974 Don't include dayname in the output. (Bug#14349)
14975
14976 2013-05-11 Glenn Morris <rgm@gnu.org>
14977
14978 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14979
14980 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14981 Treat cc-provide like provide.
14982
14983 2013-05-11 Kevin Ryde <user42@zip.com.au>
14984
14985 * cus-dep.el (custom-make-dependencies):
14986 Use generated-autoload-load-name for the sake of files such
14987 such cedet/semantic/bovine/c.el, where the base file name
14988 is not in load-path. (Bug#5277)
14989
14990 2013-05-11 Glenn Morris <rgm@gnu.org>
14991
14992 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14993 Provide features.
14994
14995 2013-05-11 Leo Liu <sdl.web@gmail.com>
14996
14997 * progmodes/octave.el (octave-indent-comment): Improve.
14998 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14999 (octave-eldoc-function-signatures, octave-eldoc-function):
15000 New functions.
15001 (octave-mode, inferior-octave-mode): Add eldoc support.
15002
15003 2013-05-11 Richard Stallman <rms@gnu.org>
15004
15005 * epa.el (epa-decrypt-file): Take output file name as argument
15006 and read it using `interactive'.
15007
15008 2013-05-11 Leo Liu <sdl.web@gmail.com>
15009
15010 * progmodes/octave.el (octave-beginning-of-line)
15011 (octave-end-of-line): Check before using up-list because it jumps
15012 out of more syntactic contructs since moving to smie.
15013 (octave-indent-comment): New function.
15014 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15015 (octave-begin-keywords, octave-end-keywords)
15016 (octave-reserved-words, octave-smie-bnf-table)
15017 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15018
15019 2013-05-11 Glenn Morris <rgm@gnu.org>
15020
15021 * faces.el (internal-face-x-get-resource):
15022 * frame.el (ns-display-monitor-attributes-list):
15023 * calc/calc-aent.el (math-to-radians-2):
15024 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15025 Fix declarations.
15026
15027 * calc/calc-menu.el: Make it loadable in isolation.
15028
15029 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15030 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15031 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15032 (eudc-bbdb-query-internal): Require 'bbdb.
15033
15034 * lpr.el (lpr-headers-switches):
15035 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15036
15037 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15038
15039 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15040
15041 * term.el (term-set-escape-char): Make it idempotent.
15042
15043 2013-05-10 Leo Liu <sdl.web@gmail.com>
15044
15045 * progmodes/octave.el (inferior-octave-completion-table):
15046 No longer a function and all uses changed. Use cache to speed up
15047 completion due to bug#11906.
15048 (octave-beginning-of-defun): Re-write to be more general.
15049
15050 2013-05-10 Glenn Morris <rgm@gnu.org>
15051
15052 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15053
15054 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15055
15056 * comint.el (comint-redirect-send-command-to-process): Use :around
15057 rather than :override for comint-redirect-filter.
15058 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15059 Call it instead of comint-redirect-original-filter-function (which
15060 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15061
15062 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15063
15064 * frame.el (display-monitor-attributes-list): Add NS case.
15065 (ns-display-monitor-attributes-list): Declare.
15066
15067 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15068
15069 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15070
15071 2013-05-09 Glenn Morris <rgm@gnu.org>
15072
15073 * international/fontset.el (vertical-centering-font-regexp):
15074 Set standard-value.
15075
15076 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15077
15078 * bookmark.el (bookmark-search-delay):
15079 * cus-start.el (vertical-centering-font-regexp):
15080 * ps-mule.el (ps-mule-font-info-database-default):
15081 * ps-print.el (ps-default-fg, ps-default-bg):
15082 * type-break.el (type-break-good-break-interval):
15083 * whitespace.el (whitespace-indentation-regexp)
15084 (whitespace-space-after-tab-regexp):
15085 * emacs-lisp/testcover.el (testcover-1value-functions)
15086 (testcover-noreturn-functions, testcover-progn-functions)
15087 (testcover-prog1-functions):
15088 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15089 * eshell/em-glob.el (eshell-glob-translate-alist):
15090 * play/tetris.el (tetris-tty-colors):
15091 * progmodes/cpp.el (cpp-face-default-list):
15092 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15093 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15094 (idlwave-help-browser-generic-args):
15095 * progmodes/make-mode.el (makefile-special-targets-list):
15096 * progmodes/python.el (python-shell-virtualenv-path):
15097 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15098 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15099 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15100 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15101 * textmodes/reftex-vars.el (reftex-format-label-function):
15102 * textmodes/remember.el (remember-diary-file): Fix custom types.
15103
15104 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15105 Add :version.
15106
15107 2013-05-09 Leo Liu <sdl.web@gmail.com>
15108
15109 * progmodes/octave.el (inferior-octave-completion-at-point):
15110 Restore file completion. (Bug#14300)
15111 (inferior-octave-startup): Fix incorrect highlighting for the
15112 first prompt.
15113
15114 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15115
15116 * progmodes/ruby-mode.el: First cut at SMIE support.
15117 (ruby-use-smie): New var.
15118 (ruby-smie-grammar): New constant.
15119 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15120 (ruby-smie--forward-token, ruby-smie--backward-token)
15121 (ruby-smie-rules): New functions.
15122 (ruby-mode-variables): Setup SMIE if applicable.
15123
15124 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15125
15126 * simple.el (line-move-visual): Signal beginning/end of buffer
15127 only if vertical-motion moved less than it was requested. Avoids
15128 silly incorrect error messages when there are display strings with
15129 multiple newlines at EOL.
15130
15131 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15132
15133 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15134 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15135 (prolog-char-quote-workaround):
15136 * progmodes/cperl-mode.el (cperl-under-as-char):
15137 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15138 Mark as obsolete.
15139 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15140 their declaration.
15141 (vhdl-mode-syntax-table-init): Remove.
15142
15143 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15144 last change.
15145
15146 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15147 syntax for "_".
15148 (ld-script-font-lock-keywords):
15149 Change regexps to use things like \_< and \_>.
15150
15151 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15152 Change all regexps to use things like \_< and \_>.
15153
15154 * progmodes/autoconf.el (autoconf-definition-regexp)
15155 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15156 Handle a _ with symbol syntax.
15157 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15158
15159 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15160 Consolidate declaration.
15161 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15162 the declaration.
15163 (ada-create-syntax-table): Remove.
15164 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15165 already has the right syntax nowadays.
15166 (ada-goto-next-word): Don't change the syntax of "_".
15167
15168 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15169 with-wrapper-hook.
15170
15171 2013-05-08 Sam Steingold <sds@gnu.org>
15172
15173 * thingatpt.el (thing-at-point): Accept optional second argument
15174 NO-PROPERTIES to strip the text properties from the return value.
15175 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15176 to `thing-at-point' instead of stripping the properties ourselves.
15177 Also, when `thing-at-point' fails to find a url, prepend "http://"
15178 to the filename at point on the assumption that the user is
15179 pointing at something like gnu.org/gnu.
15180
15181 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15182
15183 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15184 * faces.el (crm-separator):
15185 Silence byte-compiler.
15186
15187 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15188 (tool-bar-map): Remove unneeded defvars.
15189
15190 2013-05-08 Leo Liu <sdl.web@gmail.com>
15191
15192 Re-work a fix for bug#10994 based on Le Wang's patch.
15193 * ido.el (ido-remove-consecutive-dups): New helper.
15194 (ido-completing-read): Use it.
15195 (ido-chop): Revert fix for bug#10994.
15196
15197 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15198
15199 * cus-edit.el (custom-save-variables):
15200 Pretty-print long values. (Bug#14187)
15201
15202 2013-05-08 Glenn Morris <rgm@gnu.org>
15203
15204 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15205 (m4-mode-syntax-table): Init in the defvar.
15206 (m4-mode-abbrev-table): Let define-derived-mode define it.
15207
15208 2013-05-08 Tom Tromey <tromey@redhat.com>
15209
15210 * progmodes/m4-mode.el (m4-mode-syntax-table):
15211 Do not treat "_" as word constituent. (Bug#14167)
15212
15213 2013-05-07 Glenn Morris <rgm@gnu.org>
15214
15215 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15216 Remove explicit eshell-isearch-cancel-map.
15217
15218 * progmodes/f90.el (f90-smart-end-names): New option.
15219 (f90-smart-end): Doc fix.
15220 (f90-end-block-optional-name): New constant.
15221 (f90-block-match): Respect f90-smart-end-names.
15222
15223 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15224
15225 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15226 about implicit semi-colons (bug#14218).
15227
15228 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15229
15230 * frame.el (display-monitor-attributes-list)
15231 (frame-monitor-attributes): New functions.
15232
15233 2013-05-06 Leo Liu <sdl.web@gmail.com>
15234
15235 * progmodes/octave.el (octave-syntax-propertize-function): Change
15236 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15237 (octave-font-lock-keywords): Use octave-operator-regexp.
15238 (octave-completion-at-point): Rename from
15239 octave-completion-at-point-function.
15240 (inferior-octave-directory-tracker): Robustify.
15241 (octave-text-functions): Remove and fix its uses. No such things
15242 any more.
15243
15244 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15245
15246 * emacs-lisp/trace.el (trace--display-buffer): New function.
15247 (trace-make-advice): Use it.
15248
15249 2013-05-06 Juri Linkov <juri@jurta.org>
15250
15251 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15252 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15253 Doc fix.
15254 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15255 in the help string. (Bug#12985)
15256
15257 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15258
15259 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15260
15261 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15262
15263 * progmodes/perl-mode.el: Add support for here documents.
15264 (perl-syntax-propertize-function): Match here-doc markers.
15265 (perl-syntax-propertize-special-constructs): Find their end.
15266 (perl-imenu-generic-expression): Use [:alnum:].
15267
15268 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15269 (advice--add-function): Refresh the advice if already present
15270 (bug#14317).
15271
15272 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15273
15274 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15275
15276 2013-05-06 Glenn Morris <rgm@gnu.org>
15277
15278 * w32-fns.el (w32-charset-info-alist): Declare.
15279
15280 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15281 of its defcustom properties.
15282 (eshell-cmpl-initialize): No need to load pcomplete.
15283
15284 * generic-x.el: No need to require comint when compiling.
15285
15286 * net/eudc-export.el: Make it loadable without bbdb.
15287 (top-level): Use require rather than load-library.
15288 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15289 (eudc-batch-export-records-to-bbdb)
15290 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15291 Require bbdb.
15292
15293 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15294
15295 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15296 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15297 some tweaks, instead.
15298
15299 2013-05-05 Leo Liu <sdl.web@gmail.com>
15300
15301 * progmodes/octave.el (octave-font-lock-keywords)
15302 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15303 (inferior-octave-send-list-and-digest): Improve error message.
15304 (octave-mode, inferior-octave-mode): Use setq-local.
15305 (octave-help): Set info-lookup-mode.
15306
15307 2013-05-05 Richard Stallman <rms@gnu.org>
15308
15309 * vc/compare-w.el (compare-windows-whitespace):
15310 Treat no-break space as whitespace.
15311
15312 * mail/rmailsum.el (rmail-summary-rmail-update):
15313 Detect empty summary and don't change selected message.
15314 (rmail-summary-goto-msg): Likewise.
15315
15316 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15317 Doc fixes, rename args.
15318
15319 2013-05-05 Alan Mackenzie <acm@muc.de>
15320
15321 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15322
15323 2013-05-05 Juri Linkov <juri@jurta.org>
15324
15325 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15326 to not add the length of the summary segment to the return value.
15327 (Bug#14125)
15328
15329 2013-05-05 Leo Liu <sdl.web@gmail.com>
15330
15331 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15332 (inferior-octave-output-filter): Remove.
15333 (octave-send-region, inferior-octave-startup): Fix callers.
15334 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15335 (octave-binary-file-extensions): New user variable.
15336 (octave-find-definition): Confirm if opening binary files.
15337 (octave-help-file): Use octave-find-definition to get the binary
15338 confirmation.
15339 (octave-help): Adjust for octave-help-file change.
15340
15341 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15342
15343 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15344 Merge the two entries that handle function definitions.
15345 (pascal--syntax-propertize): New const.
15346 (pascal-mode): Use it. Use setq-local.
15347
15348 2013-05-04 Glenn Morris <rgm@gnu.org>
15349
15350 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15351 (diary-from-outlook): Respect diary-from-outlook-function.
15352
15353 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15354
15355 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15356 Move the declaration from C.
15357 (read-minibuffer, eval-minibuffer): Move from C.
15358 (completion-setup-function): Avoid minibuffer-completion-contents.
15359
15360 2013-05-03 Leo Liu <sdl.web@gmail.com>
15361
15362 * progmodes/octave.el (octave-font-lock-keywords): Do not
15363 dehighlight 'end' in comments or strings.
15364 (octave-completing-read, octave-goto-function-definition):
15365 New helpers.
15366 (octave-help-buffer): New user variable.
15367 (octave-help-file, octave-help-function): New button types.
15368 (octave-help): New command and bind it to C-h ;.
15369 (octave-find-definition): New command and bind it to M-.
15370 (user-error): Alias to error if not defined.
15371
15372 2013-05-02 Leo Liu <sdl.web@gmail.com>
15373
15374 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15375 for \. (bug#14332)
15376 (octave-font-lock-keywords): Include [ and {.
15377
15378 2013-05-02 Leo Liu <sdl.web@gmail.com>
15379
15380 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15381 (inferior-octave): Remove calling comint-mode and return the buffer.
15382 (inferior-octave-startup): Cosmetic changes.
15383
15384 2013-05-02 Leo Liu <sdl.web@gmail.com>
15385
15386 * progmodes/octave.el (octave-syntax-propertize-function):
15387 Include the case when ' is at line beginning. (Bug#14336)
15388
15389 2013-05-02 Glenn Morris <rgm@gnu.org>
15390
15391 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15392 * desktop.el (vc-dir-mode): Just autoload it here.
15393
15394 2013-05-02 Alan Mackenzie <acm@muc.de>
15395
15396 Eliminate variable c-standard-font-lock-fontify-region-function.
15397 * progmodes/cc-mode.el
15398 (c-standard-font-lock-fontify-region-function): Remove.
15399 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15400
15401 2013-05-01 Leo Liu <sdl.web@gmail.com>
15402
15403 * progmodes/octave.el: Compatible with older emacs-24 releases.
15404 (inferior-octave-has-built-in-variables): Remove. Built-in
15405 variables were removed from Octave in 2007.
15406 (inferior-octave-startup): Fix uses.
15407 (comint-line-beginning-position): Remove compatibility code for
15408 emacs 21.
15409
15410 2013-05-01 Juri Linkov <juri@jurta.org>
15411
15412 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15413
15414 2013-05-01 Juri Linkov <juri@jurta.org>
15415
15416 * comint.el (comint-previous-matching-input): Don't print message
15417 "History item: %d" when `isearch-mode' is active.
15418 (comint-history-isearch-message): Print message "History item: %d"
15419 when `comint-input-ring-index' is not empty and this function is
15420 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15421
15422 2013-05-01 Leo Liu <sdl.web@gmail.com>
15423
15424 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15425 definitions. Use completion-at-point to insert keywords.
15426 (octave-abbrev-start): Remove.
15427 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15428
15429 2013-04-30 Leo Liu <sdl.web@gmail.com>
15430
15431 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15432 change.
15433
15434 2013-04-30 Alan Mackenzie <acm@muc.de>
15435
15436 Handle arbitrarily long C++ member initialisation lists.
15437 * progmodes/cc-engine.el (c-back-over-member-initializers):
15438 new function.
15439 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15440 (most) member init lists.
15441
15442 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15443
15444 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15445 variable.
15446
15447 2013-04-30 Leo Liu <sdl.web@gmail.com>
15448
15449 * progmodes/octave.el (octave-variables): Remove. No builtin
15450 variables any more. All converted to functions.
15451 (octave-font-lock-keywords, octave-completion-at-point-function):
15452 Fix uses.
15453 (octave-font-lock-texinfo-comment): New user variable.
15454 (octave-texinfo-font-lock-keywords): New variable for texinfo
15455 comment block.
15456 (octave-function-comment-block): New face.
15457 (octave-font-lock-texinfo-comment): New function.
15458 (octave-mode): Font lock texinfo comment block.
15459
15460 2013-04-29 Leo Liu <sdl.web@gmail.com>
15461
15462 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15463 indexing expression.
15464 (octave-continuation-string): Do not use \.
15465 (inferior-octave-complete-impossible): Remove.
15466 (inferior-octave-completion-table)
15467 (inferior-octave-completion-at-point): Remove its uses.
15468 (inferior-octave-startup): completion_matches was introduced to
15469 Octave in 1996 so safe to assume it.
15470 (octave-function-file-comment): Improve to follow how Octave does it.
15471 (octave-update-function-file-comment): Tweak.
15472
15473 2013-04-29 Leo Liu <sdl.web@gmail.com>
15474
15475 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15476 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15477 (octave-function-file-comment): Fix typo.
15478 (octave-sync-function-file-names): Use read-char-choice.
15479
15480 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15481
15482 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15483 to t for the less important warnings.
15484
15485 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15486
15487 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15488
15489 2013-04-27 Glenn Morris <rgm@gnu.org>
15490
15491 * vc/log-view.el (log-view-current-entry):
15492 Treat "---" separator lines as part of the following rev. (Bug#14169)
15493
15494 2013-04-27 Juri Linkov <juri@jurta.org>
15495
15496 * subr.el (read-number): Doc fix about using it by interactive
15497 code letter `n'. (Bug#14254)
15498
15499 2013-04-27 Juri Linkov <juri@jurta.org>
15500
15501 * desktop.el (desktop-auto-save-timeout): New option.
15502 (desktop-file-checksum): New variable.
15503 (desktop-save): Add optional arg `auto-save' and don't auto-save
15504 if nothing changed.
15505 (desktop-auto-save-timer): New variable.
15506 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15507 (after-init-hook): Call `desktop-auto-save-set-timer'.
15508 Suggested by Reuben Thomas <rrt@sc3d.org> in
15509 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15510
15511 2013-04-27 Leo Liu <sdl.web@gmail.com>
15512
15513 * progmodes/octave.el (octave-function-file-p)
15514 (octave-skip-comment-forward, octave-function-file-comment)
15515 (octave-update-function-file-comment): New functions.
15516 (octave-mode-map): Bind C-c ; to
15517 octave-update-function-file-comment.
15518 (octave-mode-menu): Add octave-update-function-file-comment.
15519 (octave-mode, inferior-octave-mode): Fix doc-string.
15520 (octave-insert-defun): Conform to Octave's coding convention.
15521 (Bug#14285)
15522
15523 * files.el (basic-save-buffer): Don't let errors in
15524 before-save-hook prevent saving buffer.
15525
15526 2013-04-20 Roland Winkler <winkler@gnu.org>
15527
15528 * faces.el (read-face-name): Use completing-read if arg multiple
15529 is nil.
15530
15531 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15532
15533 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15534 displayed, move point to after the totals line.
15535 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15536 for the details.
15537
15538 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15539
15540 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15541 Add current dir to the load-path.
15542 (package-generate-autoloads): Don't rely on
15543 autoload-ensure-default-file.
15544
15545 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15546
15547 * textmodes/remember.el (remember-store-in-files): Document that
15548 the file name format is passed to `format-time-string'.
15549
15550 2013-04-26 Leo Liu <sdl.web@gmail.com>
15551
15552 * progmodes/octave.el (octave-sync-function-file-names): New function.
15553 (octave-mode): Use it in before-save-hook.
15554
15555 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15556
15557 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15558 (bug#14274).
15559
15560 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15561 \n and comment, even if it's not an implicit ; (bug#14218).
15562
15563 2013-04-26 Glenn Morris <rgm@gnu.org>
15564
15565 * subr.el (read-number): Once more use `read' rather than
15566 `string-to-number', to trap non-numeric input. (Bug#14254)
15567
15568 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15569
15570 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15571 Use `syntax-multiline' text property consistently instead of
15572 `font-lock-multiline'. (Bug#14237)
15573
15574 2013-04-26 Glenn Morris <rgm@gnu.org>
15575
15576 * emacs-lisp/shadow.el (list-load-path-shadows):
15577 No longer necessary to check for duplicate simple.el, since
15578 2012-07-07 change to init_lread to not include installation lisp
15579 directories in load-path when running uninstalled. (Bug#14270)
15580
15581 2013-04-26 Leo Liu <sdl.web@gmail.com>
15582
15583 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15584 (octave-mode, inferior-octave-mode): Use setq-local.
15585 (octave-not-in-string-or-comment-p): Rename to
15586 octave-in-string-or-comment-p.
15587 (octave-in-comment-p, octave-in-string-p)
15588 (octave-in-string-or-comment-p): Replace defsubst with defun.
15589
15590 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15591
15592 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15593
15594 2013-04-25 Bastien Guerry <bzg@gnu.org>
15595
15596 * textmodes/remember.el (remember-data-directory)
15597 (remember-directory-file-name-format): Fix custom types.
15598
15599 2013-04-25 Leo Liu <sdl.web@gmail.com>
15600
15601 * progmodes/octave.el (octave-completion-at-point-function):
15602 Make use of inferior octave process.
15603 (octave-initialize-completions): Remove.
15604 (inferior-octave-completion-table): New function.
15605 (inferior-octave-completion-at-point): Use it.
15606 (octave-completion-alist): Remove.
15607
15608 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15609
15610 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15611 (opascal-mode-syntax-table): New var.
15612 (opascal-literal-kind, opascal-is-literal-end)
15613 (opascal-literal-token-at): Rewrite.
15614 (opascal--literal-start-re, opascal-font-lock-keywords)
15615 (opascal--syntax-propertize): New constants.
15616 (opascal-font-lock-defaults): Adjust.
15617 (opascal-mode): Use them. Set comment-<foo> variables as well.
15618 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15619 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15620 (delphi-other-face, opascal-other-face): Remove face variables.
15621 (opascal-save-state): Remove macro.
15622 (opascal-fontifying-progress-step): Remove constant.
15623 (opascal--ignore-changes): Remove var.
15624 (opascal-set-token-property, opascal-parse-next-literal)
15625 (opascal-is-stable-literal, opascal-complete-literal)
15626 (opascal-is-literal-start, opascal-face-of)
15627 (opascal-parse-region, opascal-parse-region-until-stable)
15628 (opascal-fontify-region, opascal-after-change)
15629 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15630 (opascal-debug-parse-region, opascal-debug-parse-window)
15631 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15632 (opascal-debug-fontify-buffer): Remove.
15633 (opascal-debug-mode-map): Adjust accordingly.
15634
15635 2013-04-25 Leo Liu <sdl.web@gmail.com>
15636
15637 Merge octave-mod.el and octave-inf.el into octave.el with some
15638 cleanups.
15639 * progmodes/octave.el: New file renamed from octave-mod.el.
15640 * progmodes/octave-inf.el: Merged into octave.el.
15641 * progmodes/octave-mod.el: Renamed to octave.el.
15642
15643 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15644
15645 * textmodes/reftex-vars.el
15646 (reftex-label-ignored-macros-and-environments): New defcustom.
15647
15648 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15649
15650 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15651
15652 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15653 (smie-indent-keyword): Improve the check to ensure that the next
15654 comment is really on the same line.
15655 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15656
15657 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15658 semi-colons if the line is not otherwise empty (bug#14218).
15659
15660 2013-04-25 Glenn Morris <rgm@gnu.org>
15661
15662 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15663
15664 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * progmodes/opascal.el (opascal-set-token-property): Rename from
15667 opascal-set-text-properties and only set `token' (bug#14134).
15668 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15669 (opascal-literal-text-properties): Remove.
15670 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15671 Adjust callers.
15672
15673 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15674
15675 * textmodes/remember.el (remember-handler-functions): Add an
15676 option for a new handler `remember-store-in-files'.
15677 (remember-data-directory, remember-directory-file-name-format):
15678 New options.
15679 (remember-store-in-files): New function to store remember notes
15680 as separate files within a directory.
15681
15682 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15683
15684 * progmodes/compile.el (compilation-next-error-function):
15685 Pass "formats" to compilation-find-file (bug#11777).
15686
15687 2013-04-24 Glenn Morris <rgm@gnu.org>
15688
15689 * vc/vc-bzr.el (vc-bzr-print-log):
15690 * vc/vc-hg.el (vc-hg-print-log):
15691 * vc/vc-svn.el (vc-svn-print-log):
15692 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15693
15694 * vc/vc-bzr.el (vc-bzr-print-log):
15695 * vc/vc-cvs.el (vc-cvs-print-log):
15696 * vc/vc-git.el (vc-git-print-log):
15697 * vc/vc-hg.el (vc-hg-print-log):
15698 * vc/vc-mtn.el (vc-mtn-print-log):
15699 * vc/vc-rcs.el (vc-rcs-print-log):
15700 * vc/vc-sccs.el (vc-sccs-print-log):
15701 * vc/vc-svn.el (vc-svn-print-log):
15702 * vc/vc.el (vc-print-log-internal): Doc fixes.
15703
15704 2013-04-23 Glenn Morris <rgm@gnu.org>
15705
15706 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15707 Remove venerable code attempting to avoid substitute-command-keys.
15708
15709 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15710
15711 * textmodes/reftex-vars.el (reftex-label-regexps):
15712 Call `reftex-compile-variables' after changes to this variable.
15713
15714 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15715
15716 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15717 Use lexical-binding.
15718 (jit-lock-force-redisplay): Use markers, check buffer's continued
15719 existence and beware narrowed buffers.
15720 (jit-lock-fontify-now): Adjust call accordingly.
15721
15722 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15725 to avoid misleading the user.
15726
15727 2013-04-22 Leo Liu <sdl.web@gmail.com>
15728
15729 * info-look.el: Prefer latex2e.info. (Bug#14240)
15730
15731 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15732
15733 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15734
15735 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15736 * net/tramp.el (tramp-call-process): ... here.
15737 (tramp-set-completion-function, tramp-parse-putty):
15738 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15739 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15740 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15741 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15742 (tramp-call-local-coding-command): Use `tramp-call-process'
15743 instead of `tramp-compat-call-process'.
15744
15745 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15746 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15747 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15748 (tramp-find-inline-compress): Improve traces.
15749 (tramp-maybe-send-script): Check for Perl binary.
15750 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15751
15752 2013-04-22 Daiki Ueno <ueno@gnu.org>
15753
15754 * epg.el (epg-context-pinentry-mode): New function.
15755 (epg-context-set-pinentry-mode): New function.
15756 (epg--start): Pass --pinentry-mode option to gpg command.
15757
15758 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15759
15760 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15761 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15762 `completion-at-point'. (Bug#13774)
15763
15764 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15765 default key binding for `describe-distribution' has been moved to
15766 `C-h C-o'. (Bug#13970)
15767
15768 2013-04-21 Glenn Morris <rgm@gnu.org>
15769
15770 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15771 Add doc strings.
15772 (vc-print-log): Clarify interactive prompt.
15773
15774 2013-04-20 Glenn Morris <rgm@gnu.org>
15775
15776 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15777 No longer include timestamp etc information.
15778
15779 2013-04-20 Roland Winkler <winkler@gnu.org>
15780
15781 * faces.el (read-face-name): Bug fix, return just one face if arg
15782 multiple is nil. (Bug#14209)
15783
15784 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15785
15786 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15787 (remove-function): Autoload.
15788
15789 * comint.el (comint-redirect-original-filter-function): Remove.
15790 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15791 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15792 (vc-cvs-annotate-command):
15793 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15794 * progmodes/prolog.el (prolog-consult-compile):
15795 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15796 Use add/remove-function instead.
15797 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15798 (gud-tooltip-process-output, gud-tooltip-tips):
15799 Use add/remove-function instead.
15800 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15801 (scheme-interaction-mode, exit-scheme-interaction-mode):
15802 Use add/remove-function instead.
15803
15804 * vc/vc-dispatcher.el: Use lexical-binding.
15805 (vc--process-sentinel): Rename from vc-process-sentinel.
15806 Change last arg to be the code to run. Don't use vc-previous-sentinel
15807 and vc-sentinel-commands any more.
15808 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15809 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15810
15811 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15812
15813 * progmodes/sh-script.el (sh-imenu-generic-expression):
15814 Handle function names with a single character. (Bug#14111)
15815
15816 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15817
15818 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15819 for subroutines defined in an eval (bug#14182).
15820
15821 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15822
15823 * bookmark.el (bookmark-completing-read): Improve handling of empty
15824 string (bug#14176).
15825
15826 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15827
15828 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15829
15830 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15831
15832 New faster Imenu implementation (bug#14058).
15833 * progmodes/python.el:
15834 (python-imenu-prev-index-position):
15835 (python-imenu-format-item-label-function)
15836 (python-imenu-format-parent-item-label-function)
15837 (python-imenu-format-parent-item-jump-label-function):
15838 New vars.
15839 (python-imenu-format-item-label)
15840 (python-imenu-format-parent-item-label)
15841 (python-imenu-format-parent-item-jump-label)
15842 (python-imenu--put-parent, python-imenu--build-tree)
15843 (python-imenu-create-index, python-imenu-create-flat-index)
15844 (python-util-popn): New functions.
15845 (python-mode): Set imenu-create-index-function to
15846 python-imenu-create-index.
15847
15848 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15849
15850 * winner.el (winner-active-region): Use region-active-p, activate-mark
15851 and deactivate-mark (bug#14225).
15852
15853 * simple.el (deactivate-mark): Don't inline it.
15854
15855 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15856
15857 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15858
15859 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15860
15861 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15862 file extensions from the archive-mode entry in order to prefer
15863 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15864
15865 2013-04-18 Leo Liu <sdl.web@gmail.com>
15866
15867 * bindings.el (help-event-list): Add ?\?.
15868
15869 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * subr.el (with-wrapper-hook): Declare obsolete.
15872 * simple.el (filter-buffer-substring-function): New hook.
15873 (filter-buffer-substring): Use it.
15874 (filter-buffer-substring-functions): Mark obsolete.
15875 * minibuffer.el (completion-in-region-function): New hook.
15876 (completion-in-region): Use it.
15877 (completion-in-region-functions): Mark obsolete.
15878 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15879 * abbrev.el (abbrev-expand-function): New hook.
15880 (expand-abbrev): Use it.
15881 (abbrev-expand-functions): Mark obsolete.
15882 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15883 and :filter-return.
15884
15885 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15886
15887 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15888 and do not care about match data.
15889
15890 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15891
15892 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15893 completion tables when completing error conditions and
15894 `declare' arguments.
15895 (lisp-complete-symbol, field-complete): Mark as obsolete.
15896 (check-parens): Unmatched parens are user errors.
15897 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15898
15899 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15900
15901 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15902 command changed buffer (ie. `flyspell-pre-buffer' is not current
15903 buffer), which prevents making decisions based on invalid value of
15904 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15905 cause an error when `flyspell-pre-point' was nil after switching
15906 buffers.
15907 (flyspell-post-command-hook): No longer needs to change buffers when
15908 checking pre-word. While at it remove unnecessary progn.
15909
15910 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15911
15912 * textmodes/ispell.el (ispell-add-per-file-word-list):
15913 Fix `flyspell-correct-word-before-point' error when accepting
15914 words and `coment-padding' is an integer by using
15915 `comment-normalize-vars' (Bug #14214).
15916
15917 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15918
15919 New defun movement commands.
15920 * progmodes/python.el (python-nav--syntactically)
15921 (python-nav--forward-defun, python-nav-backward-defun)
15922 (python-nav-forward-defun): New functions.
15923
15924 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15925
15926 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15927 (python-syntax-context): Use named compiler-macro for backwards
15928 compatibility with Emacs 24.x.
15929
15930 2013-04-17 Leo Liu <sdl.web@gmail.com>
15931
15932 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15933 octave-hide-process-buffer.
15934
15935 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15936
15937 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15938 (bug#14216).
15939
15940 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15941
15942 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15943 Fix adjustment of offset when receiving incomplete responses from GDB
15944 (bug#14129).
15945
15946 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15947
15948 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15949 python-mode-abbrev-table.
15950 (python-skeleton-define): Adjust accordingly.
15951 (python-mode-abbrev-table): New table that inherits from it so that
15952 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15953
15954 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15955 (abbrev-symbol): Use it.
15956 (abbrev--before-point): Use it since we already handle inheritance.
15957
15958 2013-04-16 Leo Liu <sdl.web@gmail.com>
15959
15960 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15961 binding to info-lookup-symbol.
15962
15963 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15964
15965 * minibuffer.el (completion--twq-all):
15966 * term/ns-win.el (ns-initialize-window-system):
15967 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15968
15969 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15970
15971 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15972 global bindings.
15973
15974 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15975
15976 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15977
15978 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15979 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15980 to nil.
15981 (ruby-end-of-defun): Remove the unused arg, change the docstring
15982 to reflect that this function is only used as the value of
15983 `end-of-defun-function'.
15984 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15985 to reflect an earlier change that beginning/end-of-defun functions
15986 jump between methods in a class definition, as well as top-level
15987 functions.
15988
15989 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15990
15991 * minibuffer.el (minibuffer-complete): Don't just scroll
15992 a *Completions* that's been iconified.
15993 (minibuffer-force-complete): Make sure repetitions do cycle when going
15994 through completion-in-region -> minibuffer-complete.
15995
15996 2013-04-15 Alan Mackenzie <acm@muc.de>
15997
15998 Correct the placement of c-cpp-delimiters when there're #s not at
15999 col 0.
16000
16001 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16002 place a submatch around the #.
16003 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16004 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16005 on the #, not BOL.
16006
16007 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16010 (advice--member-p): New arg `name'.
16011 (advice--add-function, advice-member-p): Use it (bug#14202).
16012
16013 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16014
16015 Reformulate java imenu-generic-expression.
16016 The old expression contained ill formed regexps.
16017
16018 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16019 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16020 (cc-imenu-java-method-arg-regexp): New defconsts.
16021 (cc-imenu-java-build-type-args-regex): New defun.
16022 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16023 handling of spaces in the regexp.
16024
16025 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16026
16027 * textmodes/ispell.el (ispell-command-loop): Remove
16028 flyspell highlight of a word when ispell accepts it (bug #14178).
16029
16030 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16031
16032 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16033 uses code from the previous `ange-ftp-run-real-handler'.
16034 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16035 only in case that function exist. This is needed for proper
16036 unloading of Tramp.
16037
16038 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16039
16040 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16041
16042 * textmodes/reftex.el (reftex-compile-variables): Use it.
16043
16044 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * files.el (normal-mode): Only use default major-mode if no other mode
16047 was specified.
16048
16049 * emacs-lisp/trace.el (trace-values): New function.
16050
16051 * files.el: Allow : in local variables (bug#14089).
16052 (hack-local-variable-regexp): New var.
16053 (hack-local-variables-prop-line, hack-local-variables): Use it.
16054
16055 2013-04-13 Roland Winkler <winkler@gnu.org>
16056
16057 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16058 data before it gets modified by bibtex-beginning-of-entry.
16059
16060 2013-04-13 Roland Winkler <winkler@gnu.org>
16061
16062 * textmodes/bibtex.el (bibtex-url): Doc fix.
16063
16064 2013-04-13 Roland Winkler <winkler@gnu.org>
16065
16066 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16067 does not visit a BibTeX file, exclude it from the list of buffers
16068 returned by bibtex-initialize.
16069
16070 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16071
16072 * window.el (split-window): Remove interactive form, since as a
16073 command this function is a special case of split-window-below.
16074 Correct doc string.
16075
16076 2013-04-12 Roland Winkler <winkler@gnu.org>
16077
16078 * faces.el (read-face-name): Do not override value of arg default.
16079 Allow single faces and strings as default values. Remove those
16080 elements from return value that are not faces.
16081 (describe-face): Simplify.
16082 (face-at-point): New optional args thing and multiple so that this
16083 function can provide the same functionality previously provided by
16084 read-face-name.
16085 (make-face-bold, make-face-unbold, make-face-italic)
16086 (make-face-unitalic, make-face-bold-italic, invert-face)
16087 (modify-face, read-face-and-attribute): Use face-at-point.
16088
16089 * cus-edit.el (customize-face, customize-face-other-window)
16090 * cus-theme.el (custom-theme-add-face)
16091 * face-remap.el (buffer-face-set)
16092 * facemenu.el (facemenu-set-face): Use face-at-point.
16093
16094 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16095
16096 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16097
16098 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16099
16100 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16101 off leading { and trailing } from field values.
16102
16103 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16104
16105 * emacs-lisp/timer.el (timer--check): New function.
16106 (timer--time, timer-set-function, timer-event-handler): Use it.
16107 (timer-set-idle-time): Simplify.
16108 (timer--activate): CSE.
16109 (timer-event-handler): Give more info in error message.
16110 (internal-timer-start-idle): New function, moved from C.
16111
16112 * mpc.el (mpc-proc): Add `restart' argument.
16113 (mpc-proc-cmd): Use it.
16114 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16115 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16116 less often.
16117
16118 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16119
16120 * progmodes/sh-script.el: Implement `sh-mode' own
16121 `add-log-current-defun-function' (bug#14112).
16122 (sh-current-defun-name): New function.
16123 (sh-mode): Use the function.
16124
16125 2013-04-09 Bastien Guerry <bzg@gnu.org>
16126
16127 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16128
16129 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16130
16131 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16132
16133 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16134 timer (bug#14156).
16135
16136 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16137
16138 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16139 declaration.
16140
16141 2013-04-07 Leo Liu <sdl.web@gmail.com>
16142
16143 * pcmpl-x.el: New file.
16144
16145 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16146
16147 Do not set x-display-name until X connection is established.
16148 This is needed to prevent from weird situation described at
16149 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16150 * frame.el (make-frame): Set x-display-name after call to
16151 window system initialization function, not before.
16152 * term/x-win.el (x-initialize-window-system): Add optional
16153 display argument and use it.
16154 * term/w32-win.el (w32-initialize-window-system):
16155 * term/ns-win.el (ns-initialize-window-system):
16156 * term/pc-win.el (msdos-initialize-window-system):
16157 Add compatible optional display argument.
16158
16159 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16160
16161 * files.el (normal-backup-enable-predicate): On MS-Windows and
16162 MS-DOS compare truenames of temporary-file-directory and of the
16163 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16164 don't fail comparison by compare-strings. Also, compare file
16165 names case-insensitively on MS-Windows and MS-DOS.
16166
16167 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16168
16169 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16170 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16171
16172 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16173
16174 * whitespace.el (whitespace-color-on, whitespace-color-off):
16175 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16176
16177 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16178
16179 * ispell.el (ispell-set-spellchecker-params):
16180 Really set `ispell-args' for all equivs.
16181
16182 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16183
16184 * ido.el (ido-completions): Use extra elements of ido-decorations
16185 (bug#14143).
16186 (ido-decorations): Update docstring.
16187
16188 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16189
16190 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16191 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16192 nil during initialization, in order not to miss changes since the
16193 file was opened. (Bug#14140)
16194
16195 2013-04-05 Leo Liu <sdl.web@gmail.com>
16196
16197 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16198
16199 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16200
16201 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16202
16203 2013-04-04 Glenn Morris <rgm@gnu.org>
16204
16205 * electric.el (electric-pair-inhibit-predicate): Add :version.
16206
16207 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16208
16209 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16210 when a package is required several times (bug#14082).
16211
16212 2013-04-04 Roland Winkler <winkler@gnu.org>
16213
16214 * faces.el (read-face-name): Behave as promised by the docstring.
16215 Assume that arg default is a list of faces.
16216 (describe-face): Call read-face-name with list of default faces.
16217
16218 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16219
16220 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16221 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16222 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16223 the header.
16224 (bookmark-exit-hook-internal): Save even if list is empty.
16225
16226 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16227
16228 * emacs-lisp/package.el (package-pinned-packages): New var.
16229 (package--add-to-archive-contents): Obey it (bug#14118).
16230
16231 2013-04-03 Alan Mackenzie <acm@muc.de>
16232
16233 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16234 Also adapt to the new values of element 7 of a parse state.
16235
16236 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16237 parameter `not-in-delimiter'. Handle being inside comment opener.
16238 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16239 character in case we're typing a '*' after a '/'.
16240 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16241 instead by passing the parameter to c-state-pp-to-literal.
16242
16243 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16244 for elt. 7 of a parse state.
16245
16246 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16247
16248 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16249 * international/latin1-disp.el, international/mule-util.el:
16250 * language/cyril-util.el, language/european.el, language/ind-util.el:
16251 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16252 * language/tibetan.el, language/viet-util.el:
16253 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16254
16255 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16256
16257 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16258 (electric-pair-post-self-insert-function): Use it.
16259 (electric-pair-default-inhibit): New function, extracted from
16260 electric-pair-post-self-insert-function.
16261
16262 2013-03-31 Roland Winkler <winkler@gnu.org>
16263
16264 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16265
16266 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16267
16268 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16269
16270 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16271
16272 Un-indent after "pass" and "return" statements (Bug#13888)
16273 * progmodes/python.el (python-indent-block-enders): New var.
16274 (python-indent-calculate-indentation): Use it.
16275
16276 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16277
16278 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16279 defun. Defining it as defalias could introduce too eager
16280 byte-compiler optimization. (Bug#14030)
16281
16282 2013-03-30 Chong Yidong <cyd@gnu.org>
16283
16284 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16285
16286 2013-03-30 Leo Liu <sdl.web@gmail.com>
16287
16288 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16289 (kmacro-execute-from-register): Pass the keyboard macro to
16290 kmacro-call-macro or repeating won't work correctly.
16291
16292 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16293
16294 * progmodes/subword.el: Back to using `forward-symbol'.
16295
16296 * subr.el (forward-whitespace, forward-symbol)
16297 (forward-same-syntax): Move from thingatpt.el.
16298
16299 2013-03-29 Leo Liu <sdl.web@gmail.com>
16300
16301 * kmacro.el (kmacro-to-register): New command.
16302 (kmacro-execute-from-register): New function.
16303 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16304
16305 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16306
16307 * mpc.el: Use defvar-local and setq-local.
16308 (mpc--proc-connect): Connection failures are not bugs.
16309 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16310 (mpc-volume-map): Bind to the up-events.
16311
16312 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16313
16314 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16315 instead of `forward-symbol'.
16316
16317 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16318
16319 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16320 (edebug--recursive-edit): Use it.
16321 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16322 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16323
16324 2013-03-28 Leo Liu <sdl.web@gmail.com>
16325
16326 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16327
16328 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16329
16330 * facemenu.el (list-colors-callback): New defvar.
16331 (list-colors-redisplay): New function.
16332 (list-colors-display): Install list-colors-redisplay as the
16333 revert-buffer-function. (Bug#14063)
16334
16335 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16336
16337 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16338 and suffixes don't overlap (bug#14061).
16339
16340 * case-table.el: Use lexical-binding.
16341 (case-table-get-table): New function.
16342 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16343
16344 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16345
16346 * progmodes/subword.el: Add `superword-mode' to do word motion
16347 over symbol_words (parallels and leverages `subword-mode' which
16348 does word motion inside MixedCaseWords).
16349
16350 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16351
16352 * eshell/em-unix.el: Move su and sudo to...
16353 * eshell/em-tramp.el: ...Eshell tramp module.
16354
16355 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16356
16357 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16358 Change return value to be a sexp. Delay `get-buffer' to after
16359 restoring the desktop (bug#13951).
16360
16361 2013-03-26 Leo Liu <sdl.web@gmail.com>
16362
16363 * register.el: Move semantic tag handling back to
16364 cedet/semantic/senator.el. (Bug#14052)
16365
16366 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16367
16368 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16369 into the prompt either (bug#13963).
16370
16371 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16372
16373 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16374 part of "(error-foo)".
16375
16376 2013-03-24 Juri Linkov <juri@jurta.org>
16377
16378 * replace.el (list-matching-lines-prefix-face): New defcustom.
16379 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16380 `occur-engine' if `face-differs-from-default-p' returns t.
16381 (occur-engine): Add `,' inside backquote construct to evaluate
16382 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16383 Pass `prefix-face' to the functions `occur-context-lines' and
16384 `occur-engine-add-prefix'.
16385 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16386 `prefix-face' and propertize the prefix with `prefix-face'.
16387 (Bug#14017)
16388
16389 2013-03-24 Leo Liu <sdl.web@gmail.com>
16390
16391 * nxml/rng-valid.el (rng-validate-while-idle)
16392 (rng-validate-quick-while-idle): Guard against deleted buffer.
16393 (Bug#13999)
16394
16395 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16396 is the last entry in kill-buffer-hook.
16397
16398 * files.el (kill-buffer-hook): Doc fix.
16399
16400 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16401
16402 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16403 Make it safe-local.
16404
16405 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16406
16407 2013-03-23 Leo Liu <sdl.web@gmail.com>
16408
16409 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16410 Remove.
16411
16412 * nxml/rng-valid.el (rng-validate-mode)
16413 (rng-after-change-function, rng-do-some-validation):
16414 * nxml/rng-maint.el (rng-validate-buffer):
16415 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16416 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16417 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16418 (nxml-extend-after-change-region): Use with-silent-modifications.
16419
16420 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16421 timer-idle-list.
16422
16423 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16424 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16425 timer-idle-list. (Bug#13999)
16426
16427 2013-03-23 Juri Linkov <juri@jurta.org>
16428
16429 * info.el (info-index-match): New face.
16430 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16431 main pattern and add text properties with the new face to matches
16432 in index entries relative to the beginning of the index entry.
16433 (Bug#14015)
16434
16435 2013-03-21 Eric Ludlam <zappo@gnu.org>
16436
16437 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16438 Inhibit read only while inserting objects.
16439
16440 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16441
16442 * progmodes/cfengine.el: Update docs to mention
16443 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16444 symbol motion. Remove "_" from the word syntax.
16445
16446 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16447
16448 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16449 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16450
16451 2013-03-20 Juri Linkov <juri@jurta.org>
16452
16453 * info.el (Info-next-reference-or-link)
16454 (Info-prev-reference-or-link): New functions.
16455 (Info-next-reference, Info-prev-reference): Use them.
16456 (Info-try-follow-nearest-node): Handle footnote navigation.
16457 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16458
16459 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16460
16461 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16462 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16463
16464 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16465
16466 Suppress unnecessary non-ASCII chatter during build process.
16467 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16468 (batch-skkdic-convert): Suppress most of the chatter.
16469 It's not needed so much now that machines are faster,
16470 and its non-ASCII component was confusing; see Dmitry Gutov in
16471 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16472
16473 2013-03-20 Leo Liu <sdl.web@gmail.com>
16474
16475 * ido.el (ido-chop): Fix bug#10994.
16476
16477 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16478
16479 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16480 Remove vars.
16481 (whitespace-color-on, whitespace-color-off):
16482 Use `font-lock-fontify-buffer' (Bug#13817).
16483
16484 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16485
16486 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16487 remapping in mode-line.
16488 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16489
16490 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16491
16492 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16493 value for `whitespace-line' face (Bug#13875).
16494 (whitespace-font-lock-keywords): Change description.
16495 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16496 the constructed keywords instead.
16497 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16498
16499 2013-03-19 Leo Liu <sdl.web@gmail.com>
16500
16501 * progmodes/compile.el (compilation-display-error): New command.
16502 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16503 C-o. (Bug#13992)
16504
16505 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16506
16507 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16508
16509 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16510
16511 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16512
16513 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16514
16515 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16516
16517 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16518 * net/tramp-gvfs.el (top):
16519 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16520 (tramp-handle-shell-command): Use it.
16521 (tramp-dissect-file-name): Raise an error when hostname is a
16522 method name, and neither method nor user is specified.
16523
16524 * net/trampver.el: Update release number.
16525
16526 2013-03-18 Leo Liu <sdl.web@gmail.com>
16527
16528 Make sure eldoc can be turned off properly.
16529 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16530 eldoc-mode.
16531 (eldoc-display-message-p): Revert last change.
16532 (eldoc-display-message-no-interference-p)
16533 (eldoc-print-current-symbol-info): Tweak.
16534
16535 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16536
16537 * doc-view.el (doc-view-new-window-function): Check the new window
16538 overlay's display property instead the char property of the
16539 buffer's first char. Use `with-selected-window' instead of
16540 `save-window-excursion' with `select-window'.
16541 (doc-view-document->bitmap): Check the current doc-view overlay's
16542 display property instead the char property of the buffer's first char.
16543
16544 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16545
16546 Automate the build of ja-dic.el (Bug#13984).
16547 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16548 from the input, rather than assume that it's been done for us by the
16549 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16550 the current date into a ja-dic.el comment, as that complicates
16551 regression testing.
16552
16553 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16554
16555 * whitespace.el: Fix double evaluation.
16556 (whitespace-space, whitespace-hspace, whitespace-tab)
16557 (whitespace-newline, whitespace-trailing, whitespace-line)
16558 (whitespace-space-before-tab, whitespace-indentation)
16559 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16560 obsolete defvars.
16561 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16562 (whitespace-color-on): Use a single font-lock-add-keywords call.
16563 Fix double-evaluation of face variables.
16564
16565 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16566
16567 * net/tramp-adb.el (tramp-adb-parse-device-names):
16568 Use `start-process' instead of `call-process'. Otherwise, the
16569 function might be blocked under MS Windows. (Bug#13299)
16570
16571 2013-03-17 Leo Liu <sdl.web@gmail.com>
16572
16573 Extend eldoc to display info in the mode-line. (Bug#13978)
16574 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16575 (eldoc-mode-line-string): New variable.
16576 (eldoc-minibuffer-message): New function.
16577 (eldoc-message-function): New variable.
16578 (eldoc-message): Use it.
16579 (eldoc-display-message-p)
16580 (eldoc-display-message-no-interference-p):
16581 Support eldoc-post-insert-mode.
16582
16583 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16584 (eval-expression): Run it.
16585
16586 2013-03-17 Roland Winkler <winkler@gnu.org>
16587
16588 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16589 strings in the list of return values.
16590
16591 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16592
16593 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16594 radix before checking for HMS forms.
16595
16596 2013-03-16 Leo Liu <sdl.web@gmail.com>
16597
16598 * progmodes/scheme.el: Add indentation and font-locking for λ.
16599 (Bug#13975)
16600
16601 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16604 token before point (bug#13942).
16605
16606 2013-03-16 Leo Liu <sdl.web@gmail.com>
16607
16608 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16609
16610 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16611
16612 * startup.el (command-line-normalize-file-name): Fix handling of
16613 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16614 <xfq.free@gmail.com> in
16615 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16616
16617 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16618
16619 Sync with Tramp 2.2.7.
16620
16621 * net/trampver.el: Update release number.
16622
16623 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16624
16625 * doc-view.el: Fix bug#13887.
16626 (doc-view-insert-image): Don't modify overlay associated to
16627 non-live windows, and implement horizontal centering of image in
16628 case it's smaller than the window.
16629 (doc-view-new-window-function): Force redisplay of new windows on
16630 doc-view buffers.
16631
16632 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16633
16634 * saveplace.el (save-place-alist-to-file): Don't sort
16635 `save-place-alist', just pretty-print it (bug#13882).
16636
16637 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16638
16639 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16640 Check whether `default-file-name-coding-system' is bound.
16641 It isn't in XEmacs.
16642
16643 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16644
16645 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16646 backquotes for `obsolete' (bug#13929).
16647
16648 * international/mule.el (find-auto-coding): Include file name in
16649 obsolescence warning (bug#13922).
16650
16651 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16652
16653 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16654 for CFEngine 3-specific indentation.
16655 (cfengine3-indent-line): Use it. Fix up category regex.
16656 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16657
16658 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16659
16660 * type-break.el (type-break-file-name):
16661 * textmodes/remember.el (remember-data-file):
16662 * strokes.el (strokes-file):
16663 * shadowfile.el (shadow-initialize):
16664 * saveplace.el (save-place-file):
16665 * ps-bdf.el (bdf-cache-file):
16666 * progmodes/idlwave.el (idlwave-config-directory):
16667 * net/quickurl.el (quickurl-url-file):
16668 * international/kkc.el (kkc-init-file-name):
16669 * ido.el (ido-save-directory-list-file):
16670 * emulation/viper.el (viper-custom-file-name):
16671 * emulation/vip.el (vip-startup-file):
16672 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16673 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16674
16675 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16676
16677 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16678 * language/thai-word.el: Switch to UTF-8.
16679
16680 See ChangeLog.16 for earlier changes.
16681
16682 ;; Local Variables:
16683 ;; coding: utf-8
16684 ;; End:
16685
16686 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16687
16688 This file is part of GNU Emacs.
16689
16690 GNU Emacs is free software: you can redistribute it and/or modify
16691 it under the terms of the GNU General Public License as published by
16692 the Free Software Foundation, either version 3 of the License, or
16693 (at your option) any later version.
16694
16695 GNU Emacs is distributed in the hope that it will be useful,
16696 but WITHOUT ANY WARRANTY; without even the implied warranty of
16697 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16698 GNU General Public License for more details.
16699
16700 You should have received a copy of the GNU General Public License
16701 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.