1 2015-01-29 Tassilo Horn <tsdh@gnu.org>
3 * textmodes/reftex-vars.el (featurep): Conditionalize value of
4 reftex-label-regexps in order to stay compatible with XEmacs 25
5 which has no explicitly numbered groups in regexps (bug#19714).
7 2015-01-28 Tassilo Horn <tsdh@gnu.org>
9 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
10 punctuation syntax since to allow bibtex fields with values such
11 as {Test 1) and 2)} (bug#19205, bug#19707).
12 (reftex--prepare-syntax-tables): New function.
13 (reftex-mode): Use it.
15 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
17 python.el: New non-global state dependent indentation engine.
18 (Bug#18319, Bug#19595)
20 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
22 (python-syntax-closing-paren-p): New function.
23 (python-indent-current-level)
24 (python-indent-levels): Mark obsolete.
25 (python-indent-context): Return more context cases.
26 (python-indent--calculate-indentation)
27 (python-indent--calculate-levels): New functions.
28 (python-indent-calculate-levels): Use them.
29 (python-indent-calculate-indentation, python-indent-line):
30 (python-indent-line-function): Rewritten to use new API.
31 (python-indent-dedent-line): Simplify logic.
32 (python-indent-dedent-line-backspace): Use `unless`.
33 (python-indent-toggle-levels): Delete function.
35 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
37 * calc/calc-units.el (math-units-in-expr-p)
38 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
39 (math-extract-units): Handle the `neg' operator. (Bug#19582)
42 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
44 * subr.el (posnp): Correct docstring of `posnp'.
45 (posn-col-row): Make it work with all mouse position objects.
46 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
47 timers if an error occurs during continuous drawing. (Bug#6130)
49 2015-01-20 Eli Zaretskii <eliz@gnu.org>
51 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
53 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
55 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
56 regardless of pcomplete-cycle-completions's value. (Bug#18950)
58 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
60 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
62 (file-notify--descriptor): New defun.
63 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
64 Adapt docstring. Handle multiple values for
65 `file-notify-descriptors' entries. (Bug#18880)
67 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
68 `file-notify-descriptors', the implementation has been changed.
70 2015-01-13 Juri Linkov <juri@linkov.net>
72 * comint.el (comint-history-isearch-search)
73 (comint-history-isearch-wrap): Use field-beginning instead of
74 comint-line-beginning-position.
75 (comint-send-input): Go to the end of the field instead of the end
76 of the line to accept whole multi-line input.
77 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
78 (comint-history-isearch-message): Use field-beginning
79 instead of comint-line-beginning-position - that's more fixes for
80 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
81 (comint-history-isearch-message): Fix args of isearch-message-prefix.
85 2015-01-09 Eli Zaretskii <eliz@gnu.org>
87 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
88 On MS-Windows, bind coding-system-for-read to the console output
91 2015-01-08 Eli Zaretskii <eliz@gnu.org>
93 * simple.el (line-move-visual): When converting X pixel coordinate
94 to temporary-goal-column, adjust the value for right-to-left
95 screen lines. This fixes vertical-motion, next/prev-line, etc.
97 2015-01-06 Glenn Morris <rgm@gnu.org>
99 * progmodes/sh-script.el (sh-mode): Doc fix.
100 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
102 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
104 * emacs-lisp/package.el (package-menu-mode): Use an extra column
105 for the "Version" column, to accomodate date-and-time-based versions.
107 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
109 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
110 * files.el (shell-quote-wildcard-pattern): Also quote "`".
112 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
114 Unbreak `mouse-action' property in text buttons.
115 * button.el (push-button): Fix regression from 2012-12-06.
117 2015-01-01 Eli Zaretskii <eliz@gnu.org>
119 * tool-bar.el (tool-bar-local-item)
120 (tool-bar-local-item-from-menu): Call force-mode-line-update to
121 make sure the tool-bar changes show on display.
123 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
125 Sync with Tramp 2.2.11.
127 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
128 Make an alias for `default-toplevel-value' if it doesn't exist.
130 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
131 Use `tramp-compat-delete-directory'.
133 * net/trampver.el: Update release number.
135 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
137 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
138 for remote files. (Bug#19449)
140 2014-12-28 Eli Zaretskii <eliz@gnu.org>
142 * international/mule.el (define-coding-system): Fix typos in the
145 2014-12-28 Kenichi Handa <handa@gnu.org>
147 * international/mule.el (define-coding-system): Improve the doc
150 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
152 * progmodes/python.el (python-shell-buffer-substring): Handle
153 cornercase when region sent starts at point-min.
155 2014-12-27 Eli Zaretskii <eliz@gnu.org>
157 * language/misc-lang.el (composition-function-table): Add Syriac
158 characters and also ZWJ/ZWNJ. See
159 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
162 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
164 python.el: Fix message when sending region.
166 * progmodes/python.el (python-shell-send-region): Rename argument
167 send-main from nomain. Fix message.
168 (python-shell-send-buffer): Rename argument send-main from arg.
170 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
172 python.el: Cleanup temp files even with eval errors.
174 * progmodes/python.el (python-shell-send-file): Make file-name
175 mandatory. Fix temp file removal in the majority of cases.
177 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
179 python.el: Handle file encoding for shell.
181 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
182 (python-shell--save-temp-file): Write file with proper encoding.
183 (python-shell-buffer-substring): Add coding cookie for detected
184 encoding to generated content. Fix blank lines when removing
186 (python-shell-send-file): Handle file encoding.
187 (python-info-encoding-from-cookie)
188 (python-info-encoding): New functions.
190 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
192 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
193 Use `tramp-rsh-end-of-line', it ought to be more robust.
195 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
197 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
200 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
202 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
204 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
205 as end-of-line delimeter for passwords, when running on MS Windows.
207 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
209 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
210 of indent-line-function (bug#19433).
212 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
214 Fix line numbers on Python shell.
215 * progmodes/python.el (python-shell--save-temp-file): Do not
216 append coding cookie.
217 (python-shell-send-string): Generalize for
218 python-shell-send-region.
219 (python--use-fake-loc): Delete var.
220 (python-shell-buffer-substring): Cleanup fake-loc logic.
221 (python-shell-send-region): Remove fake-loc logic, simplify.
223 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
225 * progmodes/python.el (python-indent-post-self-insert-function):
226 Make colon to re-indent only for dedenters, handling
227 multiline-statements gracefully.
229 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
231 * net/tramp.el (tramp-handle-insert-file-contents):
232 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
234 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
236 * net/tramp-sh.el (tramp-send-command-and-read): New optional
238 (tramp-get-remote-path): Use it.
240 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
242 * subr.el (redisplay-dont-pause): Mark as obsolete.
244 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
246 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
247 (tramp-accept-process-output): Use nil as argument for
248 `accept-process-output', when there is a gateway prepended.
250 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
252 (tramp-gw-open-connection): Set process coding system 'binary.
253 (tramp-gw-open-network-stream): Handle HTTP error 403.
255 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
257 (tramp-maybe-open-connection): Set connection property "gateway".
259 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
261 * subr.el (sit-for): Tweak docstring (bug#19381).
263 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
265 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
266 stage to after `diff-index' (bug#19386).
268 2014-12-14 João Távora <joaotavora@gmail.com>
270 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
271 `electric-pair-mode' (bug#19356).
273 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
275 * simple.el (password-word-equivalents): Add "passcode", used for
276 numeric secrets like PINs or RSA tokens.
278 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
280 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
281 order to determine `tramp-own-remote-path'.
283 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
285 * progmodes/python.el (python-shell-parse-command):
286 Quote `python-shell-interpreter`. (Bug#19289)
288 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
290 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
291 of the whole pipe when indenting an opening keyword after a |.
292 Generalize this treatment to opening keywords like "while" (bug#18031).
294 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
296 * simple.el (newline): Place the hook buffer-locally,
297 to make sure it's first.
299 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
300 Fix handling of symbols with different syntax at beginning/end or with
301 symbol rather than word syntax.
303 2014-11-30 Eli Zaretskii <eliz@gnu.org>
305 * simple.el (line-move): If noninteractive, call line-move-1, not
306 forward-line, since the former is compatible with line-move-visual
307 both in terms of the column to which it moves and the return
310 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
311 Stefan Monnier <monnier@iro.umontreal.ca>
313 * outline.el (outline-move-subtree-down): Make sure we can move
314 forward to find the end of the subtree and the insertion point
317 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
319 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
320 for comment lines non-greedy and stopping at newlines to fix stack
321 overflows with large files. [Backport]
323 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
325 * progmodes/python.el (python-shell-completion-setup-code):
326 Use __builtin__ module (or builtins in Python 3) and catch all errors
327 when importing readline and rlcompleter.
329 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
331 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
332 (todo-revert-buffer): New function.
333 (todo-modes-set-1): Use it as the buffer-local value of
334 revert-buffer-function.
336 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
338 * calendar/todo-mode.el (todo-mode): If called interactively, just
339 display a message saying to call todo-show to enter Todo mode
342 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
344 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
347 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
350 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
352 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
353 remote `buffer-file-name'.
355 2014-11-23 Leo Liu <sdl.web@gmail.com>
357 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
359 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
361 Set PYTHONUNBUFFERED on shell startup.
363 * progmodes/python.el (python-shell-unbuffered): New var.
364 (python-shell-calculate-process-environment): Use it.
366 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
368 * net/tramp.el (tramp-action-password): Clean password on subsequent
369 attempts even if there was no wrong password indication. (Bug#19047)
371 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
373 (tramp-open-connection-setup-interactive-shell): No need to check
374 for nil as `tramp-get-remote-locale' return value.
376 2014-11-21 Eli Zaretskii <eliz@gnu.org>
378 * vc/vc-git.el (vc-git-command, vc-git--call):
379 Bind coding-system-for-read and coding-system-for-write to
380 vc-git-commits-coding-system.
381 (vc-git-previous-revision): Use "~1" instead of "^", since the
382 latter is a special character for MS-Windows system shells.
384 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
386 Improve XEmacs compatibility.
388 * net/tramp.el (tramp-autoload-file-name-handler):
389 Wrap `temporary-file-directory' by `symbol-value', it doesn't
391 (tramp-read-passwd): Don't use `with-timeout-suspend' and
392 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
393 (tramp-time-less-p, tramp-time-subtract): Remove functions.
394 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
395 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
396 * net/tramp-cache.el (tramp-get-file-property):
397 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
398 Use `time-less-p' and `time-subtract, respectively.
400 * net/tramp-adb.el (top): Do not require time-date.el.
402 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
404 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
405 Check, whether `utf-8' is a valid coding system.
407 2014-11-19 Eli Zaretskii <eliz@gnu.org>
409 * vc/vc.el (vc-retrieve-tag): Doc fix.
411 2014-11-17 Eli Zaretskii <eliz@gnu.org>
413 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
414 Don't assume --long is the default for "bzr log", always specify
415 it explicitly, in case the user defined an alias for 'log' that
416 uses some other format.
418 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
420 * progmodes/python.el (python-eldoc--get-doc-at-point):
421 Strip shell output before returning. (bug#18794)
423 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
425 Fix indentation before `!=' and after `+='. Originally reported
426 in https://github.com/mooz/js2-mode/issues/174.
427 * progmodes/js.el (js--indent-operator-re): Make assignments and
428 (in)equality operator a separate case.
429 (js--continued-expression-p): Escape the second `+' in the regexp.
431 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
433 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
435 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
437 * version.el (emacs-repository-get-version): Use git rev-parse
440 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
442 * progmodes/python.el (python-indent-calculate-levels):
443 Fix indentation behavior multiline dedenter statement. (Bug#18432)
445 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
447 * progmodes/python.el (python-indent-region):
448 Use python-indent-line and skip special cases. (Bug#18843)
450 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
452 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
454 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
456 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
457 envelope-from when reporting through sendmail (bug#19054).
459 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
461 * progmodes/python.el (python-ffap-module-path):
462 Use `derived-mode-p' instead of equality test on `major-mode'.
464 2014-11-13 Ulrich Müller <ulm@gentoo.org>
466 * version.el (emacs-repository-get-version): Call `git log'
467 command with proper format argument (bug#19049).
469 2014-11-10 Glenn Morris <rgm@gnu.org>
471 * startup.el (command-line): Handle nil elements in load-path.
473 2014-11-08 Glenn Morris <rgm@gnu.org>
475 * emacs-lisp/bytecomp.el (byte-compile-report-error):
476 Allow the argument to be a string. Due to the vague doc,
477 it was already being used this way.
479 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
481 * net/tramp.el (tramp-check-cached-permissions): Include hop in
482 the constructed Tramp file name. (Bug#18943)
484 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
486 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
488 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
489 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
491 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
493 * files.el (file-name-non-special): Wrap the call of
494 `insert-file-contents' by `unwind-protect', in order to set the
495 buffer's file name anyway. (Bug#18891)
497 2014-11-07 Daiki Ueno <ueno@gnu.org>
499 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
500 (bug#18979). Reported by Hideki Saito.
502 2014-10-18 Alan Mackenzie <acm@muc.de>
504 Check that a "macro" found near point-min isn't a ## operator.
505 Fixes bug #18749. Backported from trunk, 2014-11-05.
506 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
507 (c-beginning-of-macro): Use the above new function.
509 2014-11-05 Alan Mackenzie <acm@muc.de>
511 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
512 * progmodes/cc-fonts.el (c-font-lock-declarations):
513 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
514 the buffer is sometimes narrowed to less than "limit" (e.g., in
515 the presence of macros).
517 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
519 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
520 only when message appeared in minibuffer. (Bug#18891)
522 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
523 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
524 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
527 2014-11-04 Eli Zaretskii <eliz@gnu.org>
529 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
530 returned by load-average.
532 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
535 a local copy; setting `inhibit-file-name-handlers' proper might be
536 more performant. (Bug#18751)
538 2014-11-04 Glenn Morris <rgm@gnu.org>
540 * mail/emacsbug.el (report-emacs-bug): No longer include
541 recent-keys in the report. (Bug#18900)
543 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
545 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
546 local copy of FILENAME, when it is remote. (Bug#18751)
548 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
550 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
551 an error when the command fails; the return code must indicate.
552 (tramp-adb-send-command-and-check): Fix docstring.
554 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
556 * net/tramp-cache.el (tramp-get-file-property)
557 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
558 and `tramp-cache-set-count-*' are bound. Otherwise, there might
559 be compiler warnings.
561 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
562 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
564 2014-11-01 Eli Zaretskii <eliz@gnu.org>
566 * progmodes/compile.el (compilation-mode): Turn off deferred
567 fontifications locally. (Bug#18856)
569 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
571 * net/tramp-sh.el (tramp-send-command): Fix the case where the
572 remote-echo connection property is non-nil (bug#18858).
574 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
576 Backport Tramp changes from trunk.
578 * net/tramp.el (tramp-methods): Tweak docstring.
579 (tramp-file-name-handler): Apply `cons' where appropriate.
580 (tramp-handle-file-accessible-directory-p): Check for
581 `file-readable-p' instead of `file-executable-p'.
582 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
583 (tramp-handle-unhandled-file-name-directory): Return "/".
584 (tramp-check-cached-permissions):
585 Use `tramp-compat-file-attributes'.
586 (tramp-call-process): Add new argument VEC. Adapt callees in all
589 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
590 (tramp-adb-handle-write-region): Improve messages.
591 (tramp-adb-maybe-open-connection): Don't set
592 `tramp-current-*' variables.
594 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
595 Suppress debug messages.
597 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
598 (tramp-ftp-file-name-handler):
600 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
601 (tramp-gvfs-methods-mounttracker)
602 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
603 during initialization. (Bug#18774)
604 (tramp-gvfs-handle-delete-file): Flush file properties, not
605 directory properties.
606 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
607 reading "unix::mode".
608 (tramp-gvfs-handle-file-name-all-completions):
609 Use "-h" option for "gvfs-ls".
610 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
611 `user' and `localname' could be nil.
612 (tramp-gvfs-send-command): Simplify traces.
614 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
615 (vc-git-program, vc-hg-program): Declare.
616 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
617 (tramp-methods) <nc>: Add new method.
618 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
619 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
621 (tramp-default-user-alist): Add "nc".
622 (top): Remove completion function for "sftp". Add completion
623 functions for "nc" and "psftp".
624 (tramp-sh-handle-set-visited-file-modtime):
625 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
626 (tramp-do-copy-or-rename-file-out-of-band):
627 Use cached "remote-copy-args" value, if available. (Bug#18199)
628 Tweak docstring. Implement support for "nc" method.
629 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
630 (tramp-remote-coding-commands, tramp-call-local-coding-command):
632 (tramp-sh-handle-start-file-process): Expand `default-directory'.
633 (tramp-sh-handle-write-region): Tweak error message.
634 (tramp-sh-handle-vc-registered): Remove backends when the remote
635 binary does not exist.
636 (tramp-open-connection-setup-interactive-shell):
637 Prefer utf-8 coding. (Bug#17859)
638 (tramp-find-inline-encoding): Do not raise an error.
639 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
640 the "nc" case. Quote result also locally.
641 (tramp-get-remote-id): Check also for "gid".
642 (tramp-get-remote-python):
644 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
645 (tramp-smb-handle-set-file-acl): Use `start-process'.
646 (tramp-smb-handle-insert-directory): Use progress reporter.
647 (tramp-smb-handle-rename-file): Flush also file properties of
650 * net/trampver.el: Update release number.
652 2014-11-01 Reuben Thomas <rrt@sc3d.org>
654 * net/tramp.el (tramp-handle-file-symlink-p):
655 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
656 about VMS, which we no longer support.
658 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
660 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
661 the global vc-handled-backends (bug#18535).
663 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
664 Michael Albinus <michael.albinus@gmx.de>
666 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
667 Reduce the amount of set environment variable commands.
669 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
671 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
674 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
676 * net/tramp-sh.el (tramp-get-remote-python): Also search for
677 executables named "python2" or "python3".
678 (tramp-get-remote-uid-with-python): Use parentheses around
679 arguments to `print' to make it compatible with Python 3.
680 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
682 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
684 * simple.el (newline): Add assertions to try and help catch bug#18913.
686 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
688 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
690 2014-10-31 Eli Zaretskii <eliz@gnu.org>
692 * Makefile.in (repo-update): Fix a typo and slightly reword
695 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
697 * Makefile.in: Change some production names so they're neutral
698 about the repository type.
700 2014-10-30 Kim F. Storm <storm@cua.dk>
702 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
703 * delsel.el (delete-selection-save-to-register)
704 (delsel--replace-text-or-position): New vars.
705 (delete-active-region): Use them.
706 (delete-selection-repeat-replace-region): New command, moved from
708 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
709 (cua-repeat-replace-region): Move command to delsel.el.
710 (cua--init-keymaps): Update binding accordingly.
711 (cua-mode): Set delete-selection-save-to-register.
713 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
715 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
717 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
719 2014-10-29 Eli Zaretskii <eliz@gnu.org>
721 * progmodes/compile.el (compilation-start):
722 If compilation-scroll-output is non-nil, don't force window-start of
723 the compilation buffer to be at beginning of buffer. (Bug#18874)
725 2014-10-23 Tassilo Horn <tsdh@gnu.org>
727 * doc-view.el (doc-view-open-text): View the document's plain text
728 in the current buffer instead of a new one.
729 (doc-view-toggle-display): Handle the case where the current
730 buffer contains the plain text contents of the document.
731 (doc-view-initiate-display): Don't switch to fallback mode if the
732 user wants to view the doc's plain text. [Backport]
734 2014-10-23 Eli Zaretskii <eliz@gnu.org>
736 * startup.el (fancy-about-text): Read the entire tutorial, not
737 just its first 256 bytes. (Bug#18760)
739 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
741 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
742 * emacs-lisp/cl-extra.el: Add missing provide.
744 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
746 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
747 all args are copyable (bug#18767).
748 (=, <, >, <=, >=): Re-enable the optimization.
750 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
752 * vc/vc-hg.el (vc-hg-log-graph): New var.
753 (vc-hg-print-log): Use it.
754 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
755 graph output (bug#17515).
757 2014-10-20 Juri Linkov <juri@jurta.org>
759 * vc/diff-mode.el (diff-refine-changed): Rename from
760 `diff-refine-change' for consistency with `diff-changed'.
761 (diff-refine-change): Add obsolete face alias. (Bug#10181)
763 * vc/smerge-mode.el (smerge-refined-changed): Rename from
764 `smerge-refined-change'.
765 (smerge-refined-change): Add obsolete face alias.
767 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
769 * subr.el (call-process-shell-command, process-file-shell-command):
770 Make the `args' obsolete (bug#18409).
771 (start-process-shell-command, start-file-process-shell-command):
774 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
776 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
778 2014-10-20 Glenn Morris <rgm@gnu.org>
780 * dired.el (dired-read-regexp): Make obsolete.
781 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
782 (dired-flag-files-regexp):
783 * dired-aux.el (dired-mark-read-regexp):
784 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
786 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
788 * progmodes/python.el (inferior-python-mode): Use add-hook.
790 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
792 2014-10-20 Glenn Morris <rgm@gnu.org>
794 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
795 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
796 * emulation/ws-mode.el: Move to obsolete/. [Backport]
798 2014-10-20 Glenn Morris <rgm@gnu.org>
800 * cus-start.el (history-length): Bump :version. [Backport]
802 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
804 * obsolete/cc-compat.el: Make obsolete (bug#18561).
806 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
808 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
811 2014-10-20 Glenn Morris <rgm@gnu.org>
813 * Version 24.4 released.
815 2014-10-15 Alan Mackenzie <acm@muc.de>
817 * cus-edit.el (custom-command-apply): Specify the return value in
819 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
820 custom-command-apply has returned non-nil.
822 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
824 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
825 Backported (bug#18688).
827 2014-10-14 Eli Zaretskii <eliz@gnu.org>
829 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
830 Force bidi-paragraph-direction to 'left-to-right'. This fixes
831 buffer-menu display when the first buffer happens to start with
834 2014-10-13 Glenn Morris <rgm@gnu.org>
836 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
837 (authors-obsolete-files-regexps): Additions.
838 (authors-no-scan-regexps): New constant.
839 (authors-no-scan-file-p): New function.
840 (authors): Respect authors-no-scan-file-p.
842 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
844 Fix import completion. (Bug#18582)
845 * progmodes/python.el (python-shell-completion-get-completions):
846 Fix import case regexp.
848 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
850 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
851 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
852 * progmodes/prolog.el (prolog-electric--underscore): Same.
854 2014-10-09 Glenn Morris <rgm@gnu.org>
856 * frame.el (display-monitor-attributes-list): Doc tweaks.
858 2014-10-08 Eli Zaretskii <eliz@gnu.org>
860 * faces.el (display-grayscale-p): Mention in the doc string that
861 the argument can be either a display name or a frame.
863 * frame.el (display-pixel-height, display-pixel-width)
864 (display-mm-height, display-mm-width, display-backing-store)
865 (display-save-under, display-planes, display-color-cells)
866 (display-visual-class, display-monitor-attributes-list)
867 (display-screens): Mention in the doc string that the argument can
868 be either a display name or a frame. Improve the docs of the
869 monitor attributes. (Bug#18636)
871 2014-10-06 Martin Rudalics <rudalics@gmx.at>
873 * term.el (term-window-width): Subtract 1 from the width when
874 any fringe has zero width, not just the right fringe. (Bug#18601)
876 2014-10-05 Leo Liu <sdl.web@gmail.com>
878 * imenu.el (imenu-default-goto-function): Fix typo.
880 2014-10-04 Glenn Morris <rgm@gnu.org>
882 * frame.el (frame-monitor-attributes)
883 (display-monitor-attributes-list): Doc fixes.
885 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
887 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
888 (vc-svn-ignore): Use it. (Bug#18619)
890 2014-10-03 Martin Rudalics <rudalics@gmx.at>
892 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
893 In doc-string mention need to set `frame-resize-pixelwise'.
895 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
897 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
898 similarly to Rogers's 2010-06-16 change for the remote case
901 2014-10-01 Glenn Morris <rgm@gnu.org>
903 * emacs-lisp/package.el (package-import-keyring):
904 Create gnupg directory private. (Bug#17625#155)
906 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
908 * progmodes/python.el (python-shell-completion-get-completions):
909 Use python-shell--prompt-calculated-input-regexp from the
910 process buffer (bug#18582).
911 Don't assume that `line' comes from the process buffer.
913 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
915 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
918 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
920 * emacs-lisp/package.el (package-check-signature): Default to nil if
921 GPG is not available.
922 (package-refresh-contents): Don't mess with the keyring if we won't
923 check the signatures anyway.
925 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
927 * window.el (fit-window-to-buffer): When counting buffer width,
928 count the whole visible buffer. Correctly convert the body-height
929 to pixel size for window-text-pixel-size (Bug#18498).
931 2014-09-14 Glenn Morris <rgm@gnu.org>
933 * image.el (image-multi-frame-p): Fix thinko - do not force
934 a delay if none was specified. (Bug#18334)
936 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
938 * window.el (fit-window-to-buffer): Doc fix.
940 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
942 * desktop.el (desktop-create-buffer): Check that buffers are still live
943 before burying them (bug#18373).
945 2014-09-09 Glenn Morris <rgm@gnu.org>
947 * calendar/diary-lib.el (diary-list-entries):
948 Restore 24.3 display behavior. (Bug#18381)
950 2014-09-09 Eli Zaretskii <eliz@gnu.org>
952 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
953 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
954 discrepancy between window-pixel-edges and mouse events, and
955 avoids moving mode line up when the mouse click is on the modeline
956 and no drag is attempted.
958 2014-09-08 Glenn Morris <rgm@gnu.org>
960 * calendar/calendar.el (calendar-basic-setup):
961 Avoid clobbering calendar with diary. (Bug#18381)
963 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
965 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
967 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
969 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
972 2014-09-04 Eli Zaretskii <eliz@gnu.org>
974 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
976 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
978 * emacs-lisp/package.el (package-generate-description-file):
979 Properly quote the arguments (bug#18332). Change second arg.
980 (package--alist-to-plist-args): Rename from package--alist-to-plist and
982 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
983 the *-pkg.el file. Adjust to new calling convention of
984 package-generate-description-file.
986 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
987 (gud-gdb-completions): Remove obsolete workaround.
989 2014-09-02 Eli Zaretskii <eliz@gnu.org>
991 * subr.el (posn-col-row): Revert the change from commit
992 2010-11-13T21:07:58Z!eliz@gnu.org, which
993 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
994 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
995 introduced an off-by-one error in the reported row when there is a
996 header line. (Bug#18384)
998 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1000 * progmodes/python.el (python-indent-post-self-insert-function):
1001 Avoid electric colon at beginning-of-defun. (Bug#18228)
1003 2014-09-01 Glenn Morris <rgm@gnu.org>
1005 * tutorial.el (tutorial--display-changes):
1006 Fix 2014-07-29 change. (Bug#18382)
1008 2014-08-29 Ken Brown <kbrown@cornell.edu>
1010 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1011 the Cygwin-w32 build. (Bug#18347)
1013 2014-08-28 Glenn Morris <rgm@gnu.org>
1015 * tar-mode.el (tar--extract, tar-extract):
1016 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1018 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1020 * emacs-lisp/authors.el (authors-aliases): Addition.
1022 * net/tramp-adb.el: Spell author name correctly.
1024 2014-08-27 João Távora <joaotavora@gmail.com>
1026 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1027 use url-expand-file-name. (Bug#18310)
1029 2014-08-25 Glenn Morris <rgm@gnu.org>
1031 * emulation/cua-rect.el (cua--highlight-rectangle):
1032 Avoid error at point-min. (Bug#18309)
1034 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1037 executable-find (bug#18244).
1039 * simple.el (self-insert-uses-region-functions): Defvar.
1041 2014-08-13 Leo Liu <sdl.web@gmail.com>
1043 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1044 elements from imenu.
1046 2014-08-11 Glenn Morris <rgm@gnu.org>
1048 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1050 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1051 chose coding system for writing before backing up, since it causes
1052 a more serious problem than the one it solves. (Closes Bug#18141,
1055 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1057 * window.el (window-total-size): Make doc-string more
1060 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1062 * window.el (display-buffer-below-selected): Restore original
1063 behavior if buffer is already displayed in the window below the
1064 selected one (Bug#18181).
1066 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1068 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1071 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1073 * info.el (info): Doc fix.
1075 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1080 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1082 * simple.el (default-line-height): A floating-point value of
1083 line-spacing means a fraction of the default frame font's height,
1084 not of the font currently used by the 'default' face.
1085 Truncate the pixel value, like the display engine does.
1086 (window-screen-lines): Use window-inside-pixel-edges for
1087 determining the window height in pixels. (Bug#18195)
1089 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1091 * tutorial.el (tutorial--display-changes): Accept punctuation
1092 characters before the key binding. (Bug#18146)
1094 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1096 * doc-view.el (doc-view-open-text): Don't require that the
1097 document is saved in a file (e.g., email attachment).
1099 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1101 * window.el (window--pixel-to-total): Use FRAME's root window, not
1102 that of the selected frame. (Bug#18112, Bug#16674)
1104 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1106 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1109 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1111 * progmodes/python.el (inferior-python-mode): Doc fix.
1113 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1115 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1116 not a character, ignore it instead of raising an error.
1118 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1120 * calendar/todo-mode.el: Fix handling of marked items and make
1121 minor code improvements.
1122 (todo-edit-item): If there are marked items, ensure user can only
1123 invoke editing commands that work with marked items.
1124 (todo-edit-item--text): When there are marked items, make it a
1125 noop if invoked with point not on an item; otherwise, ensure it
1126 applies only to item at point.
1127 (todo-item-undone): If there are marked not-done items, return
1128 point to its original position before signaling user error.
1129 (todo--user-error-if-marked-done-item): New function.
1130 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1131 (todo-item-done): Use it.
1133 2014-07-25 Glenn Morris <rgm@gnu.org>
1135 * files.el (toggle-read-only): Re-add basic doc-string.
1136 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1138 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1139 Replace missing `switch-to-prolog' with `run-prolog'.
1140 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1142 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1144 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1145 of file-wide setting when changing category-wide setting.
1147 2014-07-21 Glenn Morris <rgm@gnu.org>
1149 * progmodes/hideif.el (hide-ifdef-mode-submap):
1150 Also substitute read-only-mode.
1151 * bindings.el (mode-line-toggle-read-only):
1152 * bs.el (bs-toggle-readonly):
1153 * buff-menu.el (Buffer-menu-toggle-read-only):
1154 * dired.el (dired-toggle-read-only):
1155 * files.el (view-read-only, find-file-read-only)
1156 (find-file-read-only-other-window)
1157 (find-file-read-only-other-frame):
1158 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1159 Doc fixes re toggle-read-only.
1161 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1163 * progmodes/python.el: Add comment about pipe buffering and
1164 solutions for missing/delayed output in inferior Python shells.
1167 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1169 * progmodes/python.el (python-mode): Don't set
1170 mode-require-final-newline. (Bug#17990)
1172 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1174 Make python.el work with IPython automatically. (Bug#15510)
1175 * progmodes/python.el:
1176 (python-shell-completion-setup-code): New value supporting iPython.
1177 (python-shell-completion-string-code): New value supporting iPython.
1178 (python-shell-completion-get-completions): Use them.
1179 (python-shell-completion-module-string-code): Make obsolete.
1180 (python-shell-prompt-input-regexps)
1181 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1182 (python-shell-output-filter): Fix comment typo.
1184 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1186 Fix Python shell prompts detection for remote hosts.
1187 * progmodes/python.el (python-shell-prompt-detect):
1188 Replace call-process with process-file and make it more robust.
1190 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1192 Autodetect Python shell prompts. (Bug#17370)
1193 * progmodes/python.el:
1194 (python-shell-interpreter-interactive-arg)
1195 (python-shell-prompt-detect-enabled)
1196 (python-shell-prompt-detect-failure-warning)
1197 (python-shell-prompt-input-regexps)
1198 (python-shell-prompt-output-regexps): New vars.
1199 (python-shell-prompt-calculated-input-regexp)
1200 (python-shell-prompt-calculated-output-regexp): New vars.
1201 (python-shell-get-process-name)
1202 (python-shell-internal-get-process-name)
1203 (python-shell-output-filter)
1204 (python-shell-completion-get-completions): Use them.
1205 (python-shell-prompt-detect)
1206 (python-shell-prompt-validate-regexps): New functions.
1207 (python-shell-prompt-set-calculated-regexps): New function.
1208 (inferior-python-mode): Use it. Also honor overridden
1209 python-shell-interpreter and python-shell-interpreter-args.
1210 (python-shell-make-comint): Honor overridden
1211 python-shell-interpreter and python-shell-interpreter-args.
1212 (python-shell-get-or-create-process): Make it testable by allowing
1213 to call run-python non-interactively.
1214 (python-util-valid-regexp-p): New function.
1215 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1216 (python-shell-prompt-output-regexp)
1217 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1219 2014-07-16 Glenn Morris <rgm@gnu.org>
1221 * desktop.el (after-init-hook): Disable startup frame restoration
1222 in non-graphical situations. (Bug#17693)
1224 2014-07-14 Glenn Morris <rgm@gnu.org>
1226 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1227 if it was "empty", or used for a different set of files. (Bug#17884)
1229 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1231 * bindings.el (mode-line-remote): If default-directory is not a
1232 string, don't call file-remote-p on it; instead state in the
1233 help-echo that it is nil. (Bug#17986)
1235 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1237 Fix bug: C-x v v discarded existing log message (Bug#17884).
1238 * vc/vc-dispatcher.el (vc-log-edit):
1239 Don't clobber an already-existing log message.
1241 2014-07-10 Glenn Morris <rgm@gnu.org>
1243 * vc/log-edit.el (log-edit-changelog-entries):
1244 Check for a visited-but-never-saved ChangeLog.
1246 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1249 a non-existing file (bug#17970).
1251 * faces.el (face-name): Undo last change.
1252 (x-resolve-font-name): Don't call face-name (bug#17956).
1254 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1256 Fix dedenters and electric colon handling. (Bug#15163)
1258 * progmodes/python.el
1259 (python-rx-constituents): Add dedenter and block-ender.
1260 (python-indent-dedenters, python-indent-block-enders): Delete.
1261 (python-indent-context): Return new case for dedenter-statement.
1262 (python-indent-calculate-indentation): Handle new case.
1263 (python-indent-calculate-levels): Fix levels calculation for
1264 dedenter statements.
1265 (python-indent-post-self-insert-function): Fix colon handling.
1266 (python-info-dedenter-opening-block-message): New function.
1267 (python-indent-line): Use it.
1268 (python-info-closing-block)
1269 (python-info-closing-block-message): Remove.
1270 (python-info-dedenter-opening-block-position)
1271 (python-info-dedenter-opening-block-positions)
1272 (python-info-dedenter-statement-p): New functions.
1274 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1276 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1277 the middle of a line (bug#17896).
1279 2014-07-08 Juri Linkov <juri@jurta.org>
1281 * startup.el (command-line): Append displaying the warning about
1282 the errors in the init file to the end of `after-init-hook'.
1285 2014-07-08 Juri Linkov <juri@jurta.org>
1287 * faces.el (face-name): Return input arg `face' as is
1288 when it's not a symbol.
1289 (x-resolve-font-name): Don't check if the face is a symbol.
1292 2014-07-08 Juri Linkov <juri@jurta.org>
1294 * facemenu.el (list-colors-print): In help-echo format use %.2f
1295 instead of %d because now HSV values are floating-point components
1296 between 0.0 and 1.0.
1298 2014-07-06 Glenn Morris <rgm@gnu.org>
1300 * emulation/cua-rect.el (cua--activate-rectangle):
1301 Avoid setting cua--rectangle to nil. (Bug#17877)
1303 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1305 * calendar/todo-mode.el: Fix wrong-type-argument error when
1306 marking multiple consecutive items.
1307 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1308 end of the todo and done items sections. Note in doc string that
1309 items marked by passing a numeric prefix argument can include the
1310 last todo and first done items.
1311 (todo-mark-category): Don't try to mark the empty line between the
1312 todo and done items sections.
1314 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1316 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1317 proper Lisp quoting (bug#17934).
1319 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1320 require-final-newline since prog-mode already took care of it (bug#17947).
1322 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1324 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1325 refer to the Todo mode Info manual. Update the comment on
1327 (todo-find-filtered-items-file): Add todo-prefix overlays.
1328 (todo-filter-items): Reorder a let-bound variable to avoid a
1329 wrong-type-argument error on canceling the file choice dialog.
1331 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * progmodes/octave.el (inferior-octave-mode):
1334 Set comint-input-ring-size to a number (bug#17912).
1336 2014-07-03 Juri Linkov <juri@jurta.org>
1338 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1339 and `isearch-mode' associated with nil. (Bug#17849)
1341 2014-07-02 Juri Linkov <juri@jurta.org>
1343 * desktop.el (desktop-save): Rename arg `auto-save' to
1344 `only-if-changed'. Doc fix. (Bug#17873)
1346 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1349 Use insert-for-yank (bug#17271).
1351 2014-07-02 Leo Liu <sdl.web@gmail.com>
1353 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1354 Support lexical-binding.
1356 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1358 * vc/log-edit.el (log-edit-goto-eoh): New function.
1359 (log-edit--match-first-line): Use it (bug#17861).
1361 2014-07-01 Glenn Morris <rgm@gnu.org>
1363 * vc/log-edit.el (log-edit-hook): Add missing :version.
1365 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1367 * progmodes/python.el (python-indent-post-self-insert-function):
1368 Enhancements to electric indentation behavior inside
1371 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1373 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1374 buffer-invisibility-spec (bug#17867).
1376 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1378 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1381 2014-06-29 Glenn Morris <rgm@gnu.org>
1383 * cus-edit.el (help):
1384 * finder.el (finder-known-keywords):
1385 * help.el (help-for-help-internal):
1386 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1387 (ediff-redraw-registry-buffer):
1388 * vc/ediff-ptch.el (ediff-patch-file-internal):
1389 Doc fixes re "online" help. (Bug#17803)
1391 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1392 (idlwave-mode): Doc URL update.
1394 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1396 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1397 account for file-wide setting of todo-top-priorities-overrides.
1398 Make code a bit cleaner.
1400 2014-06-27 Leo Liu <sdl.web@gmail.com>
1402 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1404 2014-06-27 Glenn Morris <rgm@gnu.org>
1406 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1408 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1410 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1411 category-wide setting of todo-top-priorities-overrides, check for
1412 a file-wide setting and fontify accordingly.
1414 2014-06-26 Glenn Morris <rgm@gnu.org>
1416 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1418 2014-06-26 Daiki Ueno <ueno@gnu.org>
1420 * emacs-lisp/package.el (package--check-signature):
1421 If package-check-signature is allow-unsigned, don't signal error when
1422 we can't verify signature because of missing public key
1423 (backport for bug#17625).
1425 2014-06-26 Glenn Morris <rgm@gnu.org>
1427 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1428 Remove outdated declaration.
1430 * emacs-lisp/authors.el (authors-valid-file-names)
1431 (authors-renamed-files-alist): Additions.
1433 2014-06-25 Leo Liu <sdl.web@gmail.com>
1435 * textmodes/picture.el (picture-set-tab-stops):
1436 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1437 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1439 * progmodes/asm-mode.el (asm-calculate-indentation):
1440 Use indent-next-tab-stop.
1442 * indent.el (indent-accumulate-tab-stops): New function.
1444 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1447 (package-desc-status): Obey it.
1449 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1451 * calendar/todo-mode.el: Fix two bugs.
1452 (todo-insert-item--basic): If user cancels item insertion to
1453 another category before setting priority, show original category
1454 whether it is in the same or a different file.
1455 (todo-set-item-priority): After selecting category, instead of
1456 moving point to top, which extends an active region, restore it.
1458 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1460 * help-fns.el (describe-function-1): Check file-name is a string before
1461 calling help-fns--autoloaded-p (bug#17564).
1463 2014-06-24 Juri Linkov <juri@jurta.org>
1465 * desktop.el (desktop-auto-save-enable)
1466 (desktop-auto-save-disable): New functions.
1467 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1468 (desktop-read): Disable the autosave before loading the desktop,
1469 and enable afterwards. (Bug#17351)
1471 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1473 Fix some indentation problem with \; and pipes (bug#17842).
1474 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1475 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1477 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1478 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1479 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1481 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1483 * international/fontset.el (script-representative-chars):
1484 Add representative characters for scripts added in Unicode 7.0.
1485 (otf-script-alist): Synchronize with the latest registry of OTF
1488 * international/characters.el (char-script-table): Update for
1489 scripts added and codepoint ranges changed in Unicode 7.0.
1491 2014-06-23 Leo Liu <sdl.web@gmail.com>
1493 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1494 tab-stop-list to nil. (Bug#16381)
1496 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1497 (indent-rigidly-left-to-tab-stop)
1498 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1499 (move-to-tab-stop): Change callers.
1501 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1503 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1504 wrt behavior of \n as the first/last element of a skeleton.
1506 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1508 * net/tramp-adb.el (tramp-adb-handle-process-file):
1509 * net/tramp-sh.el (tramp-sh-handle-process-file):
1510 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1511 the output buffer when DISPLAY is non-nil. (Bug#17815)
1513 2014-06-21 Glenn Morris <rgm@gnu.org>
1515 * play/landmark.el (landmark-move-down, landmark-move-up):
1516 Fix 2007-10-20 change - preserve horizontal position.
1518 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1520 Fix completion retrieval parsing (bug#17209).
1521 * progmodes/python.el (python-mode):
1522 (python-util-strip-string): New function.
1523 (python-shell-completion-get-completions): Use it.
1525 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1527 * skeleton.el (skeleton-insert): Fix last change.
1529 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1531 Enhancements for outline integration (bug#17796).
1532 * progmodes/python.el (python-mode): Properly set
1533 outline-heading-end-regexp so that comments after colons for
1534 defuns are supported.
1536 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1538 * skeleton.el (skeleton-insert): Doc fix.
1540 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1542 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1543 (smie-config-guess): Use smie-config-local so the rules are obeyed
1546 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1547 since it's already done inside the loop (bug#17819).
1549 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1551 * mouse.el (mouse-drag-line): Re-remove code initially removed
1552 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1555 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1557 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1558 align with the surrounding parent (bug#17721).
1560 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1562 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1564 (texinfo-insert-block, texinfo-insert-@end)
1565 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1566 local setting of skeleton-end-newline by adding an explicit \n to
1567 the skeletons where appropriate. (Bug#17801)
1569 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1571 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1572 (smie-indent--hanging-p): Use it.
1573 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1575 2014-06-20 Leo Liu <sdl.web@gmail.com>
1577 * simple.el (read-quoted-char): Don't let help chars pop up help
1580 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1582 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1585 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1588 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1591 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1593 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1594 and later. (Bug#17790)
1596 2014-06-18 Juri Linkov <juri@jurta.org>
1598 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1599 to `soft'. (Bug#17554)
1601 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1606 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1608 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1609 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1611 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1613 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1614 `unread-command-events'.
1616 2014-06-14 Glenn Morris <rgm@gnu.org>
1618 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1619 Replace delete-duplicates and mapcan by cl- versions throughout.
1620 And cl-macroexpand-all by macroexpand-all.
1621 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1623 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1625 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1627 2014-06-14 Juri Linkov <juri@jurta.org>
1629 * bindings.el: Put `ascii-character' property on keypad keys
1630 mapped to characters. (Bug#17759)
1632 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1635 bumping forward into a closing paren (bug#17761).
1637 * term/xterm.el (xterm--version-handler): Work around for OSX
1638 Terminal.app (bug#17607).
1640 2014-06-08 Glenn Morris <rgm@gnu.org>
1642 * startup.el (initial-buffer-choice): Doc fix.
1643 Reset :version (adding an option does not merit a :version bump).
1645 * bookmark.el (bookmark-load):
1646 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1648 2014-06-06 Juri Linkov <juri@jurta.org>
1650 * desktop.el: Activate auto-saving on window configuration changes.
1651 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1652 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1653 (desktop-auto-save-set-timer): Change REPEAT arg of
1654 `run-with-idle-timer' from t to nil.
1655 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1657 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1659 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1660 vc-hg-command (bug#17570).
1662 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1664 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1667 2014-06-06 Glenn Morris <rgm@gnu.org>
1669 * startup.el (window-setup-hook): Doc fix.
1671 2014-06-05 Glenn Morris <rgm@gnu.org>
1673 * emacs-lisp/package.el (package-check-signature)
1674 (package-unsigned-archives): Doc fixes.
1676 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1678 * window.el (display-buffer-use-some-window): Don't make window
1679 used smaller than it was before (Bug#17671).
1681 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1683 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1684 'redisplay' instead of '(sit-for 0)'.
1686 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1688 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1691 2014-06-03 Glenn Morris <rgm@gnu.org>
1693 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1695 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1697 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1699 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1701 * simple.el (keyboard-quit): Force update of mode lines, to remove
1702 the "Def" indicator, if we were defining a macro. (Bug#17615)
1704 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1706 * minibuffer.el (minibuffer-force-complete-and-exit):
1707 Obey minibuffer-default (bug#17545).
1709 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1712 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1714 * subr.el (set-transient-map): Don't wait for some "nested"
1715 transient-map to finish if we're only supposed to be active for
1716 the next command (bug#17642).
1718 2014-05-31 Leo Liu <sdl.web@gmail.com>
1720 * emacs-lisp/gv.el (window-buffer, window-display-table)
1721 (window-dedicated-p, window-hscroll, window-point, window-start):
1722 Fix gv-expander. (Bug#17630)
1724 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1726 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1729 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1730 for the single comma, since ", " is *very* common in normal French text
1733 2014-05-30 Glenn Morris <rgm@gnu.org>
1735 * emacs-lisp/package.el (package-check-signature)
1736 (package-unsigned-archives): Fix :version.
1738 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1740 * subr.el (sit-for): Don't run input-methods (bug#15614).
1742 2014-05-28 Glenn Morris <rgm@gnu.org>
1744 * cus-start.el: Fix some :version numbers.
1746 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1748 * simple.el (deactivate-mark): Set mark-active to nil even if
1749 deactivation is done via setting transient-mark-mode to nil,
1750 since one is buffer-local and the other is global.
1752 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1753 there can't be more than 2 arguments (bug#17584).
1755 2014-05-27 Glenn Morris <rgm@gnu.org>
1757 * simple.el (filter-buffer-substring-functions)
1758 (filter-buffer-substring-function, buffer-substring-filters)
1759 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1761 * minibuffer.el (completion-in-region-functions, completion-in-region)
1762 (completion--in-region): Doc fixes.
1764 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1765 (expand-abbrev, abbrev--default-expand): Doc fixes.
1767 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1769 Include sources used to create macuvs.h.
1770 * international/README: Refer to the Unicode Terms of Use rather
1771 than copying it bodily here, as that simplifies maintenance.
1773 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1775 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1777 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1779 * window.el (window--dump-frame): Remove interactive
1782 2014-05-23 Glenn Morris <rgm@gnu.org>
1784 * hippie-exp.el (he-line-search-regexp):
1785 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1787 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1789 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1790 to avoid errors when trying to create or visit a file foo.todo
1791 located outside to todo-directory, and to allow having such files
1792 without them being tied to Todo mode (bug#17482).
1793 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1794 (todo-archive-done-item, todo-find-filtered-items-file)
1795 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1796 (todo-category-completions, todo-read-category): When visiting a
1797 Todo file, make sure we're in the right mode and the buffer local
1799 (todo-make-categories-list, todo-reset-nondiary-marker)
1800 (todo-reset-done-string, todo-reset-comment-string):
1801 After processing all Todo files, kill the buffers of those files that
1802 weren't being visited before the processing.
1803 (todo-display-as-todo-file, todo-add-to-buffer-list)
1804 (todo-visit-files-commands): Comment out.
1805 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1806 (auto-mode-alist): Remove add-to-list calls making Todo file
1807 extensions unrestrictedly tied to Todo modes.
1809 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1812 (advice-function-member-p): Tell it to check both names and functions
1814 (advice--add-function): Adjust call accordingly.
1816 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1818 * calendar/todo-mode.el: Miscellaneous bug fixes.
1819 (todo-delete-file): When deleting an archive but not its todo
1820 file, make sure to update the todo file's category sexp.
1821 (todo-move-category): Keep the moved category's name unless the
1822 file moved to already has a category with that name. If the
1823 numerically last category of the source file was moved, make the
1824 first category current to avoid selecting a nonexisting category.
1825 (todo-merge-category): Fix implementation to make merging to a
1826 category in another file work as documented. Eliminate now
1827 insufficient and unnecessary renaming of archive category, correct
1828 document string accordingly, and clarify it. If the numerically
1829 last category of the source file was merged, make the first
1830 category current to avoid selecting a nonexisting category.
1831 (todo-archive-done-item): When there are marked items and point
1832 happens to be on an unmarked item, ignore the latter. Don't leave
1833 point below last item after archiving marked items.
1834 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1835 from an archive with only one category deletes the archive only
1836 when the category is empty after unarchiving. Make sure the todo
1837 file's category sexp is updated.
1838 (todo-read-file-name): Allow an existing file name even when it is
1839 not required (todo-move-category needs this to work as documented).
1840 (todo-add-file): Call todo-validate-name to reject the name of an
1841 existing todo file (needed due to fix in todo-read-file-name).
1842 (todo-reset-nondiary-marker): Also reset in filtered items files.
1843 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1844 regexp filtered items files.
1845 (todo-reset-highlight-item): Also reset in filtered items files.
1846 Fix incorrect variable reference in document string.
1848 2014-05-22 Glenn Morris <rgm@gnu.org>
1850 * window.el (window--dump-frame): Avoid error in --without-x builds.
1852 2014-05-21 Glenn Morris <rgm@gnu.org>
1854 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1856 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1858 * frame.el (set-frame-font): Doc fix.
1860 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1862 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1864 * emacs-lisp/package.el (package--download-one-archive):
1865 Use `write-region' instead of `save-buffer' to avoid running various
1867 (describe-package-1): Same. Insert newline at the end of the
1868 buffer if appropriate.
1870 2014-05-20 Juri Linkov <juri@jurta.org>
1872 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1873 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1874 Add more modifiers: meta, control, shift, hyper, super, alt.
1877 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1878 to allow changing its value with `set-variable'.
1880 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1882 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1884 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1886 (scheme-mode-variables): Set syntax-propertize-function instead of
1887 font-lock-syntactic-face-function.
1888 (scheme-font-lock-syntactic-face-function): Delete.
1890 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1892 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1894 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1897 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1899 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1900 for a temporary file name.
1902 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1904 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1906 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1908 * net/dbus.el (dbus-init-bus, dbus-call-method)
1909 (dbus-call-method-asynchronously, dbus-send-signal)
1910 (dbus-method-return-internal, dbus-method-error-internal):
1911 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1913 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1915 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1916 methods which do not have a doc string. (Bug#17490)
1918 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1919 Stefan Monnier <monnier@iro.umontreal.ca>
1921 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1924 2014-05-14 Glenn Morris <rgm@gnu.org>
1926 * vc/emerge.el (emerge-temp-file-prefix):
1927 Make pointless option obsolete.
1928 (emerge-temp-file-mode): Make non-functional option obsolete.
1930 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1932 * net/browse-url.el (browse-url):
1933 Use `unhandled-file-name-directory' when setting `default-directory',
1934 in order to circumvent stalled remote connections. (Bug#17425)
1936 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1938 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1939 into autoloading just because of a silly indirection.
1941 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1943 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1945 2014-05-11 Glenn Morris <rgm@gnu.org>
1947 * emacs-lisp/find-gc.el: Move to ../admin.
1949 2014-05-10 Glenn Morris <rgm@gnu.org>
1951 * printing.el (pr-version):
1952 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1954 * net/browse-url.el (browse-url-mosaic):
1955 Create /tmp/Mosaic.PID as a private file.
1957 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1959 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1960 (advice--member-p): If name is given, only compare the name.
1961 (advice--remove-function): Don't stop at the first match.
1962 (advice--normalize-place): New function.
1963 (add-function, remove-function): Use it.
1964 (advice--add-function): Pass the name, if any, to
1965 advice--remove-function.
1967 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1969 * electric.el (electric-indent-post-self-insert-function): Don't use
1970 `pos' after modifying the buffer (bug#17449).
1972 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * subr.el (function-put): Add function.
1976 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1978 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1979 Correct argument list to conform to todo-insert-item--basic.
1981 2014-05-09 Glenn Morris <rgm@gnu.org>
1983 * files.el (cd-absolute): Test if directory is accessible
1984 rather than executable. (Bug#17330)
1986 * progmodes/compile.el (recompile):
1987 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1989 2014-05-08 Juri Linkov <juri@jurta.org>
1991 * dired.el (dired-check-switches, dired-switches-recursive-p):
1992 New functions. (Bug#17218)
1993 (dired-switches-escape-p, dired-move-to-end-of-filename):
1994 Use `dired-check-switches'.
1995 (dired-insert-old-subdirs, dired-build-subdir-alist)
1996 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1998 2014-05-08 Glenn Morris <rgm@gnu.org>
2000 * net/browse-url.el (browse-url-mosaic):
2001 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2002 This is CVE-2014-3423.
2004 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2007 (xterm-mouse--read-event-sequence-1000): Return nil if something
2009 (xterm-mouse-event): Propagate it.
2010 (xterm-mouse-translate-1): Handle it.
2012 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2014 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2015 four slots of the parameter list are filled, make sure to pass it
2016 to the argument list of todo-insert-item--basic.
2018 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2020 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2021 Add optional `seen' argument to detect and break infinite loops.
2023 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2025 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2026 (trace-unsafe, trace-use-tree): Make parentheses style be
2027 according to Emacs style.
2029 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2031 * net/tramp-sh.el (tramp-remote-process-environment):
2032 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2034 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2035 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2036 extra "PSx=..." commands.
2037 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2040 (tramp-uudecode): Replace the hard-coded temporary file name by a
2042 (tramp-remote-coding-commands): Enhance docstring.
2043 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2045 This is CVE-2014-3424.
2047 2014-05-06 Glenn Morris <rgm@gnu.org>
2049 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2050 (find-gc-source-files): Update some names.
2051 (trace-call-tree): Simplify and update.
2052 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2053 This is CVE-2014-3422.
2055 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * minibuffer.el (completion--try-word-completion): Revert fix for
2058 Bug#15980 (bug#17375).
2060 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2061 Always store button numbers in the same way in xterm-mouse-last;
2062 Don't burp is xterm-mouse-last is not set as expected.
2063 Never return negative indices.
2065 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2067 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2068 Backtrack one char if the global/char-literal var matcher hits
2069 inside a string. The next char could be the beginning of an
2070 expression expansion.
2072 2014-05-05 Glenn Morris <rgm@gnu.org>
2074 * help-fns.el (describe-function-1): Test for an autoload before a
2075 macro, since `macrop' works on autoloads. (Bug#17410)
2077 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2081 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2082 Make sure the new point we return is within the new string (bug#17239).
2084 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2086 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2088 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2091 Use nil rather than `default' for the "default" appearance (bug#17388).
2092 * vc/ediff-util.el (ediff-inferior-compare-regions)
2093 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2094 a misleading `default' value when it's really a boolean.
2095 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2096 overlay is not visible.
2098 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2100 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2101 (todo-menu): Uncomment and update.
2103 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2105 * calendar/todo-mode.el: Reimplement item editing to have the same
2106 basic user interface as item insertion, and make small UI and
2107 larger internal improvements to the latter.
2108 (todo-insert-item): Add reference to the Todo mode user manual to
2109 the documentation string.
2110 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2111 adjust all callers. Change signature to combine diary and
2112 nonmarking arguments. Incorporate functionality of deleted item
2113 copying command and add error checking. Remove detailed
2114 descriptions of the arguments from the documentation string, since
2115 this is treated in the Todo mode user manual.
2116 (todo-copy-item, todo-edit-multiline-item)
2117 (todo-edit-done-item-comment, todo-edit-item-header)
2118 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2119 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2120 (todo-edit-item-date-year, todo-edit-item-date-month)
2121 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2123 (todo-edit-item): Reimplement as wrapper command for
2124 todo-edit-item--next-key and make it distinguish done and not done
2126 (todo-edit-item--text): New function, replacing old command
2127 todo-edit-item and incorporating deleted commands
2128 todo-edit-multiline-item and todo-edit-done-item-comment.
2129 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2130 Use only numeric value of prefix argument. Remove detailed
2131 descriptions of the arguments from the documentation string, since
2132 this is treated in the Todo mode user manual.
2133 (todo-edit-item--diary-inclusion): New function, replacing old
2134 command todo-edit-item-diary-inclusion and incorporating and fixing
2135 functionality of deleted command todo-edit-item-diary-nonmarking,
2136 making sure to remove todo-nondiary-marker when adding
2137 diary-nonmarking-symbol.
2138 (todo-edit-category-diary-inclusion): Make sure to delete
2139 diary-nonmarking-symbol when adding todo-nondiary-marker.
2140 (todo-edit-category-diary-nonmarking): Fix indentation.
2141 (todo-insert-item--parameters): Group diary and nonmarking
2142 parameters together.
2143 (todo-insert-item--apply-args): Adjust to signature of
2144 todo-insert-item--basic and incorporate copy parameter.
2145 Make small code improvements.
2146 (todo-insert-item--next-param): Improve prompt and adjust it to
2147 new parameter grouping. Remove obsolete code.
2148 (todo-edit-item--param-key-alist)
2149 (todo-edit-item--date-param-key-alist)
2150 (todo-edit-done-item--param-key-alist): New defconsts.
2151 (todo-edit-item--prompt): New variable.
2152 (todo-edit-item--next-key): New function.
2153 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2154 Remove bindings of deleted commands.
2156 2014-05-02 Leo Liu <sdl.web@gmail.com>
2158 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2160 2014-05-01 Glenn Morris <rgm@gnu.org>
2162 * allout-widgets.el (allout-widgets-tally)
2163 (allout-decorate-item-guides):
2164 * menu-bar.el (menu-bar-positive-p):
2165 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2166 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2167 * progmodes/js.el (js--inside-param-list-p)
2168 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2169 * progmodes/prolog.el (region-exists-p):
2170 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2171 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2172 Doc fixes (replace `iff').
2174 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2178 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2180 * dired.el (dired-initial-position-hook, dired-initial-position):
2183 2014-04-29 Glenn Morris <rgm@gnu.org>
2185 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2187 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2189 * faces.el (face-spec-recalc): Apply X resources only after the
2190 defface spec has been applied. Thus, X resources are no longer
2191 overridden by the defface spec which also fixes issues on win32 where
2192 the toolbar coloring was wrong because it is set through X resources
2193 and was (wrongfully) overridden. (Bug#16694)
2195 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2197 * textmodes/rst.el (electric-pair-pairs): Declare.
2198 (rst-mode): Set it (bug#17131).
2200 2014-04-27 Juri Linkov <juri@jurta.org>
2202 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2203 and `print-level' to nil. (Bug#17351)
2205 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2207 * battery.el (battery-update): Handle the case where battery
2208 status is "N/A" (bug#17319).
2210 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2212 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2213 Use equal-including-properties to compare help-echo strings (bug#17331).
2215 2014-04-24 Leo Liu <sdl.web@gmail.com>
2217 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2218 Fix syntax for @. (Bug#17325)
2220 2014-04-24 Daniel Colascione <dancol@dancol.org>
2222 * emacs-lisp/cl.el (gv): Require gv early to break eager
2223 macro-expansion cycles.
2225 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2227 * simple.el (region-active-p): Check there's a mark (bug#17324).
2229 * simple.el (completion-list-mode-map): Use choose-completion for the
2230 mouse binding as well (bug#17302).
2231 (completion-list-mode, completion-setup-function): Adjust docstring and
2232 echo area message accordingly.
2233 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2234 calling convention of choose-completion.
2235 * comint.el (comint-dynamic-list-completions):
2236 * term.el (term-dynamic-list-completions): Accept choose-completion.
2238 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2239 &, |, +, - and * can't be a division (bug#17317).
2241 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2244 features on gnome-terminal (bug#16988).
2246 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2248 * dired.el (dired-insert-set-properties): Do not consider
2249 subdirectory headings and empty lines to be information that
2250 `dired-hide-details-mode' should hide. (Bug#17228)
2252 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2254 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2255 Remove test messages.
2256 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2259 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2261 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2262 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2264 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2266 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2268 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2269 Set "IFS=" when using read builtin, in order to preserve spaces in
2270 the file name. Add test messages for hunting a bug on hydra.
2271 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2273 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2276 Don't prettify a word within a symbol.
2278 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2280 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2283 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2286 assignments such as "case=hello" (bug#17297).
2288 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2290 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2292 (tramp-file-name-handler, tramp-completion-file-name-handler):
2293 Revert patch from 2014-04-10, it isn't necessary anymore.
2294 (tramp-autoload-file-name-handler)
2295 (tramp-register-autoload-file-name-handlers): New defuns.
2296 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2297 (tramp-register-file-name-handlers): Remove also
2298 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2299 Do not autoload its invocation, but eval it after loading of 'tramp.
2301 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2303 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2305 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2308 was done (bug#17264).
2309 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2312 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2313 here-documents (bug#17262).
2315 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2317 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2318 Provide doc strings, as required by snarf-documentation.
2320 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2322 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2323 arg of overlays-at. Use `invisible-p'.
2325 * obsolete/lucid.el (extent-at):
2326 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2328 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2330 2014-04-14 João Távora <joaotavora@gmail.com>
2332 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2335 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2337 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2338 Use mapc to loop over a vector. (Bug#17257).
2340 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2342 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2343 patch, there are new problems with file names containing spaces.
2344 Get rid of backticks. (Bug#17238)
2346 2014-04-13 João Távora <joaotavora@gmail.com>
2348 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2351 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2353 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2354 (blink-cursor-mode): Mention customization variables and the
2355 effect of 'blink-cursor-blinks'.
2357 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2359 * simple.el (undo): Prevent insertion of identity mapping into
2360 undo-equiv-table so as undo-only does not inf loop in the presence
2361 of consecutive nils in undo list.
2363 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2365 * faces.el (make-face): Deprecate optional argument as it is no
2366 longer needed/used since the conditional X resources handling
2367 has been pushed down to make-face-x-resource-internal itself.
2368 (make-empty-face): Don't pass optional argument to make-face.
2370 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2372 * international/characters.el <standard-case-table>: Add entries
2373 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2374 Set category of Coptic characters be 'g' (Greek).
2376 2014-04-12 Leo Liu <sdl.web@gmail.com>
2378 * progmodes/octave.el (completion-table-with-cache): Define if not
2380 (octave-goto-function-definition)
2381 (octave-sync-function-file-names)
2382 (octave-find-definition-default-filename): Backquote upattern for
2385 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2387 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2388 name twice due to backticks. (Bug#17238)
2390 2014-04-11 Glenn Morris <rgm@gnu.org>
2392 * term/w32-win.el (x-win-suspend-error):
2393 * term/x-win.el (x-win-suspend-error): Sync docs.
2395 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2397 Ediff's overlay priorities cause more trouble than they solve.
2398 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2399 (ediff-highest-priority): Remove function (bug#17234).
2400 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2401 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2402 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2405 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2407 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2408 entry; use symbol boundaries to avoid mis-matches.
2410 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2412 * net/tramp.el (tramp-file-name-handler)
2413 (tramp-completion-file-name-handler): Avoid recursive loading.
2415 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2416 Quote result also locally.
2418 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2420 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2421 Module methods. (Bug#17216)
2423 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2425 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2426 (describe-bindings-internal): Mark obsolete.
2428 2014-04-07 João Távora <joaotavora@gmail.com>
2431 (electric-pair--syntax-ppss): When inside comments parse from
2433 (electric-pair--balance-info): Fix typo in comment.
2434 (electric-pair--in-unterminated-string-p): Delete.
2435 (electric-pair--unbalanced-strings-p): New function.
2436 (electric-pair-string-bound-function): New var.
2437 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2438 according to `electric-pair--in-unterminated-string-p'
2440 2014-04-07 João Távora <joaotavora@gmail.com>
2442 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2443 Inhibit quote pairing if point-max is inside an unterminated string.
2444 (electric-pair--looking-at-unterminated-string-p): Delete.
2445 (electric-pair--in-unterminated-string-p): New function.
2447 2014-04-07 Glenn Morris <rgm@gnu.org>
2449 * shell.el (shell-directory-tracker):
2450 Go back to just ignoring failures. (Bug#17159)
2452 2014-04-06 João Távora <joaotavora@gmail.com>
2454 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2455 backspace. (bug#16981)
2456 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2457 (electric-pair-backward-delete-char-untabify): Delete.
2458 (electric-pair-mode-map): Bind backspace to a menu item filtering
2459 a new `electric-pair-delete-pair' command.
2460 (electric-pair-delete-pair): New command.
2462 2014-04-06 João Távora <joaotavora@gmail.com>
2464 * progmodes/python.el (python-electric-pair-string-delimiter):
2465 Fix triple-quoting electricity. (Bug#17192)
2467 2014-04-06 João Távora <joaotavora@gmail.com>
2469 * elec-pair.el (electric-pair-post-self-insert-function):
2470 Don't skip whitespace when `electric-pair-text-pairs' and
2471 `electric-pair-pairs' were used. syntax to
2472 electric-pair--skip-whitespace. (Bug#17183)
2474 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2476 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2479 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2482 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2484 2014-04-05 Glenn Morris <rgm@gnu.org>
2486 * help.el (view-lossage): Doc tweak.
2488 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2490 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2491 only when inhibit-x-resources is nil, and do that earlier in the
2492 function. Doc fix. (Bug#16694)
2493 (face-spec-choose): Accept additional optional argument, whose
2494 value is returned if no matching attributes are found.
2495 (face-spec-recalc): Use the new optional argument when calling
2496 face-spec-choose. (Bug#16378)
2497 (make-face-x-resource-internal): Do nothing when
2498 inhibit-x-resources is non-nil. Don't touch the default face if
2499 reversed video is given--as was done in previous versions of Emacs.
2500 (face-set-after-frame-default): Don't call
2501 make-face-x-resource-internal here. (Bug#16434)
2503 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2505 * doc-view.el (doc-view-bookmark-jump):
2506 Use `bookmark-after-jump-hook' to jump to the right page after the
2507 buffer is shown in a window. (bug#16090)
2509 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2511 * international/characters.el (mirroring): Fix last change:
2512 instead of loading uni-mirrored.el explicitly, do that implicitly
2513 by creating the 'mirroring' uniprop table. This avoids announcing
2514 the loading of uni-mirrored.el.
2516 2014-04-04 Glenn Morris <rgm@gnu.org>
2518 * files.el (buffer-stale--default-function)
2519 (buffer-stale-function, revert-buffer--default):
2520 * autorevert.el (auto-revert-buffers): Doc tweaks.
2522 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2524 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2526 2014-04-03 Glenn Morris <rgm@gnu.org>
2528 * files.el (make-backup-file-name-function)
2529 (make-backup-file-name, make-backup-file-name--default-function)
2530 (make-backup-file-name-1, find-backup-file-name)
2531 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2532 (buffer-stale--default-function, buffer-stale-function)
2533 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2534 (revert-buffer, revert-buffer--default)
2535 (revert-buffer-insert-file-contents--default-function):
2536 Doc fixes related to defaults no longer being nil.
2537 (make-backup-file-name-function): Bump :version.
2538 Restore nil as a valid but deprecated custom type.
2540 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2542 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2543 used as a variable (bug#17174).
2545 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2547 * progmodes/perl-mode.el (perl-indent-new-calculate):
2548 Handle forward-sexp failure (bug#16985).
2549 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2550 modifiers introducing expressions (bug#17116).
2552 2014-04-02 Glenn Morris <rgm@gnu.org>
2554 * menu-bar.el (menu-bar-file-menu):
2555 * vc/ediff.el (ediff-current-file):
2556 Update for revert-buffer-function no longer being nil by default.
2558 * simple.el (command-execute): Respect nil disabled-command-function.
2560 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2562 * simple.el (command-execute): Do not execute the command when it
2563 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2565 2014-03-29 Juri Linkov <juri@jurta.org>
2567 * dired-aux.el (dired-compress-file): Don't use string-match-p
2568 because its match data is used afterwards.
2570 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2575 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2577 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2578 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2580 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2581 Don't propertize `?' or `!' as symbol constituent when after
2584 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2586 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2587 which is no longer needed and causes trouble in GTK builds (bug#17046).
2589 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2590 Use url-insert-file-contents; package-handle-response no longer exists.
2592 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2594 * emacs-lisp/package.el: Fix bug#16733 (again).
2595 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2596 (url-http-target-url): Remove unused declarations.
2597 (package-handle-response): Remove.
2598 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2599 (package--download-one-archive): Use current-buffer instead of
2600 dynamic binding of `buffer'.
2601 (describe-package-1): Do not decode readme-string.
2603 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2605 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2607 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2609 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2611 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2612 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2613 `remote-file-name-inhibit-cache' to nil in the second pass.
2614 (tramp-find-executable): Do not call "which" on SunOS.
2615 (tramp-send-command-and-check): Fix docstring.
2616 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2617 check whether source directory has set the sticky bit.
2619 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2621 * simple.el (primitive-undo): Only process marker adjustments
2622 validated against their corresponding (TEXT . POS). Issue warning
2623 for lone marker adjustments in undo history. (Bug#16818)
2624 (undo-make-selective-list): Add marker adjustments to selective
2625 undo list based on whether their corresponding (TEXT . POS) is in
2626 the region. Remove variable adjusted-markers, which was unused
2627 and only non nil during undo-make-selective-list.
2628 (undo-elt-in-region): Return nil when passed a marker adjustment
2629 and explain in function doc.
2631 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2633 * emacs-lisp/package.el (package--add-to-archive-contents):
2634 Include already installed and built-in packages in
2635 `package-archive-contents'.
2636 (package-install): Don't include already installed packages in the
2637 options during interactive invocation. (Bug#16762)
2639 2014-03-24 Daniel Colascione <dancol@dancol.org>
2641 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2642 instead of cl-loop search function.
2644 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2646 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2648 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2650 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2652 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2654 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2655 Match special global variables without curlies, too.
2656 (ruby-font-lock-keywords): Simplify the matcher for special global
2657 variables. Don't require a non-word character after the variable.
2660 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2662 * simple.el (redisplay-highlight-region-function): Increase priority of
2663 overlay to make sure boundaries are visible (bug#15899).
2665 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2667 * frameset.el (frameset-restore): Compare display strings with equal.
2669 * frame.el (make-frame): Don't quote display name in error message,
2670 it is already a string.
2672 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2674 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2677 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2679 * emacs-lisp/package.el (package-show-package-list): If the buffer
2680 is already displayed in another window, switch to that window.
2682 2014-03-21 Daniel Colascione <dancol@dancol.org>
2684 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2685 information in bug reports.
2687 2014-03-23 Daniel Colascione <dancol@dancol.org>
2689 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2690 list to look for keyword arguments instead of `memq', fixing
2691 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2692 Please make bootstrap.
2694 2014-03-23 Richard Stallman <rms@gnu.org>
2696 * battery.el (battery-linux-sysfs): Search for each field
2697 from the beginning of the buffer.
2699 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2701 * emacs-lisp/package.el (package-desc): Use the contents of the
2702 quoted form, not its cdr. (Bug#16873)
2704 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2706 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2707 benefit of doc.c; change parameter profile to match the X function.
2709 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2711 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2712 and `tramp-copy-env'.
2714 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2715 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2717 2014-03-21 Glenn Morris <rgm@gnu.org>
2719 * electric.el (electric-indent-post-self-insert-function): Add doc.
2721 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2723 * emacs-lisp/package.el (package-compute-transaction):
2724 Use `version-list-<=' to compare the requirement version against
2725 the version of package already to be installed. Update the error
2726 message. (Bug#16826)
2728 * progmodes/ruby-mode.el (ruby-smie-rules):
2729 Add indentation rule for ` @ '. (Bug#17050)
2731 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2733 * align.el (align-regexp): Remove superfluous backslash.
2735 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2736 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2737 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2738 Fix docstring typos.
2739 (ffap-next): Use C-u in docstring.
2740 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2741 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2742 Remove superfluous backslashes.
2743 (ffap-string-at-point): Reflow docstring.
2745 * server.el (server-host): Reflow docstring.
2746 (server-unload-function): Fix docstring typo.
2747 (server-eval-at): Remove superfluous backslash.
2749 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2750 (skeleton-insert): Doc fix.
2751 (skeleton-insert): Reflow docstring.
2753 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2754 (tty-color-approximate, tty-color-by-index, tty-color-values)
2755 (tty-color-desc): Remove superfluous backslashes.
2757 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2759 * electric.el (electric-newline-and-maybe-indent): New command.
2760 Bind it globally to C-j.
2761 (electric-indent-mode): Don't mess with the global map any more.
2762 Don't drop the post-self-insert-hook is some buffer is still using it
2765 * bindings.el (global-map): Remove C-j binding.
2767 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2768 the docstring of functions advised before dumping (bug#16993).
2770 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2772 * ps-print.el (ps-generate-postscript-with-faces):
2773 Explicitly deactivate the mark (bug#16866).
2774 * simple.el (deactivate-mark): Update region highlight.
2776 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2778 * emacs-lisp/package.el (describe-package-1):
2779 Decode commentary (bug#16733).
2781 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2783 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2784 modification of the value argument of :set (bug#16755).
2786 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2788 * simple.el (newline-and-indent): Do autofill (bug#17031).
2790 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2792 * newcomment.el (comment-normalize-vars): Only add escaping check
2793 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2794 (comment-beginning): Use `narrow-to-region' instead of moving back
2796 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2797 (comment-start-skip): Update the docstring.
2799 2014-03-18 Richard Stallman <rms@gnu.org>
2801 * dired.el (dired-display-file): Force use of other window.
2803 2014-03-18 Daniel Colascione <dancol@dancol.org>
2805 * startup.el (tty-handle-args): Remove debug message from 2007.
2807 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2809 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2810 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2811 (advice--make-1, advice-add, advice-remove):
2812 Remove braindead :advice-pending hack.
2814 2014-03-17 Glenn Morris <rgm@gnu.org>
2816 * calendar/calendar.el (calendar-generate-month): Apply weekend
2817 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2819 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2821 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2822 (tramp-call-process): Trace also DESTINATION.
2824 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2825 Quote file names when they are local. Remove superfluous trace.
2827 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2829 * newcomment.el (comment-beginning): If `comment-start-skip'
2830 doesn't match, move back one char and try again. (Bug#16971)
2832 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2833 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2834 Set `comment-start-skip' to a simpler value that doesn't try to
2835 check if the semicolon is escaped (this is handled by
2836 `syntax-ppss' now). (Bug#16971)
2838 * progmodes/scheme.el (scheme-mode-variables): Same.
2840 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2842 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2843 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2844 current (Bug#16816, Bug#17007).
2845 (with-current-buffer-window): New macro doing the same as
2846 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2847 * help.el (help-print-return-message): Warn in doc-string to not
2848 use this in `with-help-window'.
2849 (describe-bindings-internal): Call `describe-buffer-bindings'
2850 from within help buffer. See Juanma's scenario in (Bug#16816).
2851 (with-help-window): Update doc-string.
2852 * dired.el (dired-mark-pop-up):
2853 * files.el (save-buffers-kill-emacs):
2854 * register.el (register-preview): Use `with-current-buffer-window'
2855 instead of `with-temp-buffer-window'.
2857 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2859 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2860 Implement inserting into current buffer, documented in their docstrings.
2861 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2862 (rst-section-tree-point, rst-forward-section, rst-indent)
2863 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2864 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2865 (rst-font-lock-handle-adornment-pre-match-form)
2866 (rst-repeat-last-character): Reflow docstrings.
2867 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2868 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2869 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2870 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2871 Fix docstring typos.
2872 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2873 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2874 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2876 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2878 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2879 for compatibility with other ports.
2880 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2881 from the -xrm command line argument, but in the Nextstep port its value
2882 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2884 * progmodes/python.el (defconst, python-syntax-count-quotes)
2885 (python-indent-region, python-indent-shift-right)
2886 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2887 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2888 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2889 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2890 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2891 (python-shell-buffer-substring, python-shell-send-buffer)
2892 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2893 (python-completion-complete-at-point, python-fill-docstring-style)
2894 (python-eldoc-function, python-imenu-format-item-label)
2895 (python-imenu-format-parent-item-label)
2896 (python-imenu-format-parent-item-jump-label)
2897 (python-imenu--build-tree, python-imenu-create-index)
2898 (python-imenu-create-flat-index): Fix docstring typos.
2899 (python-indent-context, python-shell-prompt-regexp, run-python):
2900 Remove superfluous backslashes.
2901 (python-indent-line, python-nav-beginning-of-defun)
2902 (python-shell-get-buffer, python-shell-get-process)
2903 (python-info-current-defun, python-info-current-line-comment-p)
2904 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2905 (python-indent-post-self-insert-function, python-shell-send-file)
2906 (python-shell-completion-get-completions)
2907 (python-shell-completion-complete-or-indent)
2908 (python-eldoc--get-doc-at-point): Reflow docstrings.
2910 2014-03-14 Glenn Morris <rgm@gnu.org>
2912 * emacs-lisp/package.el (package-menu-mode-map):
2913 Replace use of obsolete function alias. Tweak menu item text.
2915 * info.el (Info-finder-find-node):
2916 Ignore the `emacs' metapackage. (Bug#10813)
2918 * finder.el (finder-list-matches): Include unversioned packages
2919 in the result of a keyword search.
2921 * finder.el (finder--builtins-descriptions): New constant.
2922 (finder-compile-keywords): Use finder--builtins-descriptions.
2924 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2926 * simple.el (blink-matching-paren): Describe the new value,
2927 `jump', enabling the old behavior.
2928 (blink-matching-open): Use that value. (Bug#17008)
2930 2014-03-14 Glenn Morris <rgm@gnu.org>
2932 * finder.el (finder-no-scan-regexp): Add leim-list.
2933 (finder-compile-keywords):
2934 Don't skip files with same basename. (Bug#14010)
2935 * Makefile.in (setwins_finder): New, excluding leim.
2936 (finder-data): Use setwins_finder.
2938 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2939 (help-function-arglist, help-make-usage): Move from here...
2940 * help.el (help-split-fundoc, help-add-fundoc-usage)
2941 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2942 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2944 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2946 * net/socks.el (socks, socks-override-functions)
2947 (socks-find-services-entry):
2948 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2949 (hif-find-ifdef-block):
2950 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2952 * net/tls.el (tls-program): Reflow docstring.
2954 * progmodes/pascal.el (pascal-mode-abbrev-table)
2955 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2956 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2957 (pascal-outline-mode): Fix docstring typos.
2958 (pascal-mode): Let define-derived-mode document mode hook.
2959 (pascal-uncomment-area): Reflow.
2960 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2962 * progmodes/opascal.el (opascal-compound-block-indent)
2963 (opascal-case-label-indent): Fix docstring typos.
2964 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2966 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2968 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2969 Fontify multiple adjacent negation chars. (Bug#17004)
2971 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2973 * emacs-lisp/package.el (package--prepare-dependencies):
2974 Accept requirements without explicit version (bug#14941).
2976 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2978 * register.el (register-separator, copy-to-register): Doc fixes.
2979 (register-preview-default): Remove unnecessary call to concat.
2981 * frameset.el (frameset-restore): When checking for a visible frame,
2982 use the action map instead of calling visible-frame-list.
2984 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2986 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2988 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2990 * window.el (fit-frame-to-buffer): Get maximum width from
2991 display's width instead of height.
2993 2014-03-12 Glenn Morris <rgm@gnu.org>
2995 * desktop.el (desktop-restore-frames)
2996 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2997 (desktop-restore-reuses-frames): Doc tweaks.
2999 * electric.el (electric-indent-mode): Doc fix.
3001 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3003 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3004 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3005 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3006 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3007 (cvs-dired-use-hook): Fix docstring typos.
3008 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3011 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3012 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3013 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3014 (cvs-execute-single-dir): Fix docstring typos.
3016 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3017 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3019 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3021 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3022 Fix docstring typos.
3024 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3026 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3027 called from jump-to-register after unloading the frameset package.
3029 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3031 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3032 (bug#16975). Deactivate the mark before setting it to nil.
3033 (activate-mark): Do nothing if region is already active.
3035 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3037 * frameset.el (frameset--target-display): Remove definition; declare.
3038 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3040 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3043 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3044 when the advice is pending.
3045 (advice-remove): Remove this marker when not needed any more.
3047 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3049 * frameset.el: Separate options for reusing frames and cleaning up.
3050 (frameset--reuse-list): Remove definition; declare.
3051 (frameset--action-map): Declare.
3052 (frameset--find-frame-if): Doc fix.
3053 (frameset--restore-frame): Cache frame action.
3054 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3055 how to clean up the frame list after restoring. Remove cleaning
3056 options from REUSE-FRAMES. Change all keyword values to symbols.
3057 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3059 * desktop.el (desktop-restore-forces-onscreen)
3060 (desktop-restore-reuses-frames): Use non-keyword values.
3061 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3063 2014-03-10 Glenn Morris <rgm@gnu.org>
3065 * files.el (find-file): Doc fix: update info node name.
3067 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3068 Doc fix: remove references to deleted info nodes.
3070 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3072 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3073 Do not add `nil' to the environment, when there's no remote `locale'.
3074 (tramp-find-inline-encoding): Check, that the remote host has
3075 installed perl, before sending scripts.
3077 2014-03-10 Leo Liu <sdl.web@gmail.com>
3079 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3080 Clear eldoc-last-message. (Bug#16920)
3082 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3084 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3087 2014-03-09 Juri Linkov <juri@jurta.org>
3089 * ansi-color.el (ansi-color-names-vector): Copy default colors
3090 from `xterm-standard-colors' that look well on the default white
3091 background (and also on the black background) to avoid illegible
3092 color combinations like yellow-on-white and white-on-white.
3093 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3095 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3097 * frameset.el (frameset-restore): When no frame is visible, do not
3098 generate a list of frames, just make visible the selected one.
3100 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3102 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3103 it only contains the repository root. (Bug#16897)
3105 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3107 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3108 only when `remote-file-name-inhibit-cache' is nil.
3109 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3111 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3113 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3115 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3116 fit-frame-to-buffer variable. Fix doc-string.
3117 (fit-window-to-buffer): Set ONLY argument in call of
3118 fit-frame-to-buffer. Fix doc-string.
3120 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3122 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3123 (tramp-action-password): Clear password cache if needed.
3124 (tramp-read-passwd): Do not clear password cache.
3126 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3127 cache unless it is the first password request.
3129 2014-03-06 Glenn Morris <rgm@gnu.org>
3131 * simple.el (newline): Doc tweak.
3133 * emacs-lisp/shadow.el (load-path-shadows-find):
3134 Ignore dir-locals. (Bug#12357)
3136 2014-03-05 Glenn Morris <rgm@gnu.org>
3138 * files.el (interpreter-mode-alist):
3139 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3141 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3143 * frameset.el (frameset--initial-params): Filter out null entries.
3145 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3147 * window.el (window-min-height, window-min-width):
3148 Rewrite doc-strings.
3149 (window-body-size): Add PIXELWISE argument to make it consistent
3152 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3154 * finder.el (finder-mode-map, finder-mode-syntax-table):
3155 Revert part of 2014-02-28 change.
3157 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3159 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3160 (eww-setup-buffer): Clear next/prev/etc more reliably.
3161 (eww-textarea-map): [tab] doesn't work on tty.
3162 Reported by Mario Lang.
3164 * net/shr.el (shr-map): Ditto.
3166 2014-03-04 Glenn Morris <rgm@gnu.org>
3168 * minibuffer.el (completion-hilit-commonality):
3169 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3171 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3173 * hilit-chg.el (hilit-chg-unload-function): New function.
3174 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3175 (hilit-chg-map-changes): Prefer cardinal number to digit.
3176 (hilit-chg-display-changes): Reflow docstring.
3177 (highlight-changes-rotate-faces): Remove superfluous backslash.
3179 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3181 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3182 `tramp-send-command-and-check'.
3184 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3186 * hexl.el (hexl-address-region, hexl-ascii-region)
3187 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3188 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3189 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3190 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3191 (hexl-mode): Doc fix.
3192 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3193 (hexl-mode-ruler): Fix typos in docstrings.
3195 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3196 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3197 Remove superfluous backslashes.
3198 (strokes-last-stroke, strokes-global-map, strokes-mode):
3200 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3201 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3202 (strokes-distance-squared, strokes-global-set-stroke)
3203 (strokes-global-set-stroke-string): Doc fixes.
3204 (strokes-help): Fix typos; reflow docstring.
3206 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3208 * window.el (window-in-direction): Fix doc-string.
3210 2014-03-04 Glenn Morris <rgm@gnu.org>
3212 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3213 Explicit error if no grammar.
3214 (smie-config-save): Doc fix. Fix quote typo.
3216 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3218 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3219 electric-indent-mode-hook if we obey electric-indent-mode.
3220 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3221 decide whether we obey electric-indent-mode.
3222 (c-change-set-fl-decl-start, c-extend-after-change-region):
3224 (c-electric-indent-mode-hook): Assume we do want to obey
3225 electric-indent-mode.
3227 * electric.el (electric-indent-mode-has-been-called): Remove.
3228 (electric-indent-mode): Fix accordingly.
3230 * files.el (hack-local-variables): Mention file name in warning.
3232 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3234 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3236 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3237 * simple.el (delete-forward-char): Mark as interactive-only.
3239 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3241 * icomplete.el (icomplete-completions):
3242 Follow-up to 2014-03-01 change.
3244 * icomplete.el: Miscellaneous doc fixes.
3245 Use Icomplete everywhere instead of icomplete for consistency.
3246 (icomplete-max-delay-chars): Fix typo.
3247 (icomplete-mode): Use \[].
3248 (icomplete-tidy, icomplete-exhibit): Reflow.
3249 (icomplete-minibuffer-setup-hook, icomplete-completions):
3250 Remove superfluous backlashes.
3252 * ido.el: Miscellaneous doc fixes.
3253 Use Ido everywhere instead of ido or `ido' for consistency.
3254 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3255 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3256 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3257 (ido-separator): Extract obsolescence info from docstring and declare
3258 with make-obsolete-variable.
3259 (ido-minibuffer-setup-hook): Simplify example.
3260 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3261 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3262 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3263 (ido-everywhere): Reflow docstring.
3264 (ido-toggle-vc): Doc fix.
3265 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3266 of long list of keybindings.
3268 2014-03-03 Glenn Morris <rgm@gnu.org>
3270 * frame.el (display-pixel-height, display-pixel-width)
3271 (display-mm-dimensions-alist, display-mm-height)
3272 (display-mm-width): Doc tweaks.
3274 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3276 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3277 case of undo in region.
3279 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3281 * window.el (fit-window-to-buffer): Fix argument in window-size
3282 call when window is horizontally combined.
3284 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3286 * icomplete.el (icomplete-completions): Use string-width.
3287 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3289 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3291 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3292 Highlight regexp options. (Bug#16914)
3294 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3296 * window.el (window--max-delta-1): Round down when calculating
3297 how many lines/columns we can get from a window.
3299 2014-03-01 Glenn Morris <rgm@gnu.org>
3301 * isearch.el (search-invisible): Doc fix.
3303 * minibuffer.el (completion-hilit-commonality):
3304 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3305 * comint.el (comint-dynamic-list-completions): Doc fix.
3306 * comint.el (comint-dynamic-list-completions):
3307 * filecache.el (file-cache-minibuffer-complete):
3308 * tempo.el (tempo-display-completions):
3309 * eshell/em-hist.el (eshell-list-history):
3310 Replace use of obsolete argument of display-completion-list.
3312 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3314 * icomplete.el (icomplete-completions):
3315 Revert back to using "..." when ?… cannot be displayed.
3317 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3319 * finder.el (finder-unload-function): New function.
3321 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3323 * dframe.el (dframe-detach):
3324 * find-dired.el (find-dired, find-name-dired):
3325 * finder.el (finder-mode-map, finder-mode-syntax-table)
3326 (finder-headmark, finder-select, finder-mouse-select):
3327 Fix docstring typos.
3329 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3331 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3332 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3333 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3334 Fix doc-string based on a suggestion by Nicolas Richard
3335 <theonewiththeevillook@yahoo.fr>.
3336 * help.el (with-help-window): Fix doc-string.
3338 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3340 * net/shr.el (shr-image-animate): New option.
3341 (shr-put-image): Respect shr-image-animate.
3343 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3345 * net/tramp-adb.el (tramp-adb-parse-device-names):
3346 Use `accept-process-output'.
3347 (tramp-adb-handle-file-truename): Cache the localname only.
3348 (tramp-adb-handle-make-directory)
3349 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3350 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3351 modes cannot be changed.
3353 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3354 file properties of symlinks.
3356 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3358 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3359 required/optional fields to match development biblatex. (Bug#16781)
3361 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3363 * saveplace.el (toggle-save-place):
3364 Fix argument handling. (Bug#16673)
3366 2014-02-28 Glenn Morris <rgm@gnu.org>
3368 * minibuffer.el (completions-first-difference)
3369 (completions-common-part, completion-hilit-commonality): Doc fixes.
3371 2014-02-28 Karl Berry <karl@gnu.org>
3373 * info.el (Info-mode-map): Add H for describe-mode,
3374 to synchronize with standalone Info.
3376 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3378 * progmodes/sql.el (sql-interactive-mode):
3379 Avoid setting global comint-input-ring-separator. (Bug#16814)
3381 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3383 * net/dbus.el (dbus--init-bus): Declare function.
3384 (dbus-path-local, dbus-interface-local): New defconst.
3385 (dbus-init-bus): Use them.
3386 (dbus-return-values-table): Extend doc.
3387 (dbus-handle-bus-disconnect): Extend error message.
3389 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3391 * subr.el (y-or-n-p): Fix double space issue in message.
3393 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3395 * net/tramp.el (tramp-call-process): Improve trace message.
3396 (tramp-handle-insert-file-contents): Trace error case.
3398 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3399 <insert-directory>: Use `tramp-handle-insert-directory'.
3400 (tramp-adb-handle-insert-directory): Remove function.
3401 (tramp-adb-send-command-and-check): New defun, replacing
3402 `tramp-adb-command-exit-status'. Change all callees.
3403 (tramp-adb-handle-file-attributes)
3404 (tramp-adb-handle-directory-files-and-attributes): Use it.
3405 (tramp-adb-ls-output-name-less-p):
3406 Use `directory-listing-before-filename-regexp'.
3407 (tramp-adb-handle-delete-directory): Flush also file properties of
3408 the truename of directory.
3409 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3410 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3411 (tramp-adb-handle-write-region): Implement APPEND.
3412 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3413 properties correctly.
3414 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3415 variables. Check for connected devices only when needed.
3417 2014-02-27 Glenn Morris <rgm@gnu.org>
3419 * minibuffer.el (completion-table-dynamic)
3420 (completion-table-with-cache): Doc fixes.
3422 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3423 (completing-read-multiple): Doc fixes.
3425 2014-02-27 Daniel Colascione <dancol@dancol.org>
3427 * minibuffer.el (completion--nth-completion): Fix indentation.
3429 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3430 explicit tramp path is empty.
3432 2014-02-27 Glenn Morris <rgm@gnu.org>
3434 * emacs-lisp/crm.el (completing-read-multiple):
3435 Empower help-enable-auto-load.
3437 2014-02-26 Glenn Morris <rgm@gnu.org>
3439 * startup.el (command-line): Don't init the tty in daemon mode.
3441 Avoid calling tty-setup-hook twice, eg if a term file
3442 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3443 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3444 (tty-create-frame-with-faces): Use it.
3445 * startup.el (command-line): Pass run-hook argument
3446 to tty-run-terminal-initialization.
3448 * dired.el (dired-restore-desktop-buffer): Demote errors;
3449 eg in case a glob match fails. (Bug#16884)
3451 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3453 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3454 error from `read-from-string'. (Bug#16850)
3456 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3457 result of `completing-read' in the interactive form. (Bug#16854)
3459 2014-02-25 Glenn Morris <rgm@gnu.org>
3461 * image.el (image-animate, image-animate-timeout):
3462 Stop animating images in dead buffers. (Bug#16878)
3464 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3466 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3468 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3469 * term/sun.el (sun-raw-prefix-hooks):
3470 Use tty-setup-hook instead of term-setup-hook.
3471 (terminal-init-sun): Construct message from bytecomp plist.
3472 * term/wyse50.el (enable-arrow-keys): Doc fix.
3474 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3476 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3477 Fix docstring typos.
3479 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3481 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3483 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3485 * minibuffer.el (completion--try-word-completion):
3486 Fix error when completing M-x commands (bug#16808).
3488 2014-02-24 Leo Liu <sdl.web@gmail.com>
3490 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3492 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3494 * apropos.el (apropos-print): Avoid formatting error when
3495 apropos-do-all and apropos-compact-layout are both t.
3497 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3499 * apropos.el (apropos-property, apropos-all-words-regexp)
3500 (apropos-true-hit, apropos-variable, apropos-print):
3501 Fix docstring typos, and remove obsolete comment.
3503 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3505 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3506 Preserve trailing "/". (Bug#16851)
3508 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3510 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3511 after `=>' (bug#16811).
3512 (ruby-smie-rules): Handle the inconsistent second element of the
3513 list returned by `smie-indent--parent'.
3514 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3517 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3519 * elec-pair.el (electric-pair-text-syntax-table)
3520 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3521 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3522 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3523 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3525 2014-02-22 Glenn Morris <rgm@gnu.org>
3527 * imenu.el (imenu--generic-function): Doc fix.
3529 * register.el (frame-configuration-to-register): Make obsolete.
3531 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3533 * desktop.el (desktop-save-buffer-p): Do not fail when
3534 desktop-files-not-to-save is nil. Return t for true result
3537 2014-02-22 Daniel Colascione <dancol@dancol.org>
3539 * net/secrets.el (secrets-create-item, secrets-search-items):
3540 Check that attribute values are strings, avoiding the construction
3541 of invalid dbus messages.
3543 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3545 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3546 defun-declarations-alist.
3548 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3550 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3553 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3555 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3556 (whitespace-newline, whitespace-trailing, whitespace-line)
3557 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3558 (whitespace-space-after-tab): Fix typo in docstrings.
3560 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3562 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3564 * electric.el (electric-indent-functions-without-reindent):
3565 Add `yaml-indent-line'.
3567 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3569 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3570 It has done nothing for years; should be removed after the release.
3572 * simple.el (choose-completion): Fix docstring typo.
3573 (read-quoted-char-radix): Remove unneeded * in docstring.
3574 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3575 Don't escape parentheses unnecessarily in docstrings.
3577 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3579 Fix handling of window-min-height/-width (Bug#16738).
3580 * window.el (window--dump-window, window--dump-frame):
3582 (window--min-size-1): Account for window dividers.
3583 When window-resize-pixelwise is nil, delay rounding till after the
3584 sum of the window components has been calculated.
3585 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3586 nil make sure at least one text line and two text columns remain
3588 (window-resize): Signal an error when window-resize-apply fails.
3589 (window--resize-child-windows): Fix calculation of by how many
3590 pixels a window can still be shrunk via window-new-normal.
3591 (adjust-window-trailing-edge): Call window--resizable with
3592 correct TRAIL argument.
3594 (with-temp-buffer-window): Don't evaluate BODY within
3595 with-current-buffer (Bug#16816).
3597 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3599 * net/tramp.el (tramp-check-cached-permissions):
3600 Call `file-attributes' with `suffix' being a symbol but a string.
3602 2014-02-21 Daniel Colascione <dancol@dancol.org>
3604 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3605 (dbus-init-bus): New function: call into dbus-init-bus-1
3606 and installs a handler for the disconnect signal.
3607 (dbus-call-method): Rewrite to look for result in cons.
3608 (dbus-call-method-handler): Store result in cons.
3609 (dbus-check-event): Recognize events with nil sender as valid.
3610 (dbus-handle-bus-disconnect): New function. React to bus
3611 disconnection signal by synthesizing dbus error for each
3612 pending synchronous or asynchronous call.
3613 (dbus-notice-synchronous-call-errors): New function.
3614 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3615 is true, not all the time.
3617 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3619 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3620 Remove obsolescence declarations, these variables do not exist anymore.
3622 * savehist.el (savehist-save-minibuffer-history)
3623 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3624 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3625 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3626 mostly, refer to "Savehist mode" when talking about the mode,
3627 and not the function.
3629 * saveplace.el (save-place): Remove redundant info in docstring.
3630 (save-place-forget-unreadable-files, toggle-save-place)
3631 (save-place-forget-unreadable-files, save-place-dired-hook):
3632 Fix typos and remove unneeded backslashes.
3634 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3636 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3637 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3639 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3640 <insert-directory>: Use `tramp-handle-insert-directory'.
3641 (tramp-gvfs-handle-insert-directory): Remove function.
3643 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3644 Call `tramp-handle-insert-directory'.
3646 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3648 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3649 before the start of buffer/region (bug#16799).
3651 2014-02-20 Glenn Morris <rgm@gnu.org>
3653 * isearch.el (search-invisible): Doc fix.
3655 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3657 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3660 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3662 * frameset.el (frameset-restore): Delay removing an old frame's
3663 duplicate id until the new frame has been correctly created.
3665 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3667 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3668 (tramp-check-cached-permissions): Call `file-attributes' if the
3671 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3672 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3674 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3675 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3676 (tramp-gvfs-maybe-open-connection): Set always connection
3677 properties, even if target is mounted already.
3679 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3680 Set tramp-autoload cookie.
3681 (tramp-get-remote-touch): New defun.
3682 (tramp-sh-handle-set-file-times): Use it.
3683 (tramp-sh-handle-directory-files-and-attributes):
3684 Use `tramp-handle-directory-files-and-attributes' if neither stat
3685 nor perl are available on the remote host.
3687 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3688 "/". Write long listing only when "l" belongs to the switches.
3690 * net/trampver.el: Update release number.
3692 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3694 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3696 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3698 * window.el (window-state-put): Allow WINDOW to refer to an
3699 internal window (Bug#16793).
3701 2014-02-19 Glenn Morris <rgm@gnu.org>
3703 * textmodes/remember.el: Move provide statement to end.
3704 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3705 (remember-notes): Doc fixes.
3707 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3709 * delsel.el (delete-char): Restore incorrectly erased property
3712 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3714 * frameset.el (frameset--restore-frame): When a frame is being reused
3715 and its root window is not alive, delete all the frame's windows before
3716 restoring the window state. This works around the issue in bug#16793.
3718 2014-02-18 Glenn Morris <rgm@gnu.org>
3720 * textmodes/remember.el (remember-data-directory)
3721 (remember-directory-file-name-format, remember-store-in-files)
3722 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3723 (remember-notes-save-and-bury-buffer)
3724 (remember-notes--kill-buffer-query): Doc fixes.
3726 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3728 2014-02-17 Alan Mackenzie <acm@muc.de>
3730 Connect electric-indent-mode up with CC Mode. Bug #15478.
3731 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3732 to electric-indent-{,local-}-mode.
3733 (c-basic-common-init): Set electric-indent-inhibit.
3734 Initialise c-electric-flag from electric-indent-mode.
3735 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3736 New hook functions which propagate electric-indent-mode to CC mode.
3738 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3739 hit, toggle electric-indent-local-mode.
3741 * electric.el (electric-indent-mode-has-been-called):
3744 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3746 * frameset.el (frameset-cfg-id): New function.
3747 (frameset--reuse-frame, frameset-restore): Use it.
3748 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3750 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3752 * ido.el (ido-file-internal): Remove unused var `d'.
3753 Use \` for to match BoS. Fit within 80n columns.
3755 2014-02-17 Daniel Colascione <dancol@dancol.org>
3757 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3758 dbus-call-method check for completion using a busy-wait loop with
3761 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3763 Sync with Tramp 2.2.9.
3765 * net/trampver.el: Update release number.
3767 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3769 * ido.el (ido-file-internal): Don't add the name of an existing
3770 directory twice. (Bug#16747)
3772 2014-02-16 Glenn Morris <rgm@gnu.org>
3774 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3775 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3777 2014-02-15 Michael R. Mauger <michael@mauger.com>
3779 * progmodes/sql.el: Version 3.4
3780 (sql-oracle-options): New default value ("-L").
3781 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3782 (sql-placeholders-filter): Correct placeholder pattern.
3783 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3784 (sql-login-delay): New variable.
3785 (sql-product-interactive): Use it.
3787 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3789 * frameset.el (frameset--jump-to-register): Check that buffer is live
3792 2014-02-15 Glenn Morris <rgm@gnu.org>
3794 * info.el (info-initialize): Revert 2014-01-10 change.
3796 2014-02-14 Glenn Morris <rgm@gnu.org>
3798 * replace.el (map-query-replace-regexp)
3799 (read-regexp-defaults-function, read-regexp): Doc fixes.
3801 * dired.el (dired-read-regexp):
3802 * faces.el (list-faces-display):
3803 * misearch.el (multi-isearch-read-matching-buffers)
3804 (multi-isearch-read-matching-files):
3805 * play/cookie1.el (cookie-apropos):
3806 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3808 * textmodes/remember.el (remember): Use frameset-to-register
3809 rather than frame-configuration-to-register.
3811 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3813 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3814 incorrect keybinding.
3816 2014-02-13 Daniel Colascione <dancol@dancol.org>
3818 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3819 when adding overlays so that line numbers from compiler match line
3822 2014-02-13 Glenn Morris <rgm@gnu.org>
3824 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3826 * jit-lock.el (jit-lock-mode): Doc fix.
3828 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3830 * apropos.el (apropos-read-pattern): When the user passes an empty
3831 string, give a more helpful error message than "Wrong type
3832 argument: stringp, nil".
3834 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3836 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3838 2014-02-13 Glenn Morris <rgm@gnu.org>
3840 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3842 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3844 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3845 shift-select commands.
3847 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3849 * progmodes/js.el (js-indent-line): Don't widen.
3850 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3852 2014-02-12 Glenn Morris <rgm@gnu.org>
3854 * icomplete.el (icomplete): Add info-link to defgroup.
3855 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3856 (icomplete-minibuffer-map, icomplete-mode)
3857 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3859 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3860 (package-menu-filter): Rename from package-menu-filter-interactive.
3863 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3865 * frameset.el (frameset--jump-to-register): Select the required
3866 window and buffer before restoring position (bug#16696).
3868 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3870 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3872 2014-02-10 Glenn Morris <rgm@gnu.org>
3874 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3876 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3878 * w32-common-fns.el (x-get-selection): Doc fix.
3879 * select.el (x-get-selection): Doc fix. (Bug#15109)
3881 * face-remap.el (face-remap-add-relative)
3882 (face-remap-remove-relative, face-remap-reset-base)
3883 (face-remap-set-base): Call force-mode-line-update to redisplay
3884 the current buffer due to potential change in faces. (Bug#16709)
3886 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3888 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3889 script more robustly.
3891 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3893 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3895 * simple.el (choose-completion): Doc fix (bug#14160).
3897 * subr.el (event-start): Say what a nil EVENT value means.
3899 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3902 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3904 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3906 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3908 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3909 predicate function (bug#15455).
3911 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3913 * ielm.el (inferior-emacs-lisp-mode): Instead of
3914 `comment-use-global-state', set `comment-use-syntax'.
3916 2014-02-10 Glenn Morris <rgm@gnu.org>
3918 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3920 2014-02-09 Alan Mackenzie <acm@muc.de>
3922 Fix c-invalidate-state-cache on narrowed buffers.
3923 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3924 Widen when setting and clearing the CPP delimiter properties.
3926 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3928 * help.el (describe-bindings): Doc fix (bug#9888).
3930 * files.el (save-buffer): Use ARG as the parameter name for
3931 consistency (bug#10346).
3932 (save-buffer): Clarify the 0 argument (bug#10346).
3934 * cus-edit.el (customize-apropos): Fix error string.
3935 (custom-buffer-create): Doc fix (bug#11122).
3936 (custom-sort-items): Doc fix (bug#11121).
3938 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3940 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3941 (icomplete-simple-completing-p): Mention the previous variable.
3943 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3944 meaning of the parameter (bug#12282).
3946 * files.el (find-file-noselect): Clarify prompt when changing
3947 readedness (bug#13261).
3948 (locate-file): Suffixes aren't returned, so don't say that they
3950 (backup-inhibited): Doc clarification (bug#12525).
3952 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3953 before we actually start to delete things (bug#16331).
3955 * subr.el (event-start): Doc fix (bug#14228).
3958 2014-02-09 Glenn Morris <rgm@gnu.org>
3960 * emacs-lisp/warnings.el (lwarn):
3961 Empower help-enable-auto-load. (Bug#15940)
3963 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3965 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3968 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3970 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3971 Insert output at end of buffer. (Bug#16120)
3973 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3975 * simple.el (choose-completion-string-functions): Document new
3976 calling convention (bug#14153).
3977 (execute-extended-command): Clarify doc string (bug#13373).
3979 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3981 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3982 (find-grep-dired): Doc fix (bug#14288).
3984 2014-02-08 Juri Linkov <juri@jurta.org>
3986 * isearch.el (isearch-quote-char): Check character validity
3987 like in `quoted-insert' (bug#16677).
3989 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3991 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3993 * isearch.el (isearch-hide-immediately): Doc clarification
3996 * simple.el (line-move): Document utility function used many
3997 places in the Emacs sources (bug#14843).
3999 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4000 (dired-prev-marked-file): Doc fix (bug#14855).
4001 (dired-up-directory): Doc fix (bug#14848).
4003 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4005 * files.el (file-relative-name): Doc fix (bug#15159).
4007 * fringe.el (fringe-styles): Doc fix (bug#15239).
4009 * isearch.el (isearch-filter-predicate): Documentation typo fix
4012 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4014 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4016 * replace.el (replace-match-maybe-edit): Doc clarification
4019 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4021 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4023 2014-02-08 Glenn Morris <rgm@gnu.org>
4025 * help-fns.el (describe-variable):
4026 Check {file,dir}-local-variables-alist, and buffer-file-name,
4027 in the correct buffer.
4029 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4031 * help-fns.el (describe-variable): Fix the case where
4032 a value is directory-local with no dir-locals file. (Bug#16635)
4034 2014-02-08 Glenn Morris <rgm@gnu.org>
4036 * abbrev.el (edit-abbrevs-mode):
4037 Derive from fundamental-mode. (Bug#16682)
4039 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4041 * simple.el (quoted-insert): Check character validity (bug#16677).
4043 2014-02-07 Juri Linkov <juri@jurta.org>
4045 * desktop.el (desktop-read): Claim the lock when the owner is not
4046 the current process. (Bug#16157)
4048 2014-02-07 Juri Linkov <juri@jurta.org>
4050 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4051 to "\\` ". (Bug#16651)
4053 2014-02-07 Juri Linkov <juri@jurta.org>
4055 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4056 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4057 (desktop-auto-save-cancel-timer): New function with some code from
4058 `desktop-auto-save-set-timer'.
4059 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4060 Instead of setting `desktop-save-mode' to nil, call
4061 `desktop-save-mode' with arg 0. (Bug#16630)
4063 2014-02-07 Glenn Morris <rgm@gnu.org>
4065 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4066 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4067 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4069 * obsolete/iswitchb.el: Move to obsolete/.
4070 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4071 since obsolete/ is not scanned for autoloads.
4072 * emacs-lisp/authors.el (authors-valid-file-names):
4075 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4076 Disable now non-functional find-file-hook.
4078 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4080 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4081 instead of ";" in order to avoid additional prompts. Let heredoc
4082 scripts read from tty. (Bug#16582)
4083 (tramp-send-command): No special handling of heredocs, it isn't
4086 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4089 with a space (bug#16664). Limit the symbols considered to the ones
4090 that are bound or fbound (bug#16646).
4092 2014-02-06 Glenn Morris <rgm@gnu.org>
4094 * epa.el (epa-mail-aliases): Doc fix.
4096 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4098 * emacs-lisp/lisp.el (lisp-completion-at-point):
4099 Use `completion-table-merge' instead of `completion-table-in-turn'
4102 * minibuffer.el (completion-table-merge): New function.
4104 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4106 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4107 (tramp-sh-handle-set-file-acl)
4108 (tramp-sh-handle-start-file-process)
4109 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4110 (tramp-find-executable, tramp-send-command): Use it.
4112 2014-02-05 Glenn Morris <rgm@gnu.org>
4114 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4116 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4118 * progmodes/python.el (python-shell-send-string)
4119 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4121 2014-02-04 Anders Lindgren <andlind@gmail.com>
4123 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4124 the names (bug#16620).
4126 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4128 * faces.el (window-divider): New default value. Rewrite doc-string.
4129 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4131 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4133 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4134 `protected' and `public' can also be called without arguments.
4136 2014-02-03 Glenn Morris <rgm@gnu.org>
4138 * register.el (window-configuration-to-register)
4139 (frame-configuration-to-register): Unadvertise unused argument.
4140 * frameset.el (frameset-to-register): Remove unused argument.
4142 * frameset.el (frameset-to-register):
4143 * kmacro.el (kmacro-to-register):
4144 * register.el (increment-register):
4145 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4146 (calc-append-to-register, calc-prepend-to-register):
4147 * play/gametree.el (gametree-layout-to-register)
4148 (gametree-apply-register-layout):
4149 * textmodes/picture.el (picture-clear-rectangle-to-register)
4150 (picture-yank-rectangle-from-register):
4151 * vc/emerge.el (emerge-combine-versions-register):
4152 Use register-read-with-preview to read registers.
4154 2014-02-03 João Távora <joaotavora@gmail.com>
4156 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4157 when at beginning of (possibly narrowed) buffer.
4159 2014-02-02 Daniel Colascione <dancol@dancol.org>
4161 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4162 Also try to display local help from just before point.
4164 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4166 c-parse-state. Don't "append-lower-brace-pair" in certain
4167 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4168 recognised as a comment.
4170 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4171 as well as normal comment starter.
4172 (c-parse-state-get-strategy): Extra return possibility
4174 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4175 return value list to indicate replacement of a brace-pair cons
4177 (c-parse-state-1): With 'back-and-forward, only call
4178 c-append-lower-brace-pair-to state-cache when cons-separated.
4180 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4182 * term/ns-win.el (ns-suspend-error): New function.
4183 (ns-initialize-window-system): Add ns-suspend-error to
4184 suspend-hook (Bug#16612).
4186 2014-02-02 Daniel Colascione <dancol@dancol.org>
4188 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4189 Make loading cc-mode silent.
4191 2014-02-02 Daniel Colascione <dancol@dancol.org>
4193 * comint.el (comint-prompt-read-only): Change doc to suggest
4196 2014-02-02 Glenn Morris <rgm@gnu.org>
4198 * register.el (register-read-with-preview, point-to-register)
4199 (window-configuration-to-register, frame-configuration-to-register)
4200 (jump-to-register, number-to-register, view-register, insert-register)
4201 (copy-to-register, append-to-register, prepend-to-register)
4202 (copy-rectangle-to-register): Doc fixes.
4204 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4207 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4208 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4209 * help-fns.el (describe-function-1): Use it.
4211 2014-02-02 Glenn Morris <rgm@gnu.org>
4213 * register.el (register-preview-default): New function,
4214 split from register-preview.
4215 (register-preview-function): Rename from register-preview-functions,
4217 (register-preview): Use register-preview-function.
4218 (register-read-with-preview): Error on non-character event. (Bug#16595)
4220 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4222 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4223 `:' before binary operators (bug#16609). Don't check for `:'
4224 before `[' and `(', or their syntax status. A percent literal
4225 can't end with either.
4226 (ruby-font-lock-keywords): For built-ins that require arguments,
4227 check that they're followed by something that looks like argument
4230 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4232 * subr.el (butlast): Document what an omitted N means (bug#13437).
4235 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4237 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4238 depth shallower (bug#16587).
4239 (shr-tag-svg): Respect `shr-inhibit-images'.
4240 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4242 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4244 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4245 (ruby-smie-grammar): Make "." right-associative. Make its priority
4246 lower than the ternary and all binary operators.
4247 (ruby-smie-rules): Indent "(" relative to the first non-"."
4248 parent, or the first "." parent at indentation.
4249 Use `ruby-align-chained-calls' for indentation of "." tokens.
4252 2014-01-31 Juri Linkov <juri@jurta.org>
4254 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4255 from `make-hash-table'.
4257 * textmodes/ispell.el (ispell-init-process): Change message format
4258 to be consistent with other messages.
4260 2014-01-31 Glenn Morris <rgm@gnu.org>
4262 * delsel.el (delete-selection-mode): Doc fix.
4264 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4265 (trace-function-background): Doc fixes.
4267 * ido.el (ido-use-virtual-buffers): Doc fix.
4268 Reset :version, since the default value has not changed.
4270 * register.el (register-preview-delay, register-read-with-preview):
4273 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4274 do not mess with mail-buffer position (fixes 2009-11-03 change).
4275 * progmodes/cc-mode.el (c-submit-bug-report):
4276 Check auto-fill-mode is bound. (Bug#16592)
4278 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4280 * startup.el (fancy-splash-image-file): New function,
4281 split from fancy-splash-head.
4282 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4283 so that we are both using the same image. (Bug#16574)
4285 2014-01-30 Glenn Morris <rgm@gnu.org>
4287 * simple.el (eval-expression): Doc fix.
4289 * hexl.el (hexl-mode-hook):
4290 * ielm.el (ielm-mode-hook):
4291 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4292 (lisp-interaction-mode-hook):
4293 * progmodes/cfengine.el (cfengine3-documentation-function):
4294 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4296 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4298 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4299 is a symbol (bug#16584).
4301 2014-01-30 Glenn Morris <rgm@gnu.org>
4303 * help.el (help-for-help-internal): Add "P" to text.
4305 2014-01-29 Glenn Morris <rgm@gnu.org>
4307 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4309 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4311 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4314 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4316 * progmodes/hideif.el: Extend to full CPP expression syntax.
4317 (hif-token-alist): Add missing tokens.
4318 (hif-token-regexp): Add support for float/octal/hex immediates.
4319 (hif-string-literal-regexp): New const.
4320 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4321 (hif-exprlist): New function.
4322 (hif-parse-if-exp): Use it.
4323 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4324 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4325 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4326 (hif-logxor, hif-comma): New functions.
4328 2014-01-28 Glenn Morris <rgm@gnu.org>
4330 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4332 * indent.el (tab-stop-list): Doc fix. Add :version.
4334 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4335 (cvs-append-to-ignore): Add compatibility alias.
4337 2014-01-27 Glenn Morris <rgm@gnu.org>
4339 * dired.el (dired-hide-details-mode): Don't autoload it,
4340 since it cannot be used outside Dired buffers anyway.
4342 * emulation/cua-base.el (cua-mode): Doc fix.
4344 * dired.el (dired-hide-details-hide-symlink-targets)
4345 (dired-hide-details-hide-information-lines)
4346 (dired-hide-details-mode): Doc fixes.
4348 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4349 * strokes.el (strokes-file): Doc fix. Bump :version.
4350 (strokes-help): Doc fix.
4351 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4352 * emulation/viper.el (viper): Doc fix for custom group.
4353 (top-level): Remove oh-so-no-longer-relevant text about vip.
4354 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4356 * ido.el (ido-save-directory-list-file):
4357 * saveplace.el (save-place-file):
4358 * calendar/timeclock.el (timeclock-file):
4359 * net/quickurl.el (quickurl-url-file):
4360 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4361 * progmodes/idlwave.el (idlwave-config-directory):
4362 * textmodes/remember.el (remember-data-file):
4365 2014-01-26 Glenn Morris <rgm@gnu.org>
4367 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4368 Doc fix. Make obsolete.
4369 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4371 * sort.el (delete-duplicate-lines): Doc fix.
4373 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4375 * progmodes/ada-mode.el (ada):
4376 * woman.el (woman): Link to info manual and Commentary section.
4378 * progmodes/flymake.el (flymake):
4379 * nxml/nxml-mode.el (nxml):
4381 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4382 * htmlfontify.el (htmlfontify):
4385 * ido.el (ido): Link to info manual.
4387 2014-01-25 Leo Liu <sdl.web@gmail.com>
4389 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4391 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4393 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4396 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4398 * net/eww.el (eww-download-callback):
4399 Fix reference to eww-download-directory.
4401 * emacs-lisp/bytecomp.el (byte-compile-file):
4402 Remove unused local variable `file-name'.
4404 2014-01-24 Glenn Morris <rgm@gnu.org>
4406 * woman.el (woman-default-faces, woman-monochrome-faces):
4407 Fix obsolescence specification.
4409 * subr.el (with-demoted-errors): Doc fix.
4411 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4413 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4414 (cl--macroexp-fboundp): New function.
4415 (cl--make-type-test): Use it.
4417 2014-01-23 Glenn Morris <rgm@gnu.org>
4419 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4420 * simple.el (eval-expression): Doc fixes.
4422 2014-01-22 Glenn Morris <rgm@gnu.org>
4424 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4426 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4428 * emacs-lisp/package.el: Write files silently.
4429 (package-autoload-ensure-default-file, package--write-file-no-coding)
4430 (package-generate-description-file, package--download-one-archive)
4431 (package-install-from-archive): Tell `write-region' to stay quiet.
4432 (package-menu-mode, package-menu--print-info): Omit the Archive column
4433 if there's only one archive.
4434 (package-all-keywords, package--has-keyword-p): Remove dead code.
4436 2014-01-22 Glenn Morris <rgm@gnu.org>
4438 * version.el (emacs-bzr-version-bzr): Fix typo.
4440 * version.el (emacs-repository-get-version):
4441 Check either .bzr or .git, but not both.
4442 Make the git case actually use the DIR argument, and return nil
4443 rather than the empty string.
4444 Avoid error if .git exists but the git executable is not found.
4446 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4448 Fixes in window size functions around Bug#16430 and Bug#16470.
4449 * window.el (window-total-size, window-size): New argument ROUND.
4450 (window--min-delta-1, window-min-delta, window--max-delta-1):
4451 Be more conservative when calculating the numbers of lines or
4452 columns a window can shrink (Bug#16430).
4453 (fit-window-to-buffer): Simplify code.
4454 * term.el (term-window-width): Call window-body-width again.
4456 2014-01-22 Glenn Morris <rgm@gnu.org>
4458 * image.el (image-format-suffixes): Doc fix.
4460 * international/quail.el (quail-define-package): Doc fix.
4462 * emacs-lisp/authors.el (authors-valid-file-names)
4463 (authors-renamed-files-alist): Additions.
4465 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4466 reverts 2014-01-09 change. (Bug#16422)
4468 * calc/calc-embed.el (thing-at-point-looking-at):
4469 * emacs-lisp/map-ynp.el (x-popup-dialog):
4470 * obsolete/lmenu.el (x-popup-dialog):
4471 * emacs-lisp/package.el (url-recreate-url):
4472 * mail/mailclient.el (clipboard-kill-ring-save):
4473 * subr.el (x-popup-dialog): Update declaration.
4474 * mail/rmail.el (rmail-mime-message-p):
4475 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4477 2014-01-21 Daniel Colascione <dancol@dancol.org>
4479 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4480 Correctly detect when we're inside an arithmetic expansion form
4481 containing nested parenthesis.
4482 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4483 to detect cases where we shouldn't expand "<<" to a heredoc
4486 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4488 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4489 (eldoc--message-command-p): New function.
4490 (eldoc-display-message-p): Use it.
4491 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4492 message is not automatically erased for us.
4493 (eldoc-print-current-symbol-info): Erase previous message, if any.
4495 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4497 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4498 specify it's an interactive function.
4500 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4501 Fix regex used for scanning for citation keys which failed for
4502 citations with optional arguments.
4504 2014-01-21 Leo Liu <sdl.web@gmail.com>
4506 * simple.el (read--expression): Don't enable eldoc-mode.
4508 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * simple.el (move-beginning-of-line): Make sure we don't move forward
4513 2014-01-20 Juri Linkov <juri@jurta.org>
4515 * saveplace.el (toggle-save-place, save-place-to-alist)
4516 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4517 'dired-mode) before checking for dired-directory. (Bug#16477)
4519 2014-01-20 Juri Linkov <juri@jurta.org>
4521 * indent.el (indent-line-to): Use backward-to-indentation
4522 instead of back-to-indentation. (Bug#16461)
4524 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4526 Revert some of the CANNOT_DUMP fix (Bug#16494).
4527 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4528 but fixing this can wait until after the next release.
4529 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4531 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4533 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4534 Use `password-word-equivalents'.
4535 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4536 to t. (Bug#5664, Bug#13124)
4538 2014-01-19 Alan Mackenzie <acm@muc.de>
4540 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4542 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4543 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4544 * progmodes/cc-mode.el (c-before-change, c-after-change)
4545 (c-font-lock-fontify-region): Bind it here.
4547 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4549 * term.el (term-window-width): Call window-text-width instead of
4550 window-width (Bug#16470).
4552 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4554 * simple.el (password-word-equivalents): Remove duplicates.
4555 Sort, to make this easier next time.
4556 Downcase. Omit ": " after "jelszó".
4558 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4560 * term/common-win.el (saved-region-selection): Defvar it.
4561 (x-select-text): Set saved-region-selection (Bug#16382).
4563 2014-01-18 Glenn Morris <rgm@gnu.org>
4565 * emacs-lisp/authors.el (authors-aliases)
4566 (authors-renamed-files-alist): Add some entries.
4568 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4570 * net/tramp.el (tramp-password-prompt-regexp):
4571 Use `password-word-equivalents' if available.
4572 (tramp-action-password, tramp-process-one-action)
4573 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4575 2014-01-17 Chong Yidong <cyd@gnu.org>
4577 * simple.el (password-word-equivalents): New defcustom.
4578 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4580 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4583 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4585 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4586 (ruby-align-to-stmt-keywords): Change the default value.
4587 Use `ruby-alignable-keywords' to generate the possible customization
4589 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4590 keywords, check against the value of `ruby-alignable-keywords'
4591 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4593 2014-01-17 Glenn Morris <rgm@gnu.org>
4595 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4597 Make M-x authors return zero *Authors Errors* from current logs.
4598 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4599 (authors-ignored-files): Add some entries, remove others.
4600 (authors-ambiguous-files, authors-valid-file-names):
4602 (authors-renamed-files-alist): Add, remove, and adjust entries.
4603 (authors-renamed-files-regexps): Add some entries.
4604 Remove some very broad ones. Make some entries `lax'.
4605 (authors-lax-changelogs): New constant.
4606 (authors-disambiguate-file-name): Treat top-level specially.
4607 (authors-lax-changelog-p): New function.
4608 (authors-canonical-file-name): Check file as written against
4609 authors-valid-file-names. Do not special-case etc/.
4610 Handle `lax' logs and authors-renamed-files-regexps elements.
4612 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4614 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4615 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4618 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4620 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4621 Assume we're already in the proper buffer.
4622 Inspired by Anders Lindgren <andlind@gmail.com>.
4623 (follow-post-command-hook): Call it from the right buffer.
4624 (follow-comint-scroll-to-bottom): Adjust call.
4625 (follow-all-followers): Use get-buffer-window-list.
4627 2014-01-15 Daniel Colascione <dancol@dancol.org>
4629 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4630 `buffer-file-name' in interactive-form so that we don't leave
4631 pathless file names in `file-name-history'.
4633 2014-01-15 Juri Linkov <juri@jurta.org>
4635 * indent.el (indent-rigidly): Set deactivate-mark to nil
4636 in transient indentation mode. (Bug#16438)
4638 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4640 * emacs-lisp/package.el (package-desc-keywords): New function
4642 (describe-package-1, package-all-keywords)
4643 (package--has-keyword-p): Use it.
4645 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4647 * simple.el (define-alternatives): When creating the
4648 COMMAND-alternatives variable, assign COMMAND as its definition
4649 name so that `describe-variable' can relocate it.
4651 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4653 * font-lock.el (font-lock-keywords): Fix typo in docstring
4656 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4658 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4659 line instead of wrongly reset `add-coment' (bug#13577).
4661 2014-01-14 Daiki Ueno <ueno@gnu.org>
4663 * epa-file.el (epa-file-write-region): Encode the region according
4664 to `buffer-file-format'. Problem reported at:
4665 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4667 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4670 so it applies in the right buffer (bug#16410).
4672 2014-01-13 Daniel Colascione <dancol@dancol.org>
4674 * textmodes/rst.el (rst-define-key): Provide deprecated
4675 keybindings through named functions instead of anonymous ones so
4676 that "??" doesn't appear in describe-mode output.
4678 2014-01-13 Bastien Guerry <bzg@gnu.org>
4680 * simple.el (define-alternatives): Call the selected command
4681 interactively. When setting `COMMAND--implementation' for the
4682 first time, tell the user how to chose another implementation.
4683 Enhance the docstring.
4685 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4687 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4688 (log-edit--match-first-line): New function.
4689 (log-edit-font-lock-keywords): Use it.
4690 (log-edit-mode): Make jit-lock-defer-multiline work.
4692 2014-01-13 Bastien Guerry <bzg@gnu.org>
4694 * rect.el (rectangle-mark-mode): When the region is not active,
4695 display a message saying that the mark as been set and that
4696 rectangle mode is in use.
4697 (rectangle--highlight-for-redisplay): Only put an overlay with a
4698 visible vertical bar when (display-graphic-p) is non-nil.
4699 This partially fixes Bug#16403.
4701 2014-01-13 Juri Linkov <juri@jurta.org>
4703 * info.el (Info-find-file): Go to DIR before displaying the error
4704 about a nonexistent file if no previous Info file is visited.
4705 Use `user-error' instead of `error' for "Info file %s does not exist".
4706 (Info-find-node-2): In case of a nonexistent node in unwind forms
4707 go to the Top node if there is no previous node to revert to.
4710 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4712 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4713 * window.el (fit-frame-to-buffer): Fix doc-string.
4714 Respect window-min-height/-width. Fit pixelwise when
4715 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4716 when avoiding that frame goes partially off-screen.
4717 (fit-window-to-buffer): Respect window-min-height/-width
4720 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4722 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4723 after an empty line.
4725 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4727 * net/shr.el (shr-render-region): Autoload.
4729 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4731 * net/eww.el (eww-download-directory): Rename from
4732 `eww-download-path' (Bug#16419).
4734 2014-01-12 Leo Liu <sdl.web@gmail.com>
4736 * dired-x.el (dired-mode-map): Fix last change.
4738 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4740 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4743 * emacs-lisp/generic.el (generic--normalize-comments):
4744 Rename from generic--normalise-comments. All uses changed.
4745 * play/bubbles.el (bubbles--neighborhood-score)
4746 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4747 (bubbles--neighborhood-available)
4748 (bubbles--update-neighborhood-score):
4749 Rename from names with 'neighbourhood'. All uses changed.
4751 2014-01-12 Leo Liu <sdl.web@gmail.com>
4753 Re-implement the feature of showing eldoc info after editing.
4754 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4755 (eldoc-edit-message-commands): New function.
4756 (eldoc-print-after-edit): New variable.
4757 (eldoc-pre-command-refresh-echo-area): Emit message only by
4758 eldoc-message-commands.
4759 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4760 if eldoc-print-after-edit is set. (Bug#16346)
4761 * simple.el (read--expression): Enable eldoc-mode.
4762 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4764 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4765 Eric S. Raymond <esr@thyrsus.com>
4767 * version.el (emacs-repository-get-version): Enhance so the
4768 function works correctly in either a Bazaar or Git repo.
4770 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4772 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4773 Goes with removal of the joke manpages from /etc.
4775 2014-01-10 Kenichi Handa <handa@gnu.org>
4777 * mail/rmail.el (rmail-get-coding-system):
4778 Check rmail-get-coding-function before "funcall"ing it.
4780 2014-01-10 Glenn Morris <rgm@gnu.org>
4782 * emacs-lisp/authors.el (authors-fixed-entries):
4783 Update for files that no longer exist.
4785 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4787 * version.el (emacs-bzr-get-version): Restore compatibilty with
4790 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4792 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4795 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4797 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4799 2014-01-10 Chong Yidong <cyd@gnu.org>
4801 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4803 2014-01-10 Anders Lindgren <andlind@gmail.com>
4805 * follow.el (follow-cache-command-list): Include right-char and
4808 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4811 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4812 * woman.el (woman-mark-horizontal-position):
4813 Rename from woman-mark-horizonal-position. Use changed.
4815 2014-01-10 Glenn Morris <rgm@gnu.org>
4817 * info.el (info-initialize): If running uninstalled, ensure our
4818 own info files are always found first, even if INFOPATH is set.
4820 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4822 2014-01-09 David Engster <deng@randomsample.de>
4824 * emacs-lisp/eieio-custom.el:
4825 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4826 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4827 * emacs-lisp/eieio.el: Regenerate autoloads.
4829 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4831 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4832 following renames. (Bug#8756)
4834 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4836 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4838 (activate-mark): Add `no-tmm' argument.
4839 (set-mark, push-mark-command): Use it instead of running
4840 activate-mark-hook by hand.
4842 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4844 In preparation for the move to git, sanitize out some
4845 Bazaar-specific names.
4847 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4849 * version.el (emacs-bzr-version): Name changed to
4850 emacs-repository-version. Obsolete-variable alias made.
4851 * loadup.el: Follow through on this name change.
4852 * mail/emacsbug.el (report-emacs-bug): Factor out any
4853 assumption about the version control system in use.
4855 2014-01-08 David Engster <deng@randomsample.de>
4857 * help-fns.el (help-fns-describe-function-functions):
4858 New variable to call functions for augmenting help buffers.
4859 (describe-function-1): Remove explicit calls to
4860 `help-fns--compiler-macro', `help-fns--parent-mode' and
4861 `help-fns--obsolete'. Put them in above new variable instead, and
4862 call them through `run-hook-with-args'.
4863 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4864 `eieio-describe-class'. Not meant for interactive use anymore,
4865 but to augment existing help buffers. Remove optional second
4866 argument. Create proper button for file location.
4867 Rewrite function to use `insert' instead of `princ' and `prin1' where
4869 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4870 (eieio-method-def, eieio-class-def): Move further up.
4871 (describe-method, describe-generic, eieio-describe-method):
4873 (eieio-help-constructor, eieio-help-generic): Rename from
4874 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4875 Rewrite to use `insert' in the current buffer and use proper help
4877 (eieio-help-find-method-definition)
4878 (eieio-help-find-class-definition): Also accept symbols as
4880 (eieio-help-mode-augmentation-maybee): Remove.
4881 (eieio-describe-class-sb): Use `describe-function'.
4882 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4883 Add `eieio-help-generic' and `eieio-help-constructor'.
4885 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4888 * language/china-util.el (hz-ascii-designation):
4889 Rename from hz-ascii-designnation.
4890 (hz-ascii-designation): Rename from hz-ascii-designnation.
4893 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4895 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4898 2014-01-08 Bastien Guerry <bzg@gnu.org>
4900 * emacs-lisp/package.el (package-delete):
4901 Correctly delete the package from package-alist.
4903 2014-01-08 Daiki Ueno <ueno@gnu.org>
4905 * emacs-lisp/package.el (url-recreate-url): Declare.
4906 (url-http-target-url): Declare.
4907 (package-handle-response): Include requested URL in the error message.
4908 (package--check-signature): Don't re-signal errors from
4909 package--with-work-buffer. Suggested by Stefan Monnier.
4911 2014-01-07 Bastien Guerry <bzg@gnu.org>
4913 * minibuffer.el (completion--try-word-completion): When both a
4914 hyphen and a space are possible candidates for the character
4915 following a word, display both candidates. (Bug#15980)
4917 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4919 * window.el (balance-windows-2): While rounding don't give a
4920 window more than the remainder. Bug#16351, bug#16383.
4922 2014-01-07 Glenn Morris <rgm@gnu.org>
4924 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4925 (menu-bar-help-menu): Use view-external-packages instead.
4927 2014-01-07 Bastien Guerry <bzg@gnu.org>
4929 * emacs-lisp/package.el (package-delete): Also delete the package
4930 name from `package-alist', not its description only.
4932 2014-01-07 Glenn Morris <rgm@gnu.org>
4934 * help.el (view-external-packages):
4935 * menu-bar.el (menu-bar-help-extra-packages):
4936 Visit efaq.info rather than etc/MORE.STUFF.
4938 2014-01-07 Juri Linkov <juri@jurta.org>
4940 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4941 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4943 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4944 that shadows RET. (Bug#16342)
4946 2014-01-07 Chong Yidong <cyd@gnu.org>
4948 * isearch.el (isearch-yank-char, isearch-yank-word)
4949 (isearch-yank-line): Doc fix.
4951 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4953 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4954 * emacs-lisp/elint.el (elint-find-builtins):
4955 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4956 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4957 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4958 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4959 * apropos.el (apropos-safe-documentation):
4960 * subr.el (symbol-file): Remove redundant fboundp.
4961 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4963 2014-01-06 Bastien Guerry <bzg@gnu.org>
4965 * hl-line.el (global-hl-line-overlay): Make a local variable.
4966 (global-hl-line-overlays): New variable to store all overlays.
4967 (global-hl-line-mode): Don't delete overlays from the current
4968 buffer when `global-hl-line-sticky-flag' is non-nil.
4969 (global-hl-line-highlight): Add new overlays to
4970 `global-hl-line-overlays'.
4971 (global-hl-line-unhighlight-all): New function to delete all
4972 overlays when turning off `global-hl-line-mode'.
4973 This fixes Bug#16183.
4975 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4977 * subr.el (set-transient-map): Fix nested case and docstring.
4979 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4981 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4984 2014-01-06 Daniel Colascione <dancol@dancol.org>
4986 Fix defun navigation in vc log view.
4988 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4989 like `beginning-of-defun'.
4990 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4991 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4992 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4993 (log-view-extract-comment): Call `log-view-current-entry' directly
4994 instead of relying on broken `log-view-beginning-of-defun' behavior.
4996 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4999 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5000 * emacs-lisp/debug.el (cancel-debug-on-entry):
5001 * epg.el (epg-error-to-string):
5002 * files.el (recover-file):
5003 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5004 * mail/emacsbug.el (report-emacs-bug-hook):
5005 * mail/sendmail.el (mail-recover):
5006 * ses.el (ses-yank-resize):
5007 * term/ns-win.el (ns-print-buffer):
5008 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5009 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5011 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5013 2014-01-06 Leo Liu <sdl.web@gmail.com>
5015 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5016 to avoid shadowing global key. (Bug#16354)
5018 2014-01-06 Daniel Colascione <dancol@dancol.org>
5020 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5023 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5025 * window.el (balance-windows): Add mising t to fix Bug#16351.
5027 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5029 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5031 (shr-insert): If we have a word that's longer than `shr-width',
5032 break after it anyway. Otherwise we'll do no breaking once we get
5035 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5037 * net/eww.el (eww): Support single/double quote for search.
5038 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5039 (eww-history-quit): Delete and use quit-window.
5040 (eww-history-kill): Delete, because it doesn't work well and
5042 (eww-history-mode-map): Delete some keys and add easy-menu.
5044 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5046 Fix misspelling of 'chinese' in rx (Bug#16237).
5047 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5050 Change subword regexps back to vars (Bug#16296).
5051 * progmodes/subword.el (subword-forward-regexp)
5052 (subword-backward-regexp): Change these back to variables.
5054 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5057 syntax-begin-function (bug#16247).
5059 2014-01-03 Chong Yidong <cyd@gnu.org>
5061 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5062 (advice--docstring): Delete variable.
5063 (advice--make-1): Leave the docstring empty.
5064 (advice-add): Use function-documentation for advised docstring.
5066 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5067 Ignore function-documentation property when getting documentation.
5068 (ad-activate-advised-definition): Use function-documentation
5069 generate the docstring.
5070 (ad-make-advised-definition): Don't call
5071 ad-make-advised-definition-docstring.
5072 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5075 * progmodes/sql.el (sql-help): Use function-documentation instead
5076 of dynamic-docstring-function property. No need to autoload now.
5077 (sql--help-docstring): New variable.
5078 (sql--make-help-docstring): Use it.
5080 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5082 * ielm.el (ielm-tab): Retarget.
5083 (ielm-map): Use ielm-tab for tab.
5084 (ielm-complete-filename): Use comint-filename-completion.
5085 (ielm-complete-symbol): Remove.
5086 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5087 remove ielm-tab from completion-at-point-functions (bug#16224).
5089 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5090 Beware signals raised by predicates (bug#16201).
5092 2014-01-02 Richard Stallman <rms@gnu.org>
5094 * dired-aux.el (dired-do-print): Handle printer-name.
5096 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5097 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5098 (rmail-epa-decrypt): Turn off mime processing.
5100 * mail/rmail.el (rmail-make-in-reply-to-field):
5101 Add parens in message-id.
5103 * mail/rmail.el (rmail-get-coding-function): Variable.
5104 (rmail-get-coding-system): Use it.
5106 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5108 * international/mule-conf.el: Unify the charset indian-is13194.
5109 (indian-is13194): Specify unify-map.
5111 2013-12-31 Leo Liu <sdl.web@gmail.com>
5113 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5115 2013-12-30 Daniel Colascione <dancol@dancol.org>
5117 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5118 of printing a useless when we resume from sleep.
5120 * progmodes/sh-script.el
5121 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5122 in indentation code. (Bug#16233)
5124 2013-12-28 João Távora <joaotavora@gmail.com>
5126 * elec-pair.el (electric-pair-post-self-insert-function):
5127 Don't open extra newlines at beginning of buffer. (Bug#16272)
5129 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5131 * frame.el (window-system-for-display): Don't allow to create a
5132 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5134 2013-12-28 Glenn Morris <rgm@gnu.org>
5136 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5139 * apropos.el (apropos-match-face):
5140 * calculator.el (calculator-displayer):
5141 * dabbrev.el (dabbrev-search-these-buffers-only):
5142 * face-remap.el (buffer-face-mode-face):
5143 * simple.el (yank-handled-properties):
5144 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5145 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5146 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5147 (hashcash-double-spend-database):
5148 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5149 (ruby-deep-indent-paren-style):
5150 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5151 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5152 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5153 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5154 Specify custom types.
5156 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5157 * bookmark.el (bookmark-bmenu-use-header-line):
5158 * doc-view.el (doc-view-scale-internally):
5159 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5160 * register.el (register-preview-delay):
5161 * net/shr.el (shr-bullet):
5162 * progmodes/cfengine.el (cfengine-cf-promises)
5163 (cfengine-parameters-indent):
5164 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5165 * textmodes/reftex-vars.el (reftex-label-regexps):
5166 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5168 * net/tls.el (tls-certtool-program): Fix default value.
5170 * desktop.el (desktop-restore-in-current-display):
5171 * newcomment.el (comment-empty-lines):
5172 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5173 (idlwave-pad-keyword):
5174 * progmodes/tcl.el (tcl-tab-always-indent):
5175 * textmodes/reftex-vars.el (reftex-index-default-tag):
5176 * elec-pair.el (electric-pair-skip-whitespace):
5177 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5179 * emacs-lisp/authors.el (authors-ignored-files)
5180 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5182 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5184 * shell.el (shell-dynamic-complete-command): Doc fix.
5185 (shell--command-completion-data): Shell completion now matches
5186 executable filenames from the current buffer's directory, on
5187 systems in which this behavior is the default (windows-nt, ms-dos).
5189 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5191 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5193 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5195 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5198 * electric.el: Move all electric-pair-* to elec-pair.el.
5199 * elec-pair.el: New file, split from electric.el.
5201 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5203 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5204 indentation level is larger than the width, because that will
5206 (shr-insert): Fill repeatedly long texts, so that Japanese is
5207 formatted correctly (bug#16263).
5208 (shr-find-fill-point): Off by one error in comparison with the
5211 2013-12-26 João Távora <joaotavora@gmail.com>
5213 * electric.el (electric-pair-mode): More flexible engine for skip-
5214 and inhibit predicates, new options for pairing-related functionality.
5215 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5216 if that keeps or improves their balance in buffers.
5217 (electric-pair-delete-adjacent-pairs): Delete the pair when
5218 backspacing over adjacent matched delimiters.
5219 (electric-pair-open-extra-newline): Open extra newline when
5220 inserting newlines between adjacent matched delimiters.
5221 (electric--sort-post-self-insertion-hook):
5222 Sort post-self-insert-hook according to priority values when
5223 minor-modes are activated.
5224 * simple.el (newline-and-indent): Call newline with interactive
5226 (blink-paren-post-self-insert-function): Set priority to 100.
5227 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5228 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5229 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5230 electric-pair-open-newline-between-pairs to nil.
5232 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5234 * progmodes/python.el: Use lexical-binding.
5235 (python-nav-beginning-of-defun): Stop searching ASAP.
5237 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5239 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5240 Fix interactive spec. Doc fix. (Bug#15754)
5242 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5244 * emacs-lisp/byte-run.el (eval-when-compile):
5245 * progmodes/cc-defs.el (cc-eval-when-compile):
5246 Fix edebug spec (bug#16184).
5248 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5250 * net/shr.el (shr-visit-file): Remove debugging function.
5251 (shr-insert): Don't infloop if we can't find a good place to break
5252 the line (bug#16256).
5254 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5256 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5257 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5258 python-nav-lisp-forward-sexp-safe.
5259 (python-nav--forward-sexp): New argument SAFE allows switching
5260 forward sexp movement behavior for parens.
5261 (python-nav-forward-sexp): Throw errors on unterminated parens
5263 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5264 (python-nav-backward-sexp-safe): New functions.
5265 (python-shell-buffer-substring):
5266 Use `python-nav-forward-sexp-safe'.
5268 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5270 * net/shr.el (shr-find-fill-point): Don't break lines before a
5272 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5273 (shr-find-fill-point): Remove the special checks for the quotation
5274 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5276 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5278 * net/eww.el (eww-form-textarea): Use a different face for
5279 textareas than text input since they have different keymaps
5282 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5284 * progmodes/python.el (python-nav-beginning-of-statement):
5285 Speed up (Bug#15295).
5287 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5289 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5290 the window configuration.
5292 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5294 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5295 we run on MS-Windows or MS-DOS.
5297 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5299 * window.el (balance-windows-area): Call window-size instead of
5300 window-height and window-width. Bug#16241.
5302 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5304 * net/eww.el (eww-bookmark-quit): Remove.
5305 (eww-bookmark-browse): Restore the window configuration when you
5306 choose a bookmark (bug#16144).
5308 2013-12-24 Daniel Colascione <dancol@dancol.org>
5310 * icomplete.el: Remove redundant :group arguments to `defcustom'
5312 (icomplete-show-matches-on-no-input): New customizable variable.
5313 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5314 we have something to show.
5315 (icomplete-exhibit): Compute completions even if we have no user input.
5317 2013-12-23 Daniel Colascione <dancol@dancol.org>
5319 * icomplete.el: Move `provide' to end of file.
5321 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5323 * net/gnutls.el (gnutls-verify-error): Add version tag.
5325 2013-12-23 Chong Yidong <cyd@gnu.org>
5327 * subr.el (set-transient-map): Rename from
5328 set-temporary-overlay-map. Doc fix.
5330 * face-remap.el (text-scale-adjust):
5331 * indent.el (indent-rigidly):
5332 * kmacro.el (kmacro-call-macro):
5333 * minibuffer.el (minibuffer-force-complete):
5334 * repeat.el (repeat):
5335 * simple.el (universal-argument--mode):
5336 * calendar/todo-mode.el (todo-insert-item--next-param):
5337 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5339 * indent.el (indent-rigidly): Use substitute-command-keys.
5341 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5343 * net/eww.el (eww-tag-select): Add text-property to jump to next
5345 (eww): Add non-supported ftp error.
5347 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5349 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5350 comments. Handle electric indent after typing `?' and `!'.
5352 2013-12-22 Chong Yidong <cyd@gnu.org>
5354 * faces.el (face-spec-recalc): If the theme specs are not
5355 applicable to a frame, fall back on the defface spec.
5356 This prevents themes from obliterating faces on low-color terminals.
5358 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5360 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5361 after `{'. We need it after block openers, and it doesn't seem
5362 to hurt after hash openers.
5364 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5366 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5367 extracted from `ruby-smie-rules'.
5368 (ruby--electric-indent-chars): New variable.
5369 (ruby--electric-indent-p): New function.
5370 (ruby-mode): Use `electric-indent-functions' instead of
5371 `electric-indent-chars'.
5373 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5375 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5377 (ruby-smie-rules): Indent plus one level after `=>'.
5379 2013-12-21 Richard Stallman <rms@gnu.org>
5381 * simple.el (newline): Doc fix.
5383 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5385 * net/eww.el (eww-list-histories, eww-list-histories)
5386 (eww-history-browse, eww-history-quit, eww-history-kill)
5387 (eww-history-mode-map, eww-history-mode): New command and
5388 functions to list browser histories.
5389 (eww-form-text): Support text form with disabled
5390 and readonly attributes.
5391 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5393 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5395 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5396 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5397 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5398 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5400 (eww-bookmark-mode-map): Add menu.
5401 (eww-render, eww-mode): Use `setq-local'.
5402 (eww-tool-bar-map): New variable.
5403 (eww-mode): Set `tool-bar-map'.
5404 (eww-view-source): Check for `html-mode' with `fboundp'.
5406 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5408 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5409 elements with text inside. Also remove debugging.
5411 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5413 * cus-start.el (all): Add ns-use-srgb-colorspace.
5415 2013-12-21 Chong Yidong <cyd@gnu.org>
5417 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5418 undefined. Thus, theme settings for undefined faces do not take
5419 effect until the faces are defined with defface, the same as with
5422 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5423 (face-spec-reset-face): Don't assign extra properties in temacs.
5424 (face-spec-recalc): Apply X resources too.
5426 2013-12-21 Chong Yidong <cyd@gnu.org>
5428 * faces.el (face-spec-set):
5429 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5430 * custom.el (defface): Doc fixes (Bug#16203).
5432 * indent.el (indent-rigidly-map): Add docstring, and move commands
5433 into named functions.
5434 (indent-rigidly-left, indent-rigidly-right)
5435 (indent-rigidly-left-to-tab-stop)
5436 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5437 indentation direction based on bidi direction, and accumulate
5438 sequential commands in a single undo boundary.
5439 (indent-rigidly--pop-undo): New utility function.
5441 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5443 * faces.el (read-face-name): Require crm.el when using crm-separator.
5445 2013-12-20 Daniel Colascione <dancol@dancol.org>
5447 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5448 so that we don't reflow comments into the shebang line.
5450 2013-12-20 Juri Linkov <juri@jurta.org>
5452 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5453 a position when `dired-directory' is non-nil. Check integer
5454 positions with `integerp'.
5455 (toggle-save-place, save-places-to-alist): Add check for
5457 (save-place-find-file-hook): Check integer positions with
5459 (save-place-dired-hook): Use `dired-goto-file' when
5460 `dired-filename' is found in the assoc list. Check integer
5461 positions with `integerp'.
5462 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5464 * dired.el (dired-initial-position-hook): Rename back from
5465 `dired-initial-point-hook'.
5466 (dired-initial-position): Rename `dired-initial-point-hook' to
5467 `dired-initial-position-hook'.
5468 (dired-file-name-at-point): Doc fix. (Bug#15329)
5470 2013-12-20 Juri Linkov <juri@jurta.org>
5472 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5473 (read-regexp-suggestions): New function.
5474 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5475 Use `read-regexp-suggestions'. Add non-empty default to history
5477 (occur-read-regexp-defaults-function): Remove function.
5478 (occur-read-primary-args): Use `regexp-history-last' instead of
5479 `occur-read-regexp-defaults-function'.
5481 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5482 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5483 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5484 `hi-lock-read-regexp-defaults-function'. Doc fix.
5485 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5486 with `find-tag-default-as-symbol-regexp'. Doc fix.
5487 (hi-lock-read-regexp-defaults): Remove function.
5488 (hi-lock-regexp-okay): Add check for null.
5490 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5491 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5493 * subr.el (find-tag-default-as-symbol-regexp): New function.
5494 (find-tag-default-as-regexp): Move symbol regexp formatting to
5495 `find-tag-default-as-symbol-regexp'.
5497 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5499 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5502 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5504 * calendar/todo-mode.el: New implementation of item insertion
5505 commands and key bindings.
5506 (todo-key-prompt): New face.
5507 (todo-insert-item): New command.
5508 (todo-insert-item--parameters): New defconst, replacing defvar
5509 todo-insertion-commands-args-genlist.
5510 (todo-insert-item--param-key-alist): New defconst, replacing
5511 defvar todo-insertion-commands-arg-key-list.
5512 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5513 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5514 (todo-insert-item--next-param): New functions.
5515 (todo-insert-item--args, todo-insert-item--argleft)
5516 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5518 (todo-key-bindings-t): Change binding of "i" from
5519 todo-insertion-map to todo-insert-item.
5520 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5521 (todo-insertion-command-name, todo-insertion-commands-names)
5522 (todo-define-insertion-command, todo-insertion-commands)
5523 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5525 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5527 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5528 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5530 (todo-move-category): Allow choosing a non-existing todo file to
5531 move the category to, and create that file.
5532 (todo-default-priority): New user option.
5533 (todo-set-item-priority): Use it.
5534 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5535 (desktop-restore-file-buffer): Declare.
5536 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5537 (todo-modes-set-2): Locally set desktop-save-buffer to
5538 todo-desktop-save-buffer.
5539 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5540 (auto-mode-alist): Add autoload cookie.
5542 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5544 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5545 helpers.el was a poor choice of name.
5546 (string-remove-prefix): New function.
5547 (string-remove-suffix): New function.
5549 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5551 Fix assignment for new window total sizes.
5552 * window.el (window--pixel-to-size): Remove function.
5553 (window--pixel-to-total-1, window--pixel-to-total):
5554 Fix calculation of new total sizes.
5556 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5558 * comint.el (comint-output-filter): Fix rear-nonsticky property
5559 placement (Bug#16010).
5561 2013-12-20 Chong Yidong <cyd@gnu.org>
5563 * faces.el (read-color): Minor fix for completion function.
5565 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5567 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5568 New option. (Bug#16182)
5569 (ruby-smie--indent-to-stmt-p): Use it.
5570 (ruby-smie-rules): Revert the logic in the handling of `when'.
5571 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5572 (ruby-deep-arglist, ruby-deep-indent-paren)
5573 (ruby-deep-indent-paren-style): Update docstrings to note that the
5574 vars don't have any effect with SMIE.
5576 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5578 * calc/calc.el (calc-enter, calc-pop): Use the variable
5579 `calc-context-sensitive-enter'.
5581 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5583 * net/shr.el (shr-insert): Protect against infloops in degenerate
5586 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5588 * progmodes/octave.el (octave): Add link to manual and octave
5590 (octave-mode-menu): Link to octave-mode manual.
5592 2013-12-20 Leo Liu <sdl.web@gmail.com>
5594 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5595 insertion using skeleton-end-newline. (Bug#16138)
5597 2013-12-20 Juri Linkov <juri@jurta.org>
5599 * replace.el (occur-engine): Use `add-face-text-property'
5600 to add the face property to matches and titles. (Bug#14645)
5602 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5603 the palette of other hi-lock colors.
5604 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5606 2013-12-19 Juri Linkov <juri@jurta.org>
5608 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5609 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5610 (minibuffer-history-symbol): Move variable declaration closer to
5613 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5616 2013-12-19 Juri Linkov <juri@jurta.org>
5618 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5620 (log-edit-hook): Add it to :options. (Bug#16170)
5622 2013-12-19 Juri Linkov <juri@jurta.org>
5624 * simple.el (eval-expression-print-format): Don't check for
5625 command names and the last command. Always display additional
5626 formats of the integer result in the echo area, and insert them
5627 to the current buffer only with a zero prefix arg.
5628 Display character when char-displayable-p is non-nil.
5629 (eval-expression): With a zero prefix arg, set `print-length' and
5630 `print-level' to nil, and insert the integer values from
5631 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5633 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5634 `eval-last-sexp-arg-internal'. Doc fix.
5635 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5636 `eval-last-sexp-print-value'. Doc fix.
5637 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5638 Set `print-length' and `print-level' to nil when arg is zero.
5639 (eval-last-sexp): Doc fix.
5640 (eval-defun-2): Print the integer values from
5641 `eval-expression-print-format' at the end.
5643 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5644 values from `eval-expression-print-format' at the end.
5646 * ielm.el (ielm-eval-input): Print the integer
5647 values from `eval-expression-print-format' at the end.
5649 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5651 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5652 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5654 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5656 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5657 (hl-line-highlight, global-hl-line-highlight): Use it.
5658 (hl-line-overlay): Use defvar-local.
5660 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5662 * term/ns-win.el: Require dnd.
5663 (global-map): Remove drag items.
5664 (ns-insert-text, ns-set-foreground-at-mouse)
5665 (ns-set-background-at-mouse):
5666 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5667 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5670 2013-12-19 Glenn Morris <rgm@gnu.org>
5672 * emacs-lisp/ert.el (ert-select-tests):
5673 Fix string/symbol mixup. (Bug#16121)
5675 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5677 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5678 keywords to their parent.
5680 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5682 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5683 first arg to be a string (fixed dead code), or an operator symbol.
5684 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5686 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5687 did nothing. Don't respond to `(:after ".")', it will be called
5688 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5689 change anything. Only return indentation for binary operators
5690 when they are hanging. De-dent opening paren when its parent is
5691 `.', otherwise it looks bad when the dot is not at bol or eol
5694 2013-12-19 Juri Linkov <juri@jurta.org>
5696 * replace.el (query-replace-read-args): Split a non-negative arg
5697 and a negative arg into separate elements.
5698 (query-replace, query-replace-regexp, replace-string)
5699 (replace-regexp): Add arg `backward'. Doc fix.
5700 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5701 move point to the beginning of the match.
5702 (replace-search, replace-highlight): Use new arg `backward'
5703 to set the value of `isearch-forward'.
5704 (perform-replace): Add arg `backward' and use it to perform
5705 replacement backward. (Bug#14979)
5707 * isearch.el (isearch-query-replace): Use a negative prefix arg
5708 to call `perform-replace' with a non-nil arg `backward'.
5710 2013-12-18 Juri Linkov <juri@jurta.org>
5712 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5713 to the default list. Move `log-edit-show-files' to the end.
5714 Add more available functions to options.
5715 (log-edit): Move default specific settings to
5716 `log-edit-insert-message-template'. Don't move point.
5717 (log-edit-insert-message-template): New function.
5718 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5721 2013-12-18 Juri Linkov <juri@jurta.org>
5723 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5724 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5726 2013-12-18 Leo Liu <sdl.web@gmail.com>
5728 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5731 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5733 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5734 formats for displaying file sizes when the -s switch is given.
5735 Instead, compute a separate format for displaying the size in
5736 blocks, which is displayed in addition to the "regular" size.
5737 When -h is given in addition to -s, produce size in blocks in
5738 human-readable form as well. (Bug#16179)
5740 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5742 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5743 Reference tables with ~\ref{...} instead of only \ref{...}.
5745 2013-12-18 Chong Yidong <cyd@gnu.org>
5747 * cus-edit.el (custom-magic-alist): Fix "themed" description
5750 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5751 is non-nil, do not create a new entry in the symbol's theme-value
5752 or theme-face property; update theme-settings only (Bug#14664).
5753 (custom-available-themes): Doc fix.
5755 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5758 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5760 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5762 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5765 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5767 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5769 2013-12-18 Glenn Morris <rgm@gnu.org>
5771 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5772 * cus-start.el (load-prefer-newer): New option.
5774 2013-12-18 Le Wang <l26wang@gmail.com>
5776 * comint.el (comint-previous-matching-input-from-input):
5777 Retain point (Bug#13404).
5779 2013-12-18 Chong Yidong <cyd@gnu.org>
5781 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5783 2013-12-18 Glenn Morris <rgm@gnu.org>
5785 * mail/emacsbug.el (report-emacs-bug):
5786 Only mention enable-multibyte-characters if non-standard.
5788 2013-12-17 Juri Linkov <juri@jurta.org>
5790 * arc-mode.el (archive-extract-by-file): Check if directory exists
5791 before deletion to not show irrelevant errors if it doesn't exist.
5793 2013-12-17 Juri Linkov <juri@jurta.org>
5795 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5798 * net/eww.el (browse-web): Add alias to `eww'.
5799 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5800 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5802 * net/browse-url.el (browse-url-browser-function): Move `eww'
5803 closer to similar functions.
5805 * startup.el (fancy-startup-screen, fancy-about-screen):
5806 Set browse-url-browser-function to eww-browse-url locally.
5809 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5811 * window.el (window--pixel-to-total): Remove unused `mini' var.
5812 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5813 (split-window): Remove unused `new' var.
5814 (window--display-buffer): Remove unused `frame' and `delta' vars.
5815 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5818 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5820 * dired.el (dired-mark-pop-up):
5821 * register.el (register-preview): Don't bind
5822 split-height-threshold here since it's now done in
5823 display-buffer-below-selected.
5825 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5827 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5828 xterm-rgb-convert-to-16bit.
5829 (rxvt-register-default-colors): Standardize with
5830 xterm-register-default-colors (Bug#14078).
5832 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5834 * simple.el (kill-region): Pass mark first, then point, so that
5835 kill-append works right (Bug#12819).
5836 (copy-region-as-kill, kill-ring-save): Likewise.
5838 2013-12-17 Leo Liu <sdl.web@gmail.com>
5840 * net/rcirc.el (rcirc-add-face):
5841 * eshell/em-prompt.el (eshell-emit-prompt):
5842 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5845 2013-12-17 Chong Yidong <cyd@gnu.org>
5847 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5848 Suggested by Xue Fuqiao.
5850 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5852 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5854 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5856 * net/shr.el (shr-insert-document): Remove unused var
5857 `shr-preliminary-table-render'.
5858 (shr-rescale-image): Remove unused arg `force'.
5859 (shr-put-image): Update calls accordingly.
5860 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5862 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5864 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5865 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5866 :close-all, to see which indentation method to use (Bug#16116).
5867 (smie-rules-function): Document the method :close-all.
5869 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5871 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5873 * net/eww.el (eww-display-html): If we can't find the anchor we're
5874 looking for, then go to point-min.
5876 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5878 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5879 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5880 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5881 Expand dir too, in case it's relative.
5883 2013-12-16 Juri Linkov <juri@jurta.org>
5885 * desktop.el (desktop-auto-save-timeout): Change default to
5886 `auto-save-timeout'. Doc fix.
5887 (desktop-save): Skip the timestamp in desktop-saved-frameset
5888 when checking for auto-save changes.
5889 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5890 `desktop-auto-save' is called repeatedly by the idle timer.
5891 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5892 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5895 2013-12-16 Juri Linkov <juri@jurta.org>
5897 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5899 (isearch-pre-command-hook): Check `this-command' for symbolp.
5901 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5903 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5905 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5907 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5908 (cfengine3--current-function): Bring in the current-function
5909 functionality from `cfengine3--current-word'.
5910 (cfengine3-completion-function): Bring in the
5911 bounds-of-current-word functionality from
5912 `cfengine3--current-word'.
5914 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5916 * window.el (display-buffer-below-selected):
5917 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5919 2013-12-16 Leo Liu <sdl.web@gmail.com>
5921 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5922 Remove NOMSG arg and all uses changed.
5924 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5926 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5927 (cua--deactivate-rectangle): Don't deactivate the mark.
5928 (cua-set-rectangle-mark): Don't set mark-active since
5929 cua--activate-rectangle already does it for us.
5930 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5931 non-rectangular region.
5933 * emulation/cua-base.el (cua-repeat-replace-region):
5934 Use with-current-buffer.
5936 * net/gnutls.el: Use cl-lib.
5937 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5939 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5941 * emacs-lisp/package.el (package-built-in-p): Support both
5942 built-in and the package.el converted package descriptions.
5943 (package-show-package-list): Allow keywords.
5944 (package-keyword-button-action): Use it instead of
5945 `finder-list-matches'.
5946 (package-menu-filter-interactive): Interactive filtering (by
5948 (package-menu--generate): Support keywords and change keymappings
5949 and headers when they are given.
5950 (package--has-keyword-p): Helper function.
5951 (package-menu--refresh): Use it.
5952 (package--mapc): Helper function.
5953 (package-all-keywords): Use it.
5954 (package-menu-mode-map): Set up menu items and keybindings to
5955 provide a filtering UI.
5957 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5959 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5960 the behavior when a certificate fails validation. Defaults to
5961 old behavior: never abort, just warn.
5962 (gnutls-negotiate): Use it.
5964 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5966 * window.el (display-buffer-below-selected): Never split window
5967 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5969 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5971 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5972 (package-buffer-info): Use it (bug#15108).
5974 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5976 * icomplete.el (icomplete-completions): Make sure the prefix is already
5977 displayed elsewhere before hiding it (bug#16219).
5979 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5981 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5982 open-paren tokens when preceded by a open-paren, too.
5983 (ruby-smie-rules): Handle virtual indentation after open-paren
5984 tokens specially. If there is code between it and eol, return the
5985 column where is starts (Bug#16118).
5987 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5989 * progmodes/cfengine.el: Fix `add-hook' doc.
5990 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5991 (cfengine3--current-word): Fix parameters.
5992 (cfengine3-make-syntax-cache): Simplify further.
5993 (cfengine3-completion-function, cfengine3--current-function):
5994 Use `assq' for symbols.
5995 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5997 2013-12-13 Glenn Morris <rgm@gnu.org>
5999 * loadup.el (load-path): Warn if site-load or site-init changes it.
6000 No more need to reset it when bootstrapping.
6002 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6004 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6005 locations for cf-promises.
6006 (cfengine-mode-syntax-functions-regex): New caching variable.
6007 (cfengine3-fallback-syntax): Fallback syntax for cases where
6008 cf-promises doesn't run.
6009 (cfengine3--current-word): Reimplement using
6010 `cfengine-mode-syntax-functions-regex'.
6011 (cfengine3-completion-function, cfengine3--current-function):
6012 Use `cfengine3-make-syntax-cache' directly.
6013 (cfengine3-clear-syntax-cache): New function.
6014 (cfengine3-make-syntax-cache): Simplify and create
6015 `cfengine-mode-syntax-functions-regex' on demand.
6016 (cfengine3-format-function-docstring): Don't call
6017 `cfengine3-make-syntax-cache' explicitly.
6019 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6021 Fix windmove-find-other-window broken after pixelwise resizing
6023 * windmove.el (windmove-other-window-loc): Revert change from
6025 (windmove-find-other-window): Call window-in-direction.
6026 * window.el (window-in-direction): New arguments SIGN, WRAP and
6027 MINI to emulate original windmove-find-other-window behavior.
6029 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6031 * simple.el (blink-matching--overlay): New variable.
6032 (blink-matching-open): Instead of moving point, highlight the
6033 matching paren with an overlay
6034 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6036 * faces.el (paren-showing-faces, show-paren-match)
6037 (show-paren-mismatch): Move from paren.el.
6039 2013-12-13 Leo Liu <sdl.web@gmail.com>
6041 * indent.el (indent-region): Disable progress reporter in
6042 minibuffer. (Bug#16108)
6044 * bindings.el (visual-order-cursor-movement): Fix version.
6046 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6048 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6049 Also match after beginning of line.
6050 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6051 files. Thanks to Russell Sim. (Bug#15378)
6053 2013-12-13 Juri Linkov <juri@jurta.org>
6055 * simple.el <Keypad support>: Remove key bindings duplicated
6056 with bindings.el. (Bug#14397)
6058 2013-12-13 Juri Linkov <juri@jurta.org>
6060 * comint.el (comint-mode-map): Replace `delete-char' with
6061 `delete-forward-char'. (Bug#16109)
6063 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6065 * progmodes/python.el (python-indent-calculate-indentation):
6066 Fix de-denters cornercase. (Bug#15731)
6068 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6070 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6071 (advice--make): Pay attention to `depth'.
6072 (advice--make-1): Don't autoload commands eagerly.
6073 * emacs-lisp/elp.el (elp-instrument-function):
6074 * emacs-lisp/trace.el (trace-function-internal):
6075 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6077 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6079 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6081 * term/w32-win.el (w32-handle-dropped-file):
6082 * startup.el (normal-top-level):
6083 * net/browse-url.el (browse-url-file-url):
6084 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6085 decode file names using 'utf-8' rather than
6086 file-name-coding-system.
6088 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6090 * progmodes/python.el (python-indent-context)
6091 (python-indent-calculate-indentation): Fix auto-identation
6092 behavior for comment blocks. (Bug#15916)
6094 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6096 * progmodes/python.el (python-indent-calculate-indentation):
6097 When determining indentation, don't treat "return", "pass", etc., as
6098 operators when they are just string constituents. (Bug#15812)
6100 2013-12-12 Juri Linkov <juri@jurta.org>
6102 * uniquify.el (uniquify-buffer-name-style): Change default to
6103 `post-forward-angle-brackets'.
6105 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6106 `uniquify'. Change default to `post-forward-angle-brackets'.
6108 2013-12-11 Glenn Morris <rgm@gnu.org>
6110 * emacs-lisp/package.el (finder-list-matches):
6111 Autoload rather than falsely declaring.
6113 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6115 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6116 (eww-mode-map): Use them.
6118 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6120 * window.el (display-buffer-in-side-window): Fix doc-string
6123 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6125 * vc/vc-git.el: Silence byte-compiler warnings.
6126 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6127 (log-edit-set-header): Declare.
6129 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6131 * Makefile.in (custom-deps, finder-data): Run output file names
6132 through unmsys--file-name. (Bug#16099)
6134 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6136 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6137 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6139 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6140 instead of deleting the selection "by hand" (bug#16098).
6141 Rely on insert-for-yank to yank rectangles.
6142 (cua-highlight-region-shift-only): Mark obsolete.
6143 (cua-mode): Don't enable/disable transient-mark-mode,
6144 shift-select-mode (cua-mode works both with and without them), and
6145 pc-selection-mode (obsolete).
6146 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6147 (cua--deactivate-rectangle): Deactivate it.
6149 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6150 (delete-selection-helper): Make sure yank starts at the top of the
6152 (minibuffer-keyboard-quit): Use region-active-p.
6154 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6156 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6157 to `delete' (bug#16109).
6159 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6161 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6162 info manual and show keybindings and set `:group' keyword.
6164 2013-12-11 Juri Linkov <juri@jurta.org>
6166 * delsel.el (delete-active-region): Let-bind `this-command'
6167 to prevent `kill-region' from changing its original value.
6168 (delete-selection-helper): Handle `overwrite-mode' for the type
6169 `kill' exactly the same way as for the type `t'.
6170 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6171 Support more commands. (Bug#13312)
6173 2013-12-11 Juri Linkov <juri@jurta.org>
6175 * bindings.el: Map kp keys to non-kp keys systematically
6176 with basic modifiers control, meta and shift. (Bug#14397)
6178 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6180 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6181 "Close browser" menu items. Fix wrong function of "List
6184 2013-12-11 Juri Linkov <juri@jurta.org>
6186 * misearch.el (multi-isearch-buffers): Set the value of
6187 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6188 arg of isearch-forward to t.
6189 (multi-isearch-buffers-regexp): Set the value of
6190 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6191 arg of isearch-forward-regexp to t.
6192 (multi-isearch-files): Set the value of
6193 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6194 arg of isearch-forward to t.
6195 (multi-isearch-files-regexp): Set the value of
6196 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6197 arg of isearch-forward-regexp to t. (Bug#16035)
6199 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6200 arg of isearch-forward to t.
6201 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6202 arg of isearch-forward-regexp to t.
6203 (dired-isearch-filter-filenames): Remove unnecessary check for
6204 `dired-isearch-filenames'.
6206 * comint.el (comint-history-isearch-backward):
6207 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6208 (comint-history-isearch-backward-regexp):
6209 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6211 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6213 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6214 unmsys--file-name. (Bug#16099)
6216 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6218 * emacs-lisp/package.el (package-keyword-button-action):
6219 Remove finder.el require dependency.
6221 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6223 * emacs-lisp/package.el: Require finder.el.
6224 (describe-package-1): Add keyword buttons.
6225 (package-make-button): New convenience function.
6226 (package-keyword-button-action): Keyword button action using
6227 `finder-list-matches'.
6229 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6231 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6234 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6236 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6239 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6241 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6242 after the end of a percent literal.
6244 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6246 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6247 Handle caret-delimited strings (Bug#16079).
6249 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6251 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6252 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6253 `ruby-parse-partial' (Bug#16078).
6255 2013-12-09 Leo Liu <sdl.web@gmail.com>
6257 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6259 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6261 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6262 (js-switch-indent-offset): New option.
6263 (js--proper-indentation): Use it. And handle the case when
6264 "default" is actually a key in an object literal.
6265 (js--same-line): New function.
6266 (js--multi-line-declaration-indentation): Use it.
6267 (js--indent-in-array-comp, js--array-comp-indentation):
6269 (js--proper-indentation): Use them, to handle array comprehension
6272 2013-12-08 Leo Liu <sdl.web@gmail.com>
6274 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6275 (flymake-make-overlay): Remove arg MOUSE-FACE.
6276 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6278 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6282 (redisplay-highlight-region-function): Use it.
6284 * emulation/cua-base.el (cua--explicit-region-start)
6285 (cua--last-region-shifted): Remove.
6286 (cua--deactivate): Use deactivate-mark.
6287 (cua--pre-command-handler-1): Don't handle shift-selection.
6288 (cua--post-command-handler-1): Don't change transient-mark-mode.
6289 (cua--select-keymaps): Use region-active-p rather than
6290 cua--explicit-region-start or cua--last-region-shifted.
6291 (cua-mode): Enable shift-select-mode.
6293 2013-12-08 Leo Liu <sdl.web@gmail.com>
6295 * progmodes/flymake.el (flymake-popup-current-error-menu):
6296 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6297 (flymake-posn-at-point-as-event, flymake-popup-menu)
6298 (flymake-make-emacs-menu): Remove. (Bug#16077)
6300 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * rect.el (rectangle-mark-mode): Activate mark even if
6303 transient-mark-mode is off (bug#16066).
6304 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6305 is > mark and at bolp.
6307 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6308 (region-extract-function): Use it.
6309 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6310 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6312 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6313 kill-ring-save, kill-region, delete-char, delete-forward-char.
6314 Ignore self-insert-iso.
6316 * emulation/cua-gmrk.el (cua--init-global-mark):
6317 Ignore `self-insert-iso'.
6319 * emulation/cua-base.el (cua--prefix-copy-handler)
6320 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6321 checking cua--rectangle.
6322 (cua-delete-region): Use region-extract-function.
6323 (cua-replace-region): Delete function.
6324 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6325 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6326 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6327 (cua--init-keymaps): Don't remap delete-selection commands.
6328 (cua-mode): Use delete-selection-mode instead of rolling our own
6331 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6332 Obey region-extract-function.
6334 Make registers and delete-selection-mode work on rectangles.
6335 * register.el (describe-register-1): Don't modify the register's value.
6336 (copy-to-register): Obey region-extract-function.
6337 * delsel.el (delete-active-region): Obey region-extract-function.
6339 2013-12-08 Leo Liu <sdl.web@gmail.com>
6341 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6342 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6343 (flymake-compilation-prevents-syntax-check)
6344 (flymake-start-syntax-check-on-newline)
6345 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6346 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6347 (flymake-xml-program, flymake-master-file-dirs)
6348 (flymake-master-file-count-limit)
6349 (flymake-allowed-file-name-masks): Relocate.
6350 (flymake-makehash, flymake-float-time)
6351 (flymake-replace-regexp-in-string, flymake-split-string)
6352 (flymake-get-temp-dir): Remove.
6353 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6354 (flymake-current-row, flymake-selected-frame)
6355 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6356 related functions. (Bug#16077)
6358 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6360 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6362 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6364 * help-fns.el (describe-function-1): Use new advice-* functions
6365 rather than old ad-* functions. Fix function type description and
6366 source links for advised functions and subrs.
6368 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6370 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6372 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6374 * progmodes/compile.el (compilation-start):
6375 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6377 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6378 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6380 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6382 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6383 Touch up the last change.
6385 2013-12-06 Leo Liu <sdl.web@gmail.com>
6387 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6388 (inferior-octave-startup): Always use "octave> " for prompt.
6389 (octave-goto-function-definition)
6390 (octave-sync-function-file-names)
6391 (octave-find-definition-default-filename): Remove redundant backquotes.
6393 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6395 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6397 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6398 where appropriate already.
6399 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6400 end of method names (Bug#15874).
6402 2013-12-06 Juri Linkov <juri@jurta.org>
6404 * isearch.el (isearch--saved-overriding-local-map):
6405 New internal variable.
6406 (isearch-mode): Set it to the initial value of
6407 `overriding-terminal-local-map'.
6408 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6409 with `isearch--saved-overriding-local-map'. (Bug#16035)
6411 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6413 * progmodes/octave.el (inferior-octave-completion-table):
6414 Turn back into function, use `completion-table-with-cache'
6415 (Bug#11906). Update all references.
6417 * minibuffer.el (completion-table-with-cache): New function.
6419 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6421 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6423 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6425 * net/eww.el (eww-current-source): New variable to store page
6427 (eww-display-html, eww-mode, eww-save-history)
6428 (eww-restore-history): Use it.
6429 (eww-view-source): New command to view page source.
6430 Opportunistically uses `html-mode' to highlight the buffer.
6431 (eww-mode-map): Install it.
6433 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6435 * net/dbus.el (dbus-unregister-service)
6436 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6438 (dbus-unregister-service): Skip :serial entries in
6439 `dbus-registered-objects-table'.
6440 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6442 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6444 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6445 around keywords with extra `split-string' argument.
6447 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6449 * windmove.el (windmove-other-window-loc): Handle navigation
6450 between windows (excluding the minibuffer window - Bug#16017).
6452 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6454 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6455 in D-Bus type syntax.
6456 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6457 preserve unibyte strings. (Bug#16048)
6459 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6461 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6462 Call force-mode-line-update is the proper buffer (bug#16042).
6464 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6466 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6467 `log-edit-remember-comment', make argument optional. Adjust all
6469 (log-edit-mode): Add `log-edit-remember-comment' to
6470 `kill-buffer-hook' locally.
6471 (log-edit-kill-buffer): Don't remember comment explicitly since
6472 the buffer is killed anyway.
6474 2013-12-04 Juri Linkov <juri@jurta.org>
6476 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6477 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6479 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6481 * notifications.el (notifications-close-notification): Call the
6482 D-Bus method with ID being a `:uint32'. (Bug#16030)
6484 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6486 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6488 2013-12-03 Juri Linkov <juri@jurta.org>
6490 * progmodes/compile.el (compilation-start): Rename window alist
6491 entry `no-display-ok' to `allow-no-window'.
6493 * simple.el (shell-command): Add window alist entry
6494 `allow-no-window' to `display-buffer'.
6495 (async-shell-command): Doc fix.
6497 * window.el (display-buffer-no-window): New action function.
6498 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6500 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6502 * vc/log-edit.el (log-edit-set-header): Extract from
6503 `log-edit-toggle-header'.
6504 (log-edit-extract-headers): Separate the summary, when extracted
6505 from header, from the rest of the message with an empty line.
6507 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6508 line, if present, to the Summary header.
6510 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6512 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6513 in current-buffer (bug#16029).
6515 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6517 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6518 (debugger-mode-map): Bind it.
6519 (debugger--backtrace-base): New function.
6520 (debugger-eval-expression): Use it.
6521 (debugger-frame-number): Skip local vars when present.
6522 (debugger--locals-visible-p, debugger--insert-locals)
6523 (debugger--show-locals, debugger--hide-locals): New functions.
6525 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6527 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6529 (tramp-get-remote-locale): New defun.
6530 (tramp-open-connection-setup-interactive-shell): Use it.
6532 2013-12-02 Leo Liu <sdl.web@gmail.com>
6534 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6536 * progmodes/sh-script.el (sh-shell-process):
6537 * progmodes/octave.el (inferior-octave-process-live-p):
6538 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6539 (gdb-inferior-io-sentinel):
6540 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6542 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6544 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6545 `save-selected-window' to `log-edit-hide-buf'. This makes
6546 `log-edit-show-files' idempotent.
6547 (log-edit-show-files): Mark the new window as dedicated.
6549 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6551 * vc/log-edit.el (log-edit-mode-map): Add binding for
6552 `log-edit-kill-biffer'.
6553 (log-edit-hide-buf): Add a FIXME comment.
6554 (log-edit-add-new-comment): New function, extracted from
6556 (log-edit-done, log-edit-add-to-changelog): Use it.
6557 (log-edit-kill-buffer): New command.
6559 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6561 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6562 instead of killing the buffer.
6564 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6566 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6568 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6570 * net/eww.el (eww-form-checkbox-selected-symbol)
6571 (eww-form-checkbox-symbol): New customizable variable.
6572 (eww-form-checkbox, eww-toggle-checkbox):
6573 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6575 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6576 (shr--get-media-pref, shr--extract-best-source): New function.
6577 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6578 no :src tag was specified.
6580 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6581 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6582 Use \\` to match beginning of string instead of ^.
6583 (eww-browse-with-external-browser): Provide optional URL parameter.
6584 (eww-render): Set `eww-current-title' back to "".
6586 * net/shr.el (shr-tag-video): Display content for video if no
6587 poster is available.
6588 (shr-tag-audio): Add support for <audio> tag.
6590 * net/eww.el (eww-text-input-types): New const.
6591 (eww-process-text-input): Treat input types in
6592 `eww-text-input-types' as text.
6594 * net/shr.el (shr-tag-table): Fix comment typo.
6596 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6598 * net/eww.el (eww-follow-link): New command to avoid reloading
6599 pages when we follow #target links (bug#15243).
6600 (eww-quit): Special mode buffers shouldn't query before exiting.
6602 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6604 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6607 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6609 * net/eww.el (eww-restore-history): Update the window title after
6610 moving in the history.
6611 (eww-current-dom): New variable used to save the current DOM.
6613 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6615 * vc/log-edit.el (log-edit-mode-map): Add binding for
6616 `log-edit-beginning-of-line'.
6617 (log-edit-setup-add-author): New user option.
6618 (log-edit-beginning-of-line): New command.
6619 (log-edit): Move major mode call above the contents setup so that
6620 the local variable values are already applied.
6621 (log-edit): Only insert "Author: " when
6622 `log-edit-setup-add-author' is non-nil.
6623 (log-edit): When SETUP is non-nil, position point after ": "
6624 instead of point-min.
6626 2013-12-01 Glenn Morris <rgm@gnu.org>
6628 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6630 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6632 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6633 redisplay to make sure the initial frame gets a chance to become
6634 visible. (Bug#16014)
6636 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6638 Support resizing frames and windows pixelwise.
6639 * cus-start.el (frame-resize-pixelwise)
6640 (window-resize-pixelwise): New entries.
6641 * emacs-lisp/debug.el (debug): Use window-total-height instead
6642 of window-total-size.
6643 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6644 * help.el (describe-bindings-internal): Use help-buffer as
6645 argument for with-help-window.
6646 (temp-buffer-max-width): New option.
6647 (resize-temp-buffer-window, help-window-setup)
6648 (with-help-window): Rewrite.
6649 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6651 * window.el (frame-char-size, window-min-pixel-height)
6652 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6653 (window-min-pixel-width, window-safe-min-pixel-size)
6654 (window-combination-p, window-safe-min-size)
6655 (window-resizable-p, window--size-to-pixel)
6656 (window--pixel-to-size, window--resize-apply-p): New functions.
6657 (window-safe-min-height): Fix doc-string.
6658 (window-size, window-min-size, window--min-size-1)
6659 (window-sizable, window-sizable-p, window--min-delta-1)
6660 (window-min-delta, window--max-delta-1, window-max-delta)
6661 (window--resizable, window--resizable-p, window-resizable)
6662 (window-full-height-p, window-full-width-p, window-at-side-p)
6663 (window--in-direction-2, window-in-direction)
6664 (window--resize-reset-1, window--resize-mini-window)
6665 (window-resize, window-resize-no-error)
6666 (window--resize-child-windows-normal)
6667 (window--resize-child-windows, window--resize-siblings)
6668 (window--resize-this-window, window--resize-root-window)
6669 (window--resize-root-window-vertically)
6670 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6671 (maximize-window, minimize-window, delete-window)
6672 (quit-restore-window, window-split-min-size, split-window)
6673 (balance-windows-2, balance-windows)
6674 (balance-windows-area-adjust, balance-windows-area)
6675 (window--state-get-1, window-state-get, window--state-put-1)
6676 (window--state-put-2, window-state-put)
6677 (display-buffer-record-window, window--display-buffer):
6678 Make functions handle pixelwise sizing of windows.
6679 (display-buffer--action-function-custom-type)
6680 (display-buffer-fallback-action):
6681 Add display-buffer-in-previous-window.
6682 (display-buffer-use-some-window): Resize window to height it had
6684 (fit-window-to-buffer-horizontally): New option.
6685 (fit-frame-to-buffer): Describe new values.
6686 (fit-frame-to-buffer-bottom-margin): Replace with
6687 fit-frame-to-buffer-margins.
6688 (window--sanitize-margin): New function.
6689 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6690 using window-text-pixel-size.
6692 2013-11-30 Glenn Morris <rgm@gnu.org>
6694 * emacs-lisp/bytecomp.el (byte-compile-form):
6695 Make the `interactive-only' warning like the `obsolete' one.
6696 * comint.el (comint-run):
6697 * files.el (insert-file-literally, insert-file):
6698 * replace.el (replace-string, replace-regexp):
6699 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6700 (goto-line, insert-buffer, next-line, previous-line):
6701 Tweak `interactive-only' spec.
6703 Stop keeping (most) generated cedet grammar files in the repository.
6704 * Makefile.in (semantic): New.
6705 (compile-main): Depend on semantic.
6707 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6709 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6710 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6712 * uniquify.el (uniquify-buffer-name-style): Change default.
6714 * loadup.el: Preload "uniquify".
6716 * time.el (display-time-update): Update all mode lines (bug#15999).
6718 * electric.el (electric-indent-mode): Enable by default.
6719 * loadup.el: Preload "electric".
6721 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6723 * emacs-lisp/helpers.el (string-empty-p): New function.
6724 (string-blank-p): New function.
6726 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6728 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6731 2013-11-29 Andreas Politz <politza@fh-trier.de>
6732 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6733 allow non-lambda lists as functions.
6734 (imenu--in-alist): Don't recurse into non-subalists.
6735 (imenu): Don't pass function itself as an argument (Bug#14029).
6737 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6739 * progmodes/python.el (python-mode-map): Remove binding for ":".
6740 (python-indent-electric-colon): Remove command.
6741 (python-indent-post-self-insert-function): Integrate the previous code
6742 of python-indent-electric-colon. Make it conditional on
6743 electric-indent-mode.
6744 (python-mode): Add ?: to electric-indent-chars.
6745 Move python-indent-post-self-insert-function to the end of
6746 post-self-insert-hook.
6748 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6750 * doc-view.el (doc-view-goto-page): Update mode-line.
6752 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6754 2013-11-27 Glenn Morris <rgm@gnu.org>
6756 * international/charprop.el, international/uni-bidi.el:
6757 * international/uni-category.el, international/uni-combining.el:
6758 * international/uni-comment.el, international/uni-decimal.el:
6759 * international/uni-decomposition.el, international/uni-digit.el:
6760 * international/uni-lowercase.el, international/uni-mirrored.el:
6761 * international/uni-name.el, international/uni-numeric.el:
6762 * international/uni-old-name.el, international/uni-titlecase.el:
6763 * international/uni-uppercase.el:
6764 Remove generated files from VCS repository.
6766 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6768 * filenotify.el (file-notify-add-watch): Don't special-case
6769 w32notify when computing the directory to watch.
6771 2013-11-27 Glenn Morris <rgm@gnu.org>
6773 Make bootstrap without generated uni-*.el files possible again.
6774 * loadup.el: Update command-line-args checking for unidata-gen.
6775 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6776 * composite.el, international/characters.el:
6777 Handle unicode tables being undefined.
6779 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6780 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6781 (compile-main): Depend on leim rule.
6783 * loadup.el: Move leim-list.el to leim/ subdirectory.
6784 * startup.el (normal-top-level): No more leim directory.
6785 * international/ja-dic-cnv.el (skkdic-convert):
6786 Disable version-control and autoloads in output files.
6787 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6788 Disable version-control and autoloads in output files.
6789 * leim/quail: Move here from ../leim.
6790 * leim/quail/hangul.el (hangul-input-method-activate):
6791 Add autoload cookie.
6792 (generated-autoload-load-name): Set file-local value.
6793 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6794 (generated-autoload-load-name): Set file-local value.
6796 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6798 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6799 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6800 (eww-quit): Ask confirmation before quitting eww.
6802 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6804 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6805 reading output from Diff on MS-Windows and MS-DOS.
6807 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6809 * emacs-lisp/helpers.el (string-reverse): New function.
6811 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6813 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6814 names on MS Windows, like "/[::1]:".
6816 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6819 2013-11-26 Glenn Morris <rgm@gnu.org>
6821 * progmodes/python.el (python-indent-guess-indent-offset):
6822 Avoid corner-case error. (Bug#15975)
6824 Preload leim-list.el. (Bug#4789)
6825 * loadup.el: Load leim-list.el when found.
6826 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6828 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6830 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6832 * emacs-lisp/helpers.el (string-join): New function.
6834 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6836 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6837 Mark as obsolete and replace it with a symbol property.
6838 (byte-compile-form): Use new 'interactive-only property.
6839 * comint.el, files.el, replace.el, simple.el:
6840 Apply new 'interactive-only properly.
6842 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6844 * window.el (display-buffer-at-bottom): Make sure that
6845 split-window-sensibly creates the new window on bottom
6848 2013-11-23 David Kastrup <dak@gnu.org>
6850 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6851 on the conflict markers when available.
6852 (smerge--get-marker): New function.
6853 (smerge-end-re, smerge-base-re): Add subgroup.
6855 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6857 * frame.el (handle-focus-in, handle-focus-out): Add missing
6860 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6862 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6863 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6865 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6867 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6868 (gomoku--last-pos): New var.
6869 (gomoku--intangible-chars): New const.
6870 (gomoku--intangible): New function.
6871 (gomoku-mode): Use it. Derive from special-mode.
6872 (gomoku-move-up): Adjust line count.
6873 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6874 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6875 Simplify accordingly.
6877 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6878 Remove blink-cursor code.
6879 (blink-cursor-timer-function, blink-cursor-suspend):
6880 Don't special-case GUIs.
6881 (blink-cursor-mode): Use focus-in/out-hook.
6883 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6885 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6886 work when annotation is invisible (Bug#13886).
6888 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6890 * json.el (json-alist-p): Only return non-nil if the alist has
6891 simple keys (Bug#13518).
6893 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6895 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6896 when control-statement is the first statement in a buffer (Bug#15956).
6898 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6900 * imenu.el (imenu-generic-skip-comments-and-strings):
6901 New option (Bug#15560).
6902 (imenu--generic-function): Use it.
6904 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6906 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6909 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6911 * emacs-lisp/helpers.el: Add some string helpers.
6912 (string-trim-left): Removes leading whitespace.
6913 (string-trim-right): Removes trailing whitespace.
6914 (string-trim): Removes leading and trailing whitespace.
6916 * subr.el (string-suffix-p): New function.
6918 2013-11-23 Glenn Morris <rgm@gnu.org>
6920 * progmodes/python.el (python-shell-send-file):
6921 Add option to delete file when done. (Bug#15647)
6922 (python-shell-send-string, python-shell-send-region): Use it.
6924 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6926 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6927 to set buffer-read-only to t, never to nil. (Bug#15938)
6929 * textmodes/tex-mode.el (latex-noindent-environments):
6930 Add safe-local-variable property. (Bug#15936)
6932 2013-11-23 Glenn Morris <rgm@gnu.org>
6934 * textmodes/enriched.el (enriched-mode): Doc fix.
6935 * emacs-lisp/authors.el (authors-renamed-files-alist):
6936 Add enriched.doc -> enriched.txt.
6938 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6940 2013-11-22 Leo Liu <sdl.web@gmail.com>
6942 * progmodes/octave.el (inferior-octave-startup): Spit out error
6945 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6947 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6950 (ruby-encoding-magic-comment-style): Add :version.
6952 2013-11-22 Leo Liu <sdl.web@gmail.com>
6954 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6956 (octave-help-mode): Adapt to change to help-mode-finish to use
6957 derived-mode-p on 2013-09-17.
6958 (inferior-octave-prompt): Also match octave-gui.
6959 (octave-kill-process): Don't ask twice. (Bug#10564)
6961 2013-11-22 Leo Liu <sdl.web@gmail.com>
6963 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6964 (inferior-octave-startup, inferior-octave-check-process)
6965 (inferior-octave-track-window-width-change)
6966 (octave-completion-at-point, octave-eldoc-function): Use it.
6967 (octave-kill-process): Provide confirmation. (Bug#10564)
6969 2013-11-21 Leo Liu <sdl.web@gmail.com>
6971 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6972 Fix obsolete variable comment-use-global-state.
6974 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6976 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6977 Add `octave-source-file'.
6978 (octave-source-file): New function. (Bug#15935)
6980 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6982 * net/eww.el (eww-local-regex): New variable.
6983 (eww): Use it to detect localhost and similar.
6985 2013-11-21 Leo Liu <sdl.web@gmail.com>
6987 Add completion for command `ag'.
6988 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6989 (pcomplete/ag): New function.
6990 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6992 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6994 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6996 (make-obsolete): Remove interactive spec.
6998 2013-11-21 Glenn Morris <rgm@gnu.org>
7000 * startup.el (command-line-1): Use path-separator with -L.
7002 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7004 * emacs-lisp/package.el (describe-package-1): Add package archive
7007 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7009 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7010 Change default to "# encoding: %s" to differentiate it from the
7011 default Ruby encoding comment template.
7013 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7015 * ses.el (ses-mode): Doc fix. (Bug#14748)
7017 2013-11-20 Leo Liu <sdl.web@gmail.com>
7019 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7021 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7023 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7024 when rebase or bisect are in progress.
7026 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7028 * filenotify.el (file-notify-add-watch): Doc fix.
7030 2013-11-19 Leo Liu <sdl.web@gmail.com>
7032 * obsolete/rcompile.el: Mark obsolete.
7034 * progmodes/compile.el (compilation-start)
7035 (compilation-goto-locus, compilation-find-file):
7036 Pass no-display-ok and handle nil value from display-buffer.
7039 * window.el (display-buffer-alist, display-buffer): Document the
7040 new parameter no-display-ok. Return either a window or nil
7041 but never a non-window value.
7043 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7045 * electric.el (electric-indent-mode-map): Remove.
7046 (electric-indent-mode): Change the global-map instead (bug#15915).
7048 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7051 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7053 * emacs-lisp/nadvice.el (remove-function): Align with
7054 add-function's behavior.
7056 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7057 (gdb--string-regexp): New constant.
7058 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7059 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7060 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7062 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7063 Adjust use accordingly.
7064 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7066 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7068 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7069 interpolation curlies (Bug#15914).
7071 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7073 * calc/calc.el (calc-context-sensitive-enter): New variable.
7074 (calc-enter): Use `calc-context-sensitive-enter'.
7076 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7078 * progmodes/cfengine.el: Version bump.
7079 (cfengine-cf-promises): New defcustom to locate cf-promises.
7080 (cfengine3-vartypes): Add new "data" type.
7081 (cfengine3--current-word): New function to get current name-like
7083 (cfengine3--current-function): New function to look up a CFEngine
7084 function's definition.
7085 (cfengine3-format-function-docstring): New function.
7086 (cfengine3-make-syntax-cache): New function.
7087 (cfengine3-documentation-function): New function: ElDoc glue.
7088 (cfengine3-completion-function): New function: completion glue.
7089 (cfengine3-mode): Set `compile-command',
7090 `eldoc-documentation-function', and add to
7091 `completion-at-point-functions'.
7093 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7095 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7096 `tramp-current-connection'.
7098 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7100 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7101 nil/self/true/false with "end of symbol".
7103 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7105 * subr.el (version-regexp-alist): Fix a typo.
7107 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7109 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7110 "en_US.utf8" and "LC_CTYPE" to "".
7111 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7112 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7114 2013-11-15 Leo Liu <sdl.web@gmail.com>
7116 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7118 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * progmodes/gud.el (ctl-x-map):
7121 Remove C-x SPC binding. (Bug#12342)
7122 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7124 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7126 * subr.el (version-regexp-alist):
7127 Recognize hg, svn and darcs versions as snapshot versions.
7129 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7130 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7131 (ruby--encoding-comment-required-p): Extract from
7132 `ruby-mode-set-encoding'.
7133 (ruby-mode-set-encoding): Add the ability to always insert an
7134 utf-8 encoding comment. Fix and simplify coding comment update
7137 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7139 * net/tramp-gvfs.el (top): Run init code only when
7140 `tramp-gvfs-enabled' is not nil.
7141 (tramp-gvfs-enabled): Check also :system bus.
7143 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7145 Sync with upstream verilog-mode revision 78e66ba.
7146 * progmodes/verilog-mode.el (verilog-end-of-defun)
7147 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7148 (verilog-get-end-of-defun): Remove unused argument.
7149 (verilog-comment-depth): Remove unused local `e'.
7150 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7151 Don't pass arg to verilog-get-end-of-defun.
7153 2013-11-14 Glenn Morris <rgm@gnu.org>
7155 * obsolete/assoc.el (aget): Prefix dynamic variable.
7157 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7159 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7161 * widget.el, hfy-cmap.el: Remove bogus package version number.
7163 2013-11-13 Glenn Morris <rgm@gnu.org>
7165 * replace.el (replace-eval-replacement):
7166 Try to give more helpful error message. (Bug#15836)
7168 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7169 (archive-7z-update): Avoid custom type mismatches.
7171 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7173 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7175 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7176 address can be empty.
7178 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7179 Accept nil SWITCHES.
7180 (tramp-gvfs-handle-write-region): Implement APPEND.
7182 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7184 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7185 binary "|" operator and closing block args delimiter.
7186 Remove FIXME comment referring to Ruby 1.8-only syntax.
7187 (ruby-smie--implicit-semi-p): Not after "|" operator.
7188 (ruby-smie--closing-pipe-p): New function.
7189 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7190 (ruby-smie-rules): Indent after "|".
7192 2013-11-12 Glenn Morris <rgm@gnu.org>
7194 * ps-print.el (ps-face-attribute-list):
7195 Handle anonymous faces. (Bug#15827)
7197 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7199 * window.el (display-buffer-other-frame): Fix doc-string.
7202 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7204 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7206 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7208 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7209 (tramp-sh-handle-file-local-copy): Don't write a message when
7210 saving temporary files.
7212 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7213 both directories are remote.
7214 (tramp-smb-handle-directory-files): Do not return double entries.
7215 Do not expand full file names.
7216 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7217 (tramp-smb-handle-write-region): Implement APPEND.
7218 (tramp-smb-get-stat-capability): Fix a stupid bug.
7220 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7222 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7224 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7226 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7227 throwing error over malformed let/let* (bug#15814).
7229 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * iswitchb.el (iswitchb-mode): Mark obsolete.
7233 2013-11-11 Glenn Morris <rgm@gnu.org>
7235 * international/uni-bidi.el, international/uni-category.el:
7236 * international/uni-name.el, international/uni-numeric.el:
7237 Regenerate for Unicode 6.3.0.
7239 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7241 * net/tramp.el (tramp-methods):
7242 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7243 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7245 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7247 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7248 Force highlighting text after Summary keyword in doc face for rpm.
7250 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7252 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7253 available and the word has no wildcards, append one to the grep pattern.
7254 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7255 (ispell-complete-word): Call `ispell-lookup-words' with the value
7256 independent of `ispell-look-p'.
7258 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7260 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7262 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7265 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7268 (ruby-font-lock-keywords): Use backquote.
7270 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7272 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7273 (ruby-smie--backward-token): Only consider full-string matches.
7275 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7277 * faces.el (describe-face): Add distant-foreground.
7279 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7281 * progmodes/ruby-mode.el: Improve encoding comment handling.
7282 (ruby-encoding-magic-comment-style): New option.
7283 (ruby-custom-encoding-magic-comment-template): New option.
7284 (ruby--insert-coding-comment, ruby--detect-encoding):
7285 New functions extracted from `ruby-mode-set-encoding'.
7286 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7287 to control the style of the auto-inserted encoding comment.
7289 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7291 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7292 Use `smie-backward-sexp' with token argument.
7294 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7296 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7297 Remove instrumentation code.
7299 2013-11-08 Glenn Morris <rgm@gnu.org>
7301 * progmodes/autoconf.el (autoconf-mode):
7302 Tweak comment-start-skip. (Bug#15822)
7304 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7306 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7307 at bobp (bug#15826).
7308 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7310 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7312 * man.el (Man-start-calling): New macro, extracted from
7313 Man-getpage-in-background.
7314 (Man-getpage-in-background): Use it.
7315 (Man-update-manpage): New command.
7316 (Man-mode-map): Bind it.
7318 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7320 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7321 of "and", "or", "&&" and "||".
7322 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7323 argument. Prohibit opening curly brace because it could only be a
7324 block opener in that position.
7325 (ruby-smie--forward-token, ruby-smie--backward-token):
7326 Separate "|" from "&" or "*" going after it. That can happen in block
7328 (ruby-smie--indent-to-stmt): New function, seeks the end of
7329 previous statement or beginning of buffer.
7330 (ruby-smie-rules): Use it.
7331 (ruby-smie-rules): Check if there's a ":" before a curly block
7332 opener candidate; if there is, it's a hash.
7334 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7336 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7337 (cl--block-wrapper): Fix last accidental change.
7339 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7341 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7342 Instrument, in order to hunt failure on hydra.
7344 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7346 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7347 malformed bindings form (bug#15814).
7349 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7351 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7352 "." compared to " @ ". This incidentally fixes some indentation
7354 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7355 (ruby-smie-grammar): New tokens: "and" and "or".
7356 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7357 Exclude "and" and "or". Remove "do" in order to work around token
7359 (ruby-smie-rules): Add all infix tokens. Handle the case of
7360 beginning-of-buffer.
7362 2013-11-06 Glenn Morris <rgm@gnu.org>
7364 * Makefile.in (setwins_almost, setwins_for_subdirs):
7365 Avoid accidental matches.
7367 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7369 * menu-bar.el (popup-menu): Use key-binding.
7371 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7373 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7374 menus, support also the menus produced by minor modes.
7377 2013-11-06 Leo Liu <sdl.web@gmail.com>
7379 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7380 DISTANCE to bound the search. All uses changed. (Bug#15808)
7382 2013-11-06 Glenn Morris <rgm@gnu.org>
7384 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7385 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7386 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7388 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7390 * electric.el (electric-indent-just-newline): New command.
7391 (electric-indent-mode-map): New keymap.
7392 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7393 Re-add :group which weren't redundant.
7395 * electric.el (electric-indent-local-mode): New minor mode.
7396 (electric-indent-functions-without-reindent): New var.
7397 (electric-indent-post-self-insert-function): Use it.
7398 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7400 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7402 * international/quail.el (quail-help): Be more explicit about the
7403 meaning of the labels shown on the keys. (Bug#15800)
7405 * startup.el (normal-top-level): Load the subdirs.el files before
7406 setting the locale environment. (Bug#15805)
7408 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7410 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7411 via arguments so as to get the right ones (bug#15418).
7413 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7415 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7417 Fix problems found while writing a test suite.
7419 * net/tramp-compat.el (tramp-compat-load): New defun.
7420 * net/tramp.el (tramp-handle-load): Use it.
7422 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7423 "(numberp ok-if-already-exists)" correctly.
7425 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7427 * international/characters.el (glyphless-char-display-control):
7430 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7432 * progmodes/python.el (python-mode):
7433 * progmodes/scheme.el (scheme-mode):
7434 * progmodes/prolog.el (prolog-mode):
7435 * progmodes/ruby-mode.el (ruby-mode):
7436 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7437 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7439 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7441 * rect.el (rectangle--highlight-for-redisplay):
7442 * emacs-lisp/smie.el (smie--next-indent-change):
7443 Use buffer-chars-modified-tick.
7445 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7447 * electric.el (electric-indent-post-self-insert-function):
7448 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7450 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7452 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7454 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7456 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7459 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7461 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7463 * progmodes/python.el: Fix up last change.
7464 (python-shell--save-temp-file): New function.
7465 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7466 `string' comes from the current buffer.
7467 (python-shell-send-string-no-output): Remove `msg' arg.
7468 (python--use-fake-loc): New var.
7469 (python-shell-buffer-substring): Obey it. Try to compensate for the
7470 extra coding line added by python-shell--save-temp-file.
7471 (python-shell-send-region): Use python-shell--save-temp-file and
7472 python-shell-send-file directly. Add `nomain' argument.
7473 (python-shell-send-buffer): Use python-shell-send-region.
7474 (python-electric-pair-string-delimiter): New function.
7475 (python-mode): Use it.
7477 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7479 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7480 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7481 environment and decoding all of the default-directory's to here
7483 (command-line): Decode also argv[0].
7485 * loadup.el: Error out if default-directory is a multibyte string
7486 when we are dumping.
7488 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7490 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7492 * emacs-lisp/package.el (package-menu-mode)
7493 (package-menu--print-info, package-menu--archive-predicate):
7494 Add Archive column to package list.
7496 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7498 Fix problems found while writing a test suite.
7500 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7501 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7502 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7503 to nil when running original file name handler. Otherwise,
7504 there are problems with constructs like "$$FOO".
7506 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7509 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7511 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7513 * subr.el (version<, version<=, version=):
7514 Update docstrings with information for snapshot versions.
7516 * helpers.el: New library for misc helper functions.
7517 (hash-table-keys): New function returning a list of hash keys.
7518 (hash-table-values): New function returning a list of hash values.
7520 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7522 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7523 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7525 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7527 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7528 checking whether point is after a 1-letter word.
7530 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7532 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7533 Don't infloop when expanding region over `multiline' syntax-type that
7534 begins a line (bug#15778).
7536 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7538 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7539 Make it into a proper minor mode.
7540 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7541 (rectangle-mark-mode-map): New keymap.
7542 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7544 2013-11-04 Glenn Morris <rgm@gnu.org>
7546 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7548 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7550 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7551 (ruby-smie-rules): Use smie-rule-parent instead.
7553 * emacs-lisp/smie.el (smie-rule-parent): Always call
7554 smie-indent-virtual rather than only for hanging tokens.
7555 (smie--next-indent-change): New helper command.
7557 2013-11-03 Glenn Morris <rgm@gnu.org>
7559 * Makefile.in (abs_srcdir): Remove.
7560 (emacs): Unset EMACSLOADPATH.
7562 2013-11-02 Glenn Morris <rgm@gnu.org>
7564 * Makefile.in (EMACS): Use a relative filename.
7565 (abs_top_builddir): Remove.
7566 (custom-deps, finder-data, autoloads): Use --chdir.
7568 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7570 Use relative filenames in TAGS files.
7571 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7572 (lisptagsfiles4, TAGS): Use relative file names.
7573 (TAGS-LISP): Remove.
7574 (maintainer-clean): No more TAGS-LISP file.
7576 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7577 (lisptagsfiles4): Use absolute filenames again.
7578 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7579 Remove all *loaddefs files, not just the first. Remove esh-groups.
7580 (maintainer-clean): Delete TAGS, TAGS-LISP.
7582 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7584 * emacs-lisp/package.el (package-version-join):
7585 Recognize snapshot versions.
7587 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7589 * subr.el (version-regexp-alist): Add support for snapshot versions.
7591 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7593 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7594 New function, replacement for `smie-rule-parent' for when we want to
7595 skip over our direct parent if it's an assignment token..
7596 (ruby-smie-rules): Use it.
7598 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7600 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7601 unconditionally. Remove now unnecessary forward declarations.
7602 Remove XEmacs-specific setup.
7603 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7604 (ruby-font-lock-syntactic-keywords)
7605 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7606 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7607 (ruby-here-doc-end-syntax): Remove.
7608 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7609 defined as function.
7611 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7613 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7615 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7617 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7618 table and abbrev table, `define-derived-mode' does that for us
7621 2013-11-01 Glenn Morris <rgm@gnu.org>
7623 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7624 files is atomic for some time, so no parallel compilation issues).
7626 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7628 * faces.el (face-x-resources): Add :distant-foreground.
7629 (region): Use :distant-foreground for gtk and ns.
7631 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7633 Allow multiple bibliographies when BibLaTeX is used rather than
7635 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7636 (reftex-locate-bibliography-files): Us it.
7638 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7640 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7641 allow comments in pbm files.
7643 * term/w32-win.el (dynamic-library-alist): Support newer versions
7644 of libjpeg starting with v7: look only for the DLL from the
7645 version against which Emacs was built.
7646 Support versions of libpng beyond 1.4.x.
7647 Support libtiff v4.x.
7649 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7651 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7652 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7654 (ruby-deep-arglist): Add property :type.
7656 2013-10-31 Glenn Morris <rgm@gnu.org>
7658 * Makefile.in (custom-deps, finder-data): No need to setq the target
7659 variables, we are in the right directory and the defaults work fine.
7661 2013-10-30 Glenn Morris <rgm@gnu.org>
7663 * Makefile.in (autoloads): Do not use abs_lisp.
7665 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7666 `newline' does not respect `standard-output', so use `princ'.
7668 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7670 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7671 * buff-menu.el (Buffer-menu--unmark): New function.
7672 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7674 2013-10-30 Glenn Morris <rgm@gnu.org>
7676 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7678 * emacs-lisp/package.el (lm-homepage): Declare.
7680 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7683 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7685 * Makefile.in (finder-data, autoloads, update-subdirs)
7686 (compile-main, compile-clean, compile-always, bootstrap-clean):
7687 Check return value of cd.
7688 (compile-calc): Remove.
7690 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7692 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7694 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7695 (byte-compile-and-folded): New function.
7696 (=, <, >, <=, >=): Use it.
7698 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7699 (path-separator, null-device, buffer-file-coding-system)
7700 (lpr-headers-switches): Check system-type before modifying them.
7701 (find-buffer-file-type-coding-system): Mark obsolete.
7702 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7703 find-file-not-found-set-buffer-file-coding-system.
7704 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7705 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7706 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7707 (w32-direct-print-region-helper, w32-direct-print-region-function)
7708 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7709 * startup.el (normal-top-level-add-subdirs-to-load-path):
7710 * ps-print.el (ps-print-region-function):
7711 * lpr.el (print-region-function): Use new name.
7713 * subr.el (custom-declare-variable-early): Remove function.
7714 (custom-declare-variable-list): Remove var.
7715 (error, user-error): Remove `while' loop.
7716 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7717 (user-emacs-directory-warning, locate-user-emacs-file):
7719 * simple.el (read-quoted-char-radix, read-quoted-char):
7720 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7722 * custom.el (custom-declare-variable-list): Don't process
7723 custom-declare-variable-list.
7725 * progmodes/python.el (python-shell-get-buffer): New function.
7726 (python-shell-get-process): Use it.
7727 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7728 Python which encoding was used. Don't split-string since we only care
7729 about the first line. Return the temp-file, if applicable.
7730 (python-shell-send-region): Tell compile.el how to turn locations in
7731 the temp-file into locations in the source buffer.
7733 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7735 * subr.el (undefined): Add missing behavior from the C code for
7738 * rect.el: Use lexical-binding. Add new rectangular region support.
7739 (rectangle-mark): New command.
7740 (rectangle--region): New var.
7741 (deactivate-mark-hook): Reset rectangle--region.
7742 (rectangle--extract-region, rectangle--insert-for-yank)
7743 (rectangle--highlight-for-redisplay)
7744 (rectangle--unhighlight-for-redisplay): New functions.
7745 (region-extract-function, redisplay-unhighlight-region-function)
7746 (redisplay-highlight-region-function): Use them to handle
7748 * simple.el (region-extract-function): New var.
7749 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7750 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7751 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7752 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7753 (redisplay-unhighlight-region-function)
7754 (redisplay-highlight-region-function): New vars.
7755 (redisplay--update-region-highlight): New function.
7756 (pre-redisplay-function): Use it.
7757 (exchange-point-and-mark): Don't deactivate the mark before
7758 reactivate-it anyway.
7759 * comint.el (comint-kill-region): Remove yank-handler argument.
7760 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7761 (delete-char): Remove property, since it's now part of their
7763 (self-insert-iso): Remove property since this command doesn't exist.
7765 * emacs-lisp/package.el (package--download-one-archive)
7766 (describe-package-1): Don't query the user about final newline.
7768 2013-10-29 Daniel Colascione <dancol@dancol.org>
7770 * net/tramp.el (tramp-methods): Document new functionality.
7771 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7772 tramp-hostname-checker if method provides one instead of scanning
7773 argument list for "%h" to decide hostname acceptability.
7775 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7777 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7778 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7779 Handle COPY-CONTENTS. (Bug#15737)
7781 2013-10-28 Daiki Ueno <ueno@gnu.org>
7784 (epa-file-cache-passphrase-for-symmetric-encryption):
7785 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7787 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7789 * image.el (defimage, image-load-path): Doc fixes.
7791 2013-10-27 Alan Mackenzie <acm@muc.de>
7793 Indent statements in macros following "##" correctly.
7794 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7795 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7797 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7799 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7801 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7803 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7804 after `=' is probably a new expression.
7806 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7808 * man.el (man-imenu-title): New option.
7809 (Man-mode-map): Add menu. (Bug#15722)
7810 (Man-mode): Add imenu to menu.
7812 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7814 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7815 specific in what the first arg can be: a non-keyword word,
7816 string/regexp/percent literal opener, opening paren, or unary
7817 operator followed directly by word.
7819 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7821 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7822 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7823 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7824 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7825 Remove vars, they do not apply any more.
7826 (prolog-mode-abbrev-table): Remove redundant declaration.
7827 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7828 (prolog-use-smie): Remove.
7829 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7830 supported by prolog-electric-if-then-else-flag.
7831 (prolog-mode-variables, prolog-menu): Use setq-local.
7832 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7833 Remove binding to `Backspace' since this key doesn't exist anyway.
7834 Remove bindings for electric self-inserting keys.
7835 (prog-mode): Assume it's defined.
7836 (prolog-post-self-insert): New function.
7837 (prolog-mode): Use it.
7838 (prolog-indent-line, prolog-indent-level)
7839 (prolog-find-indent-of-matching-paren)
7840 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7841 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7842 (prolog-goto-next-paren, prolog-in-string-or-comment)
7843 (prolog-tokenize, prolog-inside-mline-comment)
7844 (prolog-find-start-of-mline-comment): Remove functions.
7845 (prolog-find-unmatched-paren, prolog-clause-end)
7846 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7847 (prolog-electric--if-then-else): Rename from
7848 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7849 (prolog-tokenize-searchkey): Remove const.
7850 (prolog-clause-info): Use forward-sexp.
7851 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7852 (prolog-electric-if-then-else): Remove commands.
7853 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7854 for use in post-self-insert-hook.
7855 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7856 for use in post-self-insert-hook.
7857 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7858 for use in post-self-insert-hook.
7859 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7860 adapt it for use in post-self-insert-hook.
7862 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7864 * emacs-lisp/ert.el (ert-run-tests-interactively):
7865 Use `completing-read'. (Bug#9756)
7867 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7869 * simple.el (line-move): Call line-move-1 instead of
7870 line-move-visual when the current window hscroll is zero, but
7871 temporary-goal-column indicates we will need to hscroll as result
7872 of the movement. (Bug#15712)
7874 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7876 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7877 capitalization. Use :visible instead of :active.
7878 Fix `ruby-indent-exp' reference. Add menu items for the generic
7879 commands that are used with SMIE.
7880 (ruby-do-end-to-brace): Insert space after `{'.
7882 2013-10-25 John Anthony <john@jo.hnanthony.com>
7884 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7886 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7888 2013-10-25 Glenn Morris <rgm@gnu.org>
7890 * vc/vc.el (vc-print-log): Don't use a working revision unless
7891 one was explicitly specified. (Bug#15322)
7893 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7895 * subr.el (add-to-list): Preserve return value in compiler-macro
7898 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7900 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7901 result. Ask user to retry using '-all' flag. (Bug#15701)
7903 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7905 * emacs-lisp/smie.el: New smie-config system.
7906 (smie-config): New defcustom.
7907 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7908 (smie-config-guess, smie-config-save): New commands.
7909 (smie-config--mode-local, smie-config--buffer-local)
7910 (smie-config--trace, smie-config--modefuns): New vars.
7911 (smie-config--advice, smie-config--mode-hook)
7912 (smie-config--setter, smie-config-local, smie-config--get-trace)
7913 (smie-config--guess-value, smie-config--guess): New functions.
7914 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7915 text properties. Treat "string fence" syntax like string syntax.
7917 * progmodes/sh-script.el (sh-use-smie): Change default.
7918 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7919 (sh-var-value): Simplify by CSE.
7920 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7921 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7923 (sh-guess-basic-offset): Use cl-incf.
7924 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7926 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7928 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7931 2013-10-24 Glenn Morris <rgm@gnu.org>
7933 * Makefile.in (abs_top_srcdir): Remove.
7934 (update-subdirs): Use relative path to update-subdirs.
7936 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7938 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7939 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7940 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7941 Call unmsys--file-name before expand-file-name, not after it.
7943 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7945 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7946 (ert-test-skipped): New error.
7947 (ert-skip, ert-stats-skipped): New defuns.
7948 (ert--skip-unless): New macro.
7949 (ert-test-skipped): New struct.
7950 (ert--run-test-debugger, ert-test-result-type-p)
7951 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7952 (ert--stats-set-test-and-result, ert-char-for-test-result)
7953 (ert-string-for-test-result, ert-run-tests-batch)
7954 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7955 Handle skipped tests. (Bug#9803)
7957 2013-10-24 Glenn Morris <rgm@gnu.org>
7959 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7961 * Makefile.in (abs_top_srcdir): New, set by configure.
7962 (update-subdirs): Correct build-aux location.
7964 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7966 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7967 value, whether we could auto-deduce `backend', or not.
7969 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7970 with parameters" example. Simplify the "is it block or is it
7971 hash" check, but also make it more thorough.
7973 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7975 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7977 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7979 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7982 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7985 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7987 * progmodes/compile.el (compilation-directory-matcher)
7988 (compilation-page-delimiter):
7989 Support GNU Make-4.0 directory quoting. (Bug#15678)
7991 2013-10-23 Leo Liu <sdl.web@gmail.com>
7993 * ido.el (ido-tidy): Handle read-only text.
7995 2013-10-23 Glenn Morris <rgm@gnu.org>
7997 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7998 (emacs, compile, compile-always):
7999 Quote entities that might contain whitespace.
8000 (custom-deps, finder-data, autoloads): Use abs_lisp.
8001 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8002 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8003 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8005 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8007 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8008 Use `following-char'.
8010 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8012 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8013 * progmodes/ruby-mode.el (ruby-smie-rules):
8014 Remove corresponding workaround. Fix indentation rule of ";" so it
8015 also applies when ";" is the parent.
8017 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8019 * frame.el (display-screens, display-pixel-height)
8020 (display-pixel-width, display-mm-width, display-backing-store)
8021 (display-save-under, display-planes, display-color-cells)
8022 (display-visual-class, display-monitor-attributes-list):
8023 Mention the optional ‘display’ argument in doc strings.
8025 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8027 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8028 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8030 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8032 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8033 TODO. Add "." after " @ ".
8034 (ruby-smie--at-dot-call): New function. Checks if point at method
8035 call with explicit target.
8036 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8037 to the method name tokens when it precedes them.
8038 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8039 (ruby-smie-rules): Add rule for indentation before and after "."
8042 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * textmodes/remember.el (remember-diary-extract-entries):
8047 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8050 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8052 * progmodes/ruby-mode.el (ruby-smie-grammar):
8053 Add (almost) all infix operators.
8054 (ruby-smie--implicit-semi-p): Add new operator chars.
8056 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8058 (ruby-smie--args-separator-p): Check that there's no newline
8059 between method call and its arguments.
8061 2013-10-20 Alan Mackenzie <acm@muc.de>
8063 Allow comma separated lists after Java "implements".
8065 * progmodes/cc-engine.el (c-backward-over-enum-header):
8067 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8068 from a "disallowed" list in enum fontification.
8070 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8072 * startup.el (default-frame-background-mode): Remove unused defvar.
8074 * progmodes/verilog-mode.el (verilog-mode): Don't set
8075 comment-indent-function globally.
8077 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8079 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8080 Move Info menu item creation to ns-win.el.
8082 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8085 * menu-bar.el: Move GNUstep specific menus...
8087 * term/ns-win.el (ns-initialize-window-system): ... to here.
8089 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8091 * simple.el (newline): Only run post-self-insert-hook when
8092 called interactively.
8094 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8096 * icomplete.el (icomplete-with-completion-tables): Add :version.
8098 2013-10-19 Alan Mackenzie <acm@muc.de>
8100 Fix fontification bugs with constructors and const.
8102 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8103 CASE 2) Remove the check for the absence of a suffix construct
8104 after a function declaration with only types (no identifiers) in
8105 the parentheses. Also, accept a function declaration with just a
8106 type inside the parentheses, if this type can be positively
8107 recognised as such, or if a prefix keyword like "explicit" nails
8108 down the construct as a declaration.
8110 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8112 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8113 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8114 the problem whereby selecting a menu item that leads to a
8115 minibuffer prompt moves the cursor out of the minibuffer window,
8116 making it hard to type at the prompt. Suggested by Stefan Monnier
8117 <monnier@iro.umontreal.ca>.
8119 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8121 * menu-bar.el: Don't make Services menu.
8123 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8125 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8126 (ffap-alist): Use ffap-c++-mode for c++-mode.
8127 (ffap-c++-path): New variable.
8128 (ffap-c++-mode): New function.
8130 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8132 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8134 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8136 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8137 introduced on 2013-09-08, which results in an infinite loop
8138 requesting a password.
8140 2013-10-18 Glenn Morris <rgm@gnu.org>
8142 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8144 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8146 Sync with upstream verilog-mode revision 1a6ecec7.
8147 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8148 (verilog-mode-release-date): Remove.
8149 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8150 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8151 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8152 (verilog-auto-tieoff-ignore-regexp)
8153 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8154 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8155 (verilog-signals-with, verilog-dir-cache-preserving)
8156 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8158 (verilog-case-fold): New option, to control case folding in
8159 regexp searches, bug597.
8160 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8161 (verilog-string-match-fold, verilog-in-paren-count)
8162 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8163 (verilog-at-close-struct-p): New functions.
8164 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8165 (verilog-forward-sexp, verilog-set-auto-endcomments)
8166 (verilog-leap-to-case-head): Handle "unique0" case.
8167 (verilog-in-constraint-re): New constant.
8168 (verilog-keywords, verilog-type-font-keywords):
8169 Add some SystemVerilog 1800-2012 keywords.
8170 (verilog-label-be): Remove unimplemented argument, bug669.
8171 (verilog-batch-execute-func): When batch expanding clear
8172 create-lockfiles to prevent spurious user locks when a file ends
8174 (verilog-calculate-indent, verilog-calc-1)
8175 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8176 (verilog-do-indent): Fix indentation of nested constraints
8178 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8179 (verilog-auto-inst-param): Use verilog-string-match-fold.
8180 (verilog-read-inst-module-matcher):
8181 Fix AUTOINST on gate primitives with #1.
8182 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8183 Reads all user-defined typed variables.
8184 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8185 (verilog-signals-matching-regexp)
8186 (verilog-signals-not-matching-regexp, verilog-auto):
8187 Respect verilog-case-fold.
8188 (verilog-diff-report): Fix line count.
8189 (verilog-auto-assign-modport): Remove unused local `modi'.
8190 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8191 better handle multidimensional arrays.
8192 Fix packed array ports misadding bit index in AUTOINST, bug637.
8193 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8194 to not double-declare existing outputs and inputs, respectively.
8195 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8196 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8197 (verilog-sk-uvm-component): New skeleton.
8198 (verilog-submit-bug-report): Add verilog-case-fold,
8199 remove verilog-mode-release-date.
8201 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8203 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8206 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8208 * textmodes/remember.el (remember): Set buffer-offer-save in
8209 remember buffers (bug#13566).
8211 2013-10-18 Daniel Colascione <dancol@dancol.org>
8213 When evaluating forms in ielm, direct standard output to ielm
8214 buffer. Add new ielm-return-for-effect command. Remove trailing
8215 whitespace throughout.
8217 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8218 (ielm-return-for-effect): New command.
8219 (ielm-send-input): Accept optional `for-effect' parameter.
8220 (ielm-eval-input): Accept optional `for-effect' parameter.
8221 Bind `standard-output' to stream we create using
8222 `ielm-standard-output-impl'. Suppress printing result when
8224 (ielm-standard-output-impl): New function.
8225 (inferior-emacs-lisp-mode): Explain new features in documentation.
8227 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8231 * net/tramp.el (tramp-debug-message): Do not check for connection
8233 (tramp-message): Use "vector" connection property.
8235 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8236 (tramp-equal-remote, tramp-eshell-directory-change)
8237 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8238 (tramp-adb-handle-rename-file)
8239 * net/tramp-cmds.el (tramp-list-remote-buffers)
8240 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8241 * net/tramp-compat.el (tramp-compat-process-running-p)
8242 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8243 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8244 (tramp-gvfs-handle-rename-file)
8245 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8246 (tramp-set-file-uid-gid)
8247 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8248 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8251 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8252 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8253 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8254 (tramp-gw-open-network-stream): Suppress unrelated traces.
8256 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8257 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8258 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8259 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8260 connection property.
8262 * net/tramp-cache.el (top): Suppress traces when reading
8265 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8266 Refactor common code. Improve debug message.
8267 (tramp-maybe-open-connection)
8268 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8269 connection buffer too early.
8271 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8272 from `tramp-smb-actions-with-acl'.
8273 (tramp-smb-actions-set-acl): New defconst.
8274 (tramp-smb-handle-copy-directory)
8275 (tramp-smb-action-get-acl): New defun, renamed from
8276 `tramp-smb-action-with-acl'.
8277 (tramp-smb-action-set-acl): New defun.
8278 (tramp-smb-handle-set-file-acl): Rewrite.
8280 2013-10-17 Glenn Morris <rgm@gnu.org>
8282 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8284 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8286 * skeleton.el (skeleton-newline): Remove.
8287 (skeleton-internal-1): Use (insert "\n") instead.
8289 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8292 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8293 forward-sexp-function while we redo its job (bug#15613).
8295 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8297 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8298 represented by lists.
8300 2013-10-16 Glenn Morris <rgm@gnu.org>
8302 * tmm.el (tmm--history): New dynamic variable.
8303 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8305 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8307 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8308 (tramp-smb-errors): Add error messages.
8309 (tramp-smb-actions-with-acl): New defconst.
8310 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8311 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8312 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8313 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8314 (tramp-smb-get-stat-capability): Fix tests.
8316 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8318 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8321 2013-10-16 Glenn Morris <rgm@gnu.org>
8323 * ansi-color.el (ansi-color-drop-regexp):
8324 Add 1J, 1K, 2K. (Bug#15617)
8326 * files.el (hack-local-variables--warned-lexical): New.
8327 (hack-local-variables):
8328 Warn about misplaced lexical-binding. (Bug#15616)
8330 * net/eww.el (eww-render): Always set eww-current-url,
8331 and update header line. (Bug#15622)
8332 (eww-display-html): ... Rather than just doing it here.
8334 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8336 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8337 menu navigations commands.
8339 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8341 * progmodes/subword.el (subword-capitalize): Be careful when
8342 the search for [[:alpha:]] fails (bug#15580).
8344 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8346 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8347 to commands that scroll the menu.
8349 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8351 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8352 Handle methods ending with `?' and `!'.
8354 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8356 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8357 `japanese-cp932' to `cp932' to fix the problem where saving a
8358 source file written in Shift_JIS twice would end up having
8359 `coding: japanese-cp932' which Ruby could not recognize.
8360 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8361 in `ruby-encoding-map'.
8362 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8363 doesn't need to be explicitly declared in magic comment.
8364 (ruby-encoding-map): Add type declaration for better customize UI.
8366 2013-10-13 Glenn Morris <rgm@gnu.org>
8368 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8369 Occur buffers are read-only. http://bugs.debian.org/720775
8371 * emacs-lisp/authors.el (authors-fixed-entries):
8372 Comment out old alpha stuff.
8374 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8376 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8377 to `after-save-hook' instead of `before-save-hook'.
8378 (ruby-mode-set-encoding): Use the value of coding system used to
8379 write the file. Call `basic-save-buffer-1' after modifying the
8382 2013-10-13 Alan Mackenzie <acm@muc.de>
8384 Fix indentation/fontification of Java enum with
8385 "implements"/generic.
8387 * progmodes/cc-engine.el (c-backward-over-enum-header):
8388 Extracted from the three other places and enhanced to handle generics.
8389 (c-inside-bracelist-p): Uses new function above.
8390 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8392 (c-font-lock-enum-tail): Uses new function above.
8394 2013-10-13 Kenichi Handa <handa@gnu.org>
8396 * international/mule-cmds.el (select-safe-coding-system): Remove a
8397 superfluous condition in chekcing whether a coding system is safe
8400 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8402 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8404 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8406 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8408 2013-10-13 Glenn Morris <rgm@gnu.org>
8410 * menu-bar.el (menu-bar-update-buffers):
8411 Unify Buffers menu prompt string. (Bug#15576)
8413 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8415 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8417 (authors-fixed-entries): Use accented form of name.
8419 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8422 method calls (bug#15594).
8423 (ruby-smie--args-separator-p): New function.
8424 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8425 recognize paren-free method calls.
8427 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8428 internals of universal-argument.
8430 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8432 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8433 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8434 dropped menu on second mouse click on the menu bar.
8436 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8439 (explicit-shell-file-name): Declare.
8440 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8441 (sh-completion-at-point-function): New function.
8443 (sh-smie--keyword-p): Remove unused argument.
8444 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8446 (sh-set-shell): Always setup SMIE, even if we use the
8447 old indentation code.
8449 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8451 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8453 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8454 predicate would return nil are almost non-existent.
8455 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8457 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8458 cache also after commands that modify the buffer but don't move
8461 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8463 * env.el (substitute-env-in-file-name): New function.
8464 (substitute-env-vars): Extend the meaning of the optional arg.
8466 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8468 * term/w32-win.el (dynamic-library-alist): Define separate lists
8469 of GIF DLLs for versions before and after 5.0.0 of giflib.
8472 2013-10-10 João Távora <joaotavora@gmail.com>
8474 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8475 not locked, use last revision and current source as
8476 defaults. (Bug#15569)
8478 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8480 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8483 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8485 * window.el (pop-to-buffer-same-window): Fix doc-string.
8488 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8490 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8492 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8494 * calendar/icalendar.el (icalendar-import-file):
8495 Fix interactive spec. (Bug#15482)
8497 2013-10-10 Glenn Morris <rgm@gnu.org>
8499 * desktop.el (desktop-save): Default to saving in .emacs.d,
8500 since PWD is no longer in desktop-path by default. (Bug#15319)
8502 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8503 now that text mode has a menu with the same entry.
8504 (menu-bar-text-mode-auto-fill): Remove now unused func.
8505 * textmodes/text-mode.el (text-mode-map):
8506 Use auto-fill help text from menu-bar.el.
8508 2013-10-10 John Anthony <john@jo.hnanthony.com>
8510 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8512 2013-10-09 Juri Linkov <juri@jurta.org>
8514 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8515 instead of this-command-keys. Add universal-argument-more and
8516 universal-argument-minus to the list of prefix commands. (Bug#15568)
8518 2013-10-09 Glenn Morris <rgm@gnu.org>
8520 * vc/vc-svn.el (vc-svn-create-repo):
8521 Expand paths in file://... url. (Bug#15446)
8523 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8525 (authors): Remove unused local variables.
8527 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8529 * profiler.el: Create a more coherent calltree from partial backtraces.
8530 (profiler-format): Hide the tail with `invisible' so that C-s can still
8531 find the hidden elements.
8532 (profiler-calltree-depth): Don't recurse so enthusiastically.
8533 (profiler-function-equal): New hash-table-test.
8534 (profiler-calltree-build-unified): New function.
8535 (profiler-calltree-build): Use it.
8536 (profiler-report-make-name-part): Indent the calltree less.
8537 (profiler-report-mode): Add visibility specs for profiler-format.
8538 (profiler-report-expand-entry, profiler-report-toggle-entry):
8539 Expand the whole subtree when provided with a prefix arg.
8541 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8543 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8545 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8546 hanging iuwu-mod token.
8547 (ruby-smie--forward-token): Do not include a dot after a token in
8549 (ruby-smie--backward-token): Likewise.
8551 2013-10-08 Juri Linkov <juri@jurta.org>
8553 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8554 to isearch-other-control-char.
8555 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8556 and isearch-post-command-hook to post-command-hook.
8557 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8558 and isearch-post-command-hook from post-command-hook.
8559 (isearch-unread-key-sequence)
8560 (isearch-reread-key-sequence-naturally)
8561 (isearch-lookup-scroll-key, isearch-other-control-char)
8562 (isearch-other-meta-char): Remove functions.
8563 (isearch-pre-command-hook, isearch-post-command-hook):
8564 New functions based on isearch-other-meta-char rewritten
8565 relying on the new behavior of overriding-terminal-local-map
8566 that does not replace the local keymaps any more. (Bug#15200)
8568 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8570 Support menus on text-mode terminals.
8571 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8574 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8576 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8577 Move here from mouse.el.
8578 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8580 (tty-menu-navigation-map): New map for TTY menu navigation.
8582 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8584 * frame.el (display-mouse-p): Report text-mode mouse as available
8586 (display-popup-menus-p): Report availability if mouse is
8587 available; don't condition on window-system.
8589 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8590 (tty-menu-selected-face): New faces.
8592 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8594 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8595 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8596 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8597 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8599 (lisp-mode-variables): New `elisp' argument.
8600 (emacs-lisp-mode): Use it.
8601 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8602 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8604 * indent.el: Use lexical-binding.
8605 (indent-region): Add progress reporter.
8606 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8608 (indent--next-tab-stop): New function to implement this behavior.
8609 (tab-to-tab-stop, move-to-tab-stop): Use it.
8611 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8613 * indent.el (indent-rigidly--current-indentation): New function.
8614 (indent-rigidly-map): New var.
8615 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8617 2013-10-08 Bastien Guerry <bzg@gnu.org>
8619 * register.el (insert-register): Fix 2013-10-07 change.
8621 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8623 * progmodes/perl-mode.el: Use lexical-binding.
8624 Remove redundant :group args.
8625 (perl-nochange): Change default to be closer to other major modes's
8627 (perl-indent-line): Don't consider text on current line as a
8628 valid beginning of function from which to indent.
8630 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8631 with more than one argument (bug#15538).
8633 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8635 * vc/pcvs.el: Use lexical-binding.
8636 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8637 environment of `eval'.
8638 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8639 than a list of expressions. Adjust callers.
8640 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8642 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8644 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8645 case of the dot in a chained method call being on the following line.
8647 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * electric.el (electric-indent-inhibit): New var.
8650 (electric-indent-post-self-insert-function): Use it.
8651 * progmodes/python.el (python-mode): Set it.
8653 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8656 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8658 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8659 (css-mode): Use electric-indent-chars.
8661 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8662 (font-lock-beg, font-lock-end): Move before first use.
8663 (nxml-mode): Use syntax-propertize-function.
8664 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8665 (nxml-extend-after-change-region): Remove.
8666 * nxml/xmltok.el: Use lexical-binding.
8667 (xmltok-save): Use `declare'.
8668 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8669 * nxml/nxml-util.el: Use lexical-binding.
8670 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8672 * nxml/nxml-ns.el: Use lexical-binding.
8673 (nxml-ns-save): Use `declare'.
8674 (nxml-ns-prefixes-for): Avoid add-to-list.
8675 * nxml/rng-match.el: Use lexical-binding.
8676 (rng--ipattern): Use cl-defstruct.
8677 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8678 (rng-cons-group-after, rng-subst-group-after)
8679 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8680 Use closures instead of `(lambda...).
8682 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8684 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8687 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8688 Use `tramp-handle-insert-file-contents'.
8689 (tramp-gvfs-handle-insert-file-contents): Remove function.
8691 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8692 Use `save-restriction' in order to keep markers.
8694 * net/trampver.el: Update release number.
8696 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8698 * progmodes/compile.el (compilation-parse-errors):
8699 Use compilation--put-prop.
8700 (compilation--ensure-parse): Check compilation-multiline.
8702 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8704 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8707 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8709 * progmodes/ruby-mode.el: Fix recently added tests.
8710 (ruby-smie-grammar): Add - and +.
8711 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8712 (ruby-smie--backward-id): New functions.
8713 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8714 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8717 2013-10-07 Leo Liu <sdl.web@gmail.com>
8719 * register.el (register-preview-delay)
8720 (register-preview-functions): New variables.
8721 (register-read-with-preview, register-preview)
8722 (register-describe-oneline): New functions.
8723 (point-to-register, window-configuration-to-register)
8724 (frame-configuration-to-register, jump-to-register)
8725 (number-to-register, view-register, insert-register)
8726 (copy-to-register, append-to-register, prepend-to-register)
8727 (copy-rectangle-to-register): Use register-read-with-preview to
8728 read register. (Bug#15525)
8730 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8732 * net/network-stream.el (network-stream-open-starttls): Don't add
8733 --insecure if it's already present, because that gnutls-cli
8734 rejects getting that parameter twice.
8736 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8738 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8741 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8743 * newcomment.el (comment-use-global-state): Change default value
8744 to t, mark obsolete (Bug#15251).
8745 (comment-beginning): In addition to `comment-to-syntax', check the
8746 value of `comment-use-global-state'.
8748 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8750 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8751 (ruby-comment-column): Follow the global default, by default.
8752 (ruby-smie-grammar): Add assignment syntax.
8753 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8754 open-paren, a comma, or a \.
8755 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8756 and line continuations.
8757 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8758 followed by implicit semi-colons. Add rule for string concatenation
8759 and for indentation at BOB.
8760 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8762 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8763 calling next-sexp, since next-token may have skipped chars which
8764 next-sexp doesn't know should be skipped!
8766 2013-10-05 Leo Liu <sdl.web@gmail.com>
8768 * progmodes/octave.el (octave-send-region):
8769 Call compilation-forget-errors.
8771 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8773 * vc/vc-svn.el (vc-svn-find-admin-dir):
8774 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8775 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8776 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8777 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8779 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8781 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8783 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8785 * subr.el (read-passwd): Hide chars even when called within a context
8786 where after-change-functions is disabled (bug#15501).
8787 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8788 until we removed ourself from overriding-terminal-local-map.
8790 2013-10-04 Leo Liu <sdl.web@gmail.com>
8792 * progmodes/octave.el (inferior-octave-mode):
8793 Call compilation-forget-errors.
8795 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8797 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8799 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8801 * net/secrets.el (secrets-create-collection): Add optional
8802 argument ALIAS. Use proper Label keyword. Append ALIAS as
8803 dbus-call-method argument. (Bug#15516)
8805 2013-10-04 Leo Liu <sdl.web@gmail.com>
8807 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8808 (inferior-octave-compilation-font-lock-keywords): New variables.
8809 (compilation-error-regexp-alist)
8810 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8811 (inferior-octave-mode): Use compilation-shell-minor-mode.
8813 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8815 * minibuffer.el (completion--replace): Be careful that `end' might be
8818 2013-10-03 Daiki Ueno <ueno@gnu.org>
8820 Add support for package signature checking.
8821 * emacs-lisp/package.el (url-http-file-exists-p)
8822 (epg-make-context, epg-context-set-home-directory)
8823 (epg-verify-string, epg-context-result-for)
8824 (epg-signature-status, epg-signature-to-string)
8825 (epg-check-configuration, epg-configuration)
8826 (epg-import-keys-from-file): Declare.
8827 (package-check-signature): New user option.
8828 (package-unsigned-archives): New user option.
8829 (package-desc): Add `signed' field.
8830 (package-load-descriptor): Set `signed' field if .signed file exists.
8831 (package--archive-file-exists-p): New function.
8832 (package--check-signature): New function.
8833 (package-install-from-archive): Check package signature.
8834 (package--download-one-archive): Check archive signature.
8835 (package-delete): Remove .signed file.
8836 (package-import-keyring): New command.
8837 (package-refresh-contents): Import default keyring.
8838 (package-desc-status): Add "unsigned" status.
8839 (describe-package-1, package-menu--print-info)
8840 (package-menu-mark-delete, package-menu--find-upgrades)
8841 (package-menu--status-predicate): Support "unsigned" status.
8843 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8846 the new compilation scheme using the new byte-codes.
8848 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8849 (byte-pophandler): New byte codes.
8850 (byte-goto-ops): Adjust accordingly.
8851 (byte-compile--use-old-handlers): New var.
8852 (byte-compile-catch): Use new byte codes depending on
8853 byte-compile--use-old-handlers.
8854 (byte-compile-condition-case--old): Rename from
8855 byte-compile-condition-case.
8856 (byte-compile-condition-case--new): New function.
8857 (byte-compile-condition-case): New function that dispatches depending
8858 on byte-compile--use-old-handlers.
8859 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8862 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8863 Optimize under `condition-case' and `catch' if
8864 byte-compile--use-old-handlers is nil.
8865 (disassemble-offset): Handle new bytecodes.
8867 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8869 * subr.el (error): Use `declare'.
8870 (decode-char, encode-char): Use advertised-calling-convention instead
8871 of the docstring to discourage use of the `restriction' arg.
8873 2013-10-03 Daiki Ueno <ueno@gnu.org>
8875 * epg.el (epg-verify-file): Add a comment saying that it does not
8876 notify verification error as a return value nor a signal.
8877 (epg-verify-string): Ditto.
8879 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8881 * progmodes/compile.el (compilation-start): Try globbing the arg to
8884 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8886 Sync with Tramp 2.2.8.
8888 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8889 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8890 * net/trampver.el: Update release number.
8892 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8894 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8895 and default-process-coding-system for darwin only.
8897 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8901 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8903 * vc/vc-git.el (vc-git-grep): Disable pager.
8905 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8907 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8908 Use :url instead of :homepage, as per
8909 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8911 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8912 non-nil, use `syntax-ppss' (Bug#15251).
8914 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8916 * progmodes/octave.el (inferior-octave-startup-file):
8917 Prefer ~/.emacs.d/init_octave.m.
8919 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8921 * emacs-lisp/package.el (package-desc-from-define):
8922 Accept additional arguments as plist, convert them to an alist and store
8923 them in the `extras' slot.
8924 (package-generate-description-file): Convert extras alist back to
8925 plist and append to the `define-package' form arguments.
8926 (package--alist-to-plist): New function.
8927 (package--ac-desc): Add `extras' slot.
8928 (package--add-to-archive-contents): Check if the archive-contents
8929 vector is long enough, and if it is, pass its `extras' slot value
8930 to `package-desc-create'.
8931 (package-buffer-info): Call `lm-homepage', pass the returned value
8932 to `package-desc-from-define'.
8933 (describe-package-1): Render the homepage button (Bug#13291).
8935 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8936 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8938 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8940 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8941 and default-process-coding-system to utf-8-unix (Bug#15402).
8943 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8945 * subr.el (looking-back): Do not recommend using looking-back.
8947 2013-09-28 Alan Mackenzie <acm@muc.de>
8949 Fix indentation/fontification of Java enum with "implements".
8951 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8952 regexp which matches "implements", etc., in Java.
8953 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8954 specifier clauses coming after "enum".
8955 * progmodes/cc-fonts.el (c-font-lock-declarations)
8956 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8959 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8961 * faces.el (region): Change ns_selection_color to
8962 ns_selection_fg_color, add ns_selection_bg_color.
8964 2013-09-28 Leo Liu <sdl.web@gmail.com>
8966 * progmodes/octave.el (inferior-octave-completion-table)
8967 (inferior-octave-completion-at-point): Minor tweaks.
8969 * textmodes/ispell.el (ispell-lookup-words): Rename from
8970 lookup-words. (Bug#15460)
8971 (lookup-words): Obsolete.
8972 (ispell-complete-word, ispell-command-loop): All uses changed.
8974 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8976 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8977 (octave-mode-menu): Add octave-send-buffer.
8978 (octave-send-buffer): New function.
8980 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8982 * progmodes/octave.el (octave-mode-map): Add key binding for
8984 (octave-mode-menu): Add octave-lookfor.
8985 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8987 (octave-lookfor): New function.
8989 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8991 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8992 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8994 (cl--loop-set-iterator-function): New function.
8995 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8996 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8997 Bind `it' with `let' instead of substituting it with `cl-subst'.
8998 (cl--unused-var-p): New function.
8999 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9000 Eliminate some unused variable warnings (bug#15326).
9002 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9004 * doc-view.el (doc-view-scale-reset): Rename from
9005 `doc-view-reset-zoom-level'.
9006 (doc-view-scale-adjust): New command.
9007 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9008 `doc-view-scale-adjust'.
9010 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9012 * doc-view.el (doc-view-reset-zoom-level): New command.
9013 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9014 zoom commands (bug#15466).
9016 2013-09-26 Kenichi Handa <handa@gnu.org>
9018 * international/quail.el (quail-help): Make it not a command.
9020 2013-09-26 Leo Liu <sdl.web@gmail.com>
9022 * minibuffer.el (completion-all-sorted-completions): Make args
9023 optional as they are.
9025 2013-09-25 Daniel Colascione <dancol@dancol.org>
9027 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9028 specs are and that they're not evaluated.
9030 2013-09-24 Sam Steingold <sds@gnu.org>
9032 * midnight.el (clean-buffer-list-kill-regexps)
9033 (clean-buffer-list-kill-buffer-names): Update for the new Man
9034 buffer naming which includes the object name.
9036 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9038 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9039 (eshell-parse-command, eshell-parse-pipeline): Use it since
9040 eshell-separate-commands requires a dynamic scoped var.
9041 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9043 2013-09-23 Leo Liu <sdl.web@gmail.com>
9045 * autoinsert.el (auto-insert-alist): Make the value of
9046 lexical-binding match its file setting.
9048 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9050 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9052 * autoarg.el (autoarg-kp-digit-argument):
9053 * electric.el (Electric-command-loop):
9054 * kmacro.el (kmacro-step-edit-insert):
9055 Do not set universal-argument-num-events.
9057 2013-09-22 Leo Liu <sdl.web@gmail.com>
9059 * files.el (interpreter-mode-alist): Add octave.
9061 2013-09-21 Alan Mackenzie <acm@muc.de>
9063 C++: fontify identifier in declaration following "public:" correctly.
9064 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9065 to match "public", etc.
9066 (c-decl-prefix-re): Add ":" into the C++ value.
9067 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9068 bit. Add a check for a ":" preceded by "public", etc.
9070 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9072 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9073 recognized by GDB 7.5 and later.
9075 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9077 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9079 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9081 * subr.el (internal--call-interactively): New const.
9082 (called-interactively-p): Use it (bug#3984).
9084 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9086 * vc/pcvs.el (cvs-mode-ignore):
9087 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9088 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9090 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9092 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9093 (eshell-ls-orig-insert-directory): Remove.
9094 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9095 (eshell-ls-use-in-dired): Use advice-add/remove.
9096 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9097 Add `orig-fun' arg for use in :around advice.
9098 Make it check (redundantly) eshell-ls-use-in-dired.
9100 2013-09-19 Glenn Morris <rgm@gnu.org>
9102 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9104 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9106 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9108 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9110 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9111 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9112 (tramp-get-remote-python): New defuns.
9113 (tramp-get-remote-uid-with-perl)
9114 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9115 contributed by yary <not.com@gmail.com> (tiny change).
9116 (tramp-get-remote-uid-with-python)
9117 (tramp-get-remote-gid-with-python): New defuns. Python code
9118 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9119 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9121 2013-09-19 Glenn Morris <rgm@gnu.org>
9123 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9125 * eshell/em-unix.el (eshell-remove-entries):
9126 Rename argument to avoid name-clash with global `top-level'.
9128 * eshell/esh-proc.el (eshell-kill-process-function):
9129 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9130 (eshell-reset-after-proc): Remove unused arg `proc'.
9132 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9133 (directory-files-and-attributes): Mark unused arg.
9135 * eshell/em-unix.el (eshell-remove-entries):
9136 Remove unused arg `path'. Update callers.
9138 * eshell/em-hist.el (eshell-hist-parse-arguments):
9139 Remove unused arg `silent'. Update callers.
9141 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9142 Fix (f)boundp mix-up.
9144 * eshell/em-smart.el (eshell-smart-scroll-window)
9145 (eshell-disable-after-change):
9146 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9148 2013-09-18 Alan Mackenzie <acm@muc.de>
9150 Fix fontification of type when followed by "const".
9151 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9152 "known" types from fontification.
9154 2013-09-18 Glenn Morris <rgm@gnu.org>
9156 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9157 (chart-face-list): Drop Emacsen without display-color-p.
9159 * net/eww.el (libxml-parse-html-region): Declare.
9160 (eww-display-html): Explicit error if no libxml2 support.
9162 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9164 * image.el (image-type-from-buffer, image-multi-frame-p):
9165 Remove --without-x warning/error.
9167 * mouse.el (mouse-yank-primary):
9168 * term.el (term-mouse-paste):
9169 Reorder to silence --without-x compilation.
9171 * mpc.el (doc-view-mode): Silence --without-x compilation.
9173 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9174 Silence --without-x compilation.
9176 * progmodes/gud.el (gud-find-file, gud-mode):
9177 Silence --without-x compilation.
9178 (tooltip-mode): Declare.
9180 * wdired.el (dired-backup-overwrite): Remove declaration.
9181 (wdired-mode-map): Add doc string.
9183 * custom.el (x-get-resource): Declare.
9185 * eshell/em-glob.el (ange-cache):
9186 * eshell/em-unix.el (ange-cache): Declare.
9188 * faces.el (x-display-list, x-open-connection, x-get-resource):
9191 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9192 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9195 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9197 * net/gnutls.el (gnutls-log-level): Declare.
9199 * net/shr.el (image-size, image-animate): Declare.
9201 * simple.el (font-info): Declare.
9203 * subr.el (x-popup-dialog): Declare.
9205 * term/common-win.el (x-select-enable-primary)
9206 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9209 * term/ns-win.el (x-handle-args): Declare.
9211 * term/x-win.el (x-select-enable-clipboard): Declare.
9213 * term/w32-win.el (create-default-fontset): Declare.
9215 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9218 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9219 (fit-frame-to-buffer): Explicit error if --without-x.
9220 (mouse-autoselect-window-select): Silence compiler.
9222 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9224 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9225 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9226 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9227 * eshell/esh-util.el (eshell-sublist):
9228 Remove unused local variables.
9230 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9232 * textmodes/two-column.el: Make 2C-split work for --without-x.
9233 (scroll-bar-columns): Autoload.
9234 (top-level): Require fringe when compiling.
9236 2013-09-18 Leo Liu <sdl.web@gmail.com>
9238 * subr.el (add-hook): Robustify to handle closure as well.
9240 2013-09-17 Glenn Morris <rgm@gnu.org>
9242 * simple.el (messages-buffer-mode-map): Unbind "g".
9244 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9246 * help-mode.el (help-mode-finish): Use derived-mode-p.
9247 Remove obsolete highlighting.
9249 * play/life.el (life-mode): Use define-derived-mode. Derive from
9251 (life): Let-bind inhibit-read-only.
9252 (life-setup): Avoid `setq'. Use `life-mode'.
9254 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9255 which should not be needed any more.
9256 (package-menu-refresh, package-menu-describe-package): Use user-error.
9258 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9259 (eshell-post-rewrite-command-hook): Make obsolete.
9260 (eshell-parse-command): Simplify.
9261 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9262 (eshell--cmd): Declare.
9263 (eshell-parse-pipeline): Remove unused var `final-p'.
9264 Pass a dynvar to eshell-post-rewrite-command-hook.
9265 Implement the new eshell-post-rewrite-command-function.
9266 (eshell-invoke-directly): Remove unused arg `input'.
9267 * eshell/esh-io.el (eshell-io-initialize):
9268 Use eshell-post-rewrite-command-function (bug#15399).
9269 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9270 adjust to new calling convention.
9271 (eshell-create-handles): Rename args to avoid clashing with dynvar
9274 2013-09-17 Glenn Morris <rgm@gnu.org>
9276 * simple.el (messages-buffer-mode): New major mode.
9277 (messages-buffer): New function.
9278 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9279 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9280 (ert-run-test): Use `messages-buffer' function.
9281 (ert--force-message-log-buffer-truncation): Ignore read-only.
9282 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9283 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9285 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9287 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9289 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9291 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9293 * icomplete.el (icomplete-in-buffer): New var.
9294 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9295 vars and replace them with functions.
9296 (icomplete-minibuffer-setup): Adjust accordingly.
9297 (icomplete--completion-table, icomplete--completion-predicate)
9298 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9300 (icomplete-forward-completions, icomplete-backward-completions)
9301 (icomplete-simple-completing-p, icomplete-exhibit)
9302 (icomplete-completions): Use them.
9303 (icomplete--in-region-buffer): New var.
9304 (icomplete--in-region-setup): New function.
9305 (icomplete-mode): Use it.
9307 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9309 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9310 return args and options.
9311 (eshell-eval-using-options): Use the new return value of
9312 eshell--do-opts to set the options's vars in their scope.
9313 (eshell--set-option): Rename from eshell-set-option.
9315 (eshell--process-option): Rename from eshell-process-option.
9317 (eshell--process-args): Use an `opt-vals' alist to store the options's
9318 values during their processing and return them additionally to the
9321 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9323 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9324 continuation character an operator, as far as indentation is
9325 concerned (Bug#15369).
9327 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9329 * window.el (window--state-put-2): Don't process buffer state
9330 when buffer doesn't exist any more (Bug#15382).
9332 2013-09-15 Glenn Morris <rgm@gnu.org>
9334 * eshell/em-unix.el (eshell/rm):
9335 Make -f ignore missing files. (Bug#15373)
9337 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9338 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9339 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9341 2013-09-14 Glenn Morris <rgm@gnu.org>
9343 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9345 2013-09-13 Glenn Morris <rgm@gnu.org>
9347 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9348 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9350 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9352 * frame.el (x-focus-frame): Mark as declared in frame.c.
9354 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * ls-lisp.el: Use advice-add.
9357 (original-insert-directory): Remove.
9358 (ls-lisp--insert-directory): Rename from insert-directory; add
9359 `orig-fun' argument.
9360 (insert-directory): Advise.
9362 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9364 * term.el (term-emulate-terminal): Decode the command string
9365 before passing it to term-command-hook. (Bug#15337)
9367 2013-09-13 Glenn Morris <rgm@gnu.org>
9369 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9371 * eshell/esh-ext.el (eshell-search-path): Declare.
9373 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9374 Otherwise an error occurs if eshell-dirs module not loaded.
9376 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9378 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9380 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9381 `tramp-check-proper-host'. Check for a valid method name.
9383 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9384 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9385 * net/tramp-sh.el (tramp-maybe-open-connection):
9386 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9388 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9389 also for hash values.
9391 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9393 * term/ns-win.el (parameters): Don't declare as dynamic.
9394 (before-make-frame-hook): Don't add ineffective function.
9396 * eshell/*.el: Use lexical-binding (bug#15231).
9398 2013-09-12 Kenichi Handa <handa@gnu.org>
9400 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9402 2013-09-12 Glenn Morris <rgm@gnu.org>
9404 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9405 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9407 * subr.el (do-after-load-evaluation): Also give compiler warnings
9408 when obsolete files are used (except by obsolete files).
9410 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9411 in the status output, assume `filename' is the first. (Bug#15322)
9413 * vc/vc.el (vc-deduce-fileset): Doc fix.
9415 * calc/calc-help.el (Info-goto-node):
9416 * progmodes/cperl-mode.el (Info-find-node):
9417 * vc/ediff.el (Info-goto-node): Update declarations.
9419 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9421 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9422 (vc-bzr-pull): Require vc-dispatcher.
9423 * vc/vc-git.el (vc-compilation-mode): Declare.
9424 (vc-git-pull): Require vc-dispatcher.
9426 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9428 * progmodes/octave.el (help-button-action): Declare.
9430 * shell.el (shell-directory-tracker): Output error as a message
9431 rather than just returning it as a string.
9432 (shell-process-pushd): Remove useless use of message.
9434 * dframe.el (dframe-timer-fn):
9435 * files.el (dir-locals-read-from-file):
9436 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9438 * reveal.el (reveal-post-command):
9439 * saveplace.el (load-save-place-alist-from-file):
9440 * shell.el (shell-resync-dirs):
9441 * w32-common-fns.el (x-get-selection-value):
9442 * emacs-lisp/copyright.el (copyright-find-copyright):
9443 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9444 * emulation/tpu-edt.el (tpu-copy-keyfile):
9445 * play/bubbles.el (bubbles--mark-neighbourhood):
9446 * progmodes/executable.el
9447 (executable-make-buffer-file-executable-if-script-p):
9448 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9450 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9452 Cleanup Eshell to rely less on dynamic scoping.
9453 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9454 last-value, and ext-command here. Bind `args' closer to `body'.
9455 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9456 (eshell--args): Declare new dynamic var.
9457 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9458 last-value, and ext-command. Pass `args' to `body'.
9459 (eshell-process-args): Bind eshell--args.
9460 (eshell-set-option): Use eshell--args.
9461 * eshell/eshell.el (eshell): Use derived-mode-p.
9462 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9463 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9464 (eshell-glob-function): Declare.
9465 * eshell/esh-util.el: Require cl-lib.
9466 (eshell-read-hosts-file): Avoid add-to-list.
9467 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9469 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9471 (eshell/diff): Remove unused var `err'.
9472 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9474 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9475 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9477 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9478 Move declaration before first use.
9479 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9480 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9483 2013-09-12 Glenn Morris <rgm@gnu.org>
9485 * term/ns-win.el (global-map): Remove binding for ispell-next,
9486 deleted 1999-05-29. (Bug#15357)
9488 2013-09-11 Glenn Morris <rgm@gnu.org>
9490 * echistory.el (electric-command-history): Remove call to deleted func.
9492 * play/landmark.el (landmark-mode): Fix typos.
9494 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9495 Check cvs-sort-ignore-file is bound.
9497 * savehist.el: No need for cl when compiling on Emacs.
9499 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9501 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9503 (eshell-self-insert-command, eshell-send-invisible):
9504 Remove unused argument.
9505 (eshell-handle-control-codes): Remove unused var `orig'.
9506 Avoid delete-backward-char.
9508 * files.el (set-auto-mode): Simplify a bit further.
9510 2013-09-11 Glenn Morris <rgm@gnu.org>
9512 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9513 (set-auto-mode): Don't regexp-quote elements.
9514 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9515 * progmodes/cc-mode.el (interpreter-mode-alist):
9516 * progmodes/ruby-mode.el (interpreter-mode-alist):
9517 Revert previous change.
9519 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9521 * play/snake.el (snake-mode):
9522 * play/mpuz.el (mpuz-mode):
9523 * play/landmark.el (lm-mode):
9524 * play/blackbox.el (blackbox-mode):
9525 * play/5x5.el (5x5-mode):
9526 * obsolete/options.el (Edit-options-mode):
9527 * net/quickurl.el (quickurl-list-mode):
9528 * net/newst-treeview.el (newsticker-treeview-mode):
9529 * mail/rmailsum.el (rmail-summary-mode):
9530 * mail/mspools.el (mspools-mode):
9531 * locate.el (locate-mode):
9532 * ibuffer.el (ibuffer-mode):
9533 * emulation/ws-mode.el (wordstar-mode):
9534 * emacs-lisp/debug.el (debugger-mode):
9535 * array.el (array-mode):
9536 * net/eudc.el (eudc-mode): Use define-derived-mode.
9537 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9538 Move initialization into declaration.
9539 (mairix-searches-mode): Use define-derived-mode.
9540 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9541 (eudc-edit-hotlist): Use dolist.
9542 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9543 (Man-mode): Use define-derived-mode.
9544 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9545 (Info-edit-mode): Use define-derived-mode.
9546 (Info-cease-edit): Use Info-mode.
9547 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9549 (eshell-mode): Use define-derived-mode.
9550 * chistory.el (command-history-mode-map): Rename from
9551 command-history-map.
9552 (command-history-mode): Use define-derived-mode.
9553 (Command-history-setup): Remove function.
9554 * calc/calc.el (calc-trail-mode-map): New var.
9555 (calc-trail-mode): Use define-derived-mode.
9556 (calc-trail-buffer): Set calc-main-buffer manually.
9557 * bookmark.el (bookmark-insert-annotation): New function.
9558 (bookmark-edit-annotation): Use it.
9559 (bookmark-edit-annotation-mode): Make it a proper major mode.
9560 (bookmark-send-edited-annotation): Use derived-mode-p.
9561 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9562 closer to its ideal place. Use \' to match EOS.
9564 * profiler.el (profiler-calltree-find): Use function-equal.
9566 2013-09-10 Glenn Morris <rgm@gnu.org>
9568 * files.el (interpreter-mode-alist): Convert to regexps.
9569 (set-auto-mode): Adapt for this. (Bug#15306)
9570 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9571 Comment out unused variable.
9572 * progmodes/cc-mode.el (interpreter-mode-alist):
9573 * progmodes/python.el (interpreter-mode-alist):
9574 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9575 * progmodes/sh-script.el (sh-set-shell):
9576 No longer use interpreter-mode-alist to get list of shells.
9578 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9580 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9582 * simple.el: Use set-temporary-overlay-map for universal-argument.
9583 (universal-argument-map): Don't use default-bindings (bug#15317).
9584 Bind switch-frame explicitly. Replace universal-argument-minus with
9585 a conditional binding.
9586 (universal-argument-num-events, saved-overriding-map): Remove.
9587 (restore-overriding-map): Remove.
9588 (universal-argument--mode): Rename from save&set-overriding-map,
9590 (universal-argument, universal-argument-more, negative-argument)
9591 (digit-argument): Adjust accordingly.
9592 (universal-argument-minus): Remove.
9593 (universal-argument-other-key): Remove.
9595 * subr.el (with-demoted-errors): Add `format' argument.
9597 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9599 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9600 `tramp-cleanup-connection'.
9602 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9603 parameters KEEP-DEBUG and KEEP-PASSWORD.
9605 * net/tramp.el (tramp-file-name-handler):
9606 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9607 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9608 (tramp-maybe-open-connection):
9609 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9610 Use `tramp-cleanup-connection'.
9612 * net/tramp-sh.el (tramp-maybe-open-connection):
9613 Catch 'uname-changed inside the progress reporter.
9615 2013-09-10 Glenn Morris <rgm@gnu.org>
9617 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9619 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9620 returns "alternate access method" in mode (eg "-rw-r--r--.").
9622 2013-09-08 Glenn Morris <rgm@gnu.org>
9624 * saveplace.el (load-save-place-alist-from-file):
9625 Demote errors. (Bug#15305)
9627 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9629 Improve compatibility with older Emacsen, and XEmacs.
9631 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9632 only if it is bound. It isn't for XEmacs.
9633 (with-tramp-progress-reporter): Do not let-bind `result'.
9634 This yields to scoping errors in XEmacs.
9635 (tramp-handle-make-auto-save-file-name): New function, moved from
9638 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9639 for `make-auto-save-file-name'.
9640 (tramp-adb--gnu-switches-to-ash):
9641 Use `tramp-compat-replace-regexp-in-string'.
9643 * net/tramp-cache.el (tramp-cache-print): Call
9644 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9646 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9647 bound. It isn't for XEmacs.
9649 * net/tramp-compat.el (tramp-compat-copy-file):
9650 Catch `wrong-number-of-arguments' error.
9651 (tramp-compat-replace-regexp-in-string): New defun.
9653 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9654 for `make-auto-save-file-name'.
9655 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9657 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9658 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9659 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9661 * net/tramp-gw.el (tramp-gw-open-network-stream):
9662 Use `tramp-compat-replace-regexp-in-string'.
9664 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9665 Call `tramp-handle-make-auto-save-file-name'.
9666 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9667 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9668 (tramp-sh-file-inotifywait-process-filter):
9669 Use `tramp-compat-replace-regexp-in-string'.
9670 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9672 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9673 for `make-auto-save-file-name'.
9674 (tramp-smb-handle-copy-directory):
9675 Call `tramp-compat-replace-regexp-in-string'.
9676 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9677 (tramp-smb-handle-copy-file): Improve error message.
9678 (tramp-smb-handle-rename-file): Rename directly only in case
9679 `newname' does not exist yet. This is a restriction of smbclient.
9680 (tramp-smb-maybe-open-connection): Rerun the function only when
9681 `auth-sources' is non-nil.
9683 2013-09-08 Kenichi Handa <handa@gnu.org>
9685 * international/characters.el: Set category "^" (Combining) for
9688 2013-09-07 Alan Mackenzie <acm@muc.de>
9690 Correctly fontify Java class constructors.
9691 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9693 (c-recognize-typeless-decls): Set the Java value to t.
9694 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9695 While handling a "(", add a check for, effectively, Java, and handle a
9696 "typeless" declaration there.
9698 2013-09-07 Roland Winkler <winkler@gnu.org>
9700 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9701 field subtitle for entry type book.
9703 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * minibuffer.el: Make minibuffer-complete call completion-in-region
9706 rather than other way around.
9707 (completion--some, completion-pcm--find-all-completions):
9708 Don't delay signals when debugging.
9709 (minibuffer-completion-contents): Beware fields within the
9710 minibuffer contents.
9711 (completion-all-sorted-completions): Use defvar-local.
9712 (completion--do-completion, completion--cache-all-sorted-completions)
9713 (completion-all-sorted-completions, minibuffer-force-complete):
9714 Add args `beg' and `end'.
9715 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9716 (minibuffer-complete): Use completion-in-region.
9717 (completion-complete-and-exit): New fun, extracted from
9718 minibuffer-complete-and-exit.
9719 (minibuffer-complete-and-exit): Use it.
9720 (completion--complete-and-exit): Rename from
9721 minibuffer--complete-and-exit.
9722 (completion-in-region--single-word): New function, extracted from
9723 minibuffer-complete-word.
9724 (minibuffer-complete-word): Use it.
9725 (display-completion-list): Make `common-substring' argument obsolete.
9726 (completion--in-region): Call completion--in-region-1 instead of
9727 minibuffer-complete.
9728 (completion-help-at-point): Pass boundaries to
9729 minibuffer-completion-help as args rather than via an overlay.
9730 (completion-pcm--string->pattern): Use `any-delim'.
9731 (completion-pcm--optimize-pattern): New function.
9732 (completion-pcm--pattern->regex): Handle `any-delim'.
9733 * icomplete.el (icomplete-forward-completions)
9734 (icomplete-backward-completions, icomplete-completions):
9735 Adjust calls to completion-all-sorted-completions and
9736 completion--cache-all-sorted-completions.
9737 (icomplete-with-completion-tables): Default to t.
9738 * emacs-lisp/crm.el (crm--current-element): Rename from
9739 crm--select-current-element. Don't put an overlay but return the
9741 (crm--completion-command): Take two new args to bind to the boundaries.
9742 (crm-completion-help): Adjust accordingly.
9743 (crm-complete): Use completion-in-region.
9744 (crm-complete-word): Use completion-in-region--single-word.
9745 (crm-complete-and-exit): Use completion-complete-and-exit.
9747 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9749 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9752 2013-09-06 Juri Linkov <juri@jurta.org>
9754 * info.el (Info-display-images-node): When image file doesn't exist
9755 display text version of the image if it's provided in the Info file.
9756 Otherwise, display the location of missing image from SRC attribute.
9757 Add help-echo text property from ALT attribute. (Bug#15279)
9759 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9761 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9762 (edit-abbrevs-mode): Use define-derived-mode.
9764 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9765 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9767 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9768 Use define-derived-mode.
9770 * epg.el (epg-start-encrypt): Minor CSE simplification.
9772 2013-09-06 William Xu <william.xwl@gmail.com>
9774 * arc-mode.el: Add support for 7za (bug#15264).
9775 (archive-7z-program): New var.
9776 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9777 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9778 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9780 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9784 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9785 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9786 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9787 (tramp-postfix-host-format, tramp-file-name-regexp)
9788 (tramp-completion-file-name-regexp)
9789 (tramp-completion-dissect-file-name)
9790 (tramp-handle-substitute-in-file-name): Remove 'url case.
9791 (tramp-file-name-regexp-url)
9792 (tramp-completion-file-name-regexp-url): Remove constants.
9794 2013-09-06 Glenn Morris <rgm@gnu.org>
9796 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9798 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9800 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9801 keywords" below "here-doc beginnings" (Bug#15270).
9803 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9805 * subr.el (pop): Use `car-safe'.
9806 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9807 to detect unused `pop' return value.
9809 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9811 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9812 (python-fill-string): Remove unused var `marker'.
9813 (python-skeleton-add-menu-items): Remove unused var `items'.
9815 * international/mule-cmds.el: Require CL.
9816 (find-coding-systems-for-charsets): Avoid add-to-list.
9817 (sanitize-coding-system-list): New function, extracted from
9818 select-safe-coding-system-interactively.
9819 (select-safe-coding-system-interactively): Use it.
9820 (read-input-method-name): Accept symbols for `default'.
9822 * emacs-lisp/advice.el (defadvice): Add indent rule.
9824 2013-09-05 Daniel Hackney <dan@haxney.org>
9828 * net/browse-url.el:
9831 * net/eudcb-ldap.el:
9844 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9845 byte compiler. Remove some unused let-bound variables.
9847 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9850 a "ref-cell", since it gets better optimized (bug#14883).
9852 2013-09-05 Glenn Morris <rgm@gnu.org>
9854 * progmodes/cc-awk.el (c-forward-sws): Declare.
9856 2013-09-04 Glenn Morris <rgm@gnu.org>
9858 * generic-x.el [rul-generic-mode]: Require cc-mode.
9859 (c++-mode-syntax-table): Declare.
9860 (rul-generic-mode-syntax-table): Init in the defvar.
9862 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9864 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9865 (vc-do-command, vc-set-async-update):
9866 * vc/vc-mtn.el (vc-mtn-dir-status):
9867 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9868 (vc-hg-pull, vc-hg-merge-branch):
9869 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9870 (vc-git-merge-branch):
9871 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9872 (vc-cvs-dir-status-files):
9873 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9874 (vc-bzr-dir-status-files):
9875 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9876 * vc/vc-annotate.el: Use lexical-binding.
9877 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9878 (vc-sentinel-movepoint): Declare.
9879 (vc-annotate): Don't use `goto-line'.
9880 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9881 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9882 (vc-sentinel-movepoint): Declare.
9883 * vc/vc-svn.el: Use lexical-binding.
9884 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9886 * vc/vc-rcs.el: Use lexical-binding.
9888 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9889 `deleted'. Don't drop errors silently.
9891 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9893 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9895 * vc/vc.el (vc-ignore): Rewrite.
9896 (vc-default-ignore): New function.
9897 (vc-default-ignore-completion-table): Use find-ignore-file.
9899 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9900 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9901 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9902 Remove. Most code moved to vc.el.
9904 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9906 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9907 * net/tramp-smb.el (tramp-smb-get-file-entries):
9908 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9909 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9911 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9913 (eww-change-select): Remove unused var `properties'.
9914 (eww-make-unique-file-name): Remove unused var `base'.
9916 * finder.el (finder-compile-keywords): Don't mess with windows.
9918 * calculator.el (calculator-funcall): Fix typo in last change.
9920 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9922 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9923 <pkg>-autoloads.el file stop us.
9925 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9926 warnings, and factor out common code.
9928 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9930 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9931 two-character operators and whether the character preceding them
9932 changes their meaning (Bug#15208).
9934 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9936 Format code sent to Python shell for robustness.
9937 * progmodes/python.el (python-shell-buffer-substring):
9939 (python-shell-send-region, python-shell-send-buffer): Use it.
9941 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9943 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9944 * net/tramp.el (tramp-user-error): ... here.
9945 (tramp-find-method, tramp-check-proper-host)
9946 (tramp-dissect-file-name, tramp-debug-message)
9947 (tramp-handle-shell-command):
9948 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9949 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9951 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9953 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9955 * avoid.el (mouse-avoidance-point-position)
9956 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9959 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9961 * progmodes/python.el (python-shell-completion-get-completions):
9962 Drop use of deleted `comint-last-prompt-overlay'.
9963 (python-nav-if-name-main): New command.
9965 2013-09-01 Glenn Morris <rgm@gnu.org>
9967 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9968 Avoid leading space in $wins. Otherwise the sed command used by
9969 eg compile-main ends up containing "/*.el". (Bug#15170)
9971 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9973 2013-08-30 Glenn Morris <rgm@gnu.org>
9975 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9976 Fix is-this-a-directory logic. (Bug#15220)
9978 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9980 * textmodes/css-mode.el: Use SMIE.
9981 (css-smie-grammar): New var.
9982 (css-smie--forward-token, css-smie--backward-token)
9983 (css-smie-rules): New functions.
9984 (css-mode): Use them.
9985 (css-navigation-syntax-table): Remove var.
9986 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9987 (css-indent-calculate, css-indent-line): Remove functions.
9989 Misc changes to reduce use of `(lambda...); and other cleanups.
9990 * cus-edit.el: Use lexical-binding.
9991 (customize-push-and-save, customize-apropos)
9992 (custom-buffer-create-internal): Use closures.
9993 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9994 * progmodes/ada-xref.el: Use setq.
9995 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9996 * dframe.el: Use lexical-binding.
9997 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9998 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9999 * descr-text.el: Use lexical-binding.
10000 (describe-text-widget, describe-text-sexp, describe-property-list):
10002 * comint.el (comint-history-isearch-push-state): Use a closure.
10003 * calculator.el: Use lexical-binding.
10004 (calculator-number-to-string): Make it work with lexical-binding.
10005 (calculator-funcall): Same and use cl-letf.
10007 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10008 (lisp--company-doc-string, lisp--company-location): New functions.
10009 (lisp-completion-at-point): Use them to improve Company support.
10011 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10012 params of lambda expressions.
10013 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10014 (ruby-smie--opening-pipe-p): New function.
10015 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10016 symbols and matched |...| for formal params.
10017 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10018 from being treated as hanging. Handle "rescue".
10020 2013-08-29 Glenn Morris <rgm@gnu.org>
10022 * progmodes/cc-engine.el (c-pull-open-brace):
10023 Move definition before use.
10025 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10027 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10028 are immutable. Don't use `unsafe' any more.
10029 (cl--defsubst-expand): Don't substitute at the same time as keeping
10030 a residual unused let-binding. Don't use `unsafe' any more.
10032 2013-08-29 Glenn Morris <rgm@gnu.org>
10034 * calendar/cal-china.el (calendar-chinese-year-cache):
10037 * nxml/nxml-util.el (nxml-debug-clear-inside):
10038 Use cl-loop rather than loop.
10040 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10042 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10044 2013-08-28 Glenn Morris <rgm@gnu.org>
10046 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10048 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10050 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10052 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10054 * simple.el (repeat-complex-command--called-interactively-skip):
10056 (repeat-complex-command): Use it (bug#14136).
10058 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10059 (c-define-abbrev-table): Add `doc' argument.
10060 (c-mode-abbrev-table, c++-mode-abbrev-table)
10061 (objc-mode-abbrev-table, java-mode-abbrev-table)
10062 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10063 (awk-mode-abbrev-table): Use it.
10064 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10065 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10066 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10067 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10068 Move initialization into the declaration; and remove any
10071 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10072 and dynamic let binding.
10074 * vc/smerge-mode.el: Remove redundant :group args.
10076 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10079 2013-08-28 Juri Linkov <juri@jurta.org>
10081 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10082 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10083 (isearch-other-meta-char): Handle an undefined shifted printing
10084 character by downshifting it. (Bug#15200)
10086 2013-08-28 Juri Linkov <juri@jurta.org>
10088 * isearch.el (isearch-search): Change regexp error message for
10089 non-regexp searches. (Bug#15166)
10091 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10093 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10094 for portability to hosts where /bin/sh has problems.
10096 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10098 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10100 2013-08-27 Juri Linkov <juri@jurta.org>
10102 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10103 in the keyboard macro. (Bug#15126)
10105 2013-08-27 Juri Linkov <juri@jurta.org>
10107 * isearch.el (isearch-quote-char): Comment out converting unibyte
10108 to multibyte, thus syncing with its `quoted-insert' counterpart.
10111 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10113 * window.el (display-buffer-use-some-window): Add missing
10114 argument in call of get-largest-window (Bug#15185).
10115 Reported by Stephen Leake.
10117 2013-08-27 Glenn Morris <rgm@gnu.org>
10119 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10121 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10123 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10124 from a matcher-function unless there's no more matches (bug#15161).
10126 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10128 * minibuffer.el: Revert change from 2013-08-20.
10130 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10131 with text property `tramp-default', if appropriate.
10132 (tramp-check-proper-host): New defun.
10133 (tramp-dissect-file-name): Do not check hostname. Revert change
10135 (tramp-backtrace): Make VEC-OR-PROC optional.
10137 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10138 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10139 * net/tramp-sh.el (tramp-maybe-open-connection):
10140 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10141 Apply `tramp-check-proper-host'.
10143 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10145 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10146 lambda expression in order to have `describe-variable' display it.
10148 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10150 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10151 BUF can be optional. (Bug#15186)
10153 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10155 * progmodes/flymake.el (flymake-get-real-file-name-function):
10156 Fix broken customization. (Bug#15184)
10158 2013-08-25 Alan Mackenzie <acm@muc.de>
10160 Improve indentation of bracelists defined by macros (without "=").
10162 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10163 expansion begins with "{", regard it as bracelist when it doesn't
10166 Parse C++ inher-intro when there's a template split over 2 lines.
10168 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10169 rigorously the search for "class" etc. followed by ":".
10171 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10172 random languages a regexp which never matches rather than nil.
10174 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10176 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10177 (c-awk-regexp-one-line-possibly-open-char-list-re)
10178 (c-awk-one-line-possibly-open-regexp-re)
10179 (c-awk-one-line-non-syn-ws*-re): Remove.
10180 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10181 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10182 (c-awk-space*-unclosed-regexp-/-re): New constants.
10183 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10184 aren't regexp delimiters.
10186 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10187 handling for a rare situation in AWK Mode involving unterminated
10190 2013-08-23 Glenn Morris <rgm@gnu.org>
10192 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10194 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10196 * files.el (create-file-buffer): If the result would begin with
10197 spaces, prepend a "|" instead of removing them. (Bug#15162)
10199 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10201 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10202 text-properties (bug#15155).
10204 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10206 (calc-keypad-redraw): Remove unused var `pad'.
10207 (calc-keypad-press): Remove unused var `menu'.
10209 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10211 * window.el (display-buffer-pop-up-frame):
10212 Call pop-up-frame-function with BUFFER current so `make-frame' will
10213 use it as the new frame's buffer (Bug#15133).
10215 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10217 * calendar/timeclock.el: Minor cleanups.
10218 (timeclock-ask-before-exiting, timeclock-use-display-time):
10220 (timeclock-modeline-display): Define as alias before the
10222 (timeclock-mode-line-display): Use define-minor-mode.
10223 (timeclock-day-list-template): Make it a function, add an argument.
10224 (timeclock-day-list-required, timeclock-day-list-length)
10225 (timeclock-day-list-debt, timeclock-day-list-span)
10226 (timeclock-day-list-break): Adjust calls accordingly.
10228 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10230 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10231 Use read--expression so that completion works again.
10233 2013-08-21 Sam Steingold <sds@gnu.org>
10235 Add rudimentary inferior shell interaction
10236 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10237 (sh-set-shell): Reset it.
10238 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10239 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10241 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10243 * align.el: Use lexical-binding.
10244 (align-region): Simplify accordingly.
10246 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10248 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10250 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10251 `non-essential' up.
10253 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10256 * net/tramp-adb.el:
10257 * net/tramp-cmds.el:
10258 * net/tramp-ftp.el:
10259 * net/tramp-gvfs.el:
10261 * net/tramp-sh.el: Don't wrap external variable declarations by
10262 `eval-when-compile'.
10264 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10266 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10267 now that Emacs supports ImageMagick animations.
10269 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10271 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10272 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10274 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10276 * window.el (mouse-autoselect-window-select): Do autoselect when
10277 mouse pointer is on margin.
10279 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10281 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10283 2013-08-16 Glenn Morris <rgm@gnu.org>
10285 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10286 Handle "Remote Directory" response of some clients. (Bug#15058)
10288 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10289 Tweak warning. (Bug#14926)
10291 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10292 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10294 * image-mode.el (image-mode-map): Add menu items to reverse,
10295 increase, decrease, reset animation speed.
10296 (image--set-speed, image-increase-speed, image-decrease-speed)
10297 (image-reverse-speed, image-reset-speed): New functions.
10298 (image-mode-map): Add bindings for speed commands.
10300 * image.el (image-animate-get-speed, image-animate-set-speed):
10302 (image-animate-timeout): Respect image :speed property.
10304 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10307 previous line (bug#15101).
10308 (debugger-eval-expression, debugger-record-expression):
10309 Use read--expression (bug#15102).
10311 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10313 Remove byte compiler warnings, visible when compiling with
10314 `byte-compile-force-lexical-warnings' set to t.
10316 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10317 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10318 (tramp-handle-unhandled-file-name-directory)
10319 (tramp-handle-file-notify-add-watch, tramp-action-login)
10320 (tramp-action-succeed, tramp-action-permission-denied)
10321 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10322 arguments with "_".
10324 * net/tramp-adb.el (tramp-adb-parse-device-names)
10325 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10326 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10327 (tramp-adb-handle-file-truename): Remove unused arguments.
10329 * net/tramp-cache.el (tramp-flush-directory-property)
10330 (tramp-flush-connection-property, tramp-list-connections)
10331 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10333 * net/tramp-compat.el (tramp-compat-make-temp-file):
10334 Rename FILENAME to F.
10336 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10337 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10338 (tramp-zeroconf-parse-workstation-device-names)
10339 (tramp-zeroconf-parse-webdav-device-names)
10340 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10342 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10343 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10345 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10347 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10348 (tramp-sh-handle-insert-file-contents-literally)
10349 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10351 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10352 Remove unused variables.
10354 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10355 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10356 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10358 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10359 Make them a defconst.
10360 (tramp-uuencode-region): Remove unused variable.
10362 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10364 * frameset.el (frameset--prop-setter): New function.
10365 (frameset-prop): Add gv-setter declaration.
10366 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10367 parameter was already set in FILTERED. Doc fix.
10368 (frameset--record-minibuffer-relationships): Allow saving a
10369 minibufferless frame without its corresponding minibuffer frame.
10370 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10371 frame, if the frame id matches.
10372 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10373 frames before orphaned ones.
10374 (frameset-restore): Warn about orphaned windows, instead of error out.
10376 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10378 * window.el (window-make-atom): Don't overwrite parameter
10380 (display-buffer-in-atom-window): Handle special case where we
10381 split an already atomic window.
10382 (window--major-non-side-window, display-buffer-in-side-window)
10383 (window--side-check): Ignore minibuffer window when walking
10385 (window-deletable-p): Return 'frame only if no other frame uses
10386 our minibuffer window.
10387 (record-window-buffer): Run buffer-list-update-hook.
10388 (split-window): Make sure window--check-frame won't destroy an
10389 existing atomic window in case the new window gets nested
10391 (display-buffer-at-bottom): Ignore minibuffer window when
10392 walking window tree. Don't split a side window.
10393 (pop-to-buffer): Don't set-buffer here, the select-window call
10395 (mouse-autoselect-window-select): Autoselect only if we are in the
10396 text portion of the window.
10398 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10400 * net/shr.el (shr-parse-image-data): New function to grab both the
10401 data itself and the Content-Type.
10402 (shr-put-image): Use it.
10404 * net/eww.el (eww-display-image): Ditto.
10406 * image.el (image-content-type-suffixes): New variable.
10408 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10410 * progmodes/python.el (python-imenu--build-tree)
10411 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10413 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10415 * simple.el (backward-word): Mention the optional argument.
10417 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10419 * frameset.el (frameset--make): Rename constructor from make-frameset.
10420 (frameset-p, frameset-valid-p): Don't autoload.
10421 (frameset-valid-p): Use normal accessors.
10423 2013-08-13 Glenn Morris <rgm@gnu.org>
10425 * progmodes/compile.el (compile-command): Tweak example in doc.
10426 * obsolete/scribe.el (scribe-mode):
10427 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10429 * mail/feedmail.el (feedmail-confirm-outgoing)
10430 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10432 * cus-start.el (truncate-partial-width-windows): Fix type.
10434 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10436 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10438 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * emacs-lisp/timer.el (timer--time-setter): New function.
10441 (timer--time): Use it as gv-setter.
10443 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10444 setter is not a symbol.
10446 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10448 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10449 if sending fails. This makes debugging easier.
10451 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10453 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10454 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10455 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10457 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10459 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10461 2013-08-12 Glenn Morris <rgm@gnu.org>
10463 * format.el (format-annotate-function):
10464 Handle read-only text properties in the source. (Bug#14887)
10466 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10468 * net/eww.el (eww-display-html): Ignore coding system errors.
10469 One web site uses "utf-8lias" as the coding system.
10471 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10473 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10475 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10477 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10478 (tutorial--detailed-help): Remove unused local variables.
10479 (tutorial--save-tutorial-to): Use ignore-errors.
10480 (help-with-tutorial): Use looking-at-p.
10482 * view.el (view-buffer-other-window, view-buffer-other-frame):
10483 Mark unused arguments.
10485 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10486 (woman-select-symbol-fonts, woman, woman-find-file)
10487 (woman-insert-file-contents, woman-non-underline-faces):
10488 Use string-match-p.
10489 (woman1-unquote): Move declaration.
10491 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10492 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10493 argument. Remove unused local variable.
10494 (xml-parse-elem-type): Use string-match-p.
10495 (xml-substitute-numeric-entities): Use ignore-errors.
10497 * calculator.el (calculator): Mark unused argument.
10498 (calculator-paste, calculator-quit, calculator-integer-p):
10500 (calculator-string-to-number, calculator-decimal, calculator-exp)
10501 (calculator-op-or-exp): Use string-match-p.
10503 * dired.el (dired-buffer-more-recently-used-p): Declare.
10504 (dired-insert-set-properties, dired-insert-old-subdirs):
10507 * dired-aux.el (dired-compress): Use ignore-errors.
10508 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10509 (dired-do-async-shell-command, dired-do-shell-command)
10510 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10511 (dired-insert-subdir-validate): Use string-match-p.
10512 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10513 (dired-add-entry): Use string-match-p, looking-at-p.
10514 (dired-insert-subdir-newpos): Remove unused local variable.
10516 * filenotify.el (file-notify-callback): Remove unused local variable.
10518 * filesets.el (filesets-error): Mark unused argument.
10519 (filesets-which-command-p, filesets-filter-dir-names)
10520 (filesets-directory-files, filesets-get-external-viewer)
10521 (filesets-ingroup-get-data): Use string-match-p.
10523 * find-file.el (ff-other-file-name, ff-other-file-name)
10524 (ff-find-the-other-file, ff-cc-hh-converter):
10525 Remove unused local variables.
10526 (ff-get-file-name): Use string-match-p.
10527 (ff-all-dirs-under): Use ignore-errors.
10529 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10530 (follow-select-if-visible): Remove unused local variable.
10532 * forms.el (read-file-filter): Move declaration.
10533 (forms--make-format, forms--make-parser, forms-insert-record):
10534 Quote function with #'.
10535 (forms--update): Use string-match-p. Quote function with #'.
10537 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10538 (help-make-xrefs): Use looking-at-p.
10539 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10541 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10542 (ibuffer-confirm-operation-on): Use string-match-p.
10544 * msb.el (msb-item-handler, msb-dired-item-handler):
10545 Mark unused arguments.
10547 * ses.el (ses-decode-cell-symbol)
10548 (ses-kill-override): Remove unused local variable.
10549 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10550 (ses-load): Use ignore-errors, looking-at-p.
10551 (ses-jump-safe): Use ignore-errors.
10552 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10554 * tabify.el (untabify, tabify): Mark unused arguments.
10556 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10557 Mark unused argument.
10558 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10559 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10561 * emacs-lisp/timer.el (timer--time): Define setter with
10562 gv-define-setter to avoid deprecation warning.
10564 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10565 (*record-cmpl-statistics-p*): Remove (was commented out).
10566 (cmpl-statistics-block): Remove (body was commented out).
10567 All callers changed.
10568 (add-completions-from-buffer, load-completions-from-file):
10569 Remove unused variables.
10571 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10573 * filecache.el (file-cache-delete-file-list):
10574 Print message only when told so.
10575 (file-cache-files-matching): Use #' in mapconcat argument.
10577 * ffap.el (ffap-url-at-point): Fix reference to variable
10578 thing-at-point-default-mail-uri-scheme.
10580 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * subr.el (define-error): New function.
10583 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10584 error-file-not-found and define with define-error.
10585 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10586 and define with define-error.
10587 * userlock.el (file-locked, file-supersession):
10588 * simple.el (mark-inactive):
10589 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10590 * progmodes/ada-mode.el (ada-mode-errors):
10591 * play/life.el (life-extinct):
10592 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10593 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10594 * nxml/rng-util.el (rng-error):
10595 * nxml/rng-uri.el (rng-uri-error):
10596 * nxml/rng-match.el (rng-compile-error):
10597 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10598 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10599 * nxml/nxml-rap.el (nxml-scan-error):
10600 * nxml/nxml-outln.el (nxml-outline-error):
10601 * net/soap-client.el (soap-error):
10602 * net/gnutls.el (gnutls-error):
10603 * net/ange-ftp.el (ftp-error):
10604 * mpc.el (mpc-proc-error):
10605 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10606 (json-number-format, json-string-escape, json-string-format)
10607 (json-key-format, json-object-format):
10608 * jka-compr.el (compression-error):
10609 * international/quail.el (quail-error):
10610 * international/kkc.el (kkc-error):
10611 * emacs-lisp/ert.el (ert-test-failed):
10612 * calc/calc.el (calc-error, inexact-result, math-overflow)
10614 * bookmark.el (bookmark-error-no-filename):
10615 * epg.el (epg-error): Define with define-error.
10617 * time.el (display-time-event-handler)
10618 (display-time-next-load-average): Don't call sit-for since it seems
10619 unnecessary (bug#15045).
10621 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10622 Use #' instead of ' to quote functions.
10623 (checkdoc-output-mode): Use setq-local.
10624 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10625 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10626 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10627 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10628 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10629 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10630 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10631 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10633 * ido.el (ido-completion-help): Fix up compiler warning.
10635 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10637 * frameset.el (frameset-p): Add autoload cookie.
10638 (frameset--jump-to-register): New function, based on code moved from
10640 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10642 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10643 (frameset-restore, frameset-save, frameset-session-filter-alist):
10644 Remove declarations.
10645 (register-alist): Doc fix.
10646 (frameset-to-register): Move to frameset.el.
10647 (jump-to-register, describe-register-1): Remove frameset-specific code.
10649 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10651 * allout-widgets.el (allout-widgets-pre-command-business)
10652 (allout-widgets-post-command-business)
10653 (allout-widgets-after-change-handler)
10654 (allout-decorate-item-and-context, allout-set-boundary-marker)
10655 (allout-body-modification-handler)
10656 (allout-graphics-modification-handler): Mark ignored arguments.
10657 (allout-widgets-post-command-business)
10658 (allout-widgets-exposure-change-processor)
10659 (allout-widgets-exposure-undo-processor)
10660 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10661 (allout-parse-item-at-point, allout-decorate-item-guides)
10662 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10663 * allout.el (epa-passphrase-callback-function): Declare.
10664 (allout-overlay-insert-in-front-handler)
10665 (allout-overlay-interior-modification-handler)
10666 (allout-isearch-end-handler, allout-chart-siblings)
10667 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10668 (allout-yank-processing, allout-process-exposed)
10669 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10670 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10671 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10672 (lisp-indent-defform): Mark ignored arguments.
10673 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10674 (calculate-lisp-indent): Remove unused variables.
10675 * international/characters.el (indian-2-column, arabic-2-column)
10676 (tibetan): Mark ignored arguments.
10677 (use-cjk-char-width-table): Mark ignored arguments.
10678 Remove unused variables.
10679 * international/fontset.el (build-default-fontset-data)
10680 (x-compose-font-name, create-fontset-from-fontset-spec):
10681 Mark ignored arguments.
10682 (fontset-plain-name): Remove unused variables.
10683 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10684 (keyboard-coding-system): Mark ignored arguments.
10685 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10686 * help.el (resize-temp-buffer-window):
10687 * window.el (display-buffer-in-major-side-window)
10688 (display-buffer-in-side-window, display-buffer-in-previous-window):
10689 Remove unused variables.
10690 * isearch.el (isearch-forward-symbol):
10691 * version.el (emacs-bzr-version-bzr):
10692 * international/mule-cmds.el (current-language-environment):
10693 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10694 (x-handle-display):
10695 * term/pc-win.el (x-list-fonts, x-display-planes)
10696 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10697 (x-server-version, x-display-screens, x-display-mm-height)
10698 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10699 (x-selection-owner-p, x-own-selection-internal)
10700 (x-disown-selection-internal, x-get-selection-internal)
10701 (msdos-initialize-window-system):
10702 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10703 * term/x-win.el (x-handle-no-bitmap-icon):
10704 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10705 (vc-default-find-file-hook, vc-default-extra-menu):
10706 Mark ignored arguments.
10708 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10710 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10711 break-condition in the context of the debugged code (bug#12685).
10713 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10716 Do not use an overlay to highlight the last prompt. (Bug#14744)
10717 (comint-mode): Make comint-last-prompt buffer local.
10718 (comint-last-prompt): New variable.
10719 (comint-last-prompt-overlay): Remove. Superseded by
10720 comint-last-prompt.
10721 (comint-snapshot-last-prompt, comint-output-filter):
10722 Use comint-last-prompt.
10724 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10726 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10727 (frameset-save): Check validity of the resulting frameset.
10729 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10731 * ido.el (ido-record-command): Add doc string.
10733 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10735 * frameset.el (frameset): Do not disable creation of the default
10736 frameset-p predicate. Doc fix.
10737 (frameset-valid-p): New function, copied from the old predicate-p.
10738 Add additional checks.
10739 (frameset-restore): Check with frameset-valid-p.
10740 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10741 (frameset-name, frameset-description, frameset-properties)
10742 (frameset-states): Add docstring.
10743 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10744 (frameset-filter-alist): Doc fixes.
10746 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10748 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10750 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10752 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10753 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10754 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10755 (byte-compile-normal-call): Remove obsolescence check.
10757 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10759 * frameset.el (frameset-restore): Doc fix.
10761 * register.el (frameset-frame-id, frameset-frame-with-id)
10762 (frameset-p, frameset-restore, frameset-save): Declare.
10763 (register-alist): Document framesets.
10764 (frameset-session-filter-alist): Declare.
10765 (frameset-to-register): New function.
10766 (jump-to-register): Implement jumping to framesets. Doc fix.
10767 (describe-register-1): Describe framesets.
10769 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10771 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10773 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10774 Use lexical-binding.
10776 * frameset.el (frameset): Use type vector, not list (incompatible
10777 change). Do not declare a new constructor, use the default one.
10778 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10779 `name' and `description', respectively, and add read-only slot
10780 `timestamp'. Doc fixes.
10781 (frameset-copy, frameset-persistent-filter-alist)
10782 (frameset-filter-alist, frameset-switch-to-gui-p)
10783 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10784 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10785 (frameset-filter-iconified, frameset-keep-original-display-p):
10787 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10788 Rename from frameset-filter-(save|restore)-param. All callers changed.
10790 (frameset-p): Adapt to change to vector and be more thorough.
10791 Change arg name to OBJECT. Doc fix.
10792 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10793 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10794 All callers changed.
10795 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10796 All callers changed.
10797 (frameset--record-minibuffer-relationships): Rename from
10798 frameset--process-minibuffer-frames. All callers changed.
10799 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10800 Use new default constructor (again). Doc fix.
10801 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10802 All callers changed.
10803 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10804 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10806 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10807 PARAMETERS and WINDOW-STATE, respectively.
10808 (frameset-restore): Add new keyword argument PREDICATE.
10809 Reset frameset--target-display to nil. Doc fix.
10811 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10813 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10814 (bat-mode): Use it.
10815 (bat-mode-syntax-table): Mark \n as end-of-comment.
10816 (bat-font-lock-keywords): Remove comment rule.
10818 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10819 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10821 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10822 (byte-compile-callargs-warn): Use `push'.
10823 (byte-compile-arglist-warn): Ignore higher-order "calls".
10824 (byte-compile-file-form-autoload): Use `pcase'.
10825 (byte-compile-function-form): If quoting a symbol, check that it exists.
10827 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10829 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10830 and add a few popular commands found in batch files.
10831 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10832 (dos-mode): Doc fixes.
10834 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10836 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10837 (dos-mode): Use setq-local. Add space after "rem".
10838 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10839 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10841 2013-08-07 Arni Magnusson <arnima@hafro.is>
10843 * progmodes/dos.el: New file.
10844 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10847 2013-08-06 Glenn Morris <rgm@gnu.org>
10849 * calendar/calendar.el: Add new faces, and day-header-array.
10850 (calendar-weekday-header, calendar-weekend-header)
10851 (calendar-month-header): New faces.
10852 (calendar-day-header-construct): New function.
10853 (calendar-day-header-width): Also :set calendar-day-header-array.
10854 (calendar-american-month-header, calendar-european-month-header)
10855 (calendar-iso-month-header): Use calendar- faces.
10856 (calendar-generate-month):
10857 Use calendar-day-header-array for day headers; apply faces to them.
10858 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10859 (calendar-abbrev-construct): Add optional maxlen argument.
10860 (calendar-day-name-array): Doc fix.
10861 (calendar-day-name-array, calendar-abbrev-length)
10862 (calendar-day-abbrev-array):
10863 Also :set calendar-day-header-array, and maybe redraw.
10864 (calendar-day-header-array): New option. (Bug#15007)
10865 (calendar-font-lock-keywords): Set to nil and make obsolete.
10866 (calendar-day-name): Add option to use header array.
10868 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10870 * net/shr.el (shr-render-td): Remove debugging.
10871 (shr-render-td): Make width computation consistent by defaulting
10872 all zero-width columns to 10 characters. This may not be optimal,
10873 but it's at least consistent.
10874 (shr-make-table-1): Redo last change to fix the real problem in
10877 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10879 * files.el (cache-long-line-scans):
10880 Make obsolete alias to `cache-long-scans'.
10882 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10884 * frameset.el (frameset, frameset-filter-alist)
10885 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10886 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10887 (frameset-compute-pos): Rename from frameset--compute-pos,
10889 (frameset-move-onscreen): Use frameset-compute-pos.
10890 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10892 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10893 Fix typos in docstrings.
10895 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10897 * frame.el (get-other-frame): Tiny cleanup.
10899 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10901 * vc/vc.el (vc-default-ignore-completion-table):
10902 Silence byte-compiler warning.
10904 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10905 slot, which can indeed be nil.
10906 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10907 Move entry for `left' from persistent to live filter alist.
10908 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10910 (frameset-filter-params): When restoring a frame, copy items added to
10911 `filtered', to avoid unwittingly modifying the original parameters.
10912 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10913 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10915 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10916 to use looking-at-p instead of looking-at. (Bug#15028)
10918 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10920 Revert introduction of isearch-filter-predicates (bug#14714).
10921 Rely on add-function instead.
10922 * isearch.el (isearch-filter-predicates): Rename it back to
10923 isearch-filter-predicate.
10924 (isearch-message-prefix): Use advice-function-mapc and advice
10925 properties to get the isearch-message-prefix.
10926 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10927 instead of run-hook-with-args-until-failure.
10928 (isearch-filter-visible): Not obsolete any more.
10929 * loadup.el: Preload nadvice.
10930 * replace.el (perform-replace): Revert to funcall
10931 instead of run-hook-with-args-until-failure.
10932 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10933 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10934 dired-isearch-filenames-toggle; make it into a proper minor mode.
10935 Use add/remove-function.
10936 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10937 Call the minor-mode rather than add/remove-hook.
10938 (dired-isearch-filter-filenames):
10939 Remove isearch-message-prefix property.
10940 * info.el (Info--search-loop): New function, extracted from Info-search.
10941 Funcall isearch-filter-predicate instead of
10942 run-hook-with-args-until-failure isearch-filter-predicates.
10943 (Info-search): Use it.
10944 (Info-mode): Use isearch-filter-predicate instead of
10945 isearch-filter-predicates.
10947 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10949 Do not call to `selected-window' where it is assumed by default.
10950 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10951 `window-hscroll', `window-width', `window-height', `window-buffer',
10952 `window-frame', `window-start', `window-point', `next-window'
10953 and `window-display-table'.
10954 * abbrev.el (abbrev--default-expand):
10955 * bs.el (bs--show-with-configuration):
10956 * buff-menu.el (Buffer-menu-mouse-select):
10957 * calc/calc.el (calc):
10958 * calendar/calendar.el (calendar-generate-window):
10959 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10960 (diary-make-entry):
10961 * comint.el (send-invisible, comint-dynamic-complete-filename)
10962 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10963 * completion.el (complete):
10964 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10965 * disp-table.el (describe-current-display-table):
10966 * doc-view.el (doc-view-insert-image):
10967 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10968 * ehelp.el (with-electric-help):
10969 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10970 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10971 * emacs-lisp/helper.el (Helper-help-scroller):
10972 * emulation/cua-base.el (cua--post-command-handler-1):
10973 * eshell/esh-mode.el (eshell-output-filter):
10974 * ffap.el (ffap-gnus-wrapper):
10975 * help-macro.el (make-help-screen):
10976 * hilit-chg.el (highlight-compare-buffers):
10977 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10978 * hl-line.el (global-hl-line-highlight):
10979 * icomplete.el (icomplete-simple-completing-p):
10980 * isearch.el (isearch-done):
10981 * jit-lock.el (jit-lock-stealth-fontify):
10982 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10983 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10984 * mpc.el (mpc-tagbrowser, mpc):
10985 * net/rcirc.el (rcirc-any-buffer):
10986 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10987 * play/landmark.el (landmark-max-width, landmark-max-height):
10988 * play/zone.el (zone):
10989 * progmodes/compile.el (compilation-goto-locus):
10990 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10991 * progmodes/etags.el (find-tag-other-window):
10992 * progmodes/fortran.el (fortran-column-ruler):
10993 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10994 * progmodes/verilog-mode.el (verilog-point-text):
10995 * reposition.el (reposition-window):
10996 * rot13.el (toggle-rot13-mode):
10997 * server.el (server-switch-buffer):
10998 * shell.el (shell-dynamic-complete-command)
10999 (shell-dynamic-complete-environment-variable):
11000 * simple.el (insert-buffer, set-selective-display)
11001 (delete-completion-window):
11002 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11003 (speedbar-recenter):
11004 * startup.el (fancy-splash-head):
11005 * textmodes/ispell.el (ispell-command-loop):
11006 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11007 * tutorial.el (help-with-tutorial):
11008 * vc/add-log.el (add-change-log-entry):
11009 * vc/compare-w.el (compare-windows):
11010 * vc/ediff-help.el (ediff-indent-help-message):
11011 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11012 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11013 (ediff-setup-control-frame):
11014 * vc/emerge.el (emerge-position-region):
11015 * vc/pcvs-util.el (cvs-bury-buffer):
11016 * window.el (walk-windows, mouse-autoselect-window-select):
11017 * winner.el (winner-set-conf, winner-undo): Related users changed.
11019 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11021 * frameset.el (frameset--set-id): Doc fix.
11022 (frameset-frame-id, frameset-frame-id-equal-p)
11023 (frameset-locate-frame-id): New functions.
11024 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11025 (frameset-restore): Use them.
11027 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11029 Do not call to `selected-frame' where it is assumed by default.
11030 Affected functions are `raise-frame', `redraw-frame',
11031 `frame-first-window', `frame-terminal' and `delete-frame'.
11032 * calendar/appt.el (appt-disp-window):
11033 * epg.el (epg-wait-for-completion):
11034 * follow.el (follow-delete-other-windows-and-split)
11035 (follow-avoid-tail-recenter):
11036 * international/mule.el (set-terminal-coding-system):
11037 * mail/rmail.el (rmail-mail-return):
11038 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11039 * progmodes/f90.el (f90-add-imenu-menu):
11040 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11041 * server.el (server-switch-buffer):
11042 * simple.el (delete-completion-window):
11044 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11045 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11046 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11047 * vc/ediff.el (ediff-documentation): Related users changed.
11048 * frame.el (selected-terminal): Remove the leftover.
11050 2013-08-05 Glenn Morris <rgm@gnu.org>
11052 * calendar/calendar.el (calendar-generate-month):
11053 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11054 (calendar-generate-month, calendar-font-lock-keywords):
11055 Fix for calendar-day-header-width > length of any day name.
11057 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11059 * desktop.el (desktop-clear): Use new name of sort predicate.
11061 * frameset.el (frameset): Add docstring. Move :version property to its
11062 own `version' slot.
11063 (frameset-copy): Rename from copy-frameset.
11064 (frameset-p): Check more thoroughly.
11065 (frameset-prop): Do not check for :version, which is no longer a prop.
11066 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11067 Use new :never value instead of t.
11068 (frameset-filter-alist): Expand and clarify docstring.
11069 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11070 (frameset-filter-minibuffer, frameset-filter-save-param)
11071 (frameset-filter-restore-param, frameset-filter-iconified):
11072 Add pointer to docstring of frameset-filter-alist.
11073 (frameset-filter-params): Rename filter values to be more meaningful:
11074 :never instead of t, and reverse the meanings of :save and :restore.
11075 (frameset--process-minibuffer-frames): Clarify error message.
11076 (frameset-save): Avoid unnecessary and confusing call to framep.
11077 Use new BOA constructor for framesets.
11078 (frameset--reuse-list): Doc fix.
11079 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11080 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11081 (frameset-minibufferless-first-p): Doc fix.
11082 Rename from frameset-sort-frames-for-deletion.
11083 (frameset-restore): Doc fixes. Use new function names.
11084 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11086 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11088 * desktop.el (desktop-restore-forces-onscreen)
11089 (desktop-restore-reuses-frames): Document :keyword constant values.
11090 (desktop-filter-parameters-alist): Remove, now identical to
11091 frameset-filter-alist.
11092 (desktop--filter-tty*): Remove, moved to frameset.el.
11093 (desktop-save-frameset, desktop-restore-frameset):
11094 Do not pass :filters argument.
11096 * frameset.el (frameset-live-filter-alist)
11097 (frameset-persistent-filter-alist): New variables.
11098 (frameset-filter-alist): Use them. Add autoload cookie.
11099 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11100 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11101 `frameset--id' (it's supposed to be internal to frameset.el).
11102 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11103 (frameset--initial-params): New function.
11104 (frameset--get-frame): Use it. Doc fix.
11105 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11106 Accept :all, not 'all.
11107 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11108 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11109 with fbound symbols. Fix frame id matching, and remove matching ids if
11110 the frame being restored is deleted. Obey :delete.
11112 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11114 * subr.el (macrop): New function.
11115 (text-clone--maintaining): New var.
11116 (text-clone--maintain): Rename from text-clone-maintain. Use it
11117 instead of inhibit-modification-hooks.
11119 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11120 a proxy, so as handle autoloads and redefinitions of the target.
11121 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11123 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11124 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11125 (pcase--mutually-exclusive-p): New function.
11126 (pcase--split-consp): Use it.
11127 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11128 mutually exclusive with the current predicate.
11130 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11131 (edebug-macrop): Remove. Use `macrop' instead.
11132 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11134 * eshell/esh-cmd.el (eshell-macrop):
11135 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11137 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11139 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11140 (advice-mapc): New function, using it.
11141 (advice-function-member-p): New function.
11142 (advice--normalize): Store the cdr in advice--saved-rewrite since
11143 that's the part that will be changed.
11144 (advice--symbol-function): New function.
11145 (advice-remove): Handle removal before the function is defined.
11146 Adjust to new advice--saved-rewrite.
11147 (advice-member-p): Use advice-function-member-p and
11148 advice--symbol-function.
11150 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11152 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11153 (frameset-filter-minibuffer): Doc fix.
11154 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11155 (frameset--set-id, frameset--process-minibuffer-frames)
11156 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11157 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11159 * desktop.el (desktop-clear): Only delete frames when called
11160 interactively and desktop-restore-frames is non-nil. Doc fix.
11161 (desktop-read): Set desktop-saved-frameset to nil.
11163 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11165 * vc/vc.el (vc-ignore): Rewrite.
11166 (vc-default-ignore-completion-table, vc--read-lines)
11167 (vc--add-line, vc--remove-regexp): New functions.
11169 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11170 (vc-svn-ignore-completion-table): New function.
11172 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11173 (vc-hg-ignore-completion-table)
11174 (vc-hg-find-ignore-file): New functions.
11176 * vc/vc-git.el (vc-git-ignore): Rewrite.
11177 (vc-git-ignore-completion-table)
11178 (vc-git-find-ignore-file): New functions.
11180 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11182 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11183 (vc-bzr-ignore-completion-table)
11184 (vc-bzr-find-ignore-file): New functions.
11186 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11188 * frameset.el (frameset-prop): New function and setter.
11189 (frameset-save): Do not modify frame list passed by the caller.
11191 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11193 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11195 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11197 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11198 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11200 * custom.el (custom-initialize-default, custom-initialize-set)
11201 (custom-initialize-reset, custom-initialize-changed): Affect the
11202 toplevel-default-value (bug#6275, bug#14586).
11203 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11206 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11208 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11209 Add cl-def* expressions.
11211 * frameset.el (frameset-filter-params): Fix order of arguments.
11213 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11215 Move code related to saving frames to frameset.el.
11216 * desktop.el: Require frameset.
11217 (desktop-restore-frames): Doc fix.
11218 (desktop-restore-reuses-frames): Rename from
11219 desktop-restoring-reuses-frames.
11220 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11221 (desktop-clear): Clear frames too.
11222 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11223 (desktop--filter-tty*, desktop-save, desktop-read):
11224 Use frameset functions.
11225 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11226 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11227 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11228 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11229 (desktop--process-minibuffer-frames, desktop-save-frames)
11230 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11231 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11232 (desktop--sort-states, desktop-restoring-frames-p)
11233 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11234 (desktop-restoring-frameset-p, desktop-restore-frameset)
11235 (desktop--check-dont-save, desktop-save-frameset): New functions.
11236 (desktop--app-id): New constant.
11237 (desktop-first-buffer, desktop-buffer-ok-count)
11238 (desktop-buffer-fail-count): Move before first use.
11239 * frameset.el: New file.
11241 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11243 * files.el: Use lexical-binding.
11244 (dir-locals-read-from-file): Remove unused `err' variable.
11245 (hack-dir-local-variables--warned-coding): New var.
11246 (hack-dir-local-variables): Use it to avoid repeated warnings.
11247 (make-backup-file-name--default-function): New function.
11248 (make-backup-file-name-function): Use it as default.
11249 (buffer-stale--default-function): New function.
11250 (buffer-stale-function): Use it as default.
11251 (revert-buffer-insert-file-contents--default-function): New function.
11252 (revert-buffer-insert-file-contents-function): Use it as default.
11253 (insert-directory): Avoid add-to-list.
11255 * autorevert.el (auto-revert-handler): Simplify.
11256 Use buffer-stale--default-function.
11258 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11260 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11262 * whitespace.el (whitespace-ensure-local-variables): New function.
11263 (whitespace-cleanup-region): Call it.
11264 (whitespace-turn-on): Call it.
11266 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11268 Complete file name handlers.
11270 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11271 (tramp-handle-verify-visited-file-modtime)
11272 (tramp-handle-file-notify-rm-watch): New functions.
11273 (tramp-call-process): Do not bind `default-directory'.
11275 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11276 Order alphabetically.
11277 <access-file, add-name-to-file, dired-call-process>:
11278 <dired-compress-file, file-acl, file-notify-rm-watch>:
11279 <file-ownership-preserved-p, file-selinux-context>:
11280 <make-directory-internal, make-symbolic-link, set-file-acl>:
11281 <set-file-selinux-context, set-visited-file-modtime>:
11282 <verify-visited-file-modtime>: Add handler.
11283 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11285 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11286 <file-notify-add-watch, file-notify-rm-watch>:
11287 <set-file-times, set-visited-file-modtime>:
11288 <verify-visited-file-modtime>: Add handler.
11289 (with-tramp-gvfs-error-message)
11290 (tramp-gvfs-handle-set-visited-file-modtime)
11291 (tramp-gvfs-fuse-file-name): Remove.
11292 (tramp-gvfs-handle-file-notify-add-watch)
11293 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11294 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11296 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11297 Order alphabetically.
11298 <file-notify-rm-watch>: Use default Tramp handler.
11299 <executable-find>: Remove private handler.
11300 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11301 `default-directory'.
11302 (tramp-sh-handle-executable-find)
11303 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11304 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11305 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11306 Do not use `format' in `tramp-message'.
11308 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11309 <file-notify-rm-watch, set-visited-file-modtime>:
11310 <verify-visited-file-modtime>: Add handler.
11311 (tramp-smb-call-winexe): Do not bind `default-directory'.
11313 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11315 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11317 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11319 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11321 (log-view-diff-changeset): Same.
11322 (log-view-diff-common): Call backend command `previous-revision'
11323 to find out the previous revision, in both cases. Swap the
11324 variables `to' and `fr', so that `fr' usually refers to the
11325 earlier revision (Bug#14989).
11327 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11329 * ibuf-ext.el (ibuffer-filter-by-filename):
11330 Make it work with dired buffers too.
11332 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11334 * emacs-lisp/re-builder.el (reb-color-display-p):
11335 * files.el (save-buffers-kill-terminal):
11336 * net/browse-url.el (browse-url):
11337 * server.el (server-save-buffers-kill-terminal):
11338 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11339 Prefer nil to selected-frame for the first arg of frame-parameter.
11341 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11343 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11345 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11347 * minibuffer.el (completion--twq-all): Try and preserve each
11348 completion's case choice (bug#14907).
11350 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11352 * net/network-stream.el (open-network-stream): Mention the new
11353 :nogreeting parameter.
11354 (network-stream-open-starttls): Use the :nogreeting parameter
11357 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11359 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11360 more natural than popping.
11362 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11363 (shr-urlify): Highlight under mouse.
11365 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11367 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11369 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11371 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11374 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11375 point-min==1. Fix search string. Fix parentheses missing.
11377 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11378 assume point-min==1. Fix search string. Fix parentheses missing.
11380 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11382 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11385 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11387 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11388 initial frame is minibuffer-less. (Bug#14841)
11390 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11392 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11395 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11396 (tramp-maybe-open-connection): Use it.
11398 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11400 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11401 minimal set of parameters passed when creating a frame, because
11402 the minibuffer status of a frame cannot be changed later.
11404 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11406 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11407 replace-regexp-in-string and inadvertent omissions in previous change.
11408 (todo-filter-items): Ensure only file names are comma-separated in
11409 name of filtered items buffer.
11411 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11413 * desktop.el: Optionally force offscreen frames back onscreen.
11414 (desktop-restoring-reuses-frames): New option.
11415 (desktop--compute-pos, desktop--move-onscreen): New functions.
11416 (desktop--make-frame): Use desktop--move-onscreen.
11418 2013-07-27 Alan Mackenzie <acm@muc.de>
11420 Fontify a Java generic method as a function.
11421 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11424 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11426 * calendar/todo-mode.el: Add command to rename todo files.
11427 (todo-rename-file): New command.
11428 (todo-key-bindings-t): Add key binding for it. Change the
11429 bindings of todo-filter-regexp-items(-multifile) to use `x'
11430 instead of `r', since the latter is better suited to the new
11433 2013-07-27 Alan Mackenzie <acm@muc.de>
11435 Make Java try-with-resources statement parse properly.
11436 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11437 (c-block-stmt-1-2-key): New language constants/variables.
11438 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11439 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11440 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11441 with c-block-stmt-1-2-key.
11443 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11445 * desktop.el (desktop--make-frame): Apply most frame parameters after
11446 creating the frame to force (partially or totally) offscreen frames to
11447 be restored as such.
11449 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11451 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11454 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11456 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11457 `base' arg of backtrace-frame.
11459 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11461 * simple.el (list-processes): Doc fix.
11463 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11465 * desktop.el (desktop--select-frame):
11466 Try harder to reuse existing frames.
11468 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11470 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11471 (edebug-eval): Use backtrace-eval.
11472 (edebug--display, edebug--recursive-edit): Don't let-bind the
11473 edebug-outer-* vars that keep track of variables we locally let-bind.
11474 (edebug-outside-excursion): Don't restore outside values of locally
11476 (edebug--display): Use user-error.
11477 (cl-lexical-debug, cl-debug-env): Remove.
11479 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11481 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11482 are restored to be sure that they are visible before deleting any
11485 2013-07-26 Matthias Meulien <orontee@gmail.com>
11487 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11488 vc-print-root-log. (Bug#14948)
11490 2013-07-26 Richard Stallman <rms@gnu.org>
11492 Add aliases for encrypting mail.
11493 * epa.el (epa-mail-aliases): New option.
11494 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11495 Bind inhibit-read-only so read-only text doesn't ruin everything.
11496 (epa-mail-default-recipients): New subroutine broken out.
11497 Handle epa-mail-aliases.
11499 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11501 Add support for lexical variables to the debugger's `e' command.
11502 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11503 vars, except for debugger-outer-match-data.
11504 (debugger-frame-number): Move check for "on a function call" from
11505 callers into it. Add `skip-base' argument.
11506 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11507 (debugger-env-macro): Only reset the state stored in non-variables,
11508 i.e. current-buffer and match-data.
11509 (debugger-eval-expression): Rewrite using backtrace-eval.
11510 * subr.el (internal--called-interactively-p--get-frame): Remove.
11511 (called-interactively-p):
11512 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11513 `base' arg of backtrace-frame instead.
11515 2013-07-26 Glenn Morris <rgm@gnu.org>
11517 * align.el (align-regexp): Doc fix. (Bug#14857)
11518 (align-region): Explicit error if subexpression missing/does not match.
11520 * simple.el (global-visual-line-mode):
11521 Do not duplicate the mode lighter. (Bug#14858)
11523 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11525 * window.el (display-buffer): In display-buffer bind
11526 split-window-keep-point to t, bug#14829.
11528 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11530 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11531 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11532 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11533 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11534 Change accordingly.
11535 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11536 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11538 2013-07-25 Glenn Morris <rgm@gnu.org>
11540 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11542 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11544 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11545 parameter to modify-frame-parameters if the value has not changed;
11546 this is a workaround for bug#14949.
11547 (desktop--make-frame): On cl-delete-if call, check parameter name,
11548 not full parameter.
11550 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11552 * vc/vc.el (vc-ignore): New function.
11554 * vc/vc-svn.el (vc-svn-ignore): New function.
11556 * vc/vc-hg.el (vc-hg-ignore): New function.
11558 * vc/vc-git.el (vc-git-ignore): New function.
11560 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11561 (vc-dir-ignore): New function.
11563 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11564 (cvs-append-to-ignore): Move here from pcvs.el.
11566 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11568 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11570 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11572 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11573 (desktop-restore-frames): Warn when deleting an existing frame failed.
11575 2013-07-24 Glenn Morris <rgm@gnu.org>
11577 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11579 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11581 * filenotify.el (file-notify-supported-p):
11582 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11585 * autorevert.el (auto-revert-use-notify)
11586 (auto-revert-notify-add-watch):
11587 * net/tramp.el (tramp-file-name-for-operation):
11588 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11589 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11590 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11591 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11592 Remove `file-notify-supported-p' entry.
11594 2013-07-24 Glenn Morris <rgm@gnu.org>
11596 * printing.el: Replace all uses of deleted ps-windows-system,
11597 ps-lp-system, ps-flatten-list with lpr- versions.
11599 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11601 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11602 checked with memq (bug#14935).
11604 * files.el (revert-buffer-function): Use a non-nil default.
11605 (revert-buffer-preserve-modes): Declare var to
11606 provide access to the `preserve-modes' argument.
11607 (revert-buffer): Let-bind it.
11608 (revert-buffer--default): New function, extracted from revert-buffer.
11610 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11612 * lpr.el: Signal print errors more prominently.
11613 (print-region-function): Don't default to nil.
11614 (lpr-print-region): New function, extracted from print-region-1.
11615 Check lpr's return value and signal an error in case of problem.
11616 (print-region-1): Use it.
11617 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11619 (ps-printer-name): Default to nil.
11620 (ps-printer-name-option): Default to lpr-printer-switch.
11621 (ps-print-region-function): Don't default to nil.
11622 (ps-postscript-code-directory): Simplify default.
11623 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11624 (ps-string-list, ps-eval-switch, ps-flatten-list)
11625 (ps-flatten-list-1): Remove.
11626 (ps-multibyte-buffer): Avoid setq.
11627 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11628 (print-region-function, ps-print-region-function): Don't set them here.
11630 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11632 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11633 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11634 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11635 (ido-decorations): Doc fix.
11637 * ansi-color.el: Fix old URL.
11639 2013-07-23 Michael R. Mauger <michael@mauger.com>
11641 * progmodes/sql.el: Version 3.3
11642 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11643 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11644 (sql-interactive-remove-continuation-prompt): Rewrite, use
11645 functions above. Fix continuation prompt and complete output line
11647 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11648 redirected output buffer.
11649 (sql-mode): Restore deleted code (Bug#13591).
11651 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11653 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11655 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11657 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11659 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11660 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11661 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11663 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11665 * desktop.el (desktop-clear): Simplify; remove useless checks
11666 against invalid buffer names.
11667 (desktop-list*): Use cl-list*.
11668 (desktop-buffer-info, desktop-create-buffer): Simplify.
11670 2013-07-23 Leo Liu <sdl.web@gmail.com>
11672 * bookmark.el (bookmark-make-record): Restore NAME as a default
11675 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11677 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11678 extracted from autoload--insert-text.
11679 (autoload--insert-text): Remove.
11680 (autoload--print-cookie-text): New function, extracted from
11681 autoload--insert-cookie-text.
11682 (autoload--insert-cookie-text): Remove.
11683 (autoload-generate-file-autoloads): Adjust calls accordingly.
11685 * winner.el (winner-hook-installed-p): Remove.
11686 (winner-mode): Simplify accordingly.
11688 * subr.el (add-to-list): Fix compiler-macro when `append' is
11689 not constant. Don't use `cl-member' for the base case.
11691 * progmodes/subword.el: Fix boundary case (bug#13758).
11692 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11694 (subword-backward-regexp): Make it a constant.
11695 (subword-forward-internal): Don't treat a trailing capital as the
11696 beginning of a word.
11698 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11700 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11701 global value of tabulated-list-revert-hook (bug#14930).
11703 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11705 * desktop.el: Require 'cl-lib.
11706 (desktop-before-saving-frames-functions): New hook.
11707 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11708 for frames being saved. Rename from desktop--save-minibuffer-frames.
11709 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11710 Do not save frames with non-nil `desktop-dont-save' parameter.
11711 Filter out deleted frames.
11712 (desktop--find-frame): Use cl-find-if.
11713 (desktop--select-frame): Use cl-(first|second|third) to access values
11715 (desktop--make-frame): Use cl-delete-if.
11716 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11717 (desktop-restore-frames): Use cl-(first|second|third) to access values
11718 of desktop-mini. Look for visible frame at the end, not while
11721 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11722 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11723 Use string-match-p, looking-at-p (bug#14927).
11725 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11727 * desktop.el (desktop-saved-frame-states):
11728 Rename from desktop--saved-states; all users changed.
11729 (desktop-save-frames): Rename from desktop--save-frames.
11730 Do not save state to desktop file.
11731 (desktop-save): Save desktop-saved-frame-states to desktop file
11733 (desktop-restoring-frames-p): New function.
11734 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11735 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11736 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11738 * desktop.el: Correctly restore iconified frames.
11739 (desktop--filter-iconified-position): New function.
11740 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11742 2013-07-20 Glenn Morris <rgm@gnu.org>
11744 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11745 Let `message' do the formatting.
11746 (def-gdb-preempt-display-buffer): Add explicit format.
11748 * image-dired.el (image-dired-track-original-file):
11749 Use with-current-buffer.
11750 (image-dired-track-thumbnail): Use with-current-buffer.
11751 Avoid changing point of wrong window.
11753 * image-dired.el (image-dired-track-original-file):
11754 Avoid changing point of wrong window. (Bug#14909)
11756 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11758 * progmodes/gdb-mi.el (gdb-done-or-error):
11759 Guard against "%" in gdb output. (Bug#14127)
11761 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11763 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11766 * international/mule.el (coding-system-iso-2022-flags): Fix last
11769 2013-07-20 Kenichi Handa <handa@gnu.org>
11771 * international/mule.el (coding-system-iso-2022-flags):
11772 Add `8-bit-level-4'. (Bug#8522)
11774 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11776 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11779 * net/eww.el (eww-process-text-input): Allow inputting when the
11780 point is at the start of the line, as the properties aren't
11783 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11786 2013-07-19 Richard Stallman <rms@gnu.org>
11788 * epa.el (epa-popup-info-window): Doc fix.
11790 * subr.el (split-string): New arg TRIM.
11792 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11794 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11795 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11797 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11799 * filenotify.el (file-notify--library): Rename from
11800 `file-notify-support'. Do not autoload. Adapt all uses.
11801 (file-notify-supported-p): New defun.
11803 * autorevert.el (auto-revert-use-notify):
11804 Use `file-notify-supported-p' instead of `file-notify-support'.
11806 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11808 * net/tramp.el (tramp-file-name-for-operation):
11809 Add `file-notify-supported-p'.
11811 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11813 (tramp-sh-file-name-handler-alist): Add it as handler for
11814 `file-notify-supported-p '.
11816 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11817 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11818 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11819 Add `ignore' as handler for `file-notify-*' functions.
11821 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11823 * simple.el (line-move-partial, line-move): Don't start vscroll or
11824 scroll-up if the current line is not taller than the window.
11827 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11830 highlight question marks in the method names as strings.
11831 (ruby-block-beg-keywords): Inline.
11832 (ruby-font-lock-keyword-beg-re): Extract from
11833 `ruby-font-lock-keywords'.
11835 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11837 * frame.el (blink-cursor-blinks): New defcustom.
11838 (blink-cursor-blinks-done): New defvar.
11839 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11840 (blink-cursor-timer-function): Check if number of blinks has been
11842 (blink-cursor-suspend, blink-cursor-check): New defuns.
11844 2013-07-15 Glenn Morris <rgm@gnu.org>
11846 * edmacro.el (edmacro-format-keys): Fix previous change.
11848 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11850 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11851 The hack didn't work outside English locales anyway.
11853 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11855 * simple.el (define-alternatives): Rename from alternatives-define,
11856 per RMS' suggestion.
11858 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11860 * desktop.el (desktop-restore-frames): Change default to t.
11861 (desktop-restore-in-current-display): Now offer more options.
11862 (desktop-restoring-reuses-frames): New customization option.
11863 (desktop--saved-states): Doc fix.
11864 (desktop-filter-parameters-alist): New variable, renamed and expanded
11865 from desktop--excluded-frame-parameters.
11866 (desktop--target-display): New variable.
11867 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11868 (desktop--filter-tty*, desktop--filter-*-color)
11869 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11870 (desktop--filter-save-desktop-parm)
11871 (desktop-restore-in-original-display-p): New functions.
11872 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11873 (desktop--save-minibuffer-frames): New function, inspired by a similar
11874 function from Martin Rudalics.
11875 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11876 (desktop--restore-in-this-display-p): Remove.
11877 (desktop--find-frame): Rename from desktop--find-frame-in-display
11878 and add predicate argument.
11879 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11880 (desktop--reuse-list): New variable.
11881 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11883 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11885 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11887 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11889 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11891 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11892 Highlight conversion methods on Kernel.
11894 2013-07-13 Alan Mackenzie <acm@muc.de>
11896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11897 and comment it out. This out-commenting enables certain C++
11898 declarations to be parsed correctly.
11900 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11902 * international/mule.el (define-coding-system): Doc fix.
11904 * simple.el (default-font-height): Don't call font-info if the
11905 frame's default font didn't change since the frame was created.
11908 2013-07-13 Leo Liu <sdl.web@gmail.com>
11910 * ido.el (ido-read-file-name): Guard against non-symbol value.
11912 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11914 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11917 2013-07-13 Leo Liu <sdl.web@gmail.com>
11919 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11920 ido-set-matches call. (Bug#6852)
11922 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11924 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11925 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11927 (ruby-font-lock-keywords): Distinguish calls to functions with
11928 module-like names from module references. Highlight character
11931 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11933 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11934 (gdb-send): Handle continued commands. (Bug#14847)
11936 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11938 * desktop.el (desktop--v2s): Remove unused local variable.
11939 (desktop-save-buffer): Make defvar-local; adjust docstring.
11940 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11941 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11943 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11945 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11947 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11949 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11952 2013-07-12 Glenn Morris <rgm@gnu.org>
11954 * doc-view.el: Require cl-lib at runtime too.
11955 (doc-view-remove-if): Remove.
11956 (doc-view-search-next-match, doc-view-search-previous-match):
11959 * edmacro.el: Require cl-lib at runtime too.
11960 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11961 (edmacro-mismatch, edmacro-subseq): Remove.
11963 * shadowfile.el: Require cl-lib.
11964 (shadow-remove-if): Remove.
11965 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11968 * wid-edit.el: Require cl-lib.
11969 (widget-choose): Use cl-remove-if.
11970 (widget-remove-if): Remove.
11972 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11973 (ebrowse-delete-if-not): Remove.
11974 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11975 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11976 Use cl-delete-if-not.
11978 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11980 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11981 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11983 2013-07-12 Leo Liu <sdl.web@gmail.com>
11985 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11987 2013-07-11 Glenn Morris <rgm@gnu.org>
11989 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11990 (edebug-gensym-index, edebug-gensym):
11991 Remove reimplementation of cl-gensym.
11992 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11994 * thumbs.el: Require cl-lib at run-time too.
11995 (thumbs-gensym-counter, thumbs-gensym):
11996 Remove reimplementation of cl-gensym.
11997 (thumbs-temp-file): Use cl-gensym.
11999 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12000 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12001 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12002 (ert--union, ert--gensym-counter, ert--gensym-counter)
12003 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12004 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12005 (ert-make-test-unbound, ert--expand-should-1)
12006 (ert--expand-should, ert--should-error-handle-error)
12007 (should-error, ert--explain-equal-rec)
12008 (ert--plist-difference-explanation, ert-select-tests)
12009 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12010 Use cl-lib functions rather than reimplementations.
12012 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12014 * net/tramp.el (tramp-methods): Extend docstring.
12015 (tramp-connection-timeout): New defcustom.
12016 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12017 (with-tramp-progress-reporter): Simplify.
12018 (tramp-process-actions): Improve messages.
12020 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12021 * net/tramp-sh.el (tramp-maybe-open-connection):
12022 Use `tramp-connection-timeout'.
12023 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12026 2013-07-11 Leo Liu <sdl.web@gmail.com>
12028 * ido.el (ido-read-file-name): Conform to the requirements of
12029 read-file-name. (Bug#11861)
12030 (ido-read-directory-name): Conform to the requirements of
12031 read-directory-name.
12033 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12035 * subr.el (delay-warning): New function.
12037 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12039 * simple.el (default-line-height): New function.
12040 (line-move-partial, line-move): Use it instead of computing the
12041 line height inline.
12042 (line-move-partial): Always compute ROWH. If the last line is
12043 partially-visible, but its text is completely visible, allow
12044 cursor to enter such a partially-visible line.
12046 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12048 Improve error messages. (Bug#14808)
12050 * net/tramp.el (tramp-current-connection): New defvar, moved from
12052 (tramp-message-show-progress-reporter-message): Remove, not
12054 (tramp-error-with-buffer): Show message in minibuffer.
12055 Discard input before waiting. Reset connection timestamp.
12056 (with-tramp-progress-reporter): Improve messages.
12057 (tramp-process-actions): Use progress reporter. Delete process in
12058 case of error. Improve messages.
12060 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12061 Call `tramp-error-with-buffer' with vector and buffer.
12062 (tramp-current-connection): Remove.
12063 (tramp-maybe-open-connection): The car of
12064 `tramp-current-connection' are the first 3 slots of the vector.
12066 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12068 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12069 inside continued strings.
12071 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12073 Timestamp fixes for undo (Bug#14824).
12074 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12076 2013-07-10 Leo Liu <sdl.web@gmail.com>
12078 * files.el (require-final-newline): Allow safe local value.
12081 2013-07-09 Leo Liu <sdl.web@gmail.com>
12083 * ido.el (ido-read-directory-name): Handle fallback.
12084 (ido-read-file-name): Update DIR to ido-current-directory.
12086 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12088 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12090 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12091 "autoload". Remove "warn lower camel case" section, previously
12092 commented out. Highlight negation char. Do not highlight the
12093 target in singleton method definitions.
12095 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12097 * faces.el (tty-setup-hook): Declare the hook.
12099 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12100 and detect when a guard/pred depends on local vars (bug#14773).
12101 (pcase--u1): Adjust caller.
12103 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12105 * simple.el (line-move-partial, line-move): Account for
12107 (line-move-partial): Avoid setting vscroll when the last
12108 partially-visible line in window is of default height.
12110 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12112 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12115 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12117 * subr.el (read-quoted-char): Remove unused local variable `char'.
12119 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12121 * vc/ediff.el (ediff-version): Version update.
12122 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12123 (ediff-merge-with-ancestor-command, ediff-directories-command)
12124 (ediff-directories3-command, ediff-merge-directories-command)
12125 (ediff-merge-directories-with-ancestor-command): New functions.
12126 All are command-line interfaces to ediff: to facilitate calling
12127 Emacs with the appropriate ediff functions invoked.
12129 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12131 (viper-save-kill-buffer): Check if buffer is modified.
12133 * emulation/viper.el (viper-version): Version update.
12134 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12136 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12138 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12139 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12140 (viper-intercept-ESC-key): Simplify.
12141 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12143 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12144 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12145 (viper-setup-ESC-to-escape): New functions.
12146 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12147 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12149 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12151 * simple.el (default-font-height, window-screen-lines):
12153 (line-move, line-move-partial): Use them instead of
12154 frame-char-height and window-text-height. This makes scrolling
12155 text smoother when the buffer's default face uses a font that is
12156 different from the frame's default font.
12158 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12160 * files.el (write-file): Do not display confirm dialog for NS,
12161 it does its own dialog, which can't be canceled (Bug#14578).
12163 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12165 * simple.el (line-move-partial): Adjust the row returned by
12166 posn-at-point for the current window-vscroll. (Bug#14567)
12168 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12170 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12171 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12174 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12176 * window.el (window-state-put-stale-windows): New variable.
12177 (window--state-put-2): Save list of windows without matching buffer.
12178 (window-state-put): Remove "bufferless" windows if possible.
12180 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12182 * simple.el (alternatives-define): Remove leftover :group keyword.
12185 2013-07-06 Leo Liu <sdl.web@gmail.com>
12187 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12188 (ido-enable-virtual-buffers): New variable.
12189 (ido-buffer-internal, ido-toggle-virtual-buffers)
12190 (ido-make-buffer-list): Use it.
12191 (ido-exhibit): Support turning on and off virtual buffers
12194 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12196 * simple.el (alternatives-define): New macro.
12198 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12200 * subr.el (read-quoted-char): Use read-key.
12201 (sit-for): Let read-event decode tty input (bug#14782).
12203 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12205 * calendar/todo-mode.el: Add handling of file deletion, both by
12206 mode command and externally. Fix various related bugs.
12207 Clarify Commentary and improve some documentation strings and code.
12208 (todo-delete-file): New command.
12209 (todo-check-file): New function.
12210 (todo-show): Handle external deletion of the file we're trying to
12211 show (bug#14688). Replace called-interactively-p by an optional
12212 prefix argument to avoid problematic interaction with catch form
12213 when byte compiled (bug#14702).
12214 (todo-quit): Handle external deletion of the archive's todo file.
12215 Make sure the buffer that was visiting the archive file is still
12216 live before trying to bury it.
12217 (todo-category-completions): Handle external deletion of any
12218 category completion files.
12219 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12220 of todo files, in case of external deletion.
12221 (todo-add-file): Replace unnecessary setq by let-binding.
12222 (todo-find-archive): Check whether there are any archives.
12223 Replace unnecessary setq by let-binding.
12224 (todo-archive-done-item): Use find-file-noselect to get the
12225 archive buffer whether or not the archive already exists.
12226 Remove superfluous code. Use file size instead of buffer-file-name to
12227 check if the archive is new; if it is, update list of archives.
12228 (todo-default-todo-file): Allow nil to be a valid value for when
12229 there are no todo files.
12230 (todo-reevaluate-default-file-defcustom): Use corrected definition
12231 of todo-default-todo-file.
12232 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12233 (todo-delete-category, todo-show-categories-table)
12234 (todo-category-number): Clarify comment.
12235 (todo-filter-items): Clarify documentation string.
12236 (todo-show-current-file, todo-display-as-todo-file)
12237 (todo-reset-and-enable-done-separator): Tweak documentation string.
12238 (todo-done-separator): Make separator length window-width, since
12239 bug#2749 is now fixed.
12241 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12243 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12244 Support both "gvfs-monitor-dir" and "inotifywait".
12245 (tramp-sh-file-inotifywait-process-filter): Rename from
12246 `tramp-sh-file-notify-process-filter'.
12247 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12248 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12250 2013-07-05 Leo Liu <sdl.web@gmail.com>
12252 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12254 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12256 * frame.el (display-pixel-height, display-pixel-width)
12257 (display-mm-height, display-mm-width): Mention behavior on
12258 multi-monitor setups in docstrings.
12259 (w32-display-monitor-attributes-list): Declare function.
12260 (display-monitor-attributes-list): Use it.
12262 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12264 * filenotify.el: New package.
12266 * autorevert.el (top): Require filenotify.el.
12267 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12269 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12270 (auto-revert-notify-handler): Use `file-notify-*' functions.
12272 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12274 * net/tramp.el (tramp-file-name-for-operation):
12275 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12277 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12278 for `file-notify-add-watch' and `file-notify-rm-watch'.
12279 (tramp-process-sentinel): Improve trace.
12280 (tramp-sh-handle-file-notify-add-watch)
12281 (tramp-sh-file-notify-process-filter)
12282 (tramp-sh-handle-file-notify-rm-watch)
12283 (tramp-get-remote-inotifywait): New defuns.
12285 2013-07-03 Juri Linkov <juri@jurta.org>
12287 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12288 call of `occur-read-primary-args' to interactive spec.
12290 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12291 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12293 2013-07-03 Matthias Meulien <orontee@gmail.com>
12295 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12296 `Buffer-menu-multi-occur'. Add it to the menu.
12297 (Buffer-menu-mode): Document it in docstring.
12298 (Buffer-menu-multi-occur): New command. (Bug#14673)
12300 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12302 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12303 keywords and built-ins.
12305 2013-07-03 Glenn Morris <rgm@gnu.org>
12307 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12309 Make info-xref checks case-sensitive by default
12310 * info.el (Info-find-node, Info-find-in-tag-table)
12311 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12312 Add option for exact case matching of nodes.
12313 * info-xref.el (info-xref): New custom group.
12314 (info-xref-case-fold): New option.
12315 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12317 2013-07-03 Leo Liu <sdl.web@gmail.com>
12319 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12321 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12323 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12324 middle of block statement initially, lower the depth. Remove
12325 FIXME comment, not longer valid. Remove middle of block statement
12326 detection, no need to do that anymore since we've been using
12327 `ruby-parse-region' here.
12329 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12331 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12333 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12335 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12337 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12339 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12340 (desktop-restore-in-current-display): New customization option.
12341 (desktop--excluded-frame-parameters): Add `font'.
12342 (desktop--save-frames): Rename from desktop--save-windows.
12343 (desktop--restore-in-this-display-p): New function.
12344 (desktop--make-full-frame): Remove unwanted width/height from
12345 full(width|height) frames.
12346 (desktop--restore-frames): Rename from desktop--restore-windows.
12347 Obey desktop-restore-current-display. Do not delete old frames or
12348 select a new frame unless we were able to restore at least one frame.
12350 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12352 * files.el (find-file-noselect): Simplify conditional expression.
12354 * textmodes/remember.el (remember-append-to-file):
12355 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12357 Add `remember-notes' function to store random notes across Emacs
12359 * textmodes/remember.el (remember-data-file): Add :set callback to
12360 affect notes buffer (if any).
12361 (remember-notes): New command.
12362 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12363 New defcustoms for the `remember-notes' function.
12364 (remember-notes-save-and-bury-buffer): New command.
12365 (remember-notes-mode-map): New variable.
12366 (remember-mode): New minor mode.
12367 (remember-notes--kill-buffer-query): New function.
12368 * startup.el (initial-buffer-choice): Add notes to custom type.
12370 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12372 * bindings.el (right-char, left-char): Don't call sit-for, this is
12373 no longer needed. Use arithmetic comparison only for numerical
12376 * international/mule-cmds.el (select-safe-coding-system):
12377 Handle the case of FROM being a string correctly. (Bug#14755)
12379 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12381 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12382 progression on degenerate tables.
12383 (shr-rescale-image): ImageMagick animated images currently don't work.
12385 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12387 Some fixes and improvements for desktop frame restoration.
12388 It is still experimental and disabled by default.
12389 * desktop.el (desktop--save-windows): Put the selected frame at
12390 the head of the list.
12391 (desktop--make-full-frame): New function.
12392 (desktop--restore-windows): Try to re-select the frame that was
12393 selected upon saving. Do not abort if some frames fail to restore,
12394 just show an error message and continue. Set up maximized frames
12395 so they have default non-maximized dimensions.
12397 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12399 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12400 Don't start heredoc inside a string or comment.
12402 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12404 * bindings.el (visual-order-cursor-movement): New defcustom.
12405 (right-char, left-char): Provide visual-order cursor motion by
12406 calling move-point-visually. Update the doc strings.
12408 2013-06-28 Kenichi Handa <handa@gnu.org>
12410 * international/mule.el (define-coding-system): New coding system
12411 properties :inhibit-null-byte-detection,
12412 :inhibit-iso-escape-detection, and :prefer-utf-8.
12413 (set-buffer-file-coding-system): If :charset-list property of
12414 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12415 appropriate for setting.
12417 * international/mule-cmds.el (select-safe-coding-system):
12418 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12419 multibyte characters, return utf-8 (or one of its siblings).
12421 * international/mule-conf.el (prefer-utf-8): New coding system.
12422 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12425 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12427 * net/shr.el (shr-render-region): New function.
12429 * net/eww.el: Autoload `eww-browse-url'.
12431 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12433 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12434 Adapt to `package-desc-version' being a list.
12435 Use `package--ac-desc-version' to retrieve version from a package
12438 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12440 New experimental feature to save&restore window and frame setup.
12441 * desktop.el (desktop-save-windows): New defcustom.
12442 (desktop--saved-states): New var.
12443 (desktop--excluded-frame-parameters): New defconst.
12444 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12445 (desktop--restore-windows, desktop--save-windows): New functions.
12446 (desktop-save): Call `desktop--save-windows'.
12447 (desktop-read): Call `desktop--restore-windows'.
12449 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12451 * net/shr.el (add-face-text-property): Remove compat definition.
12453 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12455 * info.el (Info-try-follow-nearest-node): Move search for footnote
12456 above search for node name to prevent missing a footnote (bug#14717).
12458 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12460 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12462 2013-06-27 Leo Liu <sdl.web@gmail.com>
12464 * net/eww.el (eww-read-bookmarks): Check file size.
12466 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12468 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12469 advice--pending if newdef is nil or an autoload (bug#13820).
12470 (advice-mapc): New function.
12472 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12474 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12476 (eww-mode-map): Add a menu bar.
12477 (eww-add-bookmark): New command.
12478 (eww-bookmark-mode): New mode and commands.
12479 (eww-add-bookmark): Remove newlines from the title.
12480 (eww-bookmark-browse): Don't bug out if it's the only window.
12482 2013-06-26 Glenn Morris <rgm@gnu.org>
12484 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12485 (hfy-size): Handle ttys. (Bug#14668)
12487 * info-xref.el: Update for Texinfo 5 change in *note format.
12488 (info-xref-node-re, info-xref-note-re): New constants.
12489 (info-xref-check-buffer): Use info-xref-note-re.
12491 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12493 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12495 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12496 nil terminate the loop (bug#14718).
12498 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12500 * net/eww.el: Rework history traversal. When going forward/back,
12501 put these actions into the history, too, so that they can be
12503 (eww-render): Move the history reset to the correct buffer.
12505 2013-06-25 Juri Linkov <juri@jurta.org>
12507 * files-x.el (modify-dir-local-variable): Change the header comment
12508 in the file with directory local variables. (Bug#14692)
12510 * files-x.el (read-file-local-variable-value): Add `default'.
12513 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515 * net/eww.el (eww-make-unique-file-name): Create a unique file
12516 name before saving to entering `y' accidentally asynchronously.
12518 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12520 * net/eww.el (eww-download): New command and keystroke.
12522 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12524 * net/eww.el (eww-copy-page-url): Change name of command.
12526 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12527 be more consistent with Info and dired.
12529 * net/eww.el (eww-mode-map): Ditto.
12531 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12533 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12534 packages from archives.
12535 (package-archive-contents): Change format; include obsolete packages.
12536 (package-desc): Use `dir' to mark builtin packages.
12537 (package--from-builtin): Set the `dir' field to `builtin'.
12538 (generated-autoload-file, version-control): Declare.
12539 (package-compute-transaction): Change first arg and return value to be
12540 lists of package-descs. Adjust to new package-archive-contents format.
12541 (package--add-to-archive-contents): Adjust to new
12542 package-archive-contents format.
12543 (package-download-transaction): Arg is now a list of package-descs.
12544 (package-install): If `pkg' is a package name, pass it as
12545 a requirement, so it is subject to the usual (e.g. disabled) checks.
12546 (describe-package): Accept package-desc as well.
12547 (describe-package-1): Describe a specific package-desc. Add links to
12548 other package-descs for the same package name.
12549 (package-menu-describe-package): Pass the actual package-desc.
12550 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12552 (package-desc-status): New function.
12553 (package-menu--refresh): New function, extracted
12554 from package-menu--generate.
12555 (package-menu--generate): Use it.
12556 (package-delete): Update package-alist.
12557 (package-menu-execute): Don't call package-initialize.
12559 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12560 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12561 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12562 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12563 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12564 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12566 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12568 * window.el (window--state-get-1): Workaround for bug#14527.
12569 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12571 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12573 * net/eww.el (eww-back-url): Implement the history by stashing all
12574 the data into a list.
12575 (eww-forward-url): Allow going forward in the history, too.
12577 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12579 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12580 for values and use read--expression for expressions (bug#14710).
12581 (read-file-local-variable): Avoid setq.
12582 (read-file-local-variable-mode): Use minor-mode-list.
12584 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12586 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12589 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12591 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12592 Update imenu-support when dialect changes.
12594 2013-06-25 Leo Liu <sdl.web@gmail.com>
12596 * ido.el (ido-read-internal): Allow forward slash on windows.
12598 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12600 * net/eww.el (eww): Start of strings is \\`, not ^.
12602 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12604 * net/shr.el (shr-browse-url): Fix interactive spec.
12606 * net/eww.el (eww): Add a trailing slash to domain names.
12608 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12610 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12612 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12614 * net/shr.el (shr-browse-url): Use an external browser if given a
12617 * net/eww.el (eww-external-browser): Move to shr.
12619 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12621 * net/eww.el (eww): Work more correctly for file: URLs.
12622 (eww-detect-charset): Allow quoted charsets.
12623 (eww-yank-page-url): New command and keystroke.
12625 2013-06-24 Daiki Ueno <ueno@gnu.org>
12627 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12628 file name of gpg executable.
12629 (epg-context-program): New function.
12630 (epg-context-home-directory): New function.
12631 (epg-context-set-program): New function.
12632 (epg-context-set-home-directory): New function.
12633 (epg--start): Use `epg-context-program' instead of
12635 (epg--list-keys-1): Likewise.
12637 2013-06-24 Leo Liu <sdl.web@gmail.com>
12639 * ido.el (ido-read-internal): Fix bug#14620.
12641 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12643 * faces.el (face-documentation): Simplify.
12644 (read-face-attribute, tty-find-type, x-resolve-font-name):
12645 Use `string-match-p'.
12646 (list-faces-display): Use `string-match-p'. Simplify.
12647 (face-spec-recalc): Check face to avoid face alias loops.
12648 (read-color): Use `string-match-p' and non-capturing parenthesis.
12650 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12652 * net/shr.el (shr-rescale-image): Use the new
12653 :max-width/:max-height functionality.
12655 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12657 * net/eww.el (eww-search-prefix): New variable.
12659 (eww-external-browser): New variable.
12660 (eww-mode-map): New keystroke.
12661 (eww-browse-with-external-browser): New command.
12663 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12665 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12667 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12668 Don't skip aligning the next header field when padding is 0;
12669 otherwise, field width is not respected unless the title is as
12672 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12674 * emacs-lisp/package.el (package-el-version): Remove.
12675 (package-process-define-package): Fix inf-loop.
12676 (package-install): Allow symbols as arguments again.
12678 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12680 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12681 add some more keyword-like methods.
12682 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12684 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12686 * bs.el (bs-buffer-show-mark): Make defvar-local.
12687 (bs-mode): Use setq-local.
12689 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12690 (emacs-lock--try-unlocking): Make defvar-local.
12692 2013-06-22 Glenn Morris <rgm@gnu.org>
12694 * play/cookie1.el (cookie-apropos): Minor simplification.
12696 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12698 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12700 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12701 `regexp-opt', it breaks the build during dumping.
12703 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12705 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12706 Highlight keyword-like methods on Kernel and Module with
12707 font-lock-builtin-face.
12708 (auto-mode-alist): Consolidate different entries into one regexp
12709 and add more *file-s.
12711 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12713 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12715 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12716 (diary-entry): Use it in the action of this button type instead of
12719 * calendar/todo-mode.el: New version.
12720 (todo-add-category): Append new category to end of file and give
12721 it the highest number, instead of putting it at the beginning and
12722 giving it 0. Incorporate noninteractive functionality.
12723 (todo-forward-category): Adapt to 1-based category numbering.
12724 Allow skipping over archived categories.
12725 (todo-backward-category): Derive from todo-forward-category.
12726 (todo-backward-item, todo-forward-item): Make noninteractive and
12727 delegate interactive part to new commands. Make sensitive to done items.
12728 (todo-categories): Make value an alist of category names and
12729 vectors of item counts.
12730 (todo-category-beg): Make a defconst.
12731 (todo-category-number): Use 1 instead of 0 as initial value.
12732 (todo-category-select): Make sensitive to overlays, optional item
12733 highlighting and done items.
12734 (todo-delete-item): Make sensitive to overlays and marked and done items.
12735 (todo-edit-item): Make sensitive to overlays and editing of
12736 date/time header optional. Add format checks.
12737 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12738 no-op if point is not on an item. Advertise using todo-edit-quit.
12739 (todo-edit-mode): Make sensitive to new format, font-locking, and
12740 multiple todo files.
12741 (todo-insert-item, todo-insert-item-here): Derive from
12742 todo-basic-insert-item and extend functionality.
12743 (todo-item-end, todo-item-start): Make sensitive to done items.
12744 (todo-item-string): Don't return text properties. Restore point.
12745 (todo-jump-to-category): Make sensitive to multiple todo files and
12746 todo archives. Use extended category completion.
12747 (todo-lower-item, todo-raise-item): Rename to *-priority and
12748 derive from todo-set-item-priority.
12749 (todo-mode): Derive from special-mode. Make sensitive to new
12750 format, font-locking and multiple todo files. Make read-only.
12751 (todo-mode-map): Don't suppress digit keys, so they can supply
12752 prefix arguments. Add many new key bindings.
12753 (todo-prefix): Insert as an overlay instead of file text.
12754 Change semantics from diary date expression to purely visual mark.
12755 (todo-print): Rename to todo-print-buffer. Make buffer display
12756 features printable. Remove option to restrict number of items
12757 printed. Add option to print to file.
12758 (todo-print-function): Rename to todo-print-buffer-function.
12759 (todo-quit): Extend to handle exiting new todo modes.
12760 (todo-remove-item): Make sensitive to overlays.
12761 (todo-save): Extend to buffers of filtered items.
12762 (todo-show): Make sensitive to done items, multiple todo files and
12763 new todo modes. Offer to convert legacy todo file before creating
12764 first new todo file.
12765 (todo-show-priorities): Rename to todo-top-priorities.
12766 Change semantics of value 0.
12767 (todo-top-priorities): Rename to todo-filter-top-priorities,
12768 derive from todo-filter-items and extend functionality.
12769 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12770 and extend functionality to other types of filtered items.
12771 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12772 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12773 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12774 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12775 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12776 (todo-edit-mode-hook, todo-entry-prefix-function)
12777 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12778 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12779 (todo-initials, todo-insert-threshold, todo-item-string-start)
12780 (todo-line-string, todo-menu, todo-mode-hook)
12781 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12782 (todo-print-priorities, todo-remove-separator)
12783 (todo-save-top-priorities-too, todo-string-count-lines)
12784 (todo-string-multiline-p, todo-time-string-format)
12785 (todo-tmp-buffer-name): Remove.
12786 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12787 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12788 (todo-edit-category-diary-inclusion)
12789 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12790 (todo-edit-file, todo-edit-item-date-day)
12791 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12792 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12793 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12794 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12795 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12796 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12797 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12798 (todo-filter-top-priorities-multifile, todo-find-archive)
12799 (todo-find-filtered-items-file, todo-go-to-source-item)
12800 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12801 (todo-jump-to-archive-category, todo-lower-category)
12802 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12803 (todo-move-category, todo-move-item, todo-next-button)
12804 (todo-next-item, todo-padded-string, todo-powerset)
12805 (todo-previous-button, todo-previous-item)
12806 (todo-print-buffer-to-file, todo-raise-category)
12807 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12808 (todo-set-category-number, todo-set-item-priority)
12809 (todo-set-top-priorities-in-category)
12810 (todo-set-top-priorities-in-file, todo-show-categories-table)
12811 (todo-sort-categories-alphabetically-or-numerically)
12812 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12813 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12814 (todo-toggle-item-header, todo-toggle-item-highlighting)
12815 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12816 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12817 (todo-unarchive-items, todo-unmark-category): New commands.
12818 (todo-absolute-file-name, todo-add-to-buffer-list)
12819 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12820 (todo-basic-insert-item, todo-category-completions)
12821 (todo-category-number, todo-category-string-matcher-1)
12822 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12823 (todo-check-format, todo-clear-matches)
12824 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12825 (todo-current-category, todo-date-string-matcher)
12826 (todo-define-insertion-command, todo-diary-expired-matcher)
12827 (todo-diary-goto-entry, todo-diary-item-p)
12828 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12829 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12830 (todo-done-item-section-p, todo-done-separator)
12831 (todo-done-string-matcher, todo-files, todo-filter-items)
12832 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12833 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12834 (todo-insert-category-line, todo-insert-item-from-calendar)
12835 (todo-insert-sort-button, todo-insert-with-overlays)
12836 (todo-insertion-command-name, todo-insertion-key-bindings)
12837 (todo-label-to-key, todo-longest-category-name-length)
12838 (todo-make-categories-list, todo-mode-external-set)
12839 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12840 (todo-modes-set-3, todo-multiple-filter-files)
12841 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12842 (todo-read-category, todo-read-date, todo-read-dayname)
12843 (todo-read-file-name, todo-read-time)
12844 (todo-reevaluate-category-completions-files-defcustom)
12845 (todo-reevaluate-default-file-defcustom)
12846 (todo-reevaluate-filelist-defcustoms)
12847 (todo-reevaluate-filter-files-defcustom)
12848 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12849 (todo-reset-done-separator, todo-reset-done-separator-string)
12850 (todo-reset-done-string, todo-reset-global-current-todo-file)
12851 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12852 (todo-reset-prefix, todo-set-categories)
12853 (todo-set-date-from-calendar, todo-set-show-current-file)
12854 (todo-set-top-priorities, todo-short-file-name)
12855 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12856 (todo-total-item-counts, todo-update-buffer-list)
12857 (todo-update-categories-display, todo-update-categories-sexp)
12858 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12860 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12862 (todo-categories, todo-display, todo-edit, todo-faces)
12863 (todo-filtered): New defgroups.
12864 (todo-archived-only, todo-button, todo-category-string, todo-date)
12865 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12866 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12867 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12868 (todo-add-item-if-new-category, todo-always-add-time-string)
12869 (todo-categories-align, todo-categories-archived-label)
12870 (todo-categories-category-label, todo-categories-diary-label)
12871 (todo-categories-done-label, todo-categories-number-separator)
12872 (todo-categories-todo-label, todo-categories-totals-label)
12873 (todo-category-completions-files, todo-completion-ignore-case)
12874 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12875 (todo-done-separator-string, todo-done-string)
12876 (todo-files-function, todo-filter-done-items, todo-filter-files)
12877 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12878 (todo-initial-category, todo-initial-file, todo-item-mark)
12879 (todo-legacy-date-time-regexp, todo-mode-line-function)
12880 (todo-nondiary-marker, todo-number-prefix)
12881 (todo-print-buffer-function, todo-show-current-file)
12882 (todo-show-done-only, todo-show-first, todo-show-with-done)
12883 (todo-skip-archived-categories, todo-top-priorities-overrides)
12884 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12885 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12887 (todo-category-done, todo-date-pattern, todo-date-string-start)
12888 (todo-diary-items-buffer, todo-done-string-start)
12889 (todo-filtered-items-buffer, todo-item-start)
12890 (todo-month-abbrev-array, todo-month-name-array)
12891 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12892 (todo-top-priorities-buffer): New defconsts.
12893 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12894 (todo-categories-with-marks, todo-category-string-face)
12895 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12896 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12897 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12898 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12899 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12900 (todo-font-lock-keywords, todo-global-current-todo-file)
12901 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12902 (todo-insertion-commands-args)
12903 (todo-insertion-commands-args-genlist)
12904 (todo-insertion-commands-names, todo-insertion-map)
12905 (todo-key-bindings-t, todo-key-bindings-t+a)
12906 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12907 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12908 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12909 (todo-visited): New variables.
12911 2013-06-21 Glenn Morris <rgm@gnu.org>
12913 * play/cookie1.el (cookie-apropos): Add optional display argument.
12914 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12915 (psychoanalyze-pinhead): Use cookie-doctor.
12917 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12919 * emacs-lisp/package.el (tar-get-file-descriptor)
12920 (tar--extract): Declare.
12922 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12924 Extend flymake's warning predicate to be a function (bug#14217).
12925 * progmodes/flymake.el (flymake-warning-predicate): New.
12926 (flymake-parse-line): Use it.
12927 (flymake-warning-re): Make obsolete alias to
12928 `flymake-warning-predicate'.
12930 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12932 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12933 (package-obsolete-list): Remove.
12934 (package-activate): Remove min-version argument. Add `force' argument.
12935 Adjust to new package-alist format.
12936 (package-mark-obsolete): Remove.
12937 (package-unpack): Force reload of the package's autoloads.
12938 (package-installed-p): Check builtins if the installed package is not
12940 (package-initialize): Don't reset package-obsolete-list.
12941 Don't specify which package version to activate.
12942 (package-process-define-package, describe-package-1)
12943 (package-menu--generate): Adjust to new package-alist format.
12945 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12947 * allout-widgets.el (allout-widgets-mode-off)
12948 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12949 (allout-widgets-post-command-business)
12950 (allout-widgets-after-copy-or-kill-function)
12951 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12952 (allout-decorate-item-and-context)
12953 (allout-graphics-modification-handler): Fix typos in docstrings.
12954 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12956 * cmuscheme.el (scheme-start-file): Doc fix.
12957 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12958 (scheme-input-filter): Use `string-match-p'.
12960 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12962 * dired-x.el: Use Dired consistently in docstrings.
12964 * dired.el: Use Dired consistently in docstrings.
12965 (dired-readin, dired-mode): Use `setq-local'.
12966 (dired-switches-alist): Make defvar-local.
12967 (dired-buffers-for-dir): Use `zerop'.
12968 (dired-safe-switches-p, dired-switches-escape-p)
12969 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12970 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12971 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12972 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12973 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12974 (dired-toggle-marks, dired-mark-files-containing-regexp)
12975 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12976 (dired-flag-auto-save-files, dired-flag-backup-files):
12977 Use `looking-at-p'.
12978 (dired-mark-files-regexp, dired-build-subdir-alist):
12979 Use `string-match-p', `looking-at-p'.
12981 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12982 (direct-print-region-helper): Use `string-match-p'.
12984 2013-06-21 Leo Liu <sdl.web@gmail.com>
12986 * comint.el (comint-redirect-results-list-from-process):
12989 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12991 * net/eww.el (eww-update-header-line-format): Quote % characters.
12993 2013-06-21 Glenn Morris <rgm@gnu.org>
12995 * play/cookie1.el (cookie): New custom group.
12996 (cookie-file): New option.
12997 (cookie-check-file): New function.
12998 (cookie): Make it interactive. Make start and end messages optional.
12999 Interactively, display the result. Default to cookie-file.
13000 (cookie-insert): Default to cookie-file.
13001 (cookie-snarf): Make start and end messages optional.
13002 Default to cookie-file. Use with-temp-buffer.
13003 (cookie-read): Rename from read-cookie.
13004 Make start and end messages optional. Default to cookie-file.
13005 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13006 Do not autoload it.
13007 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13008 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13010 2013-06-21 Leo Liu <sdl.web@gmail.com>
13012 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13014 2013-06-21 Glenn Morris <rgm@gnu.org>
13016 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13018 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13019 Daniel Hackney <dan@haxney.org>
13021 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13022 Consolidate the single-file vs tarball code.
13023 (package-desc-suffix): New function.
13024 (package-desc-full-name): Don't bother inlining it.
13025 (package-load-descriptor): Return the new package-desc.
13026 (package-mark-obsolete): Remove unused arg `package'.
13027 (package-unpack): Make it work for single files as well.
13028 Make it update package-alist.
13029 (package--make-autoloads-and-stuff): Rename from
13030 package--make-autoloads-and-compile. Don't compile any more.
13031 (package--compile): New function.
13032 (package-generate-description-file): New function, extracted from
13033 package-unpack-single.
13034 (package-unpack-single): Remove.
13035 (package--with-work-buffer): Add indentation and debugging info.
13036 (package-download-single): Remove.
13037 (package-install-from-archive): Rename from package-download-tar, make
13038 it take a pkg-desc, and make it work for single files as well.
13039 (package-download-transaction): Simplify.
13040 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13041 external tar program.
13042 (package-install-from-buffer): Remove `pkg-desc' argument.
13043 Use package-tar-file-info for tar-mode buffers.
13044 (package-install-file): Simplify accordingly.
13045 (package-archive-base): Change to take a pkg-desc.
13046 * tar-mode.el (tar--check-descriptor): New function, extracted from
13047 tar-get-descriptor.
13048 (tar-get-descriptor): Use it.
13049 (tar-get-file-descriptor): New function.
13050 (tar--extract): New function, extracted from tar-extract.
13051 (tar--extract): Use it.
13052 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13053 case the summary uses non-ascii. Adjust to new calling convention of
13054 package-tar-file-info.
13056 2013-06-21 Leo Liu <sdl.web@gmail.com>
13058 * comint.el (comint-redirect-results-list-from-process):
13059 Fix random delay. (Bug#14681)
13061 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13063 * profiler.el (profiler-format-number): Use log, not log10.
13065 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13067 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13069 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13071 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13072 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13074 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13075 (AUTOGENEL): ... here.
13076 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13077 (cl--defsubst-expand): Use it.
13079 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13081 * subr.el (log10): Move here from C code, and declare as obsolete.
13082 All uses of (log10 X) replaced with (log X 10).
13084 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13086 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13087 Declare with `defvar-local'.
13088 (tabulated-list-use-header-line, tabulated-list-entries)
13089 (tabulated-list-padding, tabulated-list-printer)
13090 (tabulated-list-sort-key): Declare with `defvar-local'.
13091 (tabulated-list-init-header, tabulated-list-print-fake-header):
13094 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13096 * arc-mode.el (archive-mode): Add `archive-write-file' to
13097 `write-contents-functions' also for remote files. (Bug#14652)
13099 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13101 * cus-edit.el (custom-commands): Fix typos.
13102 (custom-display): Fix tooltip text.
13103 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13104 Fix typos in docstrings.
13105 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13106 (custom-unlispify-menu-entry, custom-magic-value-create)
13107 (custom-add-see-also, custom-group-value-create): Use ?\s.
13108 (custom-guess-type, customize-apropos, editable-field)
13109 (custom-face-value-create): Use `string-match-p'.
13110 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13112 * custom.el (custom-load-symbol): Use `string-match-p'.
13114 * ansi-color.el: Convert to lexical binding.
13115 (ansi-colors): Fix URL.
13116 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13117 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13118 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13120 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13122 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13124 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13126 2013-06-19 Tom Tromey <tromey@redhat.com>
13128 * net/eww.el (eww-top-url): Remove.
13129 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13130 (eww-render): Set new variables. Don't set eww-top-url.
13131 (eww-handle-link): Handle "prev", "home", and "contents".
13132 Downcase the rel text.
13133 (eww-top-url): Choose best top URL.
13135 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13137 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13138 relying in widget.el. Using widget.el leads to too many
13139 user interface inconsistencies.
13140 (eww-self-insert): Implement entering commands in text fields.
13141 (eww-process-text-input): New function to make text input field editing
13143 (eww-submit): Rewrite to use the new-style form methods.
13144 (eww-select-display): Display the correct selected item.
13145 (eww-change-select): Implement changing the select value.
13146 (eww-toggle-checkbox): Implement radio/checkboxes.
13147 (eww-update-field): Fix compilation error.
13148 (eww-tag-textarea): Implement <textarea>.
13150 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13151 we don't shadow mode-specific bindings.
13153 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13156 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13158 2013-06-19 Glenn Morris <rgm@gnu.org>
13160 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13162 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13164 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13167 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13169 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13171 * net/browse-url.el (browse-url-browser-function):
13172 `eww-browse-url' has the right calling signature, `eww' does not.
13174 2013-06-19 Glenn Morris <rgm@gnu.org>
13176 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13177 Only eval autoloaded macros.
13178 (byte-compile-autoload): Only give the macro warning for macros.
13180 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13181 (ps-underlined-faces): Declare.
13183 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13184 (speedbar-add-supported-extension): Declare.
13186 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13187 Don't include a date stamp in the header of the generated file;
13188 it leads to needless differences between output files.
13190 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13192 * net/secrets.el (secrets-struct-secret-content-type):
13193 Replace check of introspection data by a test call of "CreateItem".
13194 Some servers do not offer introspection.
13196 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13198 * electric.el (electric-pair-mode): Improve interaction with
13199 electric-layout-mode.
13200 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13201 (electric-pair-syntax): Use text-mode-syntax-table in comments
13203 (electric-pair--insert): New function.
13204 (electric-pair-post-self-insert-function): Use it and
13205 electric--after-char-pos.
13207 2013-06-19 Leo Liu <sdl.web@gmail.com>
13209 * progmodes/octave.el (octave-help): Fix regexp.
13211 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13213 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13214 (shr-table-horizontal-line): Allow nil as a value, and change the
13216 (shr-insert-table-ruler): Respect the nil value.
13218 2013-06-18 Tom Tromey <tromey@barimba>
13220 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13222 (eww-open-file): New defun.
13223 (eww-render): Initialize new variables.
13224 (eww-display-html): Handle "link" and "a".
13225 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13226 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13227 (eww-back-url): Rename from eww-previous-url.
13228 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13231 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13233 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13234 Distinguish ternary operator tokens from slash symbol and slash
13237 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13239 Convert symbol prettification into minor mode and global minor mode.
13241 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13242 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13243 (prettify-symbols--keywords): Rename from
13244 `prog-prettify-symbols-alist' and make a local defvar.
13245 (prettify-symbols--compose-symbol): Rename from
13246 `prog--prettify-font-lock-compose-symbol'.
13247 (prettify-symbols--make-keywords): Rename from
13248 `prog-prettify-font-lock-symbols-keywords' and simplify.
13249 (prog-prettify-install): Remove.
13250 (prettify-symbols-mode): New minor mode, based on
13251 `prog-prettify-install'.
13252 (turn-on-prettify-symbols-mode): New function.
13253 (global-prettify-symbols-mode): New globalized minor mode.
13255 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13256 * progmodes/cfengine.el (cfengine3-mode):
13257 * progmodes/perl-mode.el (perl-mode): Don't call
13258 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13260 2013-06-18 Juri Linkov <juri@jurta.org>
13262 * files-x.el (modify-file-local-variable-message): New function.
13263 (modify-file-local-variable)
13264 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13265 and call `modify-file-local-variable-message' when it's non-nil.
13266 (add-file-local-variable, delete-file-local-variable)
13267 (add-file-local-variable-prop-line)
13268 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13269 and use it. (Bug#9820)
13271 2013-06-18 Juri Linkov <juri@jurta.org>
13273 * emulation/vi.el (vi-shell-op):
13274 * emulation/vip.el (vip-execute-com, ex-command):
13275 * emulation/viper-cmd.el (viper-exec-bang):
13276 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13277 the call of `shell-command-on-region'. (Bug#14637)
13279 * simple.el (shell-command-on-region): Doc fix.
13281 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13283 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13286 2013-06-18 Glenn Morris <rgm@gnu.org>
13288 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13290 * newcomment.el (comment-search-forward, comment-search-backward):
13291 Doc fix. (Bug#14376)
13293 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13295 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13296 (buffer-face-mode-invoke): Doc fix.
13298 2013-06-18 Matthias Meulien <orontee@gmail.com>
13300 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13301 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13303 2013-06-18 Glenn Morris <rgm@gnu.org>
13305 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13306 Replace obsolete function generic-make-keywords with its expansion.
13308 * progmodes/python.el (ffap-alist): Declare.
13310 * textmodes/reftex.el (bibtex-mode-map): Declare.
13312 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13314 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13315 (package-unpack, package-unpack-single): Return the pkg-dir.
13316 (package-download-transaction): Use it to update package-alist.
13318 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13320 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13323 2013-06-17 Juri Linkov <juri@jurta.org>
13325 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13327 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13329 * emacs-lisp/package.el (package-load-descriptor):
13330 Remove `with-syntax-table' call, `read' doesn't need it.
13331 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13333 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13335 * startup.el (command-line): Expand package name returned by
13336 `package--description-file' (bug#14639).
13338 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13340 * emacs-lisp/package.el (package-load-descriptor): Do not call
13341 `emacs-lisp-mode', just use its syntax table.
13343 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13345 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13346 `font-lock-extra-managed-props' if any prettifying keyword is added.
13347 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13348 (prog-mode): Use `setq-local'.
13350 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13352 * international/characters.el (standard-case-table): Set syntax of ?»
13353 and ?« to punctuation.
13355 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13357 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13358 Save relevant match data before calling `syntax-ppss' (bug#14595).
13360 2013-06-15 Juri Linkov <juri@jurta.org>
13362 * files-x.el (modify-file-local-variable-prop-line): Add local
13363 variables to the end of the existing comment on the first line.
13364 Use `file-auto-mode-skip' to skip interpreter magic line,
13365 and also skip XML declaration.
13367 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13369 * startup.el (package--builtin-versions): New var.
13370 (package-subdirectory-regexp): Remove.
13371 (package--description-file): Hard code its value instead.
13373 * emacs-lisp/package.el: Don't activate packages older than builtin.
13374 (package-obsolete-list): Rename from package-obsolete-alist, and make
13375 it into a simple list of package-desc.
13376 (package-strip-version): Remove.
13377 (package-built-in-p): Use package--builtin-versions.
13378 (package-mark-obsolete): Simplify.
13379 (package-process-define-package): Mark it obsolete if older than the
13381 (package-handle-response): Use line-end-position.
13382 (package-read-archive-contents, package--download-one-archive):
13384 (package--add-to-archive-contents): Skip if older than the builtin or
13386 (package-menu-describe-package): Fix last change.
13387 (package-list-unversioned): New var.
13388 (package-menu--generate): Use it.
13390 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13391 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13392 (autoload-builtin-package-versions): New variable.
13393 (autoload-generate-file-autoloads): Use them.
13394 Remove the list of autoloaded functions/macros from the
13395 (autoload...) comments.
13397 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13399 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13401 * simple.el (line-move-partial): Don't jump to the next screen
13402 line as soon as it becomes visible. Instead, continue enlarging
13403 the vscroll until the portion of a tall screen line that's left on
13404 display is about the height of the frame's default font.
13407 2013-06-15 Glenn Morris <rgm@gnu.org>
13409 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13410 compilation-error-regexp-alist void, or local while let-bound.
13412 * progmodes/make-mode.el (makefile-mode-syntax-table):
13413 Treat "=" as punctuation. (Bug#14614)
13415 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13417 * help-fns.el (describe-variable):
13418 Add extra line for permanent-local variables.
13420 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13422 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13423 Add export, import, library. (Bug#9164)
13424 (library): Set indent function.
13426 2013-06-14 Glenn Morris <rgm@gnu.org>
13428 * term/xterm.el (xterm--query):
13429 Stop after first matching handler. (Bug#14615)
13431 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13433 Add support for dired in saveplace.
13434 * dired.el (dired-initial-position-hook): New variable.
13435 (dired-initial-position): Call hook to place cursor position.
13436 * saveplace.el (save-place-to-alist): Add dired position.
13437 (save-place-dired-hook): New function.
13439 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13441 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13442 through a symbol rather than letrec.
13444 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13445 (package-desc): Add `dir' field.
13446 (package-desc-full-name): New function.
13447 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13448 (package-maybe-load-descriptor): Remove.
13449 (package-load-all-descriptors): Just call package-load-descriptor.
13450 (package--disabled-p): New function.
13451 (package-desc-vers, package-desc-doc): Remove aliases.
13452 (package--dir): Remove function.
13453 (package-activate): Check if a package is disabled.
13454 (package-process-define-package): New function, extracted from
13456 (define-package): Turn into a place holder.
13457 (package-unpack-single, package-tar-file-info):
13458 Use package--description-file.
13459 (package-compute-transaction): Use package--disabled-p.
13460 (package-download-transaction): Don't call
13461 package-maybe-load-descriptor since they're all loaded anyway.
13462 (package-install): Change argument to be a pkg-desc.
13463 (package-delete): Use a single pkg-desc argument.
13464 (describe-package-1): Use package-desc-dir instead of package--dir.
13465 Use package-desc property instead of package-symbol.
13466 (package-install-button-action): Adjust accordingly.
13467 (package--push): Rewrite.
13468 (package-menu--print-info): Adjust accordingly. Change the ID format
13470 (package-menu-describe-package, package-menu-get-status)
13471 (package-menu--find-upgrades, package-menu-mark-upgrades)
13472 (package-menu-execute, package-menu--name-predicate):
13473 Adjust accordingly.
13474 * startup.el (package--description-file): New function.
13475 (command-line): Use it.
13476 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13477 Use package-desc-version.
13479 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13480 (byte-compile-preprocess): Use it.
13481 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13482 can't quite recognize.
13483 (byte-compile-add-to-list): Remove.
13484 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13485 (cconv-closure-convert): Add assertion.
13487 * emacs-lisp/map-ynp.el: Use lexical-binding.
13488 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13489 Factor out some repeated code.
13491 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13493 * subr.el (with-eval-after-load): New macro.
13494 (eval-after-load): Allow form to be a function.
13495 take advantage of lexical-binding.
13496 (do-after-load-evaluation): Use dolist and adjust to new format.
13497 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13499 2013-06-13 Juri Linkov <juri@jurta.org>
13501 * replace.el (perform-replace): Display "symbol " and other search
13502 modes from `isearch-message-prefix' in the *Help* buffer.
13504 * isearch.el (isearch-query-replace): Add " symbol" and other
13505 possible search modes from `isearch-message-prefix' to the prompt.
13506 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13507 when reading a regexp to collect.
13509 2013-06-13 Juri Linkov <juri@jurta.org>
13511 * isearch.el (word-search-regexp): Match whitespace if the search
13512 string begins or ends in whitespace. The LAX arg is applied to
13513 both ends of the search string. Use `regexp-quote' and explicit
13514 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13515 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13516 boundaries are replaced with symbol boundaries, and characters
13517 between symbols match non-word non-symbol syntax. (Bug#14602)
13519 2013-06-13 Juri Linkov <juri@jurta.org>
13521 * isearch.el (isearch-del-char): Don't exceed the length of
13522 `isearch-string' by the prefix arg. (Bug#14563)
13524 2013-06-13 Juri Linkov <juri@jurta.org>
13526 * isearch.el (isearch-yank-word, isearch-yank-line)
13527 (isearch-char-by-name, isearch-quote-char)
13528 (isearch-printing-char, isearch-process-search-char):
13529 Add optional count prefix arg. (Bug#14563)
13531 * international/isearch-x.el
13532 (isearch-process-search-multibyte-characters):
13533 Add optional count prefix arg.
13535 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13537 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13538 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13541 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13543 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13545 2013-06-13 Glenn Morris <rgm@gnu.org>
13547 * startup.el (tty-handle-args):
13548 Don't just discard "--" and anything after. (Bug#14608)
13550 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13552 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13554 Implement changes in Secret Service API. Make it backward compatible.
13555 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13556 (secrets-create-item): Use it. Prefix properties with interface.
13558 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13560 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13561 (term-emulate-terminal): Respect term-suppress-hard-newline.
13563 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13565 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13566 Only remove a `thumb-file' overlay. (Bug#14548)
13568 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13570 * mail/reporter.el (reporter-submit-bug-report):
13571 Handle missing package-name. (Bug#14600)
13573 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13575 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13576 (reftex-citation-prompt, reftex-default-bibliography)
13577 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13578 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13579 (reftex-bib-sort-author, reftex-bib-sort-year)
13580 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13581 (reftex-extract-bib-entries-from-thebibliography)
13582 (reftex-get-bibkey-default, reftex-get-bib-names)
13583 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13584 (reftex-format-bib-entry, reftex-parse-bibitem)
13585 (reftex-format-bibitem, reftex-do-citation)
13586 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13587 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13588 (reftex-insert-bib-matches, reftex-format-citation)
13589 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13590 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13591 existing comments into docstrings.
13593 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13595 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13597 2013-06-12 Andreas Schwab <schwab@suse.de>
13599 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13600 for auto-save files.
13602 2013-06-12 Glenn Morris <rgm@gnu.org>
13604 * ido.el (ido-delete-ignored-files): Remove.
13605 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13606 Go back to calling ido-ignore-item-p directly.
13608 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13610 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13612 * ido.el (ido-delete-ignored-files): New function,
13613 split from ido-make-file-list-1.
13614 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13615 (ido-make-file-list-1): Use ido-delete-ignored-files.
13617 2013-06-12 Leo Liu <sdl.web@gmail.com>
13619 * progmodes/octave.el (inferior-octave-startup)
13620 (inferior-octave-completion-table)
13621 (inferior-octave-track-window-width-change)
13622 (octave-eldoc-function-signatures, octave-help)
13623 (octave-find-definition): Use single quoted strings.
13624 (inferior-octave-startup-args): Change default value.
13625 (inferior-octave-startup): Do not hard code "-i" and
13626 "--no-line-editing".
13627 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13628 (inferior-octave-directory-tracker): Use it.
13629 (octave-goto-function-definition): Robustify.
13630 (octave-help): Support highlighting operators in 'See also'.
13631 (octave-find-definition): Find subfunctions only in Octave mode.
13633 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13635 * help-fns.el (help-fns--compiler-macro): If the handler function is
13636 named, then put a link to it.
13637 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13638 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13639 (cl-typep): Use it.
13640 (cl-eval-when): Simplify debug spec.
13641 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13642 compiler-macro function instead of setting `compiler-macro-file'.
13644 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13646 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13647 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13649 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13650 Daniel Hackney <dan@haxney.org>
13652 First part of Daniel Hackney's patch to package.el.
13653 * emacs-lisp/package.el: Use defstruct.
13654 (package-desc): New, main struct.
13655 (package--bi-desc, package--ac-desc): New structs, used to describe the
13656 format in external files.
13657 (package-desc-vers): Replace with package-desc-version accessor.
13658 (package-desc-doc): Replace with package-desc-summary accessor.
13659 (package-activate-1): Remove `package' arg since the pkg-vec now
13661 (define-package): Use package-desc-from-define.
13662 (package-unpack-single): Change file-name arg to be a symbol.
13663 (package--add-to-archive-contents): Use package-desc-create and new
13664 accessor functions to package--ac-desc.
13665 (package-buffer-info, package-tar-file-info): Return a package-desc.
13666 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13667 arg to be a package-desc.
13668 (package-install-file): Adjust accordingly. Use \' to match EOS.
13669 (package--from-builtin): New function.
13670 (describe-package-1, package-menu--generate): Use it.
13671 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13672 (package-generate-autoloads): Idem and return the name of the file.
13673 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13674 Change pkg-info arg to be a package-desc.
13675 Use package-make-ac-desc.
13676 (package-upload-file): Use \' to match EOS.
13677 * finder.el (finder-compile-keywords): Use package-make-builtin.
13679 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13681 * vc/vc.el (vc-deduce-fileset): Change error message.
13682 (vc-read-backend): New function.
13683 (vc-next-action): Use it.
13685 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13687 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13688 (prolog-font-lock-keywords): Use regexp-opt instead.
13689 Don't manually highlight strings.
13690 (prolog-mode-variables): Simplify comment-start-skip.
13691 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13693 * emacs-lisp/generic.el (generic--normalise-comments)
13694 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13695 (generic-mode-set-comments): Use them.
13696 (generic-bracket-support): Use setq-local.
13697 (generic-make-keywords-list): Declare obsolete.
13699 2013-06-11 Glenn Morris <rgm@gnu.org>
13701 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13702 Prettify after setting font-lock-defaults. (Bug#14574)
13704 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13706 * replace.el (query-replace, occur-read-regexp-defaults-function)
13708 * subr.el (declare-function, number-sequence, local-set-key)
13709 (substitute-key-definition, locate-user-emacs-file)
13710 (with-silent-modifications, split-string, eval-after-load):
13711 Fix typos, remove unneeded backslashes and reflow some docstrings.
13713 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13715 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13716 default for Elisp files.
13718 2013-06-11 Glenn Morris <rgm@gnu.org>
13720 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13721 although define-derived-mode was doing this anyway. (Bug#14583)
13723 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13725 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13726 Fix make-variable-buffer-local call to refer to the correct variable.
13728 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13730 * eshell/em-term.el (eshell-visual-commands)
13731 (eshell-visual-subcommands, eshell-visual-options):
13732 Add summary line to docstrings. Add cross-references.
13734 2013-06-10 Glenn Morris <rgm@gnu.org>
13736 * epa.el (epa-read-file-name): New function. (Bug#14510)
13737 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13739 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13741 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13742 output redirection to be ignored with visual commands.
13744 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13746 * eshell/em-term.el (eshell-visual-command-p): New function.
13747 (eshell-term-initialize): Move long lambda to separate function
13748 eshell-visual-command-p.
13749 * eshell/em-dirs.el (eshell-dirs-initialize):
13750 * eshell/em-script.el (eshell-script-initialize):
13751 Add missing #' to lambda.
13753 2013-06-08 Leo Liu <sdl.web@gmail.com>
13755 * progmodes/octave.el (octave-add-log-current-defun): New function.
13756 (octave-mode): Set add-log-current-defun-function.
13757 (octave-goto-function-definition): Do not move point if not found.
13758 (octave-find-definition): Enhance to try subfunctions first.
13760 2013-06-08 Glenn Morris <rgm@gnu.org>
13762 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13763 (byte-compile-backward-char, byte-compile-backward-word):
13764 Improve previous change, to handle non-explicit nil.
13766 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13768 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13769 (smie--opener/closer-at-point): New function.
13770 (smie--matching-block-data): Use it. Don't match from right after an
13771 opener or right before a closer. Obey smie-blink-matching-inners.
13772 Don't signal a mismatch for repeated inners like "switch..case..case".
13774 2013-06-07 Leo Liu <sdl.web@gmail.com>
13776 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13778 (octave-function-header-regexp): Fix. (Bug#14570)
13779 (octave-help-mode-finish-hook, octave-help-mode-finish):
13780 Remove. Just use temp-buffer-show-hook.
13782 * newcomment.el (comment-search-backward): Revert last change.
13785 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13787 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13789 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13790 through xargs, to avoid failure due to MS-Windows limitations on
13791 command-line length.
13793 2013-06-06 Glenn Morris <rgm@gnu.org>
13795 * font-lock.el (lisp-font-lock-keywords-2):
13796 Treat user-error like error.
13798 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13799 (byte-compile-backward-char, byte-compile-backward-word):
13800 Handle explicit nil arguments. (Bug#14565)
13802 2013-06-05 Alan Mackenzie <acm@muc.de>
13804 * isearch.el (isearch-allow-prefix): New user option.
13805 (isearch-other-meta-char): Don't exit isearch when a prefix
13806 argument is typed whilst `isearch-allow-prefix' is non-nil.
13809 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13811 * autorevert.el (auto-revert-notify-handler): Use memq.
13812 Hide assertion failure.
13814 * skeleton.el: Use cl-lib.
13815 (skeleton-further-elements): Use defvar-local.
13816 (skeleton-insert): Use cl-progv.
13818 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13820 * progmodes/prog-mode.el (prog-prettify-symbols)
13821 (prog-prettify-install): Update docstrings.
13823 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13825 * simple.el: Move all the prog-mode code to prog-mode.el.
13826 * progmodes/prog-mode.el: New file.
13827 * loadup.el: Add prog-mode.el.
13829 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13831 * simple.el (prog-prettify-symbols): Add version.
13832 (prog-prettify-install): Add convenience function to prettify symbols.
13834 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13835 (perl--augmented-font-lock-keywords-1)
13836 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13837 variables and use it.
13839 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13840 (cfengine3-mode): Remove unneeded variable and use it.
13842 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13843 (lisp--augmented-font-lock-keywords-1)
13844 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13845 Remove unneeded variables and use it.
13847 2013-06-05 João Távora <joaotavora@gmail.com>
13849 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13850 to point when opening the connection. (Bug#14380)
13852 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13854 * subr.el (load-history-regexp, load-history-filename-element)
13855 (eval-after-load, after-load-functions, do-after-load-evaluation)
13856 (eval-next-after-load, display-delayed-warnings)
13857 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13858 definition of save-match-data.
13859 (overriding-local-map): Remove accidental obsolescence declaration.
13861 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13863 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13865 Generalize symbol prettify support to prog-mode and implement it
13866 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13867 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13868 (prog--prettify-font-lock-compose-symbol)
13869 (prog-prettify-font-lock-symbols-keywords): New variables and
13870 functions to support symbol prettification.
13871 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13872 (lisp--augmented-font-lock-keywords-1)
13873 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13874 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13875 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13876 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13877 Implement prettify of -> => :: strings.
13878 * progmodes/perl-mode.el (perl-prettify-symbols)
13879 (perl--font-lock-compose-symbol)
13880 (perl--font-lock-symbols-keywords): Move to prog-mode.
13881 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13882 (perl-font-lock-keywords-1)
13883 (perl-font-lock-keywords-2): Remove explicit prettify support.
13884 (perl--augmented-font-lock-keywords)
13885 (perl--augmented-font-lock-keywords-1)
13886 (perl--augmented-font-lock-keywords-2, perl-mode):
13887 Implement prettify support.
13889 2013-06-05 Leo Liu <sdl.web@gmail.com>
13891 Re-implement SMIE matching block highlight using
13892 show-paren-data-function. (Bug#14395)
13893 * emacs-lisp/smie.el (smie-matching-block-highlight)
13894 (smie--highlight-matching-block-overlay)
13895 (smie--highlight-matching-block-lastpos)
13896 (smie-highlight-matching-block)
13897 (smie-highlight-matching-block-mode): Remove.
13898 (smie--matching-block-data-cache): New variable.
13899 (smie--matching-block-data): New function.
13900 (smie-setup): Use smie--matching-block-data for
13901 show-paren-data-function.
13903 * progmodes/octave.el (octave-mode-menu): Fix.
13904 (octave-find-definition): Skip garbage lines.
13906 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13908 Fix compilation error with simultaneous dynamic+lexical scoping.
13909 Add warning when a defvar appears after the first let-binding.
13910 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13911 (byte-compile-close-variables): Initialize it.
13912 (byte-compile--declare-var): New function.
13913 (byte-compile-file-form-defvar)
13914 (byte-compile-file-form-define-abbrev-table)
13915 (byte-compile-file-form-custom-declare-variable): Use it.
13916 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13917 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13918 (byte-compile-bind): Handle dynamic bindings that shadow
13920 (byte-compile-unbind): Make arg non-optional.
13921 (byte-compile-let): Simplify.
13922 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13923 (cconv--analyse-function, cconv-analyse-form): Populate it.
13924 Protect byte-compile-bound-variables to limit the scope of defvars.
13925 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13926 Remove unneeded rule for `declare'.
13928 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13929 so as to avoid depending on cl-adjoin at run-time.
13930 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13932 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13933 (macroexp--warn-and-return): Use it.
13935 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13937 * subr.el: Convert to lexical binding.
13938 (overriding-local-map): Make obsolete.
13939 (add-to-list): Doc fix. Add compiler macro.
13940 (read-key): Swap values of local maps.
13942 2013-06-05 Leo Liu <sdl.web@gmail.com>
13944 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13946 2013-06-04 Leo Liu <sdl.web@gmail.com>
13948 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13949 (compilation-auto-jump): Suppress the "Mark set" message to give
13950 way to exit message.
13952 2013-06-04 Alan Mackenzie <acm@muc.de>
13954 Remove faulty optimisation from indentation calculation.
13955 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13956 search limit based on 2000 characters back from indent-point.
13958 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13960 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13962 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13964 * emacs-lisp/lisp.el: Use lexical-binding.
13965 (lisp--local-variables-1, lisp--local-variables): New functions.
13966 (lisp--local-variables-completion-table): New var.
13967 (lisp-completion-at-point): Use it complete let-bound vars.
13969 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13970 eagerly (bug#14422).
13972 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13974 * autorevert.el (auto-revert-notify-enabled)
13975 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13976 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13977 (auto-revert-notify-handler): Handle also gfilenotify.
13979 * subr.el (file-notify-handle-event): New defun. Replacing ...
13980 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13983 2013-06-03 Juri Linkov <juri@jurta.org>
13985 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13986 `M-s h .'. (Bug#14427)
13988 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13989 command `hi-lock-face-symbol-at-point'.
13990 (hi-lock-face-symbol-at-point): New command.
13991 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13992 (hi-lock-menu): Add `highlight-symbol-at-point'.
13993 (hi-lock-mode): Doc fix.
13995 * isearch.el (isearch-forward-symbol-at-point): New command.
13996 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13997 (isearch-highlight-regexp): Add a regexp which matches
13998 words/symbols for word/symbol mode.
14000 * subr.el (find-tag-default-bounds): New function with the body
14001 mostly moved from `find-tag-default'.
14002 (find-tag-default): Move most code to `find-tag-default-bounds',
14003 call it and apply `buffer-substring-no-properties' afterwards.
14005 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14007 * eshell/em-term.el (eshell-term-initialize):
14008 Use `cl-intersection' rather than `intersection'.
14010 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14012 * vc/log-view.el: Doc fix.
14013 (log-view-mode-map): Copy keymap from `special-mode-map'.
14015 2013-06-02 Eric Ludlam <zappo@gnu.org>
14017 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14018 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14019 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14020 (eieio-unbound, eieio-default-superclass)
14021 (eieio--define-field-accessors, method-static, method-before)
14022 (method-primary, method-after, method-num-lists)
14023 (method-generic-before, method-generic-primary)
14024 (method-generic-after, method-num-slots)
14025 (eieio-specialized-key-to-generic-key)
14026 (eieio--check-type, class-v, class-p)
14027 (eieio-class-name, define-obsolete-function-alias)
14028 (eieio-class-parents-fast, eieio-class-children-fast)
14029 (same-class-fast-p, class-constructor, generic-p)
14030 (generic-primary-only-p, generic-primary-only-one-p)
14031 (class-option-assoc, class-option, eieio-object-p)
14032 (class-abstract-p, class-method-invocation-order)
14033 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14034 (eieio-class-un-autoload, eieio-defclass)
14035 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14036 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14037 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14038 (eieio-defgeneric-reset-generic-form)
14039 (eieio-defgeneric-form-primary-only)
14040 (eieio-defgeneric-reset-generic-form-primary-only)
14041 (eieio-defgeneric-form-primary-only-one)
14042 (eieio-defgeneric-reset-generic-form-primary-only-one)
14043 (eieio-unbind-method-implementations)
14044 (eieio--defmethod, eieio--typep)
14045 (eieio-perform-slot-validation, eieio-validate-slot-value)
14046 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14047 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14048 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14049 (eieio-slot-name-index, eieio-class-slot-name-index)
14050 (eieio-set-defaults, eieio-initarg-to-attribute)
14051 (eieio-attribute-to-initarg, eieio-c3-candidate)
14052 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14053 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14054 (eieio-class-precedence-list, eieio-generic-call-methodname)
14055 (eieio-generic-call-arglst, eieio-generic-call-key)
14056 (eieio-generic-call-next-method-list)
14057 (eieio-pre-method-execution-functions, eieio-generic-call)
14058 (eieio-generic-call-primary-only, eieiomt-method-list)
14059 (eieiomt-optimizing-obarray, eieiomt-install)
14060 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14061 (eieio-generic-form, eieio-defmethod, make-obsolete)
14062 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14063 (defclass): Remove `eval-and-compile' from macro.
14064 (call-next-method, shared-initialize): Instead of using
14065 `scoped-class' variable, use new eieio--scoped-class, and
14066 eieio--with-scoped-class.
14067 (initialize-instance): Rename local variable 'scoped-class' to
14068 'this-class' to remove ambiguitity from old global.
14070 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14072 (eieio--scoped-class-stack): New variable.
14073 (eieio--scoped-class): New fcn.
14074 (eieio--with-scoped-class): New scoping macro.
14075 (eieio-defclass): Use pushnew instead of add-to-list.
14076 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14077 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14078 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14079 `scoped-class' variable, use new eieio--scoped-class, and
14080 eieio--with-scoped-class.
14082 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14084 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14086 * eshell/esh-ext.el (eshell-external-command): Pass args to
14087 `eshell-find-interpreter'.
14088 (eshell-find-interpreter): Add new second parameter ARGS.
14090 * eshell/em-script.el (eshell-script-initialize): Add second arg
14091 to the function added as MATCH to `eshell-interpreter-alist'.
14093 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14094 the function added as MATCH to `eshell-interpreter-alist'.
14096 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14097 (eshell-visual-options): New defcustom.
14098 (eshell-escape-control-x): Adapt docstring.
14099 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14100 `eshell-visual-options' in addition to `eshell-visual-commands'.
14101 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14103 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14105 * progmodes/python.el (python-indent-block-enders): Add break,
14106 continue and raise keywords.
14108 2013-06-01 Glenn Morris <rgm@gnu.org>
14110 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14112 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14113 * progmodes/cc-cmds.el (delete-forward-p):
14114 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14115 * progmodes/cc-engine.el (buffer-syntactic-context):
14116 * progmodes/cc-fonts.el (face-property-instance):
14117 * progmodes/cc-mode.el (set-keymap-parents):
14118 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14119 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14120 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14121 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14122 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14124 * progmodes/cc-vars.el (other): Emacs has this widget since
14125 at least 21.1, so don't (re)define it.
14127 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14128 Replace the obsolete alias pcomplete-arg-quote-list.
14130 2013-06-01 Leo Liu <sdl.web@gmail.com>
14132 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14133 punctuation syntax.
14134 (inferior-octave-minimal-columns)
14135 (inferior-octave-last-column-width): New variables.
14136 (inferior-octave-track-window-width-change): New function.
14137 (inferior-octave-mode): Adjust column width so that Octave output,
14138 for example from 'ls', can fit into the window nicely.
14140 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14142 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14143 Highlight expansions inside regexp literals.
14145 2013-05-31 Glenn Morris <rgm@gnu.org>
14147 * obsolete/sym-comp.el (symbol-complete):
14148 Replace obsolete completion-annotate-function.
14150 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14152 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14154 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14155 New function, checks if point is inside a literal that allows
14156 expression expansion.
14157 (ruby-syntax-propertize-expansion): Use it.
14158 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14161 2013-05-30 Juri Linkov <juri@jurta.org>
14163 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14165 (isearch-invisible): New variable.
14166 (isearch-forward): Doc fix.
14167 (isearch-mode): Set `isearch-invisible'
14168 to the value of `search-invisible'.
14169 (isearch-toggle-case-fold): Doc fix.
14170 (isearch-toggle-invisible): New command.
14171 (isearch-query-replace): Let-bind `search-invisible'
14172 to the value of `isearch-invisible'.
14173 (isearch-search): Use `isearch-invisible' instead of
14174 `search-invisible'. Let-bind `search-invisible'
14175 to the value of `isearch-invisible'. (Bug#11378)
14177 2013-05-30 Juri Linkov <juri@jurta.org>
14179 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14180 call when `query-flag' is nil and `search-invisible' is non-nil.
14183 2013-05-30 Glenn Morris <rgm@gnu.org>
14185 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14187 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14188 (cc-require): Suppress spurious "noruntime" warnings.
14189 (cc-require-when-compile): Use fboundp, for sake of compiler.
14191 * progmodes/cc-mode.el: Move load of cc-vars before that of
14192 cc-langs (which in turn loads cc-vars), to quieten compiler.
14194 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14196 * paren.el: Simplify the code.
14197 (show-paren-mode): Always start the timer.
14198 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14199 (show-paren--overlay, show-paren--overlay-1): Rename from
14200 show-paren-overlay and show-paren-overlay-1, and initialize to an
14201 overlay rather than to nil.
14202 (show-paren-function): Misc cleanup and simplifications.
14204 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14206 * paren.el (show-paren-data-function): New hook.
14207 (show-paren--default): New function, extracted from show-paren-function.
14208 (show-paren-function): Use show-paren-data-function.
14210 2013-05-30 Glenn Morris <rgm@gnu.org>
14212 * ielm.el (ielm-map, ielm-complete-symbol):
14213 Use completion-at-point rather than obsolete functions.
14214 (inferior-emacs-lisp-mode): Doc fix.
14215 Set completion-at-point-functions, rather than
14216 comint-dynamic-complete-functions.
14218 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14219 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14220 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14222 * image.el (image-animated-p): Tweak definition.
14224 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14225 (rlogin-process-connection-type): Tweak default. Add set-after.
14226 (rlogin-host): Doc fix.
14227 (rlogin): Tweak prompt.
14228 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14230 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14231 * progmodes/tcl.el (inferior-tcl-mode-map):
14232 Use completion-at-point rather than obsolete alias.
14234 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14236 * minibuffer.el (read-file-name-completion-ignore-case):
14237 Move before completion--in-region, for eager macro expansion.
14239 2013-05-29 Juri Linkov <juri@jurta.org>
14241 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14242 for total count of matching lines. Add `global-matches' for total
14243 count of matches. Rename `matches' to `lines' for count of
14244 matching lines. Add `matches' for count of matches.
14245 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14246 to `prev-line' for line number of prev match endpt.
14247 Increment `matches' for every match. Print the number of
14248 matching lines in the header.
14249 (occur-context-lines): Rename `lines' to `curr-line'.
14250 Rename `prev-lines' to `prev-line'. (Bug#14017)
14252 2013-05-29 Juri Linkov <juri@jurta.org>
14254 * replace.el (perform-replace): Add `skip-read-only-count',
14255 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14256 Increment them for corresponding conditions and report the number
14257 of skipped occurrences in the final message. (Bug#11746)
14258 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14259 (replace-string, replace-regexp): Doc fix.
14261 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14263 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14265 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14266 prog-mode-map (bug#14504).
14268 2013-05-29 Leo Liu <sdl.web@gmail.com>
14270 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14271 (octave-help): Small simplification.
14273 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14274 off the highlight first.
14276 2013-05-29 Glenn Morris <rgm@gnu.org>
14278 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14279 Handle idlwave-last-system-routine-info-cons-cell being nil.
14281 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14282 (idlwave-write-paths): Simplify via with-temp-buffer.
14284 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14285 * emulation/cua-rect.el: Also load cua-base at run time.
14287 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14288 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14289 (cperl-imenu-on-info): Require imenu.
14291 2013-05-28 Alan Mackenzie <acm@muc.de>
14293 Handle "capitalised keywords" correctly.
14294 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14296 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14298 * eshell/em-unix.el: Add -r option to cp.
14300 2013-05-28 Glenn Morris <rgm@gnu.org>
14302 * vc/vc-arch.el (vc-exec-after): Declare.
14303 (vc-switches): Autoload.
14304 * vc/vc-bzr.el: No need to require vc when compiling.
14305 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14306 (vc-resynch-buffer, vc-dir-refresh): Declare.
14307 (vc-setup-buffer, vc-switches): Autoload.
14308 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14309 (vc-resynch-buffer): Declare.
14310 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14311 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14312 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14313 (grep-read-regexp, grep-read-files, grep-expand-template)
14314 (vc-dir-refresh): Declare.
14315 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14316 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14317 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14318 * vc/vc-mtn.el (vc-exec-after): Declare.
14319 (vc-switches): Autoload.
14320 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14321 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14322 (vc-file-tree-walk): Declare.
14323 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14324 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14325 (vc-tag-precondition, vc-rename-master): Autoload.
14326 * vc/vc-svn.el (vc-exec-after): Declare.
14327 (vc-switches, vc-setup-buffer): Autoload.
14328 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14330 (vc-resynch-buffer): Declare.
14332 * obsolete/fast-lock.el (byte-compile-warnings):
14333 Don't warn about obsolete features in this obsolete file.
14335 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14336 Move definition before use.
14338 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14339 (dun-unix-verbs): Remove dun-zippy.
14340 (dun-zippy): Remove function.
14342 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14344 2013-05-27 Juri Linkov <juri@jurta.org>
14346 * replace.el (replace-search): New function with code moved out
14347 from `perform-replace'.
14348 (replace-highlight, replace-dehighlight): Move function definitions
14349 up closer to `replace-search'. (Bug#11746)
14351 2013-05-27 Juri Linkov <juri@jurta.org>
14353 * replace.el (perform-replace): Ignore invisible matches.
14354 In addition to checking `query-replace-skip-read-only', also
14355 filter out matches by calling `run-hook-with-args-until-failure'
14356 on `isearch-filter-predicates', and also check `search-invisible'
14357 for t or call `isearch-range-invisible'.
14358 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14360 2013-05-27 Juri Linkov <juri@jurta.org>
14362 * isearch.el (isearch-filter-predicates): Rename from
14363 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14364 (isearch-message-prefix): Display text from the property
14365 `isearch-message-prefix' of the currently active filters.
14366 (isearch-search): Don't compare `isearch-filter-predicate' with
14367 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14368 on `isearch-filter-predicates'. Also check `search-invisible' for t
14369 or call `isearch-range-invisible'.
14370 (isearch-filter-visible): Make obsolete.
14371 (isearch-lazy-highlight-search):
14372 Call `run-hook-with-args-until-failure' on
14373 `isearch-filter-predicates' and use `isearch-range-invisible'.
14375 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14376 `isearch-filter-predicates' instead of `funcall'ing
14377 `isearch-filter-predicate'.
14378 (Info-mode): Set `Info-isearch-filter' to
14379 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14381 * dired-aux.el (dired-isearch-filter-predicate-orig):
14383 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14384 (dired-isearch-filenames-end): Add and remove
14385 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14386 instead of changing the value of `isearch-filter-predicate'.
14387 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14388 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14389 Put property `isearch-message-prefix' to "filename " on
14390 `dired-isearch-filter-filenames'.
14392 * wdired.el (wdired-change-to-wdired-mode):
14393 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14394 locally instead of changing `isearch-filter-predicate'.
14395 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14397 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14399 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14400 return the commit hash (Bug#14459). Also set the
14401 `vc-git-detached' property.
14402 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14403 (vc-git-mode-line-string): Use the same help-echo format whether
14404 in detached mode or not, because we know the actual revision now.
14405 When in detached mode, shorten the revision to 7 chars.
14407 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14409 * emacs-lisp/easy-mmode.el (define-minor-mode):
14410 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14411 mode hook and provide a docstring.
14413 2013-05-27 Alan Mackenzie <acm@muc.de>
14415 Remove spurious syntax-table text properties inserted by C-y.
14416 * progmodes/cc-mode.el (c-after-change): Also clear hard
14417 syntax-table property with value nil.
14419 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14421 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14422 when reading the events; the buffer layout shall not be changed.
14424 2013-05-27 Leo Liu <sdl.web@gmail.com>
14426 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14428 (inferior-octave-directory-tracker): Automatically re-sync
14430 (octave-help): Improve handling of 'See also'.
14432 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14434 * doc-view.el: Minor naming convention tweaks.
14435 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14437 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14438 even if there's no `display' property yet (bug#14435).
14440 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14442 * subr.el (unmsys--file-name): Rename from reveal-filename.
14444 * Makefile.in (custom-deps, finder-data, autoloads)
14445 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14446 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14447 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14449 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14451 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14452 error-completion on the first 2 args of condition-case (bug#14446).
14455 2013-05-25 Leo Liu <sdl.web@gmail.com>
14457 * comint.el (comint-previous-matching-input): Do not flood the
14458 *Messages* buffer with trivial messages.
14460 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14462 * progmodes/flymake.el (flymake-nop): Don't return a string.
14463 (flymake-set-at): Fix typo.
14465 * simple.el (read--expression): New function, extracted from
14466 eval-expression. Set completion-at-point-functions (bug#14465).
14467 (eval-expression, eval-minibuffer): Use it.
14469 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14471 * progmodes/flymake.el (flymake-save-buffer-in-file)
14472 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14473 (flymake-selected-frame, flymake-log, flymake-ins-after)
14474 (flymake-set-at, flymake-get-buildfile-from-cache)
14475 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14476 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14477 Refine the doc string.
14478 (flymake-get-file-name-mode-and-masks): Reformat.
14479 (flymake-get-real-file-name-function): Fix a minor bug.
14481 2013-05-24 Juri Linkov <juri@jurta.org>
14483 * progmodes/grep.el (grep-mode-font-lock-keywords):
14484 Support =linenumber= format used by git-grep for lines with
14485 function names. (Bug#13549)
14487 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14489 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14490 0 after a semi-colon; it works better for smie-auto-fill.
14491 (octave--indent-new-comment-line): New function.
14492 (octave-indent-new-comment-line): Use it (indirectly).
14493 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14494 modify comment-line-break-function.
14496 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14497 (smie-setup): Use add-function to set it.
14499 2013-05-24 Sam Steingold <sds@gnu.org>
14501 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14502 argument (before the `interactive' argument).
14504 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14506 * image-mode.el (image-mode-winprops): Add winprops to
14507 image-mode-winprops-alist before running
14508 image-mode-new-window-functions.
14509 * doc-view.el (doc-view-new-window-function): Don't delay
14510 doc-view-goto-page via timers (bug#14435).
14512 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14514 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14515 (doc-view-desktop-save-buffer): New function.
14516 (doc-view-restore-desktop-buffer): New function.
14517 (desktop-buffer-mode-handlers):
14518 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14520 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14521 `desktop-save-buffer' function.
14523 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14525 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14526 (tramp-gvfs-file-name-handler): Raise a user error when
14527 `tramp-gvfs-enabled' is nil.
14528 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14529 Do not raise a user error when loading package. (Bug#14447)
14531 * net/xesam.el: Move to obsolete/.
14533 2013-05-24 Glenn Morris <rgm@gnu.org>
14535 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14537 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14539 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14540 (Info-find-node, Man-getpage-in-background): Declare.
14542 * mail/unrmail.el (unrmail):
14543 Replace obsolete detect-coding-with-priority.
14545 * net/socks.el (socks-split-string): Use this rather than split-string.
14546 (socks-nslookup-host): Update for above change.
14547 (dynamic-choice, s5-dynamic-choice-match)
14548 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14549 Comment out unused code.
14551 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14552 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14553 (gud-tooltip-echo-area): Make obsolete.
14554 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14556 * progmodes/js.el (js--optimize-arglist): Declare.
14558 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14560 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14561 (ediff-window-C): Declare.
14563 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14564 Tweak requires to silence compiler.
14566 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14567 (he-search-string, he-tried-table, he-expand-list)
14568 (he-init-string, he-string-member, he-substitute-string)
14569 (he-reset-string): Declare.
14571 * obsolete/options.el (list-options): Use custom-variable-p,
14572 rather than obsolete alias.
14574 2013-05-23 Sam Steingold <sds@gnu.org>
14576 * simple.el (shell-command-on-region): Pass the `replace' argument
14577 down to `call-process-region' to comply with the doc as reported on
14578 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14580 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14582 * emacs-lisp/smie.el (smie-indent-forward-token)
14583 (smie-indent-backward-token): Handle string tokens (bug#14381).
14585 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14587 * ielm.el (ielm-menu): New menu.
14588 (inferior-emacs-lisp-mode): Set comment-start.
14590 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14592 * textmodes/reftex.el (reftex-ref-style-toggle):
14593 Fix deactivate action.
14595 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14596 Add cleveref macros.
14598 * textmodes/reftex-parse.el
14599 (reftex-locate-bibliography-files): Accept options for
14600 bibliography commands.
14601 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14602 Add addbibresource. Basic Biblatex support.
14604 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14606 * net/tramp-gvfs.el (top):
14607 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14608 when loading package. (Bug#14447)
14610 2013-05-23 Glenn Morris <rgm@gnu.org>
14612 * progmodes/js.el: No need to load comint when compiling.
14613 (ring-insert, comint-send-string, comint-send-input)
14614 (comint-last-input-end, ido-chop): Declare.
14616 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14617 * vc/ediff-mult.el: Adjust requires.
14618 (ediff-directories-internal, ediff-directory-revisions-internal)
14619 (ediff-patch-file-internal): Declare.
14620 * vc/ediff-ptch.el: Adjust requires.
14621 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14622 (ediff-find-file): Autoload.
14623 * vc/ediff-util.el: No need to load ediff when compiling.
14624 (ediff-regions-internal): Declare.
14625 * vc/ediff-wind.el: Adjust requires.
14626 (ediff-compute-toolbar-width): Define when compiling.
14627 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14628 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14629 (dired-get-filename, dired-get-marked-files)
14630 (ediff-last-dir-patch, ediff-patch-default-directory)
14631 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14632 (ediff-patch-buffer-internal): Declare.
14634 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14635 (ispell-process, ispell-buffer-local-words, lm-summary)
14636 (lm-section-start, lm-section-end): Declare.
14637 (checkdoc-ispell-init): Simplify.
14639 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14640 (he-string-member, he-reset-string, he-substitute-string): Declare.
14642 * eshell/em-ls.el: Adjust requires.
14643 (eshell-glob-regexp): Declare.
14644 * eshell/em-tramp.el: Adjust requires.
14645 (eshell-parse-command): Autoload.
14646 * eshell/em-xtra.el: Adjust requires.
14647 (eshell-parse-command): Autoload.
14648 * eshell/esh-ext.el: Adjust requires.
14649 (eshell-parse-command, eshell-close-handles): Autoload.
14650 * eshell/esh-io.el: Adjust requires.
14651 (eshell-output-filter): Autoload.
14652 * eshell/esh-util.el: No need to load tramp when compiling.
14653 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14655 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14656 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14657 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14658 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14659 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14660 * eshell/esh-opt.el, eshell/esh-proc.el:
14661 * eshell/esh-var.el: Adjust requires.
14662 * eshell/eshell.el: Do not require esh-util twice.
14663 (eshell-add-input-to-history): Declare.
14664 (eshell-command): Check history module is active before using it.
14666 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14668 2013-05-22 Leo Liu <sdl.web@gmail.com>
14670 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14672 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14674 * autorevert.el (auto-revert-notify-add-watch)
14675 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14676 it indicates changes in file modification time.
14678 2013-05-22 Glenn Morris <rgm@gnu.org>
14680 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14681 Always delete the autoloaded function from the noruntime and
14682 unresolved functions lists.
14684 * allout.el: No need to load epa, epg, overlay when compiling.
14685 (epg-context-set-passphrase-callback, epg-list-keys)
14686 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14687 (epg-key-user-id-list): Declare.
14689 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14690 (viper-set-parsing-style-toggling-macro)
14691 (viper-set-emacs-state-searchstyle-macros):
14692 Use called-interactively-p on Emacs.
14693 (viper-looking-back): Make it an obsolete alias. Update callers.
14694 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14695 Use looking-back rather than viper-looking-back.
14696 (viper-tmp-insert-at-eob, viper-enlarge-region)
14697 (viper-read-string-with-history, viper-register-to-point)
14698 (viper-append-to-register, viper-change-state-to-vi)
14699 (viper-backward-char-carefully, viper-forward-char-carefully)
14700 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14701 (viper-change-state-to-emacs): Declare.
14702 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14703 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14704 * emulation/viper-mous.el: Do not load viper-cmd.
14705 (viper-backward-char-carefully, viper-forward-char-carefully)
14706 (viper-forward-word, viper-adjust-window): Declare.
14708 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14710 * progmodes/idlw-help.el (idlwave-help-fontify):
14711 Use called-interactively-p.
14713 * term/w32console.el (w32-get-console-codepage)
14714 (w32-get-console-output-codepage): Declare.
14716 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14717 Remove unnecessary declarations.
14718 (dframe-message): Doc fix.
14720 * info.el (dframe-select-attached-frame, dframe-current-frame):
14723 * speedbar.el (speedbar-message): Make it an obsolete alias.
14724 Update all callers.
14725 (speedbar-with-attached-buffer)
14726 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14727 (speedbar-with-writable): Use backquote.
14728 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14729 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14730 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14731 rather than speedbar- aliases.
14732 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14733 (speedbar-make-specialized-keymap, speedbar-insert-button)
14734 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14735 (speedbar-do-function-pointer): Declare.
14736 (rmail-speedbar-button, rmail-speedbar-find-file)
14737 (rmail-speedbar-move-message):
14738 Use dframe-with-attached-buffer rather than speedbar- alias.
14739 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14740 (dframe-message, speedbar-make-specialized-keymap)
14741 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14742 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14743 (speedbar-insert-button, dframe-select-attached-frame)
14744 (dframe-maybee-jump-to-attached-frame)
14745 (speedbar-change-initial-expansion-list)
14746 (speedbar-previously-used-expansion-list-name): Declare.
14747 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14748 Use dframe-message, dframe-with-attached-buffer rather than
14750 (gud-sentinel): Silence compiler.
14751 * progmodes/vhdl-mode.el (speedbar-refresh)
14752 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14753 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14754 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14755 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14756 (speedbar-file-lists, speedbar-make-tag-line)
14757 (speedbar-line-directory, speedbar-goto-this-file)
14758 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14759 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14760 (speedbar-make-button, speedbar-reset-scanners)
14761 (speedbar-files-item-info, speedbar-line-text)
14762 (speedbar-find-file-in-frame, speedbar-set-timer)
14763 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14764 (speedbar-with-writable): Do not (re)define it.
14765 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14766 rather than speedbar- alias.
14768 2013-05-21 Leo Liu <sdl.web@gmail.com>
14770 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14772 (octave-mode): Tweak fill-nobreak-predicate.
14773 (inferior-octave-startup): Check process to avoid infinite loop.
14774 (inferior-octave): Pop to buffer first to show abornmal process
14777 2013-05-21 Glenn Morris <rgm@gnu.org>
14779 * printing.el (pr-menu-bar): Define when compiling.
14781 2013-05-21 Leo Liu <sdl.web@gmail.com>
14783 * progmodes/octave.el (octave-auto-fill): Remove.
14784 (octave-indent-new-comment-line): Improve.
14785 (octave-mode): Use auto fill mode through
14786 comment-line-break-function and fill-nobreak-predicate.
14787 (octave-goto-function-definition): Support DEFUN_DLD.
14788 (octave-beginning-of-defun): Small tweak.
14789 (octave-help): Show parent directory.
14791 2013-05-21 Glenn Morris <rgm@gnu.org>
14793 * files.el (dired-unmark):
14794 * progmodes/gud.el (gdb-input): Update declarations.
14796 * calculator.el (electric, ehelp): No need to load when compiling.
14797 (Electric-command-loop, electric-describe-mode): Declare.
14799 * doc-view.el (doc-view-current-converter-processes): Move before use.
14801 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14802 Move MODE-set-explicitly definition before use.
14804 * international/mule-diag.el (mule-diag):
14805 Don't use obsolete window-system-version.
14807 * mail/feedmail.el (smtpmail): No need to load when compiling.
14808 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14810 * mail/mail-utils.el (rfc822): No need to load when compiling.
14811 (rfc822-addresses): Autoload it.
14812 (mail-strip-quoted-names): Trivial simplification.
14814 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14815 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14817 * net/snmp-mode.el (tempo): Don't duplicate requires.
14819 * progmodes/prolog.el (info): No need to load when compiling.
14820 (comint): Require before shell requires it.
14821 (Info-goto-node): Autoload it.
14822 (Info-follow-nearest-node): Declare.
14823 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14825 * textmodes/artist.el (picture-mode-exit): Declare.
14827 * textmodes/reftex-parse.el (reftex-parse-from-file):
14828 Trivial rewrite so the compiler can parse it better.
14830 2013-05-20 Leo Liu <sdl.web@gmail.com>
14832 * progmodes/octave.el (octave-help-mode-map)
14833 (octave-help-mode-finish-hook): New variables.
14834 (octave-help-mode, octave-help-mode-finish): New functions.
14835 (octave-help): Use octave-help-mode.
14837 2013-05-20 Glenn Morris <rgm@gnu.org>
14839 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14841 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14843 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14844 start at point, so that expansion starting right after opening
14845 slash in a regexp is recognized.
14846 (ruby-syntax-before-regexp-re): New defvar, extracted from
14847 ruby-syntax-propertize-function. Since the value of this regexp
14848 is looked up at runtime now, we should be able to turn
14849 `ruby-syntax-methods-before-regexp' into a defcustom later.
14850 (ruby-syntax-propertize-function): Split regexp matching into two
14851 parts, for opening and closing slashes. That allows us to skip
14852 over string interpolations and support multiline regexps.
14853 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14854 for them, which calls `ruby-syntax-propertize-expansion'.
14855 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14856 call to `ruby-syntax-propertize-function'.
14857 (ruby-syntax-propertize-expansion): Extracted from
14858 `ruby-syntax-propertize-expansions'. Handles one expansion.
14859 (ruby-syntax-propertize-percent-literal): Leave point right after
14860 the percent symbol, so that the expression expansion rule can
14861 propertize the contents.
14862 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14864 (ruby-syntax-propertize-expansions): Remove.
14866 2013-05-18 Juri Linkov <juri@jurta.org>
14868 * man.el (Man-default-man-entry): Remove `-' from the end
14869 of the default value. (Bug#14400)
14871 2013-05-18 Glenn Morris <rgm@gnu.org>
14873 * comint.el (comint-password-prompt-regexp):
14874 Allow "password for XXX" where XXX contains colons (eg https://...).
14876 2013-05-18 Leo Liu <sdl.web@gmail.com>
14878 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14879 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14880 (octave-source-directories): Don't check process.
14881 (octave-source-directories, octave-find-definition): Doc fix.
14883 2013-05-18 Glenn Morris <rgm@gnu.org>
14885 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14886 Remove backspace/delete bindings. (Bug#14392)
14888 * cus-dep.el (custom-make-dependencies): Sort the output.
14889 (custom-versions-load-alist): Convert comment to doc.
14891 2013-05-17 Leo Liu <sdl.web@gmail.com>
14893 * newcomment.el (comment-search-backward): Stricter in finding
14894 comment start. (Bug#14303)
14896 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14897 (octave-comment-start-skip): Properly anchored.
14899 2013-05-17 Leo Liu <sdl.web@gmail.com>
14901 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14902 Clean up when turned off. (Bug#14395)
14903 (smie--highlight-matching-block-overlay): No longer buffer-local.
14904 (smie-highlight-matching-block): Adjust.
14906 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14908 Doc string fix for "nanoseconds" (Bug#14406).
14909 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14910 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14912 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14914 * calc/calc-units.el (math-extract-units): Preserve powers
14917 2013-05-17 Leo Liu <sdl.web@gmail.com>
14919 * subr.el (delete-consecutive-dups): New function.
14920 * ido.el (ido-set-matches-1): Use it.
14921 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14922 * ido.el (ido-remove-consecutive-dups): Remove.
14924 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14926 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14927 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14928 regexp-opt's `words'.
14930 2013-05-16 Leo Liu <sdl.web@gmail.com>
14932 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14933 (smie--highlight-matching-block-overlay)
14934 (smie--highlight-matching-block-lastpos)
14935 (smie--highlight-matching-block-timer): New variables.
14936 (smie-highlight-matching-block): New function.
14937 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14938 (smie-setup): Conditionally enable smie-blink-matching-open.
14940 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14942 Sync with upstream verilog-mode r840.
14943 * progmodes/verilog-mode.el (verilog-mode-version)
14944 (verilog-mode-release-date): Update.
14945 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14946 (verilog-sig-tieoff): Fix string error on
14947 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14948 (verilog-read-decls): Fix parameters confusing
14949 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14951 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14953 * subr.el (reveal-filename): New function.
14955 * loadup.el: Compute Emacs executable versions on MS-Windows,
14956 where executables have the .exe extension. Add a hard link
14957 emacs-XX.YY.ZZ.exe on MS-Windows.
14959 * Makefile.in (XARGS_LIMIT): New variable.
14960 (custom-deps, finder-data, autoloads)
14961 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14962 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14963 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14964 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14966 2013-05-16 Leo Liu <sdl.web@gmail.com>
14968 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14969 (octave-mode-menu, octave-mode-map): Remove its uses.
14971 2013-05-16 Reto Zimmermann <reto@gnu.org>
14973 Sync with upstream vhdl mode v3.34.2.
14974 * progmodes/vhdl-mode.el: Use `push' throughout.
14975 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14976 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14977 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14978 (vhdl-actual-generic-name): New option to derive actual generic name.
14979 (vhdl-port-paste-signals): Replace formal by actual generics.
14980 (vhdl-beautify): New name for old group vhdl-align. Update users.
14981 (vhdl-beautify-options): New option.
14982 (vhdl-last-input-event): New compat alias. Use throughout.
14983 (vhdl-goto-line): Replace user level function `goto-line'.
14984 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14985 vhdl-fix-statement-buffer.
14986 (vhdl-create-mode-menu): Add some entries.
14987 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14988 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14989 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14990 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14991 to force statements on one line.
14992 (vhdl-remove-trailing-spaces-region):
14993 New, split from vhdl-remove-trailing-spaces.
14994 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14995 Respect vhdl-beautify-options.
14996 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14997 (vhdl-update-sensitivity-list): Not add with index if exists without.
14998 Not include array index with signal. Ignore keywords in comments.
14999 (vhdl-get-visible-signals): Regexp tweaks.
15000 (vhdl-template-component-inst): Handle empty library.
15001 (vhdl-template-type): Add template for 'enum' type.
15002 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15003 Use vhdl-replace-string.
15004 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15005 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15006 (vhdl-speedbar-initialize): Update for above name change.
15007 (vhdl-compose-wire-components): Fix in handling of constants.
15008 (vhdl-error-regexp-emacs-alist): New variable.
15009 (vhdl-error-regexp-add-emacs): New function;
15010 adds support for new compile.el (Emacs 22+)
15011 (vhdl-generate-makefile-1): Change target order for single lib. units.
15012 Allow use of absolute file names.
15014 2013-05-16 Leo Liu <sdl.web@gmail.com>
15016 * simple.el (prog-indent-sexp): Indent enclosing defun.
15018 2013-05-15 Glenn Morris <rgm@gnu.org>
15020 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15021 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15022 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15023 (whitespace-highlight): Move to whitespace group.
15025 * comint.el (comint-source):
15026 * pcmpl-linux.el (pcmpl-linux):
15027 * shell.el (shell-faces):
15028 * eshell/esh-opt.el (eshell-opt):
15029 * international/ccl.el (ccl): Remove empty custom groups.
15031 * completion.el (dynamic-completion-mode):
15032 * jit-lock.el (jit-lock-debug-mode):
15033 * minibuffer.el (completion-in-region-mode):
15034 * type-break.el (type-break-mode-line-message-mode)
15035 (type-break-query-mode):
15036 * emulation/tpu-edt.el (tpu-edt-mode):
15037 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15038 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15039 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15041 * term/xterm.el (xterm): Change parent group to terminals.
15043 * master.el (master): Remove empty custom group.
15044 (master-mode): Remove unused :group argument.
15045 * textmodes/refill.el (refill): Remove empty custom group.
15046 (refill-mode): Remove unused :group argument.
15048 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15050 * cus-dep.el: Provide a feature.
15051 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15052 Don't mistakenly ignore files whose basenames match a basename
15053 from preloaded-file-list (eg cedet/ede/simple.el).
15054 Add a fallback method for getting :group.
15056 2013-05-15 Juri Linkov <juri@jurta.org>
15058 * isearch.el (isearch-char-by-name): Rename from
15059 `isearch-insert-char-by-name'. Doc fix.
15060 (isearch-forward): Mention `isearch-char-by-name' in
15061 the docstring. (Bug#13348)
15063 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15064 `exit-minibuffer' instead of
15065 `isearch-nonincremental-exit-minibuffer'.
15066 (isearch-edit-string): Remove mention of
15067 `isearch-nonincremental-exit-minibuffer' from docstring.
15068 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15069 (isearch-forward-exit-minibuffer)
15070 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15072 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15074 * loadup.el: Just use unversioned DOC.
15076 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15077 literals as extending to EOB.
15078 (nxml-last-fontify-end): Remove unused variable.
15079 (nxml-after-change1): Use with-silent-modifications.
15080 (nxml-extend-after-change-region): Simplify.
15081 (nxml-extend-after-change-region1): Remove function.
15082 (nxml-after-change1): Don't adjust for dependent regions.
15083 (nxml-fontify-matcher): Simplify.
15084 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15085 (xmltok-add-dependent): Remove function.
15086 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15087 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15088 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15089 unclosed <[[, <?, comment, and other literals as extending to EOB.
15090 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15091 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15093 (rng-do-some-validation-1): Don't mark dependent regions.
15094 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15095 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15096 (nxml-clear-dependent-regions): Remove functions.
15097 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15098 (nxml-ensure-scan-up-to-date):
15099 Don't clear&mark dependent regions.
15101 2013-05-15 Leo Liu <sdl.web@gmail.com>
15103 * progmodes/octave.el (octave-goto-function-definition):
15104 Improve and fix callers.
15106 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15108 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15109 the setter (bug#14387).
15111 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15112 surrounding group (bug#14402).
15114 2013-05-14 Juri Linkov <juri@jurta.org>
15116 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15119 2013-05-14 Glenn Morris <rgm@gnu.org>
15121 * progmodes/f90.el (f90-imenu-generic-expression):
15122 Fix typo in 2013-05-08 change. (Bug#14402)
15124 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15126 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15127 Remove signals for which replies are never received.
15129 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15131 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15132 (gdb-handler-alist, gdb-handler-number): Remove variables.
15133 (gdb-handler-list): New variable.
15134 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15135 (gdb-pending-handler-p, gdb-handle-reply)
15136 (gdb-remove-all-pending-triggers): New functions.
15137 (gdb-discard-unordered-replies): New defcustom.
15138 (gdb-handler): New defstruct.
15139 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15140 instead of gdb-pending-triggers. Update docstring.
15141 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15142 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15143 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15144 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15145 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15146 (gdb-frame-handler): Pending triggers are now automatically managed.
15147 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15149 (gdb-input): Automatically handles pending triggers. Update docstring.
15150 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15151 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15153 (gdb-done-or-error): Now use gdb-handle-reply.
15155 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15157 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15160 2013-05-14 Glenn Morris <rgm@gnu.org>
15162 * subr.el (user-emacs-directory-warning): New option.
15163 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15165 2013-05-14 Leo Liu <sdl.web@gmail.com>
15167 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15169 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15170 (octave-font-lock-texinfo-comment): Fix invalid search bound
15171 error: wrong side of point.
15173 2013-05-14 Glenn Morris <rgm@gnu.org>
15175 * progmodes/flymake.el (flymake-xml-program): New option.
15176 (flymake-xml-init): Use it.
15178 * term/xterm.el: Provide a feature.
15180 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15182 2013-05-13 Glenn Morris <rgm@gnu.org>
15184 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15185 Add compat aliases as a hack workaround. (Bug#14384)
15187 2013-05-13 Leo Liu <sdl.web@gmail.com>
15189 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15191 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15193 (octave-comment-start-skip): Include %!.
15194 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15196 2013-05-12 Leo Liu <sdl.web@gmail.com>
15198 * progmodes/octave.el (inferior-octave-startup): Store the value
15199 of __octave_srcdir__ for octave-source-directories.
15200 (inferior-octave-check-process): New function refactored out of
15201 inferior-octave-send-list-and-digest.
15202 (octave-source-directories)
15203 (octave-find-definition-filename-function): New variables.
15204 (octave-source-directories)
15205 (octave-find-definition-default-filename): New functions.
15206 (octave-find-definition): Improve to find functions implemented in C++.
15208 2013-05-12 Glenn Morris <rgm@gnu.org>
15210 * calendar/diary-lib.el (diary-outlook-format-1):
15211 Don't include dayname in the output. (Bug#14349)
15213 2013-05-11 Glenn Morris <rgm@gnu.org>
15215 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15217 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15218 Treat cc-provide like provide.
15220 2013-05-11 Kevin Ryde <user42@zip.com.au>
15222 * cus-dep.el (custom-make-dependencies):
15223 Use generated-autoload-load-name for the sake of files such
15224 such cedet/semantic/bovine/c.el, where the base file name
15225 is not in load-path. (Bug#5277)
15227 2013-05-11 Glenn Morris <rgm@gnu.org>
15229 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15232 2013-05-11 Leo Liu <sdl.web@gmail.com>
15234 * progmodes/octave.el (octave-indent-comment): Improve.
15235 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15236 (octave-eldoc-function-signatures, octave-eldoc-function):
15238 (octave-mode, inferior-octave-mode): Add eldoc support.
15240 2013-05-11 Richard Stallman <rms@gnu.org>
15242 * epa.el (epa-decrypt-file): Take output file name as argument
15243 and read it using `interactive'.
15245 2013-05-11 Leo Liu <sdl.web@gmail.com>
15247 * progmodes/octave.el (octave-beginning-of-line)
15248 (octave-end-of-line): Check before using up-list because it jumps
15249 out of more syntactic contructs since moving to smie.
15250 (octave-indent-comment): New function.
15251 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15252 (octave-begin-keywords, octave-end-keywords)
15253 (octave-reserved-words, octave-smie-bnf-table)
15254 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15256 2013-05-11 Glenn Morris <rgm@gnu.org>
15258 * faces.el (internal-face-x-get-resource):
15259 * frame.el (ns-display-monitor-attributes-list):
15260 * calc/calc-aent.el (math-to-radians-2):
15261 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15264 * calc/calc-menu.el: Make it loadable in isolation.
15266 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15267 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15268 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15269 (eudc-bbdb-query-internal): Require 'bbdb.
15271 * lpr.el (lpr-headers-switches):
15272 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15274 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15276 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15278 * term.el (term-set-escape-char): Make it idempotent.
15280 2013-05-10 Leo Liu <sdl.web@gmail.com>
15282 * progmodes/octave.el (inferior-octave-completion-table):
15283 No longer a function and all uses changed. Use cache to speed up
15284 completion due to bug#11906.
15285 (octave-beginning-of-defun): Re-write to be more general.
15287 2013-05-10 Glenn Morris <rgm@gnu.org>
15289 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15291 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15293 * comint.el (comint-redirect-send-command-to-process): Use :around
15294 rather than :override for comint-redirect-filter.
15295 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15296 Call it instead of comint-redirect-original-filter-function (which
15297 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15299 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15301 * frame.el (display-monitor-attributes-list): Add NS case.
15302 (ns-display-monitor-attributes-list): Declare.
15304 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15306 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15308 2013-05-09 Glenn Morris <rgm@gnu.org>
15310 * international/fontset.el (vertical-centering-font-regexp):
15311 Set standard-value.
15313 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15315 * bookmark.el (bookmark-search-delay):
15316 * cus-start.el (vertical-centering-font-regexp):
15317 * ps-mule.el (ps-mule-font-info-database-default):
15318 * ps-print.el (ps-default-fg, ps-default-bg):
15319 * type-break.el (type-break-good-break-interval):
15320 * whitespace.el (whitespace-indentation-regexp)
15321 (whitespace-space-after-tab-regexp):
15322 * emacs-lisp/testcover.el (testcover-1value-functions)
15323 (testcover-noreturn-functions, testcover-progn-functions)
15324 (testcover-prog1-functions):
15325 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15326 * eshell/em-glob.el (eshell-glob-translate-alist):
15327 * play/tetris.el (tetris-tty-colors):
15328 * progmodes/cpp.el (cpp-face-default-list):
15329 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15330 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15331 (idlwave-help-browser-generic-args):
15332 * progmodes/make-mode.el (makefile-special-targets-list):
15333 * progmodes/python.el (python-shell-virtualenv-path):
15334 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15335 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15336 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15337 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15338 * textmodes/reftex-vars.el (reftex-format-label-function):
15339 * textmodes/remember.el (remember-diary-file): Fix custom types.
15341 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15344 2013-05-09 Leo Liu <sdl.web@gmail.com>
15346 * progmodes/octave.el (inferior-octave-completion-at-point):
15347 Restore file completion. (Bug#14300)
15348 (inferior-octave-startup): Fix incorrect highlighting for the
15351 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15353 * progmodes/ruby-mode.el: First cut at SMIE support.
15354 (ruby-use-smie): New var.
15355 (ruby-smie-grammar): New constant.
15356 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15357 (ruby-smie--forward-token, ruby-smie--backward-token)
15358 (ruby-smie-rules): New functions.
15359 (ruby-mode-variables): Setup SMIE if applicable.
15361 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15363 * simple.el (line-move-visual): Signal beginning/end of buffer
15364 only if vertical-motion moved less than it was requested. Avoids
15365 silly incorrect error messages when there are display strings with
15366 multiple newlines at EOL.
15368 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15370 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15371 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15372 (prolog-char-quote-workaround):
15373 * progmodes/cperl-mode.el (cperl-under-as-char):
15374 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15376 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15378 (vhdl-mode-syntax-table-init): Remove.
15380 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15383 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15385 (ld-script-font-lock-keywords):
15386 Change regexps to use things like \_< and \_>.
15388 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15389 Change all regexps to use things like \_< and \_>.
15391 * progmodes/autoconf.el (autoconf-definition-regexp)
15392 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15393 Handle a _ with symbol syntax.
15394 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15396 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15397 Consolidate declaration.
15398 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15400 (ada-create-syntax-table): Remove.
15401 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15402 already has the right syntax nowadays.
15403 (ada-goto-next-word): Don't change the syntax of "_".
15405 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15408 2013-05-08 Sam Steingold <sds@gnu.org>
15410 * thingatpt.el (thing-at-point): Accept optional second argument
15411 NO-PROPERTIES to strip the text properties from the return value.
15412 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15413 to `thing-at-point' instead of stripping the properties ourselves.
15414 Also, when `thing-at-point' fails to find a url, prepend "http://"
15415 to the filename at point on the assumption that the user is
15416 pointing at something like gnu.org/gnu.
15418 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15420 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15421 * faces.el (crm-separator):
15422 Silence byte-compiler.
15424 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15425 (tool-bar-map): Remove unneeded defvars.
15427 2013-05-08 Leo Liu <sdl.web@gmail.com>
15429 Re-work a fix for bug#10994 based on Le Wang's patch.
15430 * ido.el (ido-remove-consecutive-dups): New helper.
15431 (ido-completing-read): Use it.
15432 (ido-chop): Revert fix for bug#10994.
15434 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15436 * cus-edit.el (custom-save-variables):
15437 Pretty-print long values. (Bug#14187)
15439 2013-05-08 Glenn Morris <rgm@gnu.org>
15441 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15442 (m4-mode-syntax-table): Init in the defvar.
15443 (m4-mode-abbrev-table): Let define-derived-mode define it.
15445 2013-05-08 Tom Tromey <tromey@redhat.com>
15447 * progmodes/m4-mode.el (m4-mode-syntax-table):
15448 Do not treat "_" as word constituent. (Bug#14167)
15450 2013-05-07 Glenn Morris <rgm@gnu.org>
15452 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15453 Remove explicit eshell-isearch-cancel-map.
15455 * progmodes/f90.el (f90-smart-end-names): New option.
15456 (f90-smart-end): Doc fix.
15457 (f90-end-block-optional-name): New constant.
15458 (f90-block-match): Respect f90-smart-end-names.
15460 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15462 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15463 about implicit semi-colons (bug#14218).
15465 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15467 * frame.el (display-monitor-attributes-list)
15468 (frame-monitor-attributes): New functions.
15470 2013-05-06 Leo Liu <sdl.web@gmail.com>
15472 * progmodes/octave.el (octave-syntax-propertize-function): Change
15473 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15474 (octave-font-lock-keywords): Use octave-operator-regexp.
15475 (octave-completion-at-point): Rename from
15476 octave-completion-at-point-function.
15477 (inferior-octave-directory-tracker): Robustify.
15478 (octave-text-functions): Remove and fix its uses. No such things
15481 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15483 * emacs-lisp/trace.el (trace--display-buffer): New function.
15484 (trace-make-advice): Use it.
15486 2013-05-06 Juri Linkov <juri@jurta.org>
15488 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15489 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15491 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15492 in the help string. (Bug#12985)
15494 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15496 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15498 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15500 * progmodes/perl-mode.el: Add support for here documents.
15501 (perl-syntax-propertize-function): Match here-doc markers.
15502 (perl-syntax-propertize-special-constructs): Find their end.
15503 (perl-imenu-generic-expression): Use [:alnum:].
15505 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15506 (advice--add-function): Refresh the advice if already present
15509 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15511 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15513 2013-05-06 Glenn Morris <rgm@gnu.org>
15515 * w32-fns.el (w32-charset-info-alist): Declare.
15517 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15518 of its defcustom properties.
15519 (eshell-cmpl-initialize): No need to load pcomplete.
15521 * generic-x.el: No need to require comint when compiling.
15523 * net/eudc-export.el: Make it loadable without bbdb.
15524 (top-level): Use require rather than load-library.
15525 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15526 (eudc-batch-export-records-to-bbdb)
15527 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15530 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15532 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15533 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15534 some tweaks, instead.
15536 2013-05-05 Leo Liu <sdl.web@gmail.com>
15538 * progmodes/octave.el (octave-font-lock-keywords)
15539 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15540 (inferior-octave-send-list-and-digest): Improve error message.
15541 (octave-mode, inferior-octave-mode): Use setq-local.
15542 (octave-help): Set info-lookup-mode.
15544 2013-05-05 Richard Stallman <rms@gnu.org>
15546 * vc/compare-w.el (compare-windows-whitespace):
15547 Treat no-break space as whitespace.
15549 * mail/rmailsum.el (rmail-summary-rmail-update):
15550 Detect empty summary and don't change selected message.
15551 (rmail-summary-goto-msg): Likewise.
15553 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15554 Doc fixes, rename args.
15556 2013-05-05 Alan Mackenzie <acm@muc.de>
15558 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15560 2013-05-05 Juri Linkov <juri@jurta.org>
15562 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15563 to not add the length of the summary segment to the return value.
15566 2013-05-05 Leo Liu <sdl.web@gmail.com>
15568 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15569 (inferior-octave-output-filter): Remove.
15570 (octave-send-region, inferior-octave-startup): Fix callers.
15571 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15572 (octave-binary-file-extensions): New user variable.
15573 (octave-find-definition): Confirm if opening binary files.
15574 (octave-help-file): Use octave-find-definition to get the binary
15576 (octave-help): Adjust for octave-help-file change.
15578 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15580 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15581 Merge the two entries that handle function definitions.
15582 (pascal--syntax-propertize): New const.
15583 (pascal-mode): Use it. Use setq-local.
15585 2013-05-04 Glenn Morris <rgm@gnu.org>
15587 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15588 (diary-from-outlook): Respect diary-from-outlook-function.
15590 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15592 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15593 Move the declaration from C.
15594 (read-minibuffer, eval-minibuffer): Move from C.
15595 (completion-setup-function): Avoid minibuffer-completion-contents.
15597 2013-05-03 Leo Liu <sdl.web@gmail.com>
15599 * progmodes/octave.el (octave-font-lock-keywords): Do not
15600 dehighlight 'end' in comments or strings.
15601 (octave-completing-read, octave-goto-function-definition):
15603 (octave-help-buffer): New user variable.
15604 (octave-help-file, octave-help-function): New button types.
15605 (octave-help): New command and bind it to C-h ;.
15606 (octave-find-definition): New command and bind it to M-.
15607 (user-error): Alias to error if not defined.
15609 2013-05-02 Leo Liu <sdl.web@gmail.com>
15611 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15613 (octave-font-lock-keywords): Include [ and {.
15615 2013-05-02 Leo Liu <sdl.web@gmail.com>
15617 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15618 (inferior-octave): Remove calling comint-mode and return the buffer.
15619 (inferior-octave-startup): Cosmetic changes.
15621 2013-05-02 Leo Liu <sdl.web@gmail.com>
15623 * progmodes/octave.el (octave-syntax-propertize-function):
15624 Include the case when ' is at line beginning. (Bug#14336)
15626 2013-05-02 Glenn Morris <rgm@gnu.org>
15628 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15629 * desktop.el (vc-dir-mode): Just autoload it here.
15631 2013-05-02 Alan Mackenzie <acm@muc.de>
15633 Eliminate variable c-standard-font-lock-fontify-region-function.
15634 * progmodes/cc-mode.el
15635 (c-standard-font-lock-fontify-region-function): Remove.
15636 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15638 2013-05-01 Leo Liu <sdl.web@gmail.com>
15640 * progmodes/octave.el: Compatible with older emacs-24 releases.
15641 (inferior-octave-has-built-in-variables): Remove. Built-in
15642 variables were removed from Octave in 2007.
15643 (inferior-octave-startup): Fix uses.
15644 (comint-line-beginning-position): Remove compatibility code for
15647 2013-05-01 Juri Linkov <juri@jurta.org>
15649 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15651 2013-05-01 Juri Linkov <juri@jurta.org>
15653 * comint.el (comint-previous-matching-input): Don't print message
15654 "History item: %d" when `isearch-mode' is active.
15655 (comint-history-isearch-message): Print message "History item: %d"
15656 when `comint-input-ring-index' is not empty and this function is
15657 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15659 2013-05-01 Leo Liu <sdl.web@gmail.com>
15661 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15662 definitions. Use completion-at-point to insert keywords.
15663 (octave-abbrev-start): Remove.
15664 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15666 2013-04-30 Leo Liu <sdl.web@gmail.com>
15668 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15671 2013-04-30 Alan Mackenzie <acm@muc.de>
15673 Handle arbitrarily long C++ member initialisation lists.
15674 * progmodes/cc-engine.el (c-back-over-member-initializers):
15676 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15677 (most) member init lists.
15679 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15681 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15684 2013-04-30 Leo Liu <sdl.web@gmail.com>
15686 * progmodes/octave.el (octave-variables): Remove. No builtin
15687 variables any more. All converted to functions.
15688 (octave-font-lock-keywords, octave-completion-at-point-function):
15690 (octave-font-lock-texinfo-comment): New user variable.
15691 (octave-texinfo-font-lock-keywords): New variable for texinfo
15693 (octave-function-comment-block): New face.
15694 (octave-font-lock-texinfo-comment): New function.
15695 (octave-mode): Font lock texinfo comment block.
15697 2013-04-29 Leo Liu <sdl.web@gmail.com>
15699 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15700 indexing expression.
15701 (octave-continuation-string): Do not use \.
15702 (inferior-octave-complete-impossible): Remove.
15703 (inferior-octave-completion-table)
15704 (inferior-octave-completion-at-point): Remove its uses.
15705 (inferior-octave-startup): completion_matches was introduced to
15706 Octave in 1996 so safe to assume it.
15707 (octave-function-file-comment): Improve to follow how Octave does it.
15708 (octave-update-function-file-comment): Tweak.
15710 2013-04-29 Leo Liu <sdl.web@gmail.com>
15712 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15713 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15714 (octave-function-file-comment): Fix typo.
15715 (octave-sync-function-file-names): Use read-char-choice.
15717 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15719 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15720 to t for the less important warnings.
15722 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15724 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15726 2013-04-27 Glenn Morris <rgm@gnu.org>
15728 * vc/log-view.el (log-view-current-entry):
15729 Treat "---" separator lines as part of the following rev. (Bug#14169)
15731 2013-04-27 Juri Linkov <juri@jurta.org>
15733 * subr.el (read-number): Doc fix about using it by interactive
15734 code letter `n'. (Bug#14254)
15736 2013-04-27 Juri Linkov <juri@jurta.org>
15738 * desktop.el (desktop-auto-save-timeout): New option.
15739 (desktop-file-checksum): New variable.
15740 (desktop-save): Add optional arg `auto-save' and don't auto-save
15741 if nothing changed.
15742 (desktop-auto-save-timer): New variable.
15743 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15744 (after-init-hook): Call `desktop-auto-save-set-timer'.
15745 Suggested by Reuben Thomas <rrt@sc3d.org> in
15746 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15748 2013-04-27 Leo Liu <sdl.web@gmail.com>
15750 * progmodes/octave.el (octave-function-file-p)
15751 (octave-skip-comment-forward, octave-function-file-comment)
15752 (octave-update-function-file-comment): New functions.
15753 (octave-mode-map): Bind C-c ; to
15754 octave-update-function-file-comment.
15755 (octave-mode-menu): Add octave-update-function-file-comment.
15756 (octave-mode, inferior-octave-mode): Fix doc-string.
15757 (octave-insert-defun): Conform to Octave's coding convention.
15760 * files.el (basic-save-buffer): Don't let errors in
15761 before-save-hook prevent saving buffer.
15763 2013-04-20 Roland Winkler <winkler@gnu.org>
15765 * faces.el (read-face-name): Use completing-read if arg multiple
15768 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15770 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15771 displayed, move point to after the totals line.
15772 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15775 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15777 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15778 Add current dir to the load-path.
15779 (package-generate-autoloads): Don't rely on
15780 autoload-ensure-default-file.
15782 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15784 * textmodes/remember.el (remember-store-in-files): Document that
15785 the file name format is passed to `format-time-string'.
15787 2013-04-26 Leo Liu <sdl.web@gmail.com>
15789 * progmodes/octave.el (octave-sync-function-file-names): New function.
15790 (octave-mode): Use it in before-save-hook.
15792 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15794 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15797 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15798 \n and comment, even if it's not an implicit ; (bug#14218).
15800 2013-04-26 Glenn Morris <rgm@gnu.org>
15802 * subr.el (read-number): Once more use `read' rather than
15803 `string-to-number', to trap non-numeric input. (Bug#14254)
15805 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15807 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15808 Use `syntax-multiline' text property consistently instead of
15809 `font-lock-multiline'. (Bug#14237)
15811 2013-04-26 Glenn Morris <rgm@gnu.org>
15813 * emacs-lisp/shadow.el (list-load-path-shadows):
15814 No longer necessary to check for duplicate simple.el, since
15815 2012-07-07 change to init_lread to not include installation lisp
15816 directories in load-path when running uninstalled. (Bug#14270)
15818 2013-04-26 Leo Liu <sdl.web@gmail.com>
15820 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15821 (octave-mode, inferior-octave-mode): Use setq-local.
15822 (octave-not-in-string-or-comment-p): Rename to
15823 octave-in-string-or-comment-p.
15824 (octave-in-comment-p, octave-in-string-p)
15825 (octave-in-string-or-comment-p): Replace defsubst with defun.
15827 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15829 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15831 2013-04-25 Bastien Guerry <bzg@gnu.org>
15833 * textmodes/remember.el (remember-data-directory)
15834 (remember-directory-file-name-format): Fix custom types.
15836 2013-04-25 Leo Liu <sdl.web@gmail.com>
15838 * progmodes/octave.el (octave-completion-at-point-function):
15839 Make use of inferior octave process.
15840 (octave-initialize-completions): Remove.
15841 (inferior-octave-completion-table): New function.
15842 (inferior-octave-completion-at-point): Use it.
15843 (octave-completion-alist): Remove.
15845 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15847 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15848 (opascal-mode-syntax-table): New var.
15849 (opascal-literal-kind, opascal-is-literal-end)
15850 (opascal-literal-token-at): Rewrite.
15851 (opascal--literal-start-re, opascal-font-lock-keywords)
15852 (opascal--syntax-propertize): New constants.
15853 (opascal-font-lock-defaults): Adjust.
15854 (opascal-mode): Use them. Set comment-<foo> variables as well.
15855 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15856 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15857 (delphi-other-face, opascal-other-face): Remove face variables.
15858 (opascal-save-state): Remove macro.
15859 (opascal-fontifying-progress-step): Remove constant.
15860 (opascal--ignore-changes): Remove var.
15861 (opascal-set-token-property, opascal-parse-next-literal)
15862 (opascal-is-stable-literal, opascal-complete-literal)
15863 (opascal-is-literal-start, opascal-face-of)
15864 (opascal-parse-region, opascal-parse-region-until-stable)
15865 (opascal-fontify-region, opascal-after-change)
15866 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15867 (opascal-debug-parse-region, opascal-debug-parse-window)
15868 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15869 (opascal-debug-fontify-buffer): Remove.
15870 (opascal-debug-mode-map): Adjust accordingly.
15872 2013-04-25 Leo Liu <sdl.web@gmail.com>
15874 Merge octave-mod.el and octave-inf.el into octave.el with some
15876 * progmodes/octave.el: New file renamed from octave-mod.el.
15877 * progmodes/octave-inf.el: Merged into octave.el.
15878 * progmodes/octave-mod.el: Renamed to octave.el.
15880 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15882 * textmodes/reftex-vars.el
15883 (reftex-label-ignored-macros-and-environments): New defcustom.
15885 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15887 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15889 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15890 (smie-indent-keyword): Improve the check to ensure that the next
15891 comment is really on the same line.
15892 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15894 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15895 semi-colons if the line is not otherwise empty (bug#14218).
15897 2013-04-25 Glenn Morris <rgm@gnu.org>
15899 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15901 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15903 * progmodes/opascal.el (opascal-set-token-property): Rename from
15904 opascal-set-text-properties and only set `token' (bug#14134).
15905 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15906 (opascal-literal-text-properties): Remove.
15907 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15910 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15912 * textmodes/remember.el (remember-handler-functions): Add an
15913 option for a new handler `remember-store-in-files'.
15914 (remember-data-directory, remember-directory-file-name-format):
15916 (remember-store-in-files): New function to store remember notes
15917 as separate files within a directory.
15919 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15921 * progmodes/compile.el (compilation-next-error-function):
15922 Pass "formats" to compilation-find-file (bug#11777).
15924 2013-04-24 Glenn Morris <rgm@gnu.org>
15926 * vc/vc-bzr.el (vc-bzr-print-log):
15927 * vc/vc-hg.el (vc-hg-print-log):
15928 * vc/vc-svn.el (vc-svn-print-log):
15929 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15931 * vc/vc-bzr.el (vc-bzr-print-log):
15932 * vc/vc-cvs.el (vc-cvs-print-log):
15933 * vc/vc-git.el (vc-git-print-log):
15934 * vc/vc-hg.el (vc-hg-print-log):
15935 * vc/vc-mtn.el (vc-mtn-print-log):
15936 * vc/vc-rcs.el (vc-rcs-print-log):
15937 * vc/vc-sccs.el (vc-sccs-print-log):
15938 * vc/vc-svn.el (vc-svn-print-log):
15939 * vc/vc.el (vc-print-log-internal): Doc fixes.
15941 2013-04-23 Glenn Morris <rgm@gnu.org>
15943 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15944 Remove venerable code attempting to avoid substitute-command-keys.
15946 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15948 * textmodes/reftex-vars.el (reftex-label-regexps):
15949 Call `reftex-compile-variables' after changes to this variable.
15951 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15953 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15954 Use lexical-binding.
15955 (jit-lock-force-redisplay): Use markers, check buffer's continued
15956 existence and beware narrowed buffers.
15957 (jit-lock-fontify-now): Adjust call accordingly.
15959 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15961 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15962 to avoid misleading the user.
15964 2013-04-22 Leo Liu <sdl.web@gmail.com>
15966 * info-look.el: Prefer latex2e.info. (Bug#14240)
15968 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15970 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15972 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15973 * net/tramp.el (tramp-call-process): ... here.
15974 (tramp-set-completion-function, tramp-parse-putty):
15975 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15976 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15977 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15978 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15979 (tramp-call-local-coding-command): Use `tramp-call-process'
15980 instead of `tramp-compat-call-process'.
15982 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15983 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15984 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15985 (tramp-find-inline-compress): Improve traces.
15986 (tramp-maybe-send-script): Check for Perl binary.
15987 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15989 2013-04-22 Daiki Ueno <ueno@gnu.org>
15991 * epg.el (epg-context-pinentry-mode): New function.
15992 (epg-context-set-pinentry-mode): New function.
15993 (epg--start): Pass --pinentry-mode option to gpg command.
15995 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15997 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15998 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15999 `completion-at-point'. (Bug#13774)
16001 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16002 default key binding for `describe-distribution' has been moved to
16003 `C-h C-o'. (Bug#13970)
16005 2013-04-21 Glenn Morris <rgm@gnu.org>
16007 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16009 (vc-print-log): Clarify interactive prompt.
16011 2013-04-20 Glenn Morris <rgm@gnu.org>
16013 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16014 No longer include timestamp etc information.
16016 2013-04-20 Roland Winkler <winkler@gnu.org>
16018 * faces.el (read-face-name): Bug fix, return just one face if arg
16019 multiple is nil. (Bug#14209)
16021 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16023 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16024 (remove-function): Autoload.
16026 * comint.el (comint-redirect-original-filter-function): Remove.
16027 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16028 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16029 (vc-cvs-annotate-command):
16030 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16031 * progmodes/prolog.el (prolog-consult-compile):
16032 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16033 Use add/remove-function instead.
16034 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16035 (gud-tooltip-process-output, gud-tooltip-tips):
16036 Use add/remove-function instead.
16037 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16038 (scheme-interaction-mode, exit-scheme-interaction-mode):
16039 Use add/remove-function instead.
16041 * vc/vc-dispatcher.el: Use lexical-binding.
16042 (vc--process-sentinel): Rename from vc-process-sentinel.
16043 Change last arg to be the code to run. Don't use vc-previous-sentinel
16044 and vc-sentinel-commands any more.
16045 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16046 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16048 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16050 * progmodes/sh-script.el (sh-imenu-generic-expression):
16051 Handle function names with a single character. (Bug#14111)
16053 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16055 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16056 for subroutines defined in an eval (bug#14182).
16058 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16060 * bookmark.el (bookmark-completing-read): Improve handling of empty
16061 string (bug#14176).
16063 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16065 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16067 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16069 New faster Imenu implementation (bug#14058).
16070 * progmodes/python.el:
16071 (python-imenu-prev-index-position):
16072 (python-imenu-format-item-label-function)
16073 (python-imenu-format-parent-item-label-function)
16074 (python-imenu-format-parent-item-jump-label-function):
16076 (python-imenu-format-item-label)
16077 (python-imenu-format-parent-item-label)
16078 (python-imenu-format-parent-item-jump-label)
16079 (python-imenu--put-parent, python-imenu--build-tree)
16080 (python-imenu-create-index, python-imenu-create-flat-index)
16081 (python-util-popn): New functions.
16082 (python-mode): Set imenu-create-index-function to
16083 python-imenu-create-index.
16085 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16087 * winner.el (winner-active-region): Use region-active-p, activate-mark
16088 and deactivate-mark (bug#14225).
16090 * simple.el (deactivate-mark): Don't inline it.
16092 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16094 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16096 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16098 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16099 file extensions from the archive-mode entry in order to prefer
16100 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16102 2013-04-18 Leo Liu <sdl.web@gmail.com>
16104 * bindings.el (help-event-list): Add ?\?.
16106 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16108 * subr.el (with-wrapper-hook): Declare obsolete.
16109 * simple.el (filter-buffer-substring-function): New hook.
16110 (filter-buffer-substring): Use it.
16111 (filter-buffer-substring-functions): Mark obsolete.
16112 * minibuffer.el (completion-in-region-function): New hook.
16113 (completion-in-region): Use it.
16114 (completion-in-region-functions): Mark obsolete.
16115 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16116 * abbrev.el (abbrev-expand-function): New hook.
16117 (expand-abbrev): Use it.
16118 (abbrev-expand-functions): Mark obsolete.
16119 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16120 and :filter-return.
16122 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16124 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16125 and do not care about match data.
16127 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16129 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16130 completion tables when completing error conditions and
16131 `declare' arguments.
16132 (lisp-complete-symbol, field-complete): Mark as obsolete.
16133 (check-parens): Unmatched parens are user errors.
16134 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16136 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16138 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16139 command changed buffer (ie. `flyspell-pre-buffer' is not current
16140 buffer), which prevents making decisions based on invalid value of
16141 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16142 cause an error when `flyspell-pre-point' was nil after switching
16144 (flyspell-post-command-hook): No longer needs to change buffers when
16145 checking pre-word. While at it remove unnecessary progn.
16147 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16149 * textmodes/ispell.el (ispell-add-per-file-word-list):
16150 Fix `flyspell-correct-word-before-point' error when accepting
16151 words and `coment-padding' is an integer by using
16152 `comment-normalize-vars' (Bug #14214).
16154 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16156 New defun movement commands.
16157 * progmodes/python.el (python-nav--syntactically)
16158 (python-nav--forward-defun, python-nav-backward-defun)
16159 (python-nav-forward-defun): New functions.
16161 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16163 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16164 (python-syntax-context): Use named compiler-macro for backwards
16165 compatibility with Emacs 24.x.
16167 2013-04-17 Leo Liu <sdl.web@gmail.com>
16169 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16170 octave-hide-process-buffer.
16172 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16174 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16177 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16179 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16180 Fix adjustment of offset when receiving incomplete responses from GDB
16183 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16185 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16186 python-mode-abbrev-table.
16187 (python-skeleton-define): Adjust accordingly.
16188 (python-mode-abbrev-table): New table that inherits from it so that
16189 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16191 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16192 (abbrev-symbol): Use it.
16193 (abbrev--before-point): Use it since we already handle inheritance.
16195 2013-04-16 Leo Liu <sdl.web@gmail.com>
16197 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16198 binding to info-lookup-symbol.
16200 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16202 * minibuffer.el (completion--twq-all):
16203 * term/ns-win.el (ns-initialize-window-system):
16204 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16206 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16208 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16211 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16213 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16215 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16216 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16218 (ruby-end-of-defun): Remove the unused arg, change the docstring
16219 to reflect that this function is only used as the value of
16220 `end-of-defun-function'.
16221 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16222 to reflect an earlier change that beginning/end-of-defun functions
16223 jump between methods in a class definition, as well as top-level
16226 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16228 * minibuffer.el (minibuffer-complete): Don't just scroll
16229 a *Completions* that's been iconified.
16230 (minibuffer-force-complete): Make sure repetitions do cycle when going
16231 through completion-in-region -> minibuffer-complete.
16233 2013-04-15 Alan Mackenzie <acm@muc.de>
16235 Correct the placement of c-cpp-delimiters when there're #s not at
16238 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16239 place a submatch around the #.
16240 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16241 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16244 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16246 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16247 (advice--member-p): New arg `name'.
16248 (advice--add-function, advice-member-p): Use it (bug#14202).
16250 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16252 Reformulate java imenu-generic-expression.
16253 The old expression contained ill formed regexps.
16255 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16256 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16257 (cc-imenu-java-method-arg-regexp): New defconsts.
16258 (cc-imenu-java-build-type-args-regex): New defun.
16259 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16260 handling of spaces in the regexp.
16262 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16264 * textmodes/ispell.el (ispell-command-loop): Remove
16265 flyspell highlight of a word when ispell accepts it (bug #14178).
16267 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16269 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16270 uses code from the previous `ange-ftp-run-real-handler'.
16271 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16272 only in case that function exist. This is needed for proper
16273 unloading of Tramp.
16275 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16277 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16279 * textmodes/reftex.el (reftex-compile-variables): Use it.
16281 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16283 * files.el (normal-mode): Only use default major-mode if no other mode
16286 * emacs-lisp/trace.el (trace-values): New function.
16288 * files.el: Allow : in local variables (bug#14089).
16289 (hack-local-variable-regexp): New var.
16290 (hack-local-variables-prop-line, hack-local-variables): Use it.
16292 2013-04-13 Roland Winkler <winkler@gnu.org>
16294 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16295 data before it gets modified by bibtex-beginning-of-entry.
16297 2013-04-13 Roland Winkler <winkler@gnu.org>
16299 * textmodes/bibtex.el (bibtex-url): Doc fix.
16301 2013-04-13 Roland Winkler <winkler@gnu.org>
16303 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16304 does not visit a BibTeX file, exclude it from the list of buffers
16305 returned by bibtex-initialize.
16307 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16309 * window.el (split-window): Remove interactive form, since as a
16310 command this function is a special case of split-window-below.
16311 Correct doc string.
16313 2013-04-12 Roland Winkler <winkler@gnu.org>
16315 * faces.el (read-face-name): Do not override value of arg default.
16316 Allow single faces and strings as default values. Remove those
16317 elements from return value that are not faces.
16318 (describe-face): Simplify.
16319 (face-at-point): New optional args thing and multiple so that this
16320 function can provide the same functionality previously provided by
16322 (make-face-bold, make-face-unbold, make-face-italic)
16323 (make-face-unitalic, make-face-bold-italic, invert-face)
16324 (modify-face, read-face-and-attribute): Use face-at-point.
16326 * cus-edit.el (customize-face, customize-face-other-window)
16327 * cus-theme.el (custom-theme-add-face)
16328 * face-remap.el (buffer-face-set)
16329 * facemenu.el (facemenu-set-face): Use face-at-point.
16331 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16333 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16335 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16337 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16338 off leading { and trailing } from field values.
16340 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16342 * emacs-lisp/timer.el (timer--check): New function.
16343 (timer--time, timer-set-function, timer-event-handler): Use it.
16344 (timer-set-idle-time): Simplify.
16345 (timer--activate): CSE.
16346 (timer-event-handler): Give more info in error message.
16347 (internal-timer-start-idle): New function, moved from C.
16349 * mpc.el (mpc-proc): Add `restart' argument.
16350 (mpc-proc-cmd): Use it.
16351 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16352 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16355 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16357 * progmodes/sh-script.el: Implement `sh-mode' own
16358 `add-log-current-defun-function' (bug#14112).
16359 (sh-current-defun-name): New function.
16360 (sh-mode): Use the function.
16362 2013-04-09 Bastien Guerry <bzg@gnu.org>
16364 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16366 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16370 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16373 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16375 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16378 2013-04-07 Leo Liu <sdl.web@gmail.com>
16380 * pcmpl-x.el: New file.
16382 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16384 Do not set x-display-name until X connection is established.
16385 This is needed to prevent from weird situation described at
16386 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16387 * frame.el (make-frame): Set x-display-name after call to
16388 window system initialization function, not before.
16389 * term/x-win.el (x-initialize-window-system): Add optional
16390 display argument and use it.
16391 * term/w32-win.el (w32-initialize-window-system):
16392 * term/ns-win.el (ns-initialize-window-system):
16393 * term/pc-win.el (msdos-initialize-window-system):
16394 Add compatible optional display argument.
16396 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16398 * files.el (normal-backup-enable-predicate): On MS-Windows and
16399 MS-DOS compare truenames of temporary-file-directory and of the
16400 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16401 don't fail comparison by compare-strings. Also, compare file
16402 names case-insensitively on MS-Windows and MS-DOS.
16404 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16406 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16407 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16409 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16411 * whitespace.el (whitespace-color-on, whitespace-color-off):
16412 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16414 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16416 * ispell.el (ispell-set-spellchecker-params):
16417 Really set `ispell-args' for all equivs.
16419 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16421 * ido.el (ido-completions): Use extra elements of ido-decorations
16423 (ido-decorations): Update docstring.
16425 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16427 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16428 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16429 nil during initialization, in order not to miss changes since the
16430 file was opened. (Bug#14140)
16432 2013-04-05 Leo Liu <sdl.web@gmail.com>
16434 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16436 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16438 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16440 2013-04-04 Glenn Morris <rgm@gnu.org>
16442 * electric.el (electric-pair-inhibit-predicate): Add :version.
16444 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16446 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16447 when a package is required several times (bug#14082).
16449 2013-04-04 Roland Winkler <winkler@gnu.org>
16451 * faces.el (read-face-name): Behave as promised by the docstring.
16452 Assume that arg default is a list of faces.
16453 (describe-face): Call read-face-name with list of default faces.
16455 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16457 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16458 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16459 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16461 (bookmark-exit-hook-internal): Save even if list is empty.
16463 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16465 * emacs-lisp/package.el (package-pinned-packages): New var.
16466 (package--add-to-archive-contents): Obey it (bug#14118).
16468 2013-04-03 Alan Mackenzie <acm@muc.de>
16470 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16471 Also adapt to the new values of element 7 of a parse state.
16473 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16474 parameter `not-in-delimiter'. Handle being inside comment opener.
16475 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16476 character in case we're typing a '*' after a '/'.
16477 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16478 instead by passing the parameter to c-state-pp-to-literal.
16480 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16481 for elt. 7 of a parse state.
16483 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16485 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16486 * international/latin1-disp.el, international/mule-util.el:
16487 * language/cyril-util.el, language/european.el, language/ind-util.el:
16488 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16489 * language/tibetan.el, language/viet-util.el:
16490 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16492 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16494 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16495 (electric-pair-post-self-insert-function): Use it.
16496 (electric-pair-default-inhibit): New function, extracted from
16497 electric-pair-post-self-insert-function.
16499 2013-03-31 Roland Winkler <winkler@gnu.org>
16501 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16503 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16505 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16507 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16509 Un-indent after "pass" and "return" statements (Bug#13888)
16510 * progmodes/python.el (python-indent-block-enders): New var.
16511 (python-indent-calculate-indentation): Use it.
16513 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16515 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16516 defun. Defining it as defalias could introduce too eager
16517 byte-compiler optimization. (Bug#14030)
16519 2013-03-30 Chong Yidong <cyd@gnu.org>
16521 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16523 2013-03-30 Leo Liu <sdl.web@gmail.com>
16525 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16526 (kmacro-execute-from-register): Pass the keyboard macro to
16527 kmacro-call-macro or repeating won't work correctly.
16529 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16531 * progmodes/subword.el: Back to using `forward-symbol'.
16533 * subr.el (forward-whitespace, forward-symbol)
16534 (forward-same-syntax): Move from thingatpt.el.
16536 2013-03-29 Leo Liu <sdl.web@gmail.com>
16538 * kmacro.el (kmacro-to-register): New command.
16539 (kmacro-execute-from-register): New function.
16540 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16542 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16544 * mpc.el: Use defvar-local and setq-local.
16545 (mpc--proc-connect): Connection failures are not bugs.
16546 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16547 (mpc-volume-map): Bind to the up-events.
16549 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16551 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16552 instead of `forward-symbol'.
16554 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16556 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16557 (edebug--recursive-edit): Use it.
16558 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16559 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16561 2013-03-28 Leo Liu <sdl.web@gmail.com>
16563 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16565 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16567 * facemenu.el (list-colors-callback): New defvar.
16568 (list-colors-redisplay): New function.
16569 (list-colors-display): Install list-colors-redisplay as the
16570 revert-buffer-function. (Bug#14063)
16572 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16574 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16575 and suffixes don't overlap (bug#14061).
16577 * case-table.el: Use lexical-binding.
16578 (case-table-get-table): New function.
16579 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16581 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16583 * progmodes/subword.el: Add `superword-mode' to do word motion
16584 over symbol_words (parallels and leverages `subword-mode' which
16585 does word motion inside MixedCaseWords).
16587 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16589 * eshell/em-unix.el: Move su and sudo to...
16590 * eshell/em-tramp.el: ...Eshell tramp module.
16592 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16594 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16595 Change return value to be a sexp. Delay `get-buffer' to after
16596 restoring the desktop (bug#13951).
16598 2013-03-26 Leo Liu <sdl.web@gmail.com>
16600 * register.el: Move semantic tag handling back to
16601 cedet/semantic/senator.el. (Bug#14052)
16603 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16605 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16606 into the prompt either (bug#13963).
16608 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16610 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16611 part of "(error-foo)".
16613 2013-03-24 Juri Linkov <juri@jurta.org>
16615 * replace.el (list-matching-lines-prefix-face): New defcustom.
16616 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16617 `occur-engine' if `face-differs-from-default-p' returns t.
16618 (occur-engine): Add `,' inside backquote construct to evaluate
16619 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16620 Pass `prefix-face' to the functions `occur-context-lines' and
16621 `occur-engine-add-prefix'.
16622 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16623 `prefix-face' and propertize the prefix with `prefix-face'.
16626 2013-03-24 Leo Liu <sdl.web@gmail.com>
16628 * nxml/rng-valid.el (rng-validate-while-idle)
16629 (rng-validate-quick-while-idle): Guard against deleted buffer.
16632 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16633 is the last entry in kill-buffer-hook.
16635 * files.el (kill-buffer-hook): Doc fix.
16637 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16639 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16640 Make it safe-local.
16642 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16644 2013-03-23 Leo Liu <sdl.web@gmail.com>
16646 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16649 * nxml/rng-valid.el (rng-validate-mode)
16650 (rng-after-change-function, rng-do-some-validation):
16651 * nxml/rng-maint.el (rng-validate-buffer):
16652 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16653 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16654 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16655 (nxml-extend-after-change-region): Use with-silent-modifications.
16657 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16660 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16661 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16662 timer-idle-list. (Bug#13999)
16664 2013-03-23 Juri Linkov <juri@jurta.org>
16666 * info.el (info-index-match): New face.
16667 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16668 main pattern and add text properties with the new face to matches
16669 in index entries relative to the beginning of the index entry.
16672 2013-03-21 Eric Ludlam <zappo@gnu.org>
16674 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16675 Inhibit read only while inserting objects.
16677 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16679 * progmodes/cfengine.el: Update docs to mention
16680 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16681 symbol motion. Remove "_" from the word syntax.
16683 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16685 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16686 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16688 2013-03-20 Juri Linkov <juri@jurta.org>
16690 * info.el (Info-next-reference-or-link)
16691 (Info-prev-reference-or-link): New functions.
16692 (Info-next-reference, Info-prev-reference): Use them.
16693 (Info-try-follow-nearest-node): Handle footnote navigation.
16694 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16696 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16698 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16699 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16701 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16703 Suppress unnecessary non-ASCII chatter during build process.
16704 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16705 (batch-skkdic-convert): Suppress most of the chatter.
16706 It's not needed so much now that machines are faster,
16707 and its non-ASCII component was confusing; see Dmitry Gutov in
16708 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16710 2013-03-20 Leo Liu <sdl.web@gmail.com>
16712 * ido.el (ido-chop): Fix bug#10994.
16714 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16716 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16718 (whitespace-color-on, whitespace-color-off):
16719 Use `font-lock-fontify-buffer' (Bug#13817).
16721 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16723 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16724 remapping in mode-line.
16725 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16727 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16729 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16730 value for `whitespace-line' face (Bug#13875).
16731 (whitespace-font-lock-keywords): Change description.
16732 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16733 the constructed keywords instead.
16734 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16736 2013-03-19 Leo Liu <sdl.web@gmail.com>
16738 * progmodes/compile.el (compilation-display-error): New command.
16739 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16742 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16744 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16746 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16748 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16750 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16752 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16754 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16755 * net/tramp-gvfs.el (top):
16756 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16757 (tramp-handle-shell-command): Use it.
16758 (tramp-dissect-file-name): Raise an error when hostname is a
16759 method name, and neither method nor user is specified.
16761 * net/trampver.el: Update release number.
16763 2013-03-18 Leo Liu <sdl.web@gmail.com>
16765 Make sure eldoc can be turned off properly.
16766 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16768 (eldoc-display-message-p): Revert last change.
16769 (eldoc-display-message-no-interference-p)
16770 (eldoc-print-current-symbol-info): Tweak.
16772 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16774 * doc-view.el (doc-view-new-window-function): Check the new window
16775 overlay's display property instead the char property of the
16776 buffer's first char. Use `with-selected-window' instead of
16777 `save-window-excursion' with `select-window'.
16778 (doc-view-document->bitmap): Check the current doc-view overlay's
16779 display property instead the char property of the buffer's first char.
16781 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16783 Automate the build of ja-dic.el (Bug#13984).
16784 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16785 from the input, rather than assume that it's been done for us by the
16786 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16787 the current date into a ja-dic.el comment, as that complicates
16788 regression testing.
16790 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16792 * whitespace.el: Fix double evaluation.
16793 (whitespace-space, whitespace-hspace, whitespace-tab)
16794 (whitespace-newline, whitespace-trailing, whitespace-line)
16795 (whitespace-space-before-tab, whitespace-indentation)
16796 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16798 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16799 (whitespace-color-on): Use a single font-lock-add-keywords call.
16800 Fix double-evaluation of face variables.
16802 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16804 * net/tramp-adb.el (tramp-adb-parse-device-names):
16805 Use `start-process' instead of `call-process'. Otherwise, the
16806 function might be blocked under MS Windows. (Bug#13299)
16808 2013-03-17 Leo Liu <sdl.web@gmail.com>
16810 Extend eldoc to display info in the mode-line. (Bug#13978)
16811 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16812 (eldoc-mode-line-string): New variable.
16813 (eldoc-minibuffer-message): New function.
16814 (eldoc-message-function): New variable.
16815 (eldoc-message): Use it.
16816 (eldoc-display-message-p)
16817 (eldoc-display-message-no-interference-p):
16818 Support eldoc-post-insert-mode.
16820 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16821 (eval-expression): Run it.
16823 2013-03-17 Roland Winkler <winkler@gnu.org>
16825 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16826 strings in the list of return values.
16828 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16830 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16831 radix before checking for HMS forms.
16833 2013-03-16 Leo Liu <sdl.web@gmail.com>
16835 * progmodes/scheme.el: Add indentation and font-locking for λ.
16838 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16840 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16841 token before point (bug#13942).
16843 2013-03-16 Leo Liu <sdl.web@gmail.com>
16845 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16847 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16849 * startup.el (command-line-normalize-file-name): Fix handling of
16850 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16851 <xfq.free@gmail.com> in
16852 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16854 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16856 Sync with Tramp 2.2.7.
16858 * net/trampver.el: Update release number.
16860 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16862 * doc-view.el: Fix bug#13887.
16863 (doc-view-insert-image): Don't modify overlay associated to
16864 non-live windows, and implement horizontal centering of image in
16865 case it's smaller than the window.
16866 (doc-view-new-window-function): Force redisplay of new windows on
16869 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16871 * saveplace.el (save-place-alist-to-file): Don't sort
16872 `save-place-alist', just pretty-print it (bug#13882).
16874 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16876 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16877 Check whether `default-file-name-coding-system' is bound.
16878 It isn't in XEmacs.
16880 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16882 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16883 backquotes for `obsolete' (bug#13929).
16885 * international/mule.el (find-auto-coding): Include file name in
16886 obsolescence warning (bug#13922).
16888 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16890 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16891 for CFEngine 3-specific indentation.
16892 (cfengine3-indent-line): Use it. Fix up category regex.
16893 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16895 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16897 * type-break.el (type-break-file-name):
16898 * textmodes/remember.el (remember-data-file):
16899 * strokes.el (strokes-file):
16900 * shadowfile.el (shadow-initialize):
16901 * saveplace.el (save-place-file):
16902 * ps-bdf.el (bdf-cache-file):
16903 * progmodes/idlwave.el (idlwave-config-directory):
16904 * net/quickurl.el (quickurl-url-file):
16905 * international/kkc.el (kkc-init-file-name):
16906 * ido.el (ido-save-directory-list-file):
16907 * emulation/viper.el (viper-custom-file-name):
16908 * emulation/vip.el (vip-startup-file):
16909 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16910 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16912 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16914 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16915 * language/thai-word.el: Switch to UTF-8.
16917 See ChangeLog.16 for earlier changes.
16919 ;; Local Variables:
16923 Copyright (C) 2011-2015 Free Software Foundation, Inc.
16925 This file is part of GNU Emacs.
16927 GNU Emacs is free software: you can redistribute it and/or modify
16928 it under the terms of the GNU General Public License as published by
16929 the Free Software Foundation, either version 3 of the License, or
16930 (at your option) any later version.
16932 GNU Emacs is distributed in the hope that it will be useful,
16933 but WITHOUT ANY WARRANTY; without even the implied warranty of
16934 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16935 GNU General Public License for more details.
16937 You should have received a copy of the GNU General Public License
16938 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.