1 2014-06-25 Glenn Morris <rgm@gnu.org>
3 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
5 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
6 files. They are not relevant to the original issue (bug#1004),
7 and cause unnecessary recompilation (bug#2151).
9 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11 * play/landmark.el: Use lexical-binding and avoid `intangible'.
12 (landmark--last-pos): New var.
13 (landmark--intangible-chars): New const.
14 (landmark--intangible): New function.
15 (landmark-mode, landmark-move): Use it.
16 (landmark-mode): Remove properties.
17 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
18 (landmark-cross-qtuple):
19 Don't worry about `intangible' any more.
20 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
21 (landmark-init-display): Don't set `intangible' and `point-entered'.
22 (square): Remove. Inline it instead.
23 (landmark--distance): Rename from `distance'.
24 (landmark-calc-distance-of-robot-from): Rename from
25 calc-distance-of-robot-from.
26 (landmark-calc-smell-internal): Rename from calc-smell-internal.
28 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
30 * files.el (dir-locals-find-file, file-relative-name):
31 * info.el (Info-complete-menu-item):
32 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
33 to compare-strings to avoid out-of-range errors.
34 * subr.el (string-prefix-p): Adjust to match strict range
35 checking in compare-strings.
37 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
39 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
40 for comment lines non-greedy and stopping at newlines to fix stack
41 overflows with large files.
43 2014-06-24 Eli Barzilay <eli@barzilay.org>
45 * calculator.el (calculator-last-input): Drop 'ascii-character property
48 2014-06-24 Leo Liu <sdl.web@gmail.com>
50 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
51 tab-stop-list to nil. (Bug#16381)
53 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
54 (indent-rigidly-left-to-tab-stop)
55 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
56 (move-to-tab-stop): Change callers.
58 2014-06-24 Eli Zaretskii <eliz@gnu.org>
60 * skeleton.el (skeleton-insert): Yet another fix of the doc string
61 wrt behavior of \n as the first/last element of a skeleton.
63 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
65 * net/tramp-adb.el (tramp-adb-handle-process-file):
66 * net/tramp-sh.el (tramp-sh-handle-process-file):
67 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
68 the output buffer when DISPLAY is non-nil. (Bug#17815)
70 2014-06-24 Glenn Morris <rgm@gnu.org>
72 * play/landmark.el (landmark-move-down, landmark-move-up):
73 Fix 2007-10-20 change - preserve horizontal position.
75 2014-06-23 Sam Steingold <sds@gnu.org>
77 * simple.el (kill-append): Remove undo boundary depending on ...
78 (kill-append-merge-undo): New user option.
80 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
82 * simple.el (handle-shift-selection, exchange-point-and-mark)
83 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
84 (transient-mark-mode): Use&set the global value.
85 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
86 * emulation/edt.el (edt-emulation-off): Save&restore the global
87 transient-mark-mode setting.
88 * obsolete/pc-select.el (pc-selection-mode): Use the
89 transient-mark-mode function.
91 2014-06-23 Eli Zaretskii <eliz@gnu.org>
93 * international/fontset.el (script-representative-chars):
94 Add representative characters for scripts added in Unicode 7.0.
95 (otf-script-alist): Synchronize with the latest registry of OTF
98 * international/characters.el (char-script-table): Update for
99 scripts added and codepoint ranges changed in Unicode 7.0.
101 2014-06-23 Eli Barzilay <eli@barzilay.org>
103 * calculator.el (calculator-standard-displayer): Fix bug in use of
104 `calculator-groupize-number'.
105 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
106 `eval' code, so it works in v24.3.1 too.
107 (calculator-last-input): Comment to clarify purpose.
109 2014-06-22 Mario Lang <mlang@delysid.org>
111 * textmodes/rst.el (rst-comment-region): From from -> from.
113 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
115 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
117 * electric.el (electric-layout-post-self-insert-function):
118 * emacs-lisp/ert.el (ert--insert-infos):
119 * obsolete/vi.el (vi-set-mark):
120 * term.el (term-handle-scroll):
121 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
122 * wid-edit.el (widget-editable-list-value-create):
123 Prefer point-marker to copy-marker of point.
125 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
127 Fix completion retrieval parsing (bug#17209).
128 * progmodes/python.el (python-mode):
129 (python-util-strip-string): New function.
130 (python-shell-completion-get-completions): Use it.
132 2014-06-21 Eli Zaretskii <eliz@gnu.org>
134 * skeleton.el (skeleton-insert): Fix last change.
136 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
138 Enhancements for outline integration (bug#17796).
139 * progmodes/python.el (python-mode): Properly set
140 outline-heading-end-regexp so that comments after colons for
141 defuns are supported.
143 2014-06-21 Eli Zaretskii <eliz@gnu.org>
145 * skeleton.el (skeleton-insert): Doc fix.
147 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
149 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
150 (smie-config-guess): Use smie-config-local so the rules are obeyed
153 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
154 since it's already done inside the loop (bug#17819).
156 2014-06-21 Martin Rudalics <rudalics@gmx.at>
158 * mouse.el (mouse-drag-line): Re-remove code initially removed
159 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
162 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
164 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
165 align with the surrounding parent (bug#17721).
167 2014-06-21 Eli Zaretskii <eliz@gnu.org>
169 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
171 (texinfo-insert-block, texinfo-insert-@end)
172 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
173 local setting of skeleton-end-newline by adding an explicit \n to
174 the skeletons where appropriate. (Bug#17801)
176 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
178 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
179 (smie-indent--hanging-p): Use it.
180 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
182 2014-06-21 Leo Liu <sdl.web@gmail.com>
184 * simple.el (read-quoted-char): Don't let help chars pop up help
187 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
189 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
192 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
193 Drop unknown events instead of burping.
195 2014-06-21 Eli Zaretskii <eliz@gnu.org>
197 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
198 and later. (Bug#17790)
200 2014-06-21 Juri Linkov <juri@jurta.org>
202 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
203 to `soft'. (Bug#17554)
205 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
207 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
210 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
212 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
213 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
215 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
217 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
218 `unread-command-events'.
220 2014-06-19 William Xu <william.xwl@gmail.com>
222 * progmodes/hideif.el (hif-string-to-number): Don't return float for
223 hex integer constants (bug#17807).
225 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
227 * international/mule-util.el (truncate-string-ellipsis): New var.
228 (truncate-string-to-width): Use it.
230 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
232 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
233 (lisp-string-in-doc-position-p): New function, extracted from
234 lisp-font-lock-syntactic-face-function.
235 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
237 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
239 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
241 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
243 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
244 (bubbles--game-over): Don't add `intangible' properties since they
247 2014-06-18 Juri Linkov <juri@jurta.org>
249 * vc/ediff-init.el (ediff-current-diff-Ancestor)
250 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
251 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
252 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
253 Add `min-colors 88' version with removed black/white foregrounds.
256 2014-06-18 Juri Linkov <juri@jurta.org>
258 * vc/diff-mode.el (diff-changed): Empty face definition to use
259 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
260 (diff-context): Use darker color on light background and
261 lighter color on dark background.
263 2014-06-18 Juri Linkov <juri@jurta.org>
265 * vc/diff-mode.el (diff-refine-changed): Rename from
266 `diff-refine-change' for consistency with `diff-changed'.
267 (diff-refine-change): Add obsolete face alias. (Bug#10181)
269 * vc/smerge-mode.el (smerge-refined-changed): Rename from
270 `smerge-refined-change'.
271 (smerge-refined-change): Add obsolete face alias.
273 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
275 * rect.el (rectangle-preview): New custom.
276 (rectangle): New group.
277 (rectangle--pos-cols): Add `window' argument.
278 (rectangle--string-preview-state, rectangle--string-preview-window):
280 (rectangle--string-flush-preview, rectangle--string-erase-preview)
281 (rectangle--space-to, rectangle--string-preview): New functions.
282 (string-rectangle): Use them.
283 (rectangle--inhibit-region-highlight): New var.
284 (rectangle--highlight-for-redisplay): Obey it. Make sure
285 `apply-on-region' uses the point-crutches of the right window.
286 Use :align-to rather than multiple spaces.
288 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
290 * ruler-mode.el (ruler-mode-window-col)
291 (ruler-mode-mouse-set-left-margin)
292 (ruler-mode-mouse-set-right-margin): Fix calculation of column
293 from mouse position (Bug#17768).
295 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
297 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
298 without varname or rhs causes crash.
299 (dun-ftp): Fix bug where blank ftp password is allowed, making it
300 impossible to win endgame.
301 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
303 (dun-help): Bump version number; update contact info.
305 2014-06-15 Eli Barzilay <eli@barzilay.org>
307 * calculator.el (calculator-prompt, calculator-remove-zeros)
308 (calculator-mode-hook, calculator-operators, calculator-stack)
309 (calculator-mode): Tweak docstring.
310 (calculator-user-operators): Tweak docstring, fix a bug in the last
312 (calculator-displayer): `std' case has an optional boolean.
313 (calculator-displayers): Use the new boolean to group in decimal mode.
314 (calculator-mode-map, calculator, calculator-message)
315 (calculator-op-arity, calculator-add-operators)
316 (calculator-string-to-number, calculator-displayer-prev)
317 (calculator-displayer-next, calculator-remove-zeros)
318 (calculator-eng-display, calculator-number-to-string)
319 (calculator-update-display, calculator-last-input)
320 (calculator-clear-fragile, calculator-digit, calculator-decimal)
321 (calculator-exp, calculator-saved-move, calculator-clear)
322 (calculator-copy, calculator-put-value, calculator-help)
323 (calculator-expt, calculator-truncate): Minor code improvements.
324 (calculator-need-3-lines): New function pulling out code from
326 (calculator-get-display): Rename from `calculator-get-prompt', and
328 (calculator-push-curnum): Rename from `calculator-curnum-value', and
329 extended for all uses of it. All callers changed.
330 (calculator-groupize-number): New utility for splitting a number into
332 (calculator-standard-displayer): Improve code, new optional argument to
333 use comma-split groups, make second argument optional too to use with
334 'left/'right inputs. All callers changed.
335 (calculator-reduce-stack-once): New utility, doing the meat of what
336 `calculator-reduce-stack' used to do, much improved (mostly using
337 `pcase' for conciseness and clarity).
338 (calculator-reduce-stack): Now doing just the reduction loop using
339 `calculator-reduce-stack-once'.
340 (calculator-funcall): Improve code, make it work in v24.3.1 too.
341 (calculator-last-input): Improve code, remove some old cruft.
342 (calculator-quit): Kill `calculator-buffer' in electric mode too.
343 (calculator-integer-p): Remove.
344 (calculator-fact): Improve code, make it work on non-integer values
345 too (using truncated numbers).
347 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
349 Sync with Tramp 2.2.10.
351 * net/tramp.el (tramp-methods): Tweak docstring.
352 (tramp-handle-file-accessible-directory-p): Check for
353 `file-readable-p' instead of `file-executable-p'.
354 (tramp-check-cached-permissions):
355 Use `tramp-compat-file-attributes'.
356 (tramp-call-process): Add new argument VEC. Adapt callees in all
359 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
360 (tramp-adb-maybe-open-connection): Don't set
361 `tramp-current-*' variables.
363 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
364 file properties of temporary buffers.
366 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
368 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
369 (tramp-gvfs-handle-delete-file): Flush file
370 properties, not directory properties.
371 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
372 reading "unix::mode".
373 (tramp-gvfs-handle-file-name-all-completions):
374 Use "-h" option for "gvfs-ls".
375 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
376 (tramp-gvfs-send-command): Simplify traces.
378 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
379 (vc-git-program, vc-hg-program): Declare.
380 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
381 (tramp-methods) <nc>: Add new method.
382 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
383 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
385 (tramp-default-user-alist): Add "nc".
386 (top): Remove completion function for "sftp". Add completion
387 functions for "nc" and "psftp".
388 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
389 Implement support for "nc" method.
390 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
391 (tramp-remote-coding-commands, tramp-call-local-coding-command):
393 (tramp-sh-handle-write-region): Tweak error message.
394 (tramp-sh-handle-vc-registered): Remove backends when the remote
395 binary does not exist.
396 (tramp-find-inline-encoding): Do not raise an error.
397 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
398 the "nc" case. Quote result also locally.
400 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
401 (tramp-smb-handle-set-file-acl): Use `start-process'.
402 (tramp-smb-handle-insert-directory): Use progress reporter.
403 (tramp-smb-handle-rename-file): Flush also file properties of
406 * net/trampver.el: Update release number.
408 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
410 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
412 (ses-localvars): Remove ses--local-printer-list, unused.
413 (ses--metaprogramming): New macro. Use it to defvar variables.
414 (ses-set-localvars): Simplify.
415 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
416 property-list into an alist.
417 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
418 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
419 Remove; use defstruct accessors/setters instead.
420 (ses-cell-formula-aset, ses-cell-printer-aset)
421 (ses-cell-references-aset): Remove, use setf instead.
422 (ses--alist-get): New function.
423 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
424 Use an alist instead of a plist and don't do move-to-front since the
425 list is always short.
426 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
427 (ses-cell-property-set-fun, ses-cell-property-set)
428 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
429 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
430 (ses--letref): New macro.
431 (ses-cell-property-pop): Rewrite.
432 (ses--cell): Rename from ses-cell and make it into a function.
433 Make `formula' fallback on `value' if nil.
434 (ses--local-printer): Rename from ses-local-printer and make it into
436 (ses-set-cell): Turn it into a macro so finding the accessor from the
437 field name is done at compile time.
438 (ses-repair-cell-reference-all): Test presence of `sym' rather than
439 `ref' before adding `sym' to :ses-repair-reference.
440 (ses-calculate-cell): Use ses--letref rather than
441 ses-cell-property-get-handle.
442 (ses-write-cells): Use a single prin1-to-string.
443 (ses-setter-with-undo): New function.
444 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
445 (ses-unset-with-undo): Remove.
446 (ses-load): Prefer apply' over `eval'.
447 (ses-read-printer, ses-set-column-width): Use standard "(default
450 2014-06-15 Glenn Morris <rgm@gnu.org>
452 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
454 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
455 Replace delete-duplicates and mapcan by cl- versions throughout.
456 And cl-macroexpand-all by macroexpand-all.
457 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
459 2014-06-15 Eli Zaretskii <eliz@gnu.org>
461 * subr.el (posn-col-row): Doc fix. (Bug#17768)
463 2014-06-15 Juri Linkov <juri@jurta.org>
465 * bindings.el: Put `ascii-character' property on keypad keys
466 mapped to characters. (Bug#17759)
468 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
470 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
471 bumping forward into a closing paren (bug#17761).
473 * term/xterm.el (xterm--version-handler): Work around for OSX
474 Terminal.app (bug#17607).
476 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
478 * play/dunnet.el (dun-describe-room, dun-mode):
479 If a lamp is in the room, you won't be eaten by a grue.
481 2014-06-13 Glenn Morris <rgm@gnu.org>
483 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
484 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
485 (compile-always): GNU make automatically passes
486 command-line arguments to sub-makes.
488 * calendar/calendar.el (calendar-generate-window):
489 Remove pointless call to font-lock-fontify-buffer.
491 2014-06-13 Matthias Meulien <orontee@gmail.com>
493 * simple.el (completion-list-mode-map): Navigate with tab and backtab
496 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
498 * simple.el (set-mark-command): Simplify a bit.
500 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
502 * help.el (help--key-binding-keymap): New function.
503 (help--binding-locus): New function.
504 (describe-key): Mention the keymap in which the binding was
507 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
509 * hippie-exp.el (he--all-buffers): New function.
510 (try-expand-line-all-buffers, try-expand-list-all-buffers)
511 (try-expand-dabbrev-all-buffers): Use it.
513 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
515 * hippie-exp.el (try-expand-line-all-buffers)
516 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
517 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
518 original buffer, in case they're buffer-local.
520 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
522 * ses.el (ses-initial-global-parameters-re): New defconst, a
523 specific regexp is needed now that ses.el can handle both
524 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
526 (ses-localvars): Add local variables needed for local printer handling.
527 (ses-set-localvars): Handle hashmap initialisation.
528 (ses-paramlines-plist): Add param-line for number of local printers.
529 (ses-paramfmt-plist): New defconst, needed for code factorization
530 between functions `ses-set-parameter' and
531 `ses-file-format-extend-paramter-list'
532 (ses-make-local-printer-info): New defsubst.
533 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
534 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
535 (ses-cell-printer-aset): New defmacro.
536 (ses-local-printer-compile): New defun.
537 (ses-local-printer): New defmacro.
538 (ses-printer-validate, ses-call-printer): Add support for local
540 (ses-file-format-extend-paramter-list): New defun.
541 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
543 (ses-load): Add support for local printer functions.
544 (ses-read-printer): Update docstring and add support for local printer
546 (ses-refresh-local-printer, ses-define-local-printer): New defun.
547 (ses-safe-printer): Add support for local printer functions.
549 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
551 * ffap.el (ffap-lax-url): New var (bug#17723).
552 (ffap-url-at-point): Use it.
553 (ffap-file-at-point): Avoid returning just "/".
555 2014-06-12 Matthias Meulien <orontee@gmail.com>
557 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
558 (python-mode-map): Bind it.
560 * progmodes/python.el (class skeleton): Don't erase last char of class
563 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
565 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
567 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
569 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
572 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
574 * international/mule-cmds.el: Use lexical-binding.
575 (ucs-names): Simplify.
577 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
579 * progmodes/python.el (run-python): Use read-shell-command.
581 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
583 * rect.el: Make it possible to move bounds past EOL or into TABs.
584 (operate-on-rectangle): Use apply-on-rectangle.
585 (rectangle--mark-crutches): New var.
586 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
587 (rectangle--crutches, rectangle--reset-crutches): New functions.
588 (apply-on-rectangle): Obey crutches. Avoid setq.
589 Fix missing final iteration if end is at EOB&BOL.
590 (rectangle-mark-mode-map): Add remap bindings for
591 exchange-point-and-mark and char/line movements.
592 (rectangle--*-char): New function.
593 (rectangle-exchange-point-and-mark, rectangle-right-char)
594 (rectangle-left-char, rectangle-forward-char)
595 (rectangle-backward-char, rectangle-next-line)
596 (rectangle-previous-line): New commands.
597 (rectangle--place-cursor): New function.
598 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
600 2014-06-08 Glenn Morris <rgm@gnu.org>
602 * startup.el (initial-buffer-choice): Doc fix.
603 Reset :version (adding an option does not merit a :version bump).
605 * bookmark.el (bookmark-load):
606 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
608 2014-06-08 Juri Linkov <juri@jurta.org>
610 * desktop.el: Activate auto-saving on window configuration changes.
611 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
612 `desktop-auto-save-set-timer' to/from
613 `window-configuration-change-hook'.
614 (desktop-auto-save-set-timer): Change REPEAT arg of
615 `run-with-idle-timer' from t to nil.
616 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
618 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
620 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
621 vc-hg-command (bug#17570).
623 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
625 * international/mule-cmds.el (ucs-names): Add special entry for BEL
628 2014-06-08 Glenn Morris <rgm@gnu.org>
630 * startup.el (window-setup-hook): Doc fix.
632 * emacs-lisp/package.el (package-check-signature)
633 (package-unsigned-archives): Doc fixes.
635 2014-06-08 Martin Rudalics <rudalics@gmx.at>
637 * window.el (display-buffer-use-some-window): Don't make window
638 used smaller than it was before (Bug#17671).
640 2014-06-08 Eli Zaretskii <eliz@gnu.org>
642 * menu-bar.el (menu-bar-open): Fix last change: use the PC
643 'redisplay' instead of '(sit-for 0)'.
645 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
647 * net/tramp.el (tramp-ssh-controlmaster-options):
648 Improve search regexp. (Bug#17653)
650 2014-06-08 Glenn Morris <rgm@gnu.org>
652 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
654 2014-06-08 Eli Zaretskii <eliz@gnu.org>
656 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
658 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
660 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
663 * vc/vc-hg.el (vc-hg-log-graph): New var.
664 (vc-hg-print-log): Use it.
665 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
666 graph output (bug#17515).
668 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
670 * mouse.el (mouse-posn-property): Ignore buffer position info when the
671 even happened elsewhere.
673 2014-06-06 Mario Lang <mlang@delysid.org>
675 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
676 `recenter' if `current-buffer' is equal to `window-buffer'.
678 2014-06-05 Leo Liu <sdl.web@gmail.com>
680 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
682 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
684 * textmodes/tildify.el (tildify-foreach-region-outside-env):
685 New function which calls a callback on portions of the buffer that are
686 outside of ignored environments.
687 (tildify-build-regexp): Remove function since it is now
688 incorporated in `tildify-foreach-region-outside-env' where it is
689 optimised and simplified by the use of `mapconcat'.
690 (tildify-tildify): Return number of substitutions made so that…
691 (tildify-count): …can be removed.
692 (tildify-find-env): Accept a new PAIRS argument which was
693 previously looked up in `tildify-ignored-environments-alist' each
694 time the function was called. With this change, the lookup is
695 performed only once in `tildify-foreach-region-outside-env'.
696 (tildify-region): Greatly simplify the function since now most of
697 the work is done by `tildify-foreach-region-outside-env'.
698 (tildify-mode-alist): Simplify slightly by avoiding if and setq
699 and instead using or.
701 * textmodes/tildify.el (tildify-ignored-environments-alist):
702 Optimise environments regexes
704 Each time beginning of an environment to ignore is found,
705 `tildify-find-env' needs to identify regexp for the ending
706 of the environment. This is done by trying all the opening
707 regexes on matched text in a loop, so to speed that up, this
708 loop should have fewer things to match, which can be done by
709 using alternatives in the opening regexes.
711 Coincidentally, this should make matching of the opening
712 regexp faster as well thanks to the use of `regexp-opt' and
713 having common prefix pulled from many regexes.
715 * textmodes/tildify.el (tildify-string-alist)
716 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
717 of supported modes since `xml-mode' is no longer a thing but just
718 an alias to the former. Also include comments and insides of tags
719 in `tildify-ignored-environments-alist' for XML modes. Finally,
720 since XML does not define “ ”[1], use a numeric reference for
721 a no-break space (namely “ ”)
723 [1] XML specification defines only a handful of predefined entities.
724 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
725 and includes only <, >, &, ' and " (meaning <,
726 >, &, ' and " respectively). This is in contrast to HTML and even
727 XHTML which defined a whole bunch of entities including “ ”.
729 * textmodes/tildify.el (tildify-pattern-alist)
730 (tildify-string-alist, tildify-ignored-environments-alist):
731 Improve defcustom's types by adding more tags explaining what each
732 value means and replace “sexp” used in
733 `tildify-ignored-environments-alist' with a full type declaration.
735 * textmodes/tildify.el (tildify-find-env): Fix matched group
736 indexes in end-regex building
738 When looking for a start of an ignore-environment, the regex is built
739 by concatenating regexes of all the environments configured in
740 `tildify-ignored-environments-alist'. So for example, the following
741 list could be used to match TeX's \verb and \verb* commands:
743 (("\\\\verb\\(.\\)" . (1))
744 ("\\\\verb\\*\\(.\\)" . (1)))
746 This would result in the following regex being used to find the start
747 of any of the variants of the \verb command:
749 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
751 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
752 won't match anything, and thus (match-string 1) will be nil, which
753 will cause building of the end-matching regex to fail.
755 Fix this by using capture groups from the time when the opening
756 regexes are matched individually.
758 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
759 in `tildify-find-env'
761 The `tildify-ignored-environments-alist' allows the end-regex to
762 be provided not as a static string but mix of strings and indexes
763 of groups matched the begin-regex. For example, the “\verb!…!”
764 TeX-command (where “!” is an arbitrary character) is handled
767 ("\\\\verb\\*?\\(.\\)" . (1))
769 In the same way, the following should be supported as well:
771 ("open-\\(.\\)" . ("end-" 1))
773 However the tildify-find-env function fails at
776 (if (stringp (setq aux (car expression)))
777 expression ; BUG: expression is a list
778 (regexp-quote (match-string aux))))
780 where the string part is handled incorrectly.
782 The most trivial fix would be to replace `expression' in the
783 true-part of the if-statement with `aux', but instead, this commit
784 optimises `tildify-find-env' by changing it to use `mapconcat'
785 rather than open-coded while-loop.
787 2014-06-05 Mario Lang <mlang@delysid.org>
789 * woman.el (woman-mapcan): Remove.
790 (woman-parse-colon-path): Use cl-mapcan instead.
792 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
794 * register.el: Add link to Emacs manual in Commentary.
796 2014-06-02 Sam Steingold <sds@gnu.org>
798 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
799 (popup-menu): ...here.
800 (menu-bar-open): Use it to avoid an error when `lookup-key'
803 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
805 * net/tramp.el (tramp-call-process): Add traces.
806 (tramp-handle-unhandled-file-name-directory): Return "/".
808 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
810 Sync with upstream verilog-mode revision 3cd8144.
811 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
812 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
813 (verilog-type-font-keywords): Add nor.
814 (verilog-batch-execute-func): Force reading of Local Variables.
815 Fix printing "no changes to be saved" with verilog-batch.
816 (verilog-auto-arg-ports): Doc fix.
817 Add verilog-auto-arg-format to support newlines in AUTOARG.
818 (verilog-auto-arg): Doc fix.
820 2014-06-02 Glenn Morris <rgm@gnu.org>
822 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
823 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
824 * emulation/ws-mode.el: Move to obsolete/.
825 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
827 2014-06-02 Eli Zaretskii <eliz@gnu.org>
829 * simple.el (keyboard-quit): Force update of mode lines, to remove
830 the "Def" indicator, if we were defining a macro. (Bug#17615)
832 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
834 * minibuffer.el (minibuffer-force-complete-and-exit):
835 Obey minibuffer-default (bug#17545).
837 * progmodes/js.el (js-indent-line): Don't mix columns and chars
840 * subr.el (set-transient-map): Don't wait for some "nested"
841 transient-map to finish if we're only supposed to be active for
842 the next command (bug#17642).
844 2014-06-02 Leo Liu <sdl.web@gmail.com>
846 * emacs-lisp/gv.el (window-buffer, window-display-table)
847 (window-dedicated-p, window-hscroll, window-point, window-start):
848 Fix gv-expander. (Bug#17630)
850 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
852 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
855 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
856 for the single comma, since ", " is *very* common in normal French text
859 2014-06-02 Glenn Morris <rgm@gnu.org>
861 * emacs-lisp/package.el (package-check-signature)
862 (package-unsigned-archives): Fix :version.
864 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
866 * subr.el (sit-for): Don't run input-methods (bug#15614).
868 2014-06-02 Glenn Morris <rgm@gnu.org>
870 * cus-start.el: Fix some :version numbers.
872 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
874 * simple.el (deactivate-mark): Set mark-active to nil even if
875 deactivation is done via setting transient-mark-mode to nil,
876 since one is buffer-local and the other is global.
878 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
879 there can't be more than 2 arguments (bug#17584).
881 2014-06-02 Glenn Morris <rgm@gnu.org>
883 * simple.el (filter-buffer-substring-functions)
884 (filter-buffer-substring-function, buffer-substring-filters)
885 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
887 * minibuffer.el (completion-in-region-functions, completion-in-region)
888 (completion--in-region): Doc fixes.
890 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
891 (expand-abbrev, abbrev--default-expand): Doc fixes.
893 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
895 Include sources used to create macuvs.h.
896 * international/README: Refer to the Unicode Terms of Use rather
897 than copying it bodily here, as that simplifies maintenance.
899 2014-06-01 Glenn Morris <rgm@gnu.org>
901 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
903 2014-05-31 Glenn Morris <rgm@gnu.org>
905 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
907 2014-05-30 Glenn Morris <rgm@gnu.org>
909 * loadup.el: Treat `command-line-args' more flexibly.
911 2014-05-30 Alan Mackenzie <acm@muc.de>
913 Guard (looking-at "\\s!") from XEmacs.
914 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
916 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
918 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
919 The argument COUNT is now optional, to be more backward-compatible.
922 2014-05-29 Reuben Thomas <rrt@sc3d.org>
924 * whitespace.el (whitespace-report-region):
925 Simplify documentation.
926 (whitespace-report-region): Allow report-if-bogus to take the
927 value `never', for non-interactive use.
928 (whitespace-report): Refer to whitespace-report-region's
931 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
933 * whitespace.el: Use font-lock-flush. Minimize refontifications.
934 Side benefit: it works without jit-lock.
935 (whitespace-point--used): New buffer-local var.
936 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
937 (whitespace-color-off): Use font-lock-flush.
938 (whitespace-point--used, whitespace-point--flush-used): New functions.
939 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
940 (whitespace-empty-at-eob-regexp): Use them.
941 (whitespace-post-command-hook): Rewrite.
943 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
944 (font-lock-fontify-buffer): Mark interactive-only.
945 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
947 (font-lock-specified-p): Remove redundant boundp check.
948 (font-lock-flush-function, font-lock-ensure-function): New vars.
949 (font-lock-turn-on-thing-lock): Set them.
950 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
951 (font-lock-after-change-function): Make `old-len' optional.
952 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
953 Call font-lock-flush, just in case.
954 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
956 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
957 (vera-mode-map, vera-mode-menu): Remove bindings to it.
958 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
959 and with-syntax-table.
960 * textmodes/conf-mode.el (conf-quote-normal):
961 * progmodes/sh-script.el (sh-set-shell):
962 * progmodes/prog-mode.el (prettify-symbols-mode):
963 * progmodes/f90.el (f90-font-lock-n):
964 * progmodes/cwarn.el (cwarn-mode):
965 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
966 * progmodes/compile.el (compilation-setup, compilation--unsetup):
967 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
968 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
969 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
970 font-lock-fontify-buffer-function and
971 font-lock-unfontify-buffer-function.
972 (rmail-unfontify-buffer-function, rmail-fontify-message):
973 Use with-silent-modifications.
974 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
975 and font-lock-ensure.
976 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
978 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
980 * emacs-lisp/package.el (package-generate-autoloads):
981 Inhibit backup files.
983 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
985 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
988 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
990 * textmodes/tildify.el (tildify-buffer, tildify-region):
993 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
995 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
996 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
998 * subr.el (internal--funcall-interactively): New.
999 (internal--call-interactively): Remove.
1000 (called-interactively-p): Detect funcall-interactively instead of
1002 * simple.el (repeat-complex-command): Use funcall-interactively.
1003 (repeat-complex-command--called-interactively-skip): Remove.
1005 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1007 * register.el (register-read-with-preview): Don't burp on
1008 frame switches (e.g. due to the frame we just popped).
1010 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
1011 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
1013 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
1015 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1017 2014-05-26 Martin Rudalics <rudalics@gmx.at>
1019 * window.el (window--dump-frame): Remove interactive specification.
1021 2014-05-26 Glenn Morris <rgm@gnu.org>
1023 * hippie-exp.el (he-line-search-regexp):
1024 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1026 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1028 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1029 to avoid errors when trying to create or visit a file foo.todo
1030 located outside to todo-directory, and to allow having such files
1031 without them being tied to Todo mode (bug#17482).
1032 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1033 (todo-archive-done-item, todo-find-filtered-items-file)
1034 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1035 (todo-category-completions, todo-read-category): When visiting a
1036 Todo file, make sure we're in the right mode and the buffer local
1038 (todo-make-categories-list, todo-reset-nondiary-marker)
1039 (todo-reset-done-string, todo-reset-comment-string):
1040 After processing all Todo files, kill the buffers of those files that
1041 weren't being visited before the processing.
1042 (todo-display-as-todo-file, todo-add-to-buffer-list)
1043 (todo-visit-files-commands): Comment out.
1044 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1045 (auto-mode-alist): Remove add-to-list calls making Todo file
1046 extensions unrestrictedly tied to Todo modes.
1048 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1051 (advice-function-member-p): Tell it to check both names and functions
1053 (advice--add-function): Adjust call accordingly.
1055 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1057 * calendar/todo-mode.el: Miscellaneous bug fixes.
1058 (todo-delete-file): When deleting an archive but not its todo
1059 file, make sure to update the todo file's category sexp.
1060 (todo-move-category): Keep the moved category's name unless the
1061 file moved to already has a category with that name. If the
1062 numerically last category of the source file was moved, make the
1063 first category current to avoid selecting a nonexisting category.
1064 (todo-merge-category): Fix implementation to make merging to a
1065 category in another file work as documented. Eliminate now
1066 insufficient and unnecessary renaming of archive category, correct
1067 document string accordingly, and clarify it. If the numerically
1068 last category of the source file was merged, make the first
1069 category current to avoid selecting a nonexisting category.
1070 (todo-archive-done-item): When there are marked items and point
1071 happens to be on an unmarked item, ignore the latter. Don't leave
1072 point below last item after archiving marked items.
1073 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1074 from an archive with only one category deletes the archive only
1075 when the category is empty after unarchiving. Make sure the todo
1076 file's category sexp is updated.
1077 (todo-read-file-name): Allow an existing file name even when it is
1078 not required (todo-move-category needs this to work as documented).
1079 (todo-add-file): Call todo-validate-name to reject the name of an
1080 existing todo file (needed due to fix in todo-read-file-name).
1081 (todo-reset-nondiary-marker): Also reset in filtered items files.
1082 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1083 regexp filtered items files.
1084 (todo-reset-highlight-item): Also reset in filtered items files.
1085 Fix incorrect variable reference in document string.
1087 2014-05-26 Glenn Morris <rgm@gnu.org>
1089 * window.el (window--dump-frame): Avoid error in --without-x builds.
1091 2014-05-26 Glenn Morris <rgm@gnu.org>
1093 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1095 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1097 * frame.el (set-frame-font): Doc fix.
1099 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1101 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1103 * emacs-lisp/package.el (package--download-one-archive):
1104 Use `write-region' instead of `save-buffer' to avoid running various
1106 (describe-package-1): Same. Insert newline at the end of the
1107 buffer if appropriate.
1109 2014-05-26 Juri Linkov <juri@jurta.org>
1111 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1112 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1113 Add more modifiers: meta, control, shift, hyper, super, alt.
1116 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1117 to allow changing its value with `set-variable'.
1119 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1121 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1123 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1125 (scheme-mode-variables): Set syntax-propertize-function instead of
1126 font-lock-syntactic-face-function.
1127 (scheme-font-lock-syntactic-face-function): Delete.
1129 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1131 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1134 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1136 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1137 for a temporary file name.
1139 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1141 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1143 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1145 * net/dbus.el (dbus-init-bus, dbus-call-method)
1146 (dbus-call-method-asynchronously, dbus-send-signal)
1147 (dbus-method-return-internal, dbus-method-error-internal):
1148 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1150 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1152 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1153 methods which do not have a doc string. (Bug#17490)
1155 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1157 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1158 also for AMS Math's \eqref macro.
1160 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1162 Arrange to never byte-compile the generated -pkg.el file.
1164 * emacs-lisp/package.el (package-generate-description-file):
1165 Output first-line comment to set buffer-local var `no-byte-compile'.
1166 Suggested by Dmitry Gutov:
1167 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1169 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1171 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1173 * emacs-lisp/package.el (package-generate-description-file):
1174 Inline `package--alist-to-plist'; rewrite to selectively
1175 quote alist values that are not self-quoting.
1176 (package--alist-to-plist): Delete func.
1178 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1180 * term/xterm.el (xterm-function-map): Add mapping for shifted
1183 2014-05-24 Daniel Colascione <dancol@dancol.org>
1185 * progmodes/subword.el (subword-find-word-boundary): Move point to
1186 correct spot before search. (Bug#17580)
1188 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1191 2014-05-24 Leo Liu <sdl.web@gmail.com>
1193 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1195 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1197 * minibuffer.el (completion--sreverse): Remove.
1198 (completion--common-suffix): Use `reverse' instead.
1199 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1201 2014-05-22 Glenn Morris <rgm@gnu.org>
1203 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1205 2014-05-21 Daniel Colascione <dancol@dancol.org>
1207 * files.el (interpreter-mode-alist): Add mksh.
1209 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1211 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1212 mksh. Improve custom spec; allow regular expressions.
1213 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1214 (sh-after-hack-local-variables): New function.
1215 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1216 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1218 (sh-canonicalize-shell): Rewrite to support regexes.
1220 2014-05-21 Leo Liu <sdl.web@gmail.com>
1222 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1224 2014-05-19 Leo Liu <sdl.web@gmail.com>
1226 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1228 2014-05-18 Glenn Morris <rgm@gnu.org>
1231 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1233 2014-05-14 Sam Steingold <sds@gnu.org>
1235 * progmodes/python.el (python-shell-get-or-create-process):
1236 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1237 back unless requested.
1239 2014-05-14 Glenn Morris <rgm@gnu.org>
1241 * subr.el (with-file-modes): New macro.
1242 * printing.el (pr-save-file-modes): Make obsolete.
1243 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1244 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1245 Add with-file-modes.
1246 * doc-view.el (doc-view-make-safe-dir):
1247 * epg.el (epg--start):
1248 * files.el (locate-user-emacs-file, make-temp-file)
1249 (backup-buffer-copy, move-file-to-trash):
1250 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1251 * eshell/esh-util.el (eshell-with-private-file-modes)
1252 (eshell-make-private-directory):
1253 * net/browse-url.el (browse-url-mosaic):
1254 * obsolete/mailpost.el (post-mail-send-it):
1255 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1256 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1257 Use with-file-modes.
1259 * vc/emerge.el (emerge-make-temp-file): Simplify.
1261 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1262 Stefan Monnier <monnier@iro.umontreal.ca>
1264 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1267 2014-05-14 Glenn Morris <rgm@gnu.org>
1269 * vc/emerge.el (emerge-temp-file-prefix):
1270 Make pointless option obsolete.
1271 (emerge-temp-file-mode): Make non-functional option obsolete.
1273 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1275 * net/browse-url.el (browse-url):
1276 Use `unhandled-file-name-directory' when setting `default-directory',
1277 in order to circumvent stalled remote connections. (Bug#17425)
1279 2014-05-14 Glenn Morris <rgm@gnu.org>
1281 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1282 Optimize on Emacs, which has the relevant functions for ages.
1284 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1288 2014-05-12 Sam Steingold <sds@gnu.org>
1290 * calendar/time-date.el (seconds-to-string): New function to
1291 pretty print time delay in seconds.
1293 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1295 * mpc.el (mpc-format): Trim Date to the year.
1296 (mpc-songs-hashcons): Shorten the Date field.
1298 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1299 into autoloading just because of a silly indirection.
1301 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1303 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1305 2014-05-12 Glenn Morris <rgm@gnu.org>
1307 * emacs-lisp/find-gc.el: Move to ../admin.
1309 * printing.el (pr-version):
1310 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1312 * net/browse-url.el (browse-url-mosaic):
1313 Create /tmp/Mosaic.PID as a private file.
1315 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1317 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1318 (advice--member-p): If name is given, only compare the name.
1319 (advice--remove-function): Don't stop at the first match.
1320 (advice--normalize-place): New function.
1321 (add-function, remove-function): Use it.
1322 (advice--add-function): Pass the name, if any, to
1323 advice--remove-function.
1325 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1327 * electric.el (electric-indent-post-self-insert-function): Don't use
1328 `pos' after modifying the buffer (bug#17449).
1330 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1332 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1333 Correct argument list to conform to todo-insert-item--basic.
1335 2014-05-12 Glenn Morris <rgm@gnu.org>
1337 * files.el (cd-absolute): Test if directory is accessible
1338 rather than executable. (Bug#17330)
1340 * progmodes/compile.el (recompile):
1341 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1343 * net/browse-url.el (browse-url-mosaic):
1344 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1345 This is CVE-2014-3423.
1347 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1349 * mouse.el: Use the normal toplevel loop while dragging.
1350 (mouse-set-point): Handle multi-clicks.
1351 (mouse-set-region): Handle multi-clicks for drags.
1352 (mouse-drag-region): Update call accordingly.
1353 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1354 Use the normal event loop instead of a local while/read-event loop.
1355 (global-map): Remove redundant bindings for double/triple-mouse-1.
1356 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1357 Generate synthetic down events when the protocol only sends up events.
1358 (xterm-mouse-last): Remove.
1359 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1360 terminal parameter instead.
1361 (xterm-mouse--set-click-count): New function.
1362 (xterm-mouse-event): Detect/generate double/triple clicks.
1363 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1365 * info.el (Info-quoted): New face.
1366 (Info-mode-font-lock-keywords): New var.
1367 (Info-mode): Use it.
1369 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1370 are a hindrance for C-x C-e.
1372 2014-05-11 Leo Liu <sdl.web@gmail.com>
1374 * net/rcirc.el (rcirc-sentinel): Fix last change.
1376 2014-05-08 Sam Steingold <sds@gnu.org>
1378 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1379 (rcirc-sentinel): Auto-reconnect to the server if
1380 `rcirc-reconnect-delay' is non-0 (but not more often than its
1381 value in case the host is off-line).
1383 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1385 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1387 2014-05-09 Glenn Morris <rgm@gnu.org>
1389 * files.el (file-expand-wildcards):
1390 * man.el (Man-support-local-filenames):
1391 * printing.el (pr-i-directory, pr-interface-directory):
1392 * progmodes/grep.el (lgrep, rgrep):
1393 * textmodes/ispell.el (ispell-call-process)
1394 (ispell-call-process-region, ispell-start-process)
1395 (ispell-init-process): Use file-accessible-directory-p.
1397 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1400 (xterm-mouse--read-event-sequence-1000): Return nil if something
1402 (xterm-mouse-event): Propagate it.
1403 (xterm-mouse-translate-1): Handle it.
1405 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1407 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1408 four slots of the parameter list are filled, make sure to pass it
1409 to the argument list of todo-insert-item--basic.
1411 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1414 Add optional `seen' argument to detect and break infinite loops.
1416 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1418 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1419 (trace-unsafe, trace-use-tree): Make parentheses style be
1420 according to Emacs style.
1422 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1424 * net/tramp-sh.el (tramp-remote-process-environment):
1425 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1427 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1428 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1429 extra "PSx=..." commands.
1430 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1433 (tramp-uudecode): Replace the hard-coded temporary file name by a
1435 (tramp-remote-coding-commands): Enhance docstring.
1436 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1438 This is CVE-2014-3424.
1440 2014-05-08 Glenn Morris <rgm@gnu.org>
1442 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1443 (find-gc-source-files): Update some names.
1444 (trace-call-tree): Simplify and update.
1445 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1446 This is CVE-2014-3422.
1448 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1450 * minibuffer.el (completion--try-word-completion): Revert fix for
1451 Bug#15980 (bug#17375).
1453 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1454 Always store button numbers in the same way in xterm-mouse-last;
1455 Don't burp is xterm-mouse-last is not set as expected.
1456 Never return negative indices.
1458 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1460 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1461 Backtrack one char if the global/char-literal var matcher hits
1462 inside a string. The next char could be the beginning of an
1463 expression expansion.
1465 2014-05-08 Glenn Morris <rgm@gnu.org>
1467 * help-fns.el (describe-function-1): Test for an autoload before a
1468 macro, since `macrop' works on autoloads. (Bug#17410)
1470 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1472 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1474 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1475 Make sure the new point we return is within the new string (bug#17239).
1477 2014-05-05 Daniel Colascione <dancol@dancol.org>
1479 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1480 Port `gnu' pattern to rx.
1482 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1484 Remove unneeded prompt when closing a buffer with active
1485 emacsclient ("Buffer ... still has clients"), #16548.
1486 * server.el (server-start): Remove the only call to:
1487 (server-kill-buffer-query-function): Remove.
1489 2014-05-04 Leo Liu <sdl.web@gmail.com>
1491 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1492 Defvar to pacify compiler.
1494 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1496 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1498 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1500 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1501 Use nil rather than `default' for the "default" appearance (bug#17388).
1502 * vc/ediff-util.el (ediff-inferior-compare-regions)
1503 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1504 a misleading `default' value when it's really a boolean.
1505 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1506 overlay is not visible.
1508 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1510 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1511 (todo-menu): Uncomment and update.
1513 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1515 * calendar/todo-mode.el: Reimplement item editing to have the same
1516 basic user interface as item insertion, and make small UI and
1517 larger internal improvements to the latter.
1518 (todo-insert-item): Add reference to the Todo mode user manual to
1519 the documentation string.
1520 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1521 adjust all callers. Change signature to combine diary and
1522 nonmarking arguments. Incorporate functionality of deleted item
1523 copying command and add error checking. Remove detailed
1524 descriptions of the arguments from the documentation string, since
1525 this is treated in the Todo mode user manual.
1526 (todo-copy-item, todo-edit-multiline-item)
1527 (todo-edit-done-item-comment, todo-edit-item-header)
1528 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1529 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1530 (todo-edit-item-date-year, todo-edit-item-date-month)
1531 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1533 (todo-edit-item): Reimplement as wrapper command for
1534 todo-edit-item--next-key and make it distinguish done and not done
1536 (todo-edit-item--text): New function, replacing old command
1537 todo-edit-item and incorporating deleted commands
1538 todo-edit-multiline-item and todo-edit-done-item-comment.
1539 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1540 Use only numeric value of prefix argument. Remove detailed
1541 descriptions of the arguments from the documentation string, since
1542 this is treated in the Todo mode user manual.
1543 (todo-edit-item--diary-inclusion): New function, replacing old
1544 command todo-edit-item-diary-inclusion and incorporating and fixing
1545 functionality of deleted command todo-edit-item-diary-nonmarking,
1546 making sure to remove todo-nondiary-marker when adding
1547 diary-nonmarking-symbol.
1548 (todo-edit-category-diary-inclusion): Make sure to delete
1549 diary-nonmarking-symbol when adding todo-nondiary-marker.
1550 (todo-edit-category-diary-nonmarking): Fix indentation.
1551 (todo-insert-item--parameters): Group diary and nonmarking
1552 parameters together.
1553 (todo-insert-item--apply-args): Adjust to signature of
1554 todo-insert-item--basic and incorporate copy parameter.
1555 Make small code improvements.
1556 (todo-insert-item--next-param): Improve prompt and adjust it to
1557 new parameter grouping. Remove obsolete code.
1558 (todo-edit-item--param-key-alist)
1559 (todo-edit-item--date-param-key-alist)
1560 (todo-edit-done-item--param-key-alist): New defconsts.
1561 (todo-edit-item--prompt): New variable.
1562 (todo-edit-item--next-key): New function.
1563 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1564 Remove bindings of deleted commands.
1566 2014-05-04 Leo Liu <sdl.web@gmail.com>
1568 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1570 2014-05-04 Glenn Morris <rgm@gnu.org>
1572 * allout-widgets.el (allout-widgets-tally)
1573 (allout-decorate-item-guides):
1574 * menu-bar.el (menu-bar-positive-p):
1575 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1576 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1577 * progmodes/js.el (js--inside-param-list-p)
1578 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1579 * progmodes/prolog.el (region-exists-p):
1580 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1581 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1582 Doc fixes (replace `iff').
1584 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1586 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1588 2014-05-04 Leo Liu <sdl.web@gmail.com>
1590 Support Chinese diary entries in calendar and diary. (Bug#17393)
1591 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1592 (calendar-chinese-from-absolute-for-diary)
1593 (calendar-chinese-to-absolute-for-diary)
1594 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1595 (diary-chinese-list-entries): New functions to list and mark
1596 Chinese diary entries in the calendar window.
1597 (diary-chinese-anniversary)
1598 (diary-chinese-insert-anniversary-entry)
1599 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1600 (diary-chinese-insert-yearly-entry): New commands to insert
1601 Chinese diary entries.
1603 * calendar/diary-lib.el (diary-font-lock-keywords):
1604 Support font-locking Chinese dates.
1606 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1607 inserting Chinese diary entries.
1609 * calendar/calendar.el (diary-chinese-entry-symbol):
1610 New customizable variable.
1611 (calendar-mode-map): Add bindings for inserting Chinese diary
1614 2014-05-03 Juri Linkov <juri@jurta.org>
1616 * dired.el (dired-check-switches, dired-switches-recursive-p):
1617 New functions. (Bug#17218)
1618 (dired-switches-escape-p, dired-move-to-end-of-filename):
1619 Use `dired-check-switches'.
1620 (dired-insert-old-subdirs, dired-build-subdir-alist)
1621 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1623 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1625 * simple.el (undo-make-selective-list): New algorithm fixes
1626 incorrectness of position adjustments when undoing in region.
1628 (undo-elt-crosses-region): Make obsolete.
1629 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1630 New functions to adjust positions using undo-deltas.
1632 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1635 the last consecutive closing paren (bug#17345).
1637 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1639 * dired.el (dired-mode): make terminology for eXpunge command
1640 consistent. (Bug#17276)
1642 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1644 * dired.el (dired-initial-position-hook, dired-initial-position):
1647 2014-04-30 Glenn Morris <rgm@gnu.org>
1649 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1651 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1653 * faces.el (face-spec-recalc): Apply X resources only after the
1654 defface spec has been applied. Thus, X resources are no longer
1655 overriden by the defface spec which also fixes issues on win32 where
1656 the toolbar coloring was wrong because it is set through X resources
1657 and was (wrongfully) overriden. (Bug#16694)
1659 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1661 * textmodes/rst.el (electric-pair-pairs): Declare.
1662 (rst-mode): Set it (bug#17131).
1664 2014-04-30 Juri Linkov <juri@jurta.org>
1666 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1667 and `print-level' to nil. (Bug#17351)
1669 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1671 * battery.el (battery-update): Handle the case where battery
1672 status is "N/A" (bug#17319).
1674 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1676 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1677 to syntax-propertize.
1678 (ps-mode-auto-indent): Mark as obsolete.
1679 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1680 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1681 word regexp operators.
1682 (ps-mode-map): Move initialization into declaration. Remove binding
1683 for TAB, RET, >, ], and }.
1684 (ps-mode-syntax-table): Move initialization into declaration.
1685 Don't give word syntax to non-word chars.
1686 (ps-run-mode-map): Move initialization into declaration.
1687 (ps-mode-menu-main): Remove auto-indent entry.
1688 (ps-mode-smie-rules): New function.
1689 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1690 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1691 (ps-mode--string-syntax-table): New const.
1692 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1694 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1695 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1697 2014-04-27 Daniel Colascione <dancol@dancol.org>
1699 * term/xterm.el (xterm-paste): Use large finite timeout when
1700 reading event to avoid putting keys in this-command-keys.
1702 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1704 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1705 (perl-syntax-propertize-function): Use it. Extend handling of
1706 here-docs to the unquoted case.
1708 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1710 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1711 Use equal-including-properties to compare help-echo strings (bug#17331).
1713 2014-04-25 Leo Liu <sdl.web@gmail.com>
1715 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1716 Fix syntax for @. (Bug#17325)
1718 2014-04-25 Daniel Colascione <dancol@dancol.org>
1720 * emacs-lisp/cl.el (gv): Require gv early to break eager
1721 macro-expansion cycles.
1723 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * simple.el (region-active-p): Check there's a mark (bug#17324).
1727 * simple.el (completion-list-mode-map): Use choose-completion for the
1728 mouse binding as well (bug#17302).
1729 (completion-list-mode, completion-setup-function): Adjust docstring and
1730 echo area message accordingly.
1731 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1732 calling convention of choose-completion.
1733 * comint.el (comint-dynamic-list-completions):
1734 * term.el (term-dynamic-list-completions): Accept choose-completion.
1736 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1737 &, |, +, - and * can't be a division (bug#17317).
1739 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1740 features on gnome-terminal (bug#16988).
1742 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1744 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1746 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1747 the declared object, ignore zero or more parens, not zero or one.
1749 2014-04-24 Leo Liu <sdl.web@gmail.com>
1751 * progmodes/xscheme.el (xscheme-expressions-ring)
1752 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1753 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1754 (xscheme-allow-output-p, xscheme-prompt)
1755 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1757 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1758 Comment out unused functions.
1760 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * info.el: Use lexical-binding and cl-lib.
1763 Use defvar-local and setq-local instead of make-local-variable.
1764 (Info-apropos-matches): Avoid add-to-list.
1765 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1767 2014-04-24 Daniel Colascione <dancol@dancol.org>
1769 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1771 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1773 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1775 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1777 * dired.el (dired-insert-set-properties): Do not consider
1778 subdirectory headings and empty lines to be information that
1779 `dired-hide-details-mode' should hide. (Bug#17228)
1781 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1783 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1784 Remove test messages.
1785 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1788 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1790 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1791 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1793 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1795 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1797 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1798 Set "IFS=" when using read builtin, in order to preserve spaces in
1799 the file name. Add test messages for hunting a bug on hydra.
1800 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1802 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1804 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1805 Don't prettify a word within a symbol.
1807 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1809 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1812 2014-04-22 Daniel Colascione <dancol@dancol.org>
1814 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1815 use defun to define `function-put'.
1817 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1819 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1820 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1821 (lisp-mode-variables): Set font-lock-extra-managed-props.
1823 * emacs-lisp/byte-run.el (function-put): New function.
1824 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1825 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1826 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1829 2014-04-22 Daniel Colascione <dancol@dancol.org>
1831 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1832 Add `full-p' parameter; when nil, call `macroexpand' instead of
1835 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1838 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1839 Use lambda function values, not quoted lambdas.
1840 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1842 * emacs-lisp/cl-macs.el
1843 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1844 (cl-struct-slot-value): Conditionally use aref or nth so that the
1845 compiler produces optimal code.
1847 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1850 (inline): Don't inline cl--set-elt.
1851 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1852 Define as inlinable instead.
1853 (cl-struct-set-slot-value): Remove.
1855 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1856 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1859 2014-04-21 Daniel Colascione <dancol@dancol.org>
1861 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1862 last two parameters after all.
1863 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1864 (cl--compiler-macro-assoc,cl-struct-slot-value)
1865 (cl-struct-set-slot-value): Stop using them.
1867 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1870 entry in image-mode-winprops-alist.
1872 2014-04-21 Daniel Colascione <dancol@dancol.org>
1874 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1875 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1876 (byte-compile-toplevel-file-form): Use it.
1878 * emacs-lisp/cl-macs.el:
1879 (cl--loop-let): Properly destructure `while' clauses.
1881 2014-04-20 Daniel Colascione <dancol@dancol.org>
1883 * vc/vc.el (vc-root-dir): New public autoloaded function for
1884 generically finding the current VC root.
1885 * vc/vc-hooks.el (vc-not-supported): New error.
1886 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1888 2014-04-20 Daniel Colascione <dancol@dancol.org>
1890 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1892 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1893 argument in case we're inside a symbol-macrolet.
1894 (cl--do-arglist, cl--compiler-macro-typep)
1895 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1896 environment to `cl--const-expr-val'.
1897 (cl-struct-sequence-type,cl-struct-slot-info)
1898 (cl-struct-slot-offset, cl-struct-slot-value)
1899 (cl-struct-set-slot-value): New functions.
1901 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1903 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1904 assignments such as "case=hello" (bug#17297).
1906 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1908 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1910 (tramp-file-name-handler, tramp-completion-file-name-handler):
1911 Revert patch from 2014-04-10, it isn't necessary anymore.
1912 (tramp-autoload-file-name-handler)
1913 (tramp-register-autoload-file-name-handlers): New defuns.
1914 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1915 (tramp-register-file-name-handlers): Remove also
1916 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1917 Do not autoload its invocation, but eval it after loading of 'tramp.
1919 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1921 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1923 2014-04-17 Daniel Colascione <dancol@dancol.org>
1925 Add support for bracketed paste mode; add infrastructure for
1926 managing terminal mode enabling and disabling automatically.
1929 (xterm-mouse-mode): Simplify.
1930 (xterm-mouse-tracking-enable-sequence)
1931 (xterm-mouse-tracking-disable-sequence): New constants.
1932 (turn-on-xterm-mouse-tracking-on-terminal)
1933 (turn-off-xterm-mouse-tracking-on-terminal):
1934 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1935 parameters instead of random hooks.
1936 (turn-on-xterm-mouse-tracking)
1937 (turn-off-xterm-mouse-tracking): Delete.
1939 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1940 (xterm-paste-ending-sequence): New constant.
1941 (xterm-paste): New command used for bracketed paste support.
1943 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1944 (terminal-init-xterm-bracketed-paste-mode): New function.
1945 (terminal-init-xterm): Call it.
1946 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1947 and tty-mode-reset-strings instead of random hooks.
1948 (xterm-turn-on-modify-other-keys)
1949 (xterm-turn-off-modify-other-keys)
1950 (xterm-remove-modify-other-keys): Delete obsolete functions.
1952 * term/screen.el: Rewrite to just use the xterm code.
1953 Add copyright notice. Mention tmux.
1955 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1957 * image-mode.el (image-mode-window-put): Also update the property of
1958 the "default window".
1959 * doc-view.el (doc-view-new-window-function): If no window
1960 exists, move to the last known page.
1962 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1964 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1965 here-documents (bug#17262).
1967 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1969 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1970 Provide doc strings, as required by snarf-documentation.
1972 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1975 arg of overlays-at. Use `invisible-p'.
1977 * obsolete/lucid.el (extent-at):
1978 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1980 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1982 2014-04-16 João Távora <joaotavora@gmail.com>
1984 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1987 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1989 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1990 Use mapc to loop over a vector. (Bug#17257).
1992 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1994 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1995 patch, there are new problems with file names containing spaces.
1996 Get rid of backticks. (Bug#17238)
1998 2014-04-16 João Távora <joaotavora@gmail.com>
2000 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2003 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2005 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2006 (blink-cursor-mode): Mention customization variables and the
2007 effect of 'blink-cursor-blinks'.
2009 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
2011 * simple.el (undo): Prevent insertion of identity mapping into
2012 undo-equiv-table so as undo-only does not inf loop in the presence
2013 of consecutive nils in undo list.
2015 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
2017 * faces.el (make-face): Deprecate optional argument as it is no
2018 longer needed/used since the conditional X resources handling
2019 has been pushed down to make-face-x-resource-internal itself.
2020 (make-empty-face): Don't pass optional argument to make-face.
2022 2014-04-16 Karl Fogel <kfogel@red-bean.com>
2024 * savehist.el (savehist-save): Remove workaround for a read-passwd
2025 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
2026 noticing that the shim was still present.
2028 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2030 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
2032 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
2034 * faces.el (face-set-after-frame-default): Remove unused local variable.
2036 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * progmodes/grep.el: Use lexical-binding.
2039 (grep-expand-template): Pass explicit lexical env to `eval'.
2040 (zrgrep): Let-bind grep-find-template explicitly.
2042 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2043 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2045 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2047 * international/characters.el <standard-case-table>: Add entries
2048 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2049 Set category of Coptic characters be 'g' (Greek).
2051 2014-04-12 Leo Liu <sdl.web@gmail.com>
2053 * progmodes/octave.el (completion-table-with-cache):
2054 Define if not available.
2055 (octave-goto-function-definition, octave-sync-function-file-names)
2056 (octave-find-definition-default-filename):
2057 Backquote upattern for compatibility.
2059 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
2061 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2062 name twice due to backticks. (Bug#17238)
2064 2014-04-12 Glenn Morris <rgm@gnu.org>
2066 * term/w32-win.el (x-win-suspend-error):
2067 * term/x-win.el (x-win-suspend-error): Sync docs.
2069 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2071 * faces.el (make-face): Remove deprecated optional argument.
2072 The conditional application of X resources is handled directly by
2073 make-face-x-resource-internal since Emacs 24.4.
2074 (make-empty-face): Don't pass optional argument to make-face.
2076 2014-04-11 Glenn Morris <rgm@gnu.org>
2078 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2080 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2082 Ediff's overlay priorities cause more trouble than they solve.
2083 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2084 (ediff-highest-priority): Remove function (bug#17234).
2085 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2086 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2087 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2090 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2092 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2093 entry; use symbol boundaries to avoid mis-matches.
2095 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2097 * net/tramp.el (tramp-file-name-handler)
2098 (tramp-completion-file-name-handler): Avoid recursive loading.
2100 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2101 Quote result also locally.
2103 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2105 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2106 Remove left-over code.
2108 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2109 Reuse the previous comment's indentation unconditionally if it's on its
2112 2014-04-09 Daniel Colascione <dancol@dancol.org>
2114 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2115 `no-syntax-crossing' arguments. Forward to `up-list'.
2116 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2117 Implement logic for escaping from strings. Use narrowing to deal
2120 2014-04-09 Leo Liu <sdl.web@gmail.com>
2122 * net/rcirc.el (rcirc-connection-info): New variable.
2123 (rcirc-connect): Use it to store connection info.
2124 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2126 (rcirc-cmd-reconnect): New command. (Bug#17045)
2127 (rcirc-mode, set-rcirc-encode-coding-system)
2128 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2130 2014-04-09 Daniel Colascione <dancol@dancol.org>
2132 * emacs-lisp/cl-indent.el: Add comment claiming
2133 facility is also good for elisp.
2134 (lisp-indent-find-method): New function.
2135 (common-lisp-indent-function): Recognize cl-loop.
2136 (common-lisp-indent-function-1): Recognize cl constructs; use
2137 `lisp-indent-find-method' instead of `get' directly.
2138 (if): Use else-body style for elisp.
2140 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2142 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2143 Module methods. (Bug#17216)
2145 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2147 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2148 (describe-bindings-internal): Mark obsolete.
2150 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2152 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2153 buffer-file-name, and buffer-file-truename any more.
2155 2014-04-08 Leo Liu <sdl.web@gmail.com>
2157 Use lexical-binding and require cl-lib.
2158 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2159 (rcirc-handler-generic, rcirc-fill-paragraph)
2160 (rcirc-format-response-string, rcirc-target-buffer)
2161 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2162 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2163 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2164 (rcirc-markup-timestamp, rcirc-markup-attributes)
2165 (rcirc-markup-my-nick, rcirc-markup-urls)
2166 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2167 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2168 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2169 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2170 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2171 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2172 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2173 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2174 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2175 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2176 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2179 2014-04-07 João Távora <joaotavora@gmail.com>
2181 * elec-pair.el (electric-pair--syntax-ppss):
2182 When inside comments parse from comment beginning.
2183 (electric-pair--balance-info): Fix typo in comment.
2184 (electric-pair--in-unterminated-string-p): Delete.
2185 (electric-pair--unbalanced-strings-p): New function.
2186 (electric-pair-string-bound-function): New var.
2187 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2188 according to `electric-pair--in-unterminated-string-p'
2190 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2191 Inhibit quote pairing if point-max is inside an unterminated string.
2192 (electric-pair--looking-at-unterminated-string-p): Delete.
2193 (electric-pair--in-unterminated-string-p): New function.
2195 2014-04-07 Glenn Morris <rgm@gnu.org>
2197 * shell.el (shell-directory-tracker):
2198 Go back to just ignoring failures. (Bug#17159)
2200 2014-04-07 João Távora <joaotavora@gmail.com>
2202 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2203 backspace. (bug#16981)
2204 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2205 (electric-pair-backward-delete-char-untabify): Delete.
2206 (electric-pair-mode-map): Bind backspace to a menu item filtering
2207 a new `electric-pair-delete-pair' command.
2208 (electric-pair-delete-pair): New command.
2210 * progmodes/python.el (python-electric-pair-string-delimiter):
2211 Fix triple-quoting electricity. (Bug#17192)
2213 * elec-pair.el (electric-pair-post-self-insert-function):
2214 Don't skip whitespace when `electric-pair-text-pairs' and
2215 `electric-pair-pairs' were used. syntax to
2216 electric-pair--skip-whitespace. (Bug#17183)
2218 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2220 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2223 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2225 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2226 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2228 2014-04-07 Glenn Morris <rgm@gnu.org>
2230 * help.el (view-lossage): Doc tweak.
2232 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2234 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2235 only when inhibit-x-resources is nil, and do that earlier in the
2236 function. Doc fix. (Bug#16694)
2237 (face-spec-choose): Accept additional optional argument, whose
2238 value is returned if no matching attributes are found.
2239 (face-spec-recalc): Use the new optional argument when calling
2240 face-spec-choose. (Bug#16378)
2241 (make-face-x-resource-internal): Do nothing when
2242 inhibit-x-resources is non-nil. Don't touch the default face if
2243 reversed video is given--as was done in previous versions of Emacs.
2244 (face-set-after-frame-default): Don't call
2245 make-face-x-resource-internal here. (Bug#16434)
2247 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2249 * doc-view.el (doc-view-bookmark-jump):
2250 Use `bookmark-after-jump-hook' to jump to the right page after the
2251 buffer is shown in a window. (bug#16090)
2253 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2255 * international/characters.el (mirroring): Fix last change:
2256 instead of loading uni-mirrored.el explicitly, do that implicitly
2257 by creating the 'mirroring' uniprop table. This avoids announcing
2258 the loading of uni-mirrored.el.
2260 2014-04-07 Glenn Morris <rgm@gnu.org>
2262 * files.el (buffer-stale--default-function)
2263 (buffer-stale-function, revert-buffer--default):
2264 * autorevert.el (auto-revert-buffers): Doc tweaks.
2266 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2268 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2270 2014-04-07 Glenn Morris <rgm@gnu.org>
2272 * files.el (make-backup-file-name-function)
2273 (make-backup-file-name, make-backup-file-name--default-function)
2274 (make-backup-file-name-1, find-backup-file-name)
2275 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2276 (buffer-stale--default-function, buffer-stale-function)
2277 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2278 (revert-buffer, revert-buffer--default)
2279 (revert-buffer-insert-file-contents--default-function):
2280 Doc fixes related to defaults no longer being nil.
2281 (make-backup-file-name-function): Bump :version.
2282 Restore nil as a valid but deprecated custom type.
2284 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2287 Handle $' used as a variable (bug#17174).
2289 * progmodes/perl-mode.el (perl-indent-new-calculate):
2290 Handle forward-sexp failure (bug#16985).
2291 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2292 modifiers introducing expressions (bug#17116).
2294 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2296 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2298 2014-04-05 Leo Liu <sdl.web@gmail.com>
2300 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2301 Add define-compilation-mode.
2303 2014-04-04 João Távora <joaotavora@gmail.com>
2305 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2306 parse from comment beginning.
2307 (electric-pair--balance-info): Fix typo in comment.
2308 (electric-pair--in-unterminated-string-p): Delete.
2309 (electric-pair--unbalanced-strings-p): New function.
2310 (electric-pair-string-bound-function): New var.
2311 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2312 according to `electric-pair--in-unterminated-string-p'.
2314 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2317 Move declaration before first use.
2318 (reftex-move-to-next-arg): Silence compiler warning.
2320 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2322 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2323 Use `window-total-width' instead of `window-width'.
2325 2014-04-03 Daniel Colascione <dancol@dancol.org>
2327 * subr.el (set-transient-map): Remove rms's workaround entirely;
2328 use new `suspicious-object' subr to mark our lambda for closer
2331 2014-04-02 Richard Stallman <rms@gnu.org>
2333 * subr.el (set-transient-map): Comment out previous change.
2335 2014-04-02 Glenn Morris <rgm@gnu.org>
2337 * menu-bar.el (menu-bar-file-menu):
2338 * vc/ediff.el (ediff-current-file):
2339 Update for revert-buffer-function no longer being nil by default.
2341 * simple.el (command-execute): Respect nil disabled-command-function.
2343 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2345 * simple.el (command-execute): Do not execute the command when it
2346 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2348 2014-04-02 Juri Linkov <juri@jurta.org>
2350 * dired-aux.el (dired-compress-file): Don't use string-match-p
2351 because its match data is used afterwards.
2353 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2355 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2358 2014-04-02 João Távora <joaotavora@gmail.com>
2360 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2361 Inhibit quote pairing if point-max is inside an unterminated string.
2362 (electric-pair--looking-at-unterminated-string-p):
2364 (electric-pair--in-unterminated-string-p): New function.
2366 2014-04-01 Daniel Colascione <dancol@dancol.org>
2368 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2369 when trying to complete the prompt.
2371 2014-03-31 Leo Liu <sdl.web@gmail.com>
2373 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2374 Refactor out eldoc-documentation-function-default.
2375 (eldoc-documentation-function-default): New function.
2376 (eldoc-documentation-function): Change value.
2378 2014-03-31 Glenn Morris <rgm@gnu.org>
2380 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2382 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2383 (vhdl-compose-components-package, vhdl-compose-configuration):
2384 Abbreviate default-directory (missing from some previous upstream sync).
2386 2014-03-31 Reto Zimmermann <reto@gnu.org>
2388 Sync with upstream vhdl mode v3.35.2.
2389 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2390 (top-level): No longer require assoc.
2391 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2392 New functions. Use throughout to replace aget etc.
2393 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2394 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2395 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2396 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2397 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2398 except `vhdl-compiler'.
2399 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2402 2014-03-31 Glenn Morris <rgm@gnu.org>
2404 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2405 Revert 2014-03-26 merge goof; go back to using defalias.
2407 2014-03-30 Daniel Colascione <dancol@dancol.org>
2409 * comint.el (comint-send-input):
2410 Deactivate completion-in-region-mode before we send comint input.
2413 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2416 2014-03-29 Glenn Morris <rgm@gnu.org>
2418 * textmodes/reftex.el: Manage most autoloads automatically.
2419 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2420 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2421 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2422 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2423 * textmodes/reftex-toc.el: Set generated-autoload-file,
2424 and add autoload cookies for reftex.el.
2425 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2427 2014-03-28 Glenn Morris <rgm@gnu.org>
2429 * cus-start.el (report-emacs-bug-address): Set custom properties.
2430 * mail/emacsbug.el (report-emacs-bug-address):
2431 Variable is now defined in emacs.c.
2433 * mail/emacsbug.el (report-emacs-bug):
2434 Include system-configuration-features.
2436 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2438 * simple.el (cycle-spacing): Never delete spaces on first run by
2439 default, but do so in a new 'fast mode and if there are already
2440 N spaces (the previous behavior).
2441 Compare N with its value in previous invocation so that changing
2442 prefix argument restarts `cycle-spacing' sequence.
2443 The idea is that with this change, binding M-SPC to
2444 `cycle-spacing' should not introduce any changes in behavior of
2445 the binding so long as users do not type M-SPC twice in a raw with
2446 the same prefix argument or lack thereof.
2448 2014-03-28 Glenn Morris <rgm@gnu.org>
2450 * faces.el (term-file-aliases): New variable.
2451 (tty-run-terminal-initialization): Respect term-file-aliases.
2452 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2453 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2454 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2456 2014-03-27 Glenn Morris <rgm@gnu.org>
2458 * startup.el (inhibit-startup-hooks): Doc tweak.
2459 (normal-top-level): Simplify running of hooks.
2460 For window-setup-hook, respect inhibit-startup-hooks.
2461 (command-line-1): Don't set window-setup-hook to nil.
2463 Allow selective autoloading from obsolete/ directory.
2464 * Makefile.in (obsolete-autoloads): New rule.
2465 (autoloads): Run obsolete-autoloads.
2466 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2467 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2469 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2471 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2472 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2474 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2475 Don't propertize `?' or `!' as symbol constituent when after
2478 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2480 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2481 which is no longer needed and causes trouble in GTK builds (bug#17046).
2483 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2484 Use url-insert-file-contents; package-handle-response no longer exists.
2486 2014-03-26 Daniel Colascione <dancol@dancol.org>
2488 * simple.el (process-menu-mode-map): New variable.
2489 (process-menu-delete-process): New command.
2491 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2493 * emacs-lisp/package.el: Fix bug#16733 (again).
2494 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2495 (url-http-target-url): Remove unused declarations.
2496 (package-handle-response): Remove.
2497 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2498 (package--download-one-archive): Use current-buffer instead of
2499 dynamic binding of `buffer'.
2500 (describe-package-1): Do not decode readme-string.
2502 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2504 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2506 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2507 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2508 `remote-file-name-inhibit-cache' to nil in the second pass.
2509 (tramp-find-executable): Do not call "which" on SunOS.
2510 (tramp-send-command-and-check): Fix docstring.
2511 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2512 check whether source directory has set the sticky bit.
2514 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2516 * simple.el (primitive-undo): Only process marker adjustments
2517 validated against their corresponding (TEXT . POS). Issue warning
2518 for lone marker adjustments in undo history. (Bug#16818)
2519 (undo-make-selective-list): Add marker adjustments to selective
2520 undo list based on whether their corresponding (TEXT . POS) is in
2521 the region. Remove variable adjusted-markers, which was unused
2522 and only non nil during undo-make-selective-list.
2523 (undo-elt-in-region): Return nil when passed a marker adjustment
2524 and explain in function doc.
2526 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2528 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2530 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2532 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2533 Match special global variables without curlies, too.
2534 (ruby-font-lock-keywords): Simplify the matcher for special global
2535 variables. Don't require a non-word character after the variable.
2538 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2540 * simple.el (redisplay-highlight-region-function): Increase priority of
2541 overlay to make sure boundaries are visible (bug#15899).
2543 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2545 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2546 (frameset-restore): Compare display strings with equal.
2548 * frame.el (make-frame): Don't quote display name in error message,
2549 it is already a string.
2551 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2553 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2556 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2558 * emacs-lisp/package.el (package--add-to-archive-contents):
2559 Include already installed and built-in packages in
2560 `package-archive-contents'.
2561 (package-install): Don't include already installed packages in the
2562 options during interactive invocation. (Bug#16762)
2563 (package-show-package-list): If the buffer is already displayed in
2564 another window, switch to that window.
2566 2014-03-26 Reto Zimmermann <reto@gnu.org>
2568 Sync with upstream vhdl mode v3.35.1.
2569 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2570 (vhdl-compiler-alist): Doc fix.
2571 (vhdl-goto-line): Remove.
2572 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2573 (vhdl-mode) <paragraph-start>: Fix value.
2574 (vhdl-fix-statement-region): Not `for' in wait-statement.
2575 (vhdl-beautify-region): Also (un)tabify.
2576 (vhdl-get-visible-signals):
2577 Scan declarative part of generate statements.
2578 (vhdl-template-record): Fix indentation for record type declaration.
2579 (vhdl-expand-abbrev, vhdl-expand-paren):
2580 Revert to using fset again rather than defalias.
2581 (vhdl-scan-directory-contents): Tweak.
2582 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2583 (vhdl-compose-components-package):
2584 Replace vhdl-goto-line with forward-line.
2585 (top-level): Tweak speedbar frame selection.
2586 (vhdl-generate-makefile-1): Support for compilers with no
2587 unit-to-file name mapping (create directory with dummy files).
2589 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2591 Sync with upstream verilog-mode revision 702457d.
2592 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2593 (create-lockfiles): Declare.
2594 (verilog-read-decls): Fix module header imports, bug709.
2595 Reported by Victor Lau.
2596 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2597 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2598 interface-only modules, bug721. Reported by Dean Hoyt.
2600 2014-03-26 Glenn Morris <rgm@gnu.org>
2602 * obsolete/gulp.el: Move here from emacs-lisp/.
2604 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2605 Remove fallback aliases, since they are always defined now.
2607 2014-03-24 Daniel Colascione <dancol@dancol.org>
2609 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2610 instead of cl-loop search function.
2612 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2614 * calendar/parse-time.el (parse-time-iso8601-regexp)
2615 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2618 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2620 * net/dns.el (network-interface-list): Define for XEmacs.
2622 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2624 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2625 the network interfaces changed.
2626 (dns-query): Use it to flush the data.
2628 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2630 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2632 2014-03-23 Daniel Colascione <dancol@dancol.org>
2634 Change subword-mode to use `find-word-boundary-function-table' and
2635 replace `capitalized-words-mode'. Also, convert to lexical
2638 * progmodes/cap-words.el: Delete now-obsolete file.
2639 * progmodes/subword.el: Reimplement using
2640 `find-word-boundary-function-table'.
2641 (subword-mode-map): Hollow out.
2642 (capitalized-words-mode): Define as obsolete alias for
2644 (subword-mode, superword-mode): Tweak documentation to reflect new
2645 implementation; call `subword-setup-buffer'.
2646 (subword-forward, subword-capitalize): Add underscore to indicate
2648 (subword-find-word-boundary-function-table): New constant.
2649 (subword-empty-char-table): New constant.
2650 (subword-setup-buffer): New function.
2651 (subword-find-word-boundary): New function.
2653 2014-03-23 Daniel Colascione <dancol@dancol.org>
2655 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2656 list to look for keyword arguments instead of `memq', fixing
2657 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2658 Please make bootstrap.
2660 2014-03-22 Glenn Morris <rgm@gnu.org>
2662 * dired.el (dired-read-regexp): Make obsolete.
2663 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2664 (dired-flag-files-regexp):
2665 * dired-aux.el (dired-mark-read-regexp):
2666 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2668 * startup.el (fancy-startup-text):
2669 * help.el (describe-gnu-project): Visit online info about GNU project.
2671 * help-fns.el (help-fns--interactive-only): New function.
2672 (help-fns-describe-function-functions): Add the above function.
2673 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2674 (next-line, previous-line): Remove hand-written interactive-only
2675 information from doc strings, it is auto-generated now.
2676 * bookmark.el (bookmark-write):
2677 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2678 (epa-mail-import-keys): Mark interactive-only,
2679 and remove hand-written interactive-only information from doc strings.
2680 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2681 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2682 * files.el (not-modified):
2683 * simple.el (mark-whole-buffer): Mark interactive-only.
2685 * emacs-lisp/byte-run.el (defun-declarations-alist):
2686 Add interactive-only. Doc tweak.
2687 (macro-declarations-alist): Doc tweak.
2688 * subr.el (declare): Doc tweak (add xref to manual).
2689 * comint.el (comint-run):
2690 * files.el (insert-file-literally, insert-file):
2691 * replace.el (replace-string, replace-regexp):
2692 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2693 (delete-forward-char, goto-line, insert-buffer, next-line)
2694 (previous-line): Set interactive-only via declare.
2696 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2698 * emacs-lisp/package.el (package-desc): Use the contents of the
2699 quoted form, not its cdr. (Bug#16873)
2701 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2703 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2704 benefit of doc.c; change parameter profile to match the X function.
2706 2014-03-22 Leo Liu <sdl.web@gmail.com>
2708 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2709 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2711 2014-03-21 Richard Stallman <rms@gnu.org>
2713 * battery.el (battery-linux-sysfs): Search for each field
2714 from the beginning of the buffer.
2716 * subr.el (set-transient-map): Clear out function and value
2717 of the temporary symbol when we're done with it.
2719 * mail/rmailsum.el (rmail-summary-delete-forward):
2720 Optimize case of reaching end and handling count.
2721 (rmail-summary-mark-deleted): Optimize when N is current msg.
2722 Don't create new summary line.
2723 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2724 (rmail-summary-undelete-many): Rewrite for speed.
2725 (rmail-summary-msg-number): New function.
2727 * mail/rmail.el (rmail-delete-message): Update summary.
2728 (rmail-undelete-previous-message): Handle repeat count arg.
2729 (rmail-delete-backward, rmail-delete-forward): Likewise.
2731 2014-03-21 Daniel Colascione <dancol@dancol.org>
2733 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2734 information in bug reports.
2736 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2738 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2739 and `tramp-copy-env'.
2741 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2742 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2744 2014-03-21 Glenn Morris <rgm@gnu.org>
2746 * electric.el (electric-indent-post-self-insert-function): Add doc.
2748 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2750 * emacs-lisp/package.el (package-compute-transaction):
2751 Use `version-list-<=' to compare the requirement version against
2752 the version of package already to be installed. Update the error
2753 message. (Bug#16826)
2755 * progmodes/ruby-mode.el (ruby-smie-rules):
2756 Add indentation rule for ` @ '. (Bug#17050)
2758 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2760 * align.el (align-regexp): Remove superfluous backslash.
2762 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2763 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2764 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2765 Fix docstring typos.
2766 (ffap-next): Use C-u in docstring.
2767 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2768 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2769 Remove superfluous backslashes.
2770 (ffap-string-at-point): Reflow docstring.
2772 * server.el (server-host): Reflow docstring.
2773 (server-unload-function): Fix docstring typo.
2774 (server-eval-at): Remove superfluous backslash.
2776 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2777 (skeleton-insert): Doc fix.
2778 (skeleton-insert): Reflow docstring.
2780 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2781 (tty-color-approximate, tty-color-by-index, tty-color-values)
2782 (tty-color-desc): Remove superfluous backslashes.
2784 2014-03-21 Glenn Morris <rgm@gnu.org>
2786 * cus-start.el (history-length): Bump :version.
2788 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2789 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2790 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2791 Don't set `make-backup-files'.
2793 * info.el (info--prettify-description): New function,
2794 to give info-finder descriptions consistent case, punctuation.
2795 (Info-finder-find-node): Use it. Sort packages.
2796 Refer to "description" rather than "commentary".
2798 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2800 * frameset.el (frameset--print-register): New function.
2801 (frameset-to-register): Use it.
2803 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2805 * progmodes/hideif.el (hif-string-to-number): New function.
2806 (hif-tokenize): Use it to understand non-decimal floats.
2808 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2810 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2812 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * electric.el (electric-newline-and-maybe-indent): New command.
2815 Bind it globally to C-j.
2816 (electric-indent-mode): Don't mess with the global map any more.
2817 Don't drop the post-self-insert-hook is some buffer is still using it
2820 * bindings.el (global-map): Remove C-j binding.
2822 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2823 the docstring of functions advised before dumping (bug#16993).
2825 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2827 * ps-print.el (ps-generate-postscript-with-faces):
2828 Explicitly deactivate the mark (bug#16866).
2829 * simple.el (deactivate-mark): Update region highlight.
2831 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2833 * emacs-lisp/package.el (describe-package-1):
2834 Decode commentary (bug#16733).
2836 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2838 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2839 modification of the value argument of :set (bug#16755).
2841 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2843 * simple.el (newline-and-indent): Do autofill (bug#17031).
2845 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2847 * newcomment.el (comment-normalize-vars): Only add escaping check
2848 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2849 (comment-beginning): Use `narrow-to-region' instead of moving back
2851 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2852 (comment-start-skip): Update the docstring.
2854 2014-03-18 Richard Stallman <rms@gnu.org>
2856 * dired.el (dired-display-file): Force use of other window.
2858 2014-03-18 Daniel Colascione <dancol@dancol.org>
2860 * startup.el (tty-handle-args): Remove debug message from 2007.
2862 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2864 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2865 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2866 (advice--make-1, advice-add, advice-remove):
2867 Remove braindead :advice-pending hack.
2869 2014-03-17 Glenn Morris <rgm@gnu.org>
2871 * calendar/calendar.el (calendar-generate-month): Apply weekend
2872 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2874 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2876 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2877 (tramp-call-process): Trace also DESTINATION.
2879 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2880 Quote file names when they are local. Remove superfluous trace.
2882 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2884 * newcomment.el (comment-beginning): If `comment-start-skip'
2885 doesn't match, move back one char and try again. (Bug#16971)
2887 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2888 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2889 Set `comment-start-skip' to a simpler value that doesn't try to
2890 check if the semicolon is escaped (this is handled by
2891 `syntax-ppss' now). (Bug#16971)
2893 * progmodes/scheme.el (scheme-mode-variables): Same.
2895 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2897 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2898 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2899 current (Bug#16816, Bug#17007).
2900 (with-current-buffer-window): New macro doing the same as
2901 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2902 * help.el (help-print-return-message): Warn in doc-string to not
2903 use this in `with-help-window'.
2904 (describe-bindings-internal): Call `describe-buffer-bindings'
2905 from within help buffer. See Juanma's scenario in (Bug#16816).
2906 (with-help-window): Update doc-string.
2907 * dired.el (dired-mark-pop-up):
2908 * files.el (save-buffers-kill-emacs):
2909 * register.el (register-preview): Use `with-current-buffer-window'
2910 instead of `with-temp-buffer-window'.
2912 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2914 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2915 Implement inserting into current buffer, documented in their docstrings.
2916 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2917 (rst-section-tree-point, rst-forward-section, rst-indent)
2918 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2919 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2920 (rst-font-lock-handle-adornment-pre-match-form)
2921 (rst-repeat-last-character): Reflow docstrings.
2922 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2923 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2924 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2925 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2926 Fix docstring typos.
2927 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2928 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2929 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2931 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2933 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2934 for compatibility with other ports.
2935 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2936 from the -xrm command line argument, but in the Nextstep port its value
2937 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2939 * progmodes/python.el (defconst, python-syntax-count-quotes)
2940 (python-indent-region, python-indent-shift-right)
2941 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2942 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2943 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2944 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2945 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2946 (python-shell-buffer-substring, python-shell-send-buffer)
2947 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2948 (python-completion-complete-at-point, python-fill-docstring-style)
2949 (python-eldoc-function, python-imenu-format-item-label)
2950 (python-imenu-format-parent-item-label)
2951 (python-imenu-format-parent-item-jump-label)
2952 (python-imenu--build-tree, python-imenu-create-index)
2953 (python-imenu-create-flat-index): Fix docstring typos.
2954 (python-indent-context, python-shell-prompt-regexp, run-python):
2955 Remove superfluous backslashes.
2956 (python-indent-line, python-nav-beginning-of-defun)
2957 (python-shell-get-buffer, python-shell-get-process)
2958 (python-info-current-defun, python-info-current-line-comment-p)
2959 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2960 (python-indent-post-self-insert-function, python-shell-send-file)
2961 (python-shell-completion-get-completions)
2962 (python-shell-completion-complete-or-indent)
2963 (python-eldoc--get-doc-at-point): Reflow docstrings.
2965 2014-03-14 Glenn Morris <rgm@gnu.org>
2967 * emacs-lisp/package.el (package-menu-mode-map):
2968 Replace use of obsolete function alias. Tweak menu item text.
2970 * info.el (Info-finder-find-node):
2971 Ignore the `emacs' metapackage. (Bug#10813)
2973 * finder.el (finder-list-matches): Include unversioned packages
2974 in the result of a keyword search.
2976 * finder.el (finder--builtins-descriptions): New constant.
2977 (finder-compile-keywords): Use finder--builtins-descriptions.
2979 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2981 * simple.el (blink-matching-paren): Describe the new value,
2982 `jump', enabling the old behavior.
2983 (blink-matching-open): Use that value. (Bug#17008)
2985 2014-03-14 Glenn Morris <rgm@gnu.org>
2987 * finder.el (finder-no-scan-regexp): Add leim-list.
2988 (finder-compile-keywords):
2989 Don't skip files with same basename. (Bug#14010)
2990 * Makefile.in (setwins_finder): New, excluding leim.
2991 (finder-data): Use setwins_finder.
2993 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2994 (help-function-arglist, help-make-usage): Move from here...
2995 * help.el (help-split-fundoc, help-add-fundoc-usage)
2996 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2997 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2999 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3001 * net/socks.el (socks, socks-override-functions)
3002 (socks-find-services-entry):
3003 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3004 (hif-find-ifdef-block):
3005 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3007 * net/tls.el (tls-program): Reflow docstring.
3009 * progmodes/pascal.el (pascal-mode-abbrev-table)
3010 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3011 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3012 (pascal-outline-mode): Fix docstring typos.
3013 (pascal-mode): Let define-derived-mode document mode hook.
3014 (pascal-uncomment-area): Reflow.
3015 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3017 * progmodes/opascal.el (opascal-compound-block-indent)
3018 (opascal-case-label-indent): Fix docstring typos.
3019 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3021 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3023 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3024 Fontify multiple adjacent negation chars. (Bug#17004)
3026 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3028 * emacs-lisp/package.el (package--prepare-dependencies):
3029 Accept requirements without explicit version (bug#14941).
3031 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3033 * register.el (register-separator, copy-to-register): Doc fixes.
3034 (register-preview-default): Remove unnecessary call to concat.
3036 * frameset.el (frameset-restore): When checking for a visible frame,
3037 use the action map instead of calling visible-frame-list.
3039 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3041 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3043 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3045 * window.el (fit-frame-to-buffer): Get maximum width from
3046 display's width instead of height.
3048 2014-03-12 Glenn Morris <rgm@gnu.org>
3050 * desktop.el (desktop-restore-frames)
3051 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3052 (desktop-restore-reuses-frames): Doc tweaks.
3054 * electric.el (electric-indent-mode): Doc fix.
3056 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3058 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3059 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3060 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3061 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3062 (cvs-dired-use-hook): Fix docstring typos.
3063 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3066 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3067 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3068 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3069 (cvs-execute-single-dir): Fix docstring typos.
3071 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3072 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3074 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3076 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3077 Fix docstring typos.
3079 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3081 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3082 called from jump-to-register after unloading the frameset package.
3084 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3086 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3087 (bug#16975). Deactivate the mark before setting it to nil.
3088 (activate-mark): Do nothing if region is already active.
3090 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3092 * frameset.el (frameset--target-display): Remove definition; declare.
3093 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3095 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3098 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3099 when the advice is pending.
3100 (advice-remove): Remove this marker when not needed any more.
3102 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3104 * frameset.el: Separate options for reusing frames and cleaning up.
3105 (frameset--reuse-list): Remove definition; declare.
3106 (frameset--action-map): Declare.
3107 (frameset--find-frame-if): Doc fix.
3108 (frameset--restore-frame): Cache frame action.
3109 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3110 how to clean up the frame list after restoring. Remove cleaning
3111 options from REUSE-FRAMES. Change all keyword values to symbols.
3112 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3114 * desktop.el (desktop-restore-forces-onscreen)
3115 (desktop-restore-reuses-frames): Use non-keyword values.
3116 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3118 2014-03-10 Glenn Morris <rgm@gnu.org>
3120 * files.el (find-file): Doc fix: update info node name.
3122 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3123 Doc fix: remove references to deleted info nodes.
3125 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3127 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3128 Do not add `nil' to the environment, when there's no remote `locale'.
3129 (tramp-find-inline-encoding): Check, that the remote host has
3130 installed perl, before sending scripts.
3132 2014-03-10 Leo Liu <sdl.web@gmail.com>
3134 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3135 Clear eldoc-last-message. (Bug#16920)
3137 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3139 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3142 2014-03-09 Juri Linkov <juri@jurta.org>
3144 * ansi-color.el (ansi-color-names-vector): Copy default colors
3145 from `xterm-standard-colors' that look well on the default white
3146 background (and also on the black background) to avoid illegible
3147 color combinations like yellow-on-white and white-on-white.
3148 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3150 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3152 * frameset.el (frameset-restore): When no frame is visible, do not
3153 generate a list of frames, just make visible the selected one.
3155 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3157 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3158 it only contains the repository root. (Bug#16897)
3160 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3162 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3163 only when `remote-file-name-inhibit-cache' is nil.
3164 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3166 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3168 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3170 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3171 fit-frame-to-buffer variable. Fix doc-string.
3172 (fit-window-to-buffer): Set ONLY argument in call of
3173 fit-frame-to-buffer. Fix doc-string.
3175 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3177 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3178 (tramp-action-password): Clear password cache if needed.
3179 (tramp-read-passwd): Do not clear password cache.
3181 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3182 cache unless it is the first password request.
3184 2014-03-06 Glenn Morris <rgm@gnu.org>
3186 * simple.el (newline): Doc tweak.
3188 * emacs-lisp/shadow.el (load-path-shadows-find):
3189 Ignore dir-locals. (Bug#12357)
3191 2014-03-05 Glenn Morris <rgm@gnu.org>
3193 * files.el (interpreter-mode-alist):
3194 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3196 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3198 * frameset.el (frameset--initial-params): Filter out null entries.
3200 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3202 * window.el (window-min-height, window-min-width):
3203 Rewrite doc-strings.
3204 (window-body-size): Add PIXELWISE argument to make it consistent
3207 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3209 * finder.el (finder-mode-map, finder-mode-syntax-table):
3210 Revert part of 2014-02-28 change.
3212 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3214 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3215 (eww-setup-buffer): Clear next/prev/etc more reliably.
3216 (eww-textarea-map): [tab] doesn't work on tty.
3217 Reported by Mario Lang.
3219 * net/shr.el (shr-map): Ditto.
3221 2014-03-04 Glenn Morris <rgm@gnu.org>
3223 * minibuffer.el (completion-hilit-commonality):
3224 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3226 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3228 * hilit-chg.el (hilit-chg-unload-function): New function.
3229 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3230 (hilit-chg-map-changes): Prefer cardinal number to digit.
3231 (hilit-chg-display-changes): Reflow docstring.
3232 (highlight-changes-rotate-faces): Remove superfluous backslash.
3234 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3236 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3237 `tramp-send-command-and-check'.
3239 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3241 * hexl.el (hexl-address-region, hexl-ascii-region)
3242 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3243 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3244 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3245 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3246 (hexl-mode): Doc fix.
3247 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3248 (hexl-mode-ruler): Fix typos in docstrings.
3250 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3251 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3252 Remove superfluous backslashes.
3253 (strokes-last-stroke, strokes-global-map, strokes-mode):
3255 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3256 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3257 (strokes-distance-squared, strokes-global-set-stroke)
3258 (strokes-global-set-stroke-string): Doc fixes.
3259 (strokes-help): Fix typos; reflow docstring.
3261 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3263 * window.el (window-in-direction): Fix doc-string.
3265 2014-03-04 Glenn Morris <rgm@gnu.org>
3267 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3268 Explicit error if no grammar.
3269 (smie-config-save): Doc fix. Fix quote typo.
3271 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3273 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3274 electric-indent-mode-hook if we obey electric-indent-mode.
3275 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3276 decide whether we obey electric-indent-mode.
3277 (c-change-set-fl-decl-start, c-extend-after-change-region):
3279 (c-electric-indent-mode-hook): Assume we do want to obey
3280 electric-indent-mode.
3282 * electric.el (electric-indent-mode-has-been-called): Remove.
3283 (electric-indent-mode): Fix accordingly.
3285 * files.el (hack-local-variables): Mention file name in warning.
3287 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3289 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3291 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3292 * simple.el (delete-forward-char): Mark as interactive-only.
3294 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3296 * icomplete.el (icomplete-completions):
3297 Follow-up to 2014-03-01 change.
3299 * icomplete.el: Miscellaneous doc fixes.
3300 Use Icomplete everywhere instead of icomplete for consistency.
3301 (icomplete-max-delay-chars): Fix typo.
3302 (icomplete-mode): Use \[].
3303 (icomplete-tidy, icomplete-exhibit): Reflow.
3304 (icomplete-minibuffer-setup-hook, icomplete-completions):
3305 Remove superfluous backlashes.
3307 * ido.el: Miscellaneous doc fixes.
3308 Use Ido everywhere instead of ido or `ido' for consistency.
3309 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3310 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3311 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3312 (ido-separator): Extract obsolescence info from docstring and declare
3313 with make-obsolete-variable.
3314 (ido-minibuffer-setup-hook): Simplify example.
3315 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3316 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3317 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3318 (ido-everywhere): Reflow docstring.
3319 (ido-toggle-vc): Doc fix.
3320 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3321 of long list of keybindings.
3323 2014-03-03 Glenn Morris <rgm@gnu.org>
3325 * frame.el (display-pixel-height, display-pixel-width)
3326 (display-mm-dimensions-alist, display-mm-height)
3327 (display-mm-width): Doc tweaks.
3329 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3331 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3332 case of undo in region.
3334 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3336 * window.el (fit-window-to-buffer): Fix argument in window-size
3337 call when window is horizontally combined.
3339 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3341 * icomplete.el (icomplete-completions): Use string-width.
3342 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3344 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3346 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3347 Highlight regexp options. (Bug#16914)
3349 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3351 * window.el (window--max-delta-1): Round down when calculating
3352 how many lines/columns we can get from a window.
3354 2014-03-01 Glenn Morris <rgm@gnu.org>
3356 * isearch.el (search-invisible): Doc fix.
3358 * minibuffer.el (completion-hilit-commonality):
3359 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3360 * comint.el (comint-dynamic-list-completions): Doc fix.
3361 * comint.el (comint-dynamic-list-completions):
3362 * filecache.el (file-cache-minibuffer-complete):
3363 * tempo.el (tempo-display-completions):
3364 * eshell/em-hist.el (eshell-list-history):
3365 Replace use of obsolete argument of display-completion-list.
3367 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3369 * icomplete.el (icomplete-completions):
3370 Revert back to using "..." when ?… cannot be displayed.
3372 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3374 * finder.el (finder-unload-function): New function.
3376 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3378 * dframe.el (dframe-detach):
3379 * find-dired.el (find-dired, find-name-dired):
3380 * finder.el (finder-mode-map, finder-mode-syntax-table)
3381 (finder-headmark, finder-select, finder-mouse-select):
3382 Fix docstring typos.
3384 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3386 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3387 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3388 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3389 Fix doc-string based on a suggestion by Nicolas Richard
3390 <theonewiththeevillook@yahoo.fr>.
3391 * help.el (with-help-window): Fix doc-string.
3393 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3395 * net/shr.el (shr-image-animate): New option.
3396 (shr-put-image): Respect shr-image-animate.
3398 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3400 * net/tramp-adb.el (tramp-adb-parse-device-names):
3401 Use `accept-process-output'.
3402 (tramp-adb-handle-file-truename): Cache the localname only.
3403 (tramp-adb-handle-make-directory)
3404 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3405 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3406 modes cannot be changed.
3408 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3409 file properties of symlinks.
3411 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3413 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3414 required/optional fields to match development biblatex. (Bug#16781)
3416 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3418 * saveplace.el (toggle-save-place):
3419 Fix argument handling. (Bug#16673)
3421 2014-02-28 Glenn Morris <rgm@gnu.org>
3423 * minibuffer.el (completions-first-difference)
3424 (completions-common-part, completion-hilit-commonality): Doc fixes.
3426 2014-02-28 Karl Berry <karl@gnu.org>
3428 * info.el (Info-mode-map): Add H for describe-mode,
3429 to synchronize with standalone Info.
3431 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3433 * progmodes/sql.el (sql-interactive-mode):
3434 Avoid setting global comint-input-ring-separator. (Bug#16814)
3436 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3438 * net/dbus.el (dbus--init-bus): Declare function.
3439 (dbus-path-local, dbus-interface-local): New defconst.
3440 (dbus-init-bus): Use them.
3441 (dbus-return-values-table): Extend doc.
3442 (dbus-handle-bus-disconnect): Extend error message.
3444 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3446 * subr.el (y-or-n-p): Fix double space issue in message.
3448 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3450 * net/tramp.el (tramp-call-process): Improve trace message.
3451 (tramp-handle-insert-file-contents): Trace error case.
3453 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3454 <insert-directory>: Use `tramp-handle-insert-directory'.
3455 (tramp-adb-handle-insert-directory): Remove function.
3456 (tramp-adb-send-command-and-check): New defun, replacing
3457 `tramp-adb-command-exit-status'. Change all callees.
3458 (tramp-adb-handle-file-attributes)
3459 (tramp-adb-handle-directory-files-and-attributes): Use it.
3460 (tramp-adb-ls-output-name-less-p):
3461 Use `directory-listing-before-filename-regexp'.
3462 (tramp-adb-handle-delete-directory): Flush also file properties of
3463 the truename of directory.
3464 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3465 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3466 (tramp-adb-handle-write-region): Implement APPEND.
3467 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3468 properties correctly.
3469 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3470 variables. Check for connected devices only when needed.
3472 2014-02-27 Glenn Morris <rgm@gnu.org>
3474 * minibuffer.el (completion-table-dynamic)
3475 (completion-table-with-cache): Doc fixes.
3477 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3478 (completing-read-multiple): Doc fixes.
3480 2014-02-27 Daniel Colascione <dancol@dancol.org>
3482 * minibuffer.el (completion--nth-completion): Fix indentation.
3484 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3485 explicit tramp path is empty.
3487 2014-02-27 Glenn Morris <rgm@gnu.org>
3489 * emacs-lisp/crm.el (completing-read-multiple):
3490 Empower help-enable-auto-load.
3492 2014-02-26 Glenn Morris <rgm@gnu.org>
3494 * startup.el (command-line): Don't init the tty in daemon mode.
3496 Avoid calling tty-setup-hook twice, eg if a term file
3497 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3498 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3499 (tty-create-frame-with-faces): Use it.
3500 * startup.el (command-line): Pass run-hook argument
3501 to tty-run-terminal-initialization.
3503 * dired.el (dired-restore-desktop-buffer): Demote errors;
3504 eg in case a glob match fails. (Bug#16884)
3506 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3508 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3509 error from `read-from-string'. (Bug#16850)
3511 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3512 result of `completing-read' in the interactive form. (Bug#16854)
3514 2014-02-25 Glenn Morris <rgm@gnu.org>
3516 * image.el (image-animate, image-animate-timeout):
3517 Stop animating images in dead buffers. (Bug#16878)
3519 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3521 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3523 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3524 * term/sun.el (sun-raw-prefix-hooks):
3525 Use tty-setup-hook instead of term-setup-hook.
3526 (terminal-init-sun): Construct message from bytecomp plist.
3527 * term/wyse50.el (enable-arrow-keys): Doc fix.
3529 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3531 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3532 Fix docstring typos.
3534 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3536 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3538 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3540 * minibuffer.el (completion--try-word-completion):
3541 Fix error when completing M-x commands (bug#16808).
3543 2014-02-24 Leo Liu <sdl.web@gmail.com>
3545 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3547 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3549 * apropos.el (apropos-print): Avoid formatting error when
3550 apropos-do-all and apropos-compact-layout are both t.
3552 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3554 * apropos.el (apropos-property, apropos-all-words-regexp)
3555 (apropos-true-hit, apropos-variable, apropos-print):
3556 Fix docstring typos, and remove obsolete comment.
3558 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3560 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3561 Preserve trailing "/". (Bug#16851)
3563 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3565 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3566 after `=>' (bug#16811).
3567 (ruby-smie-rules): Handle the inconsistent second element of the
3568 list returned by `smie-indent--parent'.
3569 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3572 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3574 * elec-pair.el (electric-pair-text-syntax-table)
3575 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3576 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3577 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3578 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3580 2014-02-22 Glenn Morris <rgm@gnu.org>
3582 * imenu.el (imenu--generic-function): Doc fix.
3584 * register.el (frame-configuration-to-register): Make obsolete.
3586 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3588 * desktop.el (desktop-save-buffer-p): Do not fail when
3589 desktop-files-not-to-save is nil. Return t for true result
3592 2014-02-22 Daniel Colascione <dancol@dancol.org>
3594 * net/secrets.el (secrets-create-item, secrets-search-items):
3595 Check that attribute values are strings, avoiding the construction
3596 of invalid dbus messages.
3598 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3600 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3601 defun-declarations-alist.
3603 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3605 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3608 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3610 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3611 (whitespace-newline, whitespace-trailing, whitespace-line)
3612 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3613 (whitespace-space-after-tab): Fix typo in docstrings.
3615 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3617 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3619 * electric.el (electric-indent-functions-without-reindent):
3620 Add `yaml-indent-line'.
3622 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3624 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3625 It has done nothing for years; should be removed after the release.
3627 * simple.el (choose-completion): Fix docstring typo.
3628 (read-quoted-char-radix): Remove unneeded * in docstring.
3629 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3630 Don't escape parentheses unnecessarily in docstrings.
3632 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3634 Fix handling of window-min-height/-width (Bug#16738).
3635 * window.el (window--dump-window, window--dump-frame):
3637 (window--min-size-1): Account for window dividers.
3638 When window-resize-pixelwise is nil, delay rounding till after the
3639 sum of the window components has been calculated.
3640 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3641 nil make sure at least one text line and two text columns remain
3643 (window-resize): Signal an error when window-resize-apply fails.
3644 (window--resize-child-windows): Fix calculation of by how many
3645 pixels a window can still be shrunk via window-new-normal.
3646 (adjust-window-trailing-edge): Call window--resizable with
3647 correct TRAIL argument.
3649 (with-temp-buffer-window): Don't evaluate BODY within
3650 with-current-buffer (Bug#16816).
3652 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3654 * net/tramp.el (tramp-check-cached-permissions):
3655 Call `file-attributes' with `suffix' being a symbol but a string.
3657 2014-02-21 Daniel Colascione <dancol@dancol.org>
3659 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3660 (dbus-init-bus): New function: call into dbus-init-bus-1
3661 and installs a handler for the disconnect signal.
3662 (dbus-call-method): Rewrite to look for result in cons.
3663 (dbus-call-method-handler): Store result in cons.
3664 (dbus-check-event): Recognize events with nil sender as valid.
3665 (dbus-handle-bus-disconnect): New function. React to bus
3666 disconnection signal by synthesizing dbus error for each
3667 pending synchronous or asynchronous call.
3668 (dbus-notice-synchronous-call-errors): New function.
3669 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3670 is true, not all the time.
3672 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3674 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3675 Remove obsolescence declarations, these variables do not exist anymore.
3677 * savehist.el (savehist-save-minibuffer-history)
3678 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3679 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3680 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3681 mostly, refer to "Savehist mode" when talking about the mode,
3682 and not the function.
3684 * saveplace.el (save-place): Remove redundant info in docstring.
3685 (save-place-forget-unreadable-files, toggle-save-place)
3686 (save-place-forget-unreadable-files, save-place-dired-hook):
3687 Fix typos and remove unneeded backslashes.
3689 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3691 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3692 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3694 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3695 <insert-directory>: Use `tramp-handle-insert-directory'.
3696 (tramp-gvfs-handle-insert-directory): Remove function.
3698 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3699 Call `tramp-handle-insert-directory'.
3701 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3703 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3704 before the start of buffer/region (bug#16799).
3706 2014-02-20 Glenn Morris <rgm@gnu.org>
3708 * isearch.el (search-invisible): Doc fix.
3710 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3712 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3715 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3717 * frameset.el (frameset-restore): Delay removing an old frame's
3718 duplicate id until the new frame has been correctly created.
3720 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3722 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3723 (tramp-check-cached-permissions): Call `file-attributes' if the
3726 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3727 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3729 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3730 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3731 (tramp-gvfs-maybe-open-connection): Set always connection
3732 properties, even if target is mounted already.
3734 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3735 Set tramp-autoload cookie.
3736 (tramp-get-remote-touch): New defun.
3737 (tramp-sh-handle-set-file-times): Use it.
3738 (tramp-sh-handle-directory-files-and-attributes):
3739 Use `tramp-handle-directory-files-and-attributes' if neither stat
3740 nor perl are available on the remote host.
3742 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3743 "/". Write long listing only when "l" belongs to the switches.
3745 * net/trampver.el: Update release number.
3747 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3749 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3751 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3753 * window.el (window-state-put): Allow WINDOW to refer to an
3754 internal window (Bug#16793).
3756 2014-02-19 Glenn Morris <rgm@gnu.org>
3758 * textmodes/remember.el: Move provide statement to end.
3759 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3760 (remember-notes): Doc fixes.
3762 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3764 * delsel.el (delete-char): Restore incorrectly erased property
3767 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3769 * frameset.el (frameset--restore-frame): When a frame is being reused
3770 and its root window is not alive, delete all the frame's windows before
3771 restoring the window state. This works around the issue in bug#16793.
3773 2014-02-18 Glenn Morris <rgm@gnu.org>
3775 * textmodes/remember.el (remember-data-directory)
3776 (remember-directory-file-name-format, remember-store-in-files)
3777 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3778 (remember-notes-save-and-bury-buffer)
3779 (remember-notes--kill-buffer-query): Doc fixes.
3781 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3783 2014-02-17 Alan Mackenzie <acm@muc.de>
3785 Connect electric-indent-mode up with CC Mode. Bug #15478.
3786 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3787 to electric-indent-{,local-}-mode.
3788 (c-basic-common-init): Set electric-indent-inhibit.
3789 Initialise c-electric-flag from electric-indent-mode.
3790 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3791 New hook functions which propagate electric-indent-mode to CC mode.
3793 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3794 hit, toggle electric-indent-local-mode.
3796 * electric.el (electric-indent-mode-has-been-called):
3799 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3801 * frameset.el (frameset-cfg-id): New function.
3802 (frameset--reuse-frame, frameset-restore): Use it.
3803 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3805 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3807 * ido.el (ido-file-internal): Remove unused var `d'.
3808 Use \` for to match BoS. Fit within 80n columns.
3810 2014-02-17 Daniel Colascione <dancol@dancol.org>
3812 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3813 dbus-call-method check for completion using a busy-wait loop with
3816 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3818 Sync with Tramp 2.2.9.
3820 * net/trampver.el: Update release number.
3822 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3824 * ido.el (ido-file-internal): Don't add the name of an existing
3825 directory twice. (Bug#16747)
3827 2014-02-16 Glenn Morris <rgm@gnu.org>
3829 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3830 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3832 2014-02-15 Michael R. Mauger <michael@mauger.com>
3834 * progmodes/sql.el: Version 3.4
3835 (sql-oracle-options): New default value ("-L").
3836 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3837 (sql-placeholders-filter): Correct placeholder pattern.
3838 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3839 (sql-login-delay): New variable.
3840 (sql-product-interactive): Use it.
3842 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3844 * frameset.el (frameset--jump-to-register): Check that buffer is live
3847 2014-02-15 Glenn Morris <rgm@gnu.org>
3849 * info.el (info-initialize): Revert 2014-01-10 change.
3851 2014-02-14 Glenn Morris <rgm@gnu.org>
3853 * replace.el (map-query-replace-regexp)
3854 (read-regexp-defaults-function, read-regexp): Doc fixes.
3856 * dired.el (dired-read-regexp):
3857 * faces.el (list-faces-display):
3858 * misearch.el (multi-isearch-read-matching-buffers)
3859 (multi-isearch-read-matching-files):
3860 * play/cookie1.el (cookie-apropos):
3861 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3863 * textmodes/remember.el (remember): Use frameset-to-register
3864 rather than frame-configuration-to-register.
3866 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3868 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3869 incorrect keybinding.
3871 2014-02-13 Daniel Colascione <dancol@dancol.org>
3873 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3874 when adding overlays so that line numbers from compiler match line
3877 2014-02-13 Glenn Morris <rgm@gnu.org>
3879 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3881 * jit-lock.el (jit-lock-mode): Doc fix.
3883 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3885 * apropos.el (apropos-read-pattern): When the user passes an empty
3886 string, give a more helpful error message than "Wrong type
3887 argument: stringp, nil".
3889 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3893 2014-02-13 Glenn Morris <rgm@gnu.org>
3895 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3897 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3899 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3900 shift-select commands.
3902 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3904 * progmodes/js.el (js-indent-line): Don't widen.
3905 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3907 2014-02-12 Glenn Morris <rgm@gnu.org>
3909 * icomplete.el (icomplete): Add info-link to defgroup.
3910 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3911 (icomplete-minibuffer-map, icomplete-mode)
3912 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3914 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3915 (package-menu-filter): Rename from package-menu-filter-interactive.
3918 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3920 * frameset.el (frameset--jump-to-register): Select the required
3921 window and buffer before restoring position (bug#16696).
3923 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3925 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3927 2014-02-10 Glenn Morris <rgm@gnu.org>
3929 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3931 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3933 * w32-common-fns.el (x-get-selection): Doc fix.
3934 * select.el (x-get-selection): Doc fix. (Bug#15109)
3936 * face-remap.el (face-remap-add-relative)
3937 (face-remap-remove-relative, face-remap-reset-base)
3938 (face-remap-set-base): Call force-mode-line-update to redisplay
3939 the current buffer due to potential change in faces. (Bug#16709)
3941 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3943 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3944 script more robustly.
3946 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3948 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3950 * simple.el (choose-completion): Doc fix (bug#14160).
3952 * subr.el (event-start): Say what a nil EVENT value means.
3954 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3957 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3959 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3961 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3963 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3964 predicate function (bug#15455).
3966 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3968 * ielm.el (inferior-emacs-lisp-mode): Instead of
3969 `comment-use-global-state', set `comment-use-syntax'.
3971 2014-02-10 Glenn Morris <rgm@gnu.org>
3973 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3975 2014-02-09 Alan Mackenzie <acm@muc.de>
3977 Fix c-invalidate-state-cache on narrowed buffers.
3978 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3979 Widen when setting and clearing the CPP delimiter properties.
3981 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3983 * help.el (describe-bindings): Doc fix (bug#9888).
3985 * files.el (save-buffer): Use ARG as the parameter name for
3986 consistency (bug#10346).
3987 (save-buffer): Clarify the 0 argument (bug#10346).
3989 * cus-edit.el (customize-apropos): Fix error string.
3990 (custom-buffer-create): Doc fix (bug#11122).
3991 (custom-sort-items): Doc fix (bug#11121).
3993 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3995 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3996 (icomplete-simple-completing-p): Mention the previous variable.
3998 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3999 meaning of the parameter (bug#12282).
4001 * files.el (find-file-noselect): Clarify prompt when changing
4002 readedness (bug#13261).
4003 (locate-file): Suffixes aren't returned, so don't say that they
4005 (backup-inhibited): Doc clarification (bug#12525).
4007 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4008 before we actually start to delete things (bug#16331).
4010 * subr.el (event-start): Doc fix (bug#14228).
4013 2014-02-09 Glenn Morris <rgm@gnu.org>
4015 * emacs-lisp/warnings.el (lwarn):
4016 Empower help-enable-auto-load. (Bug#15940)
4018 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4020 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4023 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4025 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4026 Insert output at end of buffer. (Bug#16120)
4028 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4030 * simple.el (choose-completion-string-functions): Document new
4031 calling convention (bug#14153).
4032 (execute-extended-command): Clarify doc string (bug#13373).
4034 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4036 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4037 (find-grep-dired): Doc fix (bug#14288).
4039 2014-02-08 Juri Linkov <juri@jurta.org>
4041 * isearch.el (isearch-quote-char): Check character validity
4042 like in `quoted-insert' (bug#16677).
4044 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4046 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4048 * isearch.el (isearch-hide-immediately): Doc clarification
4051 * simple.el (line-move): Document utility function used many
4052 places in the Emacs sources (bug#14843).
4054 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4055 (dired-prev-marked-file): Doc fix (bug#14855).
4056 (dired-up-directory): Doc fix (bug#14848).
4058 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4060 * files.el (file-relative-name): Doc fix (bug#15159).
4062 * fringe.el (fringe-styles): Doc fix (bug#15239).
4064 * isearch.el (isearch-filter-predicate): Documentation typo fix
4067 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4069 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4071 * replace.el (replace-match-maybe-edit): Doc clarification
4074 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4076 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4078 2014-02-08 Glenn Morris <rgm@gnu.org>
4080 * help-fns.el (describe-variable):
4081 Check {file,dir}-local-variables-alist, and buffer-file-name,
4082 in the correct buffer.
4084 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4086 * help-fns.el (describe-variable): Fix the case where
4087 a value is directory-local with no dir-locals file. (Bug#16635)
4089 2014-02-08 Glenn Morris <rgm@gnu.org>
4091 * abbrev.el (edit-abbrevs-mode):
4092 Derive from fundamental-mode. (Bug#16682)
4094 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4096 * simple.el (quoted-insert): Check character validity (bug#16677).
4098 2014-02-07 Juri Linkov <juri@jurta.org>
4100 * desktop.el (desktop-read): Claim the lock when the owner is not
4101 the current process. (Bug#16157)
4103 2014-02-07 Juri Linkov <juri@jurta.org>
4105 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4106 to "\\` ". (Bug#16651)
4108 2014-02-07 Juri Linkov <juri@jurta.org>
4110 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4111 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4112 (desktop-auto-save-cancel-timer): New function with some code from
4113 `desktop-auto-save-set-timer'.
4114 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4115 Instead of setting `desktop-save-mode' to nil, call
4116 `desktop-save-mode' with arg 0. (Bug#16630)
4118 2014-02-07 Glenn Morris <rgm@gnu.org>
4120 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4121 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4122 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4124 * obsolete/iswitchb.el: Move to obsolete/.
4125 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4126 since obsolete/ is not scanned for autoloads.
4127 * emacs-lisp/authors.el (authors-valid-file-names):
4130 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4131 Disable now non-functional find-file-hook.
4133 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4135 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4136 instead of ";" in order to avoid additional prompts. Let heredoc
4137 scripts read from tty. (Bug#16582)
4138 (tramp-send-command): No special handling of heredocs, it isn't
4141 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4144 with a space (bug#16664). Limit the symbols considered to the ones
4145 that are bound or fbound (bug#16646).
4147 2014-02-06 Glenn Morris <rgm@gnu.org>
4149 * epa.el (epa-mail-aliases): Doc fix.
4151 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4153 * emacs-lisp/lisp.el (lisp-completion-at-point):
4154 Use `completion-table-merge' instead of `completion-table-in-turn'
4157 * minibuffer.el (completion-table-merge): New function.
4159 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4161 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4162 (tramp-sh-handle-set-file-acl)
4163 (tramp-sh-handle-start-file-process)
4164 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4165 (tramp-find-executable, tramp-send-command): Use it.
4167 2014-02-05 Glenn Morris <rgm@gnu.org>
4169 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4171 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4173 * progmodes/python.el (python-shell-send-string)
4174 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4176 2014-02-04 Anders Lindgren <andlind@gmail.com>
4178 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4179 the names (bug#16620).
4181 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4183 * faces.el (window-divider): New default value. Rewrite doc-string.
4184 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4186 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4188 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4189 `protected' and `public' can also be called without arguments.
4191 2014-02-03 Glenn Morris <rgm@gnu.org>
4193 * register.el (window-configuration-to-register)
4194 (frame-configuration-to-register): Unadvertise unused argument.
4195 * frameset.el (frameset-to-register): Remove unused argument.
4197 * frameset.el (frameset-to-register):
4198 * kmacro.el (kmacro-to-register):
4199 * register.el (increment-register):
4200 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4201 (calc-append-to-register, calc-prepend-to-register):
4202 * play/gametree.el (gametree-layout-to-register)
4203 (gametree-apply-register-layout):
4204 * textmodes/picture.el (picture-clear-rectangle-to-register)
4205 (picture-yank-rectangle-from-register):
4206 * vc/emerge.el (emerge-combine-versions-register):
4207 Use register-read-with-preview to read registers.
4209 2014-02-03 João Távora <joaotavora@gmail.com>
4211 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4212 when at beginning of (possibly narrowed) buffer.
4214 2014-02-02 Daniel Colascione <dancol@dancol.org>
4216 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4217 Also try to display local help from just before point.
4219 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4221 c-parse-state. Don't "append-lower-brace-pair" in certain
4222 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4223 recognised as a comment.
4225 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4226 as well as normal comment starter.
4227 (c-parse-state-get-strategy): Extra return possibility
4229 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4230 return value list to indicate replacement of a brace-pair cons
4232 (c-parse-state-1): With 'back-and-forward, only call
4233 c-append-lower-brace-pair-to state-cache when cons-separated.
4235 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4237 * term/ns-win.el (ns-suspend-error): New function.
4238 (ns-initialize-window-system): Add ns-suspend-error to
4239 suspend-hook (Bug#16612).
4241 2014-02-02 Daniel Colascione <dancol@dancol.org>
4243 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4244 Make loading cc-mode silent.
4246 2014-02-02 Daniel Colascione <dancol@dancol.org>
4248 * comint.el (comint-prompt-read-only): Change doc to suggest
4251 2014-02-02 Glenn Morris <rgm@gnu.org>
4253 * register.el (register-read-with-preview, point-to-register)
4254 (window-configuration-to-register, frame-configuration-to-register)
4255 (jump-to-register, number-to-register, view-register, insert-register)
4256 (copy-to-register, append-to-register, prepend-to-register)
4257 (copy-rectangle-to-register): Doc fixes.
4259 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4261 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4262 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4263 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4264 * help-fns.el (describe-function-1): Use it.
4266 2014-02-02 Glenn Morris <rgm@gnu.org>
4268 * register.el (register-preview-default): New function,
4269 split from register-preview.
4270 (register-preview-function): Rename from register-preview-functions,
4272 (register-preview): Use register-preview-function.
4273 (register-read-with-preview): Error on non-character event. (Bug#16595)
4275 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4277 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4278 `:' before binary operators (bug#16609). Don't check for `:'
4279 before `[' and `(', or their syntax status. A percent literal
4280 can't end with either.
4281 (ruby-font-lock-keywords): For built-ins that require arguments,
4282 check that they're followed by something that looks like argument
4285 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4287 * subr.el (butlast): Document what an omitted N means (bug#13437).
4290 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4292 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4293 depth shallower (bug#16587).
4294 (shr-tag-svg): Respect `shr-inhibit-images'.
4295 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4297 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4299 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4300 (ruby-smie-grammar): Make "." right-associative. Make its priority
4301 lower than the ternary and all binary operators.
4302 (ruby-smie-rules): Indent "(" relative to the first non-"."
4303 parent, or the first "." parent at indentation.
4304 Use `ruby-align-chained-calls' for indentation of "." tokens.
4307 2014-01-31 Juri Linkov <juri@jurta.org>
4309 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4310 from `make-hash-table'.
4312 * textmodes/ispell.el (ispell-init-process): Change message format
4313 to be consistent with other messages.
4315 2014-01-31 Glenn Morris <rgm@gnu.org>
4317 * delsel.el (delete-selection-mode): Doc fix.
4319 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4320 (trace-function-background): Doc fixes.
4322 * ido.el (ido-use-virtual-buffers): Doc fix.
4323 Reset :version, since the default value has not changed.
4325 * register.el (register-preview-delay, register-read-with-preview):
4328 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4329 do not mess with mail-buffer position (fixes 2009-11-03 change).
4330 * progmodes/cc-mode.el (c-submit-bug-report):
4331 Check auto-fill-mode is bound. (Bug#16592)
4333 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4335 * startup.el (fancy-splash-image-file): New function,
4336 split from fancy-splash-head.
4337 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4338 so that we are both using the same image. (Bug#16574)
4340 2014-01-30 Glenn Morris <rgm@gnu.org>
4342 * simple.el (eval-expression): Doc fix.
4344 * hexl.el (hexl-mode-hook):
4345 * ielm.el (ielm-mode-hook):
4346 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4347 (lisp-interaction-mode-hook):
4348 * progmodes/cfengine.el (cfengine3-documentation-function):
4349 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4351 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4354 is a symbol (bug#16584).
4356 2014-01-30 Glenn Morris <rgm@gnu.org>
4358 * help.el (help-for-help-internal): Add "P" to text.
4360 2014-01-29 Glenn Morris <rgm@gnu.org>
4362 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4364 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4366 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4369 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4371 * progmodes/hideif.el: Extend to full CPP expression syntax.
4372 (hif-token-alist): Add missing tokens.
4373 (hif-token-regexp): Add support for float/octal/hex immediates.
4374 (hif-string-literal-regexp): New const.
4375 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4376 (hif-exprlist): New function.
4377 (hif-parse-if-exp): Use it.
4378 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4379 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4380 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4381 (hif-logxor, hif-comma): New functions.
4383 2014-01-28 Glenn Morris <rgm@gnu.org>
4385 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4387 * indent.el (tab-stop-list): Doc fix. Add :version.
4389 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4390 (cvs-append-to-ignore): Add compatibility alias.
4392 2014-01-27 Glenn Morris <rgm@gnu.org>
4394 * dired.el (dired-hide-details-mode): Don't autoload it,
4395 since it cannot be used outside Dired buffers anyway.
4397 * emulation/cua-base.el (cua-mode): Doc fix.
4399 * dired.el (dired-hide-details-hide-symlink-targets)
4400 (dired-hide-details-hide-information-lines)
4401 (dired-hide-details-mode): Doc fixes.
4403 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4404 * strokes.el (strokes-file): Doc fix. Bump :version.
4405 (strokes-help): Doc fix.
4406 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4407 * emulation/viper.el (viper): Doc fix for custom group.
4408 (top-level): Remove oh-so-no-longer-relevant text about vip.
4409 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4411 * ido.el (ido-save-directory-list-file):
4412 * saveplace.el (save-place-file):
4413 * calendar/timeclock.el (timeclock-file):
4414 * net/quickurl.el (quickurl-url-file):
4415 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4416 * progmodes/idlwave.el (idlwave-config-directory):
4417 * textmodes/remember.el (remember-data-file):
4420 2014-01-26 Glenn Morris <rgm@gnu.org>
4422 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4423 Doc fix. Make obsolete.
4424 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4426 * sort.el (delete-duplicate-lines): Doc fix.
4428 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4430 * progmodes/ada-mode.el (ada):
4431 * woman.el (woman): Link to info manual and Commentary section.
4433 * progmodes/flymake.el (flymake):
4434 * nxml/nxml-mode.el (nxml):
4436 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4437 * htmlfontify.el (htmlfontify):
4440 * ido.el (ido): Link to info manual.
4442 2014-01-25 Leo Liu <sdl.web@gmail.com>
4444 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4446 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4448 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4451 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4453 * net/eww.el (eww-download-callback):
4454 Fix reference to eww-download-directory.
4456 * emacs-lisp/bytecomp.el (byte-compile-file):
4457 Remove unused local variable `file-name'.
4459 2014-01-24 Glenn Morris <rgm@gnu.org>
4461 * woman.el (woman-default-faces, woman-monochrome-faces):
4462 Fix obsolescence specification.
4464 * subr.el (with-demoted-errors): Doc fix.
4466 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4469 (cl--macroexp-fboundp): New function.
4470 (cl--make-type-test): Use it.
4472 2014-01-23 Glenn Morris <rgm@gnu.org>
4474 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4475 * simple.el (eval-expression): Doc fixes.
4477 2014-01-22 Glenn Morris <rgm@gnu.org>
4479 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4481 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4483 * emacs-lisp/package.el: Write files silently.
4484 (package-autoload-ensure-default-file, package--write-file-no-coding)
4485 (package-generate-description-file, package--download-one-archive)
4486 (package-install-from-archive): Tell `write-region' to stay quiet.
4487 (package-menu-mode, package-menu--print-info): Omit the Archive column
4488 if there's only one archive.
4489 (package-all-keywords, package--has-keyword-p): Remove dead code.
4491 2014-01-22 Glenn Morris <rgm@gnu.org>
4493 * version.el (emacs-bzr-version-bzr): Fix typo.
4495 * version.el (emacs-repository-get-version):
4496 Check either .bzr or .git, but not both.
4497 Make the git case actually use the DIR argument, and return nil
4498 rather than the empty string.
4499 Avoid error if .git exists but the git executable is not found.
4501 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4503 Fixes in window size functions around Bug#16430 and Bug#16470.
4504 * window.el (window-total-size, window-size): New argument ROUND.
4505 (window--min-delta-1, window-min-delta, window--max-delta-1):
4506 Be more conservative when calculating the numbers of lines or
4507 columns a window can shrink (Bug#16430).
4508 (fit-window-to-buffer): Simplify code.
4509 * term.el (term-window-width): Call window-body-width again.
4511 2014-01-22 Glenn Morris <rgm@gnu.org>
4513 * image.el (image-format-suffixes): Doc fix.
4515 * international/quail.el (quail-define-package): Doc fix.
4517 * emacs-lisp/authors.el (authors-valid-file-names)
4518 (authors-renamed-files-alist): Additions.
4520 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4521 reverts 2014-01-09 change. (Bug#16422)
4523 * calc/calc-embed.el (thing-at-point-looking-at):
4524 * emacs-lisp/map-ynp.el (x-popup-dialog):
4525 * obsolete/lmenu.el (x-popup-dialog):
4526 * emacs-lisp/package.el (url-recreate-url):
4527 * mail/mailclient.el (clipboard-kill-ring-save):
4528 * subr.el (x-popup-dialog): Update declaration.
4529 * mail/rmail.el (rmail-mime-message-p):
4530 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4532 2014-01-21 Daniel Colascione <dancol@dancol.org>
4534 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4535 Correctly detect when we're inside an arithmetic expansion form
4536 containing nested parenthesis.
4537 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4538 to detect cases where we shouldn't expand "<<" to a heredoc
4541 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4543 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4544 (eldoc--message-command-p): New function.
4545 (eldoc-display-message-p): Use it.
4546 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4547 message is not automatically erased for us.
4548 (eldoc-print-current-symbol-info): Erase previous message, if any.
4550 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4552 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4553 specify it's an interactive function.
4555 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4556 Fix regex used for scanning for citation keys which failed for
4557 citations with optional arguments.
4559 2014-01-21 Leo Liu <sdl.web@gmail.com>
4561 * simple.el (read--expression): Don't enable eldoc-mode.
4563 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * simple.el (move-beginning-of-line): Make sure we don't move forward
4568 2014-01-20 Juri Linkov <juri@jurta.org>
4570 * saveplace.el (toggle-save-place, save-place-to-alist)
4571 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4572 'dired-mode) before checking for dired-directory. (Bug#16477)
4574 2014-01-20 Juri Linkov <juri@jurta.org>
4576 * indent.el (indent-line-to): Use backward-to-indentation
4577 instead of back-to-indentation. (Bug#16461)
4579 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4581 Revert some of the CANNOT_DUMP fix (Bug#16494).
4582 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4583 but fixing this can wait until after the next release.
4584 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4586 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4588 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4589 Use `password-word-equivalents'.
4590 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4591 to t. (Bug#5664, Bug#13124)
4593 2014-01-19 Alan Mackenzie <acm@muc.de>
4595 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4597 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4598 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4599 * progmodes/cc-mode.el (c-before-change, c-after-change)
4600 (c-font-lock-fontify-region): Bind it here.
4602 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4604 * term.el (term-window-width): Call window-text-width instead of
4605 window-width (Bug#16470).
4607 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4609 * simple.el (password-word-equivalents): Remove duplicates.
4610 Sort, to make this easier next time.
4611 Downcase. Omit ": " after "jelszó".
4613 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4615 * term/common-win.el (saved-region-selection): Defvar it.
4616 (x-select-text): Set saved-region-selection (Bug#16382).
4618 2014-01-18 Glenn Morris <rgm@gnu.org>
4620 * emacs-lisp/authors.el (authors-aliases)
4621 (authors-renamed-files-alist): Add some entries.
4623 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4625 * net/tramp.el (tramp-password-prompt-regexp):
4626 Use `password-word-equivalents' if available.
4627 (tramp-action-password, tramp-process-one-action)
4628 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4630 2014-01-17 Chong Yidong <cyd@gnu.org>
4632 * simple.el (password-word-equivalents): New defcustom.
4633 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4635 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4638 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4640 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4641 (ruby-align-to-stmt-keywords): Change the default value.
4642 Use `ruby-alignable-keywords' to generate the possible customization
4644 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4645 keywords, check against the value of `ruby-alignable-keywords'
4646 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4648 2014-01-17 Glenn Morris <rgm@gnu.org>
4650 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4652 Make M-x authors return zero *Authors Errors* from current logs.
4653 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4654 (authors-ignored-files): Add some entries, remove others.
4655 (authors-ambiguous-files, authors-valid-file-names):
4657 (authors-renamed-files-alist): Add, remove, and adjust entries.
4658 (authors-renamed-files-regexps): Add some entries.
4659 Remove some very broad ones. Make some entries `lax'.
4660 (authors-lax-changelogs): New constant.
4661 (authors-disambiguate-file-name): Treat top-level specially.
4662 (authors-lax-changelog-p): New function.
4663 (authors-canonical-file-name): Check file as written against
4664 authors-valid-file-names. Do not special-case etc/.
4665 Handle `lax' logs and authors-renamed-files-regexps elements.
4667 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4669 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4670 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4673 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4675 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4676 Assume we're already in the proper buffer.
4677 Inspired by Anders Lindgren <andlind@gmail.com>.
4678 (follow-post-command-hook): Call it from the right buffer.
4679 (follow-comint-scroll-to-bottom): Adjust call.
4680 (follow-all-followers): Use get-buffer-window-list.
4682 2014-01-15 Daniel Colascione <dancol@dancol.org>
4684 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4685 `buffer-file-name' in interactive-form so that we don't leave
4686 pathless file names in `file-name-history'.
4688 2014-01-15 Juri Linkov <juri@jurta.org>
4690 * indent.el (indent-rigidly): Set deactivate-mark to nil
4691 in transient indentation mode. (Bug#16438)
4693 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4695 * emacs-lisp/package.el (package-desc-keywords): New function
4697 (describe-package-1, package-all-keywords)
4698 (package--has-keyword-p): Use it.
4700 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4702 * simple.el (define-alternatives): When creating the
4703 COMMAND-alternatives variable, assign COMMAND as its definition
4704 name so that `describe-variable' can relocate it.
4706 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4708 * font-lock.el (font-lock-keywords): Fix typo in docstring
4711 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4713 * ispell.el (ispell-region): Reset `in-comment' for new line
4714 instead of wrongly reset `add-coment' (bug#13577).
4716 2014-01-14 Daiki Ueno <ueno@gnu.org>
4718 * epa-file.el (epa-file-write-region): Encode the region according
4719 to `buffer-file-format'. Problem reported at:
4720 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4722 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4724 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4725 so it applies in the right buffer (bug#16410).
4727 2014-01-13 Daniel Colascione <dancol@dancol.org>
4729 * textmodes/rst.el (rst-define-key): Provide deprecated
4730 keybindings through named functions instead of anonymous ones so
4731 that "??" doesn't appear in describe-mode output.
4733 2014-01-13 Bastien Guerry <bzg@gnu.org>
4735 * simple.el (define-alternatives): Call the selected command
4736 interactively. When setting `COMMAND--implementation' for the
4737 first time, tell the user how to chose another implementation.
4738 Enhance the docstring.
4740 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4742 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4743 (log-edit--match-first-line): New function.
4744 (log-edit-font-lock-keywords): Use it.
4745 (log-edit-mode): Make jit-lock-defer-multiline work.
4747 2014-01-13 Bastien Guerry <bzg@gnu.org>
4749 * rect.el (rectangle-mark-mode): When the region is not active,
4750 display a message saying that the mark as been set and that
4751 rectangle mode is in use.
4752 (rectangle--highlight-for-redisplay): Only put an overlay with a
4753 visible vertical bar when (display-graphic-p) is non-nil.
4754 This partially fixes Bug#16403.
4756 2014-01-13 Juri Linkov <juri@jurta.org>
4758 * info.el (Info-find-file): Go to DIR before displaying the error
4759 about a nonexistent file if no previous Info file is visited.
4760 Use `user-error' instead of `error' for "Info file %s does not exist".
4761 (Info-find-node-2): In case of a nonexistent node in unwind forms
4762 go to the Top node if there is no previous node to revert to.
4765 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4767 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4768 * window.el (fit-frame-to-buffer): Fix doc-string.
4769 Respect window-min-height/-width. Fit pixelwise when
4770 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4771 when avoiding that frame goes partially off-screen.
4772 (fit-window-to-buffer): Respect window-min-height/-width
4775 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4778 after an empty line.
4780 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * net/shr.el (shr-render-region): Autoload.
4784 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4786 * net/eww.el (eww-download-directory): Rename from
4787 `eww-download-path' (Bug#16419).
4789 2014-01-12 Leo Liu <sdl.web@gmail.com>
4791 * dired-x.el (dired-mode-map): Fix last change.
4793 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4795 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4798 * emacs-lisp/generic.el (generic--normalize-comments):
4799 Rename from generic--normalise-comments. All uses changed.
4800 * play/bubbles.el (bubbles--neighborhood-score)
4801 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4802 (bubbles--neighborhood-available)
4803 (bubbles--update-neighborhood-score):
4804 Rename from names with 'neighbourhood'. All uses changed.
4806 2014-01-12 Leo Liu <sdl.web@gmail.com>
4808 Re-implement the feature of showing eldoc info after editing.
4809 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4810 (eldoc-edit-message-commands): New function.
4811 (eldoc-print-after-edit): New variable.
4812 (eldoc-pre-command-refresh-echo-area): Emit message only by
4813 eldoc-message-commands.
4814 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4815 if eldoc-print-after-edit is set. (Bug#16346)
4816 * simple.el (read--expression): Enable eldoc-mode.
4817 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4819 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4820 Eric S. Raymond <esr@thyrsus.com>
4822 * version.el (emacs-repository-get-version): Enhance so the
4823 function works correctly in either a Bazaar or Git repo.
4825 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4827 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4828 Goes with removal of the joke manpages from /etc.
4830 2014-01-10 Kenichi Handa <handa@gnu.org>
4832 * mail/rmail.el (rmail-get-coding-system):
4833 Check rmail-get-coding-function before "funcall"ing it.
4835 2014-01-10 Glenn Morris <rgm@gnu.org>
4837 * emacs-lisp/authors.el (authors-fixed-entries):
4838 Update for files that no longer exist.
4840 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4842 * version.el (emacs-bzr-get-version): Restore compatibilty with
4845 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4847 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4850 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4852 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4854 2014-01-10 Chong Yidong <cyd@gnu.org>
4856 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4858 2014-01-10 Anders Lindgren <andlind@gmail.com>
4860 * follow.el (follow-cache-command-list): Include right-char and
4863 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4866 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4867 * woman.el (woman-mark-horizontal-position):
4868 Rename from woman-mark-horizonal-position. Use changed.
4870 2014-01-10 Glenn Morris <rgm@gnu.org>
4872 * info.el (info-initialize): If running uninstalled, ensure our
4873 own info files are always found first, even if INFOPATH is set.
4875 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4877 2014-01-09 David Engster <deng@randomsample.de>
4879 * emacs-lisp/eieio-custom.el:
4880 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4881 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4882 * emacs-lisp/eieio.el: Regenerate autoloads.
4884 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4886 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4887 following renames. (Bug#8756)
4889 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4891 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4893 (activate-mark): Add `no-tmm' argument.
4894 (set-mark, push-mark-command): Use it instead of running
4895 activate-mark-hook by hand.
4897 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4899 In preparation for the move to git, sanitize out some
4900 Bazaar-specific names.
4902 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4904 * version.el (emacs-bzr-version): Name changed to
4905 emacs-repository-version. Obsolete-variable alias made.
4906 * loadup.el: Follow through on this name change.
4907 * mail/emacsbug.el (report-emacs-bug): Factor out any
4908 assumption about the version control system in use.
4910 2014-01-08 David Engster <deng@randomsample.de>
4912 * help-fns.el (help-fns-describe-function-functions):
4913 New variable to call functions for augmenting help buffers.
4914 (describe-function-1): Remove explicit calls to
4915 `help-fns--compiler-macro', `help-fns--parent-mode' and
4916 `help-fns--obsolete'. Put them in above new variable instead, and
4917 call them through `run-hook-with-args'.
4918 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4919 `eieio-describe-class'. Not meant for interactive use anymore,
4920 but to augment existing help buffers. Remove optional second
4921 argument. Create proper button for file location.
4922 Rewrite function to use `insert' instead of `princ' and `prin1' where
4924 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4925 (eieio-method-def, eieio-class-def): Move further up.
4926 (describe-method, describe-generic, eieio-describe-method):
4928 (eieio-help-constructor, eieio-help-generic): Rename from
4929 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4930 Rewrite to use `insert' in the current buffer and use proper help
4932 (eieio-help-find-method-definition)
4933 (eieio-help-find-class-definition): Also accept symbols as
4935 (eieio-help-mode-augmentation-maybee): Remove.
4936 (eieio-describe-class-sb): Use `describe-function'.
4937 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4938 Add `eieio-help-generic' and `eieio-help-constructor'.
4940 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4943 * language/china-util.el (hz-ascii-designation):
4944 Rename from hz-ascii-designnation.
4945 (hz-ascii-designation): Rename from hz-ascii-designnation.
4948 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4950 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4953 2014-01-08 Bastien Guerry <bzg@gnu.org>
4955 * emacs-lisp/package.el (package-delete):
4956 Correctly delete the package from package-alist.
4958 2014-01-08 Daiki Ueno <ueno@gnu.org>
4960 * emacs-lisp/package.el (url-recreate-url): Declare.
4961 (url-http-target-url): Declare.
4962 (package-handle-response): Include requested URL in the error message.
4963 (package--check-signature): Don't re-signal errors from
4964 package--with-work-buffer. Suggested by Stefan Monnier.
4966 2014-01-07 Bastien Guerry <bzg@gnu.org>
4968 * minibuffer.el (completion--try-word-completion): When both a
4969 hyphen and a space are possible candidates for the character
4970 following a word, display both candidates. (Bug#15980)
4972 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4974 * window.el (balance-windows-2): While rounding don't give a
4975 window more than the remainder. Bug#16351, bug#16383.
4977 2014-01-07 Glenn Morris <rgm@gnu.org>
4979 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4980 (menu-bar-help-menu): Use view-external-packages instead.
4982 2014-01-07 Bastien Guerry <bzg@gnu.org>
4984 * emacs-lisp/package.el (package-delete): Also delete the package
4985 name from `package-alist', not its description only.
4987 2014-01-07 Glenn Morris <rgm@gnu.org>
4989 * help.el (view-external-packages):
4990 * menu-bar.el (menu-bar-help-extra-packages):
4991 Visit efaq.info rather than etc/MORE.STUFF.
4993 2014-01-07 Juri Linkov <juri@jurta.org>
4995 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4996 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4998 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4999 that shadows RET. (Bug#16342)
5001 2014-01-07 Chong Yidong <cyd@gnu.org>
5003 * isearch.el (isearch-yank-char, isearch-yank-word)
5004 (isearch-yank-line): Doc fix.
5006 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5008 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5009 * emacs-lisp/elint.el (elint-find-builtins):
5010 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5011 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5012 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5013 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5014 * apropos.el (apropos-safe-documentation):
5015 * subr.el (symbol-file): Remove redundant fboundp.
5016 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5018 2014-01-06 Bastien Guerry <bzg@gnu.org>
5020 * hl-line.el (global-hl-line-overlay): Make a local variable.
5021 (global-hl-line-overlays): New variable to store all overlays.
5022 (global-hl-line-mode): Don't delete overlays from the current
5023 buffer when `global-hl-line-sticky-flag' is non-nil.
5024 (global-hl-line-highlight): Add new overlays to
5025 `global-hl-line-overlays'.
5026 (global-hl-line-unhighlight-all): New function to delete all
5027 overlays when turning off `global-hl-line-mode'.
5028 This fixes Bug#16183.
5030 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5032 * subr.el (set-transient-map): Fix nested case and docstring.
5034 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5036 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5039 2014-01-06 Daniel Colascione <dancol@dancol.org>
5041 Fix defun navigation in vc log view.
5043 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5044 like `beginning-of-defun'.
5045 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5046 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5047 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5048 (log-view-extract-comment): Call `log-view-current-entry' directly
5049 instead of relying on broken `log-view-beginning-of-defun' behavior.
5051 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5054 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5055 * emacs-lisp/debug.el (cancel-debug-on-entry):
5056 * epg.el (epg-error-to-string):
5057 * files.el (recover-file):
5058 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5059 * mail/emacsbug.el (report-emacs-bug-hook):
5060 * mail/sendmail.el (mail-recover):
5061 * ses.el (ses-yank-resize):
5062 * term/ns-win.el (ns-print-buffer):
5063 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5064 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5066 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5068 2014-01-06 Leo Liu <sdl.web@gmail.com>
5070 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5071 to avoid shadowing global key. (Bug#16354)
5073 2014-01-06 Daniel Colascione <dancol@dancol.org>
5075 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5078 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5080 * window.el (balance-windows): Add mising t to fix Bug#16351.
5082 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5084 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5086 (shr-insert): If we have a word that's longer than `shr-width',
5087 break after it anyway. Otherwise we'll do no breaking once we get
5090 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5092 * net/eww.el (eww): Support single/double quote for search.
5093 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5094 (eww-history-quit): Delete and use quit-window.
5095 (eww-history-kill): Delete, because it doesn't work well and
5097 (eww-history-mode-map): Delete some keys and add easy-menu.
5099 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5101 Fix misspelling of 'chinese' in rx (Bug#16237).
5102 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5105 Change subword regexps back to vars (Bug#16296).
5106 * progmodes/subword.el (subword-forward-regexp)
5107 (subword-backward-regexp): Change these back to variables.
5109 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5111 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5112 syntax-begin-function (bug#16247).
5114 2014-01-03 Chong Yidong <cyd@gnu.org>
5116 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5117 (advice--docstring): Delete variable.
5118 (advice--make-1): Leave the docstring empty.
5119 (advice-add): Use function-documentation for advised docstring.
5121 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5122 Ignore function-documentation property when getting documentation.
5123 (ad-activate-advised-definition): Use function-documentation
5124 generate the docstring.
5125 (ad-make-advised-definition): Don't call
5126 ad-make-advised-definition-docstring.
5127 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5130 * progmodes/sql.el (sql-help): Use function-documentation instead
5131 of dynamic-docstring-function property. No need to autoload now.
5132 (sql--help-docstring): New variable.
5133 (sql--make-help-docstring): Use it.
5135 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5137 * ielm.el (ielm-tab): Retarget.
5138 (ielm-map): Use ielm-tab for tab.
5139 (ielm-complete-filename): Use comint-filename-completion.
5140 (ielm-complete-symbol): Remove.
5141 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5142 remove ielm-tab from completion-at-point-functions (bug#16224).
5144 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5145 Beware signals raised by predicates (bug#16201).
5147 2014-01-02 Richard Stallman <rms@gnu.org>
5149 * dired-aux.el (dired-do-print): Handle printer-name.
5151 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5152 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5153 (rmail-epa-decrypt): Turn off mime processing.
5155 * mail/rmail.el (rmail-make-in-reply-to-field):
5156 Add parens in message-id.
5158 * mail/rmail.el (rmail-get-coding-function): Variable.
5159 (rmail-get-coding-system): Use it.
5161 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5163 * international/mule-conf.el: Unify the charset indian-is13194.
5164 (indian-is13194): Specify unify-map.
5166 2013-12-31 Leo Liu <sdl.web@gmail.com>
5168 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5170 2013-12-30 Daniel Colascione <dancol@dancol.org>
5172 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5173 of printing a useless when we resume from sleep.
5175 * progmodes/sh-script.el
5176 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5177 in indentation code. (Bug#16233)
5179 2013-12-28 João Távora <joaotavora@gmail.com>
5181 * elec-pair.el (electric-pair-post-self-insert-function):
5182 Don't open extra newlines at beginning of buffer. (Bug#16272)
5184 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5186 * frame.el (window-system-for-display): Don't allow to create a
5187 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5189 2013-12-28 Glenn Morris <rgm@gnu.org>
5191 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5194 * apropos.el (apropos-match-face):
5195 * calculator.el (calculator-displayer):
5196 * dabbrev.el (dabbrev-search-these-buffers-only):
5197 * face-remap.el (buffer-face-mode-face):
5198 * simple.el (yank-handled-properties):
5199 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5200 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5201 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5202 (hashcash-double-spend-database):
5203 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5204 (ruby-deep-indent-paren-style):
5205 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5206 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5207 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5208 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5209 Specify custom types.
5211 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5212 * bookmark.el (bookmark-bmenu-use-header-line):
5213 * doc-view.el (doc-view-scale-internally):
5214 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5215 * register.el (register-preview-delay):
5216 * net/shr.el (shr-bullet):
5217 * progmodes/cfengine.el (cfengine-cf-promises)
5218 (cfengine-parameters-indent):
5219 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5220 * textmodes/reftex-vars.el (reftex-label-regexps):
5221 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5223 * net/tls.el (tls-certtool-program): Fix default value.
5225 * desktop.el (desktop-restore-in-current-display):
5226 * newcomment.el (comment-empty-lines):
5227 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5228 (idlwave-pad-keyword):
5229 * progmodes/tcl.el (tcl-tab-always-indent):
5230 * textmodes/reftex-vars.el (reftex-index-default-tag):
5231 * elec-pair.el (electric-pair-skip-whitespace):
5232 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5234 * emacs-lisp/authors.el (authors-ignored-files)
5235 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5237 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5239 * shell.el (shell-dynamic-complete-command): Doc fix.
5240 (shell--command-completion-data): Shell completion now matches
5241 executable filenames from the current buffer's directory, on
5242 systems in which this behavior is the default (windows-nt, ms-dos).
5244 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5246 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5248 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5250 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5253 * electric.el: Move all electric-pair-* to elec-pair.el.
5254 * elec-pair.el: New file, split from electric.el.
5256 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5258 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5259 indentation level is larger than the width, because that will
5261 (shr-insert): Fill repeatedly long texts, so that Japanese is
5262 formatted correctly (bug#16263).
5263 (shr-find-fill-point): Off by one error in comparison with the
5266 2013-12-26 João Távora <joaotavora@gmail.com>
5268 * electric.el (electric-pair-mode): More flexible engine for skip-
5269 and inhibit predicates, new options for pairing-related functionality.
5270 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5271 if that keeps or improves their balance in buffers.
5272 (electric-pair-delete-adjacent-pairs): Delete the pair when
5273 backspacing over adjacent matched delimiters.
5274 (electric-pair-open-extra-newline): Open extra newline when
5275 inserting newlines between adjacent matched delimiters.
5276 (electric--sort-post-self-insertion-hook):
5277 Sort post-self-insert-hook according to priority values when
5278 minor-modes are activated.
5279 * simple.el (newline-and-indent): Call newline with interactive
5281 (blink-paren-post-self-insert-function): Set priority to 100.
5282 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5283 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5284 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5285 electric-pair-open-newline-between-pairs to nil.
5287 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5289 * progmodes/python.el: Use lexical-binding.
5290 (python-nav-beginning-of-defun): Stop searching ASAP.
5292 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5294 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5295 Fix interactive spec. Doc fix. (Bug#15754)
5297 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5299 * emacs-lisp/byte-run.el (eval-when-compile):
5300 * progmodes/cc-defs.el (cc-eval-when-compile):
5301 Fix edebug spec (bug#16184).
5303 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5305 * net/shr.el (shr-visit-file): Remove debugging function.
5306 (shr-insert): Don't infloop if we can't find a good place to break
5307 the line (bug#16256).
5309 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5311 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5312 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5313 python-nav-lisp-forward-sexp-safe.
5314 (python-nav--forward-sexp): New argument SAFE allows switching
5315 forward sexp movement behavior for parens.
5316 (python-nav-forward-sexp): Throw errors on unterminated parens
5318 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5319 (python-nav-backward-sexp-safe): New functions.
5320 (python-shell-buffer-substring):
5321 Use `python-nav-forward-sexp-safe'.
5323 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5325 * net/shr.el (shr-find-fill-point): Don't break lines before a
5327 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5328 (shr-find-fill-point): Remove the special checks for the quotation
5329 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5331 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5333 * net/eww.el (eww-form-textarea): Use a different face for
5334 textareas than text input since they have different keymaps
5337 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5339 * progmodes/python.el (python-nav-beginning-of-statement):
5340 Speed up (Bug#15295).
5342 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5344 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5345 the window configuration.
5347 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5349 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5350 we run on MS-Windows or MS-DOS.
5352 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5354 * window.el (balance-windows-area): Call window-size instead of
5355 window-height and window-width. Bug#16241.
5357 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5359 * net/eww.el (eww-bookmark-quit): Remove.
5360 (eww-bookmark-browse): Restore the window configuration when you
5361 choose a bookmark (bug#16144).
5363 2013-12-24 Daniel Colascione <dancol@dancol.org>
5365 * icomplete.el: Remove redundant :group arguments to `defcustom'
5367 (icomplete-show-matches-on-no-input): New customizable variable.
5368 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5369 we have something to show.
5370 (icomplete-exhibit): Compute completions even if we have no user input.
5372 2013-12-23 Daniel Colascione <dancol@dancol.org>
5374 * icomplete.el: Move `provide' to end of file.
5376 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5378 * net/gnutls.el (gnutls-verify-error): Add version tag.
5380 2013-12-23 Chong Yidong <cyd@gnu.org>
5382 * subr.el (set-transient-map): Rename from
5383 set-temporary-overlay-map. Doc fix.
5385 * face-remap.el (text-scale-adjust):
5386 * indent.el (indent-rigidly):
5387 * kmacro.el (kmacro-call-macro):
5388 * minibuffer.el (minibuffer-force-complete):
5389 * repeat.el (repeat):
5390 * simple.el (universal-argument--mode):
5391 * calendar/todo-mode.el (todo-insert-item--next-param):
5392 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5394 * indent.el (indent-rigidly): Use substitute-command-keys.
5396 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5398 * net/eww.el (eww-tag-select): Add text-property to jump to next
5400 (eww): Add non-supported ftp error.
5402 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5404 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5405 comments. Handle electric indent after typing `?' and `!'.
5407 2013-12-22 Chong Yidong <cyd@gnu.org>
5409 * faces.el (face-spec-recalc): If the theme specs are not
5410 applicable to a frame, fall back on the defface spec.
5411 This prevents themes from obliterating faces on low-color terminals.
5413 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5415 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5416 after `{'. We need it after block openers, and it doesn't seem
5417 to hurt after hash openers.
5419 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5421 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5422 extracted from `ruby-smie-rules'.
5423 (ruby--electric-indent-chars): New variable.
5424 (ruby--electric-indent-p): New function.
5425 (ruby-mode): Use `electric-indent-functions' instead of
5426 `electric-indent-chars'.
5428 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5430 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5432 (ruby-smie-rules): Indent plus one level after `=>'.
5434 2013-12-21 Richard Stallman <rms@gnu.org>
5436 * simple.el (newline): Doc fix.
5438 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5440 * net/eww.el (eww-list-histories, eww-list-histories)
5441 (eww-history-browse, eww-history-quit, eww-history-kill)
5442 (eww-history-mode-map, eww-history-mode): New command and
5443 functions to list browser histories.
5444 (eww-form-text): Support text form with disabled
5445 and readonly attributes.
5446 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5448 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5450 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5451 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5452 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5453 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5455 (eww-bookmark-mode-map): Add menu.
5456 (eww-render, eww-mode): Use `setq-local'.
5457 (eww-tool-bar-map): New variable.
5458 (eww-mode): Set `tool-bar-map'.
5459 (eww-view-source): Check for `html-mode' with `fboundp'.
5461 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5463 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5464 elements with text inside. Also remove debugging.
5466 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5468 * cus-start.el (all): Add ns-use-srgb-colorspace.
5470 2013-12-21 Chong Yidong <cyd@gnu.org>
5472 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5473 undefined. Thus, theme settings for undefined faces do not take
5474 effect until the faces are defined with defface, the same as with
5477 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5478 (face-spec-reset-face): Don't assign extra properties in temacs.
5479 (face-spec-recalc): Apply X resources too.
5481 2013-12-21 Chong Yidong <cyd@gnu.org>
5483 * faces.el (face-spec-set):
5484 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5485 * custom.el (defface): Doc fixes (Bug#16203).
5487 * indent.el (indent-rigidly-map): Add docstring, and move commands
5488 into named functions.
5489 (indent-rigidly-left, indent-rigidly-right)
5490 (indent-rigidly-left-to-tab-stop)
5491 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5492 indentation direction based on bidi direction, and accumulate
5493 sequential commands in a single undo boundary.
5494 (indent-rigidly--pop-undo): New utility function.
5496 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5498 * faces.el (read-face-name): Require crm.el when using crm-separator.
5500 2013-12-20 Daniel Colascione <dancol@dancol.org>
5502 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5503 so that we don't reflow comments into the shebang line.
5505 2013-12-20 Juri Linkov <juri@jurta.org>
5507 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5508 a position when `dired-directory' is non-nil. Check integer
5509 positions with `integerp'.
5510 (toggle-save-place, save-places-to-alist): Add check for
5512 (save-place-find-file-hook): Check integer positions with
5514 (save-place-dired-hook): Use `dired-goto-file' when
5515 `dired-filename' is found in the assoc list. Check integer
5516 positions with `integerp'.
5517 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5519 * dired.el (dired-initial-position-hook): Rename back from
5520 `dired-initial-point-hook'.
5521 (dired-initial-position): Rename `dired-initial-point-hook' to
5522 `dired-initial-position-hook'.
5523 (dired-file-name-at-point): Doc fix. (Bug#15329)
5525 2013-12-20 Juri Linkov <juri@jurta.org>
5527 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5528 (read-regexp-suggestions): New function.
5529 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5530 Use `read-regexp-suggestions'. Add non-empty default to history
5532 (occur-read-regexp-defaults-function): Remove function.
5533 (occur-read-primary-args): Use `regexp-history-last' instead of
5534 `occur-read-regexp-defaults-function'.
5536 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5537 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5538 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5539 `hi-lock-read-regexp-defaults-function'. Doc fix.
5540 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5541 with `find-tag-default-as-symbol-regexp'. Doc fix.
5542 (hi-lock-read-regexp-defaults): Remove function.
5543 (hi-lock-regexp-okay): Add check for null.
5545 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5546 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5548 * subr.el (find-tag-default-as-symbol-regexp): New function.
5549 (find-tag-default-as-regexp): Move symbol regexp formatting to
5550 `find-tag-default-as-symbol-regexp'.
5552 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5554 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5557 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5559 * calendar/todo-mode.el: New implementation of item insertion
5560 commands and key bindings.
5561 (todo-key-prompt): New face.
5562 (todo-insert-item): New command.
5563 (todo-insert-item--parameters): New defconst, replacing defvar
5564 todo-insertion-commands-args-genlist.
5565 (todo-insert-item--param-key-alist): New defconst, replacing
5566 defvar todo-insertion-commands-arg-key-list.
5567 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5568 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5569 (todo-insert-item--next-param): New functions.
5570 (todo-insert-item--args, todo-insert-item--argleft)
5571 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5573 (todo-key-bindings-t): Change binding of "i" from
5574 todo-insertion-map to todo-insert-item.
5575 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5576 (todo-insertion-command-name, todo-insertion-commands-names)
5577 (todo-define-insertion-command, todo-insertion-commands)
5578 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5580 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5582 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5583 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5585 (todo-move-category): Allow choosing a non-existing todo file to
5586 move the category to, and create that file.
5587 (todo-default-priority): New user option.
5588 (todo-set-item-priority): Use it.
5589 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5590 (desktop-restore-file-buffer): Declare.
5591 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5592 (todo-modes-set-2): Locally set desktop-save-buffer to
5593 todo-desktop-save-buffer.
5594 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5595 (auto-mode-alist): Add autoload cookie.
5597 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5599 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5600 helpers.el was a poor choice of name.
5601 (string-remove-prefix): New function.
5602 (string-remove-suffix): New function.
5604 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5606 Fix assignment for new window total sizes.
5607 * window.el (window--pixel-to-size): Remove function.
5608 (window--pixel-to-total-1, window--pixel-to-total):
5609 Fix calculation of new total sizes.
5611 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5613 * comint.el (comint-output-filter): Fix rear-nonsticky property
5614 placement (Bug#16010).
5616 2013-12-20 Chong Yidong <cyd@gnu.org>
5618 * faces.el (read-color): Minor fix for completion function.
5620 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5622 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5623 New option. (Bug#16182)
5624 (ruby-smie--indent-to-stmt-p): Use it.
5625 (ruby-smie-rules): Revert the logic in the handling of `when'.
5626 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5627 (ruby-deep-arglist, ruby-deep-indent-paren)
5628 (ruby-deep-indent-paren-style): Update docstrings to note that the
5629 vars don't have any effect with SMIE.
5631 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5633 * calc/calc.el (calc-enter, calc-pop): Use the variable
5634 `calc-context-sensitive-enter'.
5636 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5638 * net/shr.el (shr-insert): Protect against infloops in degenerate
5641 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5643 * progmodes/octave.el (octave): Add link to manual and octave
5645 (octave-mode-menu): Link to octave-mode manual.
5647 2013-12-20 Leo Liu <sdl.web@gmail.com>
5649 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5650 insertion using skeleton-end-newline. (Bug#16138)
5652 2013-12-20 Juri Linkov <juri@jurta.org>
5654 * replace.el (occur-engine): Use `add-face-text-property'
5655 to add the face property to matches and titles. (Bug#14645)
5657 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5658 the palette of other hi-lock colors.
5659 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5661 2013-12-19 Juri Linkov <juri@jurta.org>
5663 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5664 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5665 (minibuffer-history-symbol): Move variable declaration closer to
5668 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5671 2013-12-19 Juri Linkov <juri@jurta.org>
5673 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5675 (log-edit-hook): Add it to :options. (Bug#16170)
5677 2013-12-19 Juri Linkov <juri@jurta.org>
5679 * simple.el (eval-expression-print-format): Don't check for
5680 command names and the last command. Always display additional
5681 formats of the integer result in the echo area, and insert them
5682 to the current buffer only with a zero prefix arg.
5683 Display character when char-displayable-p is non-nil.
5684 (eval-expression): With a zero prefix arg, set `print-length' and
5685 `print-level' to nil, and insert the integer values from
5686 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5688 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5689 `eval-last-sexp-arg-internal'. Doc fix.
5690 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5691 `eval-last-sexp-print-value'. Doc fix.
5692 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5693 Set `print-length' and `print-level' to nil when arg is zero.
5694 (eval-last-sexp): Doc fix.
5695 (eval-defun-2): Print the integer values from
5696 `eval-expression-print-format' at the end.
5698 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5699 values from `eval-expression-print-format' at the end.
5701 * ielm.el (ielm-eval-input): Print the integer
5702 values from `eval-expression-print-format' at the end.
5704 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5706 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5707 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5709 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5711 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5712 (hl-line-highlight, global-hl-line-highlight): Use it.
5713 (hl-line-overlay): Use defvar-local.
5715 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5717 * term/ns-win.el: Require dnd.
5718 (global-map): Remove drag items.
5719 (ns-insert-text, ns-set-foreground-at-mouse)
5720 (ns-set-background-at-mouse):
5721 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5722 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5725 2013-12-19 Glenn Morris <rgm@gnu.org>
5727 * emacs-lisp/ert.el (ert-select-tests):
5728 Fix string/symbol mixup. (Bug#16121)
5730 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5732 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5733 keywords to their parent.
5735 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5737 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5738 first arg to be a string (fixed dead code), or an operator symbol.
5739 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5741 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5742 did nothing. Don't respond to `(:after ".")', it will be called
5743 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5744 change anything. Only return indentation for binary operators
5745 when they are hanging. De-dent opening paren when its parent is
5746 `.', otherwise it looks bad when the dot is not at bol or eol
5749 2013-12-19 Juri Linkov <juri@jurta.org>
5751 * replace.el (query-replace-read-args): Split a non-negative arg
5752 and a negative arg into separate elements.
5753 (query-replace, query-replace-regexp, replace-string)
5754 (replace-regexp): Add arg `backward'. Doc fix.
5755 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5756 move point to the beginning of the match.
5757 (replace-search, replace-highlight): Use new arg `backward'
5758 to set the value of `isearch-forward'.
5759 (perform-replace): Add arg `backward' and use it to perform
5760 replacement backward. (Bug#14979)
5762 * isearch.el (isearch-query-replace): Use a negative prefix arg
5763 to call `perform-replace' with a non-nil arg `backward'.
5765 2013-12-18 Juri Linkov <juri@jurta.org>
5767 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5768 to the default list. Move `log-edit-show-files' to the end.
5769 Add more available functions to options.
5770 (log-edit): Move default specific settings to
5771 `log-edit-insert-message-template'. Don't move point.
5772 (log-edit-insert-message-template): New function.
5773 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5776 2013-12-18 Juri Linkov <juri@jurta.org>
5778 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5779 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5781 2013-12-18 Leo Liu <sdl.web@gmail.com>
5783 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5786 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5788 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5789 formats for displaying file sizes when the -s switch is given.
5790 Instead, compute a separate format for displaying the size in
5791 blocks, which is displayed in addition to the "regular" size.
5792 When -h is given in addition to -s, produce size in blocks in
5793 human-readable form as well. (Bug#16179)
5795 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5797 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5798 Reference tables with ~\ref{...} instead of only \ref{...}.
5800 2013-12-18 Chong Yidong <cyd@gnu.org>
5802 * cus-edit.el (custom-magic-alist): Fix "themed" description
5805 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5806 is non-nil, do not create a new entry in the symbol's theme-value
5807 or theme-face property; update theme-settings only (Bug#14664).
5808 (custom-available-themes): Doc fix.
5810 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5813 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5815 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5817 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5820 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5822 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5824 2013-12-18 Glenn Morris <rgm@gnu.org>
5826 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5827 * cus-start.el (load-prefer-newer): New option.
5829 2013-12-18 Le Wang <l26wang@gmail.com>
5831 * comint.el (comint-previous-matching-input-from-input):
5832 Retain point (Bug#13404).
5834 2013-12-18 Chong Yidong <cyd@gnu.org>
5836 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5838 2013-12-18 Glenn Morris <rgm@gnu.org>
5840 * mail/emacsbug.el (report-emacs-bug):
5841 Only mention enable-multibyte-characters if non-standard.
5843 2013-12-17 Juri Linkov <juri@jurta.org>
5845 * arc-mode.el (archive-extract-by-file): Check if directory exists
5846 before deletion to not show irrelevant errors if it doesn't exist.
5848 2013-12-17 Juri Linkov <juri@jurta.org>
5850 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5853 * net/eww.el (browse-web): Add alias to `eww'.
5854 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5855 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5857 * net/browse-url.el (browse-url-browser-function): Move `eww'
5858 closer to similar functions.
5860 * startup.el (fancy-startup-screen, fancy-about-screen):
5861 Set browse-url-browser-function to eww-browse-url locally.
5864 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5866 * window.el (window--pixel-to-total): Remove unused `mini' var.
5867 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5868 (split-window): Remove unused `new' var.
5869 (window--display-buffer): Remove unused `frame' and `delta' vars.
5870 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5873 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5875 * dired.el (dired-mark-pop-up):
5876 * register.el (register-preview): Don't bind
5877 split-height-threshold here since it's now done in
5878 display-buffer-below-selected.
5880 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5882 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5883 xterm-rgb-convert-to-16bit.
5884 (rxvt-register-default-colors): Standardize with
5885 xterm-register-default-colors (Bug#14078).
5887 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5889 * simple.el (kill-region): Pass mark first, then point, so that
5890 kill-append works right (Bug#12819).
5891 (copy-region-as-kill, kill-ring-save): Likewise.
5893 2013-12-17 Leo Liu <sdl.web@gmail.com>
5895 * net/rcirc.el (rcirc-add-face):
5896 * eshell/em-prompt.el (eshell-emit-prompt):
5897 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5900 2013-12-17 Chong Yidong <cyd@gnu.org>
5902 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5903 Suggested by Xue Fuqiao.
5905 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5907 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5909 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5911 * net/shr.el (shr-insert-document): Remove unused var
5912 `shr-preliminary-table-render'.
5913 (shr-rescale-image): Remove unused arg `force'.
5914 (shr-put-image): Update calls accordingly.
5915 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5917 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5919 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5920 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5921 :close-all, to see which indentation method to use (Bug#16116).
5922 (smie-rules-function): Document the method :close-all.
5924 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5926 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5928 * net/eww.el (eww-display-html): If we can't find the anchor we're
5929 looking for, then go to point-min.
5931 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5933 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5934 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5935 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5936 Expand dir too, in case it's relative.
5938 2013-12-16 Juri Linkov <juri@jurta.org>
5940 * desktop.el (desktop-auto-save-timeout): Change default to
5941 `auto-save-timeout'. Doc fix.
5942 (desktop-save): Skip the timestamp in desktop-saved-frameset
5943 when checking for auto-save changes.
5944 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5945 `desktop-auto-save' is called repeatedly by the idle timer.
5946 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5947 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5950 2013-12-16 Juri Linkov <juri@jurta.org>
5952 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5954 (isearch-pre-command-hook): Check `this-command' for symbolp.
5956 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5958 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5960 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5962 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5963 (cfengine3--current-function): Bring in the current-function
5964 functionality from `cfengine3--current-word'.
5965 (cfengine3-completion-function): Bring in the
5966 bounds-of-current-word functionality from
5967 `cfengine3--current-word'.
5969 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5971 * window.el (display-buffer-below-selected):
5972 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5974 2013-12-16 Leo Liu <sdl.web@gmail.com>
5976 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5977 Remove NOMSG arg and all uses changed.
5979 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5981 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5982 (cua--deactivate-rectangle): Don't deactivate the mark.
5983 (cua-set-rectangle-mark): Don't set mark-active since
5984 cua--activate-rectangle already does it for us.
5985 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5986 non-rectangular region.
5988 * emulation/cua-base.el (cua-repeat-replace-region):
5989 Use with-current-buffer.
5991 * net/gnutls.el: Use cl-lib.
5992 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5994 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5996 * emacs-lisp/package.el (package-built-in-p): Support both
5997 built-in and the package.el converted package descriptions.
5998 (package-show-package-list): Allow keywords.
5999 (package-keyword-button-action): Use it instead of
6000 `finder-list-matches'.
6001 (package-menu-filter-interactive): Interactive filtering (by
6003 (package-menu--generate): Support keywords and change keymappings
6004 and headers when they are given.
6005 (package--has-keyword-p): Helper function.
6006 (package-menu--refresh): Use it.
6007 (package--mapc): Helper function.
6008 (package-all-keywords): Use it.
6009 (package-menu-mode-map): Set up menu items and keybindings to
6010 provide a filtering UI.
6012 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6014 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6015 the behavior when a certificate fails validation. Defaults to
6016 old behavior: never abort, just warn.
6017 (gnutls-negotiate): Use it.
6019 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6021 * window.el (display-buffer-below-selected): Never split window
6022 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6024 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6026 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6027 (package-buffer-info): Use it (bug#15108).
6029 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * icomplete.el (icomplete-completions): Make sure the prefix is already
6032 displayed elsewhere before hiding it (bug#16219).
6034 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6036 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6037 open-paren tokens when preceded by a open-paren, too.
6038 (ruby-smie-rules): Handle virtual indentation after open-paren
6039 tokens specially. If there is code between it and eol, return the
6040 column where is starts (Bug#16118).
6042 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6044 * progmodes/cfengine.el: Fix `add-hook' doc.
6045 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6046 (cfengine3--current-word): Fix parameters.
6047 (cfengine3-make-syntax-cache): Simplify further.
6048 (cfengine3-completion-function, cfengine3--current-function):
6049 Use `assq' for symbols.
6050 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6052 2013-12-13 Glenn Morris <rgm@gnu.org>
6054 * loadup.el (load-path): Warn if site-load or site-init changes it.
6055 No more need to reset it when bootstrapping.
6057 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6059 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6060 locations for cf-promises.
6061 (cfengine-mode-syntax-functions-regex): New caching variable.
6062 (cfengine3-fallback-syntax): Fallback syntax for cases where
6063 cf-promises doesn't run.
6064 (cfengine3--current-word): Reimplement using
6065 `cfengine-mode-syntax-functions-regex'.
6066 (cfengine3-completion-function, cfengine3--current-function):
6067 Use `cfengine3-make-syntax-cache' directly.
6068 (cfengine3-clear-syntax-cache): New function.
6069 (cfengine3-make-syntax-cache): Simplify and create
6070 `cfengine-mode-syntax-functions-regex' on demand.
6071 (cfengine3-format-function-docstring): Don't call
6072 `cfengine3-make-syntax-cache' explicitly.
6074 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6076 Fix windmove-find-other-window broken after pixelwise resizing
6078 * windmove.el (windmove-other-window-loc): Revert change from
6080 (windmove-find-other-window): Call window-in-direction.
6081 * window.el (window-in-direction): New arguments SIGN, WRAP and
6082 MINI to emulate original windmove-find-other-window behavior.
6084 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6086 * simple.el (blink-matching--overlay): New variable.
6087 (blink-matching-open): Instead of moving point, highlight the
6088 matching paren with an overlay
6089 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6091 * faces.el (paren-showing-faces, show-paren-match)
6092 (show-paren-mismatch): Move from paren.el.
6094 2013-12-13 Leo Liu <sdl.web@gmail.com>
6096 * indent.el (indent-region): Disable progress reporter in
6097 minibuffer. (Bug#16108)
6099 * bindings.el (visual-order-cursor-movement): Fix version.
6101 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6103 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6104 Also match after beginning of line.
6105 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6106 files. Thanks to Russell Sim. (Bug#15378)
6108 2013-12-13 Juri Linkov <juri@jurta.org>
6110 * simple.el <Keypad support>: Remove key bindings duplicated
6111 with bindings.el. (Bug#14397)
6113 2013-12-13 Juri Linkov <juri@jurta.org>
6115 * comint.el (comint-mode-map): Replace `delete-char' with
6116 `delete-forward-char'. (Bug#16109)
6118 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6120 * progmodes/python.el (python-indent-calculate-indentation):
6121 Fix de-denters cornercase. (Bug#15731)
6123 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6125 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6126 (advice--make): Pay attention to `depth'.
6127 (advice--make-1): Don't autoload commands eagerly.
6128 * emacs-lisp/elp.el (elp-instrument-function):
6129 * emacs-lisp/trace.el (trace-function-internal):
6130 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6132 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6134 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6136 * term/w32-win.el (w32-handle-dropped-file):
6137 * startup.el (normal-top-level):
6138 * net/browse-url.el (browse-url-file-url):
6139 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6140 decode file names using 'utf-8' rather than
6141 file-name-coding-system.
6143 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6145 * progmodes/python.el (python-indent-context)
6146 (python-indent-calculate-indentation): Fix auto-identation
6147 behavior for comment blocks. (Bug#15916)
6149 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6151 * progmodes/python.el (python-indent-calculate-indentation):
6152 When determining indentation, don't treat "return", "pass", etc., as
6153 operators when they are just string constituents. (Bug#15812)
6155 2013-12-12 Juri Linkov <juri@jurta.org>
6157 * uniquify.el (uniquify-buffer-name-style): Change default to
6158 `post-forward-angle-brackets'.
6160 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6161 `uniquify'. Change default to `post-forward-angle-brackets'.
6163 2013-12-11 Glenn Morris <rgm@gnu.org>
6165 * emacs-lisp/package.el (finder-list-matches):
6166 Autoload rather than falsely declaring.
6168 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6170 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6171 (eww-mode-map): Use them.
6173 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6175 * window.el (display-buffer-in-side-window): Fix doc-string
6178 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6180 * vc/vc-git.el: Silence byte-compiler warnings.
6181 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6182 (log-edit-set-header): Declare.
6184 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6186 * Makefile.in (custom-deps, finder-data): Run output file names
6187 through unmsys--file-name. (Bug#16099)
6189 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6191 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6192 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6194 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6195 instead of deleting the selection "by hand" (bug#16098).
6196 Rely on insert-for-yank to yank rectangles.
6197 (cua-highlight-region-shift-only): Mark obsolete.
6198 (cua-mode): Don't enable/disable transient-mark-mode,
6199 shift-select-mode (cua-mode works both with and without them), and
6200 pc-selection-mode (obsolete).
6201 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6202 (cua--deactivate-rectangle): Deactivate it.
6204 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6205 (delete-selection-helper): Make sure yank starts at the top of the
6207 (minibuffer-keyboard-quit): Use region-active-p.
6209 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6211 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6212 to `delete' (bug#16109).
6214 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6216 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6217 info manual and show keybindings and set `:group' keyword.
6219 2013-12-11 Juri Linkov <juri@jurta.org>
6221 * delsel.el (delete-active-region): Let-bind `this-command'
6222 to prevent `kill-region' from changing its original value.
6223 (delete-selection-helper): Handle `overwrite-mode' for the type
6224 `kill' exactly the same way as for the type `t'.
6225 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6226 Support more commands. (Bug#13312)
6228 2013-12-11 Juri Linkov <juri@jurta.org>
6230 * bindings.el: Map kp keys to non-kp keys systematically
6231 with basic modifiers control, meta and shift. (Bug#14397)
6233 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6235 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6236 "Close browser" menu items. Fix wrong function of "List
6239 2013-12-11 Juri Linkov <juri@jurta.org>
6241 * misearch.el (multi-isearch-buffers): Set the value of
6242 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6243 arg of isearch-forward to t.
6244 (multi-isearch-buffers-regexp): Set the value of
6245 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6246 arg of isearch-forward-regexp to t.
6247 (multi-isearch-files): Set the value of
6248 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6249 arg of isearch-forward to t.
6250 (multi-isearch-files-regexp): Set the value of
6251 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6252 arg of isearch-forward-regexp to t. (Bug#16035)
6254 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6255 arg of isearch-forward to t.
6256 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6257 arg of isearch-forward-regexp to t.
6258 (dired-isearch-filter-filenames): Remove unnecessary check for
6259 `dired-isearch-filenames'.
6261 * comint.el (comint-history-isearch-backward):
6262 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6263 (comint-history-isearch-backward-regexp):
6264 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6266 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6268 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6269 unmsys--file-name. (Bug#16099)
6271 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6273 * emacs-lisp/package.el (package-keyword-button-action):
6274 Remove finder.el require dependency.
6276 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6278 * emacs-lisp/package.el: Require finder.el.
6279 (describe-package-1): Add keyword buttons.
6280 (package-make-button): New convenience function.
6281 (package-keyword-button-action): Keyword button action using
6282 `finder-list-matches'.
6284 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6286 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6289 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6291 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6294 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6296 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6297 after the end of a percent literal.
6299 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6301 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6302 Handle caret-delimited strings (Bug#16079).
6304 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6306 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6307 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6308 `ruby-parse-partial' (Bug#16078).
6310 2013-12-09 Leo Liu <sdl.web@gmail.com>
6312 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6314 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6316 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6317 (js-switch-indent-offset): New option.
6318 (js--proper-indentation): Use it. And handle the case when
6319 "default" is actually a key in an object literal.
6320 (js--same-line): New function.
6321 (js--multi-line-declaration-indentation): Use it.
6322 (js--indent-in-array-comp, js--array-comp-indentation):
6324 (js--proper-indentation): Use them, to handle array comprehension
6327 2013-12-08 Leo Liu <sdl.web@gmail.com>
6329 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6330 (flymake-make-overlay): Remove arg MOUSE-FACE.
6331 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6333 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6335 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6337 (redisplay-highlight-region-function): Use it.
6339 * emulation/cua-base.el (cua--explicit-region-start)
6340 (cua--last-region-shifted): Remove.
6341 (cua--deactivate): Use deactivate-mark.
6342 (cua--pre-command-handler-1): Don't handle shift-selection.
6343 (cua--post-command-handler-1): Don't change transient-mark-mode.
6344 (cua--select-keymaps): Use region-active-p rather than
6345 cua--explicit-region-start or cua--last-region-shifted.
6346 (cua-mode): Enable shift-select-mode.
6348 2013-12-08 Leo Liu <sdl.web@gmail.com>
6350 * progmodes/flymake.el (flymake-popup-current-error-menu):
6351 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6352 (flymake-posn-at-point-as-event, flymake-popup-menu)
6353 (flymake-make-emacs-menu): Remove. (Bug#16077)
6355 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6357 * rect.el (rectangle-mark-mode): Activate mark even if
6358 transient-mark-mode is off (bug#16066).
6359 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6360 is > mark and at bolp.
6362 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6363 (region-extract-function): Use it.
6364 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6365 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6367 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6368 kill-ring-save, kill-region, delete-char, delete-forward-char.
6369 Ignore self-insert-iso.
6371 * emulation/cua-gmrk.el (cua--init-global-mark):
6372 Ignore `self-insert-iso'.
6374 * emulation/cua-base.el (cua--prefix-copy-handler)
6375 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6376 checking cua--rectangle.
6377 (cua-delete-region): Use region-extract-function.
6378 (cua-replace-region): Delete function.
6379 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6380 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6381 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6382 (cua--init-keymaps): Don't remap delete-selection commands.
6383 (cua-mode): Use delete-selection-mode instead of rolling our own
6386 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6387 Obey region-extract-function.
6389 Make registers and delete-selection-mode work on rectangles.
6390 * register.el (describe-register-1): Don't modify the register's value.
6391 (copy-to-register): Obey region-extract-function.
6392 * delsel.el (delete-active-region): Obey region-extract-function.
6394 2013-12-08 Leo Liu <sdl.web@gmail.com>
6396 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6397 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6398 (flymake-compilation-prevents-syntax-check)
6399 (flymake-start-syntax-check-on-newline)
6400 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6401 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6402 (flymake-xml-program, flymake-master-file-dirs)
6403 (flymake-master-file-count-limit)
6404 (flymake-allowed-file-name-masks): Relocate.
6405 (flymake-makehash, flymake-float-time)
6406 (flymake-replace-regexp-in-string, flymake-split-string)
6407 (flymake-get-temp-dir): Remove.
6408 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6409 (flymake-current-row, flymake-selected-frame)
6410 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6411 related functions. (Bug#16077)
6413 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6415 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6417 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6419 * help-fns.el (describe-function-1): Use new advice-* functions
6420 rather than old ad-* functions. Fix function type description and
6421 source links for advised functions and subrs.
6423 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6425 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6427 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6429 * progmodes/compile.el (compilation-start):
6430 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6432 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6433 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6435 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6437 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6438 Touch up the last change.
6440 2013-12-06 Leo Liu <sdl.web@gmail.com>
6442 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6443 (inferior-octave-startup): Always use "octave> " for prompt.
6444 (octave-goto-function-definition)
6445 (octave-sync-function-file-names)
6446 (octave-find-definition-default-filename): Remove redundant backquotes.
6448 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6450 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6452 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6453 where appropriate already.
6454 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6455 end of method names (Bug#15874).
6457 2013-12-06 Juri Linkov <juri@jurta.org>
6459 * isearch.el (isearch--saved-overriding-local-map):
6460 New internal variable.
6461 (isearch-mode): Set it to the initial value of
6462 `overriding-terminal-local-map'.
6463 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6464 with `isearch--saved-overriding-local-map'. (Bug#16035)
6466 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6468 * progmodes/octave.el (inferior-octave-completion-table):
6469 Turn back into function, use `completion-table-with-cache'
6470 (Bug#11906). Update all references.
6472 * minibuffer.el (completion-table-with-cache): New function.
6474 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6476 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6478 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6480 * net/eww.el (eww-current-source): New variable to store page
6482 (eww-display-html, eww-mode, eww-save-history)
6483 (eww-restore-history): Use it.
6484 (eww-view-source): New command to view page source.
6485 Opportunistically uses `html-mode' to highlight the buffer.
6486 (eww-mode-map): Install it.
6488 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6490 * net/dbus.el (dbus-unregister-service)
6491 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6493 (dbus-unregister-service): Skip :serial entries in
6494 `dbus-registered-objects-table'.
6495 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6497 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6499 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6500 around keywords with extra `split-string' argument.
6502 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6504 * windmove.el (windmove-other-window-loc): Handle navigation
6505 between windows (excluding the minibuffer window - Bug#16017).
6507 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6509 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6510 in D-Bus type syntax.
6511 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6512 preserve unibyte strings. (Bug#16048)
6514 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6517 Call force-mode-line-update is the proper buffer (bug#16042).
6519 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6521 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6522 `log-edit-remember-comment', make argument optional. Adjust all
6524 (log-edit-mode): Add `log-edit-remember-comment' to
6525 `kill-buffer-hook' locally.
6526 (log-edit-kill-buffer): Don't remember comment explicitly since
6527 the buffer is killed anyway.
6529 2013-12-04 Juri Linkov <juri@jurta.org>
6531 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6532 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6534 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6536 * notifications.el (notifications-close-notification): Call the
6537 D-Bus method with ID being a `:uint32'. (Bug#16030)
6539 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6541 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6543 2013-12-03 Juri Linkov <juri@jurta.org>
6545 * progmodes/compile.el (compilation-start): Rename window alist
6546 entry `no-display-ok' to `allow-no-window'.
6548 * simple.el (shell-command): Add window alist entry
6549 `allow-no-window' to `display-buffer'.
6550 (async-shell-command): Doc fix.
6552 * window.el (display-buffer-no-window): New action function.
6553 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6555 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6557 * vc/log-edit.el (log-edit-set-header): Extract from
6558 `log-edit-toggle-header'.
6559 (log-edit-extract-headers): Separate the summary, when extracted
6560 from header, from the rest of the message with an empty line.
6562 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6563 line, if present, to the Summary header.
6565 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6567 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6568 in current-buffer (bug#16029).
6570 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6572 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6573 (debugger-mode-map): Bind it.
6574 (debugger--backtrace-base): New function.
6575 (debugger-eval-expression): Use it.
6576 (debugger-frame-number): Skip local vars when present.
6577 (debugger--locals-visible-p, debugger--insert-locals)
6578 (debugger--show-locals, debugger--hide-locals): New functions.
6580 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6582 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6584 (tramp-get-remote-locale): New defun.
6585 (tramp-open-connection-setup-interactive-shell): Use it.
6587 2013-12-02 Leo Liu <sdl.web@gmail.com>
6589 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6591 * progmodes/sh-script.el (sh-shell-process):
6592 * progmodes/octave.el (inferior-octave-process-live-p):
6593 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6594 (gdb-inferior-io-sentinel):
6595 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6597 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6599 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6600 `save-selected-window' to `log-edit-hide-buf'. This makes
6601 `log-edit-show-files' idempotent.
6602 (log-edit-show-files): Mark the new window as dedicated.
6604 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6606 * vc/log-edit.el (log-edit-mode-map): Add binding for
6607 `log-edit-kill-biffer'.
6608 (log-edit-hide-buf): Add a FIXME comment.
6609 (log-edit-add-new-comment): New function, extracted from
6611 (log-edit-done, log-edit-add-to-changelog): Use it.
6612 (log-edit-kill-buffer): New command.
6614 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6616 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6617 instead of killing the buffer.
6619 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6623 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6625 * net/eww.el (eww-form-checkbox-selected-symbol)
6626 (eww-form-checkbox-symbol): New customizable variable.
6627 (eww-form-checkbox, eww-toggle-checkbox):
6628 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6630 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6631 (shr--get-media-pref, shr--extract-best-source): New function.
6632 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6633 no :src tag was specified.
6635 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6636 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6637 Use \\` to match beginning of string instead of ^.
6638 (eww-browse-with-external-browser): Provide optional URL parameter.
6639 (eww-render): Set `eww-current-title' back to "".
6641 * net/shr.el (shr-tag-video): Display content for video if no
6642 poster is available.
6643 (shr-tag-audio): Add support for <audio> tag.
6645 * net/eww.el (eww-text-input-types): New const.
6646 (eww-process-text-input): Treat input types in
6647 `eww-text-input-types' as text.
6649 * net/shr.el (shr-tag-table): Fix comment typo.
6651 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6653 * net/eww.el (eww-follow-link): New command to avoid reloading
6654 pages when we follow #target links (bug#15243).
6655 (eww-quit): Special mode buffers shouldn't query before exiting.
6657 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6659 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6662 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6664 * net/eww.el (eww-restore-history): Update the window title after
6665 moving in the history.
6666 (eww-current-dom): New variable used to save the current DOM.
6668 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6670 * vc/log-edit.el (log-edit-mode-map): Add binding for
6671 `log-edit-beginning-of-line'.
6672 (log-edit-setup-add-author): New user option.
6673 (log-edit-beginning-of-line): New command.
6674 (log-edit): Move major mode call above the contents setup so that
6675 the local variable values are already applied.
6676 (log-edit): Only insert "Author: " when
6677 `log-edit-setup-add-author' is non-nil.
6678 (log-edit): When SETUP is non-nil, position point after ": "
6679 instead of point-min.
6681 2013-12-01 Glenn Morris <rgm@gnu.org>
6683 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6685 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6687 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6688 redisplay to make sure the initial frame gets a chance to become
6689 visible. (Bug#16014)
6691 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6693 Support resizing frames and windows pixelwise.
6694 * cus-start.el (frame-resize-pixelwise)
6695 (window-resize-pixelwise): New entries.
6696 * emacs-lisp/debug.el (debug): Use window-total-height instead
6697 of window-total-size.
6698 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6699 * help.el (describe-bindings-internal): Use help-buffer as
6700 argument for with-help-window.
6701 (temp-buffer-max-width): New option.
6702 (resize-temp-buffer-window, help-window-setup)
6703 (with-help-window): Rewrite.
6704 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6706 * window.el (frame-char-size, window-min-pixel-height)
6707 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6708 (window-min-pixel-width, window-safe-min-pixel-size)
6709 (window-combination-p, window-safe-min-size)
6710 (window-resizable-p, window--size-to-pixel)
6711 (window--pixel-to-size, window--resize-apply-p): New functions.
6712 (window-safe-min-height): Fix doc-string.
6713 (window-size, window-min-size, window--min-size-1)
6714 (window-sizable, window-sizable-p, window--min-delta-1)
6715 (window-min-delta, window--max-delta-1, window-max-delta)
6716 (window--resizable, window--resizable-p, window-resizable)
6717 (window-full-height-p, window-full-width-p, window-at-side-p)
6718 (window--in-direction-2, window-in-direction)
6719 (window--resize-reset-1, window--resize-mini-window)
6720 (window-resize, window-resize-no-error)
6721 (window--resize-child-windows-normal)
6722 (window--resize-child-windows, window--resize-siblings)
6723 (window--resize-this-window, window--resize-root-window)
6724 (window--resize-root-window-vertically)
6725 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6726 (maximize-window, minimize-window, delete-window)
6727 (quit-restore-window, window-split-min-size, split-window)
6728 (balance-windows-2, balance-windows)
6729 (balance-windows-area-adjust, balance-windows-area)
6730 (window--state-get-1, window-state-get, window--state-put-1)
6731 (window--state-put-2, window-state-put)
6732 (display-buffer-record-window, window--display-buffer):
6733 Make functions handle pixelwise sizing of windows.
6734 (display-buffer--action-function-custom-type)
6735 (display-buffer-fallback-action):
6736 Add display-buffer-in-previous-window.
6737 (display-buffer-use-some-window): Resize window to height it had
6739 (fit-window-to-buffer-horizontally): New option.
6740 (fit-frame-to-buffer): Describe new values.
6741 (fit-frame-to-buffer-bottom-margin): Replace with
6742 fit-frame-to-buffer-margins.
6743 (window--sanitize-margin): New function.
6744 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6745 using window-text-pixel-size.
6747 2013-11-30 Glenn Morris <rgm@gnu.org>
6749 * emacs-lisp/bytecomp.el (byte-compile-form):
6750 Make the `interactive-only' warning like the `obsolete' one.
6751 * comint.el (comint-run):
6752 * files.el (insert-file-literally, insert-file):
6753 * replace.el (replace-string, replace-regexp):
6754 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6755 (goto-line, insert-buffer, next-line, previous-line):
6756 Tweak `interactive-only' spec.
6758 Stop keeping (most) generated cedet grammar files in the repository.
6759 * Makefile.in (semantic): New.
6760 (compile-main): Depend on semantic.
6762 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6765 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6767 * uniquify.el (uniquify-buffer-name-style): Change default.
6769 * loadup.el: Preload "uniquify".
6771 * time.el (display-time-update): Update all mode lines (bug#15999).
6773 * electric.el (electric-indent-mode): Enable by default.
6774 * loadup.el: Preload "electric".
6776 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6778 * emacs-lisp/helpers.el (string-empty-p): New function.
6779 (string-blank-p): New function.
6781 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6783 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6786 2013-11-29 Andreas Politz <politza@fh-trier.de>
6787 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6788 allow non-lambda lists as functions.
6789 (imenu--in-alist): Don't recurse into non-subalists.
6790 (imenu): Don't pass function itself as an argument (Bug#14029).
6792 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6794 * progmodes/python.el (python-mode-map): Remove binding for ":".
6795 (python-indent-electric-colon): Remove command.
6796 (python-indent-post-self-insert-function): Integrate the previous code
6797 of python-indent-electric-colon. Make it conditional on
6798 electric-indent-mode.
6799 (python-mode): Add ?: to electric-indent-chars.
6800 Move python-indent-post-self-insert-function to the end of
6801 post-self-insert-hook.
6803 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6805 * doc-view.el (doc-view-goto-page): Update mode-line.
6807 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6809 2013-11-27 Glenn Morris <rgm@gnu.org>
6811 * international/charprop.el, international/uni-bidi.el:
6812 * international/uni-category.el, international/uni-combining.el:
6813 * international/uni-comment.el, international/uni-decimal.el:
6814 * international/uni-decomposition.el, international/uni-digit.el:
6815 * international/uni-lowercase.el, international/uni-mirrored.el:
6816 * international/uni-name.el, international/uni-numeric.el:
6817 * international/uni-old-name.el, international/uni-titlecase.el:
6818 * international/uni-uppercase.el:
6819 Remove generated files from VCS repository.
6821 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6823 * filenotify.el (file-notify-add-watch): Don't special-case
6824 w32notify when computing the directory to watch.
6826 2013-11-27 Glenn Morris <rgm@gnu.org>
6828 Make bootstrap without generated uni-*.el files possible again.
6829 * loadup.el: Update command-line-args checking for unidata-gen.
6830 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6831 * composite.el, international/characters.el:
6832 Handle unicode tables being undefined.
6834 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6835 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6836 (compile-main): Depend on leim rule.
6838 * loadup.el: Move leim-list.el to leim/ subdirectory.
6839 * startup.el (normal-top-level): No more leim directory.
6840 * international/ja-dic-cnv.el (skkdic-convert):
6841 Disable version-control and autoloads in output files.
6842 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6843 Disable version-control and autoloads in output files.
6844 * leim/quail: Move here from ../leim.
6845 * leim/quail/hangul.el (hangul-input-method-activate):
6846 Add autoload cookie.
6847 (generated-autoload-load-name): Set file-local value.
6848 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6849 (generated-autoload-load-name): Set file-local value.
6851 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6853 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6854 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6855 (eww-quit): Ask confirmation before quitting eww.
6857 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6859 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6860 reading output from Diff on MS-Windows and MS-DOS.
6862 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6864 * emacs-lisp/helpers.el (string-reverse): New function.
6866 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6868 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6869 names on MS Windows, like "/[::1]:".
6871 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6874 2013-11-26 Glenn Morris <rgm@gnu.org>
6876 * progmodes/python.el (python-indent-guess-indent-offset):
6877 Avoid corner-case error. (Bug#15975)
6879 Preload leim-list.el. (Bug#4789)
6880 * loadup.el: Load leim-list.el when found.
6881 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6883 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6885 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6887 * emacs-lisp/helpers.el (string-join): New function.
6889 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6891 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6892 Mark as obsolete and replace it with a symbol property.
6893 (byte-compile-form): Use new 'interactive-only property.
6894 * comint.el, files.el, replace.el, simple.el:
6895 Apply new 'interactive-only properly.
6897 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6899 * window.el (display-buffer-at-bottom): Make sure that
6900 split-window-sensibly creates the new window on bottom
6903 2013-11-23 David Kastrup <dak@gnu.org>
6905 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6906 on the conflict markers when available.
6907 (smerge--get-marker): New function.
6908 (smerge-end-re, smerge-base-re): Add subgroup.
6910 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * frame.el (handle-focus-in, handle-focus-out): Add missing
6915 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6917 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6918 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6920 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6922 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6923 (gomoku--last-pos): New var.
6924 (gomoku--intangible-chars): New const.
6925 (gomoku--intangible): New function.
6926 (gomoku-mode): Use it. Derive from special-mode.
6927 (gomoku-move-up): Adjust line count.
6928 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6929 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6930 Simplify accordingly.
6932 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6933 Remove blink-cursor code.
6934 (blink-cursor-timer-function, blink-cursor-suspend):
6935 Don't special-case GUIs.
6936 (blink-cursor-mode): Use focus-in/out-hook.
6938 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6940 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6941 work when annotation is invisible (Bug#13886).
6943 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6945 * json.el (json-alist-p): Only return non-nil if the alist has
6946 simple keys (Bug#13518).
6948 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6950 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6951 when control-statement is the first statement in a buffer (Bug#15956).
6953 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6955 * imenu.el (imenu-generic-skip-comments-and-strings):
6956 New option (Bug#15560).
6957 (imenu--generic-function): Use it.
6959 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6961 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6964 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6966 * emacs-lisp/helpers.el: Add some string helpers.
6967 (string-trim-left): Removes leading whitespace.
6968 (string-trim-right): Removes trailing whitespace.
6969 (string-trim): Removes leading and trailing whitespace.
6971 * subr.el (string-suffix-p): New function.
6973 2013-11-23 Glenn Morris <rgm@gnu.org>
6975 * progmodes/python.el (python-shell-send-file):
6976 Add option to delete file when done. (Bug#15647)
6977 (python-shell-send-string, python-shell-send-region): Use it.
6979 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6981 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6982 to set buffer-read-only to t, never to nil. (Bug#15938)
6984 * textmodes/tex-mode.el (latex-noindent-environments):
6985 Add safe-local-variable property. (Bug#15936)
6987 2013-11-23 Glenn Morris <rgm@gnu.org>
6989 * textmodes/enriched.el (enriched-mode): Doc fix.
6990 * emacs-lisp/authors.el (authors-renamed-files-alist):
6991 Add enriched.doc -> enriched.txt.
6993 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6995 2013-11-22 Leo Liu <sdl.web@gmail.com>
6997 * progmodes/octave.el (inferior-octave-startup): Spit out error
7000 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7002 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7005 (ruby-encoding-magic-comment-style): Add :version.
7007 2013-11-22 Leo Liu <sdl.web@gmail.com>
7009 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7011 (octave-help-mode): Adapt to change to help-mode-finish to use
7012 derived-mode-p on 2013-09-17.
7013 (inferior-octave-prompt): Also match octave-gui.
7014 (octave-kill-process): Don't ask twice. (Bug#10564)
7016 2013-11-22 Leo Liu <sdl.web@gmail.com>
7018 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7019 (inferior-octave-startup, inferior-octave-check-process)
7020 (inferior-octave-track-window-width-change)
7021 (octave-completion-at-point, octave-eldoc-function): Use it.
7022 (octave-kill-process): Provide confirmation. (Bug#10564)
7024 2013-11-21 Leo Liu <sdl.web@gmail.com>
7026 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7027 Fix obsolete variable comment-use-global-state.
7029 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7031 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7032 Add `octave-source-file'.
7033 (octave-source-file): New function. (Bug#15935)
7035 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7037 * net/eww.el (eww-local-regex): New variable.
7038 (eww): Use it to detect localhost and similar.
7040 2013-11-21 Leo Liu <sdl.web@gmail.com>
7042 Add completion for command `ag'.
7043 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7044 (pcomplete/ag): New function.
7045 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7047 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7049 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7051 (make-obsolete): Remove interactive spec.
7053 2013-11-21 Glenn Morris <rgm@gnu.org>
7055 * startup.el (command-line-1): Use path-separator with -L.
7057 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7059 * emacs-lisp/package.el (describe-package-1): Add package archive
7062 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7064 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7065 Change default to "# encoding: %s" to differentiate it from the
7066 default Ruby encoding comment template.
7068 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7070 * ses.el (ses-mode): Doc fix. (Bug#14748)
7072 2013-11-20 Leo Liu <sdl.web@gmail.com>
7074 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7076 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7078 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7079 when rebase or bisect are in progress.
7081 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7083 * filenotify.el (file-notify-add-watch): Doc fix.
7085 2013-11-19 Leo Liu <sdl.web@gmail.com>
7087 * obsolete/rcompile.el: Mark obsolete.
7089 * progmodes/compile.el (compilation-start)
7090 (compilation-goto-locus, compilation-find-file):
7091 Pass no-display-ok and handle nil value from display-buffer.
7094 * window.el (display-buffer-alist, display-buffer): Document the
7095 new parameter no-display-ok. Return either a window or nil
7096 but never a non-window value.
7098 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7100 * electric.el (electric-indent-mode-map): Remove.
7101 (electric-indent-mode): Change the global-map instead (bug#15915).
7103 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7106 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7108 * emacs-lisp/nadvice.el (remove-function): Align with
7109 add-function's behavior.
7111 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7112 (gdb--string-regexp): New constant.
7113 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7114 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7115 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7117 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7118 Adjust use accordingly.
7119 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7121 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7123 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7124 interpolation curlies (Bug#15914).
7126 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7128 * calc/calc.el (calc-context-sensitive-enter): New variable.
7129 (calc-enter): Use `calc-context-sensitive-enter'.
7131 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7133 * progmodes/cfengine.el: Version bump.
7134 (cfengine-cf-promises): New defcustom to locate cf-promises.
7135 (cfengine3-vartypes): Add new "data" type.
7136 (cfengine3--current-word): New function to get current name-like
7138 (cfengine3--current-function): New function to look up a CFEngine
7139 function's definition.
7140 (cfengine3-format-function-docstring): New function.
7141 (cfengine3-make-syntax-cache): New function.
7142 (cfengine3-documentation-function): New function: ElDoc glue.
7143 (cfengine3-completion-function): New function: completion glue.
7144 (cfengine3-mode): Set `compile-command',
7145 `eldoc-documentation-function', and add to
7146 `completion-at-point-functions'.
7148 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7150 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7151 `tramp-current-connection'.
7153 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7155 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7156 nil/self/true/false with "end of symbol".
7158 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7160 * subr.el (version-regexp-alist): Fix a typo.
7162 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7164 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7165 "en_US.utf8" and "LC_CTYPE" to "".
7166 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7167 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7169 2013-11-15 Leo Liu <sdl.web@gmail.com>
7171 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7173 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7175 * progmodes/gud.el (ctl-x-map):
7176 Remove C-x SPC binding. (Bug#12342)
7177 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7179 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7181 * subr.el (version-regexp-alist):
7182 Recognize hg, svn and darcs versions as snapshot versions.
7184 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7185 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7186 (ruby--encoding-comment-required-p): Extract from
7187 `ruby-mode-set-encoding'.
7188 (ruby-mode-set-encoding): Add the ability to always insert an
7189 utf-8 encoding comment. Fix and simplify coding comment update
7192 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7194 * net/tramp-gvfs.el (top): Run init code only when
7195 `tramp-gvfs-enabled' is not nil.
7196 (tramp-gvfs-enabled): Check also :system bus.
7198 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7200 Sync with upstream verilog-mode revision 78e66ba.
7201 * progmodes/verilog-mode.el (verilog-end-of-defun)
7202 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7203 (verilog-get-end-of-defun): Remove unused argument.
7204 (verilog-comment-depth): Remove unused local `e'.
7205 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7206 Don't pass arg to verilog-get-end-of-defun.
7208 2013-11-14 Glenn Morris <rgm@gnu.org>
7210 * obsolete/assoc.el (aget): Prefix dynamic variable.
7212 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7214 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * widget.el, hfy-cmap.el: Remove bogus package version number.
7218 2013-11-13 Glenn Morris <rgm@gnu.org>
7220 * replace.el (replace-eval-replacement):
7221 Try to give more helpful error message. (Bug#15836)
7223 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7224 (archive-7z-update): Avoid custom type mismatches.
7226 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7228 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7230 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7231 address can be empty.
7233 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7234 Accept nil SWITCHES.
7235 (tramp-gvfs-handle-write-region): Implement APPEND.
7237 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7239 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7240 binary "|" operator and closing block args delimiter.
7241 Remove FIXME comment referring to Ruby 1.8-only syntax.
7242 (ruby-smie--implicit-semi-p): Not after "|" operator.
7243 (ruby-smie--closing-pipe-p): New function.
7244 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7245 (ruby-smie-rules): Indent after "|".
7247 2013-11-12 Glenn Morris <rgm@gnu.org>
7249 * ps-print.el (ps-face-attribute-list):
7250 Handle anonymous faces. (Bug#15827)
7252 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7254 * window.el (display-buffer-other-frame): Fix doc-string.
7257 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7259 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7261 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7263 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7264 (tramp-sh-handle-file-local-copy): Don't write a message when
7265 saving temporary files.
7267 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7268 both directories are remote.
7269 (tramp-smb-handle-directory-files): Do not return double entries.
7270 Do not expand full file names.
7271 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7272 (tramp-smb-handle-write-region): Implement APPEND.
7273 (tramp-smb-get-stat-capability): Fix a stupid bug.
7275 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7277 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7279 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7281 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7282 throwing error over malformed let/let* (bug#15814).
7284 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * iswitchb.el (iswitchb-mode): Mark obsolete.
7288 2013-11-11 Glenn Morris <rgm@gnu.org>
7290 * international/uni-bidi.el, international/uni-category.el:
7291 * international/uni-name.el, international/uni-numeric.el:
7292 Regenerate for Unicode 6.3.0.
7294 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7296 * net/tramp.el (tramp-methods):
7297 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7298 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7300 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7302 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7303 Force highlighting text after Summary keyword in doc face for rpm.
7305 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7307 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7308 available and the word has no wildcards, append one to the grep pattern.
7309 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7310 (ispell-complete-word): Call `ispell-lookup-words' with the value
7311 independent of `ispell-look-p'.
7313 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7315 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7317 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7320 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7322 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7323 (ruby-font-lock-keywords): Use backquote.
7325 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7327 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7328 (ruby-smie--backward-token): Only consider full-string matches.
7330 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7332 * faces.el (describe-face): Add distant-foreground.
7334 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7336 * progmodes/ruby-mode.el: Improve encoding comment handling.
7337 (ruby-encoding-magic-comment-style): New option.
7338 (ruby-custom-encoding-magic-comment-template): New option.
7339 (ruby--insert-coding-comment, ruby--detect-encoding):
7340 New functions extracted from `ruby-mode-set-encoding'.
7341 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7342 to control the style of the auto-inserted encoding comment.
7344 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7346 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7347 Use `smie-backward-sexp' with token argument.
7349 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7351 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7352 Remove instrumentation code.
7354 2013-11-08 Glenn Morris <rgm@gnu.org>
7356 * progmodes/autoconf.el (autoconf-mode):
7357 Tweak comment-start-skip. (Bug#15822)
7359 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7361 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7362 at bobp (bug#15826).
7363 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7365 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7367 * man.el (Man-start-calling): New macro, extracted from
7368 Man-getpage-in-background.
7369 (Man-getpage-in-background): Use it.
7370 (Man-update-manpage): New command.
7371 (Man-mode-map): Bind it.
7373 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7375 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7376 of "and", "or", "&&" and "||".
7377 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7378 argument. Prohibit opening curly brace because it could only be a
7379 block opener in that position.
7380 (ruby-smie--forward-token, ruby-smie--backward-token):
7381 Separate "|" from "&" or "*" going after it. That can happen in block
7383 (ruby-smie--indent-to-stmt): New function, seeks the end of
7384 previous statement or beginning of buffer.
7385 (ruby-smie-rules): Use it.
7386 (ruby-smie-rules): Check if there's a ":" before a curly block
7387 opener candidate; if there is, it's a hash.
7389 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7391 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7392 (cl--block-wrapper): Fix last accidental change.
7394 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7396 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7397 Instrument, in order to hunt failure on hydra.
7399 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7401 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7402 malformed bindings form (bug#15814).
7404 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7406 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7407 "." compared to " @ ". This incidentally fixes some indentation
7409 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7410 (ruby-smie-grammar): New tokens: "and" and "or".
7411 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7412 Exclude "and" and "or". Remove "do" in order to work around token
7414 (ruby-smie-rules): Add all infix tokens. Handle the case of
7415 beginning-of-buffer.
7417 2013-11-06 Glenn Morris <rgm@gnu.org>
7419 * Makefile.in (setwins_almost, setwins_for_subdirs):
7420 Avoid accidental matches.
7422 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7424 * menu-bar.el (popup-menu): Use key-binding.
7426 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7428 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7429 menus, support also the menus produced by minor modes.
7432 2013-11-06 Leo Liu <sdl.web@gmail.com>
7434 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7435 DISTANCE to bound the search. All uses changed. (Bug#15808)
7437 2013-11-06 Glenn Morris <rgm@gnu.org>
7439 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7440 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7441 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7443 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7445 * electric.el (electric-indent-just-newline): New command.
7446 (electric-indent-mode-map): New keymap.
7447 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7448 Re-add :group which weren't redundant.
7450 * electric.el (electric-indent-local-mode): New minor mode.
7451 (electric-indent-functions-without-reindent): New var.
7452 (electric-indent-post-self-insert-function): Use it.
7453 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7455 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7457 * international/quail.el (quail-help): Be more explicit about the
7458 meaning of the labels shown on the keys. (Bug#15800)
7460 * startup.el (normal-top-level): Load the subdirs.el files before
7461 setting the locale environment. (Bug#15805)
7463 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7466 via arguments so as to get the right ones (bug#15418).
7468 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7470 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7472 Fix problems found while writing a test suite.
7474 * net/tramp-compat.el (tramp-compat-load): New defun.
7475 * net/tramp.el (tramp-handle-load): Use it.
7477 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7478 "(numberp ok-if-already-exists)" correctly.
7480 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7482 * international/characters.el (glyphless-char-display-control):
7485 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7487 * progmodes/python.el (python-mode):
7488 * progmodes/scheme.el (scheme-mode):
7489 * progmodes/prolog.el (prolog-mode):
7490 * progmodes/ruby-mode.el (ruby-mode):
7491 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7492 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7494 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * rect.el (rectangle--highlight-for-redisplay):
7497 * emacs-lisp/smie.el (smie--next-indent-change):
7498 Use buffer-chars-modified-tick.
7500 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7502 * electric.el (electric-indent-post-self-insert-function):
7503 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7505 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7507 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7509 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7511 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7514 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7516 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7518 * progmodes/python.el: Fix up last change.
7519 (python-shell--save-temp-file): New function.
7520 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7521 `string' comes from the current buffer.
7522 (python-shell-send-string-no-output): Remove `msg' arg.
7523 (python--use-fake-loc): New var.
7524 (python-shell-buffer-substring): Obey it. Try to compensate for the
7525 extra coding line added by python-shell--save-temp-file.
7526 (python-shell-send-region): Use python-shell--save-temp-file and
7527 python-shell-send-file directly. Add `nomain' argument.
7528 (python-shell-send-buffer): Use python-shell-send-region.
7529 (python-electric-pair-string-delimiter): New function.
7530 (python-mode): Use it.
7532 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7534 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7535 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7536 environment and decoding all of the default-directory's to here
7538 (command-line): Decode also argv[0].
7540 * loadup.el: Error out if default-directory is a multibyte string
7541 when we are dumping.
7543 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7545 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7547 * emacs-lisp/package.el (package-menu-mode)
7548 (package-menu--print-info, package-menu--archive-predicate):
7549 Add Archive column to package list.
7551 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7553 Fix problems found while writing a test suite.
7555 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7556 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7557 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7558 to nil when running original file name handler. Otherwise,
7559 there are problems with constructs like "$$FOO".
7561 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7564 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7566 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7568 * subr.el (version<, version<=, version=):
7569 Update docstrings with information for snapshot versions.
7571 * helpers.el: New library for misc helper functions.
7572 (hash-table-keys): New function returning a list of hash keys.
7573 (hash-table-values): New function returning a list of hash values.
7575 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7577 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7578 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7580 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7582 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7583 checking whether point is after a 1-letter word.
7585 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7587 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7588 Don't infloop when expanding region over `multiline' syntax-type that
7589 begins a line (bug#15778).
7591 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7593 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7594 Make it into a proper minor mode.
7595 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7596 (rectangle-mark-mode-map): New keymap.
7597 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7599 2013-11-04 Glenn Morris <rgm@gnu.org>
7601 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7603 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7605 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7606 (ruby-smie-rules): Use smie-rule-parent instead.
7608 * emacs-lisp/smie.el (smie-rule-parent): Always call
7609 smie-indent-virtual rather than only for hanging tokens.
7610 (smie--next-indent-change): New helper command.
7612 2013-11-03 Glenn Morris <rgm@gnu.org>
7614 * Makefile.in (abs_srcdir): Remove.
7615 (emacs): Unset EMACSLOADPATH.
7617 2013-11-02 Glenn Morris <rgm@gnu.org>
7619 * Makefile.in (EMACS): Use a relative filename.
7620 (abs_top_builddir): Remove.
7621 (custom-deps, finder-data, autoloads): Use --chdir.
7623 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7625 Use relative filenames in TAGS files.
7626 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7627 (lisptagsfiles4, TAGS): Use relative file names.
7628 (TAGS-LISP): Remove.
7629 (maintainer-clean): No more TAGS-LISP file.
7631 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7632 (lisptagsfiles4): Use absolute filenames again.
7633 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7634 Remove all *loaddefs files, not just the first. Remove esh-groups.
7635 (maintainer-clean): Delete TAGS, TAGS-LISP.
7637 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7639 * emacs-lisp/package.el (package-version-join):
7640 Recognize snapshot versions.
7642 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7644 * subr.el (version-regexp-alist): Add support for snapshot versions.
7646 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7648 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7649 New function, replacement for `smie-rule-parent' for when we want to
7650 skip over our direct parent if it's an assignment token..
7651 (ruby-smie-rules): Use it.
7653 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7655 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7656 unconditionally. Remove now unnecessary forward declarations.
7657 Remove XEmacs-specific setup.
7658 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7659 (ruby-font-lock-syntactic-keywords)
7660 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7661 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7662 (ruby-here-doc-end-syntax): Remove.
7663 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7664 defined as function.
7666 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7668 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7670 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7672 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7673 table and abbrev table, `define-derived-mode' does that for us
7676 2013-11-01 Glenn Morris <rgm@gnu.org>
7678 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7679 files is atomic for some time, so no parallel compilation issues).
7681 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7683 * faces.el (face-x-resources): Add :distant-foreground.
7684 (region): Use :distant-foreground for gtk and ns.
7686 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7688 Allow multiple bibliographies when BibLaTeX is used rather than
7690 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7691 (reftex-locate-bibliography-files): Us it.
7693 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7695 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7696 allow comments in pbm files.
7698 * term/w32-win.el (dynamic-library-alist): Support newer versions
7699 of libjpeg starting with v7: look only for the DLL from the
7700 version against which Emacs was built.
7701 Support versions of libpng beyond 1.4.x.
7702 Support libtiff v4.x.
7704 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7706 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7707 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7709 (ruby-deep-arglist): Add property :type.
7711 2013-10-31 Glenn Morris <rgm@gnu.org>
7713 * Makefile.in (custom-deps, finder-data): No need to setq the target
7714 variables, we are in the right directory and the defaults work fine.
7716 2013-10-30 Glenn Morris <rgm@gnu.org>
7718 * Makefile.in (autoloads): Do not use abs_lisp.
7720 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7721 `newline' does not respect `standard-output', so use `princ'.
7723 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7725 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7726 * buff-menu.el (Buffer-menu--unmark): New function.
7727 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7729 2013-10-30 Glenn Morris <rgm@gnu.org>
7731 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7733 * emacs-lisp/package.el (lm-homepage): Declare.
7735 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7738 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7740 * Makefile.in (finder-data, autoloads, update-subdirs)
7741 (compile-main, compile-clean, compile-always, bootstrap-clean):
7742 Check return value of cd.
7743 (compile-calc): Remove.
7745 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7747 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7749 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7750 (byte-compile-and-folded): New function.
7751 (=, <, >, <=, >=): Use it.
7753 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7754 (path-separator, null-device, buffer-file-coding-system)
7755 (lpr-headers-switches): Check system-type before modifying them.
7756 (find-buffer-file-type-coding-system): Mark obsolete.
7757 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7758 find-file-not-found-set-buffer-file-coding-system.
7759 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7760 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7761 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7762 (w32-direct-print-region-helper, w32-direct-print-region-function)
7763 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7764 * startup.el (normal-top-level-add-subdirs-to-load-path):
7765 * ps-print.el (ps-print-region-function):
7766 * lpr.el (print-region-function): Use new name.
7768 * subr.el (custom-declare-variable-early): Remove function.
7769 (custom-declare-variable-list): Remove var.
7770 (error, user-error): Remove `while' loop.
7771 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7772 (user-emacs-directory-warning, locate-user-emacs-file):
7774 * simple.el (read-quoted-char-radix, read-quoted-char):
7775 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7777 * custom.el (custom-declare-variable-list): Don't process
7778 custom-declare-variable-list.
7780 * progmodes/python.el (python-shell-get-buffer): New function.
7781 (python-shell-get-process): Use it.
7782 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7783 Python which encoding was used. Don't split-string since we only care
7784 about the first line. Return the temp-file, if applicable.
7785 (python-shell-send-region): Tell compile.el how to turn locations in
7786 the temp-file into locations in the source buffer.
7788 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7790 * subr.el (undefined): Add missing behavior from the C code for
7793 * rect.el: Use lexical-binding. Add new rectangular region support.
7794 (rectangle-mark): New command.
7795 (rectangle--region): New var.
7796 (deactivate-mark-hook): Reset rectangle--region.
7797 (rectangle--extract-region, rectangle--insert-for-yank)
7798 (rectangle--highlight-for-redisplay)
7799 (rectangle--unhighlight-for-redisplay): New functions.
7800 (region-extract-function, redisplay-unhighlight-region-function)
7801 (redisplay-highlight-region-function): Use them to handle
7803 * simple.el (region-extract-function): New var.
7804 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7805 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7806 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7807 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7808 (redisplay-unhighlight-region-function)
7809 (redisplay-highlight-region-function): New vars.
7810 (redisplay--update-region-highlight): New function.
7811 (pre-redisplay-function): Use it.
7812 (exchange-point-and-mark): Don't deactivate the mark before
7813 reactivate-it anyway.
7814 * comint.el (comint-kill-region): Remove yank-handler argument.
7815 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7816 (delete-char): Remove property, since it's now part of their
7818 (self-insert-iso): Remove property since this command doesn't exist.
7820 * emacs-lisp/package.el (package--download-one-archive)
7821 (describe-package-1): Don't query the user about final newline.
7823 2013-10-29 Daniel Colascione <dancol@dancol.org>
7825 * net/tramp.el (tramp-methods): Document new functionality.
7826 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7827 tramp-hostname-checker if method provides one instead of scanning
7828 argument list for "%h" to decide hostname acceptability.
7830 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7832 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7833 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7834 Handle COPY-CONTENTS. (Bug#15737)
7836 2013-10-28 Daiki Ueno <ueno@gnu.org>
7838 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7839 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7841 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7843 * image.el (defimage, image-load-path): Doc fixes.
7845 2013-10-27 Alan Mackenzie <acm@muc.de>
7847 Indent statements in macros following "##" correctly.
7848 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7849 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7851 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7853 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7855 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7857 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7858 after `=' is probably a new expression.
7860 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7862 * man.el (man-imenu-title): New option.
7863 (Man-mode-map): Add menu. (Bug#15722)
7864 (Man-mode): Add imenu to menu.
7866 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7868 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7869 specific in what the first arg can be: a non-keyword word,
7870 string/regexp/percent literal opener, opening paren, or unary
7871 operator followed directly by word.
7873 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7875 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7876 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7877 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7878 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7879 Remove vars, they do not apply any more.
7880 (prolog-mode-abbrev-table): Remove redundant declaration.
7881 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7882 (prolog-use-smie): Remove.
7883 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7884 supported by prolog-electric-if-then-else-flag.
7885 (prolog-mode-variables, prolog-menu): Use setq-local.
7886 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7887 Remove binding to `Backspace' since this key doesn't exist anyway.
7888 Remove bindings for electric self-inserting keys.
7889 (prog-mode): Assume it's defined.
7890 (prolog-post-self-insert): New function.
7891 (prolog-mode): Use it.
7892 (prolog-indent-line, prolog-indent-level)
7893 (prolog-find-indent-of-matching-paren)
7894 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7895 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7896 (prolog-goto-next-paren, prolog-in-string-or-comment)
7897 (prolog-tokenize, prolog-inside-mline-comment)
7898 (prolog-find-start-of-mline-comment): Remove functions.
7899 (prolog-find-unmatched-paren, prolog-clause-end)
7900 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7901 (prolog-electric--if-then-else): Rename from
7902 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7903 (prolog-tokenize-searchkey): Remove const.
7904 (prolog-clause-info): Use forward-sexp.
7905 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7906 (prolog-electric-if-then-else): Remove commands.
7907 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7908 for use in post-self-insert-hook.
7909 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7910 for use in post-self-insert-hook.
7911 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7912 for use in post-self-insert-hook.
7913 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7914 adapt it for use in post-self-insert-hook.
7916 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7918 * emacs-lisp/ert.el (ert-run-tests-interactively):
7919 Use `completing-read'. (Bug#9756)
7921 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7923 * simple.el (line-move): Call line-move-1 instead of
7924 line-move-visual when the current window hscroll is zero, but
7925 temporary-goal-column indicates we will need to hscroll as result
7926 of the movement. (Bug#15712)
7928 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7930 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7931 capitalization. Use :visible instead of :active.
7932 Fix `ruby-indent-exp' reference. Add menu items for the generic
7933 commands that are used with SMIE.
7934 (ruby-do-end-to-brace): Insert space after `{'.
7936 2013-10-25 John Anthony <john@jo.hnanthony.com>
7938 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7940 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7942 2013-10-25 Glenn Morris <rgm@gnu.org>
7944 * vc/vc.el (vc-print-log): Don't use a working revision unless
7945 one was explicitly specified. (Bug#15322)
7947 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7949 * subr.el (add-to-list): Preserve return value in compiler-macro
7952 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7954 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7955 result. Ask user to retry using '-all' flag. (Bug#15701)
7957 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7959 * emacs-lisp/smie.el: New smie-config system.
7960 (smie-config): New defcustom.
7961 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7962 (smie-config-guess, smie-config-save): New commands.
7963 (smie-config--mode-local, smie-config--buffer-local)
7964 (smie-config--trace, smie-config--modefuns): New vars.
7965 (smie-config--advice, smie-config--mode-hook)
7966 (smie-config--setter, smie-config-local, smie-config--get-trace)
7967 (smie-config--guess-value, smie-config--guess): New functions.
7968 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7969 text properties. Treat "string fence" syntax like string syntax.
7971 * progmodes/sh-script.el (sh-use-smie): Change default.
7972 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7973 (sh-var-value): Simplify by CSE.
7974 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7975 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7977 (sh-guess-basic-offset): Use cl-incf.
7978 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7980 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7982 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7985 2013-10-24 Glenn Morris <rgm@gnu.org>
7987 * Makefile.in (abs_top_srcdir): Remove.
7988 (update-subdirs): Use relative path to update-subdirs.
7990 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7992 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7993 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7994 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7995 Call unmsys--file-name before expand-file-name, not after it.
7997 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7999 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8000 (ert-test-skipped): New error.
8001 (ert-skip, ert-stats-skipped): New defuns.
8002 (ert--skip-unless): New macro.
8003 (ert-test-skipped): New struct.
8004 (ert--run-test-debugger, ert-test-result-type-p)
8005 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8006 (ert--stats-set-test-and-result, ert-char-for-test-result)
8007 (ert-string-for-test-result, ert-run-tests-batch)
8008 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8009 Handle skipped tests. (Bug#9803)
8011 2013-10-24 Glenn Morris <rgm@gnu.org>
8013 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8015 * Makefile.in (abs_top_srcdir): New, set by configure.
8016 (update-subdirs): Correct build-aux location.
8018 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8020 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8021 value, whether we could auto-deduce `backend', or not.
8023 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8024 with parameters" example. Simplify the "is it block or is it
8025 hash" check, but also make it more thorough.
8027 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8029 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8031 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8033 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8036 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8039 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8041 * progmodes/compile.el (compilation-directory-matcher)
8042 (compilation-page-delimiter):
8043 Support GNU Make-4.0 directory quoting. (Bug#15678)
8045 2013-10-23 Leo Liu <sdl.web@gmail.com>
8047 * ido.el (ido-tidy): Handle read-only text.
8049 2013-10-23 Glenn Morris <rgm@gnu.org>
8051 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8052 (emacs, compile, compile-always):
8053 Quote entities that might contain whitespace.
8054 (custom-deps, finder-data, autoloads): Use abs_lisp.
8055 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8056 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8057 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8059 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8061 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8062 Use `following-char'.
8064 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8066 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8067 * progmodes/ruby-mode.el (ruby-smie-rules):
8068 Remove corresponding workaround. Fix indentation rule of ";" so it
8069 also applies when ";" is the parent.
8071 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8073 * frame.el (display-screens, display-pixel-height)
8074 (display-pixel-width, display-mm-width, display-backing-store)
8075 (display-save-under, display-planes, display-color-cells)
8076 (display-visual-class, display-monitor-attributes-list):
8077 Mention the optional ‘display’ argument in doc strings.
8079 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8081 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8082 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8084 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8086 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8087 TODO. Add "." after " @ ".
8088 (ruby-smie--at-dot-call): New function. Checks if point at method
8089 call with explicit target.
8090 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8091 to the method name tokens when it precedes them.
8092 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8093 (ruby-smie-rules): Add rule for indentation before and after "."
8096 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8098 * textmodes/remember.el (remember-diary-extract-entries):
8101 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8104 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8106 * progmodes/ruby-mode.el (ruby-smie-grammar):
8107 Add (almost) all infix operators.
8108 (ruby-smie--implicit-semi-p): Add new operator chars.
8110 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8112 (ruby-smie--args-separator-p): Check that there's no newline
8113 between method call and its arguments.
8115 2013-10-20 Alan Mackenzie <acm@muc.de>
8117 Allow comma separated lists after Java "implements".
8119 * progmodes/cc-engine.el (c-backward-over-enum-header):
8121 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8122 from a "disallowed" list in enum fontification.
8124 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8126 * startup.el (default-frame-background-mode): Remove unused defvar.
8128 * progmodes/verilog-mode.el (verilog-mode): Don't set
8129 comment-indent-function globally.
8131 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8133 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8134 Move Info menu item creation to ns-win.el.
8136 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8139 * menu-bar.el: Move GNUstep specific menus...
8141 * term/ns-win.el (ns-initialize-window-system): ... to here.
8143 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8145 * simple.el (newline): Only run post-self-insert-hook when
8146 called interactively.
8148 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8150 * icomplete.el (icomplete-with-completion-tables): Add :version.
8152 2013-10-19 Alan Mackenzie <acm@muc.de>
8154 Fix fontification bugs with constructors and const.
8156 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8157 CASE 2) Remove the check for the absence of a suffix construct
8158 after a function declaration with only types (no identifiers) in
8159 the parentheses. Also, accept a function declaration with just a
8160 type inside the parentheses, if this type can be positively
8161 recognised as such, or if a prefix keyword like "explicit" nails
8162 down the construct as a declaration.
8164 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8166 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8167 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8168 the problem whereby selecting a menu item that leads to a
8169 minibuffer prompt moves the cursor out of the minibuffer window,
8170 making it hard to type at the prompt. Suggested by Stefan Monnier
8171 <monnier@iro.umontreal.ca>.
8173 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8175 * menu-bar.el: Don't make Services menu.
8177 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8179 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8180 (ffap-alist): Use ffap-c++-mode for c++-mode.
8181 (ffap-c++-path): New variable.
8182 (ffap-c++-mode): New function.
8184 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8186 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8188 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8190 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8191 introduced on 2013-09-08, which results in an infinite loop
8192 requesting a password.
8194 2013-10-18 Glenn Morris <rgm@gnu.org>
8196 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8198 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8200 Sync with upstream verilog-mode revision 1a6ecec7.
8201 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8202 (verilog-mode-release-date): Remove.
8203 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8204 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8205 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8206 (verilog-auto-tieoff-ignore-regexp)
8207 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8208 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8209 (verilog-signals-with, verilog-dir-cache-preserving)
8210 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8212 (verilog-case-fold): New option, to control case folding in
8213 regexp searches, bug597.
8214 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8215 (verilog-string-match-fold, verilog-in-paren-count)
8216 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8217 (verilog-at-close-struct-p): New functions.
8218 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8219 (verilog-forward-sexp, verilog-set-auto-endcomments)
8220 (verilog-leap-to-case-head): Handle "unique0" case.
8221 (verilog-in-constraint-re): New constant.
8222 (verilog-keywords, verilog-type-font-keywords):
8223 Add some SystemVerilog 1800-2012 keywords.
8224 (verilog-label-be): Remove unimplemented argument, bug669.
8225 (verilog-batch-execute-func): When batch expanding clear
8226 create-lockfiles to prevent spurious user locks when a file ends
8228 (verilog-calculate-indent, verilog-calc-1)
8229 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8230 (verilog-do-indent): Fix indentation of nested constraints
8232 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8233 (verilog-auto-inst-param): Use verilog-string-match-fold.
8234 (verilog-read-inst-module-matcher):
8235 Fix AUTOINST on gate primitives with #1.
8236 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8237 Reads all user-defined typed variables.
8238 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8239 (verilog-signals-matching-regexp)
8240 (verilog-signals-not-matching-regexp, verilog-auto):
8241 Respect verilog-case-fold.
8242 (verilog-diff-report): Fix line count.
8243 (verilog-auto-assign-modport): Remove unused local `modi'.
8244 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8245 better handle multidimensional arrays.
8246 Fix packed array ports misadding bit index in AUTOINST, bug637.
8247 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8248 to not double-declare existing outputs and inputs, respectively.
8249 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8250 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8251 (verilog-sk-uvm-component): New skeleton.
8252 (verilog-submit-bug-report): Add verilog-case-fold,
8253 remove verilog-mode-release-date.
8255 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8257 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8260 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8262 * textmodes/remember.el (remember): Set buffer-offer-save in
8263 remember buffers (bug#13566).
8265 2013-10-18 Daniel Colascione <dancol@dancol.org>
8267 When evaluating forms in ielm, direct standard output to ielm
8268 buffer. Add new ielm-return-for-effect command. Remove trailing
8269 whitespace throughout.
8271 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8272 (ielm-return-for-effect): New command.
8273 (ielm-send-input): Accept optional `for-effect' parameter.
8274 (ielm-eval-input): Accept optional `for-effect' parameter.
8275 Bind `standard-output' to stream we create using
8276 `ielm-standard-output-impl'. Suppress printing result when
8278 (ielm-standard-output-impl): New function.
8279 (inferior-emacs-lisp-mode): Explain new features in documentation.
8281 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8285 * net/tramp.el (tramp-debug-message): Do not check for connection
8287 (tramp-message): Use "vector" connection property.
8289 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8290 (tramp-equal-remote, tramp-eshell-directory-change)
8291 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8292 (tramp-adb-handle-rename-file)
8293 * net/tramp-cmds.el (tramp-list-remote-buffers)
8294 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8295 * net/tramp-compat.el (tramp-compat-process-running-p)
8296 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8297 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8298 (tramp-gvfs-handle-rename-file)
8299 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8300 (tramp-set-file-uid-gid)
8301 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8302 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8305 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8306 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8307 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8308 (tramp-gw-open-network-stream): Suppress unrelated traces.
8310 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8311 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8312 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8313 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8314 connection property.
8316 * net/tramp-cache.el (top): Suppress traces when reading
8319 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8320 Refactor common code. Improve debug message.
8321 (tramp-maybe-open-connection)
8322 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8323 connection buffer too early.
8325 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8326 from `tramp-smb-actions-with-acl'.
8327 (tramp-smb-actions-set-acl): New defconst.
8328 (tramp-smb-handle-copy-directory)
8329 (tramp-smb-action-get-acl): New defun, renamed from
8330 `tramp-smb-action-with-acl'.
8331 (tramp-smb-action-set-acl): New defun.
8332 (tramp-smb-handle-set-file-acl): Rewrite.
8334 2013-10-17 Glenn Morris <rgm@gnu.org>
8336 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8338 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8340 * skeleton.el (skeleton-newline): Remove.
8341 (skeleton-internal-1): Use (insert "\n") instead.
8343 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8346 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8347 forward-sexp-function while we redo its job (bug#15613).
8349 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8351 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8352 represented by lists.
8354 2013-10-16 Glenn Morris <rgm@gnu.org>
8356 * tmm.el (tmm--history): New dynamic variable.
8357 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8359 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8361 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8362 (tramp-smb-errors): Add error messages.
8363 (tramp-smb-actions-with-acl): New defconst.
8364 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8365 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8366 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8367 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8368 (tramp-smb-get-stat-capability): Fix tests.
8370 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8372 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8375 2013-10-16 Glenn Morris <rgm@gnu.org>
8377 * ansi-color.el (ansi-color-drop-regexp):
8378 Add 1J, 1K, 2K. (Bug#15617)
8380 * files.el (hack-local-variables--warned-lexical): New.
8381 (hack-local-variables):
8382 Warn about misplaced lexical-binding. (Bug#15616)
8384 * net/eww.el (eww-render): Always set eww-current-url,
8385 and update header line. (Bug#15622)
8386 (eww-display-html): ... Rather than just doing it here.
8388 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8390 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8391 menu navigations commands.
8393 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8395 * progmodes/subword.el (subword-capitalize): Be careful when
8396 the search for [[:alpha:]] fails (bug#15580).
8398 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8400 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8401 to commands that scroll the menu.
8403 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8405 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8406 Handle methods ending with `?' and `!'.
8408 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8410 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8411 `japanese-cp932' to `cp932' to fix the problem where saving a
8412 source file written in Shift_JIS twice would end up having
8413 `coding: japanese-cp932' which Ruby could not recognize.
8414 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8415 in `ruby-encoding-map'.
8416 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8417 doesn't need to be explicitly declared in magic comment.
8418 (ruby-encoding-map): Add type declaration for better customize UI.
8420 2013-10-13 Glenn Morris <rgm@gnu.org>
8422 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8423 Occur buffers are read-only. http://bugs.debian.org/720775
8425 * emacs-lisp/authors.el (authors-fixed-entries):
8426 Comment out old alpha stuff.
8428 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8430 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8431 to `after-save-hook' instead of `before-save-hook'.
8432 (ruby-mode-set-encoding): Use the value of coding system used to
8433 write the file. Call `basic-save-buffer-1' after modifying the
8436 2013-10-13 Alan Mackenzie <acm@muc.de>
8438 Fix indentation/fontification of Java enum with
8439 "implements"/generic.
8441 * progmodes/cc-engine.el (c-backward-over-enum-header):
8442 Extracted from the three other places and enhanced to handle generics.
8443 (c-inside-bracelist-p): Uses new function above.
8444 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8446 (c-font-lock-enum-tail): Uses new function above.
8448 2013-10-13 Kenichi Handa <handa@gnu.org>
8450 * international/mule-cmds.el (select-safe-coding-system): Remove a
8451 superfluous condition in chekcing whether a coding system is safe
8454 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8456 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8458 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8460 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8462 2013-10-13 Glenn Morris <rgm@gnu.org>
8464 * menu-bar.el (menu-bar-update-buffers):
8465 Unify Buffers menu prompt string. (Bug#15576)
8467 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8469 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8471 (authors-fixed-entries): Use accented form of name.
8473 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8475 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8476 method calls (bug#15594).
8477 (ruby-smie--args-separator-p): New function.
8478 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8479 recognize paren-free method calls.
8481 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8482 internals of universal-argument.
8484 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8486 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8487 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8488 dropped menu on second mouse click on the menu bar.
8490 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8492 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8493 (explicit-shell-file-name): Declare.
8494 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8495 (sh-completion-at-point-function): New function.
8497 (sh-smie--keyword-p): Remove unused argument.
8498 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8500 (sh-set-shell): Always setup SMIE, even if we use the
8501 old indentation code.
8503 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8505 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8507 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8508 predicate would return nil are almost non-existent.
8509 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8511 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8512 cache also after commands that modify the buffer but don't move
8515 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8517 * env.el (substitute-env-in-file-name): New function.
8518 (substitute-env-vars): Extend the meaning of the optional arg.
8520 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8522 * term/w32-win.el (dynamic-library-alist): Define separate lists
8523 of GIF DLLs for versions before and after 5.0.0 of giflib.
8526 2013-10-10 João Távora <joaotavora@gmail.com>
8528 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8529 not locked, use last revision and current source as
8530 defaults. (Bug#15569)
8532 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8534 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8537 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8539 * window.el (pop-to-buffer-same-window): Fix doc-string.
8542 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8544 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8546 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8548 * calendar/icalendar.el (icalendar-import-file):
8549 Fix interactive spec. (Bug#15482)
8551 2013-10-10 Glenn Morris <rgm@gnu.org>
8553 * desktop.el (desktop-save): Default to saving in .emacs.d,
8554 since PWD is no longer in desktop-path by default. (Bug#15319)
8556 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8557 now that text mode has a menu with the same entry.
8558 (menu-bar-text-mode-auto-fill): Remove now unused func.
8559 * textmodes/text-mode.el (text-mode-map):
8560 Use auto-fill help text from menu-bar.el.
8562 2013-10-10 John Anthony <john@jo.hnanthony.com>
8564 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8566 2013-10-09 Juri Linkov <juri@jurta.org>
8568 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8569 instead of this-command-keys. Add universal-argument-more and
8570 universal-argument-minus to the list of prefix commands. (Bug#15568)
8572 2013-10-09 Glenn Morris <rgm@gnu.org>
8574 * vc/vc-svn.el (vc-svn-create-repo):
8575 Expand paths in file://... url. (Bug#15446)
8577 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8579 (authors): Remove unused local variables.
8581 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8583 * profiler.el: Create a more coherent calltree from partial backtraces.
8584 (profiler-format): Hide the tail with `invisible' so that C-s can still
8585 find the hidden elements.
8586 (profiler-calltree-depth): Don't recurse so enthusiastically.
8587 (profiler-function-equal): New hash-table-test.
8588 (profiler-calltree-build-unified): New function.
8589 (profiler-calltree-build): Use it.
8590 (profiler-report-make-name-part): Indent the calltree less.
8591 (profiler-report-mode): Add visibility specs for profiler-format.
8592 (profiler-report-expand-entry, profiler-report-toggle-entry):
8593 Expand the whole subtree when provided with a prefix arg.
8595 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8597 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8599 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8600 hanging iuwu-mod token.
8601 (ruby-smie--forward-token): Do not include a dot after a token in
8603 (ruby-smie--backward-token): Likewise.
8605 2013-10-08 Juri Linkov <juri@jurta.org>
8607 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8608 to isearch-other-control-char.
8609 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8610 and isearch-post-command-hook to post-command-hook.
8611 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8612 and isearch-post-command-hook from post-command-hook.
8613 (isearch-unread-key-sequence)
8614 (isearch-reread-key-sequence-naturally)
8615 (isearch-lookup-scroll-key, isearch-other-control-char)
8616 (isearch-other-meta-char): Remove functions.
8617 (isearch-pre-command-hook, isearch-post-command-hook):
8618 New functions based on isearch-other-meta-char rewritten
8619 relying on the new behavior of overriding-terminal-local-map
8620 that does not replace the local keymaps any more. (Bug#15200)
8622 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8624 Support menus on text-mode terminals.
8625 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8628 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8630 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8631 Move here from mouse.el.
8632 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8634 (tty-menu-navigation-map): New map for TTY menu navigation.
8636 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8638 * frame.el (display-mouse-p): Report text-mode mouse as available
8640 (display-popup-menus-p): Report availability if mouse is
8641 available; don't condition on window-system.
8643 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8644 (tty-menu-selected-face): New faces.
8646 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8648 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8649 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8650 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8651 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8653 (lisp-mode-variables): New `elisp' argument.
8654 (emacs-lisp-mode): Use it.
8655 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8656 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8658 * indent.el: Use lexical-binding.
8659 (indent-region): Add progress reporter.
8660 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8662 (indent--next-tab-stop): New function to implement this behavior.
8663 (tab-to-tab-stop, move-to-tab-stop): Use it.
8665 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8667 * indent.el (indent-rigidly--current-indentation): New function.
8668 (indent-rigidly-map): New var.
8669 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8671 2013-10-08 Bastien Guerry <bzg@gnu.org>
8673 * register.el (insert-register): Fix 2013-10-07 change.
8675 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8677 * progmodes/perl-mode.el: Use lexical-binding.
8678 Remove redundant :group args.
8679 (perl-nochange): Change default to be closer to other major modes's
8681 (perl-indent-line): Don't consider text on current line as a
8682 valid beginning of function from which to indent.
8684 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8685 with more than one argument (bug#15538).
8687 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8689 * vc/pcvs.el: Use lexical-binding.
8690 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8691 environment of `eval'.
8692 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8693 than a list of expressions. Adjust callers.
8694 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8696 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8698 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8699 case of the dot in a chained method call being on the following line.
8701 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8703 * electric.el (electric-indent-inhibit): New var.
8704 (electric-indent-post-self-insert-function): Use it.
8705 * progmodes/python.el (python-mode): Set it.
8707 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8710 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8712 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8713 (css-mode): Use electric-indent-chars.
8715 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8716 (font-lock-beg, font-lock-end): Move before first use.
8717 (nxml-mode): Use syntax-propertize-function.
8718 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8719 (nxml-extend-after-change-region): Remove.
8720 * nxml/xmltok.el: Use lexical-binding.
8721 (xmltok-save): Use `declare'.
8722 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8723 * nxml/nxml-util.el: Use lexical-binding.
8724 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8726 * nxml/nxml-ns.el: Use lexical-binding.
8727 (nxml-ns-save): Use `declare'.
8728 (nxml-ns-prefixes-for): Avoid add-to-list.
8729 * nxml/rng-match.el: Use lexical-binding.
8730 (rng--ipattern): Use cl-defstruct.
8731 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8732 (rng-cons-group-after, rng-subst-group-after)
8733 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8734 Use closures instead of `(lambda...).
8736 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8738 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8741 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8742 Use `tramp-handle-insert-file-contents'.
8743 (tramp-gvfs-handle-insert-file-contents): Remove function.
8745 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8746 Use `save-restriction' in order to keep markers.
8748 * net/trampver.el: Update release number.
8750 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8752 * progmodes/compile.el (compilation-parse-errors):
8753 Use compilation--put-prop.
8754 (compilation--ensure-parse): Check compilation-multiline.
8756 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8758 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8761 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8763 * progmodes/ruby-mode.el: Fix recently added tests.
8764 (ruby-smie-grammar): Add - and +.
8765 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8766 (ruby-smie--backward-id): New functions.
8767 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8768 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8771 2013-10-07 Leo Liu <sdl.web@gmail.com>
8773 * register.el (register-preview-delay)
8774 (register-preview-functions): New variables.
8775 (register-read-with-preview, register-preview)
8776 (register-describe-oneline): New functions.
8777 (point-to-register, window-configuration-to-register)
8778 (frame-configuration-to-register, jump-to-register)
8779 (number-to-register, view-register, insert-register)
8780 (copy-to-register, append-to-register, prepend-to-register)
8781 (copy-rectangle-to-register): Use register-read-with-preview to
8782 read register. (Bug#15525)
8784 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8786 * net/network-stream.el (network-stream-open-starttls): Don't add
8787 --insecure if it's already present, because that gnutls-cli
8788 rejects getting that parameter twice.
8790 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8792 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8795 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8797 * newcomment.el (comment-use-global-state): Change default value
8798 to t, mark obsolete (Bug#15251).
8799 (comment-beginning): In addition to `comment-to-syntax', check the
8800 value of `comment-use-global-state'.
8802 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8804 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8805 (ruby-comment-column): Follow the global default, by default.
8806 (ruby-smie-grammar): Add assignment syntax.
8807 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8808 open-paren, a comma, or a \.
8809 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8810 and line continuations.
8811 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8812 followed by implicit semi-colons. Add rule for string concatenation
8813 and for indentation at BOB.
8814 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8816 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8817 calling next-sexp, since next-token may have skipped chars which
8818 next-sexp doesn't know should be skipped!
8820 2013-10-05 Leo Liu <sdl.web@gmail.com>
8822 * progmodes/octave.el (octave-send-region):
8823 Call compilation-forget-errors.
8825 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8827 * vc/vc-svn.el (vc-svn-find-admin-dir):
8828 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8829 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8830 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8831 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8833 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8835 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8837 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * subr.el (read-passwd): Hide chars even when called within a context
8840 where after-change-functions is disabled (bug#15501).
8841 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8842 until we removed ourself from overriding-terminal-local-map.
8844 2013-10-04 Leo Liu <sdl.web@gmail.com>
8846 * progmodes/octave.el (inferior-octave-mode):
8847 Call compilation-forget-errors.
8849 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8851 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8853 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8855 * net/secrets.el (secrets-create-collection): Add optional
8856 argument ALIAS. Use proper Label keyword. Append ALIAS as
8857 dbus-call-method argument. (Bug#15516)
8859 2013-10-04 Leo Liu <sdl.web@gmail.com>
8861 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8862 (inferior-octave-compilation-font-lock-keywords): New variables.
8863 (compilation-error-regexp-alist)
8864 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8865 (inferior-octave-mode): Use compilation-shell-minor-mode.
8867 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8869 * minibuffer.el (completion--replace): Be careful that `end' might be
8872 2013-10-03 Daiki Ueno <ueno@gnu.org>
8874 Add support for package signature checking.
8875 * emacs-lisp/package.el (url-http-file-exists-p)
8876 (epg-make-context, epg-context-set-home-directory)
8877 (epg-verify-string, epg-context-result-for)
8878 (epg-signature-status, epg-signature-to-string)
8879 (epg-check-configuration, epg-configuration)
8880 (epg-import-keys-from-file): Declare.
8881 (package-check-signature): New user option.
8882 (package-unsigned-archives): New user option.
8883 (package-desc): Add `signed' field.
8884 (package-load-descriptor): Set `signed' field if .signed file exists.
8885 (package--archive-file-exists-p): New function.
8886 (package--check-signature): New function.
8887 (package-install-from-archive): Check package signature.
8888 (package--download-one-archive): Check archive signature.
8889 (package-delete): Remove .signed file.
8890 (package-import-keyring): New command.
8891 (package-refresh-contents): Import default keyring.
8892 (package-desc-status): Add "unsigned" status.
8893 (describe-package-1, package-menu--print-info)
8894 (package-menu-mark-delete, package-menu--find-upgrades)
8895 (package-menu--status-predicate): Support "unsigned" status.
8897 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8900 the new compilation scheme using the new byte-codes.
8902 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8903 (byte-pophandler): New byte codes.
8904 (byte-goto-ops): Adjust accordingly.
8905 (byte-compile--use-old-handlers): New var.
8906 (byte-compile-catch): Use new byte codes depending on
8907 byte-compile--use-old-handlers.
8908 (byte-compile-condition-case--old): Rename from
8909 byte-compile-condition-case.
8910 (byte-compile-condition-case--new): New function.
8911 (byte-compile-condition-case): New function that dispatches depending
8912 on byte-compile--use-old-handlers.
8913 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8916 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8917 Optimize under `condition-case' and `catch' if
8918 byte-compile--use-old-handlers is nil.
8919 (disassemble-offset): Handle new bytecodes.
8921 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8923 * subr.el (error): Use `declare'.
8924 (decode-char, encode-char): Use advertised-calling-convention instead
8925 of the docstring to discourage use of the `restriction' arg.
8927 2013-10-03 Daiki Ueno <ueno@gnu.org>
8929 * epg.el (epg-verify-file): Add a comment saying that it does not
8930 notify verification error as a return value nor a signal.
8931 (epg-verify-string): Ditto.
8933 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8935 * progmodes/compile.el (compilation-start): Try globbing the arg to
8938 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8940 Sync with Tramp 2.2.8.
8942 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8943 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8944 * net/trampver.el: Update release number.
8946 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8948 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8949 and default-process-coding-system for darwin only.
8951 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8953 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8955 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8957 * vc/vc-git.el (vc-git-grep): Disable pager.
8959 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8961 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8962 Use :url instead of :homepage, as per
8963 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8965 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8966 non-nil, use `syntax-ppss' (Bug#15251).
8968 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8970 * progmodes/octave.el (inferior-octave-startup-file):
8971 Prefer ~/.emacs.d/init_octave.m.
8973 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8975 * emacs-lisp/package.el (package-desc-from-define):
8976 Accept additional arguments as plist, convert them to an alist and store
8977 them in the `extras' slot.
8978 (package-generate-description-file): Convert extras alist back to
8979 plist and append to the `define-package' form arguments.
8980 (package--alist-to-plist): New function.
8981 (package--ac-desc): Add `extras' slot.
8982 (package--add-to-archive-contents): Check if the archive-contents
8983 vector is long enough, and if it is, pass its `extras' slot value
8984 to `package-desc-create'.
8985 (package-buffer-info): Call `lm-homepage', pass the returned value
8986 to `package-desc-from-define'.
8987 (describe-package-1): Render the homepage button (Bug#13291).
8989 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8990 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8992 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8994 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8995 and default-process-coding-system to utf-8-unix (Bug#15402).
8997 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8999 * subr.el (looking-back): Do not recommend using looking-back.
9001 2013-09-28 Alan Mackenzie <acm@muc.de>
9003 Fix indentation/fontification of Java enum with "implements".
9005 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9006 regexp which matches "implements", etc., in Java.
9007 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9008 specifier clauses coming after "enum".
9009 * progmodes/cc-fonts.el (c-font-lock-declarations)
9010 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9013 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9015 * faces.el (region): Change ns_selection_color to
9016 ns_selection_fg_color, add ns_selection_bg_color.
9018 2013-09-28 Leo Liu <sdl.web@gmail.com>
9020 * progmodes/octave.el (inferior-octave-completion-table)
9021 (inferior-octave-completion-at-point): Minor tweaks.
9023 * textmodes/ispell.el (ispell-lookup-words): Rename from
9024 lookup-words. (Bug#15460)
9025 (lookup-words): Obsolete.
9026 (ispell-complete-word, ispell-command-loop): All uses changed.
9028 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9030 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9031 (octave-mode-menu): Add octave-send-buffer.
9032 (octave-send-buffer): New function.
9034 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9036 * progmodes/octave.el (octave-mode-map): Add key binding for
9038 (octave-mode-menu): Add octave-lookfor.
9039 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9041 (octave-lookfor): New function.
9043 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9045 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9046 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9048 (cl--loop-set-iterator-function): New function.
9049 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9050 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9051 Bind `it' with `let' instead of substituting it with `cl-subst'.
9052 (cl--unused-var-p): New function.
9053 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9054 Eliminate some unused variable warnings (bug#15326).
9056 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9058 * doc-view.el (doc-view-scale-reset): Rename from
9059 `doc-view-reset-zoom-level'.
9060 (doc-view-scale-adjust): New command.
9061 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9062 `doc-view-scale-adjust'.
9064 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9066 * doc-view.el (doc-view-reset-zoom-level): New command.
9067 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9068 zoom commands (bug#15466).
9070 2013-09-26 Kenichi Handa <handa@gnu.org>
9072 * international/quail.el (quail-help): Make it not a command.
9074 2013-09-26 Leo Liu <sdl.web@gmail.com>
9076 * minibuffer.el (completion-all-sorted-completions): Make args
9077 optional as they are.
9079 2013-09-25 Daniel Colascione <dancol@dancol.org>
9081 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9082 specs are and that they're not evaluated.
9084 2013-09-24 Sam Steingold <sds@gnu.org>
9086 * midnight.el (clean-buffer-list-kill-regexps)
9087 (clean-buffer-list-kill-buffer-names): Update for the new Man
9088 buffer naming which includes the object name.
9090 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9092 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9093 (eshell-parse-command, eshell-parse-pipeline): Use it since
9094 eshell-separate-commands requires a dynamic scoped var.
9095 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9097 2013-09-23 Leo Liu <sdl.web@gmail.com>
9099 * autoinsert.el (auto-insert-alist): Make the value of
9100 lexical-binding match its file setting.
9102 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9104 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9106 * autoarg.el (autoarg-kp-digit-argument):
9107 * electric.el (Electric-command-loop):
9108 * kmacro.el (kmacro-step-edit-insert):
9109 Do not set universal-argument-num-events.
9111 2013-09-22 Leo Liu <sdl.web@gmail.com>
9113 * files.el (interpreter-mode-alist): Add octave.
9115 2013-09-21 Alan Mackenzie <acm@muc.de>
9117 C++: fontify identifier in declaration following "public:" correctly.
9118 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9119 to match "public", etc.
9120 (c-decl-prefix-re): Add ":" into the C++ value.
9121 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9122 bit. Add a check for a ":" preceded by "public", etc.
9124 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9126 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9127 recognized by GDB 7.5 and later.
9129 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9131 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9133 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9135 * subr.el (internal--call-interactively): New const.
9136 (called-interactively-p): Use it (bug#3984).
9138 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9140 * vc/pcvs.el (cvs-mode-ignore):
9141 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9142 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9144 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9146 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9147 (eshell-ls-orig-insert-directory): Remove.
9148 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9149 (eshell-ls-use-in-dired): Use advice-add/remove.
9150 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9151 Add `orig-fun' arg for use in :around advice.
9152 Make it check (redundantly) eshell-ls-use-in-dired.
9154 2013-09-19 Glenn Morris <rgm@gnu.org>
9156 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9158 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9160 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9162 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9164 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9165 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9166 (tramp-get-remote-python): New defuns.
9167 (tramp-get-remote-uid-with-perl)
9168 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9169 contributed by yary <not.com@gmail.com> (tiny change).
9170 (tramp-get-remote-uid-with-python)
9171 (tramp-get-remote-gid-with-python): New defuns. Python code
9172 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9173 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9175 2013-09-19 Glenn Morris <rgm@gnu.org>
9177 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9179 * eshell/em-unix.el (eshell-remove-entries):
9180 Rename argument to avoid name-clash with global `top-level'.
9182 * eshell/esh-proc.el (eshell-kill-process-function):
9183 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9184 (eshell-reset-after-proc): Remove unused arg `proc'.
9186 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9187 (directory-files-and-attributes): Mark unused arg.
9189 * eshell/em-unix.el (eshell-remove-entries):
9190 Remove unused arg `path'. Update callers.
9192 * eshell/em-hist.el (eshell-hist-parse-arguments):
9193 Remove unused arg `silent'. Update callers.
9195 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9196 Fix (f)boundp mix-up.
9198 * eshell/em-smart.el (eshell-smart-scroll-window)
9199 (eshell-disable-after-change):
9200 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9202 2013-09-18 Alan Mackenzie <acm@muc.de>
9204 Fix fontification of type when followed by "const".
9205 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9206 "known" types from fontification.
9208 2013-09-18 Glenn Morris <rgm@gnu.org>
9210 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9211 (chart-face-list): Drop Emacsen without display-color-p.
9213 * net/eww.el (libxml-parse-html-region): Declare.
9214 (eww-display-html): Explicit error if no libxml2 support.
9216 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9218 * image.el (image-type-from-buffer, image-multi-frame-p):
9219 Remove --without-x warning/error.
9221 * mouse.el (mouse-yank-primary):
9222 * term.el (term-mouse-paste):
9223 Reorder to silence --without-x compilation.
9225 * mpc.el (doc-view-mode): Silence --without-x compilation.
9227 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9228 Silence --without-x compilation.
9230 * progmodes/gud.el (gud-find-file, gud-mode):
9231 Silence --without-x compilation.
9232 (tooltip-mode): Declare.
9234 * wdired.el (dired-backup-overwrite): Remove declaration.
9235 (wdired-mode-map): Add doc string.
9237 * custom.el (x-get-resource): Declare.
9239 * eshell/em-glob.el (ange-cache):
9240 * eshell/em-unix.el (ange-cache): Declare.
9242 * faces.el (x-display-list, x-open-connection, x-get-resource):
9245 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9246 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9249 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9251 * net/gnutls.el (gnutls-log-level): Declare.
9253 * net/shr.el (image-size, image-animate): Declare.
9255 * simple.el (font-info): Declare.
9257 * subr.el (x-popup-dialog): Declare.
9259 * term/common-win.el (x-select-enable-primary)
9260 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9263 * term/ns-win.el (x-handle-args): Declare.
9265 * term/x-win.el (x-select-enable-clipboard): Declare.
9267 * term/w32-win.el (create-default-fontset): Declare.
9269 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9272 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9273 (fit-frame-to-buffer): Explicit error if --without-x.
9274 (mouse-autoselect-window-select): Silence compiler.
9276 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9278 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9279 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9280 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9281 * eshell/esh-util.el (eshell-sublist):
9282 Remove unused local variables.
9284 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9286 * textmodes/two-column.el: Make 2C-split work for --without-x.
9287 (scroll-bar-columns): Autoload.
9288 (top-level): Require fringe when compiling.
9290 2013-09-18 Leo Liu <sdl.web@gmail.com>
9292 * subr.el (add-hook): Robustify to handle closure as well.
9294 2013-09-17 Glenn Morris <rgm@gnu.org>
9296 * simple.el (messages-buffer-mode-map): Unbind "g".
9298 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9300 * help-mode.el (help-mode-finish): Use derived-mode-p.
9301 Remove obsolete highlighting.
9303 * play/life.el (life-mode): Use define-derived-mode. Derive from
9305 (life): Let-bind inhibit-read-only.
9306 (life-setup): Avoid `setq'. Use `life-mode'.
9308 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9309 which should not be needed any more.
9310 (package-menu-refresh, package-menu-describe-package): Use user-error.
9312 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9313 (eshell-post-rewrite-command-hook): Make obsolete.
9314 (eshell-parse-command): Simplify.
9315 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9316 (eshell--cmd): Declare.
9317 (eshell-parse-pipeline): Remove unused var `final-p'.
9318 Pass a dynvar to eshell-post-rewrite-command-hook.
9319 Implement the new eshell-post-rewrite-command-function.
9320 (eshell-invoke-directly): Remove unused arg `input'.
9321 * eshell/esh-io.el (eshell-io-initialize):
9322 Use eshell-post-rewrite-command-function (bug#15399).
9323 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9324 adjust to new calling convention.
9325 (eshell-create-handles): Rename args to avoid clashing with dynvar
9328 2013-09-17 Glenn Morris <rgm@gnu.org>
9330 * simple.el (messages-buffer-mode): New major mode.
9331 (messages-buffer): New function.
9332 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9333 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9334 (ert-run-test): Use `messages-buffer' function.
9335 (ert--force-message-log-buffer-truncation): Ignore read-only.
9336 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9337 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9339 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9341 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9343 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9345 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9347 * icomplete.el (icomplete-in-buffer): New var.
9348 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9349 vars and replace them with functions.
9350 (icomplete-minibuffer-setup): Adjust accordingly.
9351 (icomplete--completion-table, icomplete--completion-predicate)
9352 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9354 (icomplete-forward-completions, icomplete-backward-completions)
9355 (icomplete-simple-completing-p, icomplete-exhibit)
9356 (icomplete-completions): Use them.
9357 (icomplete--in-region-buffer): New var.
9358 (icomplete--in-region-setup): New function.
9359 (icomplete-mode): Use it.
9361 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9363 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9364 return args and options.
9365 (eshell-eval-using-options): Use the new return value of
9366 eshell--do-opts to set the options's vars in their scope.
9367 (eshell--set-option): Rename from eshell-set-option.
9369 (eshell--process-option): Rename from eshell-process-option.
9371 (eshell--process-args): Use an `opt-vals' alist to store the options's
9372 values during their processing and return them additionally to the
9375 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9377 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9378 continuation character an operator, as far as indentation is
9379 concerned (Bug#15369).
9381 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9383 * window.el (window--state-put-2): Don't process buffer state
9384 when buffer doesn't exist any more (Bug#15382).
9386 2013-09-15 Glenn Morris <rgm@gnu.org>
9388 * eshell/em-unix.el (eshell/rm):
9389 Make -f ignore missing files. (Bug#15373)
9391 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9392 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9393 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9395 2013-09-14 Glenn Morris <rgm@gnu.org>
9397 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9399 2013-09-13 Glenn Morris <rgm@gnu.org>
9401 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9402 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9404 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9406 * frame.el (x-focus-frame): Mark as declared in frame.c.
9408 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9410 * ls-lisp.el: Use advice-add.
9411 (original-insert-directory): Remove.
9412 (ls-lisp--insert-directory): Rename from insert-directory; add
9413 `orig-fun' argument.
9414 (insert-directory): Advise.
9416 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9418 * term.el (term-emulate-terminal): Decode the command string
9419 before passing it to term-command-hook. (Bug#15337)
9421 2013-09-13 Glenn Morris <rgm@gnu.org>
9423 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9425 * eshell/esh-ext.el (eshell-search-path): Declare.
9427 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9428 Otherwise an error occurs if eshell-dirs module not loaded.
9430 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9432 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9434 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9435 `tramp-check-proper-host'. Check for a valid method name.
9437 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9438 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9439 * net/tramp-sh.el (tramp-maybe-open-connection):
9440 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9442 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9443 also for hash values.
9445 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9447 * term/ns-win.el (parameters): Don't declare as dynamic.
9448 (before-make-frame-hook): Don't add ineffective function.
9450 * eshell/*.el: Use lexical-binding (bug#15231).
9452 2013-09-12 Kenichi Handa <handa@gnu.org>
9454 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9456 2013-09-12 Glenn Morris <rgm@gnu.org>
9458 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9459 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9461 * subr.el (do-after-load-evaluation): Also give compiler warnings
9462 when obsolete files are used (except by obsolete files).
9464 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9465 in the status output, assume `filename' is the first. (Bug#15322)
9467 * vc/vc.el (vc-deduce-fileset): Doc fix.
9469 * calc/calc-help.el (Info-goto-node):
9470 * progmodes/cperl-mode.el (Info-find-node):
9471 * vc/ediff.el (Info-goto-node): Update declarations.
9473 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9475 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9476 (vc-bzr-pull): Require vc-dispatcher.
9477 * vc/vc-git.el (vc-compilation-mode): Declare.
9478 (vc-git-pull): Require vc-dispatcher.
9480 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9482 * progmodes/octave.el (help-button-action): Declare.
9484 * shell.el (shell-directory-tracker): Output error as a message
9485 rather than just returning it as a string.
9486 (shell-process-pushd): Remove useless use of message.
9488 * dframe.el (dframe-timer-fn):
9489 * files.el (dir-locals-read-from-file):
9490 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9492 * reveal.el (reveal-post-command):
9493 * saveplace.el (load-save-place-alist-from-file):
9494 * shell.el (shell-resync-dirs):
9495 * w32-common-fns.el (x-get-selection-value):
9496 * emacs-lisp/copyright.el (copyright-find-copyright):
9497 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9498 * emulation/tpu-edt.el (tpu-copy-keyfile):
9499 * play/bubbles.el (bubbles--mark-neighbourhood):
9500 * progmodes/executable.el
9501 (executable-make-buffer-file-executable-if-script-p):
9502 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9504 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9506 Cleanup Eshell to rely less on dynamic scoping.
9507 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9508 last-value, and ext-command here. Bind `args' closer to `body'.
9509 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9510 (eshell--args): Declare new dynamic var.
9511 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9512 last-value, and ext-command. Pass `args' to `body'.
9513 (eshell-process-args): Bind eshell--args.
9514 (eshell-set-option): Use eshell--args.
9515 * eshell/eshell.el (eshell): Use derived-mode-p.
9516 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9517 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9518 (eshell-glob-function): Declare.
9519 * eshell/esh-util.el: Require cl-lib.
9520 (eshell-read-hosts-file): Avoid add-to-list.
9521 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9523 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9525 (eshell/diff): Remove unused var `err'.
9526 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9528 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9529 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9531 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9532 Move declaration before first use.
9533 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9534 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9537 2013-09-12 Glenn Morris <rgm@gnu.org>
9539 * term/ns-win.el (global-map): Remove binding for ispell-next,
9540 deleted 1999-05-29. (Bug#15357)
9542 2013-09-11 Glenn Morris <rgm@gnu.org>
9544 * echistory.el (electric-command-history): Remove call to deleted func.
9546 * play/landmark.el (landmark-mode): Fix typos.
9548 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9549 Check cvs-sort-ignore-file is bound.
9551 * savehist.el: No need for cl when compiling on Emacs.
9553 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9555 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9557 (eshell-self-insert-command, eshell-send-invisible):
9558 Remove unused argument.
9559 (eshell-handle-control-codes): Remove unused var `orig'.
9560 Avoid delete-backward-char.
9562 * files.el (set-auto-mode): Simplify a bit further.
9564 2013-09-11 Glenn Morris <rgm@gnu.org>
9566 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9567 (set-auto-mode): Don't regexp-quote elements.
9568 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9569 * progmodes/cc-mode.el (interpreter-mode-alist):
9570 * progmodes/ruby-mode.el (interpreter-mode-alist):
9571 Revert previous change.
9573 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9575 * play/snake.el (snake-mode):
9576 * play/mpuz.el (mpuz-mode):
9577 * play/landmark.el (lm-mode):
9578 * play/blackbox.el (blackbox-mode):
9579 * play/5x5.el (5x5-mode):
9580 * obsolete/options.el (Edit-options-mode):
9581 * net/quickurl.el (quickurl-list-mode):
9582 * net/newst-treeview.el (newsticker-treeview-mode):
9583 * mail/rmailsum.el (rmail-summary-mode):
9584 * mail/mspools.el (mspools-mode):
9585 * locate.el (locate-mode):
9586 * ibuffer.el (ibuffer-mode):
9587 * emulation/ws-mode.el (wordstar-mode):
9588 * emacs-lisp/debug.el (debugger-mode):
9589 * array.el (array-mode):
9590 * net/eudc.el (eudc-mode): Use define-derived-mode.
9591 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9592 Move initialization into declaration.
9593 (mairix-searches-mode): Use define-derived-mode.
9594 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9595 (eudc-edit-hotlist): Use dolist.
9596 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9597 (Man-mode): Use define-derived-mode.
9598 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9599 (Info-edit-mode): Use define-derived-mode.
9600 (Info-cease-edit): Use Info-mode.
9601 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9603 (eshell-mode): Use define-derived-mode.
9604 * chistory.el (command-history-mode-map): Rename from
9605 command-history-map.
9606 (command-history-mode): Use define-derived-mode.
9607 (Command-history-setup): Remove function.
9608 * calc/calc.el (calc-trail-mode-map): New var.
9609 (calc-trail-mode): Use define-derived-mode.
9610 (calc-trail-buffer): Set calc-main-buffer manually.
9611 * bookmark.el (bookmark-insert-annotation): New function.
9612 (bookmark-edit-annotation): Use it.
9613 (bookmark-edit-annotation-mode): Make it a proper major mode.
9614 (bookmark-send-edited-annotation): Use derived-mode-p.
9615 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9616 closer to its ideal place. Use \' to match EOS.
9618 * profiler.el (profiler-calltree-find): Use function-equal.
9620 2013-09-10 Glenn Morris <rgm@gnu.org>
9622 * files.el (interpreter-mode-alist): Convert to regexps.
9623 (set-auto-mode): Adapt for this. (Bug#15306)
9624 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9625 Comment out unused variable.
9626 * progmodes/cc-mode.el (interpreter-mode-alist):
9627 * progmodes/python.el (interpreter-mode-alist):
9628 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9629 * progmodes/sh-script.el (sh-set-shell):
9630 No longer use interpreter-mode-alist to get list of shells.
9632 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9634 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9636 * simple.el: Use set-temporary-overlay-map for universal-argument.
9637 (universal-argument-map): Don't use default-bindings (bug#15317).
9638 Bind switch-frame explicitly. Replace universal-argument-minus with
9639 a conditional binding.
9640 (universal-argument-num-events, saved-overriding-map): Remove.
9641 (restore-overriding-map): Remove.
9642 (universal-argument--mode): Rename from save&set-overriding-map,
9644 (universal-argument, universal-argument-more, negative-argument)
9645 (digit-argument): Adjust accordingly.
9646 (universal-argument-minus): Remove.
9647 (universal-argument-other-key): Remove.
9649 * subr.el (with-demoted-errors): Add `format' argument.
9651 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9653 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9654 `tramp-cleanup-connection'.
9656 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9657 parameters KEEP-DEBUG and KEEP-PASSWORD.
9659 * net/tramp.el (tramp-file-name-handler):
9660 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9661 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9662 (tramp-maybe-open-connection):
9663 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9664 Use `tramp-cleanup-connection'.
9666 * net/tramp-sh.el (tramp-maybe-open-connection):
9667 Catch 'uname-changed inside the progress reporter.
9669 2013-09-10 Glenn Morris <rgm@gnu.org>
9671 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9673 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9674 returns "alternate access method" in mode (eg "-rw-r--r--.").
9676 2013-09-08 Glenn Morris <rgm@gnu.org>
9678 * saveplace.el (load-save-place-alist-from-file):
9679 Demote errors. (Bug#15305)
9681 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9683 Improve compatibility with older Emacsen, and XEmacs.
9685 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9686 only if it is bound. It isn't for XEmacs.
9687 (with-tramp-progress-reporter): Do not let-bind `result'.
9688 This yields to scoping errors in XEmacs.
9689 (tramp-handle-make-auto-save-file-name): New function, moved from
9692 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9693 for `make-auto-save-file-name'.
9694 (tramp-adb--gnu-switches-to-ash):
9695 Use `tramp-compat-replace-regexp-in-string'.
9697 * net/tramp-cache.el (tramp-cache-print): Call
9698 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9700 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9701 bound. It isn't for XEmacs.
9703 * net/tramp-compat.el (tramp-compat-copy-file):
9704 Catch `wrong-number-of-arguments' error.
9705 (tramp-compat-replace-regexp-in-string): New defun.
9707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9708 for `make-auto-save-file-name'.
9709 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9711 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9712 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9713 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9715 * net/tramp-gw.el (tramp-gw-open-network-stream):
9716 Use `tramp-compat-replace-regexp-in-string'.
9718 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9719 Call `tramp-handle-make-auto-save-file-name'.
9720 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9721 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9722 (tramp-sh-file-inotifywait-process-filter):
9723 Use `tramp-compat-replace-regexp-in-string'.
9724 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9726 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9727 for `make-auto-save-file-name'.
9728 (tramp-smb-handle-copy-directory):
9729 Call `tramp-compat-replace-regexp-in-string'.
9730 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9731 (tramp-smb-handle-copy-file): Improve error message.
9732 (tramp-smb-handle-rename-file): Rename directly only in case
9733 `newname' does not exist yet. This is a restriction of smbclient.
9734 (tramp-smb-maybe-open-connection): Rerun the function only when
9735 `auth-sources' is non-nil.
9737 2013-09-08 Kenichi Handa <handa@gnu.org>
9739 * international/characters.el: Set category "^" (Combining) for
9742 2013-09-07 Alan Mackenzie <acm@muc.de>
9744 Correctly fontify Java class constructors.
9745 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9747 (c-recognize-typeless-decls): Set the Java value to t.
9748 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9749 While handling a "(", add a check for, effectively, Java, and handle a
9750 "typeless" declaration there.
9752 2013-09-07 Roland Winkler <winkler@gnu.org>
9754 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9755 field subtitle for entry type book.
9757 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9759 * minibuffer.el: Make minibuffer-complete call completion-in-region
9760 rather than other way around.
9761 (completion--some, completion-pcm--find-all-completions):
9762 Don't delay signals when debugging.
9763 (minibuffer-completion-contents): Beware fields within the
9764 minibuffer contents.
9765 (completion-all-sorted-completions): Use defvar-local.
9766 (completion--do-completion, completion--cache-all-sorted-completions)
9767 (completion-all-sorted-completions, minibuffer-force-complete):
9768 Add args `beg' and `end'.
9769 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9770 (minibuffer-complete): Use completion-in-region.
9771 (completion-complete-and-exit): New fun, extracted from
9772 minibuffer-complete-and-exit.
9773 (minibuffer-complete-and-exit): Use it.
9774 (completion--complete-and-exit): Rename from
9775 minibuffer--complete-and-exit.
9776 (completion-in-region--single-word): New function, extracted from
9777 minibuffer-complete-word.
9778 (minibuffer-complete-word): Use it.
9779 (display-completion-list): Make `common-substring' argument obsolete.
9780 (completion--in-region): Call completion--in-region-1 instead of
9781 minibuffer-complete.
9782 (completion-help-at-point): Pass boundaries to
9783 minibuffer-completion-help as args rather than via an overlay.
9784 (completion-pcm--string->pattern): Use `any-delim'.
9785 (completion-pcm--optimize-pattern): New function.
9786 (completion-pcm--pattern->regex): Handle `any-delim'.
9787 * icomplete.el (icomplete-forward-completions)
9788 (icomplete-backward-completions, icomplete-completions):
9789 Adjust calls to completion-all-sorted-completions and
9790 completion--cache-all-sorted-completions.
9791 (icomplete-with-completion-tables): Default to t.
9792 * emacs-lisp/crm.el (crm--current-element): Rename from
9793 crm--select-current-element. Don't put an overlay but return the
9795 (crm--completion-command): Take two new args to bind to the boundaries.
9796 (crm-completion-help): Adjust accordingly.
9797 (crm-complete): Use completion-in-region.
9798 (crm-complete-word): Use completion-in-region--single-word.
9799 (crm-complete-and-exit): Use completion-complete-and-exit.
9801 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9803 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9806 2013-09-06 Juri Linkov <juri@jurta.org>
9808 * info.el (Info-display-images-node): When image file doesn't exist
9809 display text version of the image if it's provided in the Info file.
9810 Otherwise, display the location of missing image from SRC attribute.
9811 Add help-echo text property from ALT attribute. (Bug#15279)
9813 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9815 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9816 (edit-abbrevs-mode): Use define-derived-mode.
9818 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9819 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9821 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9822 Use define-derived-mode.
9824 * epg.el (epg-start-encrypt): Minor CSE simplification.
9826 2013-09-06 William Xu <william.xwl@gmail.com>
9828 * arc-mode.el: Add support for 7za (bug#15264).
9829 (archive-7z-program): New var.
9830 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9831 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9832 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9834 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9838 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9839 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9840 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9841 (tramp-postfix-host-format, tramp-file-name-regexp)
9842 (tramp-completion-file-name-regexp)
9843 (tramp-completion-dissect-file-name)
9844 (tramp-handle-substitute-in-file-name): Remove 'url case.
9845 (tramp-file-name-regexp-url)
9846 (tramp-completion-file-name-regexp-url): Remove constants.
9848 2013-09-06 Glenn Morris <rgm@gnu.org>
9850 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9852 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9854 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9855 keywords" below "here-doc beginnings" (Bug#15270).
9857 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9859 * subr.el (pop): Use `car-safe'.
9860 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9861 to detect unused `pop' return value.
9863 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9865 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9866 (python-fill-string): Remove unused var `marker'.
9867 (python-skeleton-add-menu-items): Remove unused var `items'.
9869 * international/mule-cmds.el: Require CL.
9870 (find-coding-systems-for-charsets): Avoid add-to-list.
9871 (sanitize-coding-system-list): New function, extracted from
9872 select-safe-coding-system-interactively.
9873 (select-safe-coding-system-interactively): Use it.
9874 (read-input-method-name): Accept symbols for `default'.
9876 * emacs-lisp/advice.el (defadvice): Add indent rule.
9878 2013-09-05 Daniel Hackney <dan@haxney.org>
9882 * net/browse-url.el:
9885 * net/eudcb-ldap.el:
9898 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9899 byte compiler. Remove some unused let-bound variables.
9901 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9903 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9904 a "ref-cell", since it gets better optimized (bug#14883).
9906 2013-09-05 Glenn Morris <rgm@gnu.org>
9908 * progmodes/cc-awk.el (c-forward-sws): Declare.
9910 2013-09-04 Glenn Morris <rgm@gnu.org>
9912 * generic-x.el [rul-generic-mode]: Require cc-mode.
9913 (c++-mode-syntax-table): Declare.
9914 (rul-generic-mode-syntax-table): Init in the defvar.
9916 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9918 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9919 (vc-do-command, vc-set-async-update):
9920 * vc/vc-mtn.el (vc-mtn-dir-status):
9921 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9922 (vc-hg-pull, vc-hg-merge-branch):
9923 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9924 (vc-git-merge-branch):
9925 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9926 (vc-cvs-dir-status-files):
9927 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9928 (vc-bzr-dir-status-files):
9929 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9930 * vc/vc-annotate.el: Use lexical-binding.
9931 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9932 (vc-sentinel-movepoint): Declare.
9933 (vc-annotate): Don't use `goto-line'.
9934 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9935 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9936 (vc-sentinel-movepoint): Declare.
9937 * vc/vc-svn.el: Use lexical-binding.
9938 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9940 * vc/vc-rcs.el: Use lexical-binding.
9942 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9943 `deleted'. Don't drop errors silently.
9945 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9947 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9949 * vc/vc.el (vc-ignore): Rewrite.
9950 (vc-default-ignore): New function.
9951 (vc-default-ignore-completion-table): Use find-ignore-file.
9953 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9954 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9955 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9956 Remove. Most code moved to vc.el.
9958 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9960 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9961 * net/tramp-smb.el (tramp-smb-get-file-entries):
9962 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9963 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9965 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9967 (eww-change-select): Remove unused var `properties'.
9968 (eww-make-unique-file-name): Remove unused var `base'.
9970 * finder.el (finder-compile-keywords): Don't mess with windows.
9972 * calculator.el (calculator-funcall): Fix typo in last change.
9974 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9976 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9977 <pkg>-autoloads.el file stop us.
9979 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9980 warnings, and factor out common code.
9982 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9984 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9985 two-character operators and whether the character preceding them
9986 changes their meaning (Bug#15208).
9988 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9990 Format code sent to Python shell for robustness.
9991 * progmodes/python.el (python-shell-buffer-substring):
9993 (python-shell-send-region, python-shell-send-buffer): Use it.
9995 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9997 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9998 * net/tramp.el (tramp-user-error): ... here.
9999 (tramp-find-method, tramp-check-proper-host)
10000 (tramp-dissect-file-name, tramp-debug-message)
10001 (tramp-handle-shell-command):
10002 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10003 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10005 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10007 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10009 * avoid.el (mouse-avoidance-point-position)
10010 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10013 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10015 * progmodes/python.el (python-shell-completion-get-completions):
10016 Drop use of deleted `comint-last-prompt-overlay'.
10017 (python-nav-if-name-main): New command.
10019 2013-09-01 Glenn Morris <rgm@gnu.org>
10021 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10022 Avoid leading space in $wins. Otherwise the sed command used by
10023 eg compile-main ends up containing "/*.el". (Bug#15170)
10025 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10027 2013-08-30 Glenn Morris <rgm@gnu.org>
10029 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10030 Fix is-this-a-directory logic. (Bug#15220)
10032 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10034 * textmodes/css-mode.el: Use SMIE.
10035 (css-smie-grammar): New var.
10036 (css-smie--forward-token, css-smie--backward-token)
10037 (css-smie-rules): New functions.
10038 (css-mode): Use them.
10039 (css-navigation-syntax-table): Remove var.
10040 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10041 (css-indent-calculate, css-indent-line): Remove functions.
10043 Misc changes to reduce use of `(lambda...); and other cleanups.
10044 * cus-edit.el: Use lexical-binding.
10045 (customize-push-and-save, customize-apropos)
10046 (custom-buffer-create-internal): Use closures.
10047 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10048 * progmodes/ada-xref.el: Use setq.
10049 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10050 * dframe.el: Use lexical-binding.
10051 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10052 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10053 * descr-text.el: Use lexical-binding.
10054 (describe-text-widget, describe-text-sexp, describe-property-list):
10056 * comint.el (comint-history-isearch-push-state): Use a closure.
10057 * calculator.el: Use lexical-binding.
10058 (calculator-number-to-string): Make it work with lexical-binding.
10059 (calculator-funcall): Same and use cl-letf.
10061 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10062 (lisp--company-doc-string, lisp--company-location): New functions.
10063 (lisp-completion-at-point): Use them to improve Company support.
10065 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10066 params of lambda expressions.
10067 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10068 (ruby-smie--opening-pipe-p): New function.
10069 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10070 symbols and matched |...| for formal params.
10071 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10072 from being treated as hanging. Handle "rescue".
10074 2013-08-29 Glenn Morris <rgm@gnu.org>
10076 * progmodes/cc-engine.el (c-pull-open-brace):
10077 Move definition before use.
10079 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10081 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10082 are immutable. Don't use `unsafe' any more.
10083 (cl--defsubst-expand): Don't substitute at the same time as keeping
10084 a residual unused let-binding. Don't use `unsafe' any more.
10086 2013-08-29 Glenn Morris <rgm@gnu.org>
10088 * calendar/cal-china.el (calendar-chinese-year-cache):
10091 * nxml/nxml-util.el (nxml-debug-clear-inside):
10092 Use cl-loop rather than loop.
10094 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10096 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10098 2013-08-28 Glenn Morris <rgm@gnu.org>
10100 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10102 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10104 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10106 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10108 * simple.el (repeat-complex-command--called-interactively-skip):
10110 (repeat-complex-command): Use it (bug#14136).
10112 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10113 (c-define-abbrev-table): Add `doc' argument.
10114 (c-mode-abbrev-table, c++-mode-abbrev-table)
10115 (objc-mode-abbrev-table, java-mode-abbrev-table)
10116 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10117 (awk-mode-abbrev-table): Use it.
10118 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10119 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10120 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10121 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10122 Move initialization into the declaration; and remove any
10125 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10126 and dynamic let binding.
10128 * vc/smerge-mode.el: Remove redundant :group args.
10130 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10133 2013-08-28 Juri Linkov <juri@jurta.org>
10135 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10136 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10137 (isearch-other-meta-char): Handle an undefined shifted printing
10138 character by downshifting it. (Bug#15200)
10140 2013-08-28 Juri Linkov <juri@jurta.org>
10142 * isearch.el (isearch-search): Change regexp error message for
10143 non-regexp searches. (Bug#15166)
10145 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10147 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10148 for portability to hosts where /bin/sh has problems.
10150 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10152 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10154 2013-08-27 Juri Linkov <juri@jurta.org>
10156 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10157 in the keyboard macro. (Bug#15126)
10159 2013-08-27 Juri Linkov <juri@jurta.org>
10161 * isearch.el (isearch-quote-char): Comment out converting unibyte
10162 to multibyte, thus syncing with its `quoted-insert' counterpart.
10165 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10167 * window.el (display-buffer-use-some-window): Add missing
10168 argument in call of get-largest-window (Bug#15185).
10169 Reported by Stephen Leake.
10171 2013-08-27 Glenn Morris <rgm@gnu.org>
10173 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10175 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10177 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10178 from a matcher-function unless there's no more matches (bug#15161).
10180 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10182 * minibuffer.el: Revert change from 2013-08-20.
10184 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10185 with text property `tramp-default', if appropriate.
10186 (tramp-check-proper-host): New defun.
10187 (tramp-dissect-file-name): Do not check hostname. Revert change
10189 (tramp-backtrace): Make VEC-OR-PROC optional.
10191 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10192 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10193 * net/tramp-sh.el (tramp-maybe-open-connection):
10194 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10195 Apply `tramp-check-proper-host'.
10197 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10199 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10200 lambda expression in order to have `describe-variable' display it.
10202 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10204 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10205 BUF can be optional. (Bug#15186)
10207 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10209 * progmodes/flymake.el (flymake-get-real-file-name-function):
10210 Fix broken customization. (Bug#15184)
10212 2013-08-25 Alan Mackenzie <acm@muc.de>
10214 Improve indentation of bracelists defined by macros (without "=").
10216 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10217 expansion begins with "{", regard it as bracelist when it doesn't
10220 Parse C++ inher-intro when there's a template split over 2 lines.
10222 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10223 rigorously the search for "class" etc. followed by ":".
10225 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10226 random languages a regexp which never matches rather than nil.
10228 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10230 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10231 (c-awk-regexp-one-line-possibly-open-char-list-re)
10232 (c-awk-one-line-possibly-open-regexp-re)
10233 (c-awk-one-line-non-syn-ws*-re): Remove.
10234 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10235 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10236 (c-awk-space*-unclosed-regexp-/-re): New constants.
10237 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10238 aren't regexp delimiters.
10240 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10241 handling for a rare situation in AWK Mode involving unterminated
10244 2013-08-23 Glenn Morris <rgm@gnu.org>
10246 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10248 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10250 * files.el (create-file-buffer): If the result would begin with
10251 spaces, prepend a "|" instead of removing them. (Bug#15162)
10253 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10256 text-properties (bug#15155).
10258 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10260 (calc-keypad-redraw): Remove unused var `pad'.
10261 (calc-keypad-press): Remove unused var `menu'.
10263 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10265 * window.el (display-buffer-pop-up-frame):
10266 Call pop-up-frame-function with BUFFER current so `make-frame' will
10267 use it as the new frame's buffer (Bug#15133).
10269 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * calendar/timeclock.el: Minor cleanups.
10272 (timeclock-ask-before-exiting, timeclock-use-display-time):
10274 (timeclock-modeline-display): Define as alias before the
10276 (timeclock-mode-line-display): Use define-minor-mode.
10277 (timeclock-day-list-template): Make it a function, add an argument.
10278 (timeclock-day-list-required, timeclock-day-list-length)
10279 (timeclock-day-list-debt, timeclock-day-list-span)
10280 (timeclock-day-list-break): Adjust calls accordingly.
10282 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10284 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10285 Use read--expression so that completion works again.
10287 2013-08-21 Sam Steingold <sds@gnu.org>
10289 Add rudimentary inferior shell interaction
10290 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10291 (sh-set-shell): Reset it.
10292 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10293 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10295 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10297 * align.el: Use lexical-binding.
10298 (align-region): Simplify accordingly.
10300 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10302 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10304 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10305 `non-essential' up.
10307 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10310 * net/tramp-adb.el:
10311 * net/tramp-cmds.el:
10312 * net/tramp-ftp.el:
10313 * net/tramp-gvfs.el:
10315 * net/tramp-sh.el: Don't wrap external variable declarations by
10316 `eval-when-compile'.
10318 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10320 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10321 now that Emacs supports ImageMagick animations.
10323 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10325 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10326 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10328 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10330 * window.el (mouse-autoselect-window-select): Do autoselect when
10331 mouse pointer is on margin.
10333 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10335 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10337 2013-08-16 Glenn Morris <rgm@gnu.org>
10339 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10340 Handle "Remote Directory" response of some clients. (Bug#15058)
10342 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10343 Tweak warning. (Bug#14926)
10345 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10346 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10348 * image-mode.el (image-mode-map): Add menu items to reverse,
10349 increase, decrease, reset animation speed.
10350 (image--set-speed, image-increase-speed, image-decrease-speed)
10351 (image-reverse-speed, image-reset-speed): New functions.
10352 (image-mode-map): Add bindings for speed commands.
10354 * image.el (image-animate-get-speed, image-animate-set-speed):
10356 (image-animate-timeout): Respect image :speed property.
10358 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10360 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10361 previous line (bug#15101).
10362 (debugger-eval-expression, debugger-record-expression):
10363 Use read--expression (bug#15102).
10365 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10367 Remove byte compiler warnings, visible when compiling with
10368 `byte-compile-force-lexical-warnings' set to t.
10370 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10371 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10372 (tramp-handle-unhandled-file-name-directory)
10373 (tramp-handle-file-notify-add-watch, tramp-action-login)
10374 (tramp-action-succeed, tramp-action-permission-denied)
10375 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10376 arguments with "_".
10378 * net/tramp-adb.el (tramp-adb-parse-device-names)
10379 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10380 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10381 (tramp-adb-handle-file-truename): Remove unused arguments.
10383 * net/tramp-cache.el (tramp-flush-directory-property)
10384 (tramp-flush-connection-property, tramp-list-connections)
10385 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10387 * net/tramp-compat.el (tramp-compat-make-temp-file):
10388 Rename FILENAME to F.
10390 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10391 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10392 (tramp-zeroconf-parse-workstation-device-names)
10393 (tramp-zeroconf-parse-webdav-device-names)
10394 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10396 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10397 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10399 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10401 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10402 (tramp-sh-handle-insert-file-contents-literally)
10403 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10405 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10406 Remove unused variables.
10408 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10409 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10410 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10412 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10413 Make them a defconst.
10414 (tramp-uuencode-region): Remove unused variable.
10416 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10418 * frameset.el (frameset--prop-setter): New function.
10419 (frameset-prop): Add gv-setter declaration.
10420 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10421 parameter was already set in FILTERED. Doc fix.
10422 (frameset--record-minibuffer-relationships): Allow saving a
10423 minibufferless frame without its corresponding minibuffer frame.
10424 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10425 frame, if the frame id matches.
10426 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10427 frames before orphaned ones.
10428 (frameset-restore): Warn about orphaned windows, instead of error out.
10430 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10432 * window.el (window-make-atom): Don't overwrite parameter
10434 (display-buffer-in-atom-window): Handle special case where we
10435 split an already atomic window.
10436 (window--major-non-side-window, display-buffer-in-side-window)
10437 (window--side-check): Ignore minibuffer window when walking
10439 (window-deletable-p): Return 'frame only if no other frame uses
10440 our minibuffer window.
10441 (record-window-buffer): Run buffer-list-update-hook.
10442 (split-window): Make sure window--check-frame won't destroy an
10443 existing atomic window in case the new window gets nested
10445 (display-buffer-at-bottom): Ignore minibuffer window when
10446 walking window tree. Don't split a side window.
10447 (pop-to-buffer): Don't set-buffer here, the select-window call
10449 (mouse-autoselect-window-select): Autoselect only if we are in the
10450 text portion of the window.
10452 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10454 * net/shr.el (shr-parse-image-data): New function to grab both the
10455 data itself and the Content-Type.
10456 (shr-put-image): Use it.
10458 * net/eww.el (eww-display-image): Ditto.
10460 * image.el (image-content-type-suffixes): New variable.
10462 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10464 * progmodes/python.el (python-imenu--build-tree)
10465 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10467 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10469 * simple.el (backward-word): Mention the optional argument.
10471 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10473 * frameset.el (frameset--make): Rename constructor from make-frameset.
10474 (frameset-p, frameset-valid-p): Don't autoload.
10475 (frameset-valid-p): Use normal accessors.
10477 2013-08-13 Glenn Morris <rgm@gnu.org>
10479 * progmodes/compile.el (compile-command): Tweak example in doc.
10480 * obsolete/scribe.el (scribe-mode):
10481 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10483 * mail/feedmail.el (feedmail-confirm-outgoing)
10484 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10486 * cus-start.el (truncate-partial-width-windows): Fix type.
10488 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10490 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10492 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10494 * emacs-lisp/timer.el (timer--time-setter): New function.
10495 (timer--time): Use it as gv-setter.
10497 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10498 setter is not a symbol.
10500 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10502 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10503 if sending fails. This makes debugging easier.
10505 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10507 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10508 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10509 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10511 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10513 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10515 2013-08-12 Glenn Morris <rgm@gnu.org>
10517 * format.el (format-annotate-function):
10518 Handle read-only text properties in the source. (Bug#14887)
10520 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10522 * net/eww.el (eww-display-html): Ignore coding system errors.
10523 One web site uses "utf-8lias" as the coding system.
10525 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10527 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10529 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10531 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10532 (tutorial--detailed-help): Remove unused local variables.
10533 (tutorial--save-tutorial-to): Use ignore-errors.
10534 (help-with-tutorial): Use looking-at-p.
10536 * view.el (view-buffer-other-window, view-buffer-other-frame):
10537 Mark unused arguments.
10539 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10540 (woman-select-symbol-fonts, woman, woman-find-file)
10541 (woman-insert-file-contents, woman-non-underline-faces):
10542 Use string-match-p.
10543 (woman1-unquote): Move declaration.
10545 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10546 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10547 argument. Remove unused local variable.
10548 (xml-parse-elem-type): Use string-match-p.
10549 (xml-substitute-numeric-entities): Use ignore-errors.
10551 * calculator.el (calculator): Mark unused argument.
10552 (calculator-paste, calculator-quit, calculator-integer-p):
10554 (calculator-string-to-number, calculator-decimal, calculator-exp)
10555 (calculator-op-or-exp): Use string-match-p.
10557 * dired.el (dired-buffer-more-recently-used-p): Declare.
10558 (dired-insert-set-properties, dired-insert-old-subdirs):
10561 * dired-aux.el (dired-compress): Use ignore-errors.
10562 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10563 (dired-do-async-shell-command, dired-do-shell-command)
10564 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10565 (dired-insert-subdir-validate): Use string-match-p.
10566 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10567 (dired-add-entry): Use string-match-p, looking-at-p.
10568 (dired-insert-subdir-newpos): Remove unused local variable.
10570 * filenotify.el (file-notify-callback): Remove unused local variable.
10572 * filesets.el (filesets-error): Mark unused argument.
10573 (filesets-which-command-p, filesets-filter-dir-names)
10574 (filesets-directory-files, filesets-get-external-viewer)
10575 (filesets-ingroup-get-data): Use string-match-p.
10577 * find-file.el (ff-other-file-name, ff-other-file-name)
10578 (ff-find-the-other-file, ff-cc-hh-converter):
10579 Remove unused local variables.
10580 (ff-get-file-name): Use string-match-p.
10581 (ff-all-dirs-under): Use ignore-errors.
10583 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10584 (follow-select-if-visible): Remove unused local variable.
10586 * forms.el (read-file-filter): Move declaration.
10587 (forms--make-format, forms--make-parser, forms-insert-record):
10588 Quote function with #'.
10589 (forms--update): Use string-match-p. Quote function with #'.
10591 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10592 (help-make-xrefs): Use looking-at-p.
10593 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10595 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10596 (ibuffer-confirm-operation-on): Use string-match-p.
10598 * msb.el (msb-item-handler, msb-dired-item-handler):
10599 Mark unused arguments.
10601 * ses.el (ses-decode-cell-symbol)
10602 (ses-kill-override): Remove unused local variable.
10603 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10604 (ses-load): Use ignore-errors, looking-at-p.
10605 (ses-jump-safe): Use ignore-errors.
10606 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10608 * tabify.el (untabify, tabify): Mark unused arguments.
10610 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10611 Mark unused argument.
10612 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10613 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10615 * emacs-lisp/timer.el (timer--time): Define setter with
10616 gv-define-setter to avoid deprecation warning.
10618 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10619 (*record-cmpl-statistics-p*): Remove (was commented out).
10620 (cmpl-statistics-block): Remove (body was commented out).
10621 All callers changed.
10622 (add-completions-from-buffer, load-completions-from-file):
10623 Remove unused variables.
10625 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10627 * filecache.el (file-cache-delete-file-list):
10628 Print message only when told so.
10629 (file-cache-files-matching): Use #' in mapconcat argument.
10631 * ffap.el (ffap-url-at-point): Fix reference to variable
10632 thing-at-point-default-mail-uri-scheme.
10634 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10636 * subr.el (define-error): New function.
10637 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10638 error-file-not-found and define with define-error.
10639 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10640 and define with define-error.
10641 * userlock.el (file-locked, file-supersession):
10642 * simple.el (mark-inactive):
10643 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10644 * progmodes/ada-mode.el (ada-mode-errors):
10645 * play/life.el (life-extinct):
10646 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10647 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10648 * nxml/rng-util.el (rng-error):
10649 * nxml/rng-uri.el (rng-uri-error):
10650 * nxml/rng-match.el (rng-compile-error):
10651 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10652 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10653 * nxml/nxml-rap.el (nxml-scan-error):
10654 * nxml/nxml-outln.el (nxml-outline-error):
10655 * net/soap-client.el (soap-error):
10656 * net/gnutls.el (gnutls-error):
10657 * net/ange-ftp.el (ftp-error):
10658 * mpc.el (mpc-proc-error):
10659 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10660 (json-number-format, json-string-escape, json-string-format)
10661 (json-key-format, json-object-format):
10662 * jka-compr.el (compression-error):
10663 * international/quail.el (quail-error):
10664 * international/kkc.el (kkc-error):
10665 * emacs-lisp/ert.el (ert-test-failed):
10666 * calc/calc.el (calc-error, inexact-result, math-overflow)
10668 * bookmark.el (bookmark-error-no-filename):
10669 * epg.el (epg-error): Define with define-error.
10671 * time.el (display-time-event-handler)
10672 (display-time-next-load-average): Don't call sit-for since it seems
10673 unnecessary (bug#15045).
10675 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10676 Use #' instead of ' to quote functions.
10677 (checkdoc-output-mode): Use setq-local.
10678 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10679 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10680 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10681 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10682 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10683 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10684 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10685 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10687 * ido.el (ido-completion-help): Fix up compiler warning.
10689 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10691 * frameset.el (frameset-p): Add autoload cookie.
10692 (frameset--jump-to-register): New function, based on code moved from
10694 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10696 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10697 (frameset-restore, frameset-save, frameset-session-filter-alist):
10698 Remove declarations.
10699 (register-alist): Doc fix.
10700 (frameset-to-register): Move to frameset.el.
10701 (jump-to-register, describe-register-1): Remove frameset-specific code.
10703 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10705 * allout-widgets.el (allout-widgets-pre-command-business)
10706 (allout-widgets-post-command-business)
10707 (allout-widgets-after-change-handler)
10708 (allout-decorate-item-and-context, allout-set-boundary-marker)
10709 (allout-body-modification-handler)
10710 (allout-graphics-modification-handler): Mark ignored arguments.
10711 (allout-widgets-post-command-business)
10712 (allout-widgets-exposure-change-processor)
10713 (allout-widgets-exposure-undo-processor)
10714 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10715 (allout-parse-item-at-point, allout-decorate-item-guides)
10716 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10717 * allout.el (epa-passphrase-callback-function): Declare.
10718 (allout-overlay-insert-in-front-handler)
10719 (allout-overlay-interior-modification-handler)
10720 (allout-isearch-end-handler, allout-chart-siblings)
10721 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10722 (allout-yank-processing, allout-process-exposed)
10723 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10724 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10725 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10726 (lisp-indent-defform): Mark ignored arguments.
10727 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10728 (calculate-lisp-indent): Remove unused variables.
10729 * international/characters.el (indian-2-column, arabic-2-column)
10730 (tibetan): Mark ignored arguments.
10731 (use-cjk-char-width-table): Mark ignored arguments.
10732 Remove unused variables.
10733 * international/fontset.el (build-default-fontset-data)
10734 (x-compose-font-name, create-fontset-from-fontset-spec):
10735 Mark ignored arguments.
10736 (fontset-plain-name): Remove unused variables.
10737 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10738 (keyboard-coding-system): Mark ignored arguments.
10739 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10740 * help.el (resize-temp-buffer-window):
10741 * window.el (display-buffer-in-major-side-window)
10742 (display-buffer-in-side-window, display-buffer-in-previous-window):
10743 Remove unused variables.
10744 * isearch.el (isearch-forward-symbol):
10745 * version.el (emacs-bzr-version-bzr):
10746 * international/mule-cmds.el (current-language-environment):
10747 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10748 (x-handle-display):
10749 * term/pc-win.el (x-list-fonts, x-display-planes)
10750 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10751 (x-server-version, x-display-screens, x-display-mm-height)
10752 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10753 (x-selection-owner-p, x-own-selection-internal)
10754 (x-disown-selection-internal, x-get-selection-internal)
10755 (msdos-initialize-window-system):
10756 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10757 * term/x-win.el (x-handle-no-bitmap-icon):
10758 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10759 (vc-default-find-file-hook, vc-default-extra-menu):
10760 Mark ignored arguments.
10762 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10764 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10765 break-condition in the context of the debugged code (bug#12685).
10767 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10770 Do not use an overlay to highlight the last prompt. (Bug#14744)
10771 (comint-mode): Make comint-last-prompt buffer local.
10772 (comint-last-prompt): New variable.
10773 (comint-last-prompt-overlay): Remove. Superseded by
10774 comint-last-prompt.
10775 (comint-snapshot-last-prompt, comint-output-filter):
10776 Use comint-last-prompt.
10778 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10780 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10781 (frameset-save): Check validity of the resulting frameset.
10783 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10785 * ido.el (ido-record-command): Add doc string.
10787 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10789 * frameset.el (frameset): Do not disable creation of the default
10790 frameset-p predicate. Doc fix.
10791 (frameset-valid-p): New function, copied from the old predicate-p.
10792 Add additional checks.
10793 (frameset-restore): Check with frameset-valid-p.
10794 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10795 (frameset-name, frameset-description, frameset-properties)
10796 (frameset-states): Add docstring.
10797 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10798 (frameset-filter-alist): Doc fixes.
10800 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10802 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10804 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10806 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10807 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10808 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10809 (byte-compile-normal-call): Remove obsolescence check.
10811 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10813 * frameset.el (frameset-restore): Doc fix.
10815 * register.el (frameset-frame-id, frameset-frame-with-id)
10816 (frameset-p, frameset-restore, frameset-save): Declare.
10817 (register-alist): Document framesets.
10818 (frameset-session-filter-alist): Declare.
10819 (frameset-to-register): New function.
10820 (jump-to-register): Implement jumping to framesets. Doc fix.
10821 (describe-register-1): Describe framesets.
10823 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10825 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10827 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10828 Use lexical-binding.
10830 * frameset.el (frameset): Use type vector, not list (incompatible
10831 change). Do not declare a new constructor, use the default one.
10832 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10833 `name' and `description', respectively, and add read-only slot
10834 `timestamp'. Doc fixes.
10835 (frameset-copy, frameset-persistent-filter-alist)
10836 (frameset-filter-alist, frameset-switch-to-gui-p)
10837 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10838 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10839 (frameset-filter-iconified, frameset-keep-original-display-p):
10841 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10842 Rename from frameset-filter-(save|restore)-param. All callers changed.
10844 (frameset-p): Adapt to change to vector and be more thorough.
10845 Change arg name to OBJECT. Doc fix.
10846 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10847 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10848 All callers changed.
10849 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10850 All callers changed.
10851 (frameset--record-minibuffer-relationships): Rename from
10852 frameset--process-minibuffer-frames. All callers changed.
10853 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10854 Use new default constructor (again). Doc fix.
10855 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10856 All callers changed.
10857 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10858 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10860 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10861 PARAMETERS and WINDOW-STATE, respectively.
10862 (frameset-restore): Add new keyword argument PREDICATE.
10863 Reset frameset--target-display to nil. Doc fix.
10865 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10867 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10868 (bat-mode): Use it.
10869 (bat-mode-syntax-table): Mark \n as end-of-comment.
10870 (bat-font-lock-keywords): Remove comment rule.
10872 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10873 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10875 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10876 (byte-compile-callargs-warn): Use `push'.
10877 (byte-compile-arglist-warn): Ignore higher-order "calls".
10878 (byte-compile-file-form-autoload): Use `pcase'.
10879 (byte-compile-function-form): If quoting a symbol, check that it exists.
10881 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10883 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10884 and add a few popular commands found in batch files.
10885 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10886 (dos-mode): Doc fixes.
10888 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10890 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10891 (dos-mode): Use setq-local. Add space after "rem".
10892 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10893 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10895 2013-08-07 Arni Magnusson <arnima@hafro.is>
10897 * progmodes/dos.el: New file.
10898 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10901 2013-08-06 Glenn Morris <rgm@gnu.org>
10903 * calendar/calendar.el: Add new faces, and day-header-array.
10904 (calendar-weekday-header, calendar-weekend-header)
10905 (calendar-month-header): New faces.
10906 (calendar-day-header-construct): New function.
10907 (calendar-day-header-width): Also :set calendar-day-header-array.
10908 (calendar-american-month-header, calendar-european-month-header)
10909 (calendar-iso-month-header): Use calendar- faces.
10910 (calendar-generate-month):
10911 Use calendar-day-header-array for day headers; apply faces to them.
10912 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10913 (calendar-abbrev-construct): Add optional maxlen argument.
10914 (calendar-day-name-array): Doc fix.
10915 (calendar-day-name-array, calendar-abbrev-length)
10916 (calendar-day-abbrev-array):
10917 Also :set calendar-day-header-array, and maybe redraw.
10918 (calendar-day-header-array): New option. (Bug#15007)
10919 (calendar-font-lock-keywords): Set to nil and make obsolete.
10920 (calendar-day-name): Add option to use header array.
10922 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10924 * net/shr.el (shr-render-td): Remove debugging.
10925 (shr-render-td): Make width computation consistent by defaulting
10926 all zero-width columns to 10 characters. This may not be optimal,
10927 but it's at least consistent.
10928 (shr-make-table-1): Redo last change to fix the real problem in
10931 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10933 * files.el (cache-long-line-scans):
10934 Make obsolete alias to `cache-long-scans'.
10936 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10938 * frameset.el (frameset, frameset-filter-alist)
10939 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10940 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10941 (frameset-compute-pos): Rename from frameset--compute-pos,
10943 (frameset-move-onscreen): Use frameset-compute-pos.
10944 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10946 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10947 Fix typos in docstrings.
10949 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10951 * frame.el (get-other-frame): Tiny cleanup.
10953 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10955 * vc/vc.el (vc-default-ignore-completion-table):
10956 Silence byte-compiler warning.
10958 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10959 slot, which can indeed be nil.
10960 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10961 Move entry for `left' from persistent to live filter alist.
10962 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10964 (frameset-filter-params): When restoring a frame, copy items added to
10965 `filtered', to avoid unwittingly modifying the original parameters.
10966 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10967 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10969 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10970 to use looking-at-p instead of looking-at. (Bug#15028)
10972 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10974 Revert introduction of isearch-filter-predicates (bug#14714).
10975 Rely on add-function instead.
10976 * isearch.el (isearch-filter-predicates): Rename it back to
10977 isearch-filter-predicate.
10978 (isearch-message-prefix): Use advice-function-mapc and advice
10979 properties to get the isearch-message-prefix.
10980 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10981 instead of run-hook-with-args-until-failure.
10982 (isearch-filter-visible): Not obsolete any more.
10983 * loadup.el: Preload nadvice.
10984 * replace.el (perform-replace): Revert to funcall
10985 instead of run-hook-with-args-until-failure.
10986 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10987 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10988 dired-isearch-filenames-toggle; make it into a proper minor mode.
10989 Use add/remove-function.
10990 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10991 Call the minor-mode rather than add/remove-hook.
10992 (dired-isearch-filter-filenames):
10993 Remove isearch-message-prefix property.
10994 * info.el (Info--search-loop): New function, extracted from Info-search.
10995 Funcall isearch-filter-predicate instead of
10996 run-hook-with-args-until-failure isearch-filter-predicates.
10997 (Info-search): Use it.
10998 (Info-mode): Use isearch-filter-predicate instead of
10999 isearch-filter-predicates.
11001 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11003 Do not call to `selected-window' where it is assumed by default.
11004 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11005 `window-hscroll', `window-width', `window-height', `window-buffer',
11006 `window-frame', `window-start', `window-point', `next-window'
11007 and `window-display-table'.
11008 * abbrev.el (abbrev--default-expand):
11009 * bs.el (bs--show-with-configuration):
11010 * buff-menu.el (Buffer-menu-mouse-select):
11011 * calc/calc.el (calc):
11012 * calendar/calendar.el (calendar-generate-window):
11013 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11014 (diary-make-entry):
11015 * comint.el (send-invisible, comint-dynamic-complete-filename)
11016 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11017 * completion.el (complete):
11018 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11019 * disp-table.el (describe-current-display-table):
11020 * doc-view.el (doc-view-insert-image):
11021 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11022 * ehelp.el (with-electric-help):
11023 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11024 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11025 * emacs-lisp/helper.el (Helper-help-scroller):
11026 * emulation/cua-base.el (cua--post-command-handler-1):
11027 * eshell/esh-mode.el (eshell-output-filter):
11028 * ffap.el (ffap-gnus-wrapper):
11029 * help-macro.el (make-help-screen):
11030 * hilit-chg.el (highlight-compare-buffers):
11031 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11032 * hl-line.el (global-hl-line-highlight):
11033 * icomplete.el (icomplete-simple-completing-p):
11034 * isearch.el (isearch-done):
11035 * jit-lock.el (jit-lock-stealth-fontify):
11036 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11037 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11038 * mpc.el (mpc-tagbrowser, mpc):
11039 * net/rcirc.el (rcirc-any-buffer):
11040 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11041 * play/landmark.el (landmark-max-width, landmark-max-height):
11042 * play/zone.el (zone):
11043 * progmodes/compile.el (compilation-goto-locus):
11044 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11045 * progmodes/etags.el (find-tag-other-window):
11046 * progmodes/fortran.el (fortran-column-ruler):
11047 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11048 * progmodes/verilog-mode.el (verilog-point-text):
11049 * reposition.el (reposition-window):
11050 * rot13.el (toggle-rot13-mode):
11051 * server.el (server-switch-buffer):
11052 * shell.el (shell-dynamic-complete-command)
11053 (shell-dynamic-complete-environment-variable):
11054 * simple.el (insert-buffer, set-selective-display)
11055 (delete-completion-window):
11056 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11057 (speedbar-recenter):
11058 * startup.el (fancy-splash-head):
11059 * textmodes/ispell.el (ispell-command-loop):
11060 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11061 * tutorial.el (help-with-tutorial):
11062 * vc/add-log.el (add-change-log-entry):
11063 * vc/compare-w.el (compare-windows):
11064 * vc/ediff-help.el (ediff-indent-help-message):
11065 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11066 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11067 (ediff-setup-control-frame):
11068 * vc/emerge.el (emerge-position-region):
11069 * vc/pcvs-util.el (cvs-bury-buffer):
11070 * window.el (walk-windows, mouse-autoselect-window-select):
11071 * winner.el (winner-set-conf, winner-undo): Related users changed.
11073 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11075 * frameset.el (frameset--set-id): Doc fix.
11076 (frameset-frame-id, frameset-frame-id-equal-p)
11077 (frameset-locate-frame-id): New functions.
11078 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11079 (frameset-restore): Use them.
11081 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11083 Do not call to `selected-frame' where it is assumed by default.
11084 Affected functions are `raise-frame', `redraw-frame',
11085 `frame-first-window', `frame-terminal' and `delete-frame'.
11086 * calendar/appt.el (appt-disp-window):
11087 * epg.el (epg-wait-for-completion):
11088 * follow.el (follow-delete-other-windows-and-split)
11089 (follow-avoid-tail-recenter):
11090 * international/mule.el (set-terminal-coding-system):
11091 * mail/rmail.el (rmail-mail-return):
11092 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11093 * progmodes/f90.el (f90-add-imenu-menu):
11094 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11095 * server.el (server-switch-buffer):
11096 * simple.el (delete-completion-window):
11098 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11099 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11100 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11101 * vc/ediff.el (ediff-documentation): Related users changed.
11102 * frame.el (selected-terminal): Remove the leftover.
11104 2013-08-05 Glenn Morris <rgm@gnu.org>
11106 * calendar/calendar.el (calendar-generate-month):
11107 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11108 (calendar-generate-month, calendar-font-lock-keywords):
11109 Fix for calendar-day-header-width > length of any day name.
11111 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11113 * desktop.el (desktop-clear): Use new name of sort predicate.
11115 * frameset.el (frameset): Add docstring. Move :version property to its
11116 own `version' slot.
11117 (frameset-copy): Rename from copy-frameset.
11118 (frameset-p): Check more thoroughly.
11119 (frameset-prop): Do not check for :version, which is no longer a prop.
11120 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11121 Use new :never value instead of t.
11122 (frameset-filter-alist): Expand and clarify docstring.
11123 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11124 (frameset-filter-minibuffer, frameset-filter-save-param)
11125 (frameset-filter-restore-param, frameset-filter-iconified):
11126 Add pointer to docstring of frameset-filter-alist.
11127 (frameset-filter-params): Rename filter values to be more meaningful:
11128 :never instead of t, and reverse the meanings of :save and :restore.
11129 (frameset--process-minibuffer-frames): Clarify error message.
11130 (frameset-save): Avoid unnecessary and confusing call to framep.
11131 Use new BOA constructor for framesets.
11132 (frameset--reuse-list): Doc fix.
11133 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11134 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11135 (frameset-minibufferless-first-p): Doc fix.
11136 Rename from frameset-sort-frames-for-deletion.
11137 (frameset-restore): Doc fixes. Use new function names.
11138 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11140 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11142 * desktop.el (desktop-restore-forces-onscreen)
11143 (desktop-restore-reuses-frames): Document :keyword constant values.
11144 (desktop-filter-parameters-alist): Remove, now identical to
11145 frameset-filter-alist.
11146 (desktop--filter-tty*): Remove, moved to frameset.el.
11147 (desktop-save-frameset, desktop-restore-frameset):
11148 Do not pass :filters argument.
11150 * frameset.el (frameset-live-filter-alist)
11151 (frameset-persistent-filter-alist): New variables.
11152 (frameset-filter-alist): Use them. Add autoload cookie.
11153 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11154 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11155 `frameset--id' (it's supposed to be internal to frameset.el).
11156 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11157 (frameset--initial-params): New function.
11158 (frameset--get-frame): Use it. Doc fix.
11159 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11160 Accept :all, not 'all.
11161 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11162 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11163 with fbound symbols. Fix frame id matching, and remove matching ids if
11164 the frame being restored is deleted. Obey :delete.
11166 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * subr.el (macrop): New function.
11169 (text-clone--maintaining): New var.
11170 (text-clone--maintain): Rename from text-clone-maintain. Use it
11171 instead of inhibit-modification-hooks.
11173 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11174 a proxy, so as handle autoloads and redefinitions of the target.
11175 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11177 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11178 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11179 (pcase--mutually-exclusive-p): New function.
11180 (pcase--split-consp): Use it.
11181 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11182 mutually exclusive with the current predicate.
11184 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11185 (edebug-macrop): Remove. Use `macrop' instead.
11186 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11188 * eshell/esh-cmd.el (eshell-macrop):
11189 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11191 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11193 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11194 (advice-mapc): New function, using it.
11195 (advice-function-member-p): New function.
11196 (advice--normalize): Store the cdr in advice--saved-rewrite since
11197 that's the part that will be changed.
11198 (advice--symbol-function): New function.
11199 (advice-remove): Handle removal before the function is defined.
11200 Adjust to new advice--saved-rewrite.
11201 (advice-member-p): Use advice-function-member-p and
11202 advice--symbol-function.
11204 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11206 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11207 (frameset-filter-minibuffer): Doc fix.
11208 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11209 (frameset--set-id, frameset--process-minibuffer-frames)
11210 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11211 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11213 * desktop.el (desktop-clear): Only delete frames when called
11214 interactively and desktop-restore-frames is non-nil. Doc fix.
11215 (desktop-read): Set desktop-saved-frameset to nil.
11217 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11219 * vc/vc.el (vc-ignore): Rewrite.
11220 (vc-default-ignore-completion-table, vc--read-lines)
11221 (vc--add-line, vc--remove-regexp): New functions.
11223 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11224 (vc-svn-ignore-completion-table): New function.
11226 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11227 (vc-hg-ignore-completion-table)
11228 (vc-hg-find-ignore-file): New functions.
11230 * vc/vc-git.el (vc-git-ignore): Rewrite.
11231 (vc-git-ignore-completion-table)
11232 (vc-git-find-ignore-file): New functions.
11234 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11236 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11237 (vc-bzr-ignore-completion-table)
11238 (vc-bzr-find-ignore-file): New functions.
11240 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11242 * frameset.el (frameset-prop): New function and setter.
11243 (frameset-save): Do not modify frame list passed by the caller.
11245 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11247 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11249 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11251 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11252 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11254 * custom.el (custom-initialize-default, custom-initialize-set)
11255 (custom-initialize-reset, custom-initialize-changed): Affect the
11256 toplevel-default-value (bug#6275, bug#14586).
11257 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11260 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11262 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11263 Add cl-def* expressions.
11265 * frameset.el (frameset-filter-params): Fix order of arguments.
11267 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11269 Move code related to saving frames to frameset.el.
11270 * desktop.el: Require frameset.
11271 (desktop-restore-frames): Doc fix.
11272 (desktop-restore-reuses-frames): Rename from
11273 desktop-restoring-reuses-frames.
11274 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11275 (desktop-clear): Clear frames too.
11276 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11277 (desktop--filter-tty*, desktop-save, desktop-read):
11278 Use frameset functions.
11279 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11280 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11281 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11282 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11283 (desktop--process-minibuffer-frames, desktop-save-frames)
11284 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11285 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11286 (desktop--sort-states, desktop-restoring-frames-p)
11287 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11288 (desktop-restoring-frameset-p, desktop-restore-frameset)
11289 (desktop--check-dont-save, desktop-save-frameset): New functions.
11290 (desktop--app-id): New constant.
11291 (desktop-first-buffer, desktop-buffer-ok-count)
11292 (desktop-buffer-fail-count): Move before first use.
11293 * frameset.el: New file.
11295 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11297 * files.el: Use lexical-binding.
11298 (dir-locals-read-from-file): Remove unused `err' variable.
11299 (hack-dir-local-variables--warned-coding): New var.
11300 (hack-dir-local-variables): Use it to avoid repeated warnings.
11301 (make-backup-file-name--default-function): New function.
11302 (make-backup-file-name-function): Use it as default.
11303 (buffer-stale--default-function): New function.
11304 (buffer-stale-function): Use it as default.
11305 (revert-buffer-insert-file-contents--default-function): New function.
11306 (revert-buffer-insert-file-contents-function): Use it as default.
11307 (insert-directory): Avoid add-to-list.
11309 * autorevert.el (auto-revert-handler): Simplify.
11310 Use buffer-stale--default-function.
11312 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11314 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11316 * whitespace.el (whitespace-ensure-local-variables): New function.
11317 (whitespace-cleanup-region): Call it.
11318 (whitespace-turn-on): Call it.
11320 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11322 Complete file name handlers.
11324 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11325 (tramp-handle-verify-visited-file-modtime)
11326 (tramp-handle-file-notify-rm-watch): New functions.
11327 (tramp-call-process): Do not bind `default-directory'.
11329 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11330 Order alphabetically.
11331 <access-file, add-name-to-file, dired-call-process>:
11332 <dired-compress-file, file-acl, file-notify-rm-watch>:
11333 <file-ownership-preserved-p, file-selinux-context>:
11334 <make-directory-internal, make-symbolic-link, set-file-acl>:
11335 <set-file-selinux-context, set-visited-file-modtime>:
11336 <verify-visited-file-modtime>: Add handler.
11337 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11339 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11340 <file-notify-add-watch, file-notify-rm-watch>:
11341 <set-file-times, set-visited-file-modtime>:
11342 <verify-visited-file-modtime>: Add handler.
11343 (with-tramp-gvfs-error-message)
11344 (tramp-gvfs-handle-set-visited-file-modtime)
11345 (tramp-gvfs-fuse-file-name): Remove.
11346 (tramp-gvfs-handle-file-notify-add-watch)
11347 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11348 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11350 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11351 Order alphabetically.
11352 <file-notify-rm-watch>: Use default Tramp handler.
11353 <executable-find>: Remove private handler.
11354 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11355 `default-directory'.
11356 (tramp-sh-handle-executable-find)
11357 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11358 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11359 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11360 Do not use `format' in `tramp-message'.
11362 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11363 <file-notify-rm-watch, set-visited-file-modtime>:
11364 <verify-visited-file-modtime>: Add handler.
11365 (tramp-smb-call-winexe): Do not bind `default-directory'.
11367 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11369 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11371 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11373 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11375 (log-view-diff-changeset): Same.
11376 (log-view-diff-common): Call backend command `previous-revision'
11377 to find out the previous revision, in both cases. Swap the
11378 variables `to' and `fr', so that `fr' usually refers to the
11379 earlier revision (Bug#14989).
11381 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11383 * ibuf-ext.el (ibuffer-filter-by-filename):
11384 Make it work with dired buffers too.
11386 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11388 * emacs-lisp/re-builder.el (reb-color-display-p):
11389 * files.el (save-buffers-kill-terminal):
11390 * net/browse-url.el (browse-url):
11391 * server.el (server-save-buffers-kill-terminal):
11392 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11393 Prefer nil to selected-frame for the first arg of frame-parameter.
11395 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11397 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11399 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11401 * minibuffer.el (completion--twq-all): Try and preserve each
11402 completion's case choice (bug#14907).
11404 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11406 * net/network-stream.el (open-network-stream): Mention the new
11407 :nogreeting parameter.
11408 (network-stream-open-starttls): Use the :nogreeting parameter
11411 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11413 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11414 more natural than popping.
11416 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11417 (shr-urlify): Highlight under mouse.
11419 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11421 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11423 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11425 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11428 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11429 point-min==1. Fix search string. Fix parentheses missing.
11431 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11432 assume point-min==1. Fix search string. Fix parentheses missing.
11434 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11436 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11439 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11441 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11442 initial frame is minibuffer-less. (Bug#14841)
11444 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11446 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11449 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11450 (tramp-maybe-open-connection): Use it.
11452 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11454 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11455 minimal set of parameters passed when creating a frame, because
11456 the minibuffer status of a frame cannot be changed later.
11458 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11460 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11461 replace-regexp-in-string and inadvertent omissions in previous change.
11462 (todo-filter-items): Ensure only file names are comma-separated in
11463 name of filtered items buffer.
11465 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11467 * desktop.el: Optionally force offscreen frames back onscreen.
11468 (desktop-restoring-reuses-frames): New option.
11469 (desktop--compute-pos, desktop--move-onscreen): New functions.
11470 (desktop--make-frame): Use desktop--move-onscreen.
11472 2013-07-27 Alan Mackenzie <acm@muc.de>
11474 Fontify a Java generic method as a function.
11475 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11478 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11480 * calendar/todo-mode.el: Add command to rename todo files.
11481 (todo-rename-file): New command.
11482 (todo-key-bindings-t): Add key binding for it. Change the
11483 bindings of todo-filter-regexp-items(-multifile) to use `x'
11484 instead of `r', since the latter is better suited to the new
11487 2013-07-27 Alan Mackenzie <acm@muc.de>
11489 Make Java try-with-resources statement parse properly.
11490 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11491 (c-block-stmt-1-2-key): New language constants/variables.
11492 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11493 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11494 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11495 with c-block-stmt-1-2-key.
11497 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11499 * desktop.el (desktop--make-frame): Apply most frame parameters after
11500 creating the frame to force (partially or totally) offscreen frames to
11501 be restored as such.
11503 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11505 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11508 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11510 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11511 `base' arg of backtrace-frame.
11513 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11515 * simple.el (list-processes): Doc fix.
11517 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11519 * desktop.el (desktop--select-frame):
11520 Try harder to reuse existing frames.
11522 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11524 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11525 (edebug-eval): Use backtrace-eval.
11526 (edebug--display, edebug--recursive-edit): Don't let-bind the
11527 edebug-outer-* vars that keep track of variables we locally let-bind.
11528 (edebug-outside-excursion): Don't restore outside values of locally
11530 (edebug--display): Use user-error.
11531 (cl-lexical-debug, cl-debug-env): Remove.
11533 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11535 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11536 are restored to be sure that they are visible before deleting any
11539 2013-07-26 Matthias Meulien <orontee@gmail.com>
11541 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11542 vc-print-root-log. (Bug#14948)
11544 2013-07-26 Richard Stallman <rms@gnu.org>
11546 Add aliases for encrypting mail.
11547 * epa.el (epa-mail-aliases): New option.
11548 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11549 Bind inhibit-read-only so read-only text doesn't ruin everything.
11550 (epa-mail-default-recipients): New subroutine broken out.
11551 Handle epa-mail-aliases.
11553 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11555 Add support for lexical variables to the debugger's `e' command.
11556 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11557 vars, except for debugger-outer-match-data.
11558 (debugger-frame-number): Move check for "on a function call" from
11559 callers into it. Add `skip-base' argument.
11560 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11561 (debugger-env-macro): Only reset the state stored in non-variables,
11562 i.e. current-buffer and match-data.
11563 (debugger-eval-expression): Rewrite using backtrace-eval.
11564 * subr.el (internal--called-interactively-p--get-frame): Remove.
11565 (called-interactively-p):
11566 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11567 `base' arg of backtrace-frame instead.
11569 2013-07-26 Glenn Morris <rgm@gnu.org>
11571 * align.el (align-regexp): Doc fix. (Bug#14857)
11572 (align-region): Explicit error if subexpression missing/does not match.
11574 * simple.el (global-visual-line-mode):
11575 Do not duplicate the mode lighter. (Bug#14858)
11577 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11579 * window.el (display-buffer): In display-buffer bind
11580 split-window-keep-point to t, bug#14829.
11582 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11584 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11585 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11586 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11587 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11588 Change accordingly.
11589 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11590 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11592 2013-07-25 Glenn Morris <rgm@gnu.org>
11594 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11596 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11598 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11599 parameter to modify-frame-parameters if the value has not changed;
11600 this is a workaround for bug#14949.
11601 (desktop--make-frame): On cl-delete-if call, check parameter name,
11602 not full parameter.
11604 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11606 * vc/vc.el (vc-ignore): New function.
11608 * vc/vc-svn.el (vc-svn-ignore): New function.
11610 * vc/vc-hg.el (vc-hg-ignore): New function.
11612 * vc/vc-git.el (vc-git-ignore): New function.
11614 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11615 (vc-dir-ignore): New function.
11617 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11618 (cvs-append-to-ignore): Move here from pcvs.el.
11620 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11622 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11624 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11626 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11627 (desktop-restore-frames): Warn when deleting an existing frame failed.
11629 2013-07-24 Glenn Morris <rgm@gnu.org>
11631 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11633 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11635 * filenotify.el (file-notify-supported-p):
11636 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11639 * autorevert.el (auto-revert-use-notify)
11640 (auto-revert-notify-add-watch):
11641 * net/tramp.el (tramp-file-name-for-operation):
11642 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11643 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11644 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11645 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11646 Remove `file-notify-supported-p' entry.
11648 2013-07-24 Glenn Morris <rgm@gnu.org>
11650 * printing.el: Replace all uses of deleted ps-windows-system,
11651 ps-lp-system, ps-flatten-list with lpr- versions.
11653 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11655 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11656 checked with memq (bug#14935).
11658 * files.el (revert-buffer-function): Use a non-nil default.
11659 (revert-buffer-preserve-modes): Declare var to
11660 provide access to the `preserve-modes' argument.
11661 (revert-buffer): Let-bind it.
11662 (revert-buffer--default): New function, extracted from revert-buffer.
11664 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * lpr.el: Signal print errors more prominently.
11667 (print-region-function): Don't default to nil.
11668 (lpr-print-region): New function, extracted from print-region-1.
11669 Check lpr's return value and signal an error in case of problem.
11670 (print-region-1): Use it.
11671 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11673 (ps-printer-name): Default to nil.
11674 (ps-printer-name-option): Default to lpr-printer-switch.
11675 (ps-print-region-function): Don't default to nil.
11676 (ps-postscript-code-directory): Simplify default.
11677 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11678 (ps-string-list, ps-eval-switch, ps-flatten-list)
11679 (ps-flatten-list-1): Remove.
11680 (ps-multibyte-buffer): Avoid setq.
11681 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11682 (print-region-function, ps-print-region-function): Don't set them here.
11684 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11686 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11687 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11688 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11689 (ido-decorations): Doc fix.
11691 * ansi-color.el: Fix old URL.
11693 2013-07-23 Michael R. Mauger <michael@mauger.com>
11695 * progmodes/sql.el: Version 3.3
11696 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11697 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11698 (sql-interactive-remove-continuation-prompt): Rewrite, use
11699 functions above. Fix continuation prompt and complete output line
11701 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11702 redirected output buffer.
11703 (sql-mode): Restore deleted code (Bug#13591).
11705 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11707 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11709 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11711 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11713 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11714 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11715 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11717 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11719 * desktop.el (desktop-clear): Simplify; remove useless checks
11720 against invalid buffer names.
11721 (desktop-list*): Use cl-list*.
11722 (desktop-buffer-info, desktop-create-buffer): Simplify.
11724 2013-07-23 Leo Liu <sdl.web@gmail.com>
11726 * bookmark.el (bookmark-make-record): Restore NAME as a default
11729 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11731 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11732 extracted from autoload--insert-text.
11733 (autoload--insert-text): Remove.
11734 (autoload--print-cookie-text): New function, extracted from
11735 autoload--insert-cookie-text.
11736 (autoload--insert-cookie-text): Remove.
11737 (autoload-generate-file-autoloads): Adjust calls accordingly.
11739 * winner.el (winner-hook-installed-p): Remove.
11740 (winner-mode): Simplify accordingly.
11742 * subr.el (add-to-list): Fix compiler-macro when `append' is
11743 not constant. Don't use `cl-member' for the base case.
11745 * progmodes/subword.el: Fix boundary case (bug#13758).
11746 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11748 (subword-backward-regexp): Make it a constant.
11749 (subword-forward-internal): Don't treat a trailing capital as the
11750 beginning of a word.
11752 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11754 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11755 global value of tabulated-list-revert-hook (bug#14930).
11757 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11759 * desktop.el: Require 'cl-lib.
11760 (desktop-before-saving-frames-functions): New hook.
11761 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11762 for frames being saved. Rename from desktop--save-minibuffer-frames.
11763 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11764 Do not save frames with non-nil `desktop-dont-save' parameter.
11765 Filter out deleted frames.
11766 (desktop--find-frame): Use cl-find-if.
11767 (desktop--select-frame): Use cl-(first|second|third) to access values
11769 (desktop--make-frame): Use cl-delete-if.
11770 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11771 (desktop-restore-frames): Use cl-(first|second|third) to access values
11772 of desktop-mini. Look for visible frame at the end, not while
11775 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11776 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11777 Use string-match-p, looking-at-p (bug#14927).
11779 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11781 * desktop.el (desktop-saved-frame-states):
11782 Rename from desktop--saved-states; all users changed.
11783 (desktop-save-frames): Rename from desktop--save-frames.
11784 Do not save state to desktop file.
11785 (desktop-save): Save desktop-saved-frame-states to desktop file
11787 (desktop-restoring-frames-p): New function.
11788 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11789 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11790 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11792 * desktop.el: Correctly restore iconified frames.
11793 (desktop--filter-iconified-position): New function.
11794 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11796 2013-07-20 Glenn Morris <rgm@gnu.org>
11798 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11799 Let `message' do the formatting.
11800 (def-gdb-preempt-display-buffer): Add explicit format.
11802 * image-dired.el (image-dired-track-original-file):
11803 Use with-current-buffer.
11804 (image-dired-track-thumbnail): Use with-current-buffer.
11805 Avoid changing point of wrong window.
11807 * image-dired.el (image-dired-track-original-file):
11808 Avoid changing point of wrong window. (Bug#14909)
11810 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11812 * progmodes/gdb-mi.el (gdb-done-or-error):
11813 Guard against "%" in gdb output. (Bug#14127)
11815 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11817 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11820 * international/mule.el (coding-system-iso-2022-flags): Fix last
11823 2013-07-20 Kenichi Handa <handa@gnu.org>
11825 * international/mule.el (coding-system-iso-2022-flags):
11826 Add `8-bit-level-4'. (Bug#8522)
11828 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11830 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11833 * net/eww.el (eww-process-text-input): Allow inputting when the
11834 point is at the start of the line, as the properties aren't
11837 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11840 2013-07-19 Richard Stallman <rms@gnu.org>
11842 * epa.el (epa-popup-info-window): Doc fix.
11844 * subr.el (split-string): New arg TRIM.
11846 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11848 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11849 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11851 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11853 * filenotify.el (file-notify--library): Rename from
11854 `file-notify-support'. Do not autoload. Adapt all uses.
11855 (file-notify-supported-p): New defun.
11857 * autorevert.el (auto-revert-use-notify):
11858 Use `file-notify-supported-p' instead of `file-notify-support'.
11860 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11862 * net/tramp.el (tramp-file-name-for-operation):
11863 Add `file-notify-supported-p'.
11865 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11867 (tramp-sh-file-name-handler-alist): Add it as handler for
11868 `file-notify-supported-p '.
11870 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11871 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11872 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11873 Add `ignore' as handler for `file-notify-*' functions.
11875 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11877 * simple.el (line-move-partial, line-move): Don't start vscroll or
11878 scroll-up if the current line is not taller than the window.
11881 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11883 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11884 highlight question marks in the method names as strings.
11885 (ruby-block-beg-keywords): Inline.
11886 (ruby-font-lock-keyword-beg-re): Extract from
11887 `ruby-font-lock-keywords'.
11889 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11891 * frame.el (blink-cursor-blinks): New defcustom.
11892 (blink-cursor-blinks-done): New defvar.
11893 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11894 (blink-cursor-timer-function): Check if number of blinks has been
11896 (blink-cursor-suspend, blink-cursor-check): New defuns.
11898 2013-07-15 Glenn Morris <rgm@gnu.org>
11900 * edmacro.el (edmacro-format-keys): Fix previous change.
11902 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11904 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11905 The hack didn't work outside English locales anyway.
11907 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11909 * simple.el (define-alternatives): Rename from alternatives-define,
11910 per RMS' suggestion.
11912 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11914 * desktop.el (desktop-restore-frames): Change default to t.
11915 (desktop-restore-in-current-display): Now offer more options.
11916 (desktop-restoring-reuses-frames): New customization option.
11917 (desktop--saved-states): Doc fix.
11918 (desktop-filter-parameters-alist): New variable, renamed and expanded
11919 from desktop--excluded-frame-parameters.
11920 (desktop--target-display): New variable.
11921 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11922 (desktop--filter-tty*, desktop--filter-*-color)
11923 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11924 (desktop--filter-save-desktop-parm)
11925 (desktop-restore-in-original-display-p): New functions.
11926 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11927 (desktop--save-minibuffer-frames): New function, inspired by a similar
11928 function from Martin Rudalics.
11929 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11930 (desktop--restore-in-this-display-p): Remove.
11931 (desktop--find-frame): Rename from desktop--find-frame-in-display
11932 and add predicate argument.
11933 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11934 (desktop--reuse-list): New variable.
11935 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11937 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11939 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11941 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11943 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11945 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11946 Highlight conversion methods on Kernel.
11948 2013-07-13 Alan Mackenzie <acm@muc.de>
11950 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11951 and comment it out. This out-commenting enables certain C++
11952 declarations to be parsed correctly.
11954 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11956 * international/mule.el (define-coding-system): Doc fix.
11958 * simple.el (default-font-height): Don't call font-info if the
11959 frame's default font didn't change since the frame was created.
11962 2013-07-13 Leo Liu <sdl.web@gmail.com>
11964 * ido.el (ido-read-file-name): Guard against non-symbol value.
11966 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11968 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11971 2013-07-13 Leo Liu <sdl.web@gmail.com>
11973 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11974 ido-set-matches call. (Bug#6852)
11976 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11978 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11979 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11981 (ruby-font-lock-keywords): Distinguish calls to functions with
11982 module-like names from module references. Highlight character
11985 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11987 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11988 (gdb-send): Handle continued commands. (Bug#14847)
11990 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11992 * desktop.el (desktop--v2s): Remove unused local variable.
11993 (desktop-save-buffer): Make defvar-local; adjust docstring.
11994 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11995 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11997 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11999 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12001 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12003 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12006 2013-07-12 Glenn Morris <rgm@gnu.org>
12008 * doc-view.el: Require cl-lib at runtime too.
12009 (doc-view-remove-if): Remove.
12010 (doc-view-search-next-match, doc-view-search-previous-match):
12013 * edmacro.el: Require cl-lib at runtime too.
12014 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12015 (edmacro-mismatch, edmacro-subseq): Remove.
12017 * shadowfile.el: Require cl-lib.
12018 (shadow-remove-if): Remove.
12019 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12022 * wid-edit.el: Require cl-lib.
12023 (widget-choose): Use cl-remove-if.
12024 (widget-remove-if): Remove.
12026 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12027 (ebrowse-delete-if-not): Remove.
12028 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12029 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12030 Use cl-delete-if-not.
12032 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12034 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12035 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12037 2013-07-12 Leo Liu <sdl.web@gmail.com>
12039 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12041 2013-07-11 Glenn Morris <rgm@gnu.org>
12043 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12044 (edebug-gensym-index, edebug-gensym):
12045 Remove reimplementation of cl-gensym.
12046 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12048 * thumbs.el: Require cl-lib at run-time too.
12049 (thumbs-gensym-counter, thumbs-gensym):
12050 Remove reimplementation of cl-gensym.
12051 (thumbs-temp-file): Use cl-gensym.
12053 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12054 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12055 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12056 (ert--union, ert--gensym-counter, ert--gensym-counter)
12057 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12058 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12059 (ert-make-test-unbound, ert--expand-should-1)
12060 (ert--expand-should, ert--should-error-handle-error)
12061 (should-error, ert--explain-equal-rec)
12062 (ert--plist-difference-explanation, ert-select-tests)
12063 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12064 Use cl-lib functions rather than reimplementations.
12066 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12068 * net/tramp.el (tramp-methods): Extend docstring.
12069 (tramp-connection-timeout): New defcustom.
12070 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12071 (with-tramp-progress-reporter): Simplify.
12072 (tramp-process-actions): Improve messages.
12074 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12075 * net/tramp-sh.el (tramp-maybe-open-connection):
12076 Use `tramp-connection-timeout'.
12077 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12080 2013-07-11 Leo Liu <sdl.web@gmail.com>
12082 * ido.el (ido-read-file-name): Conform to the requirements of
12083 read-file-name. (Bug#11861)
12084 (ido-read-directory-name): Conform to the requirements of
12085 read-directory-name.
12087 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12089 * subr.el (delay-warning): New function.
12091 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12093 * simple.el (default-line-height): New function.
12094 (line-move-partial, line-move): Use it instead of computing the
12095 line height inline.
12096 (line-move-partial): Always compute ROWH. If the last line is
12097 partially-visible, but its text is completely visible, allow
12098 cursor to enter such a partially-visible line.
12100 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12102 Improve error messages. (Bug#14808)
12104 * net/tramp.el (tramp-current-connection): New defvar, moved from
12106 (tramp-message-show-progress-reporter-message): Remove, not
12108 (tramp-error-with-buffer): Show message in minibuffer.
12109 Discard input before waiting. Reset connection timestamp.
12110 (with-tramp-progress-reporter): Improve messages.
12111 (tramp-process-actions): Use progress reporter. Delete process in
12112 case of error. Improve messages.
12114 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12115 Call `tramp-error-with-buffer' with vector and buffer.
12116 (tramp-current-connection): Remove.
12117 (tramp-maybe-open-connection): The car of
12118 `tramp-current-connection' are the first 3 slots of the vector.
12120 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12122 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12123 inside continued strings.
12125 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12127 Timestamp fixes for undo (Bug#14824).
12128 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12130 2013-07-10 Leo Liu <sdl.web@gmail.com>
12132 * files.el (require-final-newline): Allow safe local value.
12135 2013-07-09 Leo Liu <sdl.web@gmail.com>
12137 * ido.el (ido-read-directory-name): Handle fallback.
12138 (ido-read-file-name): Update DIR to ido-current-directory.
12140 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12142 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12144 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12145 "autoload". Remove "warn lower camel case" section, previously
12146 commented out. Highlight negation char. Do not highlight the
12147 target in singleton method definitions.
12149 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12151 * faces.el (tty-setup-hook): Declare the hook.
12153 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12154 and detect when a guard/pred depends on local vars (bug#14773).
12155 (pcase--u1): Adjust caller.
12157 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12159 * simple.el (line-move-partial, line-move): Account for
12161 (line-move-partial): Avoid setting vscroll when the last
12162 partially-visible line in window is of default height.
12164 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12166 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12169 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12171 * subr.el (read-quoted-char): Remove unused local variable `char'.
12173 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12175 * ediff.el (ediff-version): Version update.
12176 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12177 (ediff-merge-with-ancestor-command, ediff-directories-command)
12178 (ediff-directories3-command, ediff-merge-directories-command)
12179 (ediff-merge-directories-with-ancestor-command): New functions.
12180 All are command-line interfaces to ediff: to facilitate calling
12181 Emacs with the appropriate ediff functions invoked.
12183 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
12184 (viper-save-kill-buffer): Check if buffer is modified.
12186 * viper.el (viper-version): Version update.
12187 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12189 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12191 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12192 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
12193 (viper-intercept-ESC-key): Simplify.
12194 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
12195 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
12196 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12197 (viper-setup-ESC-to-escape): New functions.
12198 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12199 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12201 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12203 * simple.el (default-font-height, window-screen-lines):
12205 (line-move, line-move-partial): Use them instead of
12206 frame-char-height and window-text-height. This makes scrolling
12207 text smoother when the buffer's default face uses a font that is
12208 different from the frame's default font.
12210 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12212 * files.el (write-file): Do not display confirm dialog for NS,
12213 it does its own dialog, which can't be canceled (Bug#14578).
12215 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12217 * simple.el (line-move-partial): Adjust the row returned by
12218 posn-at-point for the current window-vscroll. (Bug#14567)
12220 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12222 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12223 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12226 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12228 * window.el (window-state-put-stale-windows): New variable.
12229 (window--state-put-2): Save list of windows without matching buffer.
12230 (window-state-put): Remove "bufferless" windows if possible.
12232 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12234 * simple.el (alternatives-define): Remove leftover :group keyword.
12237 2013-07-06 Leo Liu <sdl.web@gmail.com>
12239 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12240 (ido-enable-virtual-buffers): New variable.
12241 (ido-buffer-internal, ido-toggle-virtual-buffers)
12242 (ido-make-buffer-list): Use it.
12243 (ido-exhibit): Support turning on and off virtual buffers
12246 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12248 * simple.el (alternatives-define): New macro.
12250 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12252 * subr.el (read-quoted-char): Use read-key.
12253 (sit-for): Let read-event decode tty input (bug#14782).
12255 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12257 * calendar/todo-mode.el: Add handling of file deletion, both by
12258 mode command and externally. Fix various related bugs.
12259 Clarify Commentary and improve some documentation strings and code.
12260 (todo-delete-file): New command.
12261 (todo-check-file): New function.
12262 (todo-show): Handle external deletion of the file we're trying to
12263 show (bug#14688). Replace called-interactively-p by an optional
12264 prefix argument to avoid problematic interaction with catch form
12265 when byte compiled (bug#14702).
12266 (todo-quit): Handle external deletion of the archive's todo file.
12267 Make sure the buffer that was visiting the archive file is still
12268 live before trying to bury it.
12269 (todo-category-completions): Handle external deletion of any
12270 category completion files.
12271 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12272 of todo files, in case of external deletion.
12273 (todo-add-file): Replace unnecessary setq by let-binding.
12274 (todo-find-archive): Check whether there are any archives.
12275 Replace unnecessary setq by let-binding.
12276 (todo-archive-done-item): Use find-file-noselect to get the
12277 archive buffer whether or not the archive already exists.
12278 Remove superfluous code. Use file size instead of buffer-file-name to
12279 check if the archive is new; if it is, update list of archives.
12280 (todo-default-todo-file): Allow nil to be a valid value for when
12281 there are no todo files.
12282 (todo-reevaluate-default-file-defcustom): Use corrected definition
12283 of todo-default-todo-file.
12284 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12285 (todo-delete-category, todo-show-categories-table)
12286 (todo-category-number): Clarify comment.
12287 (todo-filter-items): Clarify documentation string.
12288 (todo-show-current-file, todo-display-as-todo-file)
12289 (todo-reset-and-enable-done-separator): Tweak documentation string.
12290 (todo-done-separator): Make separator length window-width, since
12291 bug#2749 is now fixed.
12293 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12295 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12296 Support both "gvfs-monitor-dir" and "inotifywait".
12297 (tramp-sh-file-inotifywait-process-filter): Rename from
12298 `tramp-sh-file-notify-process-filter'.
12299 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12300 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12302 2013-07-05 Leo Liu <sdl.web@gmail.com>
12304 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12306 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12308 * frame.el (display-pixel-height, display-pixel-width)
12309 (display-mm-height, display-mm-width): Mention behavior on
12310 multi-monitor setups in docstrings.
12311 (w32-display-monitor-attributes-list): Declare function.
12312 (display-monitor-attributes-list): Use it.
12314 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12316 * filenotify.el: New package.
12318 * autorevert.el (top): Require filenotify.el.
12319 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12321 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12322 (auto-revert-notify-handler): Use `file-notify-*' functions.
12324 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12326 * net/tramp.el (tramp-file-name-for-operation):
12327 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12329 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12330 for `file-notify-add-watch' and `file-notify-rm-watch'.
12331 (tramp-process-sentinel): Improve trace.
12332 (tramp-sh-handle-file-notify-add-watch)
12333 (tramp-sh-file-notify-process-filter)
12334 (tramp-sh-handle-file-notify-rm-watch)
12335 (tramp-get-remote-inotifywait): New defuns.
12337 2013-07-03 Juri Linkov <juri@jurta.org>
12339 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12340 call of `occur-read-primary-args' to interactive spec.
12342 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12343 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12345 2013-07-03 Matthias Meulien <orontee@gmail.com>
12347 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12348 `Buffer-menu-multi-occur'. Add it to the menu.
12349 (Buffer-menu-mode): Document it in docstring.
12350 (Buffer-menu-multi-occur): New command. (Bug#14673)
12352 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12354 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12355 keywords and built-ins.
12357 2013-07-03 Glenn Morris <rgm@gnu.org>
12359 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12361 Make info-xref checks case-sensitive by default
12362 * info.el (Info-find-node, Info-find-in-tag-table)
12363 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12364 Add option for exact case matching of nodes.
12365 * info-xref.el (info-xref): New custom group.
12366 (info-xref-case-fold): New option.
12367 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12369 2013-07-03 Leo Liu <sdl.web@gmail.com>
12371 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12373 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12375 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12376 middle of block statement initially, lower the depth. Remove
12377 FIXME comment, not longer valid. Remove middle of block statement
12378 detection, no need to do that anymore since we've been using
12379 `ruby-parse-region' here.
12381 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12383 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12385 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12387 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12389 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12391 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12392 (desktop-restore-in-current-display): New customization option.
12393 (desktop--excluded-frame-parameters): Add `font'.
12394 (desktop--save-frames): Rename from desktop--save-windows.
12395 (desktop--restore-in-this-display-p): New function.
12396 (desktop--make-full-frame): Remove unwanted width/height from
12397 full(width|height) frames.
12398 (desktop--restore-frames): Rename from desktop--restore-windows.
12399 Obey desktop-restore-current-display. Do not delete old frames or
12400 select a new frame unless we were able to restore at least one frame.
12402 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12404 * files.el (find-file-noselect): Simplify conditional expression.
12406 * textmodes/remember.el (remember-append-to-file):
12407 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12409 Add `remember-notes' function to store random notes across Emacs
12411 * textmodes/remember.el (remember-data-file): Add :set callback to
12412 affect notes buffer (if any).
12413 (remember-notes): New command.
12414 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12415 New defcustoms for the `remember-notes' function.
12416 (remember-notes-save-and-bury-buffer): New command.
12417 (remember-notes-mode-map): New variable.
12418 (remember-mode): New minor mode.
12419 (remember-notes--kill-buffer-query): New function.
12420 * startup.el (initial-buffer-choice): Add notes to custom type.
12422 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12424 * bindings.el (right-char, left-char): Don't call sit-for, this is
12425 no longer needed. Use arithmetic comparison only for numerical
12428 * international/mule-cmds.el (select-safe-coding-system):
12429 Handle the case of FROM being a string correctly. (Bug#14755)
12431 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12433 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12434 progression on degenerate tables.
12435 (shr-rescale-image): ImageMagick animated images currently don't work.
12437 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12439 Some fixes and improvements for desktop frame restoration.
12440 It is still experimental and disabled by default.
12441 * desktop.el (desktop--save-windows): Put the selected frame at
12442 the head of the list.
12443 (desktop--make-full-frame): New function.
12444 (desktop--restore-windows): Try to re-select the frame that was
12445 selected upon saving. Do not abort if some frames fail to restore,
12446 just show an error message and continue. Set up maximized frames
12447 so they have default non-maximized dimensions.
12449 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12451 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12452 Don't start heredoc inside a string or comment.
12454 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12456 * bindings.el (visual-order-cursor-movement): New defcustom.
12457 (right-char, left-char): Provide visual-order cursor motion by
12458 calling move-point-visually. Update the doc strings.
12460 2013-06-28 Kenichi Handa <handa@gnu.org>
12462 * international/mule.el (define-coding-system): New coding system
12463 properties :inhibit-null-byte-detection,
12464 :inhibit-iso-escape-detection, and :prefer-utf-8.
12465 (set-buffer-file-coding-system): If :charset-list property of
12466 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12467 appropriate for setting.
12469 * international/mule-cmds.el (select-safe-coding-system):
12470 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12471 multibyte characters, return utf-8 (or one of its siblings).
12473 * international/mule-conf.el (prefer-utf-8): New coding system.
12474 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12477 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12479 * net/shr.el (shr-render-region): New function.
12481 * net/eww.el: Autoload `eww-browse-url'.
12483 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12485 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12486 Adapt to `package-desc-version' being a list.
12487 Use `package--ac-desc-version' to retrieve version from a package
12490 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12492 New experimental feature to save&restore window and frame setup.
12493 * desktop.el (desktop-save-windows): New defcustom.
12494 (desktop--saved-states): New var.
12495 (desktop--excluded-frame-parameters): New defconst.
12496 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12497 (desktop--restore-windows, desktop--save-windows): New functions.
12498 (desktop-save): Call `desktop--save-windows'.
12499 (desktop-read): Call `desktop--restore-windows'.
12501 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12503 * net/shr.el (add-face-text-property): Remove compat definition.
12505 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12507 * info.el (Info-try-follow-nearest-node): Move search for footnote
12508 above search for node name to prevent missing a footnote (bug#14717).
12510 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12512 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12514 2013-06-27 Leo Liu <sdl.web@gmail.com>
12516 * net/eww.el (eww-read-bookmarks): Check file size.
12518 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12520 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12521 advice--pending if newdef is nil or an autoload (bug#13820).
12522 (advice-mapc): New function.
12524 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12526 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12528 (eww-mode-map): Add a menu bar.
12529 (eww-add-bookmark): New command.
12530 (eww-bookmark-mode): New mode and commands.
12531 (eww-add-bookmark): Remove newlines from the title.
12532 (eww-bookmark-browse): Don't bug out if it's the only window.
12534 2013-06-26 Glenn Morris <rgm@gnu.org>
12536 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12537 (hfy-size): Handle ttys. (Bug#14668)
12539 * info-xref.el: Update for Texinfo 5 change in *note format.
12540 (info-xref-node-re, info-xref-note-re): New constants.
12541 (info-xref-check-buffer): Use info-xref-note-re.
12543 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12545 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12547 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12548 nil terminate the loop (bug#14718).
12550 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552 * net/eww.el: Rework history traversal. When going forward/back,
12553 put these actions into the history, too, so that they can be
12555 (eww-render): Move the history reset to the correct buffer.
12557 2013-06-25 Juri Linkov <juri@jurta.org>
12559 * files-x.el (modify-dir-local-variable): Change the header comment
12560 in the file with directory local variables. (Bug#14692)
12562 * files-x.el (read-file-local-variable-value): Add `default'.
12565 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12567 * net/eww.el (eww-make-unique-file-name): Create a unique file
12568 name before saving to entering `y' accidentally asynchronously.
12570 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12572 * net/eww.el (eww-download): New command and keystroke.
12574 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12576 * net/eww.el (eww-copy-page-url): Change name of command.
12578 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12579 be more consistent with Info and dired.
12581 * net/eww.el (eww-mode-map): Ditto.
12583 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12585 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12586 packages from archives.
12587 (package-archive-contents): Change format; include obsolete packages.
12588 (package-desc): Use `dir' to mark builtin packages.
12589 (package--from-builtin): Set the `dir' field to `builtin'.
12590 (generated-autoload-file, version-control): Declare.
12591 (package-compute-transaction): Change first arg and return value to be
12592 lists of package-descs. Adjust to new package-archive-contents format.
12593 (package--add-to-archive-contents): Adjust to new
12594 package-archive-contents format.
12595 (package-download-transaction): Arg is now a list of package-descs.
12596 (package-install): If `pkg' is a package name, pass it as
12597 a requirement, so it is subject to the usual (e.g. disabled) checks.
12598 (describe-package): Accept package-desc as well.
12599 (describe-package-1): Describe a specific package-desc. Add links to
12600 other package-descs for the same package name.
12601 (package-menu-describe-package): Pass the actual package-desc.
12602 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12604 (package-desc-status): New function.
12605 (package-menu--refresh): New function, extracted
12606 from package-menu--generate.
12607 (package-menu--generate): Use it.
12608 (package-delete): Update package-alist.
12609 (package-menu-execute): Don't call package-initialize.
12611 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12612 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12613 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12614 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12615 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12616 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12618 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12620 * window.el (window--state-get-1): Workaround for bug#14527.
12621 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12623 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12625 * net/eww.el (eww-back-url): Implement the history by stashing all
12626 the data into a list.
12627 (eww-forward-url): Allow going forward in the history, too.
12629 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12631 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12632 for values and use read--expression for expressions (bug#14710).
12633 (read-file-local-variable): Avoid setq.
12634 (read-file-local-variable-mode): Use minor-mode-list.
12636 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12638 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12641 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12643 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12644 Update imenu-support when dialect changes.
12646 2013-06-25 Leo Liu <sdl.web@gmail.com>
12648 * ido.el (ido-read-internal): Allow forward slash on windows.
12650 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12652 * net/eww.el (eww): Start of strings is \\`, not ^.
12654 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12656 * net/shr.el (shr-browse-url): Fix interactive spec.
12658 * net/eww.el (eww): Add a trailing slash to domain names.
12660 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12662 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12664 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12666 * net/shr.el (shr-browse-url): Use an external browser if given a
12669 * net/eww.el (eww-external-browser): Move to shr.
12671 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12673 * net/eww.el (eww): Work more correctly for file: URLs.
12674 (eww-detect-charset): Allow quoted charsets.
12675 (eww-yank-page-url): New command and keystroke.
12677 2013-06-24 Daiki Ueno <ueno@gnu.org>
12679 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12680 file name of gpg executable.
12681 (epg-context-program): New function.
12682 (epg-context-home-directory): New function.
12683 (epg-context-set-program): New function.
12684 (epg-context-set-home-directory): New function.
12685 (epg--start): Use `epg-context-program' instead of
12687 (epg--list-keys-1): Likewise.
12689 2013-06-24 Leo Liu <sdl.web@gmail.com>
12691 * ido.el (ido-read-internal): Fix bug#14620.
12693 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12695 * faces.el (face-documentation): Simplify.
12696 (read-face-attribute, tty-find-type, x-resolve-font-name):
12697 Use `string-match-p'.
12698 (list-faces-display): Use `string-match-p'. Simplify.
12699 (face-spec-recalc): Check face to avoid face alias loops.
12700 (read-color): Use `string-match-p' and non-capturing parenthesis.
12702 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12704 * net/shr.el (shr-rescale-image): Use the new
12705 :max-width/:max-height functionality.
12707 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12709 * net/eww.el (eww-search-prefix): New variable.
12711 (eww-external-browser): New variable.
12712 (eww-mode-map): New keystroke.
12713 (eww-browse-with-external-browser): New command.
12715 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12717 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12719 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12720 Don't skip aligning the next header field when padding is 0;
12721 otherwise, field width is not respected unless the title is as
12724 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12726 * emacs-lisp/package.el (package-el-version): Remove.
12727 (package-process-define-package): Fix inf-loop.
12728 (package-install): Allow symbols as arguments again.
12730 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12732 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12733 add some more keyword-like methods.
12734 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12736 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12738 * bs.el (bs-buffer-show-mark): Make defvar-local.
12739 (bs-mode): Use setq-local.
12741 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12742 (emacs-lock--try-unlocking): Make defvar-local.
12744 2013-06-22 Glenn Morris <rgm@gnu.org>
12746 * play/cookie1.el (cookie-apropos): Minor simplification.
12748 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12750 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12752 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12753 `regexp-opt', it breaks the build during dumping.
12755 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12757 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12758 Highlight keyword-like methods on Kernel and Module with
12759 font-lock-builtin-face.
12760 (auto-mode-alist): Consolidate different entries into one regexp
12761 and add more *file-s.
12763 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12765 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12767 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12768 (diary-entry): Use it in the action of this button type instead of
12771 * calendar/todo-mode.el: New version.
12772 (todo-add-category): Append new category to end of file and give
12773 it the highest number, instead of putting it at the beginning and
12774 giving it 0. Incorporate noninteractive functionality.
12775 (todo-forward-category): Adapt to 1-based category numbering.
12776 Allow skipping over archived categories.
12777 (todo-backward-category): Derive from todo-forward-category.
12778 (todo-backward-item, todo-forward-item): Make noninteractive and
12779 delegate interactive part to new commands. Make sensitive to done items.
12780 (todo-categories): Make value an alist of category names and
12781 vectors of item counts.
12782 (todo-category-beg): Make a defconst.
12783 (todo-category-number): Use 1 instead of 0 as initial value.
12784 (todo-category-select): Make sensitive to overlays, optional item
12785 highlighting and done items.
12786 (todo-delete-item): Make sensitive to overlays and marked and done items.
12787 (todo-edit-item): Make sensitive to overlays and editing of
12788 date/time header optional. Add format checks.
12789 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12790 no-op if point is not on an item. Advertise using todo-edit-quit.
12791 (todo-edit-mode): Make sensitive to new format, font-locking, and
12792 multiple todo files.
12793 (todo-insert-item, todo-insert-item-here): Derive from
12794 todo-basic-insert-item and extend functionality.
12795 (todo-item-end, todo-item-start): Make sensitive to done items.
12796 (todo-item-string): Don't return text properties. Restore point.
12797 (todo-jump-to-category): Make sensitive to multiple todo files and
12798 todo archives. Use extended category completion.
12799 (todo-lower-item, todo-raise-item): Rename to *-priority and
12800 derive from todo-set-item-priority.
12801 (todo-mode): Derive from special-mode. Make sensitive to new
12802 format, font-locking and multiple todo files. Make read-only.
12803 (todo-mode-map): Don't suppress digit keys, so they can supply
12804 prefix arguments. Add many new key bindings.
12805 (todo-prefix): Insert as an overlay instead of file text.
12806 Change semantics from diary date expression to purely visual mark.
12807 (todo-print): Rename to todo-print-buffer. Make buffer display
12808 features printable. Remove option to restrict number of items
12809 printed. Add option to print to file.
12810 (todo-print-function): Rename to todo-print-buffer-function.
12811 (todo-quit): Extend to handle exiting new todo modes.
12812 (todo-remove-item): Make sensitive to overlays.
12813 (todo-save): Extend to buffers of filtered items.
12814 (todo-show): Make sensitive to done items, multiple todo files and
12815 new todo modes. Offer to convert legacy todo file before creating
12816 first new todo file.
12817 (todo-show-priorities): Rename to todo-top-priorities.
12818 Change semantics of value 0.
12819 (todo-top-priorities): Rename to todo-filter-top-priorities,
12820 derive from todo-filter-items and extend functionality.
12821 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12822 and extend functionality to other types of filtered items.
12823 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12824 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12825 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12826 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12827 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12828 (todo-edit-mode-hook, todo-entry-prefix-function)
12829 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12830 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12831 (todo-initials, todo-insert-threshold, todo-item-string-start)
12832 (todo-line-string, todo-menu, todo-mode-hook)
12833 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12834 (todo-print-priorities, todo-remove-separator)
12835 (todo-save-top-priorities-too, todo-string-count-lines)
12836 (todo-string-multiline-p, todo-time-string-format)
12837 (todo-tmp-buffer-name): Remove.
12838 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12839 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12840 (todo-edit-category-diary-inclusion)
12841 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12842 (todo-edit-file, todo-edit-item-date-day)
12843 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12844 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12845 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12846 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12847 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12848 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12849 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12850 (todo-filter-top-priorities-multifile, todo-find-archive)
12851 (todo-find-filtered-items-file, todo-go-to-source-item)
12852 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12853 (todo-jump-to-archive-category, todo-lower-category)
12854 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12855 (todo-move-category, todo-move-item, todo-next-button)
12856 (todo-next-item, todo-padded-string, todo-powerset)
12857 (todo-previous-button, todo-previous-item)
12858 (todo-print-buffer-to-file, todo-raise-category)
12859 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12860 (todo-set-category-number, todo-set-item-priority)
12861 (todo-set-top-priorities-in-category)
12862 (todo-set-top-priorities-in-file, todo-show-categories-table)
12863 (todo-sort-categories-alphabetically-or-numerically)
12864 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12865 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12866 (todo-toggle-item-header, todo-toggle-item-highlighting)
12867 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12868 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12869 (todo-unarchive-items, todo-unmark-category): New commands.
12870 (todo-absolute-file-name, todo-add-to-buffer-list)
12871 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12872 (todo-basic-insert-item, todo-category-completions)
12873 (todo-category-number, todo-category-string-matcher-1)
12874 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12875 (todo-check-format, todo-clear-matches)
12876 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12877 (todo-current-category, todo-date-string-matcher)
12878 (todo-define-insertion-command, todo-diary-expired-matcher)
12879 (todo-diary-goto-entry, todo-diary-item-p)
12880 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12881 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12882 (todo-done-item-section-p, todo-done-separator)
12883 (todo-done-string-matcher, todo-files, todo-filter-items)
12884 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12885 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12886 (todo-insert-category-line, todo-insert-item-from-calendar)
12887 (todo-insert-sort-button, todo-insert-with-overlays)
12888 (todo-insertion-command-name, todo-insertion-key-bindings)
12889 (todo-label-to-key, todo-longest-category-name-length)
12890 (todo-make-categories-list, todo-mode-external-set)
12891 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12892 (todo-modes-set-3, todo-multiple-filter-files)
12893 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12894 (todo-read-category, todo-read-date, todo-read-dayname)
12895 (todo-read-file-name, todo-read-time)
12896 (todo-reevaluate-category-completions-files-defcustom)
12897 (todo-reevaluate-default-file-defcustom)
12898 (todo-reevaluate-filelist-defcustoms)
12899 (todo-reevaluate-filter-files-defcustom)
12900 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12901 (todo-reset-done-separator, todo-reset-done-separator-string)
12902 (todo-reset-done-string, todo-reset-global-current-todo-file)
12903 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12904 (todo-reset-prefix, todo-set-categories)
12905 (todo-set-date-from-calendar, todo-set-show-current-file)
12906 (todo-set-top-priorities, todo-short-file-name)
12907 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12908 (todo-total-item-counts, todo-update-buffer-list)
12909 (todo-update-categories-display, todo-update-categories-sexp)
12910 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12912 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12914 (todo-categories, todo-display, todo-edit, todo-faces)
12915 (todo-filtered): New defgroups.
12916 (todo-archived-only, todo-button, todo-category-string, todo-date)
12917 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12918 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12919 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12920 (todo-add-item-if-new-category, todo-always-add-time-string)
12921 (todo-categories-align, todo-categories-archived-label)
12922 (todo-categories-category-label, todo-categories-diary-label)
12923 (todo-categories-done-label, todo-categories-number-separator)
12924 (todo-categories-todo-label, todo-categories-totals-label)
12925 (todo-category-completions-files, todo-completion-ignore-case)
12926 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12927 (todo-done-separator-string, todo-done-string)
12928 (todo-files-function, todo-filter-done-items, todo-filter-files)
12929 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12930 (todo-initial-category, todo-initial-file, todo-item-mark)
12931 (todo-legacy-date-time-regexp, todo-mode-line-function)
12932 (todo-nondiary-marker, todo-number-prefix)
12933 (todo-print-buffer-function, todo-show-current-file)
12934 (todo-show-done-only, todo-show-first, todo-show-with-done)
12935 (todo-skip-archived-categories, todo-top-priorities-overrides)
12936 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12937 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12939 (todo-category-done, todo-date-pattern, todo-date-string-start)
12940 (todo-diary-items-buffer, todo-done-string-start)
12941 (todo-filtered-items-buffer, todo-item-start)
12942 (todo-month-abbrev-array, todo-month-name-array)
12943 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12944 (todo-top-priorities-buffer): New defconsts.
12945 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12946 (todo-categories-with-marks, todo-category-string-face)
12947 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12948 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12949 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12950 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12951 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12952 (todo-font-lock-keywords, todo-global-current-todo-file)
12953 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12954 (todo-insertion-commands-args)
12955 (todo-insertion-commands-args-genlist)
12956 (todo-insertion-commands-names, todo-insertion-map)
12957 (todo-key-bindings-t, todo-key-bindings-t+a)
12958 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12959 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12960 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12961 (todo-visited): New variables.
12963 2013-06-21 Glenn Morris <rgm@gnu.org>
12965 * play/cookie1.el (cookie-apropos): Add optional display argument.
12966 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12967 (psychoanalyze-pinhead): Use cookie-doctor.
12969 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12971 * emacs-lisp/package.el (tar-get-file-descriptor)
12972 (tar--extract): Declare.
12974 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12976 Extend flymake's warning predicate to be a function (bug#14217).
12977 * progmodes/flymake.el (flymake-warning-predicate): New.
12978 (flymake-parse-line): Use it.
12979 (flymake-warning-re): Make obsolete alias to
12980 `flymake-warning-predicate'.
12982 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12984 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12985 (package-obsolete-list): Remove.
12986 (package-activate): Remove min-version argument. Add `force' argument.
12987 Adjust to new package-alist format.
12988 (package-mark-obsolete): Remove.
12989 (package-unpack): Force reload of the package's autoloads.
12990 (package-installed-p): Check builtins if the installed package is not
12992 (package-initialize): Don't reset package-obsolete-list.
12993 Don't specify which package version to activate.
12994 (package-process-define-package, describe-package-1)
12995 (package-menu--generate): Adjust to new package-alist format.
12997 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12999 * allout-widgets.el (allout-widgets-mode-off)
13000 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13001 (allout-widgets-post-command-business)
13002 (allout-widgets-after-copy-or-kill-function)
13003 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13004 (allout-decorate-item-and-context)
13005 (allout-graphics-modification-handler): Fix typos in docstrings.
13006 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13008 * cmuscheme.el (scheme-start-file): Doc fix.
13009 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13010 (scheme-input-filter): Use `string-match-p'.
13012 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13014 * dired-x.el: Use Dired consistently in docstrings.
13016 * dired.el: Use Dired consistently in docstrings.
13017 (dired-readin, dired-mode): Use `setq-local'.
13018 (dired-switches-alist): Make defvar-local.
13019 (dired-buffers-for-dir): Use `zerop'.
13020 (dired-safe-switches-p, dired-switches-escape-p)
13021 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13022 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13023 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13024 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13025 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13026 (dired-toggle-marks, dired-mark-files-containing-regexp)
13027 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13028 (dired-flag-auto-save-files, dired-flag-backup-files):
13029 Use `looking-at-p'.
13030 (dired-mark-files-regexp, dired-build-subdir-alist):
13031 Use `string-match-p', `looking-at-p'.
13033 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13034 (direct-print-region-helper): Use `string-match-p'.
13036 2013-06-21 Leo Liu <sdl.web@gmail.com>
13038 * comint.el (comint-redirect-results-list-from-process):
13041 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13043 * net/eww.el (eww-update-header-line-format): Quote % characters.
13045 2013-06-21 Glenn Morris <rgm@gnu.org>
13047 * play/cookie1.el (cookie): New custom group.
13048 (cookie-file): New option.
13049 (cookie-check-file): New function.
13050 (cookie): Make it interactive. Make start and end messages optional.
13051 Interactively, display the result. Default to cookie-file.
13052 (cookie-insert): Default to cookie-file.
13053 (cookie-snarf): Make start and end messages optional.
13054 Default to cookie-file. Use with-temp-buffer.
13055 (cookie-read): Rename from read-cookie.
13056 Make start and end messages optional. Default to cookie-file.
13057 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13058 Do not autoload it.
13059 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13060 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13062 2013-06-21 Leo Liu <sdl.web@gmail.com>
13064 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13066 2013-06-21 Glenn Morris <rgm@gnu.org>
13068 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13070 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13071 Daniel Hackney <dan@haxney.org>
13073 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13074 Consolidate the single-file vs tarball code.
13075 (package-desc-suffix): New function.
13076 (package-desc-full-name): Don't bother inlining it.
13077 (package-load-descriptor): Return the new package-desc.
13078 (package-mark-obsolete): Remove unused arg `package'.
13079 (package-unpack): Make it work for single files as well.
13080 Make it update package-alist.
13081 (package--make-autoloads-and-stuff): Rename from
13082 package--make-autoloads-and-compile. Don't compile any more.
13083 (package--compile): New function.
13084 (package-generate-description-file): New function, extracted from
13085 package-unpack-single.
13086 (package-unpack-single): Remove.
13087 (package--with-work-buffer): Add indentation and debugging info.
13088 (package-download-single): Remove.
13089 (package-install-from-archive): Rename from package-download-tar, make
13090 it take a pkg-desc, and make it work for single files as well.
13091 (package-download-transaction): Simplify.
13092 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13093 external tar program.
13094 (package-install-from-buffer): Remove `pkg-desc' argument.
13095 Use package-tar-file-info for tar-mode buffers.
13096 (package-install-file): Simplify accordingly.
13097 (package-archive-base): Change to take a pkg-desc.
13098 * tar-mode.el (tar--check-descriptor): New function, extracted from
13099 tar-get-descriptor.
13100 (tar-get-descriptor): Use it.
13101 (tar-get-file-descriptor): New function.
13102 (tar--extract): New function, extracted from tar-extract.
13103 (tar--extract): Use it.
13104 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13105 case the summary uses non-ascii. Adjust to new calling convention of
13106 package-tar-file-info.
13108 2013-06-21 Leo Liu <sdl.web@gmail.com>
13110 * comint.el (comint-redirect-results-list-from-process):
13111 Fix random delay. (Bug#14681)
13113 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13115 * profiler.el (profiler-format-number): Use log, not log10.
13117 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13119 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13121 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13123 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13124 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13126 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13127 (AUTOGENEL): ... here.
13128 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13129 (cl--defsubst-expand): Use it.
13131 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13133 * subr.el (log10): Move here from C code, and declare as obsolete.
13134 All uses of (log10 X) replaced with (log X 10).
13136 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13138 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13139 Declare with `defvar-local'.
13140 (tabulated-list-use-header-line, tabulated-list-entries)
13141 (tabulated-list-padding, tabulated-list-printer)
13142 (tabulated-list-sort-key): Declare with `defvar-local'.
13143 (tabulated-list-init-header, tabulated-list-print-fake-header):
13146 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13148 * arc-mode.el (archive-mode): Add `archive-write-file' to
13149 `write-contents-functions' also for remote files. (Bug#14652)
13151 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13153 * cus-edit.el (custom-commands): Fix typos.
13154 (custom-display): Fix tooltip text.
13155 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13156 Fix typos in docstrings.
13157 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13158 (custom-unlispify-menu-entry, custom-magic-value-create)
13159 (custom-add-see-also, custom-group-value-create): Use ?\s.
13160 (custom-guess-type, customize-apropos, editable-field)
13161 (custom-face-value-create): Use `string-match-p'.
13162 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13164 * custom.el (custom-load-symbol): Use `string-match-p'.
13166 * ansi-color.el: Convert to lexical binding.
13167 (ansi-colors): Fix URL.
13168 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13169 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13170 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13172 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13174 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13176 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13178 2013-06-19 Tom Tromey <tromey@redhat.com>
13180 * net/eww.el (eww-top-url): Remove.
13181 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13182 (eww-render): Set new variables. Don't set eww-top-url.
13183 (eww-handle-link): Handle "prev", "home", and "contents".
13184 Downcase the rel text.
13185 (eww-top-url): Choose best top URL.
13187 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13189 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13190 relying in widget.el. Using widget.el leads to too many
13191 user interface inconsistencies.
13192 (eww-self-insert): Implement entering commands in text fields.
13193 (eww-process-text-input): New function to make text input field editing
13195 (eww-submit): Rewrite to use the new-style form methods.
13196 (eww-select-display): Display the correct selected item.
13197 (eww-change-select): Implement changing the select value.
13198 (eww-toggle-checkbox): Implement radio/checkboxes.
13199 (eww-update-field): Fix compilation error.
13200 (eww-tag-textarea): Implement <textarea>.
13202 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13203 we don't shadow mode-specific bindings.
13205 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13208 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13210 2013-06-19 Glenn Morris <rgm@gnu.org>
13212 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13214 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13216 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13219 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13221 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13223 * net/browse-url.el (browse-url-browser-function):
13224 `eww-browse-url' has the right calling signature, `eww' does not.
13226 2013-06-19 Glenn Morris <rgm@gnu.org>
13228 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13229 Only eval autoloaded macros.
13230 (byte-compile-autoload): Only give the macro warning for macros.
13232 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13233 (ps-underlined-faces): Declare.
13235 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13236 (speedbar-add-supported-extension): Declare.
13238 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13239 Don't include a date stamp in the header of the generated file;
13240 it leads to needless differences between output files.
13242 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13244 * net/secrets.el (secrets-struct-secret-content-type):
13245 Replace check of introspection data by a test call of "CreateItem".
13246 Some servers do not offer introspection.
13248 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13250 * electric.el (electric-pair-mode): Improve interaction with
13251 electric-layout-mode.
13252 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13253 (electric-pair-syntax): Use text-mode-syntax-table in comments
13255 (electric-pair--insert): New function.
13256 (electric-pair-post-self-insert-function): Use it and
13257 electric--after-char-pos.
13259 2013-06-19 Leo Liu <sdl.web@gmail.com>
13261 * progmodes/octave.el (octave-help): Fix regexp.
13263 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13265 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13266 (shr-table-horizontal-line): Allow nil as a value, and change the
13268 (shr-insert-table-ruler): Respect the nil value.
13270 2013-06-18 Tom Tromey <tromey@barimba>
13272 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13274 (eww-open-file): New defun.
13275 (eww-render): Initialize new variables.
13276 (eww-display-html): Handle "link" and "a".
13277 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13278 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13279 (eww-back-url): Rename from eww-previous-url.
13280 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13283 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13285 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13286 Distinguish ternary operator tokens from slash symbol and slash
13289 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13291 Convert symbol prettification into minor mode and global minor mode.
13293 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13294 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13295 (prettify-symbols--keywords): Rename from
13296 `prog-prettify-symbols-alist' and make a local defvar.
13297 (prettify-symbols--compose-symbol): Rename from
13298 `prog--prettify-font-lock-compose-symbol'.
13299 (prettify-symbols--make-keywords): Rename from
13300 `prog-prettify-font-lock-symbols-keywords' and simplify.
13301 (prog-prettify-install): Remove.
13302 (prettify-symbols-mode): New minor mode, based on
13303 `prog-prettify-install'.
13304 (turn-on-prettify-symbols-mode): New function.
13305 (global-prettify-symbols-mode): New globalized minor mode.
13307 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13308 * progmodes/cfengine.el (cfengine3-mode):
13309 * progmodes/perl-mode.el (perl-mode): Don't call
13310 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13312 2013-06-18 Juri Linkov <juri@jurta.org>
13314 * files-x.el (modify-file-local-variable-message): New function.
13315 (modify-file-local-variable)
13316 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13317 and call `modify-file-local-variable-message' when it's non-nil.
13318 (add-file-local-variable, delete-file-local-variable)
13319 (add-file-local-variable-prop-line)
13320 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13321 and use it. (Bug#9820)
13323 2013-06-18 Juri Linkov <juri@jurta.org>
13325 * emulation/vi.el (vi-shell-op):
13326 * emulation/vip.el (vip-execute-com, ex-command):
13327 * emulation/viper-cmd.el (viper-exec-bang):
13328 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13329 the call of `shell-command-on-region'. (Bug#14637)
13331 * simple.el (shell-command-on-region): Doc fix.
13333 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13335 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13338 2013-06-18 Glenn Morris <rgm@gnu.org>
13340 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13342 * newcomment.el (comment-search-forward, comment-search-backward):
13343 Doc fix. (Bug#14376)
13345 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13347 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13348 (buffer-face-mode-invoke): Doc fix.
13350 2013-06-18 Matthias Meulien <orontee@gmail.com>
13352 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13353 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13355 2013-06-18 Glenn Morris <rgm@gnu.org>
13357 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13358 Replace obsolete function generic-make-keywords with its expansion.
13360 * progmodes/python.el (ffap-alist): Declare.
13362 * textmodes/reftex.el (bibtex-mode-map): Declare.
13364 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13366 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13367 (package-unpack, package-unpack-single): Return the pkg-dir.
13368 (package-download-transaction): Use it to update package-alist.
13370 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13372 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13375 2013-06-17 Juri Linkov <juri@jurta.org>
13377 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13379 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13381 * emacs-lisp/package.el (package-load-descriptor):
13382 Remove `with-syntax-table' call, `read' doesn't need it.
13383 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13385 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13387 * startup.el (command-line): Expand package name returned by
13388 `package--description-file' (bug#14639).
13390 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13392 * emacs-lisp/package.el (package-load-descriptor): Do not call
13393 `emacs-lisp-mode', just use its syntax table.
13395 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13397 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13398 `font-lock-extra-managed-props' if any prettifying keyword is added.
13399 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13400 (prog-mode): Use `setq-local'.
13402 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13404 * international/characters.el (standard-case-table): Set syntax of ?»
13405 and ?« to punctuation.
13407 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13409 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13410 Save relevant match data before calling `syntax-ppss' (bug#14595).
13412 2013-06-15 Juri Linkov <juri@jurta.org>
13414 * files-x.el (modify-file-local-variable-prop-line): Add local
13415 variables to the end of the existing comment on the first line.
13416 Use `file-auto-mode-skip' to skip interpreter magic line,
13417 and also skip XML declaration.
13419 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13421 * startup.el (package--builtin-versions): New var.
13422 (package-subdirectory-regexp): Remove.
13423 (package--description-file): Hard code its value instead.
13425 * emacs-lisp/package.el: Don't activate packages older than builtin.
13426 (package-obsolete-list): Rename from package-obsolete-alist, and make
13427 it into a simple list of package-desc.
13428 (package-strip-version): Remove.
13429 (package-built-in-p): Use package--builtin-versions.
13430 (package-mark-obsolete): Simplify.
13431 (package-process-define-package): Mark it obsolete if older than the
13433 (package-handle-response): Use line-end-position.
13434 (package-read-archive-contents, package--download-one-archive):
13436 (package--add-to-archive-contents): Skip if older than the builtin or
13438 (package-menu-describe-package): Fix last change.
13439 (package-list-unversioned): New var.
13440 (package-menu--generate): Use it.
13442 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13443 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13444 (autoload-builtin-package-versions): New variable.
13445 (autoload-generate-file-autoloads): Use them.
13446 Remove the list of autoloaded functions/macros from the
13447 (autoload...) comments.
13449 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13451 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13453 * simple.el (line-move-partial): Don't jump to the next screen
13454 line as soon as it becomes visible. Instead, continue enlarging
13455 the vscroll until the portion of a tall screen line that's left on
13456 display is about the height of the frame's default font.
13459 2013-06-15 Glenn Morris <rgm@gnu.org>
13461 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13462 compilation-error-regexp-alist void, or local while let-bound.
13464 * progmodes/make-mode.el (makefile-mode-syntax-table):
13465 Treat "=" as punctuation. (Bug#14614)
13467 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13469 * help-fns.el (describe-variable):
13470 Add extra line for permanent-local variables.
13472 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13474 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13475 Add export, import, library. (Bug#9164)
13476 (library): Set indent function.
13478 2013-06-14 Glenn Morris <rgm@gnu.org>
13480 * term/xterm.el (xterm--query):
13481 Stop after first matching handler. (Bug#14615)
13483 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13485 Add support for dired in saveplace.
13486 * dired.el (dired-initial-position-hook): New variable.
13487 (dired-initial-position): Call hook to place cursor position.
13488 * saveplace.el (save-place-to-alist): Add dired position.
13489 (save-place-dired-hook): New function.
13491 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13493 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13494 through a symbol rather than letrec.
13496 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13497 (package-desc): Add `dir' field.
13498 (package-desc-full-name): New function.
13499 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13500 (package-maybe-load-descriptor): Remove.
13501 (package-load-all-descriptors): Just call package-load-descriptor.
13502 (package--disabled-p): New function.
13503 (package-desc-vers, package-desc-doc): Remove aliases.
13504 (package--dir): Remove function.
13505 (package-activate): Check if a package is disabled.
13506 (package-process-define-package): New function, extracted from
13508 (define-package): Turn into a place holder.
13509 (package-unpack-single, package-tar-file-info):
13510 Use package--description-file.
13511 (package-compute-transaction): Use package--disabled-p.
13512 (package-download-transaction): Don't call
13513 package-maybe-load-descriptor since they're all loaded anyway.
13514 (package-install): Change argument to be a pkg-desc.
13515 (package-delete): Use a single pkg-desc argument.
13516 (describe-package-1): Use package-desc-dir instead of package--dir.
13517 Use package-desc property instead of package-symbol.
13518 (package-install-button-action): Adjust accordingly.
13519 (package--push): Rewrite.
13520 (package-menu--print-info): Adjust accordingly. Change the ID format
13522 (package-menu-describe-package, package-menu-get-status)
13523 (package-menu--find-upgrades, package-menu-mark-upgrades)
13524 (package-menu-execute, package-menu--name-predicate):
13525 Adjust accordingly.
13526 * startup.el (package--description-file): New function.
13527 (command-line): Use it.
13528 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13529 Use package-desc-version.
13531 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13532 (byte-compile-preprocess): Use it.
13533 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13534 can't quite recognize.
13535 (byte-compile-add-to-list): Remove.
13536 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13537 (cconv-closure-convert): Add assertion.
13539 * emacs-lisp/map-ynp.el: Use lexical-binding.
13540 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13541 Factor out some repeated code.
13543 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13545 * subr.el (with-eval-after-load): New macro.
13546 (eval-after-load): Allow form to be a function.
13547 take advantage of lexical-binding.
13548 (do-after-load-evaluation): Use dolist and adjust to new format.
13549 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13551 2013-06-13 Juri Linkov <juri@jurta.org>
13553 * replace.el (perform-replace): Display "symbol " and other search
13554 modes from `isearch-message-prefix' in the *Help* buffer.
13556 * isearch.el (isearch-query-replace): Add " symbol" and other
13557 possible search modes from `isearch-message-prefix' to the prompt.
13558 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13559 when reading a regexp to collect.
13561 2013-06-13 Juri Linkov <juri@jurta.org>
13563 * isearch.el (word-search-regexp): Match whitespace if the search
13564 string begins or ends in whitespace. The LAX arg is applied to
13565 both ends of the search string. Use `regexp-quote' and explicit
13566 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13567 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13568 boundaries are replaced with symbol boundaries, and characters
13569 between symbols match non-word non-symbol syntax. (Bug#14602)
13571 2013-06-13 Juri Linkov <juri@jurta.org>
13573 * isearch.el (isearch-del-char): Don't exceed the length of
13574 `isearch-string' by the prefix arg. (Bug#14563)
13576 2013-06-13 Juri Linkov <juri@jurta.org>
13578 * isearch.el (isearch-yank-word, isearch-yank-line)
13579 (isearch-char-by-name, isearch-quote-char)
13580 (isearch-printing-char, isearch-process-search-char):
13581 Add optional count prefix arg. (Bug#14563)
13583 * international/isearch-x.el
13584 (isearch-process-search-multibyte-characters):
13585 Add optional count prefix arg.
13587 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13590 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13593 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13595 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13597 2013-06-13 Glenn Morris <rgm@gnu.org>
13599 * startup.el (tty-handle-args):
13600 Don't just discard "--" and anything after. (Bug#14608)
13602 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13604 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13606 Implement changes in Secret Service API. Make it backward compatible.
13607 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13608 (secrets-create-item): Use it. Prefix properties with interface.
13610 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13612 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13613 (term-emulate-terminal): Respect term-suppress-hard-newline.
13615 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13617 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13618 Only remove a `thumb-file' overlay. (Bug#14548)
13620 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13622 * mail/reporter.el (reporter-submit-bug-report):
13623 Handle missing package-name. (Bug#14600)
13625 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13627 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13628 (reftex-citation-prompt, reftex-default-bibliography)
13629 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13630 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13631 (reftex-bib-sort-author, reftex-bib-sort-year)
13632 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13633 (reftex-extract-bib-entries-from-thebibliography)
13634 (reftex-get-bibkey-default, reftex-get-bib-names)
13635 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13636 (reftex-format-bib-entry, reftex-parse-bibitem)
13637 (reftex-format-bibitem, reftex-do-citation)
13638 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13639 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13640 (reftex-insert-bib-matches, reftex-format-citation)
13641 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13642 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13643 existing comments into docstrings.
13645 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13647 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13649 2013-06-12 Andreas Schwab <schwab@suse.de>
13651 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13652 for auto-save files.
13654 2013-06-12 Glenn Morris <rgm@gnu.org>
13656 * ido.el (ido-delete-ignored-files): Remove.
13657 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13658 Go back to calling ido-ignore-item-p directly.
13660 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13662 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13664 * ido.el (ido-delete-ignored-files): New function,
13665 split from ido-make-file-list-1.
13666 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13667 (ido-make-file-list-1): Use ido-delete-ignored-files.
13669 2013-06-12 Leo Liu <sdl.web@gmail.com>
13671 * progmodes/octave.el (inferior-octave-startup)
13672 (inferior-octave-completion-table)
13673 (inferior-octave-track-window-width-change)
13674 (octave-eldoc-function-signatures, octave-help)
13675 (octave-find-definition): Use single quoted strings.
13676 (inferior-octave-startup-args): Change default value.
13677 (inferior-octave-startup): Do not hard code "-i" and
13678 "--no-line-editing".
13679 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13680 (inferior-octave-directory-tracker): Use it.
13681 (octave-goto-function-definition): Robustify.
13682 (octave-help): Support highlighting operators in 'See also'.
13683 (octave-find-definition): Find subfunctions only in Octave mode.
13685 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13687 * help-fns.el (help-fns--compiler-macro): If the handler function is
13688 named, then put a link to it.
13689 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13690 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13691 (cl-typep): Use it.
13692 (cl-eval-when): Simplify debug spec.
13693 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13694 compiler-macro function instead of setting `compiler-macro-file'.
13696 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13698 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13699 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13701 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13702 Daniel Hackney <dan@haxney.org>
13704 First part of Daniel Hackney's patch to package.el.
13705 * emacs-lisp/package.el: Use defstruct.
13706 (package-desc): New, main struct.
13707 (package--bi-desc, package--ac-desc): New structs, used to describe the
13708 format in external files.
13709 (package-desc-vers): Replace with package-desc-version accessor.
13710 (package-desc-doc): Replace with package-desc-summary accessor.
13711 (package-activate-1): Remove `package' arg since the pkg-vec now
13713 (define-package): Use package-desc-from-define.
13714 (package-unpack-single): Change file-name arg to be a symbol.
13715 (package--add-to-archive-contents): Use package-desc-create and new
13716 accessor functions to package--ac-desc.
13717 (package-buffer-info, package-tar-file-info): Return a package-desc.
13718 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13719 arg to be a package-desc.
13720 (package-install-file): Adjust accordingly. Use \' to match EOS.
13721 (package--from-builtin): New function.
13722 (describe-package-1, package-menu--generate): Use it.
13723 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13724 (package-generate-autoloads): Idem and return the name of the file.
13725 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13726 Change pkg-info arg to be a package-desc.
13727 Use package-make-ac-desc.
13728 (package-upload-file): Use \' to match EOS.
13729 * finder.el (finder-compile-keywords): Use package-make-builtin.
13731 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13733 * vc/vc.el (vc-deduce-fileset): Change error message.
13734 (vc-read-backend): New function.
13735 (vc-next-action): Use it.
13737 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13739 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13740 (prolog-font-lock-keywords): Use regexp-opt instead.
13741 Don't manually highlight strings.
13742 (prolog-mode-variables): Simplify comment-start-skip.
13743 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13745 * emacs-lisp/generic.el (generic--normalise-comments)
13746 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13747 (generic-mode-set-comments): Use them.
13748 (generic-bracket-support): Use setq-local.
13749 (generic-make-keywords-list): Declare obsolete.
13751 2013-06-11 Glenn Morris <rgm@gnu.org>
13753 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13754 Prettify after setting font-lock-defaults. (Bug#14574)
13756 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13758 * replace.el (query-replace, occur-read-regexp-defaults-function)
13760 * subr.el (declare-function, number-sequence, local-set-key)
13761 (substitute-key-definition, locate-user-emacs-file)
13762 (with-silent-modifications, split-string, eval-after-load):
13763 Fix typos, remove unneeded backslashes and reflow some docstrings.
13765 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13767 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13768 default for Elisp files.
13770 2013-06-11 Glenn Morris <rgm@gnu.org>
13772 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13773 although define-derived-mode was doing this anyway. (Bug#14583)
13775 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13777 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13778 Fix make-variable-buffer-local call to refer to the correct variable.
13780 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13782 * eshell/em-term.el (eshell-visual-commands)
13783 (eshell-visual-subcommands, eshell-visual-options):
13784 Add summary line to docstrings. Add cross-references.
13786 2013-06-10 Glenn Morris <rgm@gnu.org>
13788 * epa.el (epa-read-file-name): New function. (Bug#14510)
13789 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13791 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13793 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13794 output redirection to be ignored with visual commands.
13796 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13798 * eshell/em-term.el (eshell-visual-command-p): New function.
13799 (eshell-term-initialize): Move long lambda to separate function
13800 eshell-visual-command-p.
13801 * eshell/em-dirs.el (eshell-dirs-initialize):
13802 * eshell/em-script.el (eshell-script-initialize):
13803 Add missing #' to lambda.
13805 2013-06-08 Leo Liu <sdl.web@gmail.com>
13807 * progmodes/octave.el (octave-add-log-current-defun): New function.
13808 (octave-mode): Set add-log-current-defun-function.
13809 (octave-goto-function-definition): Do not move point if not found.
13810 (octave-find-definition): Enhance to try subfunctions first.
13812 2013-06-08 Glenn Morris <rgm@gnu.org>
13814 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13815 (byte-compile-backward-char, byte-compile-backward-word):
13816 Improve previous change, to handle non-explicit nil.
13818 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13820 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13821 (smie--opener/closer-at-point): New function.
13822 (smie--matching-block-data): Use it. Don't match from right after an
13823 opener or right before a closer. Obey smie-blink-matching-inners.
13824 Don't signal a mismatch for repeated inners like "switch..case..case".
13826 2013-06-07 Leo Liu <sdl.web@gmail.com>
13828 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13830 (octave-function-header-regexp): Fix. (Bug#14570)
13831 (octave-help-mode-finish-hook, octave-help-mode-finish):
13832 Remove. Just use temp-buffer-show-hook.
13834 * newcomment.el (comment-search-backward): Revert last change.
13837 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13839 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13841 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13842 through xargs, to avoid failure due to MS-Windows limitations on
13843 command-line length.
13845 2013-06-06 Glenn Morris <rgm@gnu.org>
13847 * font-lock.el (lisp-font-lock-keywords-2):
13848 Treat user-error like error.
13850 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13851 (byte-compile-backward-char, byte-compile-backward-word):
13852 Handle explicit nil arguments. (Bug#14565)
13854 2013-06-05 Alan Mackenzie <acm@muc.de>
13856 * isearch.el (isearch-allow-prefix): New user option.
13857 (isearch-other-meta-char): Don't exit isearch when a prefix
13858 argument is typed whilst `isearch-allow-prefix' is non-nil.
13861 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13863 * autorevert.el (auto-revert-notify-handler): Use memq.
13864 Hide assertion failure.
13866 * skeleton.el: Use cl-lib.
13867 (skeleton-further-elements): Use defvar-local.
13868 (skeleton-insert): Use cl-progv.
13870 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13872 * progmodes/prog-mode.el (prog-prettify-symbols)
13873 (prog-prettify-install): Update docstrings.
13875 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13877 * simple.el: Move all the prog-mode code to prog-mode.el.
13878 * progmodes/prog-mode.el: New file.
13879 * loadup.el: Add prog-mode.el.
13881 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13883 * simple.el (prog-prettify-symbols): Add version.
13884 (prog-prettify-install): Add convenience function to prettify symbols.
13886 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13887 (perl--augmented-font-lock-keywords-1)
13888 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13889 variables and use it.
13891 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13892 (cfengine3-mode): Remove unneeded variable and use it.
13894 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13895 (lisp--augmented-font-lock-keywords-1)
13896 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13897 Remove unneeded variables and use it.
13899 2013-06-05 João Távora <joaotavora@gmail.com>
13901 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13902 to point when opening the connection. (Bug#14380)
13904 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13906 * subr.el (load-history-regexp, load-history-filename-element)
13907 (eval-after-load, after-load-functions, do-after-load-evaluation)
13908 (eval-next-after-load, display-delayed-warnings)
13909 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13910 definition of save-match-data.
13911 (overriding-local-map): Remove accidental obsolescence declaration.
13913 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13915 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13917 Generalize symbol prettify support to prog-mode and implement it
13918 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13919 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13920 (prog--prettify-font-lock-compose-symbol)
13921 (prog-prettify-font-lock-symbols-keywords): New variables and
13922 functions to support symbol prettification.
13923 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13924 (lisp--augmented-font-lock-keywords-1)
13925 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13926 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13927 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13928 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13929 Implement prettify of -> => :: strings.
13930 * progmodes/perl-mode.el (perl-prettify-symbols)
13931 (perl--font-lock-compose-symbol)
13932 (perl--font-lock-symbols-keywords): Move to prog-mode.
13933 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13934 (perl-font-lock-keywords-1)
13935 (perl-font-lock-keywords-2): Remove explicit prettify support.
13936 (perl--augmented-font-lock-keywords)
13937 (perl--augmented-font-lock-keywords-1)
13938 (perl--augmented-font-lock-keywords-2, perl-mode):
13939 Implement prettify support.
13941 2013-06-05 Leo Liu <sdl.web@gmail.com>
13943 Re-implement SMIE matching block highlight using
13944 show-paren-data-function. (Bug#14395)
13945 * emacs-lisp/smie.el (smie-matching-block-highlight)
13946 (smie--highlight-matching-block-overlay)
13947 (smie--highlight-matching-block-lastpos)
13948 (smie-highlight-matching-block)
13949 (smie-highlight-matching-block-mode): Remove.
13950 (smie--matching-block-data-cache): New variable.
13951 (smie--matching-block-data): New function.
13952 (smie-setup): Use smie--matching-block-data for
13953 show-paren-data-function.
13955 * progmodes/octave.el (octave-mode-menu): Fix.
13956 (octave-find-definition): Skip garbage lines.
13958 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13960 Fix compilation error with simultaneous dynamic+lexical scoping.
13961 Add warning when a defvar appears after the first let-binding.
13962 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13963 (byte-compile-close-variables): Initialize it.
13964 (byte-compile--declare-var): New function.
13965 (byte-compile-file-form-defvar)
13966 (byte-compile-file-form-define-abbrev-table)
13967 (byte-compile-file-form-custom-declare-variable): Use it.
13968 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13969 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13970 (byte-compile-bind): Handle dynamic bindings that shadow
13972 (byte-compile-unbind): Make arg non-optional.
13973 (byte-compile-let): Simplify.
13974 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13975 (cconv--analyse-function, cconv-analyse-form): Populate it.
13976 Protect byte-compile-bound-variables to limit the scope of defvars.
13977 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13978 Remove unneeded rule for `declare'.
13980 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13981 so as to avoid depending on cl-adjoin at run-time.
13982 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13984 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13985 (macroexp--warn-and-return): Use it.
13987 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13989 * subr.el: Convert to lexical binding.
13990 (overriding-local-map): Make obsolete.
13991 (add-to-list): Doc fix. Add compiler macro.
13992 (read-key): Swap values of local maps.
13994 2013-06-05 Leo Liu <sdl.web@gmail.com>
13996 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13998 2013-06-04 Leo Liu <sdl.web@gmail.com>
14000 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14001 (compilation-auto-jump): Suppress the "Mark set" message to give
14002 way to exit message.
14004 2013-06-04 Alan Mackenzie <acm@muc.de>
14006 Remove faulty optimisation from indentation calculation.
14007 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14008 search limit based on 2000 characters back from indent-point.
14010 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14012 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14014 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14016 * emacs-lisp/lisp.el: Use lexical-binding.
14017 (lisp--local-variables-1, lisp--local-variables): New functions.
14018 (lisp--local-variables-completion-table): New var.
14019 (lisp-completion-at-point): Use it complete let-bound vars.
14021 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14022 eagerly (bug#14422).
14024 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14026 * autorevert.el (auto-revert-notify-enabled)
14027 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14028 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14029 (auto-revert-notify-handler): Handle also gfilenotify.
14031 * subr.el (file-notify-handle-event): New defun. Replacing ...
14032 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14035 2013-06-03 Juri Linkov <juri@jurta.org>
14037 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14038 `M-s h .'. (Bug#14427)
14040 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14041 command `hi-lock-face-symbol-at-point'.
14042 (hi-lock-face-symbol-at-point): New command.
14043 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14044 (hi-lock-menu): Add `highlight-symbol-at-point'.
14045 (hi-lock-mode): Doc fix.
14047 * isearch.el (isearch-forward-symbol-at-point): New command.
14048 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14049 (isearch-highlight-regexp): Add a regexp which matches
14050 words/symbols for word/symbol mode.
14052 * subr.el (find-tag-default-bounds): New function with the body
14053 mostly moved from `find-tag-default'.
14054 (find-tag-default): Move most code to `find-tag-default-bounds',
14055 call it and apply `buffer-substring-no-properties' afterwards.
14057 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14059 * eshell/em-term.el (eshell-term-initialize):
14060 Use `cl-intersection' rather than `intersection'.
14062 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14064 * vc/log-view.el: Doc fix.
14065 (log-view-mode-map): Copy keymap from `special-mode-map'.
14067 2013-06-02 Eric Ludlam <zappo@gnu.org>
14069 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14070 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14071 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14072 (eieio-unbound, eieio-default-superclass)
14073 (eieio--define-field-accessors, method-static, method-before)
14074 (method-primary, method-after, method-num-lists)
14075 (method-generic-before, method-generic-primary)
14076 (method-generic-after, method-num-slots)
14077 (eieio-specialized-key-to-generic-key)
14078 (eieio--check-type, class-v, class-p)
14079 (eieio-class-name, define-obsolete-function-alias)
14080 (eieio-class-parents-fast, eieio-class-children-fast)
14081 (same-class-fast-p, class-constructor, generic-p)
14082 (generic-primary-only-p, generic-primary-only-one-p)
14083 (class-option-assoc, class-option, eieio-object-p)
14084 (class-abstract-p, class-method-invocation-order)
14085 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14086 (eieio-class-un-autoload, eieio-defclass)
14087 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14088 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14089 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14090 (eieio-defgeneric-reset-generic-form)
14091 (eieio-defgeneric-form-primary-only)
14092 (eieio-defgeneric-reset-generic-form-primary-only)
14093 (eieio-defgeneric-form-primary-only-one)
14094 (eieio-defgeneric-reset-generic-form-primary-only-one)
14095 (eieio-unbind-method-implementations)
14096 (eieio--defmethod, eieio--typep)
14097 (eieio-perform-slot-validation, eieio-validate-slot-value)
14098 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14099 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14100 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14101 (eieio-slot-name-index, eieio-class-slot-name-index)
14102 (eieio-set-defaults, eieio-initarg-to-attribute)
14103 (eieio-attribute-to-initarg, eieio-c3-candidate)
14104 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14105 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14106 (eieio-class-precedence-list, eieio-generic-call-methodname)
14107 (eieio-generic-call-arglst, eieio-generic-call-key)
14108 (eieio-generic-call-next-method-list)
14109 (eieio-pre-method-execution-functions, eieio-generic-call)
14110 (eieio-generic-call-primary-only, eieiomt-method-list)
14111 (eieiomt-optimizing-obarray, eieiomt-install)
14112 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14113 (eieio-generic-form, eieio-defmethod, make-obsolete)
14114 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14115 (defclass): Remove `eval-and-compile' from macro.
14116 (call-next-method, shared-initialize): Instead of using
14117 `scoped-class' variable, use new eieio--scoped-class, and
14118 eieio--with-scoped-class.
14119 (initialize-instance): Rename local variable 'scoped-class' to
14120 'this-class' to remove ambiguitity from old global.
14122 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14124 (eieio--scoped-class-stack): New variable.
14125 (eieio--scoped-class): New fcn.
14126 (eieio--with-scoped-class): New scoping macro.
14127 (eieio-defclass): Use pushnew instead of add-to-list.
14128 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14129 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14130 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14131 `scoped-class' variable, use new eieio--scoped-class, and
14132 eieio--with-scoped-class.
14134 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14136 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14138 * eshell/esh-ext.el (eshell-external-command): Pass args to
14139 `eshell-find-interpreter'.
14140 (eshell-find-interpreter): Add new second parameter ARGS.
14142 * eshell/em-script.el (eshell-script-initialize): Add second arg
14143 to the function added as MATCH to `eshell-interpreter-alist'.
14145 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14146 the function added as MATCH to `eshell-interpreter-alist'.
14148 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14149 (eshell-visual-options): New defcustom.
14150 (eshell-escape-control-x): Adapt docstring.
14151 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14152 `eshell-visual-options' in addition to `eshell-visual-commands'.
14153 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14155 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14157 * progmodes/python.el (python-indent-block-enders): Add break,
14158 continue and raise keywords.
14160 2013-06-01 Glenn Morris <rgm@gnu.org>
14162 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14164 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14165 * progmodes/cc-cmds.el (delete-forward-p):
14166 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14167 * progmodes/cc-engine.el (buffer-syntactic-context):
14168 * progmodes/cc-fonts.el (face-property-instance):
14169 * progmodes/cc-mode.el (set-keymap-parents):
14170 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14171 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14172 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14173 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14174 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14176 * progmodes/cc-vars.el (other): Emacs has this widget since
14177 at least 21.1, so don't (re)define it.
14179 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14180 Replace the obsolete alias pcomplete-arg-quote-list.
14182 2013-06-01 Leo Liu <sdl.web@gmail.com>
14184 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14185 punctuation syntax.
14186 (inferior-octave-minimal-columns)
14187 (inferior-octave-last-column-width): New variables.
14188 (inferior-octave-track-window-width-change): New function.
14189 (inferior-octave-mode): Adjust column width so that Octave output,
14190 for example from 'ls', can fit into the window nicely.
14192 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14194 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14195 Highlight expansions inside regexp literals.
14197 2013-05-31 Glenn Morris <rgm@gnu.org>
14199 * obsolete/sym-comp.el (symbol-complete):
14200 Replace obsolete completion-annotate-function.
14202 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14204 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14206 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14207 New function, checks if point is inside a literal that allows
14208 expression expansion.
14209 (ruby-syntax-propertize-expansion): Use it.
14210 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14213 2013-05-30 Juri Linkov <juri@jurta.org>
14215 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14217 (isearch-invisible): New variable.
14218 (isearch-forward): Doc fix.
14219 (isearch-mode): Set `isearch-invisible'
14220 to the value of `search-invisible'.
14221 (isearch-toggle-case-fold): Doc fix.
14222 (isearch-toggle-invisible): New command.
14223 (isearch-query-replace): Let-bind `search-invisible'
14224 to the value of `isearch-invisible'.
14225 (isearch-search): Use `isearch-invisible' instead of
14226 `search-invisible'. Let-bind `search-invisible'
14227 to the value of `isearch-invisible'. (Bug#11378)
14229 2013-05-30 Juri Linkov <juri@jurta.org>
14231 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14232 call when `query-flag' is nil and `search-invisible' is non-nil.
14235 2013-05-30 Glenn Morris <rgm@gnu.org>
14237 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14239 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14240 (cc-require): Suppress spurious "noruntime" warnings.
14241 (cc-require-when-compile): Use fboundp, for sake of compiler.
14243 * progmodes/cc-mode.el: Move load of cc-vars before that of
14244 cc-langs (which in turn loads cc-vars), to quieten compiler.
14246 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14248 * paren.el: Simplify the code.
14249 (show-paren-mode): Always start the timer.
14250 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14251 (show-paren--overlay, show-paren--overlay-1): Rename from
14252 show-paren-overlay and show-paren-overlay-1, and initialize to an
14253 overlay rather than to nil.
14254 (show-paren-function): Misc cleanup and simplifications.
14256 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14258 * paren.el (show-paren-data-function): New hook.
14259 (show-paren--default): New function, extracted from show-paren-function.
14260 (show-paren-function): Use show-paren-data-function.
14262 2013-05-30 Glenn Morris <rgm@gnu.org>
14264 * ielm.el (ielm-map, ielm-complete-symbol):
14265 Use completion-at-point rather than obsolete functions.
14266 (inferior-emacs-lisp-mode): Doc fix.
14267 Set completion-at-point-functions, rather than
14268 comint-dynamic-complete-functions.
14270 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14271 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14272 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14274 * image.el (image-animated-p): Tweak definition.
14276 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14277 (rlogin-process-connection-type): Tweak default. Add set-after.
14278 (rlogin-host): Doc fix.
14279 (rlogin): Tweak prompt.
14280 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14282 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14283 * progmodes/tcl.el (inferior-tcl-mode-map):
14284 Use completion-at-point rather than obsolete alias.
14286 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14288 * minibuffer.el (read-file-name-completion-ignore-case):
14289 Move before completion--in-region, for eager macro expansion.
14291 2013-05-29 Juri Linkov <juri@jurta.org>
14293 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14294 for total count of matching lines. Add `global-matches' for total
14295 count of matches. Rename `matches' to `lines' for count of
14296 matching lines. Add `matches' for count of matches.
14297 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14298 to `prev-line' for line number of prev match endpt.
14299 Increment `matches' for every match. Print the number of
14300 matching lines in the header.
14301 (occur-context-lines): Rename `lines' to `curr-line'.
14302 Rename `prev-lines' to `prev-line'. (Bug#14017)
14304 2013-05-29 Juri Linkov <juri@jurta.org>
14306 * replace.el (perform-replace): Add `skip-read-only-count',
14307 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14308 Increment them for corresponding conditions and report the number
14309 of skipped occurrences in the final message. (Bug#11746)
14310 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14311 (replace-string, replace-regexp): Doc fix.
14313 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14315 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14317 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14318 prog-mode-map (bug#14504).
14320 2013-05-29 Leo Liu <sdl.web@gmail.com>
14322 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14323 (octave-help): Small simplification.
14325 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14326 off the highlight first.
14328 2013-05-29 Glenn Morris <rgm@gnu.org>
14330 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14331 Handle idlwave-last-system-routine-info-cons-cell being nil.
14333 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14334 (idlwave-write-paths): Simplify via with-temp-buffer.
14336 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14337 * emulation/cua-rect.el: Also load cua-base at run time.
14339 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14340 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14341 (cperl-imenu-on-info): Require imenu.
14343 2013-05-28 Alan Mackenzie <acm@muc.de>
14345 Handle "capitalised keywords" correctly.
14346 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14348 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14350 * eshell/em-unix.el: Add -r option to cp.
14352 2013-05-28 Glenn Morris <rgm@gnu.org>
14354 * vc/vc-arch.el (vc-exec-after): Declare.
14355 (vc-switches): Autoload.
14356 * vc/vc-bzr.el: No need to require vc when compiling.
14357 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14358 (vc-resynch-buffer, vc-dir-refresh): Declare.
14359 (vc-setup-buffer, vc-switches): Autoload.
14360 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14361 (vc-resynch-buffer): Declare.
14362 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14363 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14364 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14365 (grep-read-regexp, grep-read-files, grep-expand-template)
14366 (vc-dir-refresh): Declare.
14367 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14368 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14369 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14370 * vc/vc-mtn.el (vc-exec-after): Declare.
14371 (vc-switches): Autoload.
14372 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14373 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14374 (vc-file-tree-walk): Declare.
14375 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14376 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14377 (vc-tag-precondition, vc-rename-master): Autoload.
14378 * vc/vc-svn.el (vc-exec-after): Declare.
14379 (vc-switches, vc-setup-buffer): Autoload.
14380 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14382 (vc-resynch-buffer): Declare.
14384 * obsolete/fast-lock.el (byte-compile-warnings):
14385 Don't warn about obsolete features in this obsolete file.
14387 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14388 Move definition before use.
14390 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14391 (dun-unix-verbs): Remove dun-zippy.
14392 (dun-zippy): Remove function.
14394 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14396 2013-05-27 Juri Linkov <juri@jurta.org>
14398 * replace.el (replace-search): New function with code moved out
14399 from `perform-replace'.
14400 (replace-highlight, replace-dehighlight): Move function definitions
14401 up closer to `replace-search'. (Bug#11746)
14403 2013-05-27 Juri Linkov <juri@jurta.org>
14405 * replace.el (perform-replace): Ignore invisible matches.
14406 In addition to checking `query-replace-skip-read-only', also
14407 filter out matches by calling `run-hook-with-args-until-failure'
14408 on `isearch-filter-predicates', and also check `search-invisible'
14409 for t or call `isearch-range-invisible'.
14410 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14412 2013-05-27 Juri Linkov <juri@jurta.org>
14414 * isearch.el (isearch-filter-predicates): Rename from
14415 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14416 (isearch-message-prefix): Display text from the property
14417 `isearch-message-prefix' of the currently active filters.
14418 (isearch-search): Don't compare `isearch-filter-predicate' with
14419 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14420 on `isearch-filter-predicates'. Also check `search-invisible' for t
14421 or call `isearch-range-invisible'.
14422 (isearch-filter-visible): Make obsolete.
14423 (isearch-lazy-highlight-search):
14424 Call `run-hook-with-args-until-failure' on
14425 `isearch-filter-predicates' and use `isearch-range-invisible'.
14427 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14428 `isearch-filter-predicates' instead of `funcall'ing
14429 `isearch-filter-predicate'.
14430 (Info-mode): Set `Info-isearch-filter' to
14431 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14433 * dired-aux.el (dired-isearch-filter-predicate-orig):
14435 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14436 (dired-isearch-filenames-end): Add and remove
14437 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14438 instead of changing the value of `isearch-filter-predicate'.
14439 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14440 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14441 Put property `isearch-message-prefix' to "filename " on
14442 `dired-isearch-filter-filenames'.
14444 * wdired.el (wdired-change-to-wdired-mode):
14445 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14446 locally instead of changing `isearch-filter-predicate'.
14447 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14449 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14451 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14452 return the commit hash (Bug#14459). Also set the
14453 `vc-git-detached' property.
14454 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14455 (vc-git-mode-line-string): Use the same help-echo format whether
14456 in detached mode or not, because we know the actual revision now.
14457 When in detached mode, shorten the revision to 7 chars.
14459 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14461 * emacs-lisp/easy-mmode.el (define-minor-mode):
14462 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14463 mode hook and provide a docstring.
14465 2013-05-27 Alan Mackenzie <acm@muc.de>
14467 Remove spurious syntax-table text properties inserted by C-y.
14468 * progmodes/cc-mode.el (c-after-change): Also clear hard
14469 syntax-table property with value nil.
14471 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14473 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14474 when reading the events; the buffer layout shall not be changed.
14476 2013-05-27 Leo Liu <sdl.web@gmail.com>
14478 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14480 (inferior-octave-directory-tracker): Automatically re-sync
14482 (octave-help): Improve handling of 'See also'.
14484 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14486 * doc-view.el: Minor naming convention tweaks.
14487 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14489 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14490 even if there's no `display' property yet (bug#14435).
14492 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14494 * subr.el (unmsys--file-name): Rename from reveal-filename.
14496 * Makefile.in (custom-deps, finder-data, autoloads)
14497 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14498 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14499 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14501 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14503 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14504 error-completion on the first 2 args of condition-case (bug#14446).
14507 2013-05-25 Leo Liu <sdl.web@gmail.com>
14509 * comint.el (comint-previous-matching-input): Do not flood the
14510 *Messages* buffer with trivial messages.
14512 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14514 * progmodes/flymake.el (flymake-nop): Don't return a string.
14515 (flymake-set-at): Fix typo.
14517 * simple.el (read--expression): New function, extracted from
14518 eval-expression. Set completion-at-point-functions (bug#14465).
14519 (eval-expression, eval-minibuffer): Use it.
14521 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14523 * progmodes/flymake.el (flymake-save-buffer-in-file)
14524 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14525 (flymake-selected-frame, flymake-log, flymake-ins-after)
14526 (flymake-set-at, flymake-get-buildfile-from-cache)
14527 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14528 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14529 Refine the doc string.
14530 (flymake-get-file-name-mode-and-masks): Reformat.
14531 (flymake-get-real-file-name-function): Fix a minor bug.
14533 2013-05-24 Juri Linkov <juri@jurta.org>
14535 * progmodes/grep.el (grep-mode-font-lock-keywords):
14536 Support =linenumber= format used by git-grep for lines with
14537 function names. (Bug#13549)
14539 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14541 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14542 0 after a semi-colon; it works better for smie-auto-fill.
14543 (octave--indent-new-comment-line): New function.
14544 (octave-indent-new-comment-line): Use it (indirectly).
14545 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14546 modify comment-line-break-function.
14548 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14549 (smie-setup): Use add-function to set it.
14551 2013-05-24 Sam Steingold <sds@gnu.org>
14553 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14554 argument (before the `interactive' argument).
14556 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14558 * image-mode.el (image-mode-winprops): Add winprops to
14559 image-mode-winprops-alist before running
14560 image-mode-new-window-functions.
14561 * doc-view.el (doc-view-new-window-function): Don't delay
14562 doc-view-goto-page via timers (bug#14435).
14564 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14566 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14567 (doc-view-desktop-save-buffer): New function.
14568 (doc-view-restore-desktop-buffer): New function.
14569 (desktop-buffer-mode-handlers):
14570 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14572 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14573 `desktop-save-buffer' function.
14575 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14577 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14578 (tramp-gvfs-file-name-handler): Raise a user error when
14579 `tramp-gvfs-enabled' is nil.
14580 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14581 Do not raise a user error when loading package. (Bug#14447)
14583 * net/xesam.el: Move to obsolete/.
14585 2013-05-24 Glenn Morris <rgm@gnu.org>
14587 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14589 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14591 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14592 (Info-find-node, Man-getpage-in-background): Declare.
14594 * mail/unrmail.el (unrmail):
14595 Replace obsolete detect-coding-with-priority.
14597 * net/socks.el (socks-split-string): Use this rather than split-string.
14598 (socks-nslookup-host): Update for above change.
14599 (dynamic-choice, s5-dynamic-choice-match)
14600 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14601 Comment out unused code.
14603 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14604 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14605 (gud-tooltip-echo-area): Make obsolete.
14606 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14608 * progmodes/js.el (js--optimize-arglist): Declare.
14610 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14612 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14613 (ediff-window-C): Declare.
14615 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14616 Tweak requires to silence compiler.
14618 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14619 (he-search-string, he-tried-table, he-expand-list)
14620 (he-init-string, he-string-member, he-substitute-string)
14621 (he-reset-string): Declare.
14623 * obsolete/options.el (list-options): Use custom-variable-p,
14624 rather than obsolete alias.
14626 2013-05-23 Sam Steingold <sds@gnu.org>
14628 * simple.el (shell-command-on-region): Pass the `replace' argument
14629 down to `call-process-region' to comply with the doc as reported on
14630 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14632 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14634 * emacs-lisp/smie.el (smie-indent-forward-token)
14635 (smie-indent-backward-token): Handle string tokens (bug#14381).
14637 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14639 * ielm.el (ielm-menu): New menu.
14640 (inferior-emacs-lisp-mode): Set comment-start.
14642 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14644 * textmodes/reftex.el (reftex-ref-style-toggle):
14645 Fix deactivate action.
14647 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14648 Add cleveref macros.
14650 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14651 Accept options for bibliography commands.
14652 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14653 Add addbibresource. Basic Biblatex support.
14655 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14657 * net/tramp-gvfs.el (top):
14658 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14659 when loading package. (Bug#14447)
14661 2013-05-23 Glenn Morris <rgm@gnu.org>
14663 * progmodes/js.el: No need to load comint when compiling.
14664 (ring-insert, comint-send-string, comint-send-input)
14665 (comint-last-input-end, ido-chop): Declare.
14667 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14668 * vc/ediff-mult.el: Adjust requires.
14669 (ediff-directories-internal, ediff-directory-revisions-internal)
14670 (ediff-patch-file-internal): Declare.
14671 * vc/ediff-ptch.el: Adjust requires.
14672 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14673 (ediff-find-file): Autoload.
14674 * vc/ediff-util.el: No need to load ediff when compiling.
14675 (ediff-regions-internal): Declare.
14676 * vc/ediff-wind.el: Adjust requires.
14677 (ediff-compute-toolbar-width): Define when compiling.
14678 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14679 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14680 (dired-get-filename, dired-get-marked-files)
14681 (ediff-last-dir-patch, ediff-patch-default-directory)
14682 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14683 (ediff-patch-buffer-internal): Declare.
14685 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14686 (ispell-process, ispell-buffer-local-words, lm-summary)
14687 (lm-section-start, lm-section-end): Declare.
14688 (checkdoc-ispell-init): Simplify.
14690 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14691 (he-string-member, he-reset-string, he-substitute-string): Declare.
14693 * eshell/em-ls.el: Adjust requires.
14694 (eshell-glob-regexp): Declare.
14695 * eshell/em-tramp.el: Adjust requires.
14696 (eshell-parse-command): Autoload.
14697 * eshell/em-xtra.el: Adjust requires.
14698 (eshell-parse-command): Autoload.
14699 * eshell/esh-ext.el: Adjust requires.
14700 (eshell-parse-command, eshell-close-handles): Autoload.
14701 * eshell/esh-io.el: Adjust requires.
14702 (eshell-output-filter): Autoload.
14703 * eshell/esh-util.el: No need to load tramp when compiling.
14704 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14706 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14707 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14708 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14709 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14710 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14711 * eshell/esh-opt.el, eshell/esh-proc.el:
14712 * eshell/esh-var.el: Adjust requires.
14713 * eshell/eshell.el: Do not require esh-util twice.
14714 (eshell-add-input-to-history): Declare.
14715 (eshell-command): Check history module is active before using it.
14717 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14719 2013-05-22 Leo Liu <sdl.web@gmail.com>
14721 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14723 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14725 * autorevert.el (auto-revert-notify-add-watch)
14726 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14727 it indicates changes in file modification time.
14729 2013-05-22 Glenn Morris <rgm@gnu.org>
14731 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14732 Always delete the autoloaded function from the noruntime and
14733 unresolved functions lists.
14735 * allout.el: No need to load epa, epg, overlay when compiling.
14736 (epg-context-set-passphrase-callback, epg-list-keys)
14737 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14738 (epg-key-user-id-list): Declare.
14740 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14741 (viper-set-parsing-style-toggling-macro)
14742 (viper-set-emacs-state-searchstyle-macros):
14743 Use called-interactively-p on Emacs.
14744 (viper-looking-back): Make it an obsolete alias. Update callers.
14745 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14746 Use looking-back rather than viper-looking-back.
14747 (viper-tmp-insert-at-eob, viper-enlarge-region)
14748 (viper-read-string-with-history, viper-register-to-point)
14749 (viper-append-to-register, viper-change-state-to-vi)
14750 (viper-backward-char-carefully, viper-forward-char-carefully)
14751 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14752 (viper-change-state-to-emacs): Declare.
14753 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14754 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14755 * emulation/viper-mous.el: Do not load viper-cmd.
14756 (viper-backward-char-carefully, viper-forward-char-carefully)
14757 (viper-forward-word, viper-adjust-window): Declare.
14759 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14761 * progmodes/idlw-help.el (idlwave-help-fontify):
14762 Use called-interactively-p.
14764 * term/w32console.el (w32-get-console-codepage)
14765 (w32-get-console-output-codepage): Declare.
14767 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14768 Remove unnecessary declarations.
14769 (dframe-message): Doc fix.
14771 * info.el (dframe-select-attached-frame, dframe-current-frame):
14774 * speedbar.el (speedbar-message): Make it an obsolete alias.
14775 Update all callers.
14776 (speedbar-with-attached-buffer)
14777 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14778 (speedbar-with-writable): Use backquote.
14779 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14780 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14781 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14782 rather than speedbar- aliases.
14783 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14784 (speedbar-make-specialized-keymap, speedbar-insert-button)
14785 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14786 (speedbar-do-function-pointer): Declare.
14787 (rmail-speedbar-button, rmail-speedbar-find-file)
14788 (rmail-speedbar-move-message):
14789 Use dframe-with-attached-buffer rather than speedbar- alias.
14790 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14791 (dframe-message, speedbar-make-specialized-keymap)
14792 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14793 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14794 (speedbar-insert-button, dframe-select-attached-frame)
14795 (dframe-maybee-jump-to-attached-frame)
14796 (speedbar-change-initial-expansion-list)
14797 (speedbar-previously-used-expansion-list-name): Declare.
14798 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14799 Use dframe-message, dframe-with-attached-buffer rather than
14801 (gud-sentinel): Silence compiler.
14802 * progmodes/vhdl-mode.el (speedbar-refresh)
14803 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14804 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14805 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14806 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14807 (speedbar-file-lists, speedbar-make-tag-line)
14808 (speedbar-line-directory, speedbar-goto-this-file)
14809 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14810 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14811 (speedbar-make-button, speedbar-reset-scanners)
14812 (speedbar-files-item-info, speedbar-line-text)
14813 (speedbar-find-file-in-frame, speedbar-set-timer)
14814 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14815 (speedbar-with-writable): Do not (re)define it.
14816 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14817 rather than speedbar- alias.
14819 2013-05-21 Leo Liu <sdl.web@gmail.com>
14821 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14823 (octave-mode): Tweak fill-nobreak-predicate.
14824 (inferior-octave-startup): Check process to avoid infinite loop.
14825 (inferior-octave): Pop to buffer first to show abornmal process
14828 2013-05-21 Glenn Morris <rgm@gnu.org>
14830 * printing.el (pr-menu-bar): Define when compiling.
14832 2013-05-21 Leo Liu <sdl.web@gmail.com>
14834 * progmodes/octave.el (octave-auto-fill): Remove.
14835 (octave-indent-new-comment-line): Improve.
14836 (octave-mode): Use auto fill mode through
14837 comment-line-break-function and fill-nobreak-predicate.
14838 (octave-goto-function-definition): Support DEFUN_DLD.
14839 (octave-beginning-of-defun): Small tweak.
14840 (octave-help): Show parent directory.
14842 2013-05-21 Glenn Morris <rgm@gnu.org>
14844 * files.el (dired-unmark):
14845 * progmodes/gud.el (gdb-input): Update declarations.
14847 * calculator.el (electric, ehelp): No need to load when compiling.
14848 (Electric-command-loop, electric-describe-mode): Declare.
14850 * doc-view.el (doc-view-current-converter-processes): Move before use.
14852 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14853 Move MODE-set-explicitly definition before use.
14855 * international/mule-diag.el (mule-diag):
14856 Don't use obsolete window-system-version.
14858 * mail/feedmail.el (smtpmail): No need to load when compiling.
14859 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14861 * mail/mail-utils.el (rfc822): No need to load when compiling.
14862 (rfc822-addresses): Autoload it.
14863 (mail-strip-quoted-names): Trivial simplification.
14865 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14866 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14868 * net/snmp-mode.el (tempo): Don't duplicate requires.
14870 * progmodes/prolog.el (info): No need to load when compiling.
14871 (comint): Require before shell requires it.
14872 (Info-goto-node): Autoload it.
14873 (Info-follow-nearest-node): Declare.
14874 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14876 * textmodes/artist.el (picture-mode-exit): Declare.
14878 * textmodes/reftex-parse.el (reftex-parse-from-file):
14879 Trivial rewrite so the compiler can parse it better.
14881 2013-05-20 Leo Liu <sdl.web@gmail.com>
14883 * progmodes/octave.el (octave-help-mode-map)
14884 (octave-help-mode-finish-hook): New variables.
14885 (octave-help-mode, octave-help-mode-finish): New functions.
14886 (octave-help): Use octave-help-mode.
14888 2013-05-20 Glenn Morris <rgm@gnu.org>
14890 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14892 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14894 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14895 start at point, so that expansion starting right after opening
14896 slash in a regexp is recognized.
14897 (ruby-syntax-before-regexp-re): New defvar, extracted from
14898 ruby-syntax-propertize-function. Since the value of this regexp
14899 is looked up at runtime now, we should be able to turn
14900 `ruby-syntax-methods-before-regexp' into a defcustom later.
14901 (ruby-syntax-propertize-function): Split regexp matching into two
14902 parts, for opening and closing slashes. That allows us to skip
14903 over string interpolations and support multiline regexps.
14904 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14905 for them, which calls `ruby-syntax-propertize-expansion'.
14906 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14907 call to `ruby-syntax-propertize-function'.
14908 (ruby-syntax-propertize-expansion): Extracted from
14909 `ruby-syntax-propertize-expansions'. Handles one expansion.
14910 (ruby-syntax-propertize-percent-literal): Leave point right after
14911 the percent symbol, so that the expression expansion rule can
14912 propertize the contents.
14913 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14915 (ruby-syntax-propertize-expansions): Remove.
14917 2013-05-18 Juri Linkov <juri@jurta.org>
14919 * man.el (Man-default-man-entry): Remove `-' from the end
14920 of the default value. (Bug#14400)
14922 2013-05-18 Glenn Morris <rgm@gnu.org>
14924 * comint.el (comint-password-prompt-regexp):
14925 Allow "password for XXX" where XXX contains colons (eg https://...).
14927 2013-05-18 Leo Liu <sdl.web@gmail.com>
14929 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14930 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14931 (octave-source-directories): Don't check process.
14932 (octave-source-directories, octave-find-definition): Doc fix.
14934 2013-05-18 Glenn Morris <rgm@gnu.org>
14936 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14937 Remove backspace/delete bindings. (Bug#14392)
14939 * cus-dep.el (custom-make-dependencies): Sort the output.
14940 (custom-versions-load-alist): Convert comment to doc.
14942 2013-05-17 Leo Liu <sdl.web@gmail.com>
14944 * newcomment.el (comment-search-backward): Stricter in finding
14945 comment start. (Bug#14303)
14947 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14948 (octave-comment-start-skip): Properly anchored.
14950 2013-05-17 Leo Liu <sdl.web@gmail.com>
14952 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14953 Clean up when turned off. (Bug#14395)
14954 (smie--highlight-matching-block-overlay): No longer buffer-local.
14955 (smie-highlight-matching-block): Adjust.
14957 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14959 Doc string fix for "nanoseconds" (Bug#14406).
14960 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14961 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14963 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14965 * calc/calc-units.el (math-extract-units): Preserve powers
14968 2013-05-17 Leo Liu <sdl.web@gmail.com>
14970 * subr.el (delete-consecutive-dups): New function.
14971 * ido.el (ido-set-matches-1): Use it.
14972 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14973 * ido.el (ido-remove-consecutive-dups): Remove.
14975 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14977 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14978 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14979 regexp-opt's `words'.
14981 2013-05-16 Leo Liu <sdl.web@gmail.com>
14983 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14984 (smie--highlight-matching-block-overlay)
14985 (smie--highlight-matching-block-lastpos)
14986 (smie--highlight-matching-block-timer): New variables.
14987 (smie-highlight-matching-block): New function.
14988 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14989 (smie-setup): Conditionally enable smie-blink-matching-open.
14991 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14993 Sync with upstream verilog-mode r840.
14994 * progmodes/verilog-mode.el (verilog-mode-version)
14995 (verilog-mode-release-date): Update.
14996 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14997 (verilog-sig-tieoff): Fix string error on
14998 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14999 (verilog-read-decls): Fix parameters confusing
15000 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15002 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15004 * subr.el (reveal-filename): New function.
15006 * loadup.el: Compute Emacs executable versions on MS-Windows,
15007 where executables have the .exe extension. Add a hard link
15008 emacs-XX.YY.ZZ.exe on MS-Windows.
15010 * Makefile.in (XARGS_LIMIT): New variable.
15011 (custom-deps, finder-data, autoloads)
15012 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15013 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15014 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15015 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15017 2013-05-16 Leo Liu <sdl.web@gmail.com>
15019 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15020 (octave-mode-menu, octave-mode-map): Remove its uses.
15022 2013-05-16 Reto Zimmermann <reto@gnu.org>
15024 Sync with upstream vhdl mode v3.34.2.
15025 * progmodes/vhdl-mode.el: Use `push' throughout.
15026 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15027 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15028 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15029 (vhdl-actual-generic-name): New option to derive actual generic name.
15030 (vhdl-port-paste-signals): Replace formal by actual generics.
15031 (vhdl-beautify): New name for old group vhdl-align. Update users.
15032 (vhdl-beautify-options): New option.
15033 (vhdl-last-input-event): New compat alias. Use throughout.
15034 (vhdl-goto-line): Replace user level function `goto-line'.
15035 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15036 vhdl-fix-statement-buffer.
15037 (vhdl-create-mode-menu): Add some entries.
15038 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15039 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15040 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15041 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15042 to force statements on one line.
15043 (vhdl-remove-trailing-spaces-region):
15044 New, split from vhdl-remove-trailing-spaces.
15045 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15046 Respect vhdl-beautify-options.
15047 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15048 (vhdl-update-sensitivity-list): Not add with index if exists without.
15049 Not include array index with signal. Ignore keywords in comments.
15050 (vhdl-get-visible-signals): Regexp tweaks.
15051 (vhdl-template-component-inst): Handle empty library.
15052 (vhdl-template-type): Add template for 'enum' type.
15053 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15054 Use vhdl-replace-string.
15055 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15056 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15057 (vhdl-speedbar-initialize): Update for above name change.
15058 (vhdl-compose-wire-components): Fix in handling of constants.
15059 (vhdl-error-regexp-emacs-alist): New variable.
15060 (vhdl-error-regexp-add-emacs): New function;
15061 adds support for new compile.el (Emacs 22+)
15062 (vhdl-generate-makefile-1): Change target order for single lib. units.
15063 Allow use of absolute file names.
15065 2013-05-16 Leo Liu <sdl.web@gmail.com>
15067 * simple.el (prog-indent-sexp): Indent enclosing defun.
15069 2013-05-15 Glenn Morris <rgm@gnu.org>
15071 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15072 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15073 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15074 (whitespace-highlight): Move to whitespace group.
15076 * comint.el (comint-source):
15077 * pcmpl-linux.el (pcmpl-linux):
15078 * shell.el (shell-faces):
15079 * eshell/esh-opt.el (eshell-opt):
15080 * international/ccl.el (ccl): Remove empty custom groups.
15082 * completion.el (dynamic-completion-mode):
15083 * jit-lock.el (jit-lock-debug-mode):
15084 * minibuffer.el (completion-in-region-mode):
15085 * type-break.el (type-break-mode-line-message-mode)
15086 (type-break-query-mode):
15087 * emulation/tpu-edt.el (tpu-edt-mode):
15088 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15089 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15090 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15092 * term/xterm.el (xterm): Change parent group to terminals.
15094 * master.el (master): Remove empty custom group.
15095 (master-mode): Remove unused :group argument.
15096 * textmodes/refill.el (refill): Remove empty custom group.
15097 (refill-mode): Remove unused :group argument.
15099 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15101 * cus-dep.el: Provide a feature.
15102 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15103 Don't mistakenly ignore files whose basenames match a basename
15104 from preloaded-file-list (eg cedet/ede/simple.el).
15105 Add a fallback method for getting :group.
15107 2013-05-15 Juri Linkov <juri@jurta.org>
15109 * isearch.el (isearch-char-by-name): Rename from
15110 `isearch-insert-char-by-name'. Doc fix.
15111 (isearch-forward): Mention `isearch-char-by-name' in
15112 the docstring. (Bug#13348)
15114 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15115 `exit-minibuffer' instead of
15116 `isearch-nonincremental-exit-minibuffer'.
15117 (isearch-edit-string): Remove mention of
15118 `isearch-nonincremental-exit-minibuffer' from docstring.
15119 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15120 (isearch-forward-exit-minibuffer)
15121 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15123 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15125 * loadup.el: Just use unversioned DOC.
15127 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15128 literals as extending to EOB.
15129 (nxml-last-fontify-end): Remove unused variable.
15130 (nxml-after-change1): Use with-silent-modifications.
15131 (nxml-extend-after-change-region): Simplify.
15132 (nxml-extend-after-change-region1): Remove function.
15133 (nxml-after-change1): Don't adjust for dependent regions.
15134 (nxml-fontify-matcher): Simplify.
15135 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15136 (xmltok-add-dependent): Remove function.
15137 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15138 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15139 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15140 unclosed <[[, <?, comment, and other literals as extending to EOB.
15141 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15142 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15144 (rng-do-some-validation-1): Don't mark dependent regions.
15145 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15146 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15147 (nxml-clear-dependent-regions): Remove functions.
15148 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15149 (nxml-ensure-scan-up-to-date):
15150 Don't clear&mark dependent regions.
15152 2013-05-15 Leo Liu <sdl.web@gmail.com>
15154 * progmodes/octave.el (octave-goto-function-definition):
15155 Improve and fix callers.
15157 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15159 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15160 the setter (bug#14387).
15162 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15163 surrounding group (bug#14402).
15165 2013-05-14 Juri Linkov <juri@jurta.org>
15167 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15170 2013-05-14 Glenn Morris <rgm@gnu.org>
15172 * progmodes/f90.el (f90-imenu-generic-expression):
15173 Fix typo in 2013-05-08 change. (Bug#14402)
15175 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15177 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15178 Remove signals for which replies are never received.
15180 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15182 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15183 (gdb-handler-alist, gdb-handler-number): Remove variables.
15184 (gdb-handler-list): New variable.
15185 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15186 (gdb-pending-handler-p, gdb-handle-reply)
15187 (gdb-remove-all-pending-triggers): New functions.
15188 (gdb-discard-unordered-replies): New defcustom.
15189 (gdb-handler): New defstruct.
15190 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15191 instead of gdb-pending-triggers. Update docstring.
15192 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15193 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15194 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15195 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15196 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15197 (gdb-frame-handler): Pending triggers are now automatically managed.
15198 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15200 (gdb-input): Automatically handles pending triggers. Update docstring.
15201 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15202 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15204 (gdb-done-or-error): Now use gdb-handle-reply.
15206 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15208 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15211 2013-05-14 Glenn Morris <rgm@gnu.org>
15213 * subr.el (user-emacs-directory-warning): New option.
15214 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15216 2013-05-14 Leo Liu <sdl.web@gmail.com>
15218 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15220 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15221 (octave-font-lock-texinfo-comment): Fix invalid search bound
15222 error: wrong side of point.
15224 2013-05-14 Glenn Morris <rgm@gnu.org>
15226 * progmodes/flymake.el (flymake-xml-program): New option.
15227 (flymake-xml-init): Use it.
15229 * term/xterm.el: Provide a feature.
15231 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15233 2013-05-13 Glenn Morris <rgm@gnu.org>
15235 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15236 Add compat aliases as a hack workaround. (Bug#14384)
15238 2013-05-13 Leo Liu <sdl.web@gmail.com>
15240 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15242 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15244 (octave-comment-start-skip): Include %!.
15245 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15247 2013-05-12 Leo Liu <sdl.web@gmail.com>
15249 * progmodes/octave.el (inferior-octave-startup): Store the value
15250 of __octave_srcdir__ for octave-source-directories.
15251 (inferior-octave-check-process): New function refactored out of
15252 inferior-octave-send-list-and-digest.
15253 (octave-source-directories)
15254 (octave-find-definition-filename-function): New variables.
15255 (octave-source-directories)
15256 (octave-find-definition-default-filename): New functions.
15257 (octave-find-definition): Improve to find functions implemented in C++.
15259 2013-05-12 Glenn Morris <rgm@gnu.org>
15261 * calendar/diary-lib.el (diary-outlook-format-1):
15262 Don't include dayname in the output. (Bug#14349)
15264 2013-05-11 Glenn Morris <rgm@gnu.org>
15266 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15268 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15269 Treat cc-provide like provide.
15271 2013-05-11 Kevin Ryde <user42@zip.com.au>
15273 * cus-dep.el (custom-make-dependencies):
15274 Use generated-autoload-load-name for the sake of files such
15275 such cedet/semantic/bovine/c.el, where the base file name
15276 is not in load-path. (Bug#5277)
15278 2013-05-11 Glenn Morris <rgm@gnu.org>
15280 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15283 2013-05-11 Leo Liu <sdl.web@gmail.com>
15285 * progmodes/octave.el (octave-indent-comment): Improve.
15286 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15287 (octave-eldoc-function-signatures, octave-eldoc-function):
15289 (octave-mode, inferior-octave-mode): Add eldoc support.
15291 2013-05-11 Richard Stallman <rms@gnu.org>
15293 * epa.el (epa-decrypt-file): Take output file name as argument
15294 and read it using `interactive'.
15296 2013-05-11 Leo Liu <sdl.web@gmail.com>
15298 * progmodes/octave.el (octave-beginning-of-line)
15299 (octave-end-of-line): Check before using up-list because it jumps
15300 out of more syntactic contructs since moving to smie.
15301 (octave-indent-comment): New function.
15302 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15303 (octave-begin-keywords, octave-end-keywords)
15304 (octave-reserved-words, octave-smie-bnf-table)
15305 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15307 2013-05-11 Glenn Morris <rgm@gnu.org>
15309 * faces.el (internal-face-x-get-resource):
15310 * frame.el (ns-display-monitor-attributes-list):
15311 * calc/calc-aent.el (math-to-radians-2):
15312 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15315 * calc/calc-menu.el: Make it loadable in isolation.
15317 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15318 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15319 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15320 (eudc-bbdb-query-internal): Require 'bbdb.
15322 * lpr.el (lpr-headers-switches):
15323 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15325 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15327 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15329 * term.el (term-set-escape-char): Make it idempotent.
15331 2013-05-10 Leo Liu <sdl.web@gmail.com>
15333 * progmodes/octave.el (inferior-octave-completion-table):
15334 No longer a function and all uses changed. Use cache to speed up
15335 completion due to bug#11906.
15336 (octave-beginning-of-defun): Re-write to be more general.
15338 2013-05-10 Glenn Morris <rgm@gnu.org>
15340 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15342 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15344 * comint.el (comint-redirect-send-command-to-process): Use :around
15345 rather than :override for comint-redirect-filter.
15346 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15347 Call it instead of comint-redirect-original-filter-function (which
15348 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15350 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15352 * frame.el (display-monitor-attributes-list): Add NS case.
15353 (ns-display-monitor-attributes-list): Declare.
15355 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15357 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15359 2013-05-09 Glenn Morris <rgm@gnu.org>
15361 * international/fontset.el (vertical-centering-font-regexp):
15362 Set standard-value.
15364 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15366 * bookmark.el (bookmark-search-delay):
15367 * cus-start.el (vertical-centering-font-regexp):
15368 * ps-mule.el (ps-mule-font-info-database-default):
15369 * ps-print.el (ps-default-fg, ps-default-bg):
15370 * type-break.el (type-break-good-break-interval):
15371 * whitespace.el (whitespace-indentation-regexp)
15372 (whitespace-space-after-tab-regexp):
15373 * emacs-lisp/testcover.el (testcover-1value-functions)
15374 (testcover-noreturn-functions, testcover-progn-functions)
15375 (testcover-prog1-functions):
15376 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15377 * eshell/em-glob.el (eshell-glob-translate-alist):
15378 * play/tetris.el (tetris-tty-colors):
15379 * progmodes/cpp.el (cpp-face-default-list):
15380 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15381 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15382 (idlwave-help-browser-generic-args):
15383 * progmodes/make-mode.el (makefile-special-targets-list):
15384 * progmodes/python.el (python-shell-virtualenv-path):
15385 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15386 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15387 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15388 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15389 * textmodes/reftex-vars.el (reftex-format-label-function):
15390 * textmodes/remember.el (remember-diary-file): Fix custom types.
15392 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15395 2013-05-09 Leo Liu <sdl.web@gmail.com>
15397 * progmodes/octave.el (inferior-octave-completion-at-point):
15398 Restore file completion. (Bug#14300)
15399 (inferior-octave-startup): Fix incorrect highlighting for the
15402 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15404 * progmodes/ruby-mode.el: First cut at SMIE support.
15405 (ruby-use-smie): New var.
15406 (ruby-smie-grammar): New constant.
15407 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15408 (ruby-smie--forward-token, ruby-smie--backward-token)
15409 (ruby-smie-rules): New functions.
15410 (ruby-mode-variables): Setup SMIE if applicable.
15412 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15414 * simple.el (line-move-visual): Signal beginning/end of buffer
15415 only if vertical-motion moved less than it was requested. Avoids
15416 silly incorrect error messages when there are display strings with
15417 multiple newlines at EOL.
15419 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15421 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15422 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15423 (prolog-char-quote-workaround):
15424 * progmodes/cperl-mode.el (cperl-under-as-char):
15425 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15427 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15429 (vhdl-mode-syntax-table-init): Remove.
15431 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15434 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15436 (ld-script-font-lock-keywords):
15437 Change regexps to use things like \_< and \_>.
15439 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15440 Change all regexps to use things like \_< and \_>.
15442 * progmodes/autoconf.el (autoconf-definition-regexp)
15443 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15444 Handle a _ with symbol syntax.
15445 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15447 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15448 Consolidate declaration.
15449 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15451 (ada-create-syntax-table): Remove.
15452 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15453 already has the right syntax nowadays.
15454 (ada-goto-next-word): Don't change the syntax of "_".
15456 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15459 2013-05-08 Sam Steingold <sds@gnu.org>
15461 * thingatpt.el (thing-at-point): Accept optional second argument
15462 NO-PROPERTIES to strip the text properties from the return value.
15463 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15464 to `thing-at-point' instead of stripping the properties ourselves.
15465 Also, when `thing-at-point' fails to find a url, prepend "http://"
15466 to the filename at point on the assumption that the user is
15467 pointing at something like gnu.org/gnu.
15469 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15471 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15472 * faces.el (crm-separator):
15473 Silence byte-compiler.
15475 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15476 (tool-bar-map): Remove unneeded defvars.
15478 2013-05-08 Leo Liu <sdl.web@gmail.com>
15480 Re-work a fix for bug#10994 based on Le Wang's patch.
15481 * ido.el (ido-remove-consecutive-dups): New helper.
15482 (ido-completing-read): Use it.
15483 (ido-chop): Revert fix for bug#10994.
15485 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15487 * cus-edit.el (custom-save-variables):
15488 Pretty-print long values. (Bug#14187)
15490 2013-05-08 Glenn Morris <rgm@gnu.org>
15492 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15493 (m4-mode-syntax-table): Init in the defvar.
15494 (m4-mode-abbrev-table): Let define-derived-mode define it.
15496 2013-05-08 Tom Tromey <tromey@redhat.com>
15498 * progmodes/m4-mode.el (m4-mode-syntax-table):
15499 Do not treat "_" as word constituent. (Bug#14167)
15501 2013-05-07 Glenn Morris <rgm@gnu.org>
15503 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15504 Remove explicit eshell-isearch-cancel-map.
15506 * progmodes/f90.el (f90-smart-end-names): New option.
15507 (f90-smart-end): Doc fix.
15508 (f90-end-block-optional-name): New constant.
15509 (f90-block-match): Respect f90-smart-end-names.
15511 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15513 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15514 about implicit semi-colons (bug#14218).
15516 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15518 * frame.el (display-monitor-attributes-list)
15519 (frame-monitor-attributes): New functions.
15521 2013-05-06 Leo Liu <sdl.web@gmail.com>
15523 * progmodes/octave.el (octave-syntax-propertize-function): Change
15524 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15525 (octave-font-lock-keywords): Use octave-operator-regexp.
15526 (octave-completion-at-point): Rename from
15527 octave-completion-at-point-function.
15528 (inferior-octave-directory-tracker): Robustify.
15529 (octave-text-functions): Remove and fix its uses. No such things
15532 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15534 * emacs-lisp/trace.el (trace--display-buffer): New function.
15535 (trace-make-advice): Use it.
15537 2013-05-06 Juri Linkov <juri@jurta.org>
15539 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15540 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15542 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15543 in the help string. (Bug#12985)
15545 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15547 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15549 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15551 * progmodes/perl-mode.el: Add support for here documents.
15552 (perl-syntax-propertize-function): Match here-doc markers.
15553 (perl-syntax-propertize-special-constructs): Find their end.
15554 (perl-imenu-generic-expression): Use [:alnum:].
15556 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15557 (advice--add-function): Refresh the advice if already present
15560 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15562 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15564 2013-05-06 Glenn Morris <rgm@gnu.org>
15566 * w32-fns.el (w32-charset-info-alist): Declare.
15568 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15569 of its defcustom properties.
15570 (eshell-cmpl-initialize): No need to load pcomplete.
15572 * generic-x.el: No need to require comint when compiling.
15574 * net/eudc-export.el: Make it loadable without bbdb.
15575 (top-level): Use require rather than load-library.
15576 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15577 (eudc-batch-export-records-to-bbdb)
15578 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15581 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15584 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15585 some tweaks, instead.
15587 2013-05-05 Leo Liu <sdl.web@gmail.com>
15589 * progmodes/octave.el (octave-font-lock-keywords)
15590 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15591 (inferior-octave-send-list-and-digest): Improve error message.
15592 (octave-mode, inferior-octave-mode): Use setq-local.
15593 (octave-help): Set info-lookup-mode.
15595 2013-05-05 Richard Stallman <rms@gnu.org>
15597 * vc/compare-w.el (compare-windows-whitespace):
15598 Treat no-break space as whitespace.
15600 * mail/rmailsum.el (rmail-summary-rmail-update):
15601 Detect empty summary and don't change selected message.
15602 (rmail-summary-goto-msg): Likewise.
15604 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15605 Doc fixes, rename args.
15607 2013-05-05 Alan Mackenzie <acm@muc.de>
15609 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15611 2013-05-05 Juri Linkov <juri@jurta.org>
15613 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15614 to not add the length of the summary segment to the return value.
15617 2013-05-05 Leo Liu <sdl.web@gmail.com>
15619 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15620 (inferior-octave-output-filter): Remove.
15621 (octave-send-region, inferior-octave-startup): Fix callers.
15622 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15623 (octave-binary-file-extensions): New user variable.
15624 (octave-find-definition): Confirm if opening binary files.
15625 (octave-help-file): Use octave-find-definition to get the binary
15627 (octave-help): Adjust for octave-help-file change.
15629 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15631 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15632 Merge the two entries that handle function definitions.
15633 (pascal--syntax-propertize): New const.
15634 (pascal-mode): Use it. Use setq-local.
15636 2013-05-04 Glenn Morris <rgm@gnu.org>
15638 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15639 (diary-from-outlook): Respect diary-from-outlook-function.
15641 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15643 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15644 Move the declaration from C.
15645 (read-minibuffer, eval-minibuffer): Move from C.
15646 (completion-setup-function): Avoid minibuffer-completion-contents.
15648 2013-05-03 Leo Liu <sdl.web@gmail.com>
15650 * progmodes/octave.el (octave-font-lock-keywords): Do not
15651 dehighlight 'end' in comments or strings.
15652 (octave-completing-read, octave-goto-function-definition):
15654 (octave-help-buffer): New user variable.
15655 (octave-help-file, octave-help-function): New button types.
15656 (octave-help): New command and bind it to C-h ;.
15657 (octave-find-definition): New command and bind it to M-.
15658 (user-error): Alias to error if not defined.
15660 2013-05-02 Leo Liu <sdl.web@gmail.com>
15662 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15664 (octave-font-lock-keywords): Include [ and {.
15666 2013-05-02 Leo Liu <sdl.web@gmail.com>
15668 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15669 (inferior-octave): Remove calling comint-mode and return the buffer.
15670 (inferior-octave-startup): Cosmetic changes.
15672 2013-05-02 Leo Liu <sdl.web@gmail.com>
15674 * progmodes/octave.el (octave-syntax-propertize-function):
15675 Include the case when ' is at line beginning. (Bug#14336)
15677 2013-05-02 Glenn Morris <rgm@gnu.org>
15679 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15680 * desktop.el (vc-dir-mode): Just autoload it here.
15682 2013-05-02 Alan Mackenzie <acm@muc.de>
15684 Eliminate variable c-standard-font-lock-fontify-region-function.
15685 * progmodes/cc-mode.el
15686 (c-standard-font-lock-fontify-region-function): Remove.
15687 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15689 2013-05-01 Leo Liu <sdl.web@gmail.com>
15691 * progmodes/octave.el: Compatible with older emacs-24 releases.
15692 (inferior-octave-has-built-in-variables): Remove. Built-in
15693 variables were removed from Octave in 2007.
15694 (inferior-octave-startup): Fix uses.
15695 (comint-line-beginning-position): Remove compatibility code for
15698 2013-05-01 Juri Linkov <juri@jurta.org>
15700 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15702 2013-05-01 Juri Linkov <juri@jurta.org>
15704 * comint.el (comint-previous-matching-input): Don't print message
15705 "History item: %d" when `isearch-mode' is active.
15706 (comint-history-isearch-message): Print message "History item: %d"
15707 when `comint-input-ring-index' is not empty and this function is
15708 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15710 2013-05-01 Leo Liu <sdl.web@gmail.com>
15712 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15713 definitions. Use completion-at-point to insert keywords.
15714 (octave-abbrev-start): Remove.
15715 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15717 2013-04-30 Leo Liu <sdl.web@gmail.com>
15719 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15722 2013-04-30 Alan Mackenzie <acm@muc.de>
15724 Handle arbitrarily long C++ member initialisation lists.
15725 * progmodes/cc-engine.el (c-back-over-member-initializers):
15727 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15728 (most) member init lists.
15730 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15732 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15735 2013-04-30 Leo Liu <sdl.web@gmail.com>
15737 * progmodes/octave.el (octave-variables): Remove. No builtin
15738 variables any more. All converted to functions.
15739 (octave-font-lock-keywords, octave-completion-at-point-function):
15741 (octave-font-lock-texinfo-comment): New user variable.
15742 (octave-texinfo-font-lock-keywords): New variable for texinfo
15744 (octave-function-comment-block): New face.
15745 (octave-font-lock-texinfo-comment): New function.
15746 (octave-mode): Font lock texinfo comment block.
15748 2013-04-29 Leo Liu <sdl.web@gmail.com>
15750 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15751 indexing expression.
15752 (octave-continuation-string): Do not use \.
15753 (inferior-octave-complete-impossible): Remove.
15754 (inferior-octave-completion-table)
15755 (inferior-octave-completion-at-point): Remove its uses.
15756 (inferior-octave-startup): completion_matches was introduced to
15757 Octave in 1996 so safe to assume it.
15758 (octave-function-file-comment): Improve to follow how Octave does it.
15759 (octave-update-function-file-comment): Tweak.
15761 2013-04-29 Leo Liu <sdl.web@gmail.com>
15763 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15764 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15765 (octave-function-file-comment): Fix typo.
15766 (octave-sync-function-file-names): Use read-char-choice.
15768 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15770 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15771 to t for the less important warnings.
15773 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15775 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15777 2013-04-27 Glenn Morris <rgm@gnu.org>
15779 * vc/log-view.el (log-view-current-entry):
15780 Treat "---" separator lines as part of the following rev. (Bug#14169)
15782 2013-04-27 Juri Linkov <juri@jurta.org>
15784 * subr.el (read-number): Doc fix about using it by interactive
15785 code letter `n'. (Bug#14254)
15787 2013-04-27 Juri Linkov <juri@jurta.org>
15789 * desktop.el (desktop-auto-save-timeout): New option.
15790 (desktop-file-checksum): New variable.
15791 (desktop-save): Add optional arg `auto-save' and don't auto-save
15792 if nothing changed.
15793 (desktop-auto-save-timer): New variable.
15794 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15795 (after-init-hook): Call `desktop-auto-save-set-timer'.
15796 Suggested by Reuben Thomas <rrt@sc3d.org> in
15797 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15799 2013-04-27 Leo Liu <sdl.web@gmail.com>
15801 * progmodes/octave.el (octave-function-file-p)
15802 (octave-skip-comment-forward, octave-function-file-comment)
15803 (octave-update-function-file-comment): New functions.
15804 (octave-mode-map): Bind C-c ; to
15805 octave-update-function-file-comment.
15806 (octave-mode-menu): Add octave-update-function-file-comment.
15807 (octave-mode, inferior-octave-mode): Fix doc-string.
15808 (octave-insert-defun): Conform to Octave's coding convention.
15811 * files.el (basic-save-buffer): Don't let errors in
15812 before-save-hook prevent saving buffer.
15814 2013-04-20 Roland Winkler <winkler@gnu.org>
15816 * faces.el (read-face-name): Use completing-read if arg multiple
15819 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15821 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15822 displayed, move point to after the totals line.
15823 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15826 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15828 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15829 Add current dir to the load-path.
15830 (package-generate-autoloads): Don't rely on
15831 autoload-ensure-default-file.
15833 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15835 * textmodes/remember.el (remember-store-in-files): Document that
15836 the file name format is passed to `format-time-string'.
15838 2013-04-26 Leo Liu <sdl.web@gmail.com>
15840 * progmodes/octave.el (octave-sync-function-file-names): New function.
15841 (octave-mode): Use it in before-save-hook.
15843 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15845 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15848 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15849 \n and comment, even if it's not an implicit ; (bug#14218).
15851 2013-04-26 Glenn Morris <rgm@gnu.org>
15853 * subr.el (read-number): Once more use `read' rather than
15854 `string-to-number', to trap non-numeric input. (Bug#14254)
15856 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15858 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15859 Use `syntax-multiline' text property consistently instead of
15860 `font-lock-multiline'. (Bug#14237)
15862 2013-04-26 Glenn Morris <rgm@gnu.org>
15864 * emacs-lisp/shadow.el (list-load-path-shadows):
15865 No longer necessary to check for duplicate simple.el, since
15866 2012-07-07 change to init_lread to not include installation lisp
15867 directories in load-path when running uninstalled. (Bug#14270)
15869 2013-04-26 Leo Liu <sdl.web@gmail.com>
15871 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15872 (octave-mode, inferior-octave-mode): Use setq-local.
15873 (octave-not-in-string-or-comment-p): Rename to
15874 octave-in-string-or-comment-p.
15875 (octave-in-comment-p, octave-in-string-p)
15876 (octave-in-string-or-comment-p): Replace defsubst with defun.
15878 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15880 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15882 2013-04-25 Bastien Guerry <bzg@gnu.org>
15884 * textmodes/remember.el (remember-data-directory)
15885 (remember-directory-file-name-format): Fix custom types.
15887 2013-04-25 Leo Liu <sdl.web@gmail.com>
15889 * progmodes/octave.el (octave-completion-at-point-function):
15890 Make use of inferior octave process.
15891 (octave-initialize-completions): Remove.
15892 (inferior-octave-completion-table): New function.
15893 (inferior-octave-completion-at-point): Use it.
15894 (octave-completion-alist): Remove.
15896 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15898 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15899 (opascal-mode-syntax-table): New var.
15900 (opascal-literal-kind, opascal-is-literal-end)
15901 (opascal-literal-token-at): Rewrite.
15902 (opascal--literal-start-re, opascal-font-lock-keywords)
15903 (opascal--syntax-propertize): New constants.
15904 (opascal-font-lock-defaults): Adjust.
15905 (opascal-mode): Use them. Set comment-<foo> variables as well.
15906 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15907 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15908 (delphi-other-face, opascal-other-face): Remove face variables.
15909 (opascal-save-state): Remove macro.
15910 (opascal-fontifying-progress-step): Remove constant.
15911 (opascal--ignore-changes): Remove var.
15912 (opascal-set-token-property, opascal-parse-next-literal)
15913 (opascal-is-stable-literal, opascal-complete-literal)
15914 (opascal-is-literal-start, opascal-face-of)
15915 (opascal-parse-region, opascal-parse-region-until-stable)
15916 (opascal-fontify-region, opascal-after-change)
15917 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15918 (opascal-debug-parse-region, opascal-debug-parse-window)
15919 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15920 (opascal-debug-fontify-buffer): Remove.
15921 (opascal-debug-mode-map): Adjust accordingly.
15923 2013-04-25 Leo Liu <sdl.web@gmail.com>
15925 Merge octave-mod.el and octave-inf.el into octave.el with some
15927 * progmodes/octave.el: New file renamed from octave-mod.el.
15928 * progmodes/octave-inf.el: Merged into octave.el.
15929 * progmodes/octave-mod.el: Renamed to octave.el.
15931 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15933 * textmodes/reftex-vars.el
15934 (reftex-label-ignored-macros-and-environments): New defcustom.
15936 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15938 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15940 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15941 (smie-indent-keyword): Improve the check to ensure that the next
15942 comment is really on the same line.
15943 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15945 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15946 semi-colons if the line is not otherwise empty (bug#14218).
15948 2013-04-25 Glenn Morris <rgm@gnu.org>
15950 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15952 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15954 * progmodes/opascal.el (opascal-set-token-property): Rename from
15955 opascal-set-text-properties and only set `token' (bug#14134).
15956 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15957 (opascal-literal-text-properties): Remove.
15958 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15961 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15963 * textmodes/remember.el (remember-handler-functions): Add an
15964 option for a new handler `remember-store-in-files'.
15965 (remember-data-directory, remember-directory-file-name-format):
15967 (remember-store-in-files): New function to store remember notes
15968 as separate files within a directory.
15970 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15972 * progmodes/compile.el (compilation-next-error-function):
15973 Pass "formats" to compilation-find-file (bug#11777).
15975 2013-04-24 Glenn Morris <rgm@gnu.org>
15977 * vc/vc-bzr.el (vc-bzr-print-log):
15978 * vc/vc-hg.el (vc-hg-print-log):
15979 * vc/vc-svn.el (vc-svn-print-log):
15980 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15982 * vc/vc-bzr.el (vc-bzr-print-log):
15983 * vc/vc-cvs.el (vc-cvs-print-log):
15984 * vc/vc-git.el (vc-git-print-log):
15985 * vc/vc-hg.el (vc-hg-print-log):
15986 * vc/vc-mtn.el (vc-mtn-print-log):
15987 * vc/vc-rcs.el (vc-rcs-print-log):
15988 * vc/vc-sccs.el (vc-sccs-print-log):
15989 * vc/vc-svn.el (vc-svn-print-log):
15990 * vc/vc.el (vc-print-log-internal): Doc fixes.
15992 2013-04-23 Glenn Morris <rgm@gnu.org>
15994 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15995 Remove venerable code attempting to avoid substitute-command-keys.
15997 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15999 * textmodes/reftex-vars.el (reftex-label-regexps):
16000 Call `reftex-compile-variables' after changes to this variable.
16002 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16004 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16005 Use lexical-binding.
16006 (jit-lock-force-redisplay): Use markers, check buffer's continued
16007 existence and beware narrowed buffers.
16008 (jit-lock-fontify-now): Adjust call accordingly.
16010 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16012 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16013 to avoid misleading the user.
16015 2013-04-22 Leo Liu <sdl.web@gmail.com>
16017 * info-look.el: Prefer latex2e.info. (Bug#14240)
16019 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16021 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16023 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16024 * net/tramp.el (tramp-call-process): ... here.
16025 (tramp-set-completion-function, tramp-parse-putty):
16026 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16027 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16028 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16029 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16030 (tramp-call-local-coding-command): Use `tramp-call-process'
16031 instead of `tramp-compat-call-process'.
16033 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16034 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16035 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16036 (tramp-find-inline-compress): Improve traces.
16037 (tramp-maybe-send-script): Check for Perl binary.
16038 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16040 2013-04-22 Daiki Ueno <ueno@gnu.org>
16042 * epg.el (epg-context-pinentry-mode): New function.
16043 (epg-context-set-pinentry-mode): New function.
16044 (epg--start): Pass --pinentry-mode option to gpg command.
16046 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16048 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16049 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16050 `completion-at-point'. (Bug#13774)
16052 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16053 default key binding for `describe-distribution' has been moved to
16054 `C-h C-o'. (Bug#13970)
16056 2013-04-21 Glenn Morris <rgm@gnu.org>
16058 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16060 (vc-print-log): Clarify interactive prompt.
16062 2013-04-20 Glenn Morris <rgm@gnu.org>
16064 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16065 No longer include timestamp etc information.
16067 2013-04-20 Roland Winkler <winkler@gnu.org>
16069 * faces.el (read-face-name): Bug fix, return just one face if arg
16070 multiple is nil. (Bug#14209)
16072 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16074 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16075 (remove-function): Autoload.
16077 * comint.el (comint-redirect-original-filter-function): Remove.
16078 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16079 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16080 (vc-cvs-annotate-command):
16081 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16082 * progmodes/prolog.el (prolog-consult-compile):
16083 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16084 Use add/remove-function instead.
16085 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16086 (gud-tooltip-process-output, gud-tooltip-tips):
16087 Use add/remove-function instead.
16088 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16089 (scheme-interaction-mode, exit-scheme-interaction-mode):
16090 Use add/remove-function instead.
16092 * vc/vc-dispatcher.el: Use lexical-binding.
16093 (vc--process-sentinel): Rename from vc-process-sentinel.
16094 Change last arg to be the code to run. Don't use vc-previous-sentinel
16095 and vc-sentinel-commands any more.
16096 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16097 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16099 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16101 * progmodes/sh-script.el (sh-imenu-generic-expression):
16102 Handle function names with a single character. (Bug#14111)
16104 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16106 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16107 for subroutines defined in an eval (bug#14182).
16109 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16111 * bookmark.el (bookmark-completing-read): Improve handling of empty
16112 string (bug#14176).
16114 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16116 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16118 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16120 New faster Imenu implementation (bug#14058).
16121 * progmodes/python.el (python-imenu-prev-index-position)
16122 (python-imenu-format-item-label-function)
16123 (python-imenu-format-parent-item-label-function)
16124 (python-imenu-format-parent-item-jump-label-function):
16126 (python-imenu-format-item-label)
16127 (python-imenu-format-parent-item-label)
16128 (python-imenu-format-parent-item-jump-label)
16129 (python-imenu--put-parent, python-imenu--build-tree)
16130 (python-imenu-create-index, python-imenu-create-flat-index)
16131 (python-util-popn): New functions.
16132 (python-mode): Set imenu-create-index-function to
16133 python-imenu-create-index.
16135 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16137 * winner.el (winner-active-region): Use region-active-p, activate-mark
16138 and deactivate-mark (bug#14225).
16140 * simple.el (deactivate-mark): Don't inline it.
16142 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16144 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16146 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16148 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16149 file extensions from the archive-mode entry in order to prefer
16150 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16152 2013-04-18 Leo Liu <sdl.web@gmail.com>
16154 * bindings.el (help-event-list): Add ?\?.
16156 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16158 * subr.el (with-wrapper-hook): Declare obsolete.
16159 * simple.el (filter-buffer-substring-function): New hook.
16160 (filter-buffer-substring): Use it.
16161 (filter-buffer-substring-functions): Mark obsolete.
16162 * minibuffer.el (completion-in-region-function): New hook.
16163 (completion-in-region): Use it.
16164 (completion-in-region-functions): Mark obsolete.
16165 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16166 * abbrev.el (abbrev-expand-function): New hook.
16167 (expand-abbrev): Use it.
16168 (abbrev-expand-functions): Mark obsolete.
16169 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16170 and :filter-return.
16172 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16174 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16175 and do not care about match data.
16177 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16179 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16180 completion tables when completing error conditions and
16181 `declare' arguments.
16182 (lisp-complete-symbol, field-complete): Mark as obsolete.
16183 (check-parens): Unmatched parens are user errors.
16184 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16186 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16188 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16189 command changed buffer (ie. `flyspell-pre-buffer' is not current
16190 buffer), which prevents making decisions based on invalid value of
16191 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16192 cause an error when `flyspell-pre-point' was nil after switching
16194 (flyspell-post-command-hook): No longer needs to change buffers when
16195 checking pre-word. While at it remove unnecessary progn.
16197 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16199 * textmodes/ispell.el (ispell-add-per-file-word-list):
16200 Fix `flyspell-correct-word-before-point' error when accepting
16201 words and `coment-padding' is an integer by using
16202 `comment-normalize-vars' (Bug #14214).
16204 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16206 New defun movement commands.
16207 * progmodes/python.el (python-nav--syntactically)
16208 (python-nav--forward-defun, python-nav-backward-defun)
16209 (python-nav-forward-defun): New functions.
16211 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16213 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16214 (python-syntax-context): Use named compiler-macro for backwards
16215 compatibility with Emacs 24.x.
16217 2013-04-17 Leo Liu <sdl.web@gmail.com>
16219 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16220 octave-hide-process-buffer.
16222 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16224 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16227 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16229 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16230 Fix adjustment of offset when receiving incomplete responses from GDB
16233 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16235 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16236 python-mode-abbrev-table.
16237 (python-skeleton-define): Adjust accordingly.
16238 (python-mode-abbrev-table): New table that inherits from it so that
16239 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16241 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16242 (abbrev-symbol): Use it.
16243 (abbrev--before-point): Use it since we already handle inheritance.
16245 2013-04-16 Leo Liu <sdl.web@gmail.com>
16247 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16248 binding to info-lookup-symbol.
16250 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16252 * minibuffer.el (completion--twq-all):
16253 * term/ns-win.el (ns-initialize-window-system):
16254 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16256 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16258 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16261 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16263 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16265 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16266 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16268 (ruby-end-of-defun): Remove the unused arg, change the docstring
16269 to reflect that this function is only used as the value of
16270 `end-of-defun-function'.
16271 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16272 to reflect an earlier change that beginning/end-of-defun functions
16273 jump between methods in a class definition, as well as top-level
16276 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16278 * minibuffer.el (minibuffer-complete): Don't just scroll
16279 a *Completions* that's been iconified.
16280 (minibuffer-force-complete): Make sure repetitions do cycle when going
16281 through completion-in-region -> minibuffer-complete.
16283 2013-04-15 Alan Mackenzie <acm@muc.de>
16285 Correct the placement of c-cpp-delimiters when there're #s not at
16288 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16289 place a submatch around the #.
16290 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16291 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16294 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16296 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16297 (advice--member-p): New arg `name'.
16298 (advice--add-function, advice-member-p): Use it (bug#14202).
16300 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16302 Reformulate java imenu-generic-expression.
16303 The old expression contained ill formed regexps.
16305 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16306 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16307 (cc-imenu-java-method-arg-regexp): New defconsts.
16308 (cc-imenu-java-build-type-args-regex): New defun.
16309 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16310 handling of spaces in the regexp.
16312 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16314 * textmodes/ispell.el (ispell-command-loop): Remove
16315 flyspell highlight of a word when ispell accepts it (bug #14178).
16317 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16319 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16320 uses code from the previous `ange-ftp-run-real-handler'.
16321 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16322 only in case that function exist. This is needed for proper
16323 unloading of Tramp.
16325 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16327 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16329 * textmodes/reftex.el (reftex-compile-variables): Use it.
16331 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16333 * files.el (normal-mode): Only use default major-mode if no other mode
16336 * emacs-lisp/trace.el (trace-values): New function.
16338 * files.el: Allow : in local variables (bug#14089).
16339 (hack-local-variable-regexp): New var.
16340 (hack-local-variables-prop-line, hack-local-variables): Use it.
16342 2013-04-13 Roland Winkler <winkler@gnu.org>
16344 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16345 data before it gets modified by bibtex-beginning-of-entry.
16347 2013-04-13 Roland Winkler <winkler@gnu.org>
16349 * textmodes/bibtex.el (bibtex-url): Doc fix.
16351 2013-04-13 Roland Winkler <winkler@gnu.org>
16353 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16354 does not visit a BibTeX file, exclude it from the list of buffers
16355 returned by bibtex-initialize.
16357 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16359 * window.el (split-window): Remove interactive form, since as a
16360 command this function is a special case of split-window-below.
16361 Correct doc string.
16363 2013-04-12 Roland Winkler <winkler@gnu.org>
16365 * faces.el (read-face-name): Do not override value of arg default.
16366 Allow single faces and strings as default values. Remove those
16367 elements from return value that are not faces.
16368 (describe-face): Simplify.
16369 (face-at-point): New optional args thing and multiple so that this
16370 function can provide the same functionality previously provided by
16372 (make-face-bold, make-face-unbold, make-face-italic)
16373 (make-face-unitalic, make-face-bold-italic, invert-face)
16374 (modify-face, read-face-and-attribute): Use face-at-point.
16376 * cus-edit.el (customize-face, customize-face-other-window)
16377 * cus-theme.el (custom-theme-add-face)
16378 * face-remap.el (buffer-face-set)
16379 * facemenu.el (facemenu-set-face): Use face-at-point.
16381 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16383 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16385 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16387 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16388 off leading { and trailing } from field values.
16390 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * emacs-lisp/timer.el (timer--check): New function.
16393 (timer--time, timer-set-function, timer-event-handler): Use it.
16394 (timer-set-idle-time): Simplify.
16395 (timer--activate): CSE.
16396 (timer-event-handler): Give more info in error message.
16397 (internal-timer-start-idle): New function, moved from C.
16399 * mpc.el (mpc-proc): Add `restart' argument.
16400 (mpc-proc-cmd): Use it.
16401 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16402 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16405 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16407 * progmodes/sh-script.el: Implement `sh-mode' own
16408 `add-log-current-defun-function' (bug#14112).
16409 (sh-current-defun-name): New function.
16410 (sh-mode): Use the function.
16412 2013-04-09 Bastien Guerry <bzg@gnu.org>
16414 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16416 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16418 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16420 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16423 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16425 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16428 2013-04-07 Leo Liu <sdl.web@gmail.com>
16430 * pcmpl-x.el: New file.
16432 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16434 Do not set x-display-name until X connection is established.
16435 This is needed to prevent from weird situation described at
16436 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16437 * frame.el (make-frame): Set x-display-name after call to
16438 window system initialization function, not before.
16439 * term/x-win.el (x-initialize-window-system): Add optional
16440 display argument and use it.
16441 * term/w32-win.el (w32-initialize-window-system):
16442 * term/ns-win.el (ns-initialize-window-system):
16443 * term/pc-win.el (msdos-initialize-window-system):
16444 Add compatible optional display argument.
16446 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16448 * files.el (normal-backup-enable-predicate): On MS-Windows and
16449 MS-DOS compare truenames of temporary-file-directory and of the
16450 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16451 don't fail comparison by compare-strings. Also, compare file
16452 names case-insensitively on MS-Windows and MS-DOS.
16454 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16456 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16457 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16459 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16461 * whitespace.el (whitespace-color-on, whitespace-color-off):
16462 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16464 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16466 * ispell.el (ispell-set-spellchecker-params):
16467 Really set `ispell-args' for all equivs.
16469 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16471 * ido.el (ido-completions): Use extra elements of ido-decorations
16473 (ido-decorations): Update docstring.
16475 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16477 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16478 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16479 nil during initialization, in order not to miss changes since the
16480 file was opened. (Bug#14140)
16482 2013-04-05 Leo Liu <sdl.web@gmail.com>
16484 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16486 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16488 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16490 2013-04-04 Glenn Morris <rgm@gnu.org>
16492 * electric.el (electric-pair-inhibit-predicate): Add :version.
16494 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16496 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16497 when a package is required several times (bug#14082).
16499 2013-04-04 Roland Winkler <winkler@gnu.org>
16501 * faces.el (read-face-name): Behave as promised by the docstring.
16502 Assume that arg default is a list of faces.
16503 (describe-face): Call read-face-name with list of default faces.
16505 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16507 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16508 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16509 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16511 (bookmark-exit-hook-internal): Save even if list is empty.
16513 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16515 * emacs-lisp/package.el (package-pinned-packages): New var.
16516 (package--add-to-archive-contents): Obey it (bug#14118).
16518 2013-04-03 Alan Mackenzie <acm@muc.de>
16520 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16521 Also adapt to the new values of element 7 of a parse state.
16523 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16524 parameter `not-in-delimiter'. Handle being inside comment opener.
16525 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16526 character in case we're typing a '*' after a '/'.
16527 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16528 instead by passing the parameter to c-state-pp-to-literal.
16530 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16531 for elt. 7 of a parse state.
16533 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16535 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16536 * international/latin1-disp.el, international/mule-util.el:
16537 * language/cyril-util.el, language/european.el, language/ind-util.el:
16538 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16539 * language/tibetan.el, language/viet-util.el:
16540 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16542 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16544 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16545 (electric-pair-post-self-insert-function): Use it.
16546 (electric-pair-default-inhibit): New function, extracted from
16547 electric-pair-post-self-insert-function.
16549 2013-03-31 Roland Winkler <winkler@gnu.org>
16551 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16553 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16555 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16557 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16559 Un-indent after "pass" and "return" statements (Bug#13888)
16560 * progmodes/python.el (python-indent-block-enders): New var.
16561 (python-indent-calculate-indentation): Use it.
16563 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16565 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16566 defun. Defining it as defalias could introduce too eager
16567 byte-compiler optimization. (Bug#14030)
16569 2013-03-30 Chong Yidong <cyd@gnu.org>
16571 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16573 2013-03-30 Leo Liu <sdl.web@gmail.com>
16575 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16576 (kmacro-execute-from-register): Pass the keyboard macro to
16577 kmacro-call-macro or repeating won't work correctly.
16579 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16581 * progmodes/subword.el: Back to using `forward-symbol'.
16583 * subr.el (forward-whitespace, forward-symbol)
16584 (forward-same-syntax): Move from thingatpt.el.
16586 2013-03-29 Leo Liu <sdl.web@gmail.com>
16588 * kmacro.el (kmacro-to-register): New command.
16589 (kmacro-execute-from-register): New function.
16590 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16592 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16594 * mpc.el: Use defvar-local and setq-local.
16595 (mpc--proc-connect): Connection failures are not bugs.
16596 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16597 (mpc-volume-map): Bind to the up-events.
16599 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16601 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16602 instead of `forward-symbol'.
16604 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16606 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16607 (edebug--recursive-edit): Use it.
16608 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16609 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16611 2013-03-28 Leo Liu <sdl.web@gmail.com>
16613 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16615 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16617 * facemenu.el (list-colors-callback): New defvar.
16618 (list-colors-redisplay): New function.
16619 (list-colors-display): Install list-colors-redisplay as the
16620 revert-buffer-function. (Bug#14063)
16622 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16624 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16625 and suffixes don't overlap (bug#14061).
16627 * case-table.el: Use lexical-binding.
16628 (case-table-get-table): New function.
16629 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16631 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16633 * progmodes/subword.el: Add `superword-mode' to do word motion
16634 over symbol_words (parallels and leverages `subword-mode' which
16635 does word motion inside MixedCaseWords).
16637 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16639 * eshell/em-unix.el: Move su and sudo to...
16640 * eshell/em-tramp.el: ...Eshell tramp module.
16642 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16644 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16645 Change return value to be a sexp. Delay `get-buffer' to after
16646 restoring the desktop (bug#13951).
16648 2013-03-26 Leo Liu <sdl.web@gmail.com>
16650 * register.el: Move semantic tag handling back to
16651 cedet/semantic/senator.el. (Bug#14052)
16653 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16655 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16656 into the prompt either (bug#13963).
16658 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16660 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16661 part of "(error-foo)".
16663 2013-03-24 Juri Linkov <juri@jurta.org>
16665 * replace.el (list-matching-lines-prefix-face): New defcustom.
16666 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16667 `occur-engine' if `face-differs-from-default-p' returns t.
16668 (occur-engine): Add `,' inside backquote construct to evaluate
16669 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16670 Pass `prefix-face' to the functions `occur-context-lines' and
16671 `occur-engine-add-prefix'.
16672 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16673 `prefix-face' and propertize the prefix with `prefix-face'.
16676 2013-03-24 Leo Liu <sdl.web@gmail.com>
16678 * nxml/rng-valid.el (rng-validate-while-idle)
16679 (rng-validate-quick-while-idle): Guard against deleted buffer.
16682 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16683 is the last entry in kill-buffer-hook.
16685 * files.el (kill-buffer-hook): Doc fix.
16687 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16689 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16690 Make it safe-local.
16692 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16694 2013-03-23 Leo Liu <sdl.web@gmail.com>
16696 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16699 * nxml/rng-valid.el (rng-validate-mode)
16700 (rng-after-change-function, rng-do-some-validation):
16701 * nxml/rng-maint.el (rng-validate-buffer):
16702 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16703 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16704 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16705 (nxml-extend-after-change-region): Use with-silent-modifications.
16707 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16710 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16711 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16712 timer-idle-list. (Bug#13999)
16714 2013-03-23 Juri Linkov <juri@jurta.org>
16716 * info.el (info-index-match): New face.
16717 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16718 main pattern and add text properties with the new face to matches
16719 in index entries relative to the beginning of the index entry.
16722 2013-03-21 Eric Ludlam <zappo@gnu.org>
16724 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16725 Inhibit read only while inserting objects.
16727 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16729 * progmodes/cfengine.el: Update docs to mention
16730 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16731 symbol motion. Remove "_" from the word syntax.
16733 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16735 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16736 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16738 2013-03-20 Juri Linkov <juri@jurta.org>
16740 * info.el (Info-next-reference-or-link)
16741 (Info-prev-reference-or-link): New functions.
16742 (Info-next-reference, Info-prev-reference): Use them.
16743 (Info-try-follow-nearest-node): Handle footnote navigation.
16744 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16746 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16748 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16749 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16751 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16753 Suppress unnecessary non-ASCII chatter during build process.
16754 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16755 (batch-skkdic-convert): Suppress most of the chatter.
16756 It's not needed so much now that machines are faster,
16757 and its non-ASCII component was confusing; see Dmitry Gutov in
16758 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16760 2013-03-20 Leo Liu <sdl.web@gmail.com>
16762 * ido.el (ido-chop): Fix bug#10994.
16764 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16766 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16768 (whitespace-color-on, whitespace-color-off):
16769 Use `font-lock-fontify-buffer' (Bug#13817).
16771 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16773 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16774 remapping in mode-line.
16775 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16777 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16779 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16780 value for `whitespace-line' face (Bug#13875).
16781 (whitespace-font-lock-keywords): Change description.
16782 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16783 the constructed keywords instead.
16784 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16786 2013-03-19 Leo Liu <sdl.web@gmail.com>
16788 * progmodes/compile.el (compilation-display-error): New command.
16789 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16792 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16794 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16796 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16798 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16800 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16802 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16804 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16805 * net/tramp-gvfs.el (top):
16806 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16807 (tramp-handle-shell-command): Use it.
16808 (tramp-dissect-file-name): Raise an error when hostname is a
16809 method name, and neither method nor user is specified.
16811 * net/trampver.el: Update release number.
16813 2013-03-18 Leo Liu <sdl.web@gmail.com>
16815 Make sure eldoc can be turned off properly.
16816 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16818 (eldoc-display-message-p): Revert last change.
16819 (eldoc-display-message-no-interference-p)
16820 (eldoc-print-current-symbol-info): Tweak.
16822 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16824 * doc-view.el (doc-view-new-window-function): Check the new window
16825 overlay's display property instead the char property of the
16826 buffer's first char. Use `with-selected-window' instead of
16827 `save-window-excursion' with `select-window'.
16828 (doc-view-document->bitmap): Check the current doc-view overlay's
16829 display property instead the char property of the buffer's first char.
16831 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16833 Automate the build of ja-dic.el (Bug#13984).
16834 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16835 from the input, rather than assume that it's been done for us by the
16836 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16837 the current date into a ja-dic.el comment, as that complicates
16838 regression testing.
16840 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16842 * whitespace.el: Fix double evaluation.
16843 (whitespace-space, whitespace-hspace, whitespace-tab)
16844 (whitespace-newline, whitespace-trailing, whitespace-line)
16845 (whitespace-space-before-tab, whitespace-indentation)
16846 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16848 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16849 (whitespace-color-on): Use a single font-lock-add-keywords call.
16850 Fix double-evaluation of face variables.
16852 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16854 * net/tramp-adb.el (tramp-adb-parse-device-names):
16855 Use `start-process' instead of `call-process'. Otherwise, the
16856 function might be blocked under MS Windows. (Bug#13299)
16858 2013-03-17 Leo Liu <sdl.web@gmail.com>
16860 Extend eldoc to display info in the mode-line. (Bug#13978)
16861 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16862 (eldoc-mode-line-string): New variable.
16863 (eldoc-minibuffer-message): New function.
16864 (eldoc-message-function): New variable.
16865 (eldoc-message): Use it.
16866 (eldoc-display-message-p)
16867 (eldoc-display-message-no-interference-p):
16868 Support eldoc-post-insert-mode.
16870 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16871 (eval-expression): Run it.
16873 2013-03-17 Roland Winkler <winkler@gnu.org>
16875 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16876 strings in the list of return values.
16878 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16880 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16881 radix before checking for HMS forms.
16883 2013-03-16 Leo Liu <sdl.web@gmail.com>
16885 * progmodes/scheme.el: Add indentation and font-locking for λ.
16888 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16890 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16891 token before point (bug#13942).
16893 2013-03-16 Leo Liu <sdl.web@gmail.com>
16895 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16897 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16899 * startup.el (command-line-normalize-file-name): Fix handling of
16900 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16901 <xfq.free@gmail.com> in
16902 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16904 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16906 Sync with Tramp 2.2.7.
16908 * net/trampver.el: Update release number.
16910 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16912 * doc-view.el: Fix bug#13887.
16913 (doc-view-insert-image): Don't modify overlay associated to
16914 non-live windows, and implement horizontal centering of image in
16915 case it's smaller than the window.
16916 (doc-view-new-window-function): Force redisplay of new windows on
16919 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16921 * saveplace.el (save-place-alist-to-file): Don't sort
16922 `save-place-alist', just pretty-print it (bug#13882).
16924 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16926 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16927 Check whether `default-file-name-coding-system' is bound.
16928 It isn't in XEmacs.
16930 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16932 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16933 backquotes for `obsolete' (bug#13929).
16935 * international/mule.el (find-auto-coding): Include file name in
16936 obsolescence warning (bug#13922).
16938 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16940 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16941 for CFEngine 3-specific indentation.
16942 (cfengine3-indent-line): Use it. Fix up category regex.
16943 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16945 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16947 * type-break.el (type-break-file-name):
16948 * textmodes/remember.el (remember-data-file):
16949 * strokes.el (strokes-file):
16950 * shadowfile.el (shadow-initialize):
16951 * saveplace.el (save-place-file):
16952 * ps-bdf.el (bdf-cache-file):
16953 * progmodes/idlwave.el (idlwave-config-directory):
16954 * net/quickurl.el (quickurl-url-file):
16955 * international/kkc.el (kkc-init-file-name):
16956 * ido.el (ido-save-directory-list-file):
16957 * emulation/viper.el (viper-custom-file-name):
16958 * emulation/vip.el (vip-startup-file):
16959 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16960 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16962 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16964 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16965 * language/thai-word.el: Switch to UTF-8.
16967 See ChangeLog.16 for earlier changes.
16969 ;; Local Variables:
16973 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16975 This file is part of GNU Emacs.
16977 GNU Emacs is free software: you can redistribute it and/or modify
16978 it under the terms of the GNU General Public License as published by
16979 the Free Software Foundation, either version 3 of the License, or
16980 (at your option) any later version.
16982 GNU Emacs is distributed in the hope that it will be useful,
16983 but WITHOUT ANY WARRANTY; without even the implied warranty of
16984 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16985 GNU General Public License for more details.
16987 You should have received a copy of the GNU General Public License
16988 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.