1 2014-06-26 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/authors.el: Move to ../admin.
5 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
7 2014-06-25 Glenn Morris <rgm@gnu.org>
9 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
10 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
11 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
12 files. They are not relevant to the original issue (bug#1004),
13 and cause unnecessary recompilation (bug#2151).
15 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17 * play/landmark.el: Use lexical-binding and avoid `intangible'.
18 (landmark--last-pos): New var.
19 (landmark--intangible-chars): New const.
20 (landmark--intangible): New function.
21 (landmark-mode, landmark-move): Use it.
22 (landmark-mode): Remove properties.
23 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
24 (landmark-cross-qtuple):
25 Don't worry about `intangible' any more.
26 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
27 (landmark-init-display): Don't set `intangible' and `point-entered'.
28 (square): Remove. Inline it instead.
29 (landmark--distance): Rename from `distance'.
30 (landmark-calc-distance-of-robot-from): Rename from
31 calc-distance-of-robot-from.
32 (landmark-calc-smell-internal): Rename from calc-smell-internal.
34 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
36 * files.el (dir-locals-find-file, file-relative-name):
37 * info.el (Info-complete-menu-item):
38 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
39 to compare-strings to avoid out-of-range errors.
40 * subr.el (string-prefix-p): Adjust to match strict range
41 checking in compare-strings.
43 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
45 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
46 for comment lines non-greedy and stopping at newlines to fix stack
47 overflows with large files.
49 2014-06-24 Eli Barzilay <eli@barzilay.org>
51 * calculator.el (calculator-last-input): Drop 'ascii-character property
54 2014-06-24 Leo Liu <sdl.web@gmail.com>
56 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
57 tab-stop-list to nil. (Bug#16381)
59 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
60 (indent-rigidly-left-to-tab-stop)
61 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
62 (move-to-tab-stop): Change callers.
64 2014-06-24 Eli Zaretskii <eliz@gnu.org>
66 * skeleton.el (skeleton-insert): Yet another fix of the doc string
67 wrt behavior of \n as the first/last element of a skeleton.
69 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
71 * net/tramp-adb.el (tramp-adb-handle-process-file):
72 * net/tramp-sh.el (tramp-sh-handle-process-file):
73 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
74 the output buffer when DISPLAY is non-nil. (Bug#17815)
76 2014-06-24 Glenn Morris <rgm@gnu.org>
78 * play/landmark.el (landmark-move-down, landmark-move-up):
79 Fix 2007-10-20 change - preserve horizontal position.
81 2014-06-23 Sam Steingold <sds@gnu.org>
83 * simple.el (kill-append): Remove undo boundary depending on ...
84 (kill-append-merge-undo): New user option.
86 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
88 * simple.el (handle-shift-selection, exchange-point-and-mark)
89 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
90 (transient-mark-mode): Use&set the global value.
91 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
92 * emulation/edt.el (edt-emulation-off): Save&restore the global
93 transient-mark-mode setting.
94 * obsolete/pc-select.el (pc-selection-mode): Use the
95 transient-mark-mode function.
97 2014-06-23 Eli Zaretskii <eliz@gnu.org>
99 * international/fontset.el (script-representative-chars):
100 Add representative characters for scripts added in Unicode 7.0.
101 (otf-script-alist): Synchronize with the latest registry of OTF
104 * international/characters.el (char-script-table): Update for
105 scripts added and codepoint ranges changed in Unicode 7.0.
107 2014-06-23 Eli Barzilay <eli@barzilay.org>
109 * calculator.el (calculator-standard-displayer): Fix bug in use of
110 `calculator-groupize-number'.
111 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
112 `eval' code, so it works in v24.3.1 too.
113 (calculator-last-input): Comment to clarify purpose.
115 2014-06-22 Mario Lang <mlang@delysid.org>
117 * textmodes/rst.el (rst-comment-region): From from -> from.
119 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
121 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
123 * electric.el (electric-layout-post-self-insert-function):
124 * emacs-lisp/ert.el (ert--insert-infos):
125 * obsolete/vi.el (vi-set-mark):
126 * term.el (term-handle-scroll):
127 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
128 * wid-edit.el (widget-editable-list-value-create):
129 Prefer point-marker to copy-marker of point.
131 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
133 Fix completion retrieval parsing (bug#17209).
134 * progmodes/python.el (python-mode):
135 (python-util-strip-string): New function.
136 (python-shell-completion-get-completions): Use it.
138 2014-06-21 Eli Zaretskii <eliz@gnu.org>
140 * skeleton.el (skeleton-insert): Fix last change.
142 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
144 Enhancements for outline integration (bug#17796).
145 * progmodes/python.el (python-mode): Properly set
146 outline-heading-end-regexp so that comments after colons for
147 defuns are supported.
149 2014-06-21 Eli Zaretskii <eliz@gnu.org>
151 * skeleton.el (skeleton-insert): Doc fix.
153 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
155 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
156 (smie-config-guess): Use smie-config-local so the rules are obeyed
159 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
160 since it's already done inside the loop (bug#17819).
162 2014-06-21 Martin Rudalics <rudalics@gmx.at>
164 * mouse.el (mouse-drag-line): Re-remove code initially removed
165 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
168 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
170 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
171 align with the surrounding parent (bug#17721).
173 2014-06-21 Eli Zaretskii <eliz@gnu.org>
175 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
177 (texinfo-insert-block, texinfo-insert-@end)
178 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
179 local setting of skeleton-end-newline by adding an explicit \n to
180 the skeletons where appropriate. (Bug#17801)
182 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
184 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
185 (smie-indent--hanging-p): Use it.
186 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
188 2014-06-21 Leo Liu <sdl.web@gmail.com>
190 * simple.el (read-quoted-char): Don't let help chars pop up help
193 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
195 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
198 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
199 Drop unknown events instead of burping.
201 2014-06-21 Eli Zaretskii <eliz@gnu.org>
203 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
204 and later. (Bug#17790)
206 2014-06-21 Juri Linkov <juri@jurta.org>
208 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
209 to `soft'. (Bug#17554)
211 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
213 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
216 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
218 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
219 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
221 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
223 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
224 `unread-command-events'.
226 2014-06-19 William Xu <william.xwl@gmail.com>
228 * progmodes/hideif.el (hif-string-to-number): Don't return float for
229 hex integer constants (bug#17807).
231 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
233 * international/mule-util.el (truncate-string-ellipsis): New var.
234 (truncate-string-to-width): Use it.
236 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
238 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
239 (lisp-string-in-doc-position-p): New function, extracted from
240 lisp-font-lock-syntactic-face-function.
241 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
243 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
245 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
247 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
249 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
250 (bubbles--game-over): Don't add `intangible' properties since they
253 2014-06-18 Juri Linkov <juri@jurta.org>
255 * vc/ediff-init.el (ediff-current-diff-Ancestor)
256 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
257 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
258 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
259 Add `min-colors 88' version with removed black/white foregrounds.
262 2014-06-18 Juri Linkov <juri@jurta.org>
264 * vc/diff-mode.el (diff-changed): Empty face definition to use
265 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
266 (diff-context): Use darker color on light background and
267 lighter color on dark background.
269 2014-06-18 Juri Linkov <juri@jurta.org>
271 * vc/diff-mode.el (diff-refine-changed): Rename from
272 `diff-refine-change' for consistency with `diff-changed'.
273 (diff-refine-change): Add obsolete face alias. (Bug#10181)
275 * vc/smerge-mode.el (smerge-refined-changed): Rename from
276 `smerge-refined-change'.
277 (smerge-refined-change): Add obsolete face alias.
279 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
281 * rect.el (rectangle-preview): New custom.
282 (rectangle): New group.
283 (rectangle--pos-cols): Add `window' argument.
284 (rectangle--string-preview-state, rectangle--string-preview-window):
286 (rectangle--string-flush-preview, rectangle--string-erase-preview)
287 (rectangle--space-to, rectangle--string-preview): New functions.
288 (string-rectangle): Use them.
289 (rectangle--inhibit-region-highlight): New var.
290 (rectangle--highlight-for-redisplay): Obey it. Make sure
291 `apply-on-region' uses the point-crutches of the right window.
292 Use :align-to rather than multiple spaces.
294 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
296 * ruler-mode.el (ruler-mode-window-col)
297 (ruler-mode-mouse-set-left-margin)
298 (ruler-mode-mouse-set-right-margin): Fix calculation of column
299 from mouse position (Bug#17768).
301 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
303 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
304 without varname or rhs causes crash.
305 (dun-ftp): Fix bug where blank ftp password is allowed, making it
306 impossible to win endgame.
307 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
309 (dun-help): Bump version number; update contact info.
311 2014-06-15 Eli Barzilay <eli@barzilay.org>
313 * calculator.el (calculator-prompt, calculator-remove-zeros)
314 (calculator-mode-hook, calculator-operators, calculator-stack)
315 (calculator-mode): Tweak docstring.
316 (calculator-user-operators): Tweak docstring, fix a bug in the last
318 (calculator-displayer): `std' case has an optional boolean.
319 (calculator-displayers): Use the new boolean to group in decimal mode.
320 (calculator-mode-map, calculator, calculator-message)
321 (calculator-op-arity, calculator-add-operators)
322 (calculator-string-to-number, calculator-displayer-prev)
323 (calculator-displayer-next, calculator-remove-zeros)
324 (calculator-eng-display, calculator-number-to-string)
325 (calculator-update-display, calculator-last-input)
326 (calculator-clear-fragile, calculator-digit, calculator-decimal)
327 (calculator-exp, calculator-saved-move, calculator-clear)
328 (calculator-copy, calculator-put-value, calculator-help)
329 (calculator-expt, calculator-truncate): Minor code improvements.
330 (calculator-need-3-lines): New function pulling out code from
332 (calculator-get-display): Rename from `calculator-get-prompt', and
334 (calculator-push-curnum): Rename from `calculator-curnum-value', and
335 extended for all uses of it. All callers changed.
336 (calculator-groupize-number): New utility for splitting a number into
338 (calculator-standard-displayer): Improve code, new optional argument to
339 use comma-split groups, make second argument optional too to use with
340 'left/'right inputs. All callers changed.
341 (calculator-reduce-stack-once): New utility, doing the meat of what
342 `calculator-reduce-stack' used to do, much improved (mostly using
343 `pcase' for conciseness and clarity).
344 (calculator-reduce-stack): Now doing just the reduction loop using
345 `calculator-reduce-stack-once'.
346 (calculator-funcall): Improve code, make it work in v24.3.1 too.
347 (calculator-last-input): Improve code, remove some old cruft.
348 (calculator-quit): Kill `calculator-buffer' in electric mode too.
349 (calculator-integer-p): Remove.
350 (calculator-fact): Improve code, make it work on non-integer values
351 too (using truncated numbers).
353 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
355 Sync with Tramp 2.2.10.
357 * net/tramp.el (tramp-methods): Tweak docstring.
358 (tramp-handle-file-accessible-directory-p): Check for
359 `file-readable-p' instead of `file-executable-p'.
360 (tramp-check-cached-permissions):
361 Use `tramp-compat-file-attributes'.
362 (tramp-call-process): Add new argument VEC. Adapt callees in all
365 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
366 (tramp-adb-maybe-open-connection): Don't set
367 `tramp-current-*' variables.
369 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
370 file properties of temporary buffers.
372 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
374 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
375 (tramp-gvfs-handle-delete-file): Flush file
376 properties, not directory properties.
377 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
378 reading "unix::mode".
379 (tramp-gvfs-handle-file-name-all-completions):
380 Use "-h" option for "gvfs-ls".
381 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
382 (tramp-gvfs-send-command): Simplify traces.
384 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
385 (vc-git-program, vc-hg-program): Declare.
386 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
387 (tramp-methods) <nc>: Add new method.
388 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
389 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
391 (tramp-default-user-alist): Add "nc".
392 (top): Remove completion function for "sftp". Add completion
393 functions for "nc" and "psftp".
394 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
395 Implement support for "nc" method.
396 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
397 (tramp-remote-coding-commands, tramp-call-local-coding-command):
399 (tramp-sh-handle-write-region): Tweak error message.
400 (tramp-sh-handle-vc-registered): Remove backends when the remote
401 binary does not exist.
402 (tramp-find-inline-encoding): Do not raise an error.
403 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
404 the "nc" case. Quote result also locally.
406 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
407 (tramp-smb-handle-set-file-acl): Use `start-process'.
408 (tramp-smb-handle-insert-directory): Use progress reporter.
409 (tramp-smb-handle-rename-file): Flush also file properties of
412 * net/trampver.el: Update release number.
414 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
416 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
418 (ses-localvars): Remove ses--local-printer-list, unused.
419 (ses--metaprogramming): New macro. Use it to defvar variables.
420 (ses-set-localvars): Simplify.
421 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
422 property-list into an alist.
423 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
424 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
425 Remove; use defstruct accessors/setters instead.
426 (ses-cell-formula-aset, ses-cell-printer-aset)
427 (ses-cell-references-aset): Remove, use setf instead.
428 (ses--alist-get): New function.
429 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
430 Use an alist instead of a plist and don't do move-to-front since the
431 list is always short.
432 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
433 (ses-cell-property-set-fun, ses-cell-property-set)
434 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
435 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
436 (ses--letref): New macro.
437 (ses-cell-property-pop): Rewrite.
438 (ses--cell): Rename from ses-cell and make it into a function.
439 Make `formula' fallback on `value' if nil.
440 (ses--local-printer): Rename from ses-local-printer and make it into
442 (ses-set-cell): Turn it into a macro so finding the accessor from the
443 field name is done at compile time.
444 (ses-repair-cell-reference-all): Test presence of `sym' rather than
445 `ref' before adding `sym' to :ses-repair-reference.
446 (ses-calculate-cell): Use ses--letref rather than
447 ses-cell-property-get-handle.
448 (ses-write-cells): Use a single prin1-to-string.
449 (ses-setter-with-undo): New function.
450 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
451 (ses-unset-with-undo): Remove.
452 (ses-load): Prefer apply' over `eval'.
453 (ses-read-printer, ses-set-column-width): Use standard "(default
456 2014-06-15 Glenn Morris <rgm@gnu.org>
458 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
460 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
461 Replace delete-duplicates and mapcan by cl- versions throughout.
462 And cl-macroexpand-all by macroexpand-all.
463 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
465 2014-06-15 Eli Zaretskii <eliz@gnu.org>
467 * subr.el (posn-col-row): Doc fix. (Bug#17768)
469 2014-06-15 Juri Linkov <juri@jurta.org>
471 * bindings.el: Put `ascii-character' property on keypad keys
472 mapped to characters. (Bug#17759)
474 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
476 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
477 bumping forward into a closing paren (bug#17761).
479 * term/xterm.el (xterm--version-handler): Work around for OSX
480 Terminal.app (bug#17607).
482 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
484 * play/dunnet.el (dun-describe-room, dun-mode):
485 If a lamp is in the room, you won't be eaten by a grue.
487 2014-06-13 Glenn Morris <rgm@gnu.org>
489 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
490 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
491 (compile-always): GNU make automatically passes
492 command-line arguments to sub-makes.
494 * calendar/calendar.el (calendar-generate-window):
495 Remove pointless call to font-lock-fontify-buffer.
497 2014-06-13 Matthias Meulien <orontee@gmail.com>
499 * simple.el (completion-list-mode-map): Navigate with tab and backtab
502 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
504 * simple.el (set-mark-command): Simplify a bit.
506 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
508 * help.el (help--key-binding-keymap): New function.
509 (help--binding-locus): New function.
510 (describe-key): Mention the keymap in which the binding was
513 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
515 * hippie-exp.el (he--all-buffers): New function.
516 (try-expand-line-all-buffers, try-expand-list-all-buffers)
517 (try-expand-dabbrev-all-buffers): Use it.
519 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
521 * hippie-exp.el (try-expand-line-all-buffers)
522 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
523 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
524 original buffer, in case they're buffer-local.
526 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
528 * ses.el (ses-initial-global-parameters-re): New defconst, a
529 specific regexp is needed now that ses.el can handle both
530 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
532 (ses-localvars): Add local variables needed for local printer handling.
533 (ses-set-localvars): Handle hashmap initialisation.
534 (ses-paramlines-plist): Add param-line for number of local printers.
535 (ses-paramfmt-plist): New defconst, needed for code factorization
536 between functions `ses-set-parameter' and
537 `ses-file-format-extend-paramter-list'
538 (ses-make-local-printer-info): New defsubst.
539 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
540 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
541 (ses-cell-printer-aset): New defmacro.
542 (ses-local-printer-compile): New defun.
543 (ses-local-printer): New defmacro.
544 (ses-printer-validate, ses-call-printer): Add support for local
546 (ses-file-format-extend-paramter-list): New defun.
547 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
549 (ses-load): Add support for local printer functions.
550 (ses-read-printer): Update docstring and add support for local printer
552 (ses-refresh-local-printer, ses-define-local-printer): New defun.
553 (ses-safe-printer): Add support for local printer functions.
555 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
557 * ffap.el (ffap-lax-url): New var (bug#17723).
558 (ffap-url-at-point): Use it.
559 (ffap-file-at-point): Avoid returning just "/".
561 2014-06-12 Matthias Meulien <orontee@gmail.com>
563 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
564 (python-mode-map): Bind it.
566 * progmodes/python.el (class skeleton): Don't erase last char of class
569 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
571 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
573 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
575 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
578 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
580 * international/mule-cmds.el: Use lexical-binding.
581 (ucs-names): Simplify.
583 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
585 * progmodes/python.el (run-python): Use read-shell-command.
587 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
589 * rect.el: Make it possible to move bounds past EOL or into TABs.
590 (operate-on-rectangle): Use apply-on-rectangle.
591 (rectangle--mark-crutches): New var.
592 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
593 (rectangle--crutches, rectangle--reset-crutches): New functions.
594 (apply-on-rectangle): Obey crutches. Avoid setq.
595 Fix missing final iteration if end is at EOB&BOL.
596 (rectangle-mark-mode-map): Add remap bindings for
597 exchange-point-and-mark and char/line movements.
598 (rectangle--*-char): New function.
599 (rectangle-exchange-point-and-mark, rectangle-right-char)
600 (rectangle-left-char, rectangle-forward-char)
601 (rectangle-backward-char, rectangle-next-line)
602 (rectangle-previous-line): New commands.
603 (rectangle--place-cursor): New function.
604 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
606 2014-06-08 Glenn Morris <rgm@gnu.org>
608 * startup.el (initial-buffer-choice): Doc fix.
609 Reset :version (adding an option does not merit a :version bump).
611 * bookmark.el (bookmark-load):
612 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
614 2014-06-08 Juri Linkov <juri@jurta.org>
616 * desktop.el: Activate auto-saving on window configuration changes.
617 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
618 `desktop-auto-save-set-timer' to/from
619 `window-configuration-change-hook'.
620 (desktop-auto-save-set-timer): Change REPEAT arg of
621 `run-with-idle-timer' from t to nil.
622 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
624 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
626 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
627 vc-hg-command (bug#17570).
629 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
631 * international/mule-cmds.el (ucs-names): Add special entry for BEL
634 2014-06-08 Glenn Morris <rgm@gnu.org>
636 * startup.el (window-setup-hook): Doc fix.
638 * emacs-lisp/package.el (package-check-signature)
639 (package-unsigned-archives): Doc fixes.
641 2014-06-08 Martin Rudalics <rudalics@gmx.at>
643 * window.el (display-buffer-use-some-window): Don't make window
644 used smaller than it was before (Bug#17671).
646 2014-06-08 Eli Zaretskii <eliz@gnu.org>
648 * menu-bar.el (menu-bar-open): Fix last change: use the PC
649 'redisplay' instead of '(sit-for 0)'.
651 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
653 * net/tramp.el (tramp-ssh-controlmaster-options):
654 Improve search regexp. (Bug#17653)
656 2014-06-08 Glenn Morris <rgm@gnu.org>
658 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
660 2014-06-08 Eli Zaretskii <eliz@gnu.org>
662 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
664 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
666 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
669 * vc/vc-hg.el (vc-hg-log-graph): New var.
670 (vc-hg-print-log): Use it.
671 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
672 graph output (bug#17515).
674 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
676 * mouse.el (mouse-posn-property): Ignore buffer position info when the
677 even happened elsewhere.
679 2014-06-06 Mario Lang <mlang@delysid.org>
681 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
682 `recenter' if `current-buffer' is equal to `window-buffer'.
684 2014-06-05 Leo Liu <sdl.web@gmail.com>
686 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
688 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
690 * textmodes/tildify.el (tildify-foreach-region-outside-env):
691 New function which calls a callback on portions of the buffer that are
692 outside of ignored environments.
693 (tildify-build-regexp): Remove function since it is now
694 incorporated in `tildify-foreach-region-outside-env' where it is
695 optimised and simplified by the use of `mapconcat'.
696 (tildify-tildify): Return number of substitutions made so that…
697 (tildify-count): …can be removed.
698 (tildify-find-env): Accept a new PAIRS argument which was
699 previously looked up in `tildify-ignored-environments-alist' each
700 time the function was called. With this change, the lookup is
701 performed only once in `tildify-foreach-region-outside-env'.
702 (tildify-region): Greatly simplify the function since now most of
703 the work is done by `tildify-foreach-region-outside-env'.
704 (tildify-mode-alist): Simplify slightly by avoiding if and setq
705 and instead using or.
707 * textmodes/tildify.el (tildify-ignored-environments-alist):
708 Optimise environments regexes
710 Each time beginning of an environment to ignore is found,
711 `tildify-find-env' needs to identify regexp for the ending
712 of the environment. This is done by trying all the opening
713 regexes on matched text in a loop, so to speed that up, this
714 loop should have fewer things to match, which can be done by
715 using alternatives in the opening regexes.
717 Coincidentally, this should make matching of the opening
718 regexp faster as well thanks to the use of `regexp-opt' and
719 having common prefix pulled from many regexes.
721 * textmodes/tildify.el (tildify-string-alist)
722 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
723 of supported modes since `xml-mode' is no longer a thing but just
724 an alias to the former. Also include comments and insides of tags
725 in `tildify-ignored-environments-alist' for XML modes. Finally,
726 since XML does not define “ ”[1], use a numeric reference for
727 a no-break space (namely “ ”)
729 [1] XML specification defines only a handful of predefined entities.
730 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
731 and includes only <, >, &, ' and " (meaning <,
732 >, &, ' and " respectively). This is in contrast to HTML and even
733 XHTML which defined a whole bunch of entities including “ ”.
735 * textmodes/tildify.el (tildify-pattern-alist)
736 (tildify-string-alist, tildify-ignored-environments-alist):
737 Improve defcustom's types by adding more tags explaining what each
738 value means and replace “sexp” used in
739 `tildify-ignored-environments-alist' with a full type declaration.
741 * textmodes/tildify.el (tildify-find-env): Fix matched group
742 indexes in end-regex building
744 When looking for a start of an ignore-environment, the regex is built
745 by concatenating regexes of all the environments configured in
746 `tildify-ignored-environments-alist'. So for example, the following
747 list could be used to match TeX's \verb and \verb* commands:
749 (("\\\\verb\\(.\\)" . (1))
750 ("\\\\verb\\*\\(.\\)" . (1)))
752 This would result in the following regex being used to find the start
753 of any of the variants of the \verb command:
755 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
757 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
758 won't match anything, and thus (match-string 1) will be nil, which
759 will cause building of the end-matching regex to fail.
761 Fix this by using capture groups from the time when the opening
762 regexes are matched individually.
764 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
765 in `tildify-find-env'
767 The `tildify-ignored-environments-alist' allows the end-regex to
768 be provided not as a static string but mix of strings and indexes
769 of groups matched the begin-regex. For example, the “\verb!…!”
770 TeX-command (where “!” is an arbitrary character) is handled
773 ("\\\\verb\\*?\\(.\\)" . (1))
775 In the same way, the following should be supported as well:
777 ("open-\\(.\\)" . ("end-" 1))
779 However the tildify-find-env function fails at
782 (if (stringp (setq aux (car expression)))
783 expression ; BUG: expression is a list
784 (regexp-quote (match-string aux))))
786 where the string part is handled incorrectly.
788 The most trivial fix would be to replace `expression' in the
789 true-part of the if-statement with `aux', but instead, this commit
790 optimises `tildify-find-env' by changing it to use `mapconcat'
791 rather than open-coded while-loop.
793 2014-06-05 Mario Lang <mlang@delysid.org>
795 * woman.el (woman-mapcan): Remove.
796 (woman-parse-colon-path): Use cl-mapcan instead.
798 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
800 * register.el: Add link to Emacs manual in Commentary.
802 2014-06-02 Sam Steingold <sds@gnu.org>
804 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
805 (popup-menu): ...here.
806 (menu-bar-open): Use it to avoid an error when `lookup-key'
809 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
811 * net/tramp.el (tramp-call-process): Add traces.
812 (tramp-handle-unhandled-file-name-directory): Return "/".
814 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
816 Sync with upstream verilog-mode revision 3cd8144.
817 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
818 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
819 (verilog-type-font-keywords): Add nor.
820 (verilog-batch-execute-func): Force reading of Local Variables.
821 Fix printing "no changes to be saved" with verilog-batch.
822 (verilog-auto-arg-ports): Doc fix.
823 Add verilog-auto-arg-format to support newlines in AUTOARG.
824 (verilog-auto-arg): Doc fix.
826 2014-06-02 Glenn Morris <rgm@gnu.org>
828 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
829 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
830 * emulation/ws-mode.el: Move to obsolete/.
831 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
833 2014-06-02 Eli Zaretskii <eliz@gnu.org>
835 * simple.el (keyboard-quit): Force update of mode lines, to remove
836 the "Def" indicator, if we were defining a macro. (Bug#17615)
838 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
840 * minibuffer.el (minibuffer-force-complete-and-exit):
841 Obey minibuffer-default (bug#17545).
843 * progmodes/js.el (js-indent-line): Don't mix columns and chars
846 * subr.el (set-transient-map): Don't wait for some "nested"
847 transient-map to finish if we're only supposed to be active for
848 the next command (bug#17642).
850 2014-06-02 Leo Liu <sdl.web@gmail.com>
852 * emacs-lisp/gv.el (window-buffer, window-display-table)
853 (window-dedicated-p, window-hscroll, window-point, window-start):
854 Fix gv-expander. (Bug#17630)
856 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
858 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
861 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
862 for the single comma, since ", " is *very* common in normal French text
865 2014-06-02 Glenn Morris <rgm@gnu.org>
867 * emacs-lisp/package.el (package-check-signature)
868 (package-unsigned-archives): Fix :version.
870 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
872 * subr.el (sit-for): Don't run input-methods (bug#15614).
874 2014-06-02 Glenn Morris <rgm@gnu.org>
876 * cus-start.el: Fix some :version numbers.
878 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
880 * simple.el (deactivate-mark): Set mark-active to nil even if
881 deactivation is done via setting transient-mark-mode to nil,
882 since one is buffer-local and the other is global.
884 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
885 there can't be more than 2 arguments (bug#17584).
887 2014-06-02 Glenn Morris <rgm@gnu.org>
889 * simple.el (filter-buffer-substring-functions)
890 (filter-buffer-substring-function, buffer-substring-filters)
891 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
893 * minibuffer.el (completion-in-region-functions, completion-in-region)
894 (completion--in-region): Doc fixes.
896 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
897 (expand-abbrev, abbrev--default-expand): Doc fixes.
899 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
901 Include sources used to create macuvs.h.
902 * international/README: Refer to the Unicode Terms of Use rather
903 than copying it bodily here, as that simplifies maintenance.
905 2014-06-01 Glenn Morris <rgm@gnu.org>
907 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
909 2014-05-31 Glenn Morris <rgm@gnu.org>
911 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
913 2014-05-30 Glenn Morris <rgm@gnu.org>
915 * loadup.el: Treat `command-line-args' more flexibly.
917 2014-05-30 Alan Mackenzie <acm@muc.de>
919 Guard (looking-at "\\s!") from XEmacs.
920 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
922 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
924 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
925 The argument COUNT is now optional, to be more backward-compatible.
928 2014-05-29 Reuben Thomas <rrt@sc3d.org>
930 * whitespace.el (whitespace-report-region):
931 Simplify documentation.
932 (whitespace-report-region): Allow report-if-bogus to take the
933 value `never', for non-interactive use.
934 (whitespace-report): Refer to whitespace-report-region's
937 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
939 * whitespace.el: Use font-lock-flush. Minimize refontifications.
940 Side benefit: it works without jit-lock.
941 (whitespace-point--used): New buffer-local var.
942 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
943 (whitespace-color-off): Use font-lock-flush.
944 (whitespace-point--used, whitespace-point--flush-used): New functions.
945 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
946 (whitespace-empty-at-eob-regexp): Use them.
947 (whitespace-post-command-hook): Rewrite.
949 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
950 (font-lock-fontify-buffer): Mark interactive-only.
951 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
953 (font-lock-specified-p): Remove redundant boundp check.
954 (font-lock-flush-function, font-lock-ensure-function): New vars.
955 (font-lock-turn-on-thing-lock): Set them.
956 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
957 (font-lock-after-change-function): Make `old-len' optional.
958 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
959 Call font-lock-flush, just in case.
960 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
962 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
963 (vera-mode-map, vera-mode-menu): Remove bindings to it.
964 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
965 and with-syntax-table.
966 * textmodes/conf-mode.el (conf-quote-normal):
967 * progmodes/sh-script.el (sh-set-shell):
968 * progmodes/prog-mode.el (prettify-symbols-mode):
969 * progmodes/f90.el (f90-font-lock-n):
970 * progmodes/cwarn.el (cwarn-mode):
971 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
972 * progmodes/compile.el (compilation-setup, compilation--unsetup):
973 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
974 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
975 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
976 font-lock-fontify-buffer-function and
977 font-lock-unfontify-buffer-function.
978 (rmail-unfontify-buffer-function, rmail-fontify-message):
979 Use with-silent-modifications.
980 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
981 and font-lock-ensure.
982 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
984 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
986 * emacs-lisp/package.el (package-generate-autoloads):
987 Inhibit backup files.
989 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
991 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
994 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
996 * textmodes/tildify.el (tildify-buffer, tildify-region):
999 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1001 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
1002 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
1004 * subr.el (internal--funcall-interactively): New.
1005 (internal--call-interactively): Remove.
1006 (called-interactively-p): Detect funcall-interactively instead of
1008 * simple.el (repeat-complex-command): Use funcall-interactively.
1009 (repeat-complex-command--called-interactively-skip): Remove.
1011 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1013 * register.el (register-read-with-preview): Don't burp on
1014 frame switches (e.g. due to the frame we just popped).
1016 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
1017 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
1019 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
1021 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1023 2014-05-26 Martin Rudalics <rudalics@gmx.at>
1025 * window.el (window--dump-frame): Remove interactive specification.
1027 2014-05-26 Glenn Morris <rgm@gnu.org>
1029 * hippie-exp.el (he-line-search-regexp):
1030 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1032 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1034 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1035 to avoid errors when trying to create or visit a file foo.todo
1036 located outside to todo-directory, and to allow having such files
1037 without them being tied to Todo mode (bug#17482).
1038 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1039 (todo-archive-done-item, todo-find-filtered-items-file)
1040 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1041 (todo-category-completions, todo-read-category): When visiting a
1042 Todo file, make sure we're in the right mode and the buffer local
1044 (todo-make-categories-list, todo-reset-nondiary-marker)
1045 (todo-reset-done-string, todo-reset-comment-string):
1046 After processing all Todo files, kill the buffers of those files that
1047 weren't being visited before the processing.
1048 (todo-display-as-todo-file, todo-add-to-buffer-list)
1049 (todo-visit-files-commands): Comment out.
1050 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1051 (auto-mode-alist): Remove add-to-list calls making Todo file
1052 extensions unrestrictedly tied to Todo modes.
1054 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1057 (advice-function-member-p): Tell it to check both names and functions
1059 (advice--add-function): Adjust call accordingly.
1061 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1063 * calendar/todo-mode.el: Miscellaneous bug fixes.
1064 (todo-delete-file): When deleting an archive but not its todo
1065 file, make sure to update the todo file's category sexp.
1066 (todo-move-category): Keep the moved category's name unless the
1067 file moved to already has a category with that name. If the
1068 numerically last category of the source file was moved, make the
1069 first category current to avoid selecting a nonexisting category.
1070 (todo-merge-category): Fix implementation to make merging to a
1071 category in another file work as documented. Eliminate now
1072 insufficient and unnecessary renaming of archive category, correct
1073 document string accordingly, and clarify it. If the numerically
1074 last category of the source file was merged, make the first
1075 category current to avoid selecting a nonexisting category.
1076 (todo-archive-done-item): When there are marked items and point
1077 happens to be on an unmarked item, ignore the latter. Don't leave
1078 point below last item after archiving marked items.
1079 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1080 from an archive with only one category deletes the archive only
1081 when the category is empty after unarchiving. Make sure the todo
1082 file's category sexp is updated.
1083 (todo-read-file-name): Allow an existing file name even when it is
1084 not required (todo-move-category needs this to work as documented).
1085 (todo-add-file): Call todo-validate-name to reject the name of an
1086 existing todo file (needed due to fix in todo-read-file-name).
1087 (todo-reset-nondiary-marker): Also reset in filtered items files.
1088 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1089 regexp filtered items files.
1090 (todo-reset-highlight-item): Also reset in filtered items files.
1091 Fix incorrect variable reference in document string.
1093 2014-05-26 Glenn Morris <rgm@gnu.org>
1095 * window.el (window--dump-frame): Avoid error in --without-x builds.
1097 2014-05-26 Glenn Morris <rgm@gnu.org>
1099 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1101 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1103 * frame.el (set-frame-font): Doc fix.
1105 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1107 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1109 * emacs-lisp/package.el (package--download-one-archive):
1110 Use `write-region' instead of `save-buffer' to avoid running various
1112 (describe-package-1): Same. Insert newline at the end of the
1113 buffer if appropriate.
1115 2014-05-26 Juri Linkov <juri@jurta.org>
1117 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1118 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1119 Add more modifiers: meta, control, shift, hyper, super, alt.
1122 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1123 to allow changing its value with `set-variable'.
1125 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1127 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1129 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1131 (scheme-mode-variables): Set syntax-propertize-function instead of
1132 font-lock-syntactic-face-function.
1133 (scheme-font-lock-syntactic-face-function): Delete.
1135 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1137 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1140 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1142 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1143 for a temporary file name.
1145 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1147 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1149 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1151 * net/dbus.el (dbus-init-bus, dbus-call-method)
1152 (dbus-call-method-asynchronously, dbus-send-signal)
1153 (dbus-method-return-internal, dbus-method-error-internal):
1154 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1156 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1158 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1159 methods which do not have a doc string. (Bug#17490)
1161 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1163 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1164 also for AMS Math's \eqref macro.
1166 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1168 Arrange to never byte-compile the generated -pkg.el file.
1170 * emacs-lisp/package.el (package-generate-description-file):
1171 Output first-line comment to set buffer-local var `no-byte-compile'.
1172 Suggested by Dmitry Gutov:
1173 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1175 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1177 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1179 * emacs-lisp/package.el (package-generate-description-file):
1180 Inline `package--alist-to-plist'; rewrite to selectively
1181 quote alist values that are not self-quoting.
1182 (package--alist-to-plist): Delete func.
1184 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1186 * term/xterm.el (xterm-function-map): Add mapping for shifted
1189 2014-05-24 Daniel Colascione <dancol@dancol.org>
1191 * progmodes/subword.el (subword-find-word-boundary): Move point to
1192 correct spot before search. (Bug#17580)
1194 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1197 2014-05-24 Leo Liu <sdl.web@gmail.com>
1199 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1201 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1203 * minibuffer.el (completion--sreverse): Remove.
1204 (completion--common-suffix): Use `reverse' instead.
1205 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1207 2014-05-22 Glenn Morris <rgm@gnu.org>
1209 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1211 2014-05-21 Daniel Colascione <dancol@dancol.org>
1213 * files.el (interpreter-mode-alist): Add mksh.
1215 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1217 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1218 mksh. Improve custom spec; allow regular expressions.
1219 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1220 (sh-after-hack-local-variables): New function.
1221 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1222 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1224 (sh-canonicalize-shell): Rewrite to support regexes.
1226 2014-05-21 Leo Liu <sdl.web@gmail.com>
1228 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1230 2014-05-19 Leo Liu <sdl.web@gmail.com>
1232 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1234 2014-05-18 Glenn Morris <rgm@gnu.org>
1237 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1239 2014-05-14 Sam Steingold <sds@gnu.org>
1241 * progmodes/python.el (python-shell-get-or-create-process):
1242 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1243 back unless requested.
1245 2014-05-14 Glenn Morris <rgm@gnu.org>
1247 * subr.el (with-file-modes): New macro.
1248 * printing.el (pr-save-file-modes): Make obsolete.
1249 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1250 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1251 Add with-file-modes.
1252 * doc-view.el (doc-view-make-safe-dir):
1253 * epg.el (epg--start):
1254 * files.el (locate-user-emacs-file, make-temp-file)
1255 (backup-buffer-copy, move-file-to-trash):
1256 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1257 * eshell/esh-util.el (eshell-with-private-file-modes)
1258 (eshell-make-private-directory):
1259 * net/browse-url.el (browse-url-mosaic):
1260 * obsolete/mailpost.el (post-mail-send-it):
1261 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1262 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1263 Use with-file-modes.
1265 * vc/emerge.el (emerge-make-temp-file): Simplify.
1267 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1268 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1273 2014-05-14 Glenn Morris <rgm@gnu.org>
1275 * vc/emerge.el (emerge-temp-file-prefix):
1276 Make pointless option obsolete.
1277 (emerge-temp-file-mode): Make non-functional option obsolete.
1279 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1281 * net/browse-url.el (browse-url):
1282 Use `unhandled-file-name-directory' when setting `default-directory',
1283 in order to circumvent stalled remote connections. (Bug#17425)
1285 2014-05-14 Glenn Morris <rgm@gnu.org>
1287 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1288 Optimize on Emacs, which has the relevant functions for ages.
1290 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1292 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1294 2014-05-12 Sam Steingold <sds@gnu.org>
1296 * calendar/time-date.el (seconds-to-string): New function to
1297 pretty print time delay in seconds.
1299 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * mpc.el (mpc-format): Trim Date to the year.
1302 (mpc-songs-hashcons): Shorten the Date field.
1304 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1305 into autoloading just because of a silly indirection.
1307 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1309 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1311 2014-05-12 Glenn Morris <rgm@gnu.org>
1313 * emacs-lisp/find-gc.el: Move to ../admin.
1315 * printing.el (pr-version):
1316 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1318 * net/browse-url.el (browse-url-mosaic):
1319 Create /tmp/Mosaic.PID as a private file.
1321 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1323 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1324 (advice--member-p): If name is given, only compare the name.
1325 (advice--remove-function): Don't stop at the first match.
1326 (advice--normalize-place): New function.
1327 (add-function, remove-function): Use it.
1328 (advice--add-function): Pass the name, if any, to
1329 advice--remove-function.
1331 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1333 * electric.el (electric-indent-post-self-insert-function): Don't use
1334 `pos' after modifying the buffer (bug#17449).
1336 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1338 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1339 Correct argument list to conform to todo-insert-item--basic.
1341 2014-05-12 Glenn Morris <rgm@gnu.org>
1343 * files.el (cd-absolute): Test if directory is accessible
1344 rather than executable. (Bug#17330)
1346 * progmodes/compile.el (recompile):
1347 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1349 * net/browse-url.el (browse-url-mosaic):
1350 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1351 This is CVE-2014-3423.
1353 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1355 * mouse.el: Use the normal toplevel loop while dragging.
1356 (mouse-set-point): Handle multi-clicks.
1357 (mouse-set-region): Handle multi-clicks for drags.
1358 (mouse-drag-region): Update call accordingly.
1359 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1360 Use the normal event loop instead of a local while/read-event loop.
1361 (global-map): Remove redundant bindings for double/triple-mouse-1.
1362 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1363 Generate synthetic down events when the protocol only sends up events.
1364 (xterm-mouse-last): Remove.
1365 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1366 terminal parameter instead.
1367 (xterm-mouse--set-click-count): New function.
1368 (xterm-mouse-event): Detect/generate double/triple clicks.
1369 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1371 * info.el (Info-quoted): New face.
1372 (Info-mode-font-lock-keywords): New var.
1373 (Info-mode): Use it.
1375 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1376 are a hindrance for C-x C-e.
1378 2014-05-11 Leo Liu <sdl.web@gmail.com>
1380 * net/rcirc.el (rcirc-sentinel): Fix last change.
1382 2014-05-08 Sam Steingold <sds@gnu.org>
1384 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1385 (rcirc-sentinel): Auto-reconnect to the server if
1386 `rcirc-reconnect-delay' is non-0 (but not more often than its
1387 value in case the host is off-line).
1389 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1391 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1393 2014-05-09 Glenn Morris <rgm@gnu.org>
1395 * files.el (file-expand-wildcards):
1396 * man.el (Man-support-local-filenames):
1397 * printing.el (pr-i-directory, pr-interface-directory):
1398 * progmodes/grep.el (lgrep, rgrep):
1399 * textmodes/ispell.el (ispell-call-process)
1400 (ispell-call-process-region, ispell-start-process)
1401 (ispell-init-process): Use file-accessible-directory-p.
1403 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1406 (xterm-mouse--read-event-sequence-1000): Return nil if something
1408 (xterm-mouse-event): Propagate it.
1409 (xterm-mouse-translate-1): Handle it.
1411 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1413 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1414 four slots of the parameter list are filled, make sure to pass it
1415 to the argument list of todo-insert-item--basic.
1417 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1419 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1420 Add optional `seen' argument to detect and break infinite loops.
1422 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1424 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1425 (trace-unsafe, trace-use-tree): Make parentheses style be
1426 according to Emacs style.
1428 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1430 * net/tramp-sh.el (tramp-remote-process-environment):
1431 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1433 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1434 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1435 extra "PSx=..." commands.
1436 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1439 (tramp-uudecode): Replace the hard-coded temporary file name by a
1441 (tramp-remote-coding-commands): Enhance docstring.
1442 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1444 This is CVE-2014-3424.
1446 2014-05-08 Glenn Morris <rgm@gnu.org>
1448 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1449 (find-gc-source-files): Update some names.
1450 (trace-call-tree): Simplify and update.
1451 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1452 This is CVE-2014-3422.
1454 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * minibuffer.el (completion--try-word-completion): Revert fix for
1457 Bug#15980 (bug#17375).
1459 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1460 Always store button numbers in the same way in xterm-mouse-last;
1461 Don't burp is xterm-mouse-last is not set as expected.
1462 Never return negative indices.
1464 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1466 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1467 Backtrack one char if the global/char-literal var matcher hits
1468 inside a string. The next char could be the beginning of an
1469 expression expansion.
1471 2014-05-08 Glenn Morris <rgm@gnu.org>
1473 * help-fns.el (describe-function-1): Test for an autoload before a
1474 macro, since `macrop' works on autoloads. (Bug#17410)
1476 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1478 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1480 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1481 Make sure the new point we return is within the new string (bug#17239).
1483 2014-05-05 Daniel Colascione <dancol@dancol.org>
1485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1486 Port `gnu' pattern to rx.
1488 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1490 Remove unneeded prompt when closing a buffer with active
1491 emacsclient ("Buffer ... still has clients"), #16548.
1492 * server.el (server-start): Remove the only call to:
1493 (server-kill-buffer-query-function): Remove.
1495 2014-05-04 Leo Liu <sdl.web@gmail.com>
1497 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1498 Defvar to pacify compiler.
1500 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1502 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1504 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1506 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1507 Use nil rather than `default' for the "default" appearance (bug#17388).
1508 * vc/ediff-util.el (ediff-inferior-compare-regions)
1509 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1510 a misleading `default' value when it's really a boolean.
1511 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1512 overlay is not visible.
1514 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1516 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1517 (todo-menu): Uncomment and update.
1519 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1521 * calendar/todo-mode.el: Reimplement item editing to have the same
1522 basic user interface as item insertion, and make small UI and
1523 larger internal improvements to the latter.
1524 (todo-insert-item): Add reference to the Todo mode user manual to
1525 the documentation string.
1526 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1527 adjust all callers. Change signature to combine diary and
1528 nonmarking arguments. Incorporate functionality of deleted item
1529 copying command and add error checking. Remove detailed
1530 descriptions of the arguments from the documentation string, since
1531 this is treated in the Todo mode user manual.
1532 (todo-copy-item, todo-edit-multiline-item)
1533 (todo-edit-done-item-comment, todo-edit-item-header)
1534 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1535 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1536 (todo-edit-item-date-year, todo-edit-item-date-month)
1537 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1539 (todo-edit-item): Reimplement as wrapper command for
1540 todo-edit-item--next-key and make it distinguish done and not done
1542 (todo-edit-item--text): New function, replacing old command
1543 todo-edit-item and incorporating deleted commands
1544 todo-edit-multiline-item and todo-edit-done-item-comment.
1545 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1546 Use only numeric value of prefix argument. Remove detailed
1547 descriptions of the arguments from the documentation string, since
1548 this is treated in the Todo mode user manual.
1549 (todo-edit-item--diary-inclusion): New function, replacing old
1550 command todo-edit-item-diary-inclusion and incorporating and fixing
1551 functionality of deleted command todo-edit-item-diary-nonmarking,
1552 making sure to remove todo-nondiary-marker when adding
1553 diary-nonmarking-symbol.
1554 (todo-edit-category-diary-inclusion): Make sure to delete
1555 diary-nonmarking-symbol when adding todo-nondiary-marker.
1556 (todo-edit-category-diary-nonmarking): Fix indentation.
1557 (todo-insert-item--parameters): Group diary and nonmarking
1558 parameters together.
1559 (todo-insert-item--apply-args): Adjust to signature of
1560 todo-insert-item--basic and incorporate copy parameter.
1561 Make small code improvements.
1562 (todo-insert-item--next-param): Improve prompt and adjust it to
1563 new parameter grouping. Remove obsolete code.
1564 (todo-edit-item--param-key-alist)
1565 (todo-edit-item--date-param-key-alist)
1566 (todo-edit-done-item--param-key-alist): New defconsts.
1567 (todo-edit-item--prompt): New variable.
1568 (todo-edit-item--next-key): New function.
1569 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1570 Remove bindings of deleted commands.
1572 2014-05-04 Leo Liu <sdl.web@gmail.com>
1574 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1576 2014-05-04 Glenn Morris <rgm@gnu.org>
1578 * allout-widgets.el (allout-widgets-tally)
1579 (allout-decorate-item-guides):
1580 * menu-bar.el (menu-bar-positive-p):
1581 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1582 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1583 * progmodes/js.el (js--inside-param-list-p)
1584 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1585 * progmodes/prolog.el (region-exists-p):
1586 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1587 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1588 Doc fixes (replace `iff').
1590 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1592 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1594 2014-05-04 Leo Liu <sdl.web@gmail.com>
1596 Support Chinese diary entries in calendar and diary. (Bug#17393)
1597 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1598 (calendar-chinese-from-absolute-for-diary)
1599 (calendar-chinese-to-absolute-for-diary)
1600 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1601 (diary-chinese-list-entries): New functions to list and mark
1602 Chinese diary entries in the calendar window.
1603 (diary-chinese-anniversary)
1604 (diary-chinese-insert-anniversary-entry)
1605 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1606 (diary-chinese-insert-yearly-entry): New commands to insert
1607 Chinese diary entries.
1609 * calendar/diary-lib.el (diary-font-lock-keywords):
1610 Support font-locking Chinese dates.
1612 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1613 inserting Chinese diary entries.
1615 * calendar/calendar.el (diary-chinese-entry-symbol):
1616 New customizable variable.
1617 (calendar-mode-map): Add bindings for inserting Chinese diary
1620 2014-05-03 Juri Linkov <juri@jurta.org>
1622 * dired.el (dired-check-switches, dired-switches-recursive-p):
1623 New functions. (Bug#17218)
1624 (dired-switches-escape-p, dired-move-to-end-of-filename):
1625 Use `dired-check-switches'.
1626 (dired-insert-old-subdirs, dired-build-subdir-alist)
1627 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1629 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1631 * simple.el (undo-make-selective-list): New algorithm fixes
1632 incorrectness of position adjustments when undoing in region.
1634 (undo-elt-crosses-region): Make obsolete.
1635 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1636 New functions to adjust positions using undo-deltas.
1638 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1640 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1641 the last consecutive closing paren (bug#17345).
1643 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1645 * dired.el (dired-mode): make terminology for eXpunge command
1646 consistent. (Bug#17276)
1648 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1650 * dired.el (dired-initial-position-hook, dired-initial-position):
1653 2014-04-30 Glenn Morris <rgm@gnu.org>
1655 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1657 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1659 * faces.el (face-spec-recalc): Apply X resources only after the
1660 defface spec has been applied. Thus, X resources are no longer
1661 overriden by the defface spec which also fixes issues on win32 where
1662 the toolbar coloring was wrong because it is set through X resources
1663 and was (wrongfully) overriden. (Bug#16694)
1665 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1667 * textmodes/rst.el (electric-pair-pairs): Declare.
1668 (rst-mode): Set it (bug#17131).
1670 2014-04-30 Juri Linkov <juri@jurta.org>
1672 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1673 and `print-level' to nil. (Bug#17351)
1675 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1677 * battery.el (battery-update): Handle the case where battery
1678 status is "N/A" (bug#17319).
1680 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1682 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1683 to syntax-propertize.
1684 (ps-mode-auto-indent): Mark as obsolete.
1685 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1686 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1687 word regexp operators.
1688 (ps-mode-map): Move initialization into declaration. Remove binding
1689 for TAB, RET, >, ], and }.
1690 (ps-mode-syntax-table): Move initialization into declaration.
1691 Don't give word syntax to non-word chars.
1692 (ps-run-mode-map): Move initialization into declaration.
1693 (ps-mode-menu-main): Remove auto-indent entry.
1694 (ps-mode-smie-rules): New function.
1695 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1696 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1697 (ps-mode--string-syntax-table): New const.
1698 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1700 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1701 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1703 2014-04-27 Daniel Colascione <dancol@dancol.org>
1705 * term/xterm.el (xterm-paste): Use large finite timeout when
1706 reading event to avoid putting keys in this-command-keys.
1708 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1710 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1711 (perl-syntax-propertize-function): Use it. Extend handling of
1712 here-docs to the unquoted case.
1714 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1716 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1717 Use equal-including-properties to compare help-echo strings (bug#17331).
1719 2014-04-25 Leo Liu <sdl.web@gmail.com>
1721 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1722 Fix syntax for @. (Bug#17325)
1724 2014-04-25 Daniel Colascione <dancol@dancol.org>
1726 * emacs-lisp/cl.el (gv): Require gv early to break eager
1727 macro-expansion cycles.
1729 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1731 * simple.el (region-active-p): Check there's a mark (bug#17324).
1733 * simple.el (completion-list-mode-map): Use choose-completion for the
1734 mouse binding as well (bug#17302).
1735 (completion-list-mode, completion-setup-function): Adjust docstring and
1736 echo area message accordingly.
1737 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1738 calling convention of choose-completion.
1739 * comint.el (comint-dynamic-list-completions):
1740 * term.el (term-dynamic-list-completions): Accept choose-completion.
1742 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1743 &, |, +, - and * can't be a division (bug#17317).
1745 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1746 features on gnome-terminal (bug#16988).
1748 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1750 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1752 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1753 the declared object, ignore zero or more parens, not zero or one.
1755 2014-04-24 Leo Liu <sdl.web@gmail.com>
1757 * progmodes/xscheme.el (xscheme-expressions-ring)
1758 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1759 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1760 (xscheme-allow-output-p, xscheme-prompt)
1761 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1763 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1764 Comment out unused functions.
1766 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1768 * info.el: Use lexical-binding and cl-lib.
1769 Use defvar-local and setq-local instead of make-local-variable.
1770 (Info-apropos-matches): Avoid add-to-list.
1771 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1773 2014-04-24 Daniel Colascione <dancol@dancol.org>
1775 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1777 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1779 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1781 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1783 * dired.el (dired-insert-set-properties): Do not consider
1784 subdirectory headings and empty lines to be information that
1785 `dired-hide-details-mode' should hide. (Bug#17228)
1787 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1789 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1790 Remove test messages.
1791 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1794 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1796 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1797 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1799 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1801 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1803 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1804 Set "IFS=" when using read builtin, in order to preserve spaces in
1805 the file name. Add test messages for hunting a bug on hydra.
1806 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1808 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1810 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1811 Don't prettify a word within a symbol.
1813 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1815 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1818 2014-04-22 Daniel Colascione <dancol@dancol.org>
1820 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1821 use defun to define `function-put'.
1823 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1826 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1827 (lisp-mode-variables): Set font-lock-extra-managed-props.
1829 * emacs-lisp/byte-run.el (function-put): New function.
1830 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1831 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1832 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1835 2014-04-22 Daniel Colascione <dancol@dancol.org>
1837 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1838 Add `full-p' parameter; when nil, call `macroexpand' instead of
1841 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1844 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1845 Use lambda function values, not quoted lambdas.
1846 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1848 * emacs-lisp/cl-macs.el
1849 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1850 (cl-struct-slot-value): Conditionally use aref or nth so that the
1851 compiler produces optimal code.
1853 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1855 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1856 (inline): Don't inline cl--set-elt.
1857 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1858 Define as inlinable instead.
1859 (cl-struct-set-slot-value): Remove.
1861 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1862 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1865 2014-04-21 Daniel Colascione <dancol@dancol.org>
1867 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1868 last two parameters after all.
1869 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1870 (cl--compiler-macro-assoc,cl-struct-slot-value)
1871 (cl-struct-set-slot-value): Stop using them.
1873 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1875 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1876 entry in image-mode-winprops-alist.
1878 2014-04-21 Daniel Colascione <dancol@dancol.org>
1880 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1881 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1882 (byte-compile-toplevel-file-form): Use it.
1884 * emacs-lisp/cl-macs.el:
1885 (cl--loop-let): Properly destructure `while' clauses.
1887 2014-04-20 Daniel Colascione <dancol@dancol.org>
1889 * vc/vc.el (vc-root-dir): New public autoloaded function for
1890 generically finding the current VC root.
1891 * vc/vc-hooks.el (vc-not-supported): New error.
1892 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1894 2014-04-20 Daniel Colascione <dancol@dancol.org>
1896 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1898 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1899 argument in case we're inside a symbol-macrolet.
1900 (cl--do-arglist, cl--compiler-macro-typep)
1901 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1902 environment to `cl--const-expr-val'.
1903 (cl-struct-sequence-type,cl-struct-slot-info)
1904 (cl-struct-slot-offset, cl-struct-slot-value)
1905 (cl-struct-set-slot-value): New functions.
1907 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1909 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1910 assignments such as "case=hello" (bug#17297).
1912 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1914 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1916 (tramp-file-name-handler, tramp-completion-file-name-handler):
1917 Revert patch from 2014-04-10, it isn't necessary anymore.
1918 (tramp-autoload-file-name-handler)
1919 (tramp-register-autoload-file-name-handlers): New defuns.
1920 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1921 (tramp-register-file-name-handlers): Remove also
1922 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1923 Do not autoload its invocation, but eval it after loading of 'tramp.
1925 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1927 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1929 2014-04-17 Daniel Colascione <dancol@dancol.org>
1931 Add support for bracketed paste mode; add infrastructure for
1932 managing terminal mode enabling and disabling automatically.
1935 (xterm-mouse-mode): Simplify.
1936 (xterm-mouse-tracking-enable-sequence)
1937 (xterm-mouse-tracking-disable-sequence): New constants.
1938 (turn-on-xterm-mouse-tracking-on-terminal)
1939 (turn-off-xterm-mouse-tracking-on-terminal):
1940 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1941 parameters instead of random hooks.
1942 (turn-on-xterm-mouse-tracking)
1943 (turn-off-xterm-mouse-tracking): Delete.
1945 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1946 (xterm-paste-ending-sequence): New constant.
1947 (xterm-paste): New command used for bracketed paste support.
1949 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1950 (terminal-init-xterm-bracketed-paste-mode): New function.
1951 (terminal-init-xterm): Call it.
1952 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1953 and tty-mode-reset-strings instead of random hooks.
1954 (xterm-turn-on-modify-other-keys)
1955 (xterm-turn-off-modify-other-keys)
1956 (xterm-remove-modify-other-keys): Delete obsolete functions.
1958 * term/screen.el: Rewrite to just use the xterm code.
1959 Add copyright notice. Mention tmux.
1961 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1963 * image-mode.el (image-mode-window-put): Also update the property of
1964 the "default window".
1965 * doc-view.el (doc-view-new-window-function): If no window
1966 exists, move to the last known page.
1968 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1970 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1971 here-documents (bug#17262).
1973 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1975 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1976 Provide doc strings, as required by snarf-documentation.
1978 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1980 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1981 arg of overlays-at. Use `invisible-p'.
1983 * obsolete/lucid.el (extent-at):
1984 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1986 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1988 2014-04-16 João Távora <joaotavora@gmail.com>
1990 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1993 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1995 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1996 Use mapc to loop over a vector. (Bug#17257).
1998 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
2000 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2001 patch, there are new problems with file names containing spaces.
2002 Get rid of backticks. (Bug#17238)
2004 2014-04-16 João Távora <joaotavora@gmail.com>
2006 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2009 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2011 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2012 (blink-cursor-mode): Mention customization variables and the
2013 effect of 'blink-cursor-blinks'.
2015 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
2017 * simple.el (undo): Prevent insertion of identity mapping into
2018 undo-equiv-table so as undo-only does not inf loop in the presence
2019 of consecutive nils in undo list.
2021 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
2023 * faces.el (make-face): Deprecate optional argument as it is no
2024 longer needed/used since the conditional X resources handling
2025 has been pushed down to make-face-x-resource-internal itself.
2026 (make-empty-face): Don't pass optional argument to make-face.
2028 2014-04-16 Karl Fogel <kfogel@red-bean.com>
2030 * savehist.el (savehist-save): Remove workaround for a read-passwd
2031 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
2032 noticing that the shim was still present.
2034 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
2038 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
2040 * faces.el (face-set-after-frame-default): Remove unused local variable.
2042 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2044 * progmodes/grep.el: Use lexical-binding.
2045 (grep-expand-template): Pass explicit lexical env to `eval'.
2046 (zrgrep): Let-bind grep-find-template explicitly.
2048 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2049 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2051 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2053 * international/characters.el <standard-case-table>: Add entries
2054 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2055 Set category of Coptic characters be 'g' (Greek).
2057 2014-04-12 Leo Liu <sdl.web@gmail.com>
2059 * progmodes/octave.el (completion-table-with-cache):
2060 Define if not available.
2061 (octave-goto-function-definition, octave-sync-function-file-names)
2062 (octave-find-definition-default-filename):
2063 Backquote upattern for compatibility.
2065 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
2067 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2068 name twice due to backticks. (Bug#17238)
2070 2014-04-12 Glenn Morris <rgm@gnu.org>
2072 * term/w32-win.el (x-win-suspend-error):
2073 * term/x-win.el (x-win-suspend-error): Sync docs.
2075 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2077 * faces.el (make-face): Remove deprecated optional argument.
2078 The conditional application of X resources is handled directly by
2079 make-face-x-resource-internal since Emacs 24.4.
2080 (make-empty-face): Don't pass optional argument to make-face.
2082 2014-04-11 Glenn Morris <rgm@gnu.org>
2084 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2086 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2088 Ediff's overlay priorities cause more trouble than they solve.
2089 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2090 (ediff-highest-priority): Remove function (bug#17234).
2091 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2092 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2093 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2096 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2098 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2099 entry; use symbol boundaries to avoid mis-matches.
2101 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2103 * net/tramp.el (tramp-file-name-handler)
2104 (tramp-completion-file-name-handler): Avoid recursive loading.
2106 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2107 Quote result also locally.
2109 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2111 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2112 Remove left-over code.
2114 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2115 Reuse the previous comment's indentation unconditionally if it's on its
2118 2014-04-09 Daniel Colascione <dancol@dancol.org>
2120 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2121 `no-syntax-crossing' arguments. Forward to `up-list'.
2122 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2123 Implement logic for escaping from strings. Use narrowing to deal
2126 2014-04-09 Leo Liu <sdl.web@gmail.com>
2128 * net/rcirc.el (rcirc-connection-info): New variable.
2129 (rcirc-connect): Use it to store connection info.
2130 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2132 (rcirc-cmd-reconnect): New command. (Bug#17045)
2133 (rcirc-mode, set-rcirc-encode-coding-system)
2134 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2136 2014-04-09 Daniel Colascione <dancol@dancol.org>
2138 * emacs-lisp/cl-indent.el: Add comment claiming
2139 facility is also good for elisp.
2140 (lisp-indent-find-method): New function.
2141 (common-lisp-indent-function): Recognize cl-loop.
2142 (common-lisp-indent-function-1): Recognize cl constructs; use
2143 `lisp-indent-find-method' instead of `get' directly.
2144 (if): Use else-body style for elisp.
2146 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2148 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2149 Module methods. (Bug#17216)
2151 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2154 (describe-bindings-internal): Mark obsolete.
2156 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2158 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2159 buffer-file-name, and buffer-file-truename any more.
2161 2014-04-08 Leo Liu <sdl.web@gmail.com>
2163 Use lexical-binding and require cl-lib.
2164 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2165 (rcirc-handler-generic, rcirc-fill-paragraph)
2166 (rcirc-format-response-string, rcirc-target-buffer)
2167 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2168 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2169 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2170 (rcirc-markup-timestamp, rcirc-markup-attributes)
2171 (rcirc-markup-my-nick, rcirc-markup-urls)
2172 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2173 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2174 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2175 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2176 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2177 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2178 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2179 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2180 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2181 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2182 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2185 2014-04-07 João Távora <joaotavora@gmail.com>
2187 * elec-pair.el (electric-pair--syntax-ppss):
2188 When inside comments parse from comment beginning.
2189 (electric-pair--balance-info): Fix typo in comment.
2190 (electric-pair--in-unterminated-string-p): Delete.
2191 (electric-pair--unbalanced-strings-p): New function.
2192 (electric-pair-string-bound-function): New var.
2193 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2194 according to `electric-pair--in-unterminated-string-p'
2196 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2197 Inhibit quote pairing if point-max is inside an unterminated string.
2198 (electric-pair--looking-at-unterminated-string-p): Delete.
2199 (electric-pair--in-unterminated-string-p): New function.
2201 2014-04-07 Glenn Morris <rgm@gnu.org>
2203 * shell.el (shell-directory-tracker):
2204 Go back to just ignoring failures. (Bug#17159)
2206 2014-04-07 João Távora <joaotavora@gmail.com>
2208 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2209 backspace. (bug#16981)
2210 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2211 (electric-pair-backward-delete-char-untabify): Delete.
2212 (electric-pair-mode-map): Bind backspace to a menu item filtering
2213 a new `electric-pair-delete-pair' command.
2214 (electric-pair-delete-pair): New command.
2216 * progmodes/python.el (python-electric-pair-string-delimiter):
2217 Fix triple-quoting electricity. (Bug#17192)
2219 * elec-pair.el (electric-pair-post-self-insert-function):
2220 Don't skip whitespace when `electric-pair-text-pairs' and
2221 `electric-pair-pairs' were used. syntax to
2222 electric-pair--skip-whitespace. (Bug#17183)
2224 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2226 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2229 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2231 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2232 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2234 2014-04-07 Glenn Morris <rgm@gnu.org>
2236 * help.el (view-lossage): Doc tweak.
2238 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2240 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2241 only when inhibit-x-resources is nil, and do that earlier in the
2242 function. Doc fix. (Bug#16694)
2243 (face-spec-choose): Accept additional optional argument, whose
2244 value is returned if no matching attributes are found.
2245 (face-spec-recalc): Use the new optional argument when calling
2246 face-spec-choose. (Bug#16378)
2247 (make-face-x-resource-internal): Do nothing when
2248 inhibit-x-resources is non-nil. Don't touch the default face if
2249 reversed video is given--as was done in previous versions of Emacs.
2250 (face-set-after-frame-default): Don't call
2251 make-face-x-resource-internal here. (Bug#16434)
2253 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2255 * doc-view.el (doc-view-bookmark-jump):
2256 Use `bookmark-after-jump-hook' to jump to the right page after the
2257 buffer is shown in a window. (bug#16090)
2259 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2261 * international/characters.el (mirroring): Fix last change:
2262 instead of loading uni-mirrored.el explicitly, do that implicitly
2263 by creating the 'mirroring' uniprop table. This avoids announcing
2264 the loading of uni-mirrored.el.
2266 2014-04-07 Glenn Morris <rgm@gnu.org>
2268 * files.el (buffer-stale--default-function)
2269 (buffer-stale-function, revert-buffer--default):
2270 * autorevert.el (auto-revert-buffers): Doc tweaks.
2272 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2274 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2276 2014-04-07 Glenn Morris <rgm@gnu.org>
2278 * files.el (make-backup-file-name-function)
2279 (make-backup-file-name, make-backup-file-name--default-function)
2280 (make-backup-file-name-1, find-backup-file-name)
2281 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2282 (buffer-stale--default-function, buffer-stale-function)
2283 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2284 (revert-buffer, revert-buffer--default)
2285 (revert-buffer-insert-file-contents--default-function):
2286 Doc fixes related to defaults no longer being nil.
2287 (make-backup-file-name-function): Bump :version.
2288 Restore nil as a valid but deprecated custom type.
2290 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2292 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2293 Handle $' used as a variable (bug#17174).
2295 * progmodes/perl-mode.el (perl-indent-new-calculate):
2296 Handle forward-sexp failure (bug#16985).
2297 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2298 modifiers introducing expressions (bug#17116).
2300 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2304 2014-04-05 Leo Liu <sdl.web@gmail.com>
2306 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2307 Add define-compilation-mode.
2309 2014-04-04 João Távora <joaotavora@gmail.com>
2311 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2312 parse from comment beginning.
2313 (electric-pair--balance-info): Fix typo in comment.
2314 (electric-pair--in-unterminated-string-p): Delete.
2315 (electric-pair--unbalanced-strings-p): New function.
2316 (electric-pair-string-bound-function): New var.
2317 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2318 according to `electric-pair--in-unterminated-string-p'.
2320 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2322 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2323 Move declaration before first use.
2324 (reftex-move-to-next-arg): Silence compiler warning.
2326 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2328 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2329 Use `window-total-width' instead of `window-width'.
2331 2014-04-03 Daniel Colascione <dancol@dancol.org>
2333 * subr.el (set-transient-map): Remove rms's workaround entirely;
2334 use new `suspicious-object' subr to mark our lambda for closer
2337 2014-04-02 Richard Stallman <rms@gnu.org>
2339 * subr.el (set-transient-map): Comment out previous change.
2341 2014-04-02 Glenn Morris <rgm@gnu.org>
2343 * menu-bar.el (menu-bar-file-menu):
2344 * vc/ediff.el (ediff-current-file):
2345 Update for revert-buffer-function no longer being nil by default.
2347 * simple.el (command-execute): Respect nil disabled-command-function.
2349 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2351 * simple.el (command-execute): Do not execute the command when it
2352 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2354 2014-04-02 Juri Linkov <juri@jurta.org>
2356 * dired-aux.el (dired-compress-file): Don't use string-match-p
2357 because its match data is used afterwards.
2359 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2364 2014-04-02 João Távora <joaotavora@gmail.com>
2366 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2367 Inhibit quote pairing if point-max is inside an unterminated string.
2368 (electric-pair--looking-at-unterminated-string-p):
2370 (electric-pair--in-unterminated-string-p): New function.
2372 2014-04-01 Daniel Colascione <dancol@dancol.org>
2374 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2375 when trying to complete the prompt.
2377 2014-03-31 Leo Liu <sdl.web@gmail.com>
2379 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2380 Refactor out eldoc-documentation-function-default.
2381 (eldoc-documentation-function-default): New function.
2382 (eldoc-documentation-function): Change value.
2384 2014-03-31 Glenn Morris <rgm@gnu.org>
2386 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2388 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2389 (vhdl-compose-components-package, vhdl-compose-configuration):
2390 Abbreviate default-directory (missing from some previous upstream sync).
2392 2014-03-31 Reto Zimmermann <reto@gnu.org>
2394 Sync with upstream vhdl mode v3.35.2.
2395 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2396 (top-level): No longer require assoc.
2397 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2398 New functions. Use throughout to replace aget etc.
2399 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2400 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2401 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2402 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2403 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2404 except `vhdl-compiler'.
2405 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2408 2014-03-31 Glenn Morris <rgm@gnu.org>
2410 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2411 Revert 2014-03-26 merge goof; go back to using defalias.
2413 2014-03-30 Daniel Colascione <dancol@dancol.org>
2415 * comint.el (comint-send-input):
2416 Deactivate completion-in-region-mode before we send comint input.
2419 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2422 2014-03-29 Glenn Morris <rgm@gnu.org>
2424 * textmodes/reftex.el: Manage most autoloads automatically.
2425 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2426 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2427 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2428 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2429 * textmodes/reftex-toc.el: Set generated-autoload-file,
2430 and add autoload cookies for reftex.el.
2431 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2433 2014-03-28 Glenn Morris <rgm@gnu.org>
2435 * cus-start.el (report-emacs-bug-address): Set custom properties.
2436 * mail/emacsbug.el (report-emacs-bug-address):
2437 Variable is now defined in emacs.c.
2439 * mail/emacsbug.el (report-emacs-bug):
2440 Include system-configuration-features.
2442 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2444 * simple.el (cycle-spacing): Never delete spaces on first run by
2445 default, but do so in a new 'fast mode and if there are already
2446 N spaces (the previous behavior).
2447 Compare N with its value in previous invocation so that changing
2448 prefix argument restarts `cycle-spacing' sequence.
2449 The idea is that with this change, binding M-SPC to
2450 `cycle-spacing' should not introduce any changes in behavior of
2451 the binding so long as users do not type M-SPC twice in a raw with
2452 the same prefix argument or lack thereof.
2454 2014-03-28 Glenn Morris <rgm@gnu.org>
2456 * faces.el (term-file-aliases): New variable.
2457 (tty-run-terminal-initialization): Respect term-file-aliases.
2458 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2459 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2460 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2462 2014-03-27 Glenn Morris <rgm@gnu.org>
2464 * startup.el (inhibit-startup-hooks): Doc tweak.
2465 (normal-top-level): Simplify running of hooks.
2466 For window-setup-hook, respect inhibit-startup-hooks.
2467 (command-line-1): Don't set window-setup-hook to nil.
2469 Allow selective autoloading from obsolete/ directory.
2470 * Makefile.in (obsolete-autoloads): New rule.
2471 (autoloads): Run obsolete-autoloads.
2472 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2473 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2475 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2477 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2478 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2480 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2481 Don't propertize `?' or `!' as symbol constituent when after
2484 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2486 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2487 which is no longer needed and causes trouble in GTK builds (bug#17046).
2489 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2490 Use url-insert-file-contents; package-handle-response no longer exists.
2492 2014-03-26 Daniel Colascione <dancol@dancol.org>
2494 * simple.el (process-menu-mode-map): New variable.
2495 (process-menu-delete-process): New command.
2497 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2499 * emacs-lisp/package.el: Fix bug#16733 (again).
2500 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2501 (url-http-target-url): Remove unused declarations.
2502 (package-handle-response): Remove.
2503 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2504 (package--download-one-archive): Use current-buffer instead of
2505 dynamic binding of `buffer'.
2506 (describe-package-1): Do not decode readme-string.
2508 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2510 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2512 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2513 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2514 `remote-file-name-inhibit-cache' to nil in the second pass.
2515 (tramp-find-executable): Do not call "which" on SunOS.
2516 (tramp-send-command-and-check): Fix docstring.
2517 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2518 check whether source directory has set the sticky bit.
2520 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2522 * simple.el (primitive-undo): Only process marker adjustments
2523 validated against their corresponding (TEXT . POS). Issue warning
2524 for lone marker adjustments in undo history. (Bug#16818)
2525 (undo-make-selective-list): Add marker adjustments to selective
2526 undo list based on whether their corresponding (TEXT . POS) is in
2527 the region. Remove variable adjusted-markers, which was unused
2528 and only non nil during undo-make-selective-list.
2529 (undo-elt-in-region): Return nil when passed a marker adjustment
2530 and explain in function doc.
2532 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2534 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2536 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2538 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2539 Match special global variables without curlies, too.
2540 (ruby-font-lock-keywords): Simplify the matcher for special global
2541 variables. Don't require a non-word character after the variable.
2544 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2546 * simple.el (redisplay-highlight-region-function): Increase priority of
2547 overlay to make sure boundaries are visible (bug#15899).
2549 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2551 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2552 (frameset-restore): Compare display strings with equal.
2554 * frame.el (make-frame): Don't quote display name in error message,
2555 it is already a string.
2557 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2559 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2562 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2564 * emacs-lisp/package.el (package--add-to-archive-contents):
2565 Include already installed and built-in packages in
2566 `package-archive-contents'.
2567 (package-install): Don't include already installed packages in the
2568 options during interactive invocation. (Bug#16762)
2569 (package-show-package-list): If the buffer is already displayed in
2570 another window, switch to that window.
2572 2014-03-26 Reto Zimmermann <reto@gnu.org>
2574 Sync with upstream vhdl mode v3.35.1.
2575 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2576 (vhdl-compiler-alist): Doc fix.
2577 (vhdl-goto-line): Remove.
2578 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2579 (vhdl-mode) <paragraph-start>: Fix value.
2580 (vhdl-fix-statement-region): Not `for' in wait-statement.
2581 (vhdl-beautify-region): Also (un)tabify.
2582 (vhdl-get-visible-signals):
2583 Scan declarative part of generate statements.
2584 (vhdl-template-record): Fix indentation for record type declaration.
2585 (vhdl-expand-abbrev, vhdl-expand-paren):
2586 Revert to using fset again rather than defalias.
2587 (vhdl-scan-directory-contents): Tweak.
2588 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2589 (vhdl-compose-components-package):
2590 Replace vhdl-goto-line with forward-line.
2591 (top-level): Tweak speedbar frame selection.
2592 (vhdl-generate-makefile-1): Support for compilers with no
2593 unit-to-file name mapping (create directory with dummy files).
2595 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2597 Sync with upstream verilog-mode revision 702457d.
2598 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2599 (create-lockfiles): Declare.
2600 (verilog-read-decls): Fix module header imports, bug709.
2601 Reported by Victor Lau.
2602 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2603 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2604 interface-only modules, bug721. Reported by Dean Hoyt.
2606 2014-03-26 Glenn Morris <rgm@gnu.org>
2608 * obsolete/gulp.el: Move here from emacs-lisp/.
2610 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2611 Remove fallback aliases, since they are always defined now.
2613 2014-03-24 Daniel Colascione <dancol@dancol.org>
2615 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2616 instead of cl-loop search function.
2618 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2620 * calendar/parse-time.el (parse-time-iso8601-regexp)
2621 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2624 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2626 * net/dns.el (network-interface-list): Define for XEmacs.
2628 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2630 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2631 the network interfaces changed.
2632 (dns-query): Use it to flush the data.
2634 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2636 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2638 2014-03-23 Daniel Colascione <dancol@dancol.org>
2640 Change subword-mode to use `find-word-boundary-function-table' and
2641 replace `capitalized-words-mode'. Also, convert to lexical
2644 * progmodes/cap-words.el: Delete now-obsolete file.
2645 * progmodes/subword.el: Reimplement using
2646 `find-word-boundary-function-table'.
2647 (subword-mode-map): Hollow out.
2648 (capitalized-words-mode): Define as obsolete alias for
2650 (subword-mode, superword-mode): Tweak documentation to reflect new
2651 implementation; call `subword-setup-buffer'.
2652 (subword-forward, subword-capitalize): Add underscore to indicate
2654 (subword-find-word-boundary-function-table): New constant.
2655 (subword-empty-char-table): New constant.
2656 (subword-setup-buffer): New function.
2657 (subword-find-word-boundary): New function.
2659 2014-03-23 Daniel Colascione <dancol@dancol.org>
2661 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2662 list to look for keyword arguments instead of `memq', fixing
2663 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2664 Please make bootstrap.
2666 2014-03-22 Glenn Morris <rgm@gnu.org>
2668 * dired.el (dired-read-regexp): Make obsolete.
2669 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2670 (dired-flag-files-regexp):
2671 * dired-aux.el (dired-mark-read-regexp):
2672 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2674 * startup.el (fancy-startup-text):
2675 * help.el (describe-gnu-project): Visit online info about GNU project.
2677 * help-fns.el (help-fns--interactive-only): New function.
2678 (help-fns-describe-function-functions): Add the above function.
2679 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2680 (next-line, previous-line): Remove hand-written interactive-only
2681 information from doc strings, it is auto-generated now.
2682 * bookmark.el (bookmark-write):
2683 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2684 (epa-mail-import-keys): Mark interactive-only,
2685 and remove hand-written interactive-only information from doc strings.
2686 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2687 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2688 * files.el (not-modified):
2689 * simple.el (mark-whole-buffer): Mark interactive-only.
2691 * emacs-lisp/byte-run.el (defun-declarations-alist):
2692 Add interactive-only. Doc tweak.
2693 (macro-declarations-alist): Doc tweak.
2694 * subr.el (declare): Doc tweak (add xref to manual).
2695 * comint.el (comint-run):
2696 * files.el (insert-file-literally, insert-file):
2697 * replace.el (replace-string, replace-regexp):
2698 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2699 (delete-forward-char, goto-line, insert-buffer, next-line)
2700 (previous-line): Set interactive-only via declare.
2702 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2704 * emacs-lisp/package.el (package-desc): Use the contents of the
2705 quoted form, not its cdr. (Bug#16873)
2707 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2709 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2710 benefit of doc.c; change parameter profile to match the X function.
2712 2014-03-22 Leo Liu <sdl.web@gmail.com>
2714 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2715 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2717 2014-03-21 Richard Stallman <rms@gnu.org>
2719 * battery.el (battery-linux-sysfs): Search for each field
2720 from the beginning of the buffer.
2722 * subr.el (set-transient-map): Clear out function and value
2723 of the temporary symbol when we're done with it.
2725 * mail/rmailsum.el (rmail-summary-delete-forward):
2726 Optimize case of reaching end and handling count.
2727 (rmail-summary-mark-deleted): Optimize when N is current msg.
2728 Don't create new summary line.
2729 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2730 (rmail-summary-undelete-many): Rewrite for speed.
2731 (rmail-summary-msg-number): New function.
2733 * mail/rmail.el (rmail-delete-message): Update summary.
2734 (rmail-undelete-previous-message): Handle repeat count arg.
2735 (rmail-delete-backward, rmail-delete-forward): Likewise.
2737 2014-03-21 Daniel Colascione <dancol@dancol.org>
2739 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2740 information in bug reports.
2742 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2744 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2745 and `tramp-copy-env'.
2747 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2748 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2750 2014-03-21 Glenn Morris <rgm@gnu.org>
2752 * electric.el (electric-indent-post-self-insert-function): Add doc.
2754 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2756 * emacs-lisp/package.el (package-compute-transaction):
2757 Use `version-list-<=' to compare the requirement version against
2758 the version of package already to be installed. Update the error
2759 message. (Bug#16826)
2761 * progmodes/ruby-mode.el (ruby-smie-rules):
2762 Add indentation rule for ` @ '. (Bug#17050)
2764 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2766 * align.el (align-regexp): Remove superfluous backslash.
2768 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2769 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2770 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2771 Fix docstring typos.
2772 (ffap-next): Use C-u in docstring.
2773 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2774 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2775 Remove superfluous backslashes.
2776 (ffap-string-at-point): Reflow docstring.
2778 * server.el (server-host): Reflow docstring.
2779 (server-unload-function): Fix docstring typo.
2780 (server-eval-at): Remove superfluous backslash.
2782 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2783 (skeleton-insert): Doc fix.
2784 (skeleton-insert): Reflow docstring.
2786 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2787 (tty-color-approximate, tty-color-by-index, tty-color-values)
2788 (tty-color-desc): Remove superfluous backslashes.
2790 2014-03-21 Glenn Morris <rgm@gnu.org>
2792 * cus-start.el (history-length): Bump :version.
2794 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2795 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2796 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2797 Don't set `make-backup-files'.
2799 * info.el (info--prettify-description): New function,
2800 to give info-finder descriptions consistent case, punctuation.
2801 (Info-finder-find-node): Use it. Sort packages.
2802 Refer to "description" rather than "commentary".
2804 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2806 * frameset.el (frameset--print-register): New function.
2807 (frameset-to-register): Use it.
2809 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2811 * progmodes/hideif.el (hif-string-to-number): New function.
2812 (hif-tokenize): Use it to understand non-decimal floats.
2814 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2816 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2818 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2820 * electric.el (electric-newline-and-maybe-indent): New command.
2821 Bind it globally to C-j.
2822 (electric-indent-mode): Don't mess with the global map any more.
2823 Don't drop the post-self-insert-hook is some buffer is still using it
2826 * bindings.el (global-map): Remove C-j binding.
2828 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2829 the docstring of functions advised before dumping (bug#16993).
2831 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2833 * ps-print.el (ps-generate-postscript-with-faces):
2834 Explicitly deactivate the mark (bug#16866).
2835 * simple.el (deactivate-mark): Update region highlight.
2837 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2839 * emacs-lisp/package.el (describe-package-1):
2840 Decode commentary (bug#16733).
2842 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2844 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2845 modification of the value argument of :set (bug#16755).
2847 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2849 * simple.el (newline-and-indent): Do autofill (bug#17031).
2851 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2853 * newcomment.el (comment-normalize-vars): Only add escaping check
2854 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2855 (comment-beginning): Use `narrow-to-region' instead of moving back
2857 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2858 (comment-start-skip): Update the docstring.
2860 2014-03-18 Richard Stallman <rms@gnu.org>
2862 * dired.el (dired-display-file): Force use of other window.
2864 2014-03-18 Daniel Colascione <dancol@dancol.org>
2866 * startup.el (tty-handle-args): Remove debug message from 2007.
2868 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2871 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2872 (advice--make-1, advice-add, advice-remove):
2873 Remove braindead :advice-pending hack.
2875 2014-03-17 Glenn Morris <rgm@gnu.org>
2877 * calendar/calendar.el (calendar-generate-month): Apply weekend
2878 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2880 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2882 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2883 (tramp-call-process): Trace also DESTINATION.
2885 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2886 Quote file names when they are local. Remove superfluous trace.
2888 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2890 * newcomment.el (comment-beginning): If `comment-start-skip'
2891 doesn't match, move back one char and try again. (Bug#16971)
2893 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2894 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2895 Set `comment-start-skip' to a simpler value that doesn't try to
2896 check if the semicolon is escaped (this is handled by
2897 `syntax-ppss' now). (Bug#16971)
2899 * progmodes/scheme.el (scheme-mode-variables): Same.
2901 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2903 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2904 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2905 current (Bug#16816, Bug#17007).
2906 (with-current-buffer-window): New macro doing the same as
2907 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2908 * help.el (help-print-return-message): Warn in doc-string to not
2909 use this in `with-help-window'.
2910 (describe-bindings-internal): Call `describe-buffer-bindings'
2911 from within help buffer. See Juanma's scenario in (Bug#16816).
2912 (with-help-window): Update doc-string.
2913 * dired.el (dired-mark-pop-up):
2914 * files.el (save-buffers-kill-emacs):
2915 * register.el (register-preview): Use `with-current-buffer-window'
2916 instead of `with-temp-buffer-window'.
2918 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2920 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2921 Implement inserting into current buffer, documented in their docstrings.
2922 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2923 (rst-section-tree-point, rst-forward-section, rst-indent)
2924 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2925 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2926 (rst-font-lock-handle-adornment-pre-match-form)
2927 (rst-repeat-last-character): Reflow docstrings.
2928 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2929 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2930 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2931 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2932 Fix docstring typos.
2933 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2934 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2935 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2937 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2939 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2940 for compatibility with other ports.
2941 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2942 from the -xrm command line argument, but in the Nextstep port its value
2943 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2945 * progmodes/python.el (defconst, python-syntax-count-quotes)
2946 (python-indent-region, python-indent-shift-right)
2947 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2948 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2949 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2950 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2951 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2952 (python-shell-buffer-substring, python-shell-send-buffer)
2953 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2954 (python-completion-complete-at-point, python-fill-docstring-style)
2955 (python-eldoc-function, python-imenu-format-item-label)
2956 (python-imenu-format-parent-item-label)
2957 (python-imenu-format-parent-item-jump-label)
2958 (python-imenu--build-tree, python-imenu-create-index)
2959 (python-imenu-create-flat-index): Fix docstring typos.
2960 (python-indent-context, python-shell-prompt-regexp, run-python):
2961 Remove superfluous backslashes.
2962 (python-indent-line, python-nav-beginning-of-defun)
2963 (python-shell-get-buffer, python-shell-get-process)
2964 (python-info-current-defun, python-info-current-line-comment-p)
2965 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2966 (python-indent-post-self-insert-function, python-shell-send-file)
2967 (python-shell-completion-get-completions)
2968 (python-shell-completion-complete-or-indent)
2969 (python-eldoc--get-doc-at-point): Reflow docstrings.
2971 2014-03-14 Glenn Morris <rgm@gnu.org>
2973 * emacs-lisp/package.el (package-menu-mode-map):
2974 Replace use of obsolete function alias. Tweak menu item text.
2976 * info.el (Info-finder-find-node):
2977 Ignore the `emacs' metapackage. (Bug#10813)
2979 * finder.el (finder-list-matches): Include unversioned packages
2980 in the result of a keyword search.
2982 * finder.el (finder--builtins-descriptions): New constant.
2983 (finder-compile-keywords): Use finder--builtins-descriptions.
2985 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2987 * simple.el (blink-matching-paren): Describe the new value,
2988 `jump', enabling the old behavior.
2989 (blink-matching-open): Use that value. (Bug#17008)
2991 2014-03-14 Glenn Morris <rgm@gnu.org>
2993 * finder.el (finder-no-scan-regexp): Add leim-list.
2994 (finder-compile-keywords):
2995 Don't skip files with same basename. (Bug#14010)
2996 * Makefile.in (setwins_finder): New, excluding leim.
2997 (finder-data): Use setwins_finder.
2999 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3000 (help-function-arglist, help-make-usage): Move from here...
3001 * help.el (help-split-fundoc, help-add-fundoc-usage)
3002 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3003 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3005 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3007 * net/socks.el (socks, socks-override-functions)
3008 (socks-find-services-entry):
3009 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3010 (hif-find-ifdef-block):
3011 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3013 * net/tls.el (tls-program): Reflow docstring.
3015 * progmodes/pascal.el (pascal-mode-abbrev-table)
3016 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3017 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3018 (pascal-outline-mode): Fix docstring typos.
3019 (pascal-mode): Let define-derived-mode document mode hook.
3020 (pascal-uncomment-area): Reflow.
3021 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3023 * progmodes/opascal.el (opascal-compound-block-indent)
3024 (opascal-case-label-indent): Fix docstring typos.
3025 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3027 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3029 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3030 Fontify multiple adjacent negation chars. (Bug#17004)
3032 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3034 * emacs-lisp/package.el (package--prepare-dependencies):
3035 Accept requirements without explicit version (bug#14941).
3037 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3039 * register.el (register-separator, copy-to-register): Doc fixes.
3040 (register-preview-default): Remove unnecessary call to concat.
3042 * frameset.el (frameset-restore): When checking for a visible frame,
3043 use the action map instead of calling visible-frame-list.
3045 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3047 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3049 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3051 * window.el (fit-frame-to-buffer): Get maximum width from
3052 display's width instead of height.
3054 2014-03-12 Glenn Morris <rgm@gnu.org>
3056 * desktop.el (desktop-restore-frames)
3057 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3058 (desktop-restore-reuses-frames): Doc tweaks.
3060 * electric.el (electric-indent-mode): Doc fix.
3062 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3064 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3065 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3066 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3067 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3068 (cvs-dired-use-hook): Fix docstring typos.
3069 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3072 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3073 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3074 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3075 (cvs-execute-single-dir): Fix docstring typos.
3077 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3078 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3080 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3082 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3083 Fix docstring typos.
3085 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3087 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3088 called from jump-to-register after unloading the frameset package.
3090 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3092 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3093 (bug#16975). Deactivate the mark before setting it to nil.
3094 (activate-mark): Do nothing if region is already active.
3096 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3098 * frameset.el (frameset--target-display): Remove definition; declare.
3099 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3101 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3103 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3104 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3105 when the advice is pending.
3106 (advice-remove): Remove this marker when not needed any more.
3108 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3110 * frameset.el: Separate options for reusing frames and cleaning up.
3111 (frameset--reuse-list): Remove definition; declare.
3112 (frameset--action-map): Declare.
3113 (frameset--find-frame-if): Doc fix.
3114 (frameset--restore-frame): Cache frame action.
3115 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3116 how to clean up the frame list after restoring. Remove cleaning
3117 options from REUSE-FRAMES. Change all keyword values to symbols.
3118 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3120 * desktop.el (desktop-restore-forces-onscreen)
3121 (desktop-restore-reuses-frames): Use non-keyword values.
3122 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3124 2014-03-10 Glenn Morris <rgm@gnu.org>
3126 * files.el (find-file): Doc fix: update info node name.
3128 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3129 Doc fix: remove references to deleted info nodes.
3131 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3133 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3134 Do not add `nil' to the environment, when there's no remote `locale'.
3135 (tramp-find-inline-encoding): Check, that the remote host has
3136 installed perl, before sending scripts.
3138 2014-03-10 Leo Liu <sdl.web@gmail.com>
3140 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3141 Clear eldoc-last-message. (Bug#16920)
3143 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3148 2014-03-09 Juri Linkov <juri@jurta.org>
3150 * ansi-color.el (ansi-color-names-vector): Copy default colors
3151 from `xterm-standard-colors' that look well on the default white
3152 background (and also on the black background) to avoid illegible
3153 color combinations like yellow-on-white and white-on-white.
3154 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3156 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3158 * frameset.el (frameset-restore): When no frame is visible, do not
3159 generate a list of frames, just make visible the selected one.
3161 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3163 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3164 it only contains the repository root. (Bug#16897)
3166 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3168 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3169 only when `remote-file-name-inhibit-cache' is nil.
3170 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3172 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3174 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3176 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3177 fit-frame-to-buffer variable. Fix doc-string.
3178 (fit-window-to-buffer): Set ONLY argument in call of
3179 fit-frame-to-buffer. Fix doc-string.
3181 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3183 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3184 (tramp-action-password): Clear password cache if needed.
3185 (tramp-read-passwd): Do not clear password cache.
3187 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3188 cache unless it is the first password request.
3190 2014-03-06 Glenn Morris <rgm@gnu.org>
3192 * simple.el (newline): Doc tweak.
3194 * emacs-lisp/shadow.el (load-path-shadows-find):
3195 Ignore dir-locals. (Bug#12357)
3197 2014-03-05 Glenn Morris <rgm@gnu.org>
3199 * files.el (interpreter-mode-alist):
3200 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3202 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3204 * frameset.el (frameset--initial-params): Filter out null entries.
3206 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3208 * window.el (window-min-height, window-min-width):
3209 Rewrite doc-strings.
3210 (window-body-size): Add PIXELWISE argument to make it consistent
3213 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3215 * finder.el (finder-mode-map, finder-mode-syntax-table):
3216 Revert part of 2014-02-28 change.
3218 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3220 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3221 (eww-setup-buffer): Clear next/prev/etc more reliably.
3222 (eww-textarea-map): [tab] doesn't work on tty.
3223 Reported by Mario Lang.
3225 * net/shr.el (shr-map): Ditto.
3227 2014-03-04 Glenn Morris <rgm@gnu.org>
3229 * minibuffer.el (completion-hilit-commonality):
3230 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3232 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3234 * hilit-chg.el (hilit-chg-unload-function): New function.
3235 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3236 (hilit-chg-map-changes): Prefer cardinal number to digit.
3237 (hilit-chg-display-changes): Reflow docstring.
3238 (highlight-changes-rotate-faces): Remove superfluous backslash.
3240 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3242 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3243 `tramp-send-command-and-check'.
3245 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3247 * hexl.el (hexl-address-region, hexl-ascii-region)
3248 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3249 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3250 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3251 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3252 (hexl-mode): Doc fix.
3253 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3254 (hexl-mode-ruler): Fix typos in docstrings.
3256 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3257 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3258 Remove superfluous backslashes.
3259 (strokes-last-stroke, strokes-global-map, strokes-mode):
3261 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3262 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3263 (strokes-distance-squared, strokes-global-set-stroke)
3264 (strokes-global-set-stroke-string): Doc fixes.
3265 (strokes-help): Fix typos; reflow docstring.
3267 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3269 * window.el (window-in-direction): Fix doc-string.
3271 2014-03-04 Glenn Morris <rgm@gnu.org>
3273 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3274 Explicit error if no grammar.
3275 (smie-config-save): Doc fix. Fix quote typo.
3277 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3279 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3280 electric-indent-mode-hook if we obey electric-indent-mode.
3281 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3282 decide whether we obey electric-indent-mode.
3283 (c-change-set-fl-decl-start, c-extend-after-change-region):
3285 (c-electric-indent-mode-hook): Assume we do want to obey
3286 electric-indent-mode.
3288 * electric.el (electric-indent-mode-has-been-called): Remove.
3289 (electric-indent-mode): Fix accordingly.
3291 * files.el (hack-local-variables): Mention file name in warning.
3293 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3295 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3297 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3298 * simple.el (delete-forward-char): Mark as interactive-only.
3300 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3302 * icomplete.el (icomplete-completions):
3303 Follow-up to 2014-03-01 change.
3305 * icomplete.el: Miscellaneous doc fixes.
3306 Use Icomplete everywhere instead of icomplete for consistency.
3307 (icomplete-max-delay-chars): Fix typo.
3308 (icomplete-mode): Use \[].
3309 (icomplete-tidy, icomplete-exhibit): Reflow.
3310 (icomplete-minibuffer-setup-hook, icomplete-completions):
3311 Remove superfluous backlashes.
3313 * ido.el: Miscellaneous doc fixes.
3314 Use Ido everywhere instead of ido or `ido' for consistency.
3315 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3316 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3317 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3318 (ido-separator): Extract obsolescence info from docstring and declare
3319 with make-obsolete-variable.
3320 (ido-minibuffer-setup-hook): Simplify example.
3321 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3322 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3323 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3324 (ido-everywhere): Reflow docstring.
3325 (ido-toggle-vc): Doc fix.
3326 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3327 of long list of keybindings.
3329 2014-03-03 Glenn Morris <rgm@gnu.org>
3331 * frame.el (display-pixel-height, display-pixel-width)
3332 (display-mm-dimensions-alist, display-mm-height)
3333 (display-mm-width): Doc tweaks.
3335 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3337 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3338 case of undo in region.
3340 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3342 * window.el (fit-window-to-buffer): Fix argument in window-size
3343 call when window is horizontally combined.
3345 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3347 * icomplete.el (icomplete-completions): Use string-width.
3348 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3350 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3352 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3353 Highlight regexp options. (Bug#16914)
3355 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3357 * window.el (window--max-delta-1): Round down when calculating
3358 how many lines/columns we can get from a window.
3360 2014-03-01 Glenn Morris <rgm@gnu.org>
3362 * isearch.el (search-invisible): Doc fix.
3364 * minibuffer.el (completion-hilit-commonality):
3365 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3366 * comint.el (comint-dynamic-list-completions): Doc fix.
3367 * comint.el (comint-dynamic-list-completions):
3368 * filecache.el (file-cache-minibuffer-complete):
3369 * tempo.el (tempo-display-completions):
3370 * eshell/em-hist.el (eshell-list-history):
3371 Replace use of obsolete argument of display-completion-list.
3373 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3375 * icomplete.el (icomplete-completions):
3376 Revert back to using "..." when ?… cannot be displayed.
3378 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3380 * finder.el (finder-unload-function): New function.
3382 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3384 * dframe.el (dframe-detach):
3385 * find-dired.el (find-dired, find-name-dired):
3386 * finder.el (finder-mode-map, finder-mode-syntax-table)
3387 (finder-headmark, finder-select, finder-mouse-select):
3388 Fix docstring typos.
3390 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3392 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3393 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3394 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3395 Fix doc-string based on a suggestion by Nicolas Richard
3396 <theonewiththeevillook@yahoo.fr>.
3397 * help.el (with-help-window): Fix doc-string.
3399 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3401 * net/shr.el (shr-image-animate): New option.
3402 (shr-put-image): Respect shr-image-animate.
3404 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3406 * net/tramp-adb.el (tramp-adb-parse-device-names):
3407 Use `accept-process-output'.
3408 (tramp-adb-handle-file-truename): Cache the localname only.
3409 (tramp-adb-handle-make-directory)
3410 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3411 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3412 modes cannot be changed.
3414 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3415 file properties of symlinks.
3417 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3419 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3420 required/optional fields to match development biblatex. (Bug#16781)
3422 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3424 * saveplace.el (toggle-save-place):
3425 Fix argument handling. (Bug#16673)
3427 2014-02-28 Glenn Morris <rgm@gnu.org>
3429 * minibuffer.el (completions-first-difference)
3430 (completions-common-part, completion-hilit-commonality): Doc fixes.
3432 2014-02-28 Karl Berry <karl@gnu.org>
3434 * info.el (Info-mode-map): Add H for describe-mode,
3435 to synchronize with standalone Info.
3437 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3439 * progmodes/sql.el (sql-interactive-mode):
3440 Avoid setting global comint-input-ring-separator. (Bug#16814)
3442 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3444 * net/dbus.el (dbus--init-bus): Declare function.
3445 (dbus-path-local, dbus-interface-local): New defconst.
3446 (dbus-init-bus): Use them.
3447 (dbus-return-values-table): Extend doc.
3448 (dbus-handle-bus-disconnect): Extend error message.
3450 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3452 * subr.el (y-or-n-p): Fix double space issue in message.
3454 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3456 * net/tramp.el (tramp-call-process): Improve trace message.
3457 (tramp-handle-insert-file-contents): Trace error case.
3459 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3460 <insert-directory>: Use `tramp-handle-insert-directory'.
3461 (tramp-adb-handle-insert-directory): Remove function.
3462 (tramp-adb-send-command-and-check): New defun, replacing
3463 `tramp-adb-command-exit-status'. Change all callees.
3464 (tramp-adb-handle-file-attributes)
3465 (tramp-adb-handle-directory-files-and-attributes): Use it.
3466 (tramp-adb-ls-output-name-less-p):
3467 Use `directory-listing-before-filename-regexp'.
3468 (tramp-adb-handle-delete-directory): Flush also file properties of
3469 the truename of directory.
3470 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3471 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3472 (tramp-adb-handle-write-region): Implement APPEND.
3473 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3474 properties correctly.
3475 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3476 variables. Check for connected devices only when needed.
3478 2014-02-27 Glenn Morris <rgm@gnu.org>
3480 * minibuffer.el (completion-table-dynamic)
3481 (completion-table-with-cache): Doc fixes.
3483 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3484 (completing-read-multiple): Doc fixes.
3486 2014-02-27 Daniel Colascione <dancol@dancol.org>
3488 * minibuffer.el (completion--nth-completion): Fix indentation.
3490 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3491 explicit tramp path is empty.
3493 2014-02-27 Glenn Morris <rgm@gnu.org>
3495 * emacs-lisp/crm.el (completing-read-multiple):
3496 Empower help-enable-auto-load.
3498 2014-02-26 Glenn Morris <rgm@gnu.org>
3500 * startup.el (command-line): Don't init the tty in daemon mode.
3502 Avoid calling tty-setup-hook twice, eg if a term file
3503 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3504 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3505 (tty-create-frame-with-faces): Use it.
3506 * startup.el (command-line): Pass run-hook argument
3507 to tty-run-terminal-initialization.
3509 * dired.el (dired-restore-desktop-buffer): Demote errors;
3510 eg in case a glob match fails. (Bug#16884)
3512 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3514 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3515 error from `read-from-string'. (Bug#16850)
3517 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3518 result of `completing-read' in the interactive form. (Bug#16854)
3520 2014-02-25 Glenn Morris <rgm@gnu.org>
3522 * image.el (image-animate, image-animate-timeout):
3523 Stop animating images in dead buffers. (Bug#16878)
3525 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3527 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3529 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3530 * term/sun.el (sun-raw-prefix-hooks):
3531 Use tty-setup-hook instead of term-setup-hook.
3532 (terminal-init-sun): Construct message from bytecomp plist.
3533 * term/wyse50.el (enable-arrow-keys): Doc fix.
3535 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3537 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3538 Fix docstring typos.
3540 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3542 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3544 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3546 * minibuffer.el (completion--try-word-completion):
3547 Fix error when completing M-x commands (bug#16808).
3549 2014-02-24 Leo Liu <sdl.web@gmail.com>
3551 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3553 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3555 * apropos.el (apropos-print): Avoid formatting error when
3556 apropos-do-all and apropos-compact-layout are both t.
3558 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3560 * apropos.el (apropos-property, apropos-all-words-regexp)
3561 (apropos-true-hit, apropos-variable, apropos-print):
3562 Fix docstring typos, and remove obsolete comment.
3564 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3566 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3567 Preserve trailing "/". (Bug#16851)
3569 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3571 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3572 after `=>' (bug#16811).
3573 (ruby-smie-rules): Handle the inconsistent second element of the
3574 list returned by `smie-indent--parent'.
3575 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3578 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3580 * elec-pair.el (electric-pair-text-syntax-table)
3581 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3582 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3583 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3584 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3586 2014-02-22 Glenn Morris <rgm@gnu.org>
3588 * imenu.el (imenu--generic-function): Doc fix.
3590 * register.el (frame-configuration-to-register): Make obsolete.
3592 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3594 * desktop.el (desktop-save-buffer-p): Do not fail when
3595 desktop-files-not-to-save is nil. Return t for true result
3598 2014-02-22 Daniel Colascione <dancol@dancol.org>
3600 * net/secrets.el (secrets-create-item, secrets-search-items):
3601 Check that attribute values are strings, avoiding the construction
3602 of invalid dbus messages.
3604 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3606 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3607 defun-declarations-alist.
3609 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3611 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3614 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3616 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3617 (whitespace-newline, whitespace-trailing, whitespace-line)
3618 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3619 (whitespace-space-after-tab): Fix typo in docstrings.
3621 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3623 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3625 * electric.el (electric-indent-functions-without-reindent):
3626 Add `yaml-indent-line'.
3628 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3630 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3631 It has done nothing for years; should be removed after the release.
3633 * simple.el (choose-completion): Fix docstring typo.
3634 (read-quoted-char-radix): Remove unneeded * in docstring.
3635 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3636 Don't escape parentheses unnecessarily in docstrings.
3638 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3640 Fix handling of window-min-height/-width (Bug#16738).
3641 * window.el (window--dump-window, window--dump-frame):
3643 (window--min-size-1): Account for window dividers.
3644 When window-resize-pixelwise is nil, delay rounding till after the
3645 sum of the window components has been calculated.
3646 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3647 nil make sure at least one text line and two text columns remain
3649 (window-resize): Signal an error when window-resize-apply fails.
3650 (window--resize-child-windows): Fix calculation of by how many
3651 pixels a window can still be shrunk via window-new-normal.
3652 (adjust-window-trailing-edge): Call window--resizable with
3653 correct TRAIL argument.
3655 (with-temp-buffer-window): Don't evaluate BODY within
3656 with-current-buffer (Bug#16816).
3658 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3660 * net/tramp.el (tramp-check-cached-permissions):
3661 Call `file-attributes' with `suffix' being a symbol but a string.
3663 2014-02-21 Daniel Colascione <dancol@dancol.org>
3665 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3666 (dbus-init-bus): New function: call into dbus-init-bus-1
3667 and installs a handler for the disconnect signal.
3668 (dbus-call-method): Rewrite to look for result in cons.
3669 (dbus-call-method-handler): Store result in cons.
3670 (dbus-check-event): Recognize events with nil sender as valid.
3671 (dbus-handle-bus-disconnect): New function. React to bus
3672 disconnection signal by synthesizing dbus error for each
3673 pending synchronous or asynchronous call.
3674 (dbus-notice-synchronous-call-errors): New function.
3675 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3676 is true, not all the time.
3678 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3680 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3681 Remove obsolescence declarations, these variables do not exist anymore.
3683 * savehist.el (savehist-save-minibuffer-history)
3684 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3685 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3686 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3687 mostly, refer to "Savehist mode" when talking about the mode,
3688 and not the function.
3690 * saveplace.el (save-place): Remove redundant info in docstring.
3691 (save-place-forget-unreadable-files, toggle-save-place)
3692 (save-place-forget-unreadable-files, save-place-dired-hook):
3693 Fix typos and remove unneeded backslashes.
3695 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3697 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3698 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3700 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3701 <insert-directory>: Use `tramp-handle-insert-directory'.
3702 (tramp-gvfs-handle-insert-directory): Remove function.
3704 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3705 Call `tramp-handle-insert-directory'.
3707 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3709 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3710 before the start of buffer/region (bug#16799).
3712 2014-02-20 Glenn Morris <rgm@gnu.org>
3714 * isearch.el (search-invisible): Doc fix.
3716 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3718 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3721 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3723 * frameset.el (frameset-restore): Delay removing an old frame's
3724 duplicate id until the new frame has been correctly created.
3726 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3728 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3729 (tramp-check-cached-permissions): Call `file-attributes' if the
3732 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3733 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3735 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3736 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3737 (tramp-gvfs-maybe-open-connection): Set always connection
3738 properties, even if target is mounted already.
3740 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3741 Set tramp-autoload cookie.
3742 (tramp-get-remote-touch): New defun.
3743 (tramp-sh-handle-set-file-times): Use it.
3744 (tramp-sh-handle-directory-files-and-attributes):
3745 Use `tramp-handle-directory-files-and-attributes' if neither stat
3746 nor perl are available on the remote host.
3748 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3749 "/". Write long listing only when "l" belongs to the switches.
3751 * net/trampver.el: Update release number.
3753 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3755 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3757 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3759 * window.el (window-state-put): Allow WINDOW to refer to an
3760 internal window (Bug#16793).
3762 2014-02-19 Glenn Morris <rgm@gnu.org>
3764 * textmodes/remember.el: Move provide statement to end.
3765 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3766 (remember-notes): Doc fixes.
3768 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3770 * delsel.el (delete-char): Restore incorrectly erased property
3773 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3775 * frameset.el (frameset--restore-frame): When a frame is being reused
3776 and its root window is not alive, delete all the frame's windows before
3777 restoring the window state. This works around the issue in bug#16793.
3779 2014-02-18 Glenn Morris <rgm@gnu.org>
3781 * textmodes/remember.el (remember-data-directory)
3782 (remember-directory-file-name-format, remember-store-in-files)
3783 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3784 (remember-notes-save-and-bury-buffer)
3785 (remember-notes--kill-buffer-query): Doc fixes.
3787 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3789 2014-02-17 Alan Mackenzie <acm@muc.de>
3791 Connect electric-indent-mode up with CC Mode. Bug #15478.
3792 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3793 to electric-indent-{,local-}-mode.
3794 (c-basic-common-init): Set electric-indent-inhibit.
3795 Initialise c-electric-flag from electric-indent-mode.
3796 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3797 New hook functions which propagate electric-indent-mode to CC mode.
3799 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3800 hit, toggle electric-indent-local-mode.
3802 * electric.el (electric-indent-mode-has-been-called):
3805 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3807 * frameset.el (frameset-cfg-id): New function.
3808 (frameset--reuse-frame, frameset-restore): Use it.
3809 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3811 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3813 * ido.el (ido-file-internal): Remove unused var `d'.
3814 Use \` for to match BoS. Fit within 80n columns.
3816 2014-02-17 Daniel Colascione <dancol@dancol.org>
3818 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3819 dbus-call-method check for completion using a busy-wait loop with
3822 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3824 Sync with Tramp 2.2.9.
3826 * net/trampver.el: Update release number.
3828 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3830 * ido.el (ido-file-internal): Don't add the name of an existing
3831 directory twice. (Bug#16747)
3833 2014-02-16 Glenn Morris <rgm@gnu.org>
3835 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3836 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3838 2014-02-15 Michael R. Mauger <michael@mauger.com>
3840 * progmodes/sql.el: Version 3.4
3841 (sql-oracle-options): New default value ("-L").
3842 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3843 (sql-placeholders-filter): Correct placeholder pattern.
3844 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3845 (sql-login-delay): New variable.
3846 (sql-product-interactive): Use it.
3848 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3850 * frameset.el (frameset--jump-to-register): Check that buffer is live
3853 2014-02-15 Glenn Morris <rgm@gnu.org>
3855 * info.el (info-initialize): Revert 2014-01-10 change.
3857 2014-02-14 Glenn Morris <rgm@gnu.org>
3859 * replace.el (map-query-replace-regexp)
3860 (read-regexp-defaults-function, read-regexp): Doc fixes.
3862 * dired.el (dired-read-regexp):
3863 * faces.el (list-faces-display):
3864 * misearch.el (multi-isearch-read-matching-buffers)
3865 (multi-isearch-read-matching-files):
3866 * play/cookie1.el (cookie-apropos):
3867 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3869 * textmodes/remember.el (remember): Use frameset-to-register
3870 rather than frame-configuration-to-register.
3872 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3874 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3875 incorrect keybinding.
3877 2014-02-13 Daniel Colascione <dancol@dancol.org>
3879 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3880 when adding overlays so that line numbers from compiler match line
3883 2014-02-13 Glenn Morris <rgm@gnu.org>
3885 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3887 * jit-lock.el (jit-lock-mode): Doc fix.
3889 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3891 * apropos.el (apropos-read-pattern): When the user passes an empty
3892 string, give a more helpful error message than "Wrong type
3893 argument: stringp, nil".
3895 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3897 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3899 2014-02-13 Glenn Morris <rgm@gnu.org>
3901 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3903 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3905 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3906 shift-select commands.
3908 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3910 * progmodes/js.el (js-indent-line): Don't widen.
3911 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3913 2014-02-12 Glenn Morris <rgm@gnu.org>
3915 * icomplete.el (icomplete): Add info-link to defgroup.
3916 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3917 (icomplete-minibuffer-map, icomplete-mode)
3918 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3920 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3921 (package-menu-filter): Rename from package-menu-filter-interactive.
3924 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3926 * frameset.el (frameset--jump-to-register): Select the required
3927 window and buffer before restoring position (bug#16696).
3929 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3931 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3933 2014-02-10 Glenn Morris <rgm@gnu.org>
3935 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3937 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3939 * w32-common-fns.el (x-get-selection): Doc fix.
3940 * select.el (x-get-selection): Doc fix. (Bug#15109)
3942 * face-remap.el (face-remap-add-relative)
3943 (face-remap-remove-relative, face-remap-reset-base)
3944 (face-remap-set-base): Call force-mode-line-update to redisplay
3945 the current buffer due to potential change in faces. (Bug#16709)
3947 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3949 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3950 script more robustly.
3952 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3954 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3956 * simple.el (choose-completion): Doc fix (bug#14160).
3958 * subr.el (event-start): Say what a nil EVENT value means.
3960 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3963 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3965 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3967 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3969 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3970 predicate function (bug#15455).
3972 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3974 * ielm.el (inferior-emacs-lisp-mode): Instead of
3975 `comment-use-global-state', set `comment-use-syntax'.
3977 2014-02-10 Glenn Morris <rgm@gnu.org>
3979 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3981 2014-02-09 Alan Mackenzie <acm@muc.de>
3983 Fix c-invalidate-state-cache on narrowed buffers.
3984 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3985 Widen when setting and clearing the CPP delimiter properties.
3987 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3989 * help.el (describe-bindings): Doc fix (bug#9888).
3991 * files.el (save-buffer): Use ARG as the parameter name for
3992 consistency (bug#10346).
3993 (save-buffer): Clarify the 0 argument (bug#10346).
3995 * cus-edit.el (customize-apropos): Fix error string.
3996 (custom-buffer-create): Doc fix (bug#11122).
3997 (custom-sort-items): Doc fix (bug#11121).
3999 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4001 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4002 (icomplete-simple-completing-p): Mention the previous variable.
4004 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4005 meaning of the parameter (bug#12282).
4007 * files.el (find-file-noselect): Clarify prompt when changing
4008 readedness (bug#13261).
4009 (locate-file): Suffixes aren't returned, so don't say that they
4011 (backup-inhibited): Doc clarification (bug#12525).
4013 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4014 before we actually start to delete things (bug#16331).
4016 * subr.el (event-start): Doc fix (bug#14228).
4019 2014-02-09 Glenn Morris <rgm@gnu.org>
4021 * emacs-lisp/warnings.el (lwarn):
4022 Empower help-enable-auto-load. (Bug#15940)
4024 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4026 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4029 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4031 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4032 Insert output at end of buffer. (Bug#16120)
4034 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4036 * simple.el (choose-completion-string-functions): Document new
4037 calling convention (bug#14153).
4038 (execute-extended-command): Clarify doc string (bug#13373).
4040 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4042 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4043 (find-grep-dired): Doc fix (bug#14288).
4045 2014-02-08 Juri Linkov <juri@jurta.org>
4047 * isearch.el (isearch-quote-char): Check character validity
4048 like in `quoted-insert' (bug#16677).
4050 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4052 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4054 * isearch.el (isearch-hide-immediately): Doc clarification
4057 * simple.el (line-move): Document utility function used many
4058 places in the Emacs sources (bug#14843).
4060 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4061 (dired-prev-marked-file): Doc fix (bug#14855).
4062 (dired-up-directory): Doc fix (bug#14848).
4064 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4066 * files.el (file-relative-name): Doc fix (bug#15159).
4068 * fringe.el (fringe-styles): Doc fix (bug#15239).
4070 * isearch.el (isearch-filter-predicate): Documentation typo fix
4073 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4075 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4077 * replace.el (replace-match-maybe-edit): Doc clarification
4080 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4082 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4084 2014-02-08 Glenn Morris <rgm@gnu.org>
4086 * help-fns.el (describe-variable):
4087 Check {file,dir}-local-variables-alist, and buffer-file-name,
4088 in the correct buffer.
4090 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4092 * help-fns.el (describe-variable): Fix the case where
4093 a value is directory-local with no dir-locals file. (Bug#16635)
4095 2014-02-08 Glenn Morris <rgm@gnu.org>
4097 * abbrev.el (edit-abbrevs-mode):
4098 Derive from fundamental-mode. (Bug#16682)
4100 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4102 * simple.el (quoted-insert): Check character validity (bug#16677).
4104 2014-02-07 Juri Linkov <juri@jurta.org>
4106 * desktop.el (desktop-read): Claim the lock when the owner is not
4107 the current process. (Bug#16157)
4109 2014-02-07 Juri Linkov <juri@jurta.org>
4111 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4112 to "\\` ". (Bug#16651)
4114 2014-02-07 Juri Linkov <juri@jurta.org>
4116 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4117 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4118 (desktop-auto-save-cancel-timer): New function with some code from
4119 `desktop-auto-save-set-timer'.
4120 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4121 Instead of setting `desktop-save-mode' to nil, call
4122 `desktop-save-mode' with arg 0. (Bug#16630)
4124 2014-02-07 Glenn Morris <rgm@gnu.org>
4126 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4127 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4128 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4130 * obsolete/iswitchb.el: Move to obsolete/.
4131 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4132 since obsolete/ is not scanned for autoloads.
4133 * emacs-lisp/authors.el (authors-valid-file-names):
4136 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4137 Disable now non-functional find-file-hook.
4139 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4141 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4142 instead of ";" in order to avoid additional prompts. Let heredoc
4143 scripts read from tty. (Bug#16582)
4144 (tramp-send-command): No special handling of heredocs, it isn't
4147 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4149 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4150 with a space (bug#16664). Limit the symbols considered to the ones
4151 that are bound or fbound (bug#16646).
4153 2014-02-06 Glenn Morris <rgm@gnu.org>
4155 * epa.el (epa-mail-aliases): Doc fix.
4157 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4159 * emacs-lisp/lisp.el (lisp-completion-at-point):
4160 Use `completion-table-merge' instead of `completion-table-in-turn'
4163 * minibuffer.el (completion-table-merge): New function.
4165 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4167 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4168 (tramp-sh-handle-set-file-acl)
4169 (tramp-sh-handle-start-file-process)
4170 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4171 (tramp-find-executable, tramp-send-command): Use it.
4173 2014-02-05 Glenn Morris <rgm@gnu.org>
4175 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4177 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4179 * progmodes/python.el (python-shell-send-string)
4180 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4182 2014-02-04 Anders Lindgren <andlind@gmail.com>
4184 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4185 the names (bug#16620).
4187 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4189 * faces.el (window-divider): New default value. Rewrite doc-string.
4190 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4192 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4194 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4195 `protected' and `public' can also be called without arguments.
4197 2014-02-03 Glenn Morris <rgm@gnu.org>
4199 * register.el (window-configuration-to-register)
4200 (frame-configuration-to-register): Unadvertise unused argument.
4201 * frameset.el (frameset-to-register): Remove unused argument.
4203 * frameset.el (frameset-to-register):
4204 * kmacro.el (kmacro-to-register):
4205 * register.el (increment-register):
4206 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4207 (calc-append-to-register, calc-prepend-to-register):
4208 * play/gametree.el (gametree-layout-to-register)
4209 (gametree-apply-register-layout):
4210 * textmodes/picture.el (picture-clear-rectangle-to-register)
4211 (picture-yank-rectangle-from-register):
4212 * vc/emerge.el (emerge-combine-versions-register):
4213 Use register-read-with-preview to read registers.
4215 2014-02-03 João Távora <joaotavora@gmail.com>
4217 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4218 when at beginning of (possibly narrowed) buffer.
4220 2014-02-02 Daniel Colascione <dancol@dancol.org>
4222 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4223 Also try to display local help from just before point.
4225 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4227 c-parse-state. Don't "append-lower-brace-pair" in certain
4228 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4229 recognised as a comment.
4231 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4232 as well as normal comment starter.
4233 (c-parse-state-get-strategy): Extra return possibility
4235 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4236 return value list to indicate replacement of a brace-pair cons
4238 (c-parse-state-1): With 'back-and-forward, only call
4239 c-append-lower-brace-pair-to state-cache when cons-separated.
4241 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4243 * term/ns-win.el (ns-suspend-error): New function.
4244 (ns-initialize-window-system): Add ns-suspend-error to
4245 suspend-hook (Bug#16612).
4247 2014-02-02 Daniel Colascione <dancol@dancol.org>
4249 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4250 Make loading cc-mode silent.
4252 2014-02-02 Daniel Colascione <dancol@dancol.org>
4254 * comint.el (comint-prompt-read-only): Change doc to suggest
4257 2014-02-02 Glenn Morris <rgm@gnu.org>
4259 * register.el (register-read-with-preview, point-to-register)
4260 (window-configuration-to-register, frame-configuration-to-register)
4261 (jump-to-register, number-to-register, view-register, insert-register)
4262 (copy-to-register, append-to-register, prepend-to-register)
4263 (copy-rectangle-to-register): Doc fixes.
4265 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4268 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4269 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4270 * help-fns.el (describe-function-1): Use it.
4272 2014-02-02 Glenn Morris <rgm@gnu.org>
4274 * register.el (register-preview-default): New function,
4275 split from register-preview.
4276 (register-preview-function): Rename from register-preview-functions,
4278 (register-preview): Use register-preview-function.
4279 (register-read-with-preview): Error on non-character event. (Bug#16595)
4281 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4283 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4284 `:' before binary operators (bug#16609). Don't check for `:'
4285 before `[' and `(', or their syntax status. A percent literal
4286 can't end with either.
4287 (ruby-font-lock-keywords): For built-ins that require arguments,
4288 check that they're followed by something that looks like argument
4291 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4293 * subr.el (butlast): Document what an omitted N means (bug#13437).
4296 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4298 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4299 depth shallower (bug#16587).
4300 (shr-tag-svg): Respect `shr-inhibit-images'.
4301 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4303 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4305 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4306 (ruby-smie-grammar): Make "." right-associative. Make its priority
4307 lower than the ternary and all binary operators.
4308 (ruby-smie-rules): Indent "(" relative to the first non-"."
4309 parent, or the first "." parent at indentation.
4310 Use `ruby-align-chained-calls' for indentation of "." tokens.
4313 2014-01-31 Juri Linkov <juri@jurta.org>
4315 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4316 from `make-hash-table'.
4318 * textmodes/ispell.el (ispell-init-process): Change message format
4319 to be consistent with other messages.
4321 2014-01-31 Glenn Morris <rgm@gnu.org>
4323 * delsel.el (delete-selection-mode): Doc fix.
4325 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4326 (trace-function-background): Doc fixes.
4328 * ido.el (ido-use-virtual-buffers): Doc fix.
4329 Reset :version, since the default value has not changed.
4331 * register.el (register-preview-delay, register-read-with-preview):
4334 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4335 do not mess with mail-buffer position (fixes 2009-11-03 change).
4336 * progmodes/cc-mode.el (c-submit-bug-report):
4337 Check auto-fill-mode is bound. (Bug#16592)
4339 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4341 * startup.el (fancy-splash-image-file): New function,
4342 split from fancy-splash-head.
4343 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4344 so that we are both using the same image. (Bug#16574)
4346 2014-01-30 Glenn Morris <rgm@gnu.org>
4348 * simple.el (eval-expression): Doc fix.
4350 * hexl.el (hexl-mode-hook):
4351 * ielm.el (ielm-mode-hook):
4352 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4353 (lisp-interaction-mode-hook):
4354 * progmodes/cfengine.el (cfengine3-documentation-function):
4355 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4357 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4359 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4360 is a symbol (bug#16584).
4362 2014-01-30 Glenn Morris <rgm@gnu.org>
4364 * help.el (help-for-help-internal): Add "P" to text.
4366 2014-01-29 Glenn Morris <rgm@gnu.org>
4368 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4370 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4372 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4375 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4377 * progmodes/hideif.el: Extend to full CPP expression syntax.
4378 (hif-token-alist): Add missing tokens.
4379 (hif-token-regexp): Add support for float/octal/hex immediates.
4380 (hif-string-literal-regexp): New const.
4381 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4382 (hif-exprlist): New function.
4383 (hif-parse-if-exp): Use it.
4384 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4385 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4386 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4387 (hif-logxor, hif-comma): New functions.
4389 2014-01-28 Glenn Morris <rgm@gnu.org>
4391 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4393 * indent.el (tab-stop-list): Doc fix. Add :version.
4395 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4396 (cvs-append-to-ignore): Add compatibility alias.
4398 2014-01-27 Glenn Morris <rgm@gnu.org>
4400 * dired.el (dired-hide-details-mode): Don't autoload it,
4401 since it cannot be used outside Dired buffers anyway.
4403 * emulation/cua-base.el (cua-mode): Doc fix.
4405 * dired.el (dired-hide-details-hide-symlink-targets)
4406 (dired-hide-details-hide-information-lines)
4407 (dired-hide-details-mode): Doc fixes.
4409 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4410 * strokes.el (strokes-file): Doc fix. Bump :version.
4411 (strokes-help): Doc fix.
4412 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4413 * emulation/viper.el (viper): Doc fix for custom group.
4414 (top-level): Remove oh-so-no-longer-relevant text about vip.
4415 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4417 * ido.el (ido-save-directory-list-file):
4418 * saveplace.el (save-place-file):
4419 * calendar/timeclock.el (timeclock-file):
4420 * net/quickurl.el (quickurl-url-file):
4421 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4422 * progmodes/idlwave.el (idlwave-config-directory):
4423 * textmodes/remember.el (remember-data-file):
4426 2014-01-26 Glenn Morris <rgm@gnu.org>
4428 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4429 Doc fix. Make obsolete.
4430 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4432 * sort.el (delete-duplicate-lines): Doc fix.
4434 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4436 * progmodes/ada-mode.el (ada):
4437 * woman.el (woman): Link to info manual and Commentary section.
4439 * progmodes/flymake.el (flymake):
4440 * nxml/nxml-mode.el (nxml):
4442 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4443 * htmlfontify.el (htmlfontify):
4446 * ido.el (ido): Link to info manual.
4448 2014-01-25 Leo Liu <sdl.web@gmail.com>
4450 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4452 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4454 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4457 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4459 * net/eww.el (eww-download-callback):
4460 Fix reference to eww-download-directory.
4462 * emacs-lisp/bytecomp.el (byte-compile-file):
4463 Remove unused local variable `file-name'.
4465 2014-01-24 Glenn Morris <rgm@gnu.org>
4467 * woman.el (woman-default-faces, woman-monochrome-faces):
4468 Fix obsolescence specification.
4470 * subr.el (with-demoted-errors): Doc fix.
4472 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4474 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4475 (cl--macroexp-fboundp): New function.
4476 (cl--make-type-test): Use it.
4478 2014-01-23 Glenn Morris <rgm@gnu.org>
4480 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4481 * simple.el (eval-expression): Doc fixes.
4483 2014-01-22 Glenn Morris <rgm@gnu.org>
4485 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4487 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4489 * emacs-lisp/package.el: Write files silently.
4490 (package-autoload-ensure-default-file, package--write-file-no-coding)
4491 (package-generate-description-file, package--download-one-archive)
4492 (package-install-from-archive): Tell `write-region' to stay quiet.
4493 (package-menu-mode, package-menu--print-info): Omit the Archive column
4494 if there's only one archive.
4495 (package-all-keywords, package--has-keyword-p): Remove dead code.
4497 2014-01-22 Glenn Morris <rgm@gnu.org>
4499 * version.el (emacs-bzr-version-bzr): Fix typo.
4501 * version.el (emacs-repository-get-version):
4502 Check either .bzr or .git, but not both.
4503 Make the git case actually use the DIR argument, and return nil
4504 rather than the empty string.
4505 Avoid error if .git exists but the git executable is not found.
4507 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4509 Fixes in window size functions around Bug#16430 and Bug#16470.
4510 * window.el (window-total-size, window-size): New argument ROUND.
4511 (window--min-delta-1, window-min-delta, window--max-delta-1):
4512 Be more conservative when calculating the numbers of lines or
4513 columns a window can shrink (Bug#16430).
4514 (fit-window-to-buffer): Simplify code.
4515 * term.el (term-window-width): Call window-body-width again.
4517 2014-01-22 Glenn Morris <rgm@gnu.org>
4519 * image.el (image-format-suffixes): Doc fix.
4521 * international/quail.el (quail-define-package): Doc fix.
4523 * emacs-lisp/authors.el (authors-valid-file-names)
4524 (authors-renamed-files-alist): Additions.
4526 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4527 reverts 2014-01-09 change. (Bug#16422)
4529 * calc/calc-embed.el (thing-at-point-looking-at):
4530 * emacs-lisp/map-ynp.el (x-popup-dialog):
4531 * obsolete/lmenu.el (x-popup-dialog):
4532 * emacs-lisp/package.el (url-recreate-url):
4533 * mail/mailclient.el (clipboard-kill-ring-save):
4534 * subr.el (x-popup-dialog): Update declaration.
4535 * mail/rmail.el (rmail-mime-message-p):
4536 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4538 2014-01-21 Daniel Colascione <dancol@dancol.org>
4540 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4541 Correctly detect when we're inside an arithmetic expansion form
4542 containing nested parenthesis.
4543 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4544 to detect cases where we shouldn't expand "<<" to a heredoc
4547 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4550 (eldoc--message-command-p): New function.
4551 (eldoc-display-message-p): Use it.
4552 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4553 message is not automatically erased for us.
4554 (eldoc-print-current-symbol-info): Erase previous message, if any.
4556 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4558 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4559 specify it's an interactive function.
4561 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4562 Fix regex used for scanning for citation keys which failed for
4563 citations with optional arguments.
4565 2014-01-21 Leo Liu <sdl.web@gmail.com>
4567 * simple.el (read--expression): Don't enable eldoc-mode.
4569 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4571 * simple.el (move-beginning-of-line): Make sure we don't move forward
4574 2014-01-20 Juri Linkov <juri@jurta.org>
4576 * saveplace.el (toggle-save-place, save-place-to-alist)
4577 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4578 'dired-mode) before checking for dired-directory. (Bug#16477)
4580 2014-01-20 Juri Linkov <juri@jurta.org>
4582 * indent.el (indent-line-to): Use backward-to-indentation
4583 instead of back-to-indentation. (Bug#16461)
4585 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4587 Revert some of the CANNOT_DUMP fix (Bug#16494).
4588 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4589 but fixing this can wait until after the next release.
4590 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4592 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4594 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4595 Use `password-word-equivalents'.
4596 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4597 to t. (Bug#5664, Bug#13124)
4599 2014-01-19 Alan Mackenzie <acm@muc.de>
4601 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4603 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4604 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4605 * progmodes/cc-mode.el (c-before-change, c-after-change)
4606 (c-font-lock-fontify-region): Bind it here.
4608 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4610 * term.el (term-window-width): Call window-text-width instead of
4611 window-width (Bug#16470).
4613 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4615 * simple.el (password-word-equivalents): Remove duplicates.
4616 Sort, to make this easier next time.
4617 Downcase. Omit ": " after "jelszó".
4619 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4621 * term/common-win.el (saved-region-selection): Defvar it.
4622 (x-select-text): Set saved-region-selection (Bug#16382).
4624 2014-01-18 Glenn Morris <rgm@gnu.org>
4626 * emacs-lisp/authors.el (authors-aliases)
4627 (authors-renamed-files-alist): Add some entries.
4629 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4631 * net/tramp.el (tramp-password-prompt-regexp):
4632 Use `password-word-equivalents' if available.
4633 (tramp-action-password, tramp-process-one-action)
4634 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4636 2014-01-17 Chong Yidong <cyd@gnu.org>
4638 * simple.el (password-word-equivalents): New defcustom.
4639 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4641 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4644 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4646 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4647 (ruby-align-to-stmt-keywords): Change the default value.
4648 Use `ruby-alignable-keywords' to generate the possible customization
4650 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4651 keywords, check against the value of `ruby-alignable-keywords'
4652 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4654 2014-01-17 Glenn Morris <rgm@gnu.org>
4656 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4658 Make M-x authors return zero *Authors Errors* from current logs.
4659 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4660 (authors-ignored-files): Add some entries, remove others.
4661 (authors-ambiguous-files, authors-valid-file-names):
4663 (authors-renamed-files-alist): Add, remove, and adjust entries.
4664 (authors-renamed-files-regexps): Add some entries.
4665 Remove some very broad ones. Make some entries `lax'.
4666 (authors-lax-changelogs): New constant.
4667 (authors-disambiguate-file-name): Treat top-level specially.
4668 (authors-lax-changelog-p): New function.
4669 (authors-canonical-file-name): Check file as written against
4670 authors-valid-file-names. Do not special-case etc/.
4671 Handle `lax' logs and authors-renamed-files-regexps elements.
4673 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4675 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4676 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4679 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4681 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4682 Assume we're already in the proper buffer.
4683 Inspired by Anders Lindgren <andlind@gmail.com>.
4684 (follow-post-command-hook): Call it from the right buffer.
4685 (follow-comint-scroll-to-bottom): Adjust call.
4686 (follow-all-followers): Use get-buffer-window-list.
4688 2014-01-15 Daniel Colascione <dancol@dancol.org>
4690 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4691 `buffer-file-name' in interactive-form so that we don't leave
4692 pathless file names in `file-name-history'.
4694 2014-01-15 Juri Linkov <juri@jurta.org>
4696 * indent.el (indent-rigidly): Set deactivate-mark to nil
4697 in transient indentation mode. (Bug#16438)
4699 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4701 * emacs-lisp/package.el (package-desc-keywords): New function
4703 (describe-package-1, package-all-keywords)
4704 (package--has-keyword-p): Use it.
4706 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4708 * simple.el (define-alternatives): When creating the
4709 COMMAND-alternatives variable, assign COMMAND as its definition
4710 name so that `describe-variable' can relocate it.
4712 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4714 * font-lock.el (font-lock-keywords): Fix typo in docstring
4717 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4719 * ispell.el (ispell-region): Reset `in-comment' for new line
4720 instead of wrongly reset `add-coment' (bug#13577).
4722 2014-01-14 Daiki Ueno <ueno@gnu.org>
4724 * epa-file.el (epa-file-write-region): Encode the region according
4725 to `buffer-file-format'. Problem reported at:
4726 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4728 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4730 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4731 so it applies in the right buffer (bug#16410).
4733 2014-01-13 Daniel Colascione <dancol@dancol.org>
4735 * textmodes/rst.el (rst-define-key): Provide deprecated
4736 keybindings through named functions instead of anonymous ones so
4737 that "??" doesn't appear in describe-mode output.
4739 2014-01-13 Bastien Guerry <bzg@gnu.org>
4741 * simple.el (define-alternatives): Call the selected command
4742 interactively. When setting `COMMAND--implementation' for the
4743 first time, tell the user how to chose another implementation.
4744 Enhance the docstring.
4746 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4748 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4749 (log-edit--match-first-line): New function.
4750 (log-edit-font-lock-keywords): Use it.
4751 (log-edit-mode): Make jit-lock-defer-multiline work.
4753 2014-01-13 Bastien Guerry <bzg@gnu.org>
4755 * rect.el (rectangle-mark-mode): When the region is not active,
4756 display a message saying that the mark as been set and that
4757 rectangle mode is in use.
4758 (rectangle--highlight-for-redisplay): Only put an overlay with a
4759 visible vertical bar when (display-graphic-p) is non-nil.
4760 This partially fixes Bug#16403.
4762 2014-01-13 Juri Linkov <juri@jurta.org>
4764 * info.el (Info-find-file): Go to DIR before displaying the error
4765 about a nonexistent file if no previous Info file is visited.
4766 Use `user-error' instead of `error' for "Info file %s does not exist".
4767 (Info-find-node-2): In case of a nonexistent node in unwind forms
4768 go to the Top node if there is no previous node to revert to.
4771 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4773 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4774 * window.el (fit-frame-to-buffer): Fix doc-string.
4775 Respect window-min-height/-width. Fit pixelwise when
4776 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4777 when avoiding that frame goes partially off-screen.
4778 (fit-window-to-buffer): Respect window-min-height/-width
4781 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4783 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4784 after an empty line.
4786 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4788 * net/shr.el (shr-render-region): Autoload.
4790 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4792 * net/eww.el (eww-download-directory): Rename from
4793 `eww-download-path' (Bug#16419).
4795 2014-01-12 Leo Liu <sdl.web@gmail.com>
4797 * dired-x.el (dired-mode-map): Fix last change.
4799 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4801 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4804 * emacs-lisp/generic.el (generic--normalize-comments):
4805 Rename from generic--normalise-comments. All uses changed.
4806 * play/bubbles.el (bubbles--neighborhood-score)
4807 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4808 (bubbles--neighborhood-available)
4809 (bubbles--update-neighborhood-score):
4810 Rename from names with 'neighbourhood'. All uses changed.
4812 2014-01-12 Leo Liu <sdl.web@gmail.com>
4814 Re-implement the feature of showing eldoc info after editing.
4815 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4816 (eldoc-edit-message-commands): New function.
4817 (eldoc-print-after-edit): New variable.
4818 (eldoc-pre-command-refresh-echo-area): Emit message only by
4819 eldoc-message-commands.
4820 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4821 if eldoc-print-after-edit is set. (Bug#16346)
4822 * simple.el (read--expression): Enable eldoc-mode.
4823 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4825 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4826 Eric S. Raymond <esr@thyrsus.com>
4828 * version.el (emacs-repository-get-version): Enhance so the
4829 function works correctly in either a Bazaar or Git repo.
4831 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4833 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4834 Goes with removal of the joke manpages from /etc.
4836 2014-01-10 Kenichi Handa <handa@gnu.org>
4838 * mail/rmail.el (rmail-get-coding-system):
4839 Check rmail-get-coding-function before "funcall"ing it.
4841 2014-01-10 Glenn Morris <rgm@gnu.org>
4843 * emacs-lisp/authors.el (authors-fixed-entries):
4844 Update for files that no longer exist.
4846 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4848 * version.el (emacs-bzr-get-version): Restore compatibilty with
4851 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4853 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4856 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4858 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4860 2014-01-10 Chong Yidong <cyd@gnu.org>
4862 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4864 2014-01-10 Anders Lindgren <andlind@gmail.com>
4866 * follow.el (follow-cache-command-list): Include right-char and
4869 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4872 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4873 * woman.el (woman-mark-horizontal-position):
4874 Rename from woman-mark-horizonal-position. Use changed.
4876 2014-01-10 Glenn Morris <rgm@gnu.org>
4878 * info.el (info-initialize): If running uninstalled, ensure our
4879 own info files are always found first, even if INFOPATH is set.
4881 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4883 2014-01-09 David Engster <deng@randomsample.de>
4885 * emacs-lisp/eieio-custom.el:
4886 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4887 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4888 * emacs-lisp/eieio.el: Regenerate autoloads.
4890 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4892 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4893 following renames. (Bug#8756)
4895 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4897 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4899 (activate-mark): Add `no-tmm' argument.
4900 (set-mark, push-mark-command): Use it instead of running
4901 activate-mark-hook by hand.
4903 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4905 In preparation for the move to git, sanitize out some
4906 Bazaar-specific names.
4908 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4910 * version.el (emacs-bzr-version): Name changed to
4911 emacs-repository-version. Obsolete-variable alias made.
4912 * loadup.el: Follow through on this name change.
4913 * mail/emacsbug.el (report-emacs-bug): Factor out any
4914 assumption about the version control system in use.
4916 2014-01-08 David Engster <deng@randomsample.de>
4918 * help-fns.el (help-fns-describe-function-functions):
4919 New variable to call functions for augmenting help buffers.
4920 (describe-function-1): Remove explicit calls to
4921 `help-fns--compiler-macro', `help-fns--parent-mode' and
4922 `help-fns--obsolete'. Put them in above new variable instead, and
4923 call them through `run-hook-with-args'.
4924 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4925 `eieio-describe-class'. Not meant for interactive use anymore,
4926 but to augment existing help buffers. Remove optional second
4927 argument. Create proper button for file location.
4928 Rewrite function to use `insert' instead of `princ' and `prin1' where
4930 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4931 (eieio-method-def, eieio-class-def): Move further up.
4932 (describe-method, describe-generic, eieio-describe-method):
4934 (eieio-help-constructor, eieio-help-generic): Rename from
4935 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4936 Rewrite to use `insert' in the current buffer and use proper help
4938 (eieio-help-find-method-definition)
4939 (eieio-help-find-class-definition): Also accept symbols as
4941 (eieio-help-mode-augmentation-maybee): Remove.
4942 (eieio-describe-class-sb): Use `describe-function'.
4943 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4944 Add `eieio-help-generic' and `eieio-help-constructor'.
4946 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4949 * language/china-util.el (hz-ascii-designation):
4950 Rename from hz-ascii-designnation.
4951 (hz-ascii-designation): Rename from hz-ascii-designnation.
4954 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4956 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4959 2014-01-08 Bastien Guerry <bzg@gnu.org>
4961 * emacs-lisp/package.el (package-delete):
4962 Correctly delete the package from package-alist.
4964 2014-01-08 Daiki Ueno <ueno@gnu.org>
4966 * emacs-lisp/package.el (url-recreate-url): Declare.
4967 (url-http-target-url): Declare.
4968 (package-handle-response): Include requested URL in the error message.
4969 (package--check-signature): Don't re-signal errors from
4970 package--with-work-buffer. Suggested by Stefan Monnier.
4972 2014-01-07 Bastien Guerry <bzg@gnu.org>
4974 * minibuffer.el (completion--try-word-completion): When both a
4975 hyphen and a space are possible candidates for the character
4976 following a word, display both candidates. (Bug#15980)
4978 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4980 * window.el (balance-windows-2): While rounding don't give a
4981 window more than the remainder. Bug#16351, bug#16383.
4983 2014-01-07 Glenn Morris <rgm@gnu.org>
4985 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4986 (menu-bar-help-menu): Use view-external-packages instead.
4988 2014-01-07 Bastien Guerry <bzg@gnu.org>
4990 * emacs-lisp/package.el (package-delete): Also delete the package
4991 name from `package-alist', not its description only.
4993 2014-01-07 Glenn Morris <rgm@gnu.org>
4995 * help.el (view-external-packages):
4996 * menu-bar.el (menu-bar-help-extra-packages):
4997 Visit efaq.info rather than etc/MORE.STUFF.
4999 2014-01-07 Juri Linkov <juri@jurta.org>
5001 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5002 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5004 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5005 that shadows RET. (Bug#16342)
5007 2014-01-07 Chong Yidong <cyd@gnu.org>
5009 * isearch.el (isearch-yank-char, isearch-yank-word)
5010 (isearch-yank-line): Doc fix.
5012 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5014 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5015 * emacs-lisp/elint.el (elint-find-builtins):
5016 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5017 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5018 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5019 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5020 * apropos.el (apropos-safe-documentation):
5021 * subr.el (symbol-file): Remove redundant fboundp.
5022 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5024 2014-01-06 Bastien Guerry <bzg@gnu.org>
5026 * hl-line.el (global-hl-line-overlay): Make a local variable.
5027 (global-hl-line-overlays): New variable to store all overlays.
5028 (global-hl-line-mode): Don't delete overlays from the current
5029 buffer when `global-hl-line-sticky-flag' is non-nil.
5030 (global-hl-line-highlight): Add new overlays to
5031 `global-hl-line-overlays'.
5032 (global-hl-line-unhighlight-all): New function to delete all
5033 overlays when turning off `global-hl-line-mode'.
5034 This fixes Bug#16183.
5036 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5038 * subr.el (set-transient-map): Fix nested case and docstring.
5040 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5042 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5045 2014-01-06 Daniel Colascione <dancol@dancol.org>
5047 Fix defun navigation in vc log view.
5049 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5050 like `beginning-of-defun'.
5051 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5052 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5053 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5054 (log-view-extract-comment): Call `log-view-current-entry' directly
5055 instead of relying on broken `log-view-beginning-of-defun' behavior.
5057 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5060 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5061 * emacs-lisp/debug.el (cancel-debug-on-entry):
5062 * epg.el (epg-error-to-string):
5063 * files.el (recover-file):
5064 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5065 * mail/emacsbug.el (report-emacs-bug-hook):
5066 * mail/sendmail.el (mail-recover):
5067 * ses.el (ses-yank-resize):
5068 * term/ns-win.el (ns-print-buffer):
5069 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5070 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5072 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5074 2014-01-06 Leo Liu <sdl.web@gmail.com>
5076 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5077 to avoid shadowing global key. (Bug#16354)
5079 2014-01-06 Daniel Colascione <dancol@dancol.org>
5081 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5084 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5086 * window.el (balance-windows): Add mising t to fix Bug#16351.
5088 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5090 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5092 (shr-insert): If we have a word that's longer than `shr-width',
5093 break after it anyway. Otherwise we'll do no breaking once we get
5096 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5098 * net/eww.el (eww): Support single/double quote for search.
5099 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5100 (eww-history-quit): Delete and use quit-window.
5101 (eww-history-kill): Delete, because it doesn't work well and
5103 (eww-history-mode-map): Delete some keys and add easy-menu.
5105 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5107 Fix misspelling of 'chinese' in rx (Bug#16237).
5108 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5111 Change subword regexps back to vars (Bug#16296).
5112 * progmodes/subword.el (subword-forward-regexp)
5113 (subword-backward-regexp): Change these back to variables.
5115 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5117 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5118 syntax-begin-function (bug#16247).
5120 2014-01-03 Chong Yidong <cyd@gnu.org>
5122 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5123 (advice--docstring): Delete variable.
5124 (advice--make-1): Leave the docstring empty.
5125 (advice-add): Use function-documentation for advised docstring.
5127 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5128 Ignore function-documentation property when getting documentation.
5129 (ad-activate-advised-definition): Use function-documentation
5130 generate the docstring.
5131 (ad-make-advised-definition): Don't call
5132 ad-make-advised-definition-docstring.
5133 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5136 * progmodes/sql.el (sql-help): Use function-documentation instead
5137 of dynamic-docstring-function property. No need to autoload now.
5138 (sql--help-docstring): New variable.
5139 (sql--make-help-docstring): Use it.
5141 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5143 * ielm.el (ielm-tab): Retarget.
5144 (ielm-map): Use ielm-tab for tab.
5145 (ielm-complete-filename): Use comint-filename-completion.
5146 (ielm-complete-symbol): Remove.
5147 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5148 remove ielm-tab from completion-at-point-functions (bug#16224).
5150 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5151 Beware signals raised by predicates (bug#16201).
5153 2014-01-02 Richard Stallman <rms@gnu.org>
5155 * dired-aux.el (dired-do-print): Handle printer-name.
5157 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5158 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5159 (rmail-epa-decrypt): Turn off mime processing.
5161 * mail/rmail.el (rmail-make-in-reply-to-field):
5162 Add parens in message-id.
5164 * mail/rmail.el (rmail-get-coding-function): Variable.
5165 (rmail-get-coding-system): Use it.
5167 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5169 * international/mule-conf.el: Unify the charset indian-is13194.
5170 (indian-is13194): Specify unify-map.
5172 2013-12-31 Leo Liu <sdl.web@gmail.com>
5174 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5176 2013-12-30 Daniel Colascione <dancol@dancol.org>
5178 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5179 of printing a useless when we resume from sleep.
5181 * progmodes/sh-script.el
5182 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5183 in indentation code. (Bug#16233)
5185 2013-12-28 João Távora <joaotavora@gmail.com>
5187 * elec-pair.el (electric-pair-post-self-insert-function):
5188 Don't open extra newlines at beginning of buffer. (Bug#16272)
5190 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5192 * frame.el (window-system-for-display): Don't allow to create a
5193 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5195 2013-12-28 Glenn Morris <rgm@gnu.org>
5197 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5200 * apropos.el (apropos-match-face):
5201 * calculator.el (calculator-displayer):
5202 * dabbrev.el (dabbrev-search-these-buffers-only):
5203 * face-remap.el (buffer-face-mode-face):
5204 * simple.el (yank-handled-properties):
5205 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5206 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5207 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5208 (hashcash-double-spend-database):
5209 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5210 (ruby-deep-indent-paren-style):
5211 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5212 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5213 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5214 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5215 Specify custom types.
5217 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5218 * bookmark.el (bookmark-bmenu-use-header-line):
5219 * doc-view.el (doc-view-scale-internally):
5220 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5221 * register.el (register-preview-delay):
5222 * net/shr.el (shr-bullet):
5223 * progmodes/cfengine.el (cfengine-cf-promises)
5224 (cfengine-parameters-indent):
5225 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5226 * textmodes/reftex-vars.el (reftex-label-regexps):
5227 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5229 * net/tls.el (tls-certtool-program): Fix default value.
5231 * desktop.el (desktop-restore-in-current-display):
5232 * newcomment.el (comment-empty-lines):
5233 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5234 (idlwave-pad-keyword):
5235 * progmodes/tcl.el (tcl-tab-always-indent):
5236 * textmodes/reftex-vars.el (reftex-index-default-tag):
5237 * elec-pair.el (electric-pair-skip-whitespace):
5238 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5240 * emacs-lisp/authors.el (authors-ignored-files)
5241 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5243 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5245 * shell.el (shell-dynamic-complete-command): Doc fix.
5246 (shell--command-completion-data): Shell completion now matches
5247 executable filenames from the current buffer's directory, on
5248 systems in which this behavior is the default (windows-nt, ms-dos).
5250 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5252 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5254 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5256 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5259 * electric.el: Move all electric-pair-* to elec-pair.el.
5260 * elec-pair.el: New file, split from electric.el.
5262 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5264 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5265 indentation level is larger than the width, because that will
5267 (shr-insert): Fill repeatedly long texts, so that Japanese is
5268 formatted correctly (bug#16263).
5269 (shr-find-fill-point): Off by one error in comparison with the
5272 2013-12-26 João Távora <joaotavora@gmail.com>
5274 * electric.el (electric-pair-mode): More flexible engine for skip-
5275 and inhibit predicates, new options for pairing-related functionality.
5276 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5277 if that keeps or improves their balance in buffers.
5278 (electric-pair-delete-adjacent-pairs): Delete the pair when
5279 backspacing over adjacent matched delimiters.
5280 (electric-pair-open-extra-newline): Open extra newline when
5281 inserting newlines between adjacent matched delimiters.
5282 (electric--sort-post-self-insertion-hook):
5283 Sort post-self-insert-hook according to priority values when
5284 minor-modes are activated.
5285 * simple.el (newline-and-indent): Call newline with interactive
5287 (blink-paren-post-self-insert-function): Set priority to 100.
5288 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5289 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5290 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5291 electric-pair-open-newline-between-pairs to nil.
5293 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5295 * progmodes/python.el: Use lexical-binding.
5296 (python-nav-beginning-of-defun): Stop searching ASAP.
5298 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5300 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5301 Fix interactive spec. Doc fix. (Bug#15754)
5303 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5305 * emacs-lisp/byte-run.el (eval-when-compile):
5306 * progmodes/cc-defs.el (cc-eval-when-compile):
5307 Fix edebug spec (bug#16184).
5309 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5311 * net/shr.el (shr-visit-file): Remove debugging function.
5312 (shr-insert): Don't infloop if we can't find a good place to break
5313 the line (bug#16256).
5315 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5317 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5318 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5319 python-nav-lisp-forward-sexp-safe.
5320 (python-nav--forward-sexp): New argument SAFE allows switching
5321 forward sexp movement behavior for parens.
5322 (python-nav-forward-sexp): Throw errors on unterminated parens
5324 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5325 (python-nav-backward-sexp-safe): New functions.
5326 (python-shell-buffer-substring):
5327 Use `python-nav-forward-sexp-safe'.
5329 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5331 * net/shr.el (shr-find-fill-point): Don't break lines before a
5333 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5334 (shr-find-fill-point): Remove the special checks for the quotation
5335 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5337 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5339 * net/eww.el (eww-form-textarea): Use a different face for
5340 textareas than text input since they have different keymaps
5343 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5345 * progmodes/python.el (python-nav-beginning-of-statement):
5346 Speed up (Bug#15295).
5348 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5350 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5351 the window configuration.
5353 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5355 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5356 we run on MS-Windows or MS-DOS.
5358 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5360 * window.el (balance-windows-area): Call window-size instead of
5361 window-height and window-width. Bug#16241.
5363 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5365 * net/eww.el (eww-bookmark-quit): Remove.
5366 (eww-bookmark-browse): Restore the window configuration when you
5367 choose a bookmark (bug#16144).
5369 2013-12-24 Daniel Colascione <dancol@dancol.org>
5371 * icomplete.el: Remove redundant :group arguments to `defcustom'
5373 (icomplete-show-matches-on-no-input): New customizable variable.
5374 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5375 we have something to show.
5376 (icomplete-exhibit): Compute completions even if we have no user input.
5378 2013-12-23 Daniel Colascione <dancol@dancol.org>
5380 * icomplete.el: Move `provide' to end of file.
5382 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5384 * net/gnutls.el (gnutls-verify-error): Add version tag.
5386 2013-12-23 Chong Yidong <cyd@gnu.org>
5388 * subr.el (set-transient-map): Rename from
5389 set-temporary-overlay-map. Doc fix.
5391 * face-remap.el (text-scale-adjust):
5392 * indent.el (indent-rigidly):
5393 * kmacro.el (kmacro-call-macro):
5394 * minibuffer.el (minibuffer-force-complete):
5395 * repeat.el (repeat):
5396 * simple.el (universal-argument--mode):
5397 * calendar/todo-mode.el (todo-insert-item--next-param):
5398 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5400 * indent.el (indent-rigidly): Use substitute-command-keys.
5402 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5404 * net/eww.el (eww-tag-select): Add text-property to jump to next
5406 (eww): Add non-supported ftp error.
5408 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5410 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5411 comments. Handle electric indent after typing `?' and `!'.
5413 2013-12-22 Chong Yidong <cyd@gnu.org>
5415 * faces.el (face-spec-recalc): If the theme specs are not
5416 applicable to a frame, fall back on the defface spec.
5417 This prevents themes from obliterating faces on low-color terminals.
5419 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5421 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5422 after `{'. We need it after block openers, and it doesn't seem
5423 to hurt after hash openers.
5425 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5427 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5428 extracted from `ruby-smie-rules'.
5429 (ruby--electric-indent-chars): New variable.
5430 (ruby--electric-indent-p): New function.
5431 (ruby-mode): Use `electric-indent-functions' instead of
5432 `electric-indent-chars'.
5434 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5436 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5438 (ruby-smie-rules): Indent plus one level after `=>'.
5440 2013-12-21 Richard Stallman <rms@gnu.org>
5442 * simple.el (newline): Doc fix.
5444 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5446 * net/eww.el (eww-list-histories, eww-list-histories)
5447 (eww-history-browse, eww-history-quit, eww-history-kill)
5448 (eww-history-mode-map, eww-history-mode): New command and
5449 functions to list browser histories.
5450 (eww-form-text): Support text form with disabled
5451 and readonly attributes.
5452 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5454 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5456 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5457 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5458 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5459 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5461 (eww-bookmark-mode-map): Add menu.
5462 (eww-render, eww-mode): Use `setq-local'.
5463 (eww-tool-bar-map): New variable.
5464 (eww-mode): Set `tool-bar-map'.
5465 (eww-view-source): Check for `html-mode' with `fboundp'.
5467 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5469 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5470 elements with text inside. Also remove debugging.
5472 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5474 * cus-start.el (all): Add ns-use-srgb-colorspace.
5476 2013-12-21 Chong Yidong <cyd@gnu.org>
5478 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5479 undefined. Thus, theme settings for undefined faces do not take
5480 effect until the faces are defined with defface, the same as with
5483 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5484 (face-spec-reset-face): Don't assign extra properties in temacs.
5485 (face-spec-recalc): Apply X resources too.
5487 2013-12-21 Chong Yidong <cyd@gnu.org>
5489 * faces.el (face-spec-set):
5490 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5491 * custom.el (defface): Doc fixes (Bug#16203).
5493 * indent.el (indent-rigidly-map): Add docstring, and move commands
5494 into named functions.
5495 (indent-rigidly-left, indent-rigidly-right)
5496 (indent-rigidly-left-to-tab-stop)
5497 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5498 indentation direction based on bidi direction, and accumulate
5499 sequential commands in a single undo boundary.
5500 (indent-rigidly--pop-undo): New utility function.
5502 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5504 * faces.el (read-face-name): Require crm.el when using crm-separator.
5506 2013-12-20 Daniel Colascione <dancol@dancol.org>
5508 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5509 so that we don't reflow comments into the shebang line.
5511 2013-12-20 Juri Linkov <juri@jurta.org>
5513 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5514 a position when `dired-directory' is non-nil. Check integer
5515 positions with `integerp'.
5516 (toggle-save-place, save-places-to-alist): Add check for
5518 (save-place-find-file-hook): Check integer positions with
5520 (save-place-dired-hook): Use `dired-goto-file' when
5521 `dired-filename' is found in the assoc list. Check integer
5522 positions with `integerp'.
5523 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5525 * dired.el (dired-initial-position-hook): Rename back from
5526 `dired-initial-point-hook'.
5527 (dired-initial-position): Rename `dired-initial-point-hook' to
5528 `dired-initial-position-hook'.
5529 (dired-file-name-at-point): Doc fix. (Bug#15329)
5531 2013-12-20 Juri Linkov <juri@jurta.org>
5533 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5534 (read-regexp-suggestions): New function.
5535 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5536 Use `read-regexp-suggestions'. Add non-empty default to history
5538 (occur-read-regexp-defaults-function): Remove function.
5539 (occur-read-primary-args): Use `regexp-history-last' instead of
5540 `occur-read-regexp-defaults-function'.
5542 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5543 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5544 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5545 `hi-lock-read-regexp-defaults-function'. Doc fix.
5546 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5547 with `find-tag-default-as-symbol-regexp'. Doc fix.
5548 (hi-lock-read-regexp-defaults): Remove function.
5549 (hi-lock-regexp-okay): Add check for null.
5551 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5552 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5554 * subr.el (find-tag-default-as-symbol-regexp): New function.
5555 (find-tag-default-as-regexp): Move symbol regexp formatting to
5556 `find-tag-default-as-symbol-regexp'.
5558 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5560 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5563 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5565 * calendar/todo-mode.el: New implementation of item insertion
5566 commands and key bindings.
5567 (todo-key-prompt): New face.
5568 (todo-insert-item): New command.
5569 (todo-insert-item--parameters): New defconst, replacing defvar
5570 todo-insertion-commands-args-genlist.
5571 (todo-insert-item--param-key-alist): New defconst, replacing
5572 defvar todo-insertion-commands-arg-key-list.
5573 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5574 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5575 (todo-insert-item--next-param): New functions.
5576 (todo-insert-item--args, todo-insert-item--argleft)
5577 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5579 (todo-key-bindings-t): Change binding of "i" from
5580 todo-insertion-map to todo-insert-item.
5581 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5582 (todo-insertion-command-name, todo-insertion-commands-names)
5583 (todo-define-insertion-command, todo-insertion-commands)
5584 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5586 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5588 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5589 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5591 (todo-move-category): Allow choosing a non-existing todo file to
5592 move the category to, and create that file.
5593 (todo-default-priority): New user option.
5594 (todo-set-item-priority): Use it.
5595 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5596 (desktop-restore-file-buffer): Declare.
5597 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5598 (todo-modes-set-2): Locally set desktop-save-buffer to
5599 todo-desktop-save-buffer.
5600 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5601 (auto-mode-alist): Add autoload cookie.
5603 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5605 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5606 helpers.el was a poor choice of name.
5607 (string-remove-prefix): New function.
5608 (string-remove-suffix): New function.
5610 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5612 Fix assignment for new window total sizes.
5613 * window.el (window--pixel-to-size): Remove function.
5614 (window--pixel-to-total-1, window--pixel-to-total):
5615 Fix calculation of new total sizes.
5617 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5619 * comint.el (comint-output-filter): Fix rear-nonsticky property
5620 placement (Bug#16010).
5622 2013-12-20 Chong Yidong <cyd@gnu.org>
5624 * faces.el (read-color): Minor fix for completion function.
5626 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5628 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5629 New option. (Bug#16182)
5630 (ruby-smie--indent-to-stmt-p): Use it.
5631 (ruby-smie-rules): Revert the logic in the handling of `when'.
5632 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5633 (ruby-deep-arglist, ruby-deep-indent-paren)
5634 (ruby-deep-indent-paren-style): Update docstrings to note that the
5635 vars don't have any effect with SMIE.
5637 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5639 * calc/calc.el (calc-enter, calc-pop): Use the variable
5640 `calc-context-sensitive-enter'.
5642 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5644 * net/shr.el (shr-insert): Protect against infloops in degenerate
5647 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5649 * progmodes/octave.el (octave): Add link to manual and octave
5651 (octave-mode-menu): Link to octave-mode manual.
5653 2013-12-20 Leo Liu <sdl.web@gmail.com>
5655 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5656 insertion using skeleton-end-newline. (Bug#16138)
5658 2013-12-20 Juri Linkov <juri@jurta.org>
5660 * replace.el (occur-engine): Use `add-face-text-property'
5661 to add the face property to matches and titles. (Bug#14645)
5663 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5664 the palette of other hi-lock colors.
5665 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5667 2013-12-19 Juri Linkov <juri@jurta.org>
5669 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5670 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5671 (minibuffer-history-symbol): Move variable declaration closer to
5674 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5677 2013-12-19 Juri Linkov <juri@jurta.org>
5679 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5681 (log-edit-hook): Add it to :options. (Bug#16170)
5683 2013-12-19 Juri Linkov <juri@jurta.org>
5685 * simple.el (eval-expression-print-format): Don't check for
5686 command names and the last command. Always display additional
5687 formats of the integer result in the echo area, and insert them
5688 to the current buffer only with a zero prefix arg.
5689 Display character when char-displayable-p is non-nil.
5690 (eval-expression): With a zero prefix arg, set `print-length' and
5691 `print-level' to nil, and insert the integer values from
5692 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5694 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5695 `eval-last-sexp-arg-internal'. Doc fix.
5696 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5697 `eval-last-sexp-print-value'. Doc fix.
5698 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5699 Set `print-length' and `print-level' to nil when arg is zero.
5700 (eval-last-sexp): Doc fix.
5701 (eval-defun-2): Print the integer values from
5702 `eval-expression-print-format' at the end.
5704 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5705 values from `eval-expression-print-format' at the end.
5707 * ielm.el (ielm-eval-input): Print the integer
5708 values from `eval-expression-print-format' at the end.
5710 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5712 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5713 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5715 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5717 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5718 (hl-line-highlight, global-hl-line-highlight): Use it.
5719 (hl-line-overlay): Use defvar-local.
5721 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5723 * term/ns-win.el: Require dnd.
5724 (global-map): Remove drag items.
5725 (ns-insert-text, ns-set-foreground-at-mouse)
5726 (ns-set-background-at-mouse):
5727 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5728 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5731 2013-12-19 Glenn Morris <rgm@gnu.org>
5733 * emacs-lisp/ert.el (ert-select-tests):
5734 Fix string/symbol mixup. (Bug#16121)
5736 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5738 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5739 keywords to their parent.
5741 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5743 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5744 first arg to be a string (fixed dead code), or an operator symbol.
5745 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5747 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5748 did nothing. Don't respond to `(:after ".")', it will be called
5749 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5750 change anything. Only return indentation for binary operators
5751 when they are hanging. De-dent opening paren when its parent is
5752 `.', otherwise it looks bad when the dot is not at bol or eol
5755 2013-12-19 Juri Linkov <juri@jurta.org>
5757 * replace.el (query-replace-read-args): Split a non-negative arg
5758 and a negative arg into separate elements.
5759 (query-replace, query-replace-regexp, replace-string)
5760 (replace-regexp): Add arg `backward'. Doc fix.
5761 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5762 move point to the beginning of the match.
5763 (replace-search, replace-highlight): Use new arg `backward'
5764 to set the value of `isearch-forward'.
5765 (perform-replace): Add arg `backward' and use it to perform
5766 replacement backward. (Bug#14979)
5768 * isearch.el (isearch-query-replace): Use a negative prefix arg
5769 to call `perform-replace' with a non-nil arg `backward'.
5771 2013-12-18 Juri Linkov <juri@jurta.org>
5773 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5774 to the default list. Move `log-edit-show-files' to the end.
5775 Add more available functions to options.
5776 (log-edit): Move default specific settings to
5777 `log-edit-insert-message-template'. Don't move point.
5778 (log-edit-insert-message-template): New function.
5779 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5782 2013-12-18 Juri Linkov <juri@jurta.org>
5784 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5785 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5787 2013-12-18 Leo Liu <sdl.web@gmail.com>
5789 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5792 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5794 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5795 formats for displaying file sizes when the -s switch is given.
5796 Instead, compute a separate format for displaying the size in
5797 blocks, which is displayed in addition to the "regular" size.
5798 When -h is given in addition to -s, produce size in blocks in
5799 human-readable form as well. (Bug#16179)
5801 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5803 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5804 Reference tables with ~\ref{...} instead of only \ref{...}.
5806 2013-12-18 Chong Yidong <cyd@gnu.org>
5808 * cus-edit.el (custom-magic-alist): Fix "themed" description
5811 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5812 is non-nil, do not create a new entry in the symbol's theme-value
5813 or theme-face property; update theme-settings only (Bug#14664).
5814 (custom-available-themes): Doc fix.
5816 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5819 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5821 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5823 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5826 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5828 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5830 2013-12-18 Glenn Morris <rgm@gnu.org>
5832 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5833 * cus-start.el (load-prefer-newer): New option.
5835 2013-12-18 Le Wang <l26wang@gmail.com>
5837 * comint.el (comint-previous-matching-input-from-input):
5838 Retain point (Bug#13404).
5840 2013-12-18 Chong Yidong <cyd@gnu.org>
5842 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5844 2013-12-18 Glenn Morris <rgm@gnu.org>
5846 * mail/emacsbug.el (report-emacs-bug):
5847 Only mention enable-multibyte-characters if non-standard.
5849 2013-12-17 Juri Linkov <juri@jurta.org>
5851 * arc-mode.el (archive-extract-by-file): Check if directory exists
5852 before deletion to not show irrelevant errors if it doesn't exist.
5854 2013-12-17 Juri Linkov <juri@jurta.org>
5856 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5859 * net/eww.el (browse-web): Add alias to `eww'.
5860 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5861 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5863 * net/browse-url.el (browse-url-browser-function): Move `eww'
5864 closer to similar functions.
5866 * startup.el (fancy-startup-screen, fancy-about-screen):
5867 Set browse-url-browser-function to eww-browse-url locally.
5870 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5872 * window.el (window--pixel-to-total): Remove unused `mini' var.
5873 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5874 (split-window): Remove unused `new' var.
5875 (window--display-buffer): Remove unused `frame' and `delta' vars.
5876 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5879 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5881 * dired.el (dired-mark-pop-up):
5882 * register.el (register-preview): Don't bind
5883 split-height-threshold here since it's now done in
5884 display-buffer-below-selected.
5886 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5888 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5889 xterm-rgb-convert-to-16bit.
5890 (rxvt-register-default-colors): Standardize with
5891 xterm-register-default-colors (Bug#14078).
5893 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5895 * simple.el (kill-region): Pass mark first, then point, so that
5896 kill-append works right (Bug#12819).
5897 (copy-region-as-kill, kill-ring-save): Likewise.
5899 2013-12-17 Leo Liu <sdl.web@gmail.com>
5901 * net/rcirc.el (rcirc-add-face):
5902 * eshell/em-prompt.el (eshell-emit-prompt):
5903 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5906 2013-12-17 Chong Yidong <cyd@gnu.org>
5908 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5909 Suggested by Xue Fuqiao.
5911 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5913 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5915 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5917 * net/shr.el (shr-insert-document): Remove unused var
5918 `shr-preliminary-table-render'.
5919 (shr-rescale-image): Remove unused arg `force'.
5920 (shr-put-image): Update calls accordingly.
5921 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5923 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5925 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5926 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5927 :close-all, to see which indentation method to use (Bug#16116).
5928 (smie-rules-function): Document the method :close-all.
5930 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5932 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5934 * net/eww.el (eww-display-html): If we can't find the anchor we're
5935 looking for, then go to point-min.
5937 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5939 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5940 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5941 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5942 Expand dir too, in case it's relative.
5944 2013-12-16 Juri Linkov <juri@jurta.org>
5946 * desktop.el (desktop-auto-save-timeout): Change default to
5947 `auto-save-timeout'. Doc fix.
5948 (desktop-save): Skip the timestamp in desktop-saved-frameset
5949 when checking for auto-save changes.
5950 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5951 `desktop-auto-save' is called repeatedly by the idle timer.
5952 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5953 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5956 2013-12-16 Juri Linkov <juri@jurta.org>
5958 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5960 (isearch-pre-command-hook): Check `this-command' for symbolp.
5962 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5964 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5966 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5968 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5969 (cfengine3--current-function): Bring in the current-function
5970 functionality from `cfengine3--current-word'.
5971 (cfengine3-completion-function): Bring in the
5972 bounds-of-current-word functionality from
5973 `cfengine3--current-word'.
5975 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5977 * window.el (display-buffer-below-selected):
5978 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5980 2013-12-16 Leo Liu <sdl.web@gmail.com>
5982 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5983 Remove NOMSG arg and all uses changed.
5985 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5988 (cua--deactivate-rectangle): Don't deactivate the mark.
5989 (cua-set-rectangle-mark): Don't set mark-active since
5990 cua--activate-rectangle already does it for us.
5991 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5992 non-rectangular region.
5994 * emulation/cua-base.el (cua-repeat-replace-region):
5995 Use with-current-buffer.
5997 * net/gnutls.el: Use cl-lib.
5998 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6000 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6002 * emacs-lisp/package.el (package-built-in-p): Support both
6003 built-in and the package.el converted package descriptions.
6004 (package-show-package-list): Allow keywords.
6005 (package-keyword-button-action): Use it instead of
6006 `finder-list-matches'.
6007 (package-menu-filter-interactive): Interactive filtering (by
6009 (package-menu--generate): Support keywords and change keymappings
6010 and headers when they are given.
6011 (package--has-keyword-p): Helper function.
6012 (package-menu--refresh): Use it.
6013 (package--mapc): Helper function.
6014 (package-all-keywords): Use it.
6015 (package-menu-mode-map): Set up menu items and keybindings to
6016 provide a filtering UI.
6018 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6020 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6021 the behavior when a certificate fails validation. Defaults to
6022 old behavior: never abort, just warn.
6023 (gnutls-negotiate): Use it.
6025 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6027 * window.el (display-buffer-below-selected): Never split window
6028 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6030 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6032 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6033 (package-buffer-info): Use it (bug#15108).
6035 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6037 * icomplete.el (icomplete-completions): Make sure the prefix is already
6038 displayed elsewhere before hiding it (bug#16219).
6040 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6042 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6043 open-paren tokens when preceded by a open-paren, too.
6044 (ruby-smie-rules): Handle virtual indentation after open-paren
6045 tokens specially. If there is code between it and eol, return the
6046 column where is starts (Bug#16118).
6048 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6050 * progmodes/cfengine.el: Fix `add-hook' doc.
6051 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6052 (cfengine3--current-word): Fix parameters.
6053 (cfengine3-make-syntax-cache): Simplify further.
6054 (cfengine3-completion-function, cfengine3--current-function):
6055 Use `assq' for symbols.
6056 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6058 2013-12-13 Glenn Morris <rgm@gnu.org>
6060 * loadup.el (load-path): Warn if site-load or site-init changes it.
6061 No more need to reset it when bootstrapping.
6063 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6065 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6066 locations for cf-promises.
6067 (cfengine-mode-syntax-functions-regex): New caching variable.
6068 (cfengine3-fallback-syntax): Fallback syntax for cases where
6069 cf-promises doesn't run.
6070 (cfengine3--current-word): Reimplement using
6071 `cfengine-mode-syntax-functions-regex'.
6072 (cfengine3-completion-function, cfengine3--current-function):
6073 Use `cfengine3-make-syntax-cache' directly.
6074 (cfengine3-clear-syntax-cache): New function.
6075 (cfengine3-make-syntax-cache): Simplify and create
6076 `cfengine-mode-syntax-functions-regex' on demand.
6077 (cfengine3-format-function-docstring): Don't call
6078 `cfengine3-make-syntax-cache' explicitly.
6080 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6082 Fix windmove-find-other-window broken after pixelwise resizing
6084 * windmove.el (windmove-other-window-loc): Revert change from
6086 (windmove-find-other-window): Call window-in-direction.
6087 * window.el (window-in-direction): New arguments SIGN, WRAP and
6088 MINI to emulate original windmove-find-other-window behavior.
6090 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6092 * simple.el (blink-matching--overlay): New variable.
6093 (blink-matching-open): Instead of moving point, highlight the
6094 matching paren with an overlay
6095 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6097 * faces.el (paren-showing-faces, show-paren-match)
6098 (show-paren-mismatch): Move from paren.el.
6100 2013-12-13 Leo Liu <sdl.web@gmail.com>
6102 * indent.el (indent-region): Disable progress reporter in
6103 minibuffer. (Bug#16108)
6105 * bindings.el (visual-order-cursor-movement): Fix version.
6107 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6109 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6110 Also match after beginning of line.
6111 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6112 files. Thanks to Russell Sim. (Bug#15378)
6114 2013-12-13 Juri Linkov <juri@jurta.org>
6116 * simple.el <Keypad support>: Remove key bindings duplicated
6117 with bindings.el. (Bug#14397)
6119 2013-12-13 Juri Linkov <juri@jurta.org>
6121 * comint.el (comint-mode-map): Replace `delete-char' with
6122 `delete-forward-char'. (Bug#16109)
6124 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6126 * progmodes/python.el (python-indent-calculate-indentation):
6127 Fix de-denters cornercase. (Bug#15731)
6129 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6131 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6132 (advice--make): Pay attention to `depth'.
6133 (advice--make-1): Don't autoload commands eagerly.
6134 * emacs-lisp/elp.el (elp-instrument-function):
6135 * emacs-lisp/trace.el (trace-function-internal):
6136 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6138 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6140 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6142 * term/w32-win.el (w32-handle-dropped-file):
6143 * startup.el (normal-top-level):
6144 * net/browse-url.el (browse-url-file-url):
6145 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6146 decode file names using 'utf-8' rather than
6147 file-name-coding-system.
6149 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6151 * progmodes/python.el (python-indent-context)
6152 (python-indent-calculate-indentation): Fix auto-identation
6153 behavior for comment blocks. (Bug#15916)
6155 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6157 * progmodes/python.el (python-indent-calculate-indentation):
6158 When determining indentation, don't treat "return", "pass", etc., as
6159 operators when they are just string constituents. (Bug#15812)
6161 2013-12-12 Juri Linkov <juri@jurta.org>
6163 * uniquify.el (uniquify-buffer-name-style): Change default to
6164 `post-forward-angle-brackets'.
6166 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6167 `uniquify'. Change default to `post-forward-angle-brackets'.
6169 2013-12-11 Glenn Morris <rgm@gnu.org>
6171 * emacs-lisp/package.el (finder-list-matches):
6172 Autoload rather than falsely declaring.
6174 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6176 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6177 (eww-mode-map): Use them.
6179 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6181 * window.el (display-buffer-in-side-window): Fix doc-string
6184 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6186 * vc/vc-git.el: Silence byte-compiler warnings.
6187 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6188 (log-edit-set-header): Declare.
6190 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6192 * Makefile.in (custom-deps, finder-data): Run output file names
6193 through unmsys--file-name. (Bug#16099)
6195 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6197 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6198 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6200 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6201 instead of deleting the selection "by hand" (bug#16098).
6202 Rely on insert-for-yank to yank rectangles.
6203 (cua-highlight-region-shift-only): Mark obsolete.
6204 (cua-mode): Don't enable/disable transient-mark-mode,
6205 shift-select-mode (cua-mode works both with and without them), and
6206 pc-selection-mode (obsolete).
6207 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6208 (cua--deactivate-rectangle): Deactivate it.
6210 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6211 (delete-selection-helper): Make sure yank starts at the top of the
6213 (minibuffer-keyboard-quit): Use region-active-p.
6215 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6217 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6218 to `delete' (bug#16109).
6220 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6222 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6223 info manual and show keybindings and set `:group' keyword.
6225 2013-12-11 Juri Linkov <juri@jurta.org>
6227 * delsel.el (delete-active-region): Let-bind `this-command'
6228 to prevent `kill-region' from changing its original value.
6229 (delete-selection-helper): Handle `overwrite-mode' for the type
6230 `kill' exactly the same way as for the type `t'.
6231 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6232 Support more commands. (Bug#13312)
6234 2013-12-11 Juri Linkov <juri@jurta.org>
6236 * bindings.el: Map kp keys to non-kp keys systematically
6237 with basic modifiers control, meta and shift. (Bug#14397)
6239 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6241 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6242 "Close browser" menu items. Fix wrong function of "List
6245 2013-12-11 Juri Linkov <juri@jurta.org>
6247 * misearch.el (multi-isearch-buffers): Set the value of
6248 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6249 arg of isearch-forward to t.
6250 (multi-isearch-buffers-regexp): Set the value of
6251 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6252 arg of isearch-forward-regexp to t.
6253 (multi-isearch-files): Set the value of
6254 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6255 arg of isearch-forward to t.
6256 (multi-isearch-files-regexp): Set the value of
6257 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6258 arg of isearch-forward-regexp to t. (Bug#16035)
6260 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6261 arg of isearch-forward to t.
6262 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6263 arg of isearch-forward-regexp to t.
6264 (dired-isearch-filter-filenames): Remove unnecessary check for
6265 `dired-isearch-filenames'.
6267 * comint.el (comint-history-isearch-backward):
6268 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6269 (comint-history-isearch-backward-regexp):
6270 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6272 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6274 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6275 unmsys--file-name. (Bug#16099)
6277 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6279 * emacs-lisp/package.el (package-keyword-button-action):
6280 Remove finder.el require dependency.
6282 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6284 * emacs-lisp/package.el: Require finder.el.
6285 (describe-package-1): Add keyword buttons.
6286 (package-make-button): New convenience function.
6287 (package-keyword-button-action): Keyword button action using
6288 `finder-list-matches'.
6290 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6292 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6295 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6297 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6300 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6302 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6303 after the end of a percent literal.
6305 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6307 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6308 Handle caret-delimited strings (Bug#16079).
6310 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6312 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6313 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6314 `ruby-parse-partial' (Bug#16078).
6316 2013-12-09 Leo Liu <sdl.web@gmail.com>
6318 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6320 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6322 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6323 (js-switch-indent-offset): New option.
6324 (js--proper-indentation): Use it. And handle the case when
6325 "default" is actually a key in an object literal.
6326 (js--same-line): New function.
6327 (js--multi-line-declaration-indentation): Use it.
6328 (js--indent-in-array-comp, js--array-comp-indentation):
6330 (js--proper-indentation): Use them, to handle array comprehension
6333 2013-12-08 Leo Liu <sdl.web@gmail.com>
6335 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6336 (flymake-make-overlay): Remove arg MOUSE-FACE.
6337 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6339 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6343 (redisplay-highlight-region-function): Use it.
6345 * emulation/cua-base.el (cua--explicit-region-start)
6346 (cua--last-region-shifted): Remove.
6347 (cua--deactivate): Use deactivate-mark.
6348 (cua--pre-command-handler-1): Don't handle shift-selection.
6349 (cua--post-command-handler-1): Don't change transient-mark-mode.
6350 (cua--select-keymaps): Use region-active-p rather than
6351 cua--explicit-region-start or cua--last-region-shifted.
6352 (cua-mode): Enable shift-select-mode.
6354 2013-12-08 Leo Liu <sdl.web@gmail.com>
6356 * progmodes/flymake.el (flymake-popup-current-error-menu):
6357 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6358 (flymake-posn-at-point-as-event, flymake-popup-menu)
6359 (flymake-make-emacs-menu): Remove. (Bug#16077)
6361 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6363 * rect.el (rectangle-mark-mode): Activate mark even if
6364 transient-mark-mode is off (bug#16066).
6365 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6366 is > mark and at bolp.
6368 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6369 (region-extract-function): Use it.
6370 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6371 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6373 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6374 kill-ring-save, kill-region, delete-char, delete-forward-char.
6375 Ignore self-insert-iso.
6377 * emulation/cua-gmrk.el (cua--init-global-mark):
6378 Ignore `self-insert-iso'.
6380 * emulation/cua-base.el (cua--prefix-copy-handler)
6381 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6382 checking cua--rectangle.
6383 (cua-delete-region): Use region-extract-function.
6384 (cua-replace-region): Delete function.
6385 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6386 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6387 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6388 (cua--init-keymaps): Don't remap delete-selection commands.
6389 (cua-mode): Use delete-selection-mode instead of rolling our own
6392 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6393 Obey region-extract-function.
6395 Make registers and delete-selection-mode work on rectangles.
6396 * register.el (describe-register-1): Don't modify the register's value.
6397 (copy-to-register): Obey region-extract-function.
6398 * delsel.el (delete-active-region): Obey region-extract-function.
6400 2013-12-08 Leo Liu <sdl.web@gmail.com>
6402 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6403 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6404 (flymake-compilation-prevents-syntax-check)
6405 (flymake-start-syntax-check-on-newline)
6406 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6407 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6408 (flymake-xml-program, flymake-master-file-dirs)
6409 (flymake-master-file-count-limit)
6410 (flymake-allowed-file-name-masks): Relocate.
6411 (flymake-makehash, flymake-float-time)
6412 (flymake-replace-regexp-in-string, flymake-split-string)
6413 (flymake-get-temp-dir): Remove.
6414 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6415 (flymake-current-row, flymake-selected-frame)
6416 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6417 related functions. (Bug#16077)
6419 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6421 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6423 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6425 * help-fns.el (describe-function-1): Use new advice-* functions
6426 rather than old ad-* functions. Fix function type description and
6427 source links for advised functions and subrs.
6429 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6431 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6433 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6435 * progmodes/compile.el (compilation-start):
6436 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6438 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6439 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6441 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6444 Touch up the last change.
6446 2013-12-06 Leo Liu <sdl.web@gmail.com>
6448 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6449 (inferior-octave-startup): Always use "octave> " for prompt.
6450 (octave-goto-function-definition)
6451 (octave-sync-function-file-names)
6452 (octave-find-definition-default-filename): Remove redundant backquotes.
6454 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6456 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6458 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6459 where appropriate already.
6460 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6461 end of method names (Bug#15874).
6463 2013-12-06 Juri Linkov <juri@jurta.org>
6465 * isearch.el (isearch--saved-overriding-local-map):
6466 New internal variable.
6467 (isearch-mode): Set it to the initial value of
6468 `overriding-terminal-local-map'.
6469 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6470 with `isearch--saved-overriding-local-map'. (Bug#16035)
6472 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6474 * progmodes/octave.el (inferior-octave-completion-table):
6475 Turn back into function, use `completion-table-with-cache'
6476 (Bug#11906). Update all references.
6478 * minibuffer.el (completion-table-with-cache): New function.
6480 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6482 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6484 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6486 * net/eww.el (eww-current-source): New variable to store page
6488 (eww-display-html, eww-mode, eww-save-history)
6489 (eww-restore-history): Use it.
6490 (eww-view-source): New command to view page source.
6491 Opportunistically uses `html-mode' to highlight the buffer.
6492 (eww-mode-map): Install it.
6494 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6496 * net/dbus.el (dbus-unregister-service)
6497 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6499 (dbus-unregister-service): Skip :serial entries in
6500 `dbus-registered-objects-table'.
6501 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6503 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6505 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6506 around keywords with extra `split-string' argument.
6508 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6510 * windmove.el (windmove-other-window-loc): Handle navigation
6511 between windows (excluding the minibuffer window - Bug#16017).
6513 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6515 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6516 in D-Bus type syntax.
6517 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6518 preserve unibyte strings. (Bug#16048)
6520 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6522 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6523 Call force-mode-line-update is the proper buffer (bug#16042).
6525 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6527 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6528 `log-edit-remember-comment', make argument optional. Adjust all
6530 (log-edit-mode): Add `log-edit-remember-comment' to
6531 `kill-buffer-hook' locally.
6532 (log-edit-kill-buffer): Don't remember comment explicitly since
6533 the buffer is killed anyway.
6535 2013-12-04 Juri Linkov <juri@jurta.org>
6537 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6538 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6540 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6542 * notifications.el (notifications-close-notification): Call the
6543 D-Bus method with ID being a `:uint32'. (Bug#16030)
6545 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6547 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6549 2013-12-03 Juri Linkov <juri@jurta.org>
6551 * progmodes/compile.el (compilation-start): Rename window alist
6552 entry `no-display-ok' to `allow-no-window'.
6554 * simple.el (shell-command): Add window alist entry
6555 `allow-no-window' to `display-buffer'.
6556 (async-shell-command): Doc fix.
6558 * window.el (display-buffer-no-window): New action function.
6559 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6561 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6563 * vc/log-edit.el (log-edit-set-header): Extract from
6564 `log-edit-toggle-header'.
6565 (log-edit-extract-headers): Separate the summary, when extracted
6566 from header, from the rest of the message with an empty line.
6568 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6569 line, if present, to the Summary header.
6571 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6573 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6574 in current-buffer (bug#16029).
6576 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6578 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6579 (debugger-mode-map): Bind it.
6580 (debugger--backtrace-base): New function.
6581 (debugger-eval-expression): Use it.
6582 (debugger-frame-number): Skip local vars when present.
6583 (debugger--locals-visible-p, debugger--insert-locals)
6584 (debugger--show-locals, debugger--hide-locals): New functions.
6586 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6588 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6590 (tramp-get-remote-locale): New defun.
6591 (tramp-open-connection-setup-interactive-shell): Use it.
6593 2013-12-02 Leo Liu <sdl.web@gmail.com>
6595 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6597 * progmodes/sh-script.el (sh-shell-process):
6598 * progmodes/octave.el (inferior-octave-process-live-p):
6599 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6600 (gdb-inferior-io-sentinel):
6601 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6603 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6605 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6606 `save-selected-window' to `log-edit-hide-buf'. This makes
6607 `log-edit-show-files' idempotent.
6608 (log-edit-show-files): Mark the new window as dedicated.
6610 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6612 * vc/log-edit.el (log-edit-mode-map): Add binding for
6613 `log-edit-kill-biffer'.
6614 (log-edit-hide-buf): Add a FIXME comment.
6615 (log-edit-add-new-comment): New function, extracted from
6617 (log-edit-done, log-edit-add-to-changelog): Use it.
6618 (log-edit-kill-buffer): New command.
6620 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6622 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6623 instead of killing the buffer.
6625 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6629 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6631 * net/eww.el (eww-form-checkbox-selected-symbol)
6632 (eww-form-checkbox-symbol): New customizable variable.
6633 (eww-form-checkbox, eww-toggle-checkbox):
6634 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6636 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6637 (shr--get-media-pref, shr--extract-best-source): New function.
6638 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6639 no :src tag was specified.
6641 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6642 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6643 Use \\` to match beginning of string instead of ^.
6644 (eww-browse-with-external-browser): Provide optional URL parameter.
6645 (eww-render): Set `eww-current-title' back to "".
6647 * net/shr.el (shr-tag-video): Display content for video if no
6648 poster is available.
6649 (shr-tag-audio): Add support for <audio> tag.
6651 * net/eww.el (eww-text-input-types): New const.
6652 (eww-process-text-input): Treat input types in
6653 `eww-text-input-types' as text.
6655 * net/shr.el (shr-tag-table): Fix comment typo.
6657 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6659 * net/eww.el (eww-follow-link): New command to avoid reloading
6660 pages when we follow #target links (bug#15243).
6661 (eww-quit): Special mode buffers shouldn't query before exiting.
6663 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6665 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6668 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6670 * net/eww.el (eww-restore-history): Update the window title after
6671 moving in the history.
6672 (eww-current-dom): New variable used to save the current DOM.
6674 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6676 * vc/log-edit.el (log-edit-mode-map): Add binding for
6677 `log-edit-beginning-of-line'.
6678 (log-edit-setup-add-author): New user option.
6679 (log-edit-beginning-of-line): New command.
6680 (log-edit): Move major mode call above the contents setup so that
6681 the local variable values are already applied.
6682 (log-edit): Only insert "Author: " when
6683 `log-edit-setup-add-author' is non-nil.
6684 (log-edit): When SETUP is non-nil, position point after ": "
6685 instead of point-min.
6687 2013-12-01 Glenn Morris <rgm@gnu.org>
6689 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6691 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6693 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6694 redisplay to make sure the initial frame gets a chance to become
6695 visible. (Bug#16014)
6697 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6699 Support resizing frames and windows pixelwise.
6700 * cus-start.el (frame-resize-pixelwise)
6701 (window-resize-pixelwise): New entries.
6702 * emacs-lisp/debug.el (debug): Use window-total-height instead
6703 of window-total-size.
6704 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6705 * help.el (describe-bindings-internal): Use help-buffer as
6706 argument for with-help-window.
6707 (temp-buffer-max-width): New option.
6708 (resize-temp-buffer-window, help-window-setup)
6709 (with-help-window): Rewrite.
6710 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6712 * window.el (frame-char-size, window-min-pixel-height)
6713 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6714 (window-min-pixel-width, window-safe-min-pixel-size)
6715 (window-combination-p, window-safe-min-size)
6716 (window-resizable-p, window--size-to-pixel)
6717 (window--pixel-to-size, window--resize-apply-p): New functions.
6718 (window-safe-min-height): Fix doc-string.
6719 (window-size, window-min-size, window--min-size-1)
6720 (window-sizable, window-sizable-p, window--min-delta-1)
6721 (window-min-delta, window--max-delta-1, window-max-delta)
6722 (window--resizable, window--resizable-p, window-resizable)
6723 (window-full-height-p, window-full-width-p, window-at-side-p)
6724 (window--in-direction-2, window-in-direction)
6725 (window--resize-reset-1, window--resize-mini-window)
6726 (window-resize, window-resize-no-error)
6727 (window--resize-child-windows-normal)
6728 (window--resize-child-windows, window--resize-siblings)
6729 (window--resize-this-window, window--resize-root-window)
6730 (window--resize-root-window-vertically)
6731 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6732 (maximize-window, minimize-window, delete-window)
6733 (quit-restore-window, window-split-min-size, split-window)
6734 (balance-windows-2, balance-windows)
6735 (balance-windows-area-adjust, balance-windows-area)
6736 (window--state-get-1, window-state-get, window--state-put-1)
6737 (window--state-put-2, window-state-put)
6738 (display-buffer-record-window, window--display-buffer):
6739 Make functions handle pixelwise sizing of windows.
6740 (display-buffer--action-function-custom-type)
6741 (display-buffer-fallback-action):
6742 Add display-buffer-in-previous-window.
6743 (display-buffer-use-some-window): Resize window to height it had
6745 (fit-window-to-buffer-horizontally): New option.
6746 (fit-frame-to-buffer): Describe new values.
6747 (fit-frame-to-buffer-bottom-margin): Replace with
6748 fit-frame-to-buffer-margins.
6749 (window--sanitize-margin): New function.
6750 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6751 using window-text-pixel-size.
6753 2013-11-30 Glenn Morris <rgm@gnu.org>
6755 * emacs-lisp/bytecomp.el (byte-compile-form):
6756 Make the `interactive-only' warning like the `obsolete' one.
6757 * comint.el (comint-run):
6758 * files.el (insert-file-literally, insert-file):
6759 * replace.el (replace-string, replace-regexp):
6760 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6761 (goto-line, insert-buffer, next-line, previous-line):
6762 Tweak `interactive-only' spec.
6764 Stop keeping (most) generated cedet grammar files in the repository.
6765 * Makefile.in (semantic): New.
6766 (compile-main): Depend on semantic.
6768 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6770 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6771 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6773 * uniquify.el (uniquify-buffer-name-style): Change default.
6775 * loadup.el: Preload "uniquify".
6777 * time.el (display-time-update): Update all mode lines (bug#15999).
6779 * electric.el (electric-indent-mode): Enable by default.
6780 * loadup.el: Preload "electric".
6782 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6784 * emacs-lisp/helpers.el (string-empty-p): New function.
6785 (string-blank-p): New function.
6787 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6789 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6792 2013-11-29 Andreas Politz <politza@fh-trier.de>
6793 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6794 allow non-lambda lists as functions.
6795 (imenu--in-alist): Don't recurse into non-subalists.
6796 (imenu): Don't pass function itself as an argument (Bug#14029).
6798 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6800 * progmodes/python.el (python-mode-map): Remove binding for ":".
6801 (python-indent-electric-colon): Remove command.
6802 (python-indent-post-self-insert-function): Integrate the previous code
6803 of python-indent-electric-colon. Make it conditional on
6804 electric-indent-mode.
6805 (python-mode): Add ?: to electric-indent-chars.
6806 Move python-indent-post-self-insert-function to the end of
6807 post-self-insert-hook.
6809 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * doc-view.el (doc-view-goto-page): Update mode-line.
6813 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6815 2013-11-27 Glenn Morris <rgm@gnu.org>
6817 * international/charprop.el, international/uni-bidi.el:
6818 * international/uni-category.el, international/uni-combining.el:
6819 * international/uni-comment.el, international/uni-decimal.el:
6820 * international/uni-decomposition.el, international/uni-digit.el:
6821 * international/uni-lowercase.el, international/uni-mirrored.el:
6822 * international/uni-name.el, international/uni-numeric.el:
6823 * international/uni-old-name.el, international/uni-titlecase.el:
6824 * international/uni-uppercase.el:
6825 Remove generated files from VCS repository.
6827 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6829 * filenotify.el (file-notify-add-watch): Don't special-case
6830 w32notify when computing the directory to watch.
6832 2013-11-27 Glenn Morris <rgm@gnu.org>
6834 Make bootstrap without generated uni-*.el files possible again.
6835 * loadup.el: Update command-line-args checking for unidata-gen.
6836 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6837 * composite.el, international/characters.el:
6838 Handle unicode tables being undefined.
6840 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6841 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6842 (compile-main): Depend on leim rule.
6844 * loadup.el: Move leim-list.el to leim/ subdirectory.
6845 * startup.el (normal-top-level): No more leim directory.
6846 * international/ja-dic-cnv.el (skkdic-convert):
6847 Disable version-control and autoloads in output files.
6848 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6849 Disable version-control and autoloads in output files.
6850 * leim/quail: Move here from ../leim.
6851 * leim/quail/hangul.el (hangul-input-method-activate):
6852 Add autoload cookie.
6853 (generated-autoload-load-name): Set file-local value.
6854 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6855 (generated-autoload-load-name): Set file-local value.
6857 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6859 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6860 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6861 (eww-quit): Ask confirmation before quitting eww.
6863 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6865 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6866 reading output from Diff on MS-Windows and MS-DOS.
6868 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6870 * emacs-lisp/helpers.el (string-reverse): New function.
6872 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6874 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6875 names on MS Windows, like "/[::1]:".
6877 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6880 2013-11-26 Glenn Morris <rgm@gnu.org>
6882 * progmodes/python.el (python-indent-guess-indent-offset):
6883 Avoid corner-case error. (Bug#15975)
6885 Preload leim-list.el. (Bug#4789)
6886 * loadup.el: Load leim-list.el when found.
6887 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6889 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6891 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6893 * emacs-lisp/helpers.el (string-join): New function.
6895 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6897 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6898 Mark as obsolete and replace it with a symbol property.
6899 (byte-compile-form): Use new 'interactive-only property.
6900 * comint.el, files.el, replace.el, simple.el:
6901 Apply new 'interactive-only properly.
6903 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6905 * window.el (display-buffer-at-bottom): Make sure that
6906 split-window-sensibly creates the new window on bottom
6909 2013-11-23 David Kastrup <dak@gnu.org>
6911 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6912 on the conflict markers when available.
6913 (smerge--get-marker): New function.
6914 (smerge-end-re, smerge-base-re): Add subgroup.
6916 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6918 * frame.el (handle-focus-in, handle-focus-out): Add missing
6921 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6923 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6924 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6926 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6928 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6929 (gomoku--last-pos): New var.
6930 (gomoku--intangible-chars): New const.
6931 (gomoku--intangible): New function.
6932 (gomoku-mode): Use it. Derive from special-mode.
6933 (gomoku-move-up): Adjust line count.
6934 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6935 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6936 Simplify accordingly.
6938 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6939 Remove blink-cursor code.
6940 (blink-cursor-timer-function, blink-cursor-suspend):
6941 Don't special-case GUIs.
6942 (blink-cursor-mode): Use focus-in/out-hook.
6944 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6946 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6947 work when annotation is invisible (Bug#13886).
6949 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6951 * json.el (json-alist-p): Only return non-nil if the alist has
6952 simple keys (Bug#13518).
6954 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6956 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6957 when control-statement is the first statement in a buffer (Bug#15956).
6959 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6961 * imenu.el (imenu-generic-skip-comments-and-strings):
6962 New option (Bug#15560).
6963 (imenu--generic-function): Use it.
6965 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6967 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6970 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6972 * emacs-lisp/helpers.el: Add some string helpers.
6973 (string-trim-left): Removes leading whitespace.
6974 (string-trim-right): Removes trailing whitespace.
6975 (string-trim): Removes leading and trailing whitespace.
6977 * subr.el (string-suffix-p): New function.
6979 2013-11-23 Glenn Morris <rgm@gnu.org>
6981 * progmodes/python.el (python-shell-send-file):
6982 Add option to delete file when done. (Bug#15647)
6983 (python-shell-send-string, python-shell-send-region): Use it.
6985 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6987 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6988 to set buffer-read-only to t, never to nil. (Bug#15938)
6990 * textmodes/tex-mode.el (latex-noindent-environments):
6991 Add safe-local-variable property. (Bug#15936)
6993 2013-11-23 Glenn Morris <rgm@gnu.org>
6995 * textmodes/enriched.el (enriched-mode): Doc fix.
6996 * emacs-lisp/authors.el (authors-renamed-files-alist):
6997 Add enriched.doc -> enriched.txt.
6999 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7001 2013-11-22 Leo Liu <sdl.web@gmail.com>
7003 * progmodes/octave.el (inferior-octave-startup): Spit out error
7006 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7008 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7011 (ruby-encoding-magic-comment-style): Add :version.
7013 2013-11-22 Leo Liu <sdl.web@gmail.com>
7015 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7017 (octave-help-mode): Adapt to change to help-mode-finish to use
7018 derived-mode-p on 2013-09-17.
7019 (inferior-octave-prompt): Also match octave-gui.
7020 (octave-kill-process): Don't ask twice. (Bug#10564)
7022 2013-11-22 Leo Liu <sdl.web@gmail.com>
7024 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7025 (inferior-octave-startup, inferior-octave-check-process)
7026 (inferior-octave-track-window-width-change)
7027 (octave-completion-at-point, octave-eldoc-function): Use it.
7028 (octave-kill-process): Provide confirmation. (Bug#10564)
7030 2013-11-21 Leo Liu <sdl.web@gmail.com>
7032 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7033 Fix obsolete variable comment-use-global-state.
7035 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7037 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7038 Add `octave-source-file'.
7039 (octave-source-file): New function. (Bug#15935)
7041 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7043 * net/eww.el (eww-local-regex): New variable.
7044 (eww): Use it to detect localhost and similar.
7046 2013-11-21 Leo Liu <sdl.web@gmail.com>
7048 Add completion for command `ag'.
7049 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7050 (pcomplete/ag): New function.
7051 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7053 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7055 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7057 (make-obsolete): Remove interactive spec.
7059 2013-11-21 Glenn Morris <rgm@gnu.org>
7061 * startup.el (command-line-1): Use path-separator with -L.
7063 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7065 * emacs-lisp/package.el (describe-package-1): Add package archive
7068 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7070 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7071 Change default to "# encoding: %s" to differentiate it from the
7072 default Ruby encoding comment template.
7074 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7076 * ses.el (ses-mode): Doc fix. (Bug#14748)
7078 2013-11-20 Leo Liu <sdl.web@gmail.com>
7080 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7082 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7084 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7085 when rebase or bisect are in progress.
7087 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7089 * filenotify.el (file-notify-add-watch): Doc fix.
7091 2013-11-19 Leo Liu <sdl.web@gmail.com>
7093 * obsolete/rcompile.el: Mark obsolete.
7095 * progmodes/compile.el (compilation-start)
7096 (compilation-goto-locus, compilation-find-file):
7097 Pass no-display-ok and handle nil value from display-buffer.
7100 * window.el (display-buffer-alist, display-buffer): Document the
7101 new parameter no-display-ok. Return either a window or nil
7102 but never a non-window value.
7104 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7106 * electric.el (electric-indent-mode-map): Remove.
7107 (electric-indent-mode): Change the global-map instead (bug#15915).
7109 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7112 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * emacs-lisp/nadvice.el (remove-function): Align with
7115 add-function's behavior.
7117 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7118 (gdb--string-regexp): New constant.
7119 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7120 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7121 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7123 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7124 Adjust use accordingly.
7125 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7127 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7129 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7130 interpolation curlies (Bug#15914).
7132 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7134 * calc/calc.el (calc-context-sensitive-enter): New variable.
7135 (calc-enter): Use `calc-context-sensitive-enter'.
7137 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7139 * progmodes/cfengine.el: Version bump.
7140 (cfengine-cf-promises): New defcustom to locate cf-promises.
7141 (cfengine3-vartypes): Add new "data" type.
7142 (cfengine3--current-word): New function to get current name-like
7144 (cfengine3--current-function): New function to look up a CFEngine
7145 function's definition.
7146 (cfengine3-format-function-docstring): New function.
7147 (cfengine3-make-syntax-cache): New function.
7148 (cfengine3-documentation-function): New function: ElDoc glue.
7149 (cfengine3-completion-function): New function: completion glue.
7150 (cfengine3-mode): Set `compile-command',
7151 `eldoc-documentation-function', and add to
7152 `completion-at-point-functions'.
7154 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7156 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7157 `tramp-current-connection'.
7159 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7161 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7162 nil/self/true/false with "end of symbol".
7164 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7166 * subr.el (version-regexp-alist): Fix a typo.
7168 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7170 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7171 "en_US.utf8" and "LC_CTYPE" to "".
7172 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7173 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7175 2013-11-15 Leo Liu <sdl.web@gmail.com>
7177 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7179 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7181 * progmodes/gud.el (ctl-x-map):
7182 Remove C-x SPC binding. (Bug#12342)
7183 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7185 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7187 * subr.el (version-regexp-alist):
7188 Recognize hg, svn and darcs versions as snapshot versions.
7190 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7191 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7192 (ruby--encoding-comment-required-p): Extract from
7193 `ruby-mode-set-encoding'.
7194 (ruby-mode-set-encoding): Add the ability to always insert an
7195 utf-8 encoding comment. Fix and simplify coding comment update
7198 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7200 * net/tramp-gvfs.el (top): Run init code only when
7201 `tramp-gvfs-enabled' is not nil.
7202 (tramp-gvfs-enabled): Check also :system bus.
7204 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7206 Sync with upstream verilog-mode revision 78e66ba.
7207 * progmodes/verilog-mode.el (verilog-end-of-defun)
7208 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7209 (verilog-get-end-of-defun): Remove unused argument.
7210 (verilog-comment-depth): Remove unused local `e'.
7211 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7212 Don't pass arg to verilog-get-end-of-defun.
7214 2013-11-14 Glenn Morris <rgm@gnu.org>
7216 * obsolete/assoc.el (aget): Prefix dynamic variable.
7218 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7220 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7222 * widget.el, hfy-cmap.el: Remove bogus package version number.
7224 2013-11-13 Glenn Morris <rgm@gnu.org>
7226 * replace.el (replace-eval-replacement):
7227 Try to give more helpful error message. (Bug#15836)
7229 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7230 (archive-7z-update): Avoid custom type mismatches.
7232 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7234 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7236 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7237 address can be empty.
7239 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7240 Accept nil SWITCHES.
7241 (tramp-gvfs-handle-write-region): Implement APPEND.
7243 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7245 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7246 binary "|" operator and closing block args delimiter.
7247 Remove FIXME comment referring to Ruby 1.8-only syntax.
7248 (ruby-smie--implicit-semi-p): Not after "|" operator.
7249 (ruby-smie--closing-pipe-p): New function.
7250 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7251 (ruby-smie-rules): Indent after "|".
7253 2013-11-12 Glenn Morris <rgm@gnu.org>
7255 * ps-print.el (ps-face-attribute-list):
7256 Handle anonymous faces. (Bug#15827)
7258 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7260 * window.el (display-buffer-other-frame): Fix doc-string.
7263 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7267 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7269 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7270 (tramp-sh-handle-file-local-copy): Don't write a message when
7271 saving temporary files.
7273 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7274 both directories are remote.
7275 (tramp-smb-handle-directory-files): Do not return double entries.
7276 Do not expand full file names.
7277 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7278 (tramp-smb-handle-write-region): Implement APPEND.
7279 (tramp-smb-get-stat-capability): Fix a stupid bug.
7281 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7283 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7285 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7287 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7288 throwing error over malformed let/let* (bug#15814).
7290 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7292 * iswitchb.el (iswitchb-mode): Mark obsolete.
7294 2013-11-11 Glenn Morris <rgm@gnu.org>
7296 * international/uni-bidi.el, international/uni-category.el:
7297 * international/uni-name.el, international/uni-numeric.el:
7298 Regenerate for Unicode 6.3.0.
7300 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7302 * net/tramp.el (tramp-methods):
7303 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7304 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7306 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7308 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7309 Force highlighting text after Summary keyword in doc face for rpm.
7311 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7313 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7314 available and the word has no wildcards, append one to the grep pattern.
7315 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7316 (ispell-complete-word): Call `ispell-lookup-words' with the value
7317 independent of `ispell-look-p'.
7319 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7321 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7323 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7326 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7328 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7329 (ruby-font-lock-keywords): Use backquote.
7331 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7333 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7334 (ruby-smie--backward-token): Only consider full-string matches.
7336 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7338 * faces.el (describe-face): Add distant-foreground.
7340 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7342 * progmodes/ruby-mode.el: Improve encoding comment handling.
7343 (ruby-encoding-magic-comment-style): New option.
7344 (ruby-custom-encoding-magic-comment-template): New option.
7345 (ruby--insert-coding-comment, ruby--detect-encoding):
7346 New functions extracted from `ruby-mode-set-encoding'.
7347 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7348 to control the style of the auto-inserted encoding comment.
7350 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7352 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7353 Use `smie-backward-sexp' with token argument.
7355 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7357 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7358 Remove instrumentation code.
7360 2013-11-08 Glenn Morris <rgm@gnu.org>
7362 * progmodes/autoconf.el (autoconf-mode):
7363 Tweak comment-start-skip. (Bug#15822)
7365 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7367 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7368 at bobp (bug#15826).
7369 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7371 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7373 * man.el (Man-start-calling): New macro, extracted from
7374 Man-getpage-in-background.
7375 (Man-getpage-in-background): Use it.
7376 (Man-update-manpage): New command.
7377 (Man-mode-map): Bind it.
7379 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7381 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7382 of "and", "or", "&&" and "||".
7383 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7384 argument. Prohibit opening curly brace because it could only be a
7385 block opener in that position.
7386 (ruby-smie--forward-token, ruby-smie--backward-token):
7387 Separate "|" from "&" or "*" going after it. That can happen in block
7389 (ruby-smie--indent-to-stmt): New function, seeks the end of
7390 previous statement or beginning of buffer.
7391 (ruby-smie-rules): Use it.
7392 (ruby-smie-rules): Check if there's a ":" before a curly block
7393 opener candidate; if there is, it's a hash.
7395 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7397 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7398 (cl--block-wrapper): Fix last accidental change.
7400 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7402 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7403 Instrument, in order to hunt failure on hydra.
7405 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7407 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7408 malformed bindings form (bug#15814).
7410 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7412 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7413 "." compared to " @ ". This incidentally fixes some indentation
7415 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7416 (ruby-smie-grammar): New tokens: "and" and "or".
7417 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7418 Exclude "and" and "or". Remove "do" in order to work around token
7420 (ruby-smie-rules): Add all infix tokens. Handle the case of
7421 beginning-of-buffer.
7423 2013-11-06 Glenn Morris <rgm@gnu.org>
7425 * Makefile.in (setwins_almost, setwins_for_subdirs):
7426 Avoid accidental matches.
7428 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7430 * menu-bar.el (popup-menu): Use key-binding.
7432 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7434 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7435 menus, support also the menus produced by minor modes.
7438 2013-11-06 Leo Liu <sdl.web@gmail.com>
7440 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7441 DISTANCE to bound the search. All uses changed. (Bug#15808)
7443 2013-11-06 Glenn Morris <rgm@gnu.org>
7445 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7446 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7447 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7449 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7451 * electric.el (electric-indent-just-newline): New command.
7452 (electric-indent-mode-map): New keymap.
7453 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7454 Re-add :group which weren't redundant.
7456 * electric.el (electric-indent-local-mode): New minor mode.
7457 (electric-indent-functions-without-reindent): New var.
7458 (electric-indent-post-self-insert-function): Use it.
7459 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7461 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7463 * international/quail.el (quail-help): Be more explicit about the
7464 meaning of the labels shown on the keys. (Bug#15800)
7466 * startup.el (normal-top-level): Load the subdirs.el files before
7467 setting the locale environment. (Bug#15805)
7469 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7472 via arguments so as to get the right ones (bug#15418).
7474 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7476 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7478 Fix problems found while writing a test suite.
7480 * net/tramp-compat.el (tramp-compat-load): New defun.
7481 * net/tramp.el (tramp-handle-load): Use it.
7483 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7484 "(numberp ok-if-already-exists)" correctly.
7486 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7488 * international/characters.el (glyphless-char-display-control):
7491 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7493 * progmodes/python.el (python-mode):
7494 * progmodes/scheme.el (scheme-mode):
7495 * progmodes/prolog.el (prolog-mode):
7496 * progmodes/ruby-mode.el (ruby-mode):
7497 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7498 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7500 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7502 * rect.el (rectangle--highlight-for-redisplay):
7503 * emacs-lisp/smie.el (smie--next-indent-change):
7504 Use buffer-chars-modified-tick.
7506 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7508 * electric.el (electric-indent-post-self-insert-function):
7509 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7511 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7513 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7515 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7517 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7520 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7522 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7524 * progmodes/python.el: Fix up last change.
7525 (python-shell--save-temp-file): New function.
7526 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7527 `string' comes from the current buffer.
7528 (python-shell-send-string-no-output): Remove `msg' arg.
7529 (python--use-fake-loc): New var.
7530 (python-shell-buffer-substring): Obey it. Try to compensate for the
7531 extra coding line added by python-shell--save-temp-file.
7532 (python-shell-send-region): Use python-shell--save-temp-file and
7533 python-shell-send-file directly. Add `nomain' argument.
7534 (python-shell-send-buffer): Use python-shell-send-region.
7535 (python-electric-pair-string-delimiter): New function.
7536 (python-mode): Use it.
7538 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7540 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7541 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7542 environment and decoding all of the default-directory's to here
7544 (command-line): Decode also argv[0].
7546 * loadup.el: Error out if default-directory is a multibyte string
7547 when we are dumping.
7549 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7551 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7553 * emacs-lisp/package.el (package-menu-mode)
7554 (package-menu--print-info, package-menu--archive-predicate):
7555 Add Archive column to package list.
7557 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7559 Fix problems found while writing a test suite.
7561 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7562 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7563 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7564 to nil when running original file name handler. Otherwise,
7565 there are problems with constructs like "$$FOO".
7567 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7570 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7572 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7574 * subr.el (version<, version<=, version=):
7575 Update docstrings with information for snapshot versions.
7577 * helpers.el: New library for misc helper functions.
7578 (hash-table-keys): New function returning a list of hash keys.
7579 (hash-table-values): New function returning a list of hash values.
7581 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7583 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7584 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7586 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7588 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7589 checking whether point is after a 1-letter word.
7591 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7593 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7594 Don't infloop when expanding region over `multiline' syntax-type that
7595 begins a line (bug#15778).
7597 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7600 Make it into a proper minor mode.
7601 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7602 (rectangle-mark-mode-map): New keymap.
7603 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7605 2013-11-04 Glenn Morris <rgm@gnu.org>
7607 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7609 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7611 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7612 (ruby-smie-rules): Use smie-rule-parent instead.
7614 * emacs-lisp/smie.el (smie-rule-parent): Always call
7615 smie-indent-virtual rather than only for hanging tokens.
7616 (smie--next-indent-change): New helper command.
7618 2013-11-03 Glenn Morris <rgm@gnu.org>
7620 * Makefile.in (abs_srcdir): Remove.
7621 (emacs): Unset EMACSLOADPATH.
7623 2013-11-02 Glenn Morris <rgm@gnu.org>
7625 * Makefile.in (EMACS): Use a relative filename.
7626 (abs_top_builddir): Remove.
7627 (custom-deps, finder-data, autoloads): Use --chdir.
7629 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7631 Use relative filenames in TAGS files.
7632 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7633 (lisptagsfiles4, TAGS): Use relative file names.
7634 (TAGS-LISP): Remove.
7635 (maintainer-clean): No more TAGS-LISP file.
7637 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7638 (lisptagsfiles4): Use absolute filenames again.
7639 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7640 Remove all *loaddefs files, not just the first. Remove esh-groups.
7641 (maintainer-clean): Delete TAGS, TAGS-LISP.
7643 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7645 * emacs-lisp/package.el (package-version-join):
7646 Recognize snapshot versions.
7648 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7650 * subr.el (version-regexp-alist): Add support for snapshot versions.
7652 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7654 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7655 New function, replacement for `smie-rule-parent' for when we want to
7656 skip over our direct parent if it's an assignment token..
7657 (ruby-smie-rules): Use it.
7659 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7661 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7662 unconditionally. Remove now unnecessary forward declarations.
7663 Remove XEmacs-specific setup.
7664 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7665 (ruby-font-lock-syntactic-keywords)
7666 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7667 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7668 (ruby-here-doc-end-syntax): Remove.
7669 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7670 defined as function.
7672 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7674 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7676 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7678 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7679 table and abbrev table, `define-derived-mode' does that for us
7682 2013-11-01 Glenn Morris <rgm@gnu.org>
7684 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7685 files is atomic for some time, so no parallel compilation issues).
7687 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7689 * faces.el (face-x-resources): Add :distant-foreground.
7690 (region): Use :distant-foreground for gtk and ns.
7692 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7694 Allow multiple bibliographies when BibLaTeX is used rather than
7696 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7697 (reftex-locate-bibliography-files): Us it.
7699 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7701 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7702 allow comments in pbm files.
7704 * term/w32-win.el (dynamic-library-alist): Support newer versions
7705 of libjpeg starting with v7: look only for the DLL from the
7706 version against which Emacs was built.
7707 Support versions of libpng beyond 1.4.x.
7708 Support libtiff v4.x.
7710 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7712 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7713 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7715 (ruby-deep-arglist): Add property :type.
7717 2013-10-31 Glenn Morris <rgm@gnu.org>
7719 * Makefile.in (custom-deps, finder-data): No need to setq the target
7720 variables, we are in the right directory and the defaults work fine.
7722 2013-10-30 Glenn Morris <rgm@gnu.org>
7724 * Makefile.in (autoloads): Do not use abs_lisp.
7726 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7727 `newline' does not respect `standard-output', so use `princ'.
7729 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7731 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7732 * buff-menu.el (Buffer-menu--unmark): New function.
7733 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7735 2013-10-30 Glenn Morris <rgm@gnu.org>
7737 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7739 * emacs-lisp/package.el (lm-homepage): Declare.
7741 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7744 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7746 * Makefile.in (finder-data, autoloads, update-subdirs)
7747 (compile-main, compile-clean, compile-always, bootstrap-clean):
7748 Check return value of cd.
7749 (compile-calc): Remove.
7751 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7753 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7755 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7756 (byte-compile-and-folded): New function.
7757 (=, <, >, <=, >=): Use it.
7759 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7760 (path-separator, null-device, buffer-file-coding-system)
7761 (lpr-headers-switches): Check system-type before modifying them.
7762 (find-buffer-file-type-coding-system): Mark obsolete.
7763 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7764 find-file-not-found-set-buffer-file-coding-system.
7765 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7766 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7767 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7768 (w32-direct-print-region-helper, w32-direct-print-region-function)
7769 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7770 * startup.el (normal-top-level-add-subdirs-to-load-path):
7771 * ps-print.el (ps-print-region-function):
7772 * lpr.el (print-region-function): Use new name.
7774 * subr.el (custom-declare-variable-early): Remove function.
7775 (custom-declare-variable-list): Remove var.
7776 (error, user-error): Remove `while' loop.
7777 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7778 (user-emacs-directory-warning, locate-user-emacs-file):
7780 * simple.el (read-quoted-char-radix, read-quoted-char):
7781 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7783 * custom.el (custom-declare-variable-list): Don't process
7784 custom-declare-variable-list.
7786 * progmodes/python.el (python-shell-get-buffer): New function.
7787 (python-shell-get-process): Use it.
7788 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7789 Python which encoding was used. Don't split-string since we only care
7790 about the first line. Return the temp-file, if applicable.
7791 (python-shell-send-region): Tell compile.el how to turn locations in
7792 the temp-file into locations in the source buffer.
7794 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * subr.el (undefined): Add missing behavior from the C code for
7799 * rect.el: Use lexical-binding. Add new rectangular region support.
7800 (rectangle-mark): New command.
7801 (rectangle--region): New var.
7802 (deactivate-mark-hook): Reset rectangle--region.
7803 (rectangle--extract-region, rectangle--insert-for-yank)
7804 (rectangle--highlight-for-redisplay)
7805 (rectangle--unhighlight-for-redisplay): New functions.
7806 (region-extract-function, redisplay-unhighlight-region-function)
7807 (redisplay-highlight-region-function): Use them to handle
7809 * simple.el (region-extract-function): New var.
7810 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7811 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7812 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7813 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7814 (redisplay-unhighlight-region-function)
7815 (redisplay-highlight-region-function): New vars.
7816 (redisplay--update-region-highlight): New function.
7817 (pre-redisplay-function): Use it.
7818 (exchange-point-and-mark): Don't deactivate the mark before
7819 reactivate-it anyway.
7820 * comint.el (comint-kill-region): Remove yank-handler argument.
7821 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7822 (delete-char): Remove property, since it's now part of their
7824 (self-insert-iso): Remove property since this command doesn't exist.
7826 * emacs-lisp/package.el (package--download-one-archive)
7827 (describe-package-1): Don't query the user about final newline.
7829 2013-10-29 Daniel Colascione <dancol@dancol.org>
7831 * net/tramp.el (tramp-methods): Document new functionality.
7832 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7833 tramp-hostname-checker if method provides one instead of scanning
7834 argument list for "%h" to decide hostname acceptability.
7836 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7838 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7839 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7840 Handle COPY-CONTENTS. (Bug#15737)
7842 2013-10-28 Daiki Ueno <ueno@gnu.org>
7844 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7845 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7847 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7849 * image.el (defimage, image-load-path): Doc fixes.
7851 2013-10-27 Alan Mackenzie <acm@muc.de>
7853 Indent statements in macros following "##" correctly.
7854 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7855 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7857 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7859 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7861 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7863 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7864 after `=' is probably a new expression.
7866 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7868 * man.el (man-imenu-title): New option.
7869 (Man-mode-map): Add menu. (Bug#15722)
7870 (Man-mode): Add imenu to menu.
7872 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7874 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7875 specific in what the first arg can be: a non-keyword word,
7876 string/regexp/percent literal opener, opening paren, or unary
7877 operator followed directly by word.
7879 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7882 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7883 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7884 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7885 Remove vars, they do not apply any more.
7886 (prolog-mode-abbrev-table): Remove redundant declaration.
7887 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7888 (prolog-use-smie): Remove.
7889 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7890 supported by prolog-electric-if-then-else-flag.
7891 (prolog-mode-variables, prolog-menu): Use setq-local.
7892 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7893 Remove binding to `Backspace' since this key doesn't exist anyway.
7894 Remove bindings for electric self-inserting keys.
7895 (prog-mode): Assume it's defined.
7896 (prolog-post-self-insert): New function.
7897 (prolog-mode): Use it.
7898 (prolog-indent-line, prolog-indent-level)
7899 (prolog-find-indent-of-matching-paren)
7900 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7901 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7902 (prolog-goto-next-paren, prolog-in-string-or-comment)
7903 (prolog-tokenize, prolog-inside-mline-comment)
7904 (prolog-find-start-of-mline-comment): Remove functions.
7905 (prolog-find-unmatched-paren, prolog-clause-end)
7906 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7907 (prolog-electric--if-then-else): Rename from
7908 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7909 (prolog-tokenize-searchkey): Remove const.
7910 (prolog-clause-info): Use forward-sexp.
7911 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7912 (prolog-electric-if-then-else): Remove commands.
7913 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7914 for use in post-self-insert-hook.
7915 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7916 for use in post-self-insert-hook.
7917 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7918 for use in post-self-insert-hook.
7919 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7920 adapt it for use in post-self-insert-hook.
7922 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7924 * emacs-lisp/ert.el (ert-run-tests-interactively):
7925 Use `completing-read'. (Bug#9756)
7927 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7929 * simple.el (line-move): Call line-move-1 instead of
7930 line-move-visual when the current window hscroll is zero, but
7931 temporary-goal-column indicates we will need to hscroll as result
7932 of the movement. (Bug#15712)
7934 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7936 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7937 capitalization. Use :visible instead of :active.
7938 Fix `ruby-indent-exp' reference. Add menu items for the generic
7939 commands that are used with SMIE.
7940 (ruby-do-end-to-brace): Insert space after `{'.
7942 2013-10-25 John Anthony <john@jo.hnanthony.com>
7944 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7946 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7948 2013-10-25 Glenn Morris <rgm@gnu.org>
7950 * vc/vc.el (vc-print-log): Don't use a working revision unless
7951 one was explicitly specified. (Bug#15322)
7953 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * subr.el (add-to-list): Preserve return value in compiler-macro
7958 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7960 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7961 result. Ask user to retry using '-all' flag. (Bug#15701)
7963 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7965 * emacs-lisp/smie.el: New smie-config system.
7966 (smie-config): New defcustom.
7967 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7968 (smie-config-guess, smie-config-save): New commands.
7969 (smie-config--mode-local, smie-config--buffer-local)
7970 (smie-config--trace, smie-config--modefuns): New vars.
7971 (smie-config--advice, smie-config--mode-hook)
7972 (smie-config--setter, smie-config-local, smie-config--get-trace)
7973 (smie-config--guess-value, smie-config--guess): New functions.
7974 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7975 text properties. Treat "string fence" syntax like string syntax.
7977 * progmodes/sh-script.el (sh-use-smie): Change default.
7978 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7979 (sh-var-value): Simplify by CSE.
7980 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7981 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7983 (sh-guess-basic-offset): Use cl-incf.
7984 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7986 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7988 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7991 2013-10-24 Glenn Morris <rgm@gnu.org>
7993 * Makefile.in (abs_top_srcdir): Remove.
7994 (update-subdirs): Use relative path to update-subdirs.
7996 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7998 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7999 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8000 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8001 Call unmsys--file-name before expand-file-name, not after it.
8003 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8005 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8006 (ert-test-skipped): New error.
8007 (ert-skip, ert-stats-skipped): New defuns.
8008 (ert--skip-unless): New macro.
8009 (ert-test-skipped): New struct.
8010 (ert--run-test-debugger, ert-test-result-type-p)
8011 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8012 (ert--stats-set-test-and-result, ert-char-for-test-result)
8013 (ert-string-for-test-result, ert-run-tests-batch)
8014 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8015 Handle skipped tests. (Bug#9803)
8017 2013-10-24 Glenn Morris <rgm@gnu.org>
8019 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8021 * Makefile.in (abs_top_srcdir): New, set by configure.
8022 (update-subdirs): Correct build-aux location.
8024 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8026 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8027 value, whether we could auto-deduce `backend', or not.
8029 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8030 with parameters" example. Simplify the "is it block or is it
8031 hash" check, but also make it more thorough.
8033 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8035 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8037 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8039 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8042 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8045 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8047 * progmodes/compile.el (compilation-directory-matcher)
8048 (compilation-page-delimiter):
8049 Support GNU Make-4.0 directory quoting. (Bug#15678)
8051 2013-10-23 Leo Liu <sdl.web@gmail.com>
8053 * ido.el (ido-tidy): Handle read-only text.
8055 2013-10-23 Glenn Morris <rgm@gnu.org>
8057 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8058 (emacs, compile, compile-always):
8059 Quote entities that might contain whitespace.
8060 (custom-deps, finder-data, autoloads): Use abs_lisp.
8061 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8062 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8063 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8065 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8067 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8068 Use `following-char'.
8070 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8072 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8073 * progmodes/ruby-mode.el (ruby-smie-rules):
8074 Remove corresponding workaround. Fix indentation rule of ";" so it
8075 also applies when ";" is the parent.
8077 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8079 * frame.el (display-screens, display-pixel-height)
8080 (display-pixel-width, display-mm-width, display-backing-store)
8081 (display-save-under, display-planes, display-color-cells)
8082 (display-visual-class, display-monitor-attributes-list):
8083 Mention the optional ‘display’ argument in doc strings.
8085 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8087 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8088 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8090 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8092 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8093 TODO. Add "." after " @ ".
8094 (ruby-smie--at-dot-call): New function. Checks if point at method
8095 call with explicit target.
8096 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8097 to the method name tokens when it precedes them.
8098 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8099 (ruby-smie-rules): Add rule for indentation before and after "."
8102 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8104 * textmodes/remember.el (remember-diary-extract-entries):
8107 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8110 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8112 * progmodes/ruby-mode.el (ruby-smie-grammar):
8113 Add (almost) all infix operators.
8114 (ruby-smie--implicit-semi-p): Add new operator chars.
8116 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8118 (ruby-smie--args-separator-p): Check that there's no newline
8119 between method call and its arguments.
8121 2013-10-20 Alan Mackenzie <acm@muc.de>
8123 Allow comma separated lists after Java "implements".
8125 * progmodes/cc-engine.el (c-backward-over-enum-header):
8127 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8128 from a "disallowed" list in enum fontification.
8130 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8132 * startup.el (default-frame-background-mode): Remove unused defvar.
8134 * progmodes/verilog-mode.el (verilog-mode): Don't set
8135 comment-indent-function globally.
8137 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8139 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8140 Move Info menu item creation to ns-win.el.
8142 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8145 * menu-bar.el: Move GNUstep specific menus...
8147 * term/ns-win.el (ns-initialize-window-system): ... to here.
8149 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8151 * simple.el (newline): Only run post-self-insert-hook when
8152 called interactively.
8154 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8156 * icomplete.el (icomplete-with-completion-tables): Add :version.
8158 2013-10-19 Alan Mackenzie <acm@muc.de>
8160 Fix fontification bugs with constructors and const.
8162 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8163 CASE 2) Remove the check for the absence of a suffix construct
8164 after a function declaration with only types (no identifiers) in
8165 the parentheses. Also, accept a function declaration with just a
8166 type inside the parentheses, if this type can be positively
8167 recognised as such, or if a prefix keyword like "explicit" nails
8168 down the construct as a declaration.
8170 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8172 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8173 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8174 the problem whereby selecting a menu item that leads to a
8175 minibuffer prompt moves the cursor out of the minibuffer window,
8176 making it hard to type at the prompt. Suggested by Stefan Monnier
8177 <monnier@iro.umontreal.ca>.
8179 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8181 * menu-bar.el: Don't make Services menu.
8183 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8185 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8186 (ffap-alist): Use ffap-c++-mode for c++-mode.
8187 (ffap-c++-path): New variable.
8188 (ffap-c++-mode): New function.
8190 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8192 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8194 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8196 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8197 introduced on 2013-09-08, which results in an infinite loop
8198 requesting a password.
8200 2013-10-18 Glenn Morris <rgm@gnu.org>
8202 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8204 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8206 Sync with upstream verilog-mode revision 1a6ecec7.
8207 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8208 (verilog-mode-release-date): Remove.
8209 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8210 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8211 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8212 (verilog-auto-tieoff-ignore-regexp)
8213 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8214 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8215 (verilog-signals-with, verilog-dir-cache-preserving)
8216 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8218 (verilog-case-fold): New option, to control case folding in
8219 regexp searches, bug597.
8220 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8221 (verilog-string-match-fold, verilog-in-paren-count)
8222 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8223 (verilog-at-close-struct-p): New functions.
8224 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8225 (verilog-forward-sexp, verilog-set-auto-endcomments)
8226 (verilog-leap-to-case-head): Handle "unique0" case.
8227 (verilog-in-constraint-re): New constant.
8228 (verilog-keywords, verilog-type-font-keywords):
8229 Add some SystemVerilog 1800-2012 keywords.
8230 (verilog-label-be): Remove unimplemented argument, bug669.
8231 (verilog-batch-execute-func): When batch expanding clear
8232 create-lockfiles to prevent spurious user locks when a file ends
8234 (verilog-calculate-indent, verilog-calc-1)
8235 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8236 (verilog-do-indent): Fix indentation of nested constraints
8238 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8239 (verilog-auto-inst-param): Use verilog-string-match-fold.
8240 (verilog-read-inst-module-matcher):
8241 Fix AUTOINST on gate primitives with #1.
8242 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8243 Reads all user-defined typed variables.
8244 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8245 (verilog-signals-matching-regexp)
8246 (verilog-signals-not-matching-regexp, verilog-auto):
8247 Respect verilog-case-fold.
8248 (verilog-diff-report): Fix line count.
8249 (verilog-auto-assign-modport): Remove unused local `modi'.
8250 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8251 better handle multidimensional arrays.
8252 Fix packed array ports misadding bit index in AUTOINST, bug637.
8253 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8254 to not double-declare existing outputs and inputs, respectively.
8255 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8256 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8257 (verilog-sk-uvm-component): New skeleton.
8258 (verilog-submit-bug-report): Add verilog-case-fold,
8259 remove verilog-mode-release-date.
8261 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8263 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8266 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8268 * textmodes/remember.el (remember): Set buffer-offer-save in
8269 remember buffers (bug#13566).
8271 2013-10-18 Daniel Colascione <dancol@dancol.org>
8273 When evaluating forms in ielm, direct standard output to ielm
8274 buffer. Add new ielm-return-for-effect command. Remove trailing
8275 whitespace throughout.
8277 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8278 (ielm-return-for-effect): New command.
8279 (ielm-send-input): Accept optional `for-effect' parameter.
8280 (ielm-eval-input): Accept optional `for-effect' parameter.
8281 Bind `standard-output' to stream we create using
8282 `ielm-standard-output-impl'. Suppress printing result when
8284 (ielm-standard-output-impl): New function.
8285 (inferior-emacs-lisp-mode): Explain new features in documentation.
8287 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8291 * net/tramp.el (tramp-debug-message): Do not check for connection
8293 (tramp-message): Use "vector" connection property.
8295 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8296 (tramp-equal-remote, tramp-eshell-directory-change)
8297 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8298 (tramp-adb-handle-rename-file)
8299 * net/tramp-cmds.el (tramp-list-remote-buffers)
8300 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8301 * net/tramp-compat.el (tramp-compat-process-running-p)
8302 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8303 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8304 (tramp-gvfs-handle-rename-file)
8305 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8306 (tramp-set-file-uid-gid)
8307 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8308 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8311 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8312 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8313 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8314 (tramp-gw-open-network-stream): Suppress unrelated traces.
8316 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8317 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8319 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8320 connection property.
8322 * net/tramp-cache.el (top): Suppress traces when reading
8325 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8326 Refactor common code. Improve debug message.
8327 (tramp-maybe-open-connection)
8328 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8329 connection buffer too early.
8331 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8332 from `tramp-smb-actions-with-acl'.
8333 (tramp-smb-actions-set-acl): New defconst.
8334 (tramp-smb-handle-copy-directory)
8335 (tramp-smb-action-get-acl): New defun, renamed from
8336 `tramp-smb-action-with-acl'.
8337 (tramp-smb-action-set-acl): New defun.
8338 (tramp-smb-handle-set-file-acl): Rewrite.
8340 2013-10-17 Glenn Morris <rgm@gnu.org>
8342 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8344 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8346 * skeleton.el (skeleton-newline): Remove.
8347 (skeleton-internal-1): Use (insert "\n") instead.
8349 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8352 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8353 forward-sexp-function while we redo its job (bug#15613).
8355 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8357 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8358 represented by lists.
8360 2013-10-16 Glenn Morris <rgm@gnu.org>
8362 * tmm.el (tmm--history): New dynamic variable.
8363 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8365 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8367 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8368 (tramp-smb-errors): Add error messages.
8369 (tramp-smb-actions-with-acl): New defconst.
8370 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8371 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8372 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8373 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8374 (tramp-smb-get-stat-capability): Fix tests.
8376 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8378 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8381 2013-10-16 Glenn Morris <rgm@gnu.org>
8383 * ansi-color.el (ansi-color-drop-regexp):
8384 Add 1J, 1K, 2K. (Bug#15617)
8386 * files.el (hack-local-variables--warned-lexical): New.
8387 (hack-local-variables):
8388 Warn about misplaced lexical-binding. (Bug#15616)
8390 * net/eww.el (eww-render): Always set eww-current-url,
8391 and update header line. (Bug#15622)
8392 (eww-display-html): ... Rather than just doing it here.
8394 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8396 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8397 menu navigations commands.
8399 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8401 * progmodes/subword.el (subword-capitalize): Be careful when
8402 the search for [[:alpha:]] fails (bug#15580).
8404 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8406 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8407 to commands that scroll the menu.
8409 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8411 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8412 Handle methods ending with `?' and `!'.
8414 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8416 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8417 `japanese-cp932' to `cp932' to fix the problem where saving a
8418 source file written in Shift_JIS twice would end up having
8419 `coding: japanese-cp932' which Ruby could not recognize.
8420 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8421 in `ruby-encoding-map'.
8422 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8423 doesn't need to be explicitly declared in magic comment.
8424 (ruby-encoding-map): Add type declaration for better customize UI.
8426 2013-10-13 Glenn Morris <rgm@gnu.org>
8428 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8429 Occur buffers are read-only. http://bugs.debian.org/720775
8431 * emacs-lisp/authors.el (authors-fixed-entries):
8432 Comment out old alpha stuff.
8434 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8436 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8437 to `after-save-hook' instead of `before-save-hook'.
8438 (ruby-mode-set-encoding): Use the value of coding system used to
8439 write the file. Call `basic-save-buffer-1' after modifying the
8442 2013-10-13 Alan Mackenzie <acm@muc.de>
8444 Fix indentation/fontification of Java enum with
8445 "implements"/generic.
8447 * progmodes/cc-engine.el (c-backward-over-enum-header):
8448 Extracted from the three other places and enhanced to handle generics.
8449 (c-inside-bracelist-p): Uses new function above.
8450 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8452 (c-font-lock-enum-tail): Uses new function above.
8454 2013-10-13 Kenichi Handa <handa@gnu.org>
8456 * international/mule-cmds.el (select-safe-coding-system): Remove a
8457 superfluous condition in chekcing whether a coding system is safe
8460 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8462 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8464 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8466 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8468 2013-10-13 Glenn Morris <rgm@gnu.org>
8470 * menu-bar.el (menu-bar-update-buffers):
8471 Unify Buffers menu prompt string. (Bug#15576)
8473 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8475 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8477 (authors-fixed-entries): Use accented form of name.
8479 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8482 method calls (bug#15594).
8483 (ruby-smie--args-separator-p): New function.
8484 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8485 recognize paren-free method calls.
8487 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8488 internals of universal-argument.
8490 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8492 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8493 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8494 dropped menu on second mouse click on the menu bar.
8496 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8498 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8499 (explicit-shell-file-name): Declare.
8500 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8501 (sh-completion-at-point-function): New function.
8503 (sh-smie--keyword-p): Remove unused argument.
8504 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8506 (sh-set-shell): Always setup SMIE, even if we use the
8507 old indentation code.
8509 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8511 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8513 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8514 predicate would return nil are almost non-existent.
8515 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8517 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8518 cache also after commands that modify the buffer but don't move
8521 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8523 * env.el (substitute-env-in-file-name): New function.
8524 (substitute-env-vars): Extend the meaning of the optional arg.
8526 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8528 * term/w32-win.el (dynamic-library-alist): Define separate lists
8529 of GIF DLLs for versions before and after 5.0.0 of giflib.
8532 2013-10-10 João Távora <joaotavora@gmail.com>
8534 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8535 not locked, use last revision and current source as
8536 defaults. (Bug#15569)
8538 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8540 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8543 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8545 * window.el (pop-to-buffer-same-window): Fix doc-string.
8548 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8550 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8552 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8554 * calendar/icalendar.el (icalendar-import-file):
8555 Fix interactive spec. (Bug#15482)
8557 2013-10-10 Glenn Morris <rgm@gnu.org>
8559 * desktop.el (desktop-save): Default to saving in .emacs.d,
8560 since PWD is no longer in desktop-path by default. (Bug#15319)
8562 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8563 now that text mode has a menu with the same entry.
8564 (menu-bar-text-mode-auto-fill): Remove now unused func.
8565 * textmodes/text-mode.el (text-mode-map):
8566 Use auto-fill help text from menu-bar.el.
8568 2013-10-10 John Anthony <john@jo.hnanthony.com>
8570 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8572 2013-10-09 Juri Linkov <juri@jurta.org>
8574 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8575 instead of this-command-keys. Add universal-argument-more and
8576 universal-argument-minus to the list of prefix commands. (Bug#15568)
8578 2013-10-09 Glenn Morris <rgm@gnu.org>
8580 * vc/vc-svn.el (vc-svn-create-repo):
8581 Expand paths in file://... url. (Bug#15446)
8583 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8585 (authors): Remove unused local variables.
8587 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8589 * profiler.el: Create a more coherent calltree from partial backtraces.
8590 (profiler-format): Hide the tail with `invisible' so that C-s can still
8591 find the hidden elements.
8592 (profiler-calltree-depth): Don't recurse so enthusiastically.
8593 (profiler-function-equal): New hash-table-test.
8594 (profiler-calltree-build-unified): New function.
8595 (profiler-calltree-build): Use it.
8596 (profiler-report-make-name-part): Indent the calltree less.
8597 (profiler-report-mode): Add visibility specs for profiler-format.
8598 (profiler-report-expand-entry, profiler-report-toggle-entry):
8599 Expand the whole subtree when provided with a prefix arg.
8601 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8603 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8605 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8606 hanging iuwu-mod token.
8607 (ruby-smie--forward-token): Do not include a dot after a token in
8609 (ruby-smie--backward-token): Likewise.
8611 2013-10-08 Juri Linkov <juri@jurta.org>
8613 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8614 to isearch-other-control-char.
8615 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8616 and isearch-post-command-hook to post-command-hook.
8617 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8618 and isearch-post-command-hook from post-command-hook.
8619 (isearch-unread-key-sequence)
8620 (isearch-reread-key-sequence-naturally)
8621 (isearch-lookup-scroll-key, isearch-other-control-char)
8622 (isearch-other-meta-char): Remove functions.
8623 (isearch-pre-command-hook, isearch-post-command-hook):
8624 New functions based on isearch-other-meta-char rewritten
8625 relying on the new behavior of overriding-terminal-local-map
8626 that does not replace the local keymaps any more. (Bug#15200)
8628 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8630 Support menus on text-mode terminals.
8631 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8634 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8636 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8637 Move here from mouse.el.
8638 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8640 (tty-menu-navigation-map): New map for TTY menu navigation.
8642 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8644 * frame.el (display-mouse-p): Report text-mode mouse as available
8646 (display-popup-menus-p): Report availability if mouse is
8647 available; don't condition on window-system.
8649 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8650 (tty-menu-selected-face): New faces.
8652 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8654 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8655 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8656 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8657 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8659 (lisp-mode-variables): New `elisp' argument.
8660 (emacs-lisp-mode): Use it.
8661 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8662 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8664 * indent.el: Use lexical-binding.
8665 (indent-region): Add progress reporter.
8666 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8668 (indent--next-tab-stop): New function to implement this behavior.
8669 (tab-to-tab-stop, move-to-tab-stop): Use it.
8671 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8673 * indent.el (indent-rigidly--current-indentation): New function.
8674 (indent-rigidly-map): New var.
8675 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8677 2013-10-08 Bastien Guerry <bzg@gnu.org>
8679 * register.el (insert-register): Fix 2013-10-07 change.
8681 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8683 * progmodes/perl-mode.el: Use lexical-binding.
8684 Remove redundant :group args.
8685 (perl-nochange): Change default to be closer to other major modes's
8687 (perl-indent-line): Don't consider text on current line as a
8688 valid beginning of function from which to indent.
8690 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8691 with more than one argument (bug#15538).
8693 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8695 * vc/pcvs.el: Use lexical-binding.
8696 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8697 environment of `eval'.
8698 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8699 than a list of expressions. Adjust callers.
8700 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8702 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8704 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8705 case of the dot in a chained method call being on the following line.
8707 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8709 * electric.el (electric-indent-inhibit): New var.
8710 (electric-indent-post-self-insert-function): Use it.
8711 * progmodes/python.el (python-mode): Set it.
8713 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8716 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8718 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8719 (css-mode): Use electric-indent-chars.
8721 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8722 (font-lock-beg, font-lock-end): Move before first use.
8723 (nxml-mode): Use syntax-propertize-function.
8724 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8725 (nxml-extend-after-change-region): Remove.
8726 * nxml/xmltok.el: Use lexical-binding.
8727 (xmltok-save): Use `declare'.
8728 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8729 * nxml/nxml-util.el: Use lexical-binding.
8730 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8732 * nxml/nxml-ns.el: Use lexical-binding.
8733 (nxml-ns-save): Use `declare'.
8734 (nxml-ns-prefixes-for): Avoid add-to-list.
8735 * nxml/rng-match.el: Use lexical-binding.
8736 (rng--ipattern): Use cl-defstruct.
8737 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8738 (rng-cons-group-after, rng-subst-group-after)
8739 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8740 Use closures instead of `(lambda...).
8742 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8744 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8747 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8748 Use `tramp-handle-insert-file-contents'.
8749 (tramp-gvfs-handle-insert-file-contents): Remove function.
8751 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8752 Use `save-restriction' in order to keep markers.
8754 * net/trampver.el: Update release number.
8756 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8758 * progmodes/compile.el (compilation-parse-errors):
8759 Use compilation--put-prop.
8760 (compilation--ensure-parse): Check compilation-multiline.
8762 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8764 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8767 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8769 * progmodes/ruby-mode.el: Fix recently added tests.
8770 (ruby-smie-grammar): Add - and +.
8771 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8772 (ruby-smie--backward-id): New functions.
8773 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8774 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8777 2013-10-07 Leo Liu <sdl.web@gmail.com>
8779 * register.el (register-preview-delay)
8780 (register-preview-functions): New variables.
8781 (register-read-with-preview, register-preview)
8782 (register-describe-oneline): New functions.
8783 (point-to-register, window-configuration-to-register)
8784 (frame-configuration-to-register, jump-to-register)
8785 (number-to-register, view-register, insert-register)
8786 (copy-to-register, append-to-register, prepend-to-register)
8787 (copy-rectangle-to-register): Use register-read-with-preview to
8788 read register. (Bug#15525)
8790 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8792 * net/network-stream.el (network-stream-open-starttls): Don't add
8793 --insecure if it's already present, because that gnutls-cli
8794 rejects getting that parameter twice.
8796 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8798 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8801 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8803 * newcomment.el (comment-use-global-state): Change default value
8804 to t, mark obsolete (Bug#15251).
8805 (comment-beginning): In addition to `comment-to-syntax', check the
8806 value of `comment-use-global-state'.
8808 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8811 (ruby-comment-column): Follow the global default, by default.
8812 (ruby-smie-grammar): Add assignment syntax.
8813 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8814 open-paren, a comma, or a \.
8815 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8816 and line continuations.
8817 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8818 followed by implicit semi-colons. Add rule for string concatenation
8819 and for indentation at BOB.
8820 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8822 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8823 calling next-sexp, since next-token may have skipped chars which
8824 next-sexp doesn't know should be skipped!
8826 2013-10-05 Leo Liu <sdl.web@gmail.com>
8828 * progmodes/octave.el (octave-send-region):
8829 Call compilation-forget-errors.
8831 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8833 * vc/vc-svn.el (vc-svn-find-admin-dir):
8834 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8835 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8836 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8837 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8839 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8841 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8843 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * subr.el (read-passwd): Hide chars even when called within a context
8846 where after-change-functions is disabled (bug#15501).
8847 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8848 until we removed ourself from overriding-terminal-local-map.
8850 2013-10-04 Leo Liu <sdl.web@gmail.com>
8852 * progmodes/octave.el (inferior-octave-mode):
8853 Call compilation-forget-errors.
8855 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8857 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8859 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8861 * net/secrets.el (secrets-create-collection): Add optional
8862 argument ALIAS. Use proper Label keyword. Append ALIAS as
8863 dbus-call-method argument. (Bug#15516)
8865 2013-10-04 Leo Liu <sdl.web@gmail.com>
8867 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8868 (inferior-octave-compilation-font-lock-keywords): New variables.
8869 (compilation-error-regexp-alist)
8870 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8871 (inferior-octave-mode): Use compilation-shell-minor-mode.
8873 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8875 * minibuffer.el (completion--replace): Be careful that `end' might be
8878 2013-10-03 Daiki Ueno <ueno@gnu.org>
8880 Add support for package signature checking.
8881 * emacs-lisp/package.el (url-http-file-exists-p)
8882 (epg-make-context, epg-context-set-home-directory)
8883 (epg-verify-string, epg-context-result-for)
8884 (epg-signature-status, epg-signature-to-string)
8885 (epg-check-configuration, epg-configuration)
8886 (epg-import-keys-from-file): Declare.
8887 (package-check-signature): New user option.
8888 (package-unsigned-archives): New user option.
8889 (package-desc): Add `signed' field.
8890 (package-load-descriptor): Set `signed' field if .signed file exists.
8891 (package--archive-file-exists-p): New function.
8892 (package--check-signature): New function.
8893 (package-install-from-archive): Check package signature.
8894 (package--download-one-archive): Check archive signature.
8895 (package-delete): Remove .signed file.
8896 (package-import-keyring): New command.
8897 (package-refresh-contents): Import default keyring.
8898 (package-desc-status): Add "unsigned" status.
8899 (describe-package-1, package-menu--print-info)
8900 (package-menu-mark-delete, package-menu--find-upgrades)
8901 (package-menu--status-predicate): Support "unsigned" status.
8903 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8905 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8906 the new compilation scheme using the new byte-codes.
8908 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8909 (byte-pophandler): New byte codes.
8910 (byte-goto-ops): Adjust accordingly.
8911 (byte-compile--use-old-handlers): New var.
8912 (byte-compile-catch): Use new byte codes depending on
8913 byte-compile--use-old-handlers.
8914 (byte-compile-condition-case--old): Rename from
8915 byte-compile-condition-case.
8916 (byte-compile-condition-case--new): New function.
8917 (byte-compile-condition-case): New function that dispatches depending
8918 on byte-compile--use-old-handlers.
8919 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8922 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8923 Optimize under `condition-case' and `catch' if
8924 byte-compile--use-old-handlers is nil.
8925 (disassemble-offset): Handle new bytecodes.
8927 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * subr.el (error): Use `declare'.
8930 (decode-char, encode-char): Use advertised-calling-convention instead
8931 of the docstring to discourage use of the `restriction' arg.
8933 2013-10-03 Daiki Ueno <ueno@gnu.org>
8935 * epg.el (epg-verify-file): Add a comment saying that it does not
8936 notify verification error as a return value nor a signal.
8937 (epg-verify-string): Ditto.
8939 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8941 * progmodes/compile.el (compilation-start): Try globbing the arg to
8944 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8946 Sync with Tramp 2.2.8.
8948 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8949 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8950 * net/trampver.el: Update release number.
8952 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8954 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8955 and default-process-coding-system for darwin only.
8957 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8959 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8961 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8963 * vc/vc-git.el (vc-git-grep): Disable pager.
8965 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8967 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8968 Use :url instead of :homepage, as per
8969 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8971 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8972 non-nil, use `syntax-ppss' (Bug#15251).
8974 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8976 * progmodes/octave.el (inferior-octave-startup-file):
8977 Prefer ~/.emacs.d/init_octave.m.
8979 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8981 * emacs-lisp/package.el (package-desc-from-define):
8982 Accept additional arguments as plist, convert them to an alist and store
8983 them in the `extras' slot.
8984 (package-generate-description-file): Convert extras alist back to
8985 plist and append to the `define-package' form arguments.
8986 (package--alist-to-plist): New function.
8987 (package--ac-desc): Add `extras' slot.
8988 (package--add-to-archive-contents): Check if the archive-contents
8989 vector is long enough, and if it is, pass its `extras' slot value
8990 to `package-desc-create'.
8991 (package-buffer-info): Call `lm-homepage', pass the returned value
8992 to `package-desc-from-define'.
8993 (describe-package-1): Render the homepage button (Bug#13291).
8995 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8996 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8998 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9000 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9001 and default-process-coding-system to utf-8-unix (Bug#15402).
9003 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9005 * subr.el (looking-back): Do not recommend using looking-back.
9007 2013-09-28 Alan Mackenzie <acm@muc.de>
9009 Fix indentation/fontification of Java enum with "implements".
9011 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9012 regexp which matches "implements", etc., in Java.
9013 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9014 specifier clauses coming after "enum".
9015 * progmodes/cc-fonts.el (c-font-lock-declarations)
9016 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9019 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9021 * faces.el (region): Change ns_selection_color to
9022 ns_selection_fg_color, add ns_selection_bg_color.
9024 2013-09-28 Leo Liu <sdl.web@gmail.com>
9026 * progmodes/octave.el (inferior-octave-completion-table)
9027 (inferior-octave-completion-at-point): Minor tweaks.
9029 * textmodes/ispell.el (ispell-lookup-words): Rename from
9030 lookup-words. (Bug#15460)
9031 (lookup-words): Obsolete.
9032 (ispell-complete-word, ispell-command-loop): All uses changed.
9034 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9036 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9037 (octave-mode-menu): Add octave-send-buffer.
9038 (octave-send-buffer): New function.
9040 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9042 * progmodes/octave.el (octave-mode-map): Add key binding for
9044 (octave-mode-menu): Add octave-lookfor.
9045 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9047 (octave-lookfor): New function.
9049 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9052 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9054 (cl--loop-set-iterator-function): New function.
9055 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9056 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9057 Bind `it' with `let' instead of substituting it with `cl-subst'.
9058 (cl--unused-var-p): New function.
9059 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9060 Eliminate some unused variable warnings (bug#15326).
9062 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9064 * doc-view.el (doc-view-scale-reset): Rename from
9065 `doc-view-reset-zoom-level'.
9066 (doc-view-scale-adjust): New command.
9067 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9068 `doc-view-scale-adjust'.
9070 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9072 * doc-view.el (doc-view-reset-zoom-level): New command.
9073 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9074 zoom commands (bug#15466).
9076 2013-09-26 Kenichi Handa <handa@gnu.org>
9078 * international/quail.el (quail-help): Make it not a command.
9080 2013-09-26 Leo Liu <sdl.web@gmail.com>
9082 * minibuffer.el (completion-all-sorted-completions): Make args
9083 optional as they are.
9085 2013-09-25 Daniel Colascione <dancol@dancol.org>
9087 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9088 specs are and that they're not evaluated.
9090 2013-09-24 Sam Steingold <sds@gnu.org>
9092 * midnight.el (clean-buffer-list-kill-regexps)
9093 (clean-buffer-list-kill-buffer-names): Update for the new Man
9094 buffer naming which includes the object name.
9096 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9098 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9099 (eshell-parse-command, eshell-parse-pipeline): Use it since
9100 eshell-separate-commands requires a dynamic scoped var.
9101 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9103 2013-09-23 Leo Liu <sdl.web@gmail.com>
9105 * autoinsert.el (auto-insert-alist): Make the value of
9106 lexical-binding match its file setting.
9108 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9110 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9112 * autoarg.el (autoarg-kp-digit-argument):
9113 * electric.el (Electric-command-loop):
9114 * kmacro.el (kmacro-step-edit-insert):
9115 Do not set universal-argument-num-events.
9117 2013-09-22 Leo Liu <sdl.web@gmail.com>
9119 * files.el (interpreter-mode-alist): Add octave.
9121 2013-09-21 Alan Mackenzie <acm@muc.de>
9123 C++: fontify identifier in declaration following "public:" correctly.
9124 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9125 to match "public", etc.
9126 (c-decl-prefix-re): Add ":" into the C++ value.
9127 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9128 bit. Add a check for a ":" preceded by "public", etc.
9130 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9132 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9133 recognized by GDB 7.5 and later.
9135 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9137 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9139 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * subr.el (internal--call-interactively): New const.
9142 (called-interactively-p): Use it (bug#3984).
9144 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9146 * vc/pcvs.el (cvs-mode-ignore):
9147 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9148 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9150 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9152 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9153 (eshell-ls-orig-insert-directory): Remove.
9154 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9155 (eshell-ls-use-in-dired): Use advice-add/remove.
9156 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9157 Add `orig-fun' arg for use in :around advice.
9158 Make it check (redundantly) eshell-ls-use-in-dired.
9160 2013-09-19 Glenn Morris <rgm@gnu.org>
9162 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9164 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9166 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9168 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9170 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9171 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9172 (tramp-get-remote-python): New defuns.
9173 (tramp-get-remote-uid-with-perl)
9174 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9175 contributed by yary <not.com@gmail.com> (tiny change).
9176 (tramp-get-remote-uid-with-python)
9177 (tramp-get-remote-gid-with-python): New defuns. Python code
9178 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9179 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9181 2013-09-19 Glenn Morris <rgm@gnu.org>
9183 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9185 * eshell/em-unix.el (eshell-remove-entries):
9186 Rename argument to avoid name-clash with global `top-level'.
9188 * eshell/esh-proc.el (eshell-kill-process-function):
9189 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9190 (eshell-reset-after-proc): Remove unused arg `proc'.
9192 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9193 (directory-files-and-attributes): Mark unused arg.
9195 * eshell/em-unix.el (eshell-remove-entries):
9196 Remove unused arg `path'. Update callers.
9198 * eshell/em-hist.el (eshell-hist-parse-arguments):
9199 Remove unused arg `silent'. Update callers.
9201 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9202 Fix (f)boundp mix-up.
9204 * eshell/em-smart.el (eshell-smart-scroll-window)
9205 (eshell-disable-after-change):
9206 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9208 2013-09-18 Alan Mackenzie <acm@muc.de>
9210 Fix fontification of type when followed by "const".
9211 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9212 "known" types from fontification.
9214 2013-09-18 Glenn Morris <rgm@gnu.org>
9216 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9217 (chart-face-list): Drop Emacsen without display-color-p.
9219 * net/eww.el (libxml-parse-html-region): Declare.
9220 (eww-display-html): Explicit error if no libxml2 support.
9222 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9224 * image.el (image-type-from-buffer, image-multi-frame-p):
9225 Remove --without-x warning/error.
9227 * mouse.el (mouse-yank-primary):
9228 * term.el (term-mouse-paste):
9229 Reorder to silence --without-x compilation.
9231 * mpc.el (doc-view-mode): Silence --without-x compilation.
9233 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9234 Silence --without-x compilation.
9236 * progmodes/gud.el (gud-find-file, gud-mode):
9237 Silence --without-x compilation.
9238 (tooltip-mode): Declare.
9240 * wdired.el (dired-backup-overwrite): Remove declaration.
9241 (wdired-mode-map): Add doc string.
9243 * custom.el (x-get-resource): Declare.
9245 * eshell/em-glob.el (ange-cache):
9246 * eshell/em-unix.el (ange-cache): Declare.
9248 * faces.el (x-display-list, x-open-connection, x-get-resource):
9251 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9252 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9255 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9257 * net/gnutls.el (gnutls-log-level): Declare.
9259 * net/shr.el (image-size, image-animate): Declare.
9261 * simple.el (font-info): Declare.
9263 * subr.el (x-popup-dialog): Declare.
9265 * term/common-win.el (x-select-enable-primary)
9266 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9269 * term/ns-win.el (x-handle-args): Declare.
9271 * term/x-win.el (x-select-enable-clipboard): Declare.
9273 * term/w32-win.el (create-default-fontset): Declare.
9275 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9278 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9279 (fit-frame-to-buffer): Explicit error if --without-x.
9280 (mouse-autoselect-window-select): Silence compiler.
9282 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9284 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9285 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9286 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9287 * eshell/esh-util.el (eshell-sublist):
9288 Remove unused local variables.
9290 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9292 * textmodes/two-column.el: Make 2C-split work for --without-x.
9293 (scroll-bar-columns): Autoload.
9294 (top-level): Require fringe when compiling.
9296 2013-09-18 Leo Liu <sdl.web@gmail.com>
9298 * subr.el (add-hook): Robustify to handle closure as well.
9300 2013-09-17 Glenn Morris <rgm@gnu.org>
9302 * simple.el (messages-buffer-mode-map): Unbind "g".
9304 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9306 * help-mode.el (help-mode-finish): Use derived-mode-p.
9307 Remove obsolete highlighting.
9309 * play/life.el (life-mode): Use define-derived-mode. Derive from
9311 (life): Let-bind inhibit-read-only.
9312 (life-setup): Avoid `setq'. Use `life-mode'.
9314 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9315 which should not be needed any more.
9316 (package-menu-refresh, package-menu-describe-package): Use user-error.
9318 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9319 (eshell-post-rewrite-command-hook): Make obsolete.
9320 (eshell-parse-command): Simplify.
9321 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9322 (eshell--cmd): Declare.
9323 (eshell-parse-pipeline): Remove unused var `final-p'.
9324 Pass a dynvar to eshell-post-rewrite-command-hook.
9325 Implement the new eshell-post-rewrite-command-function.
9326 (eshell-invoke-directly): Remove unused arg `input'.
9327 * eshell/esh-io.el (eshell-io-initialize):
9328 Use eshell-post-rewrite-command-function (bug#15399).
9329 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9330 adjust to new calling convention.
9331 (eshell-create-handles): Rename args to avoid clashing with dynvar
9334 2013-09-17 Glenn Morris <rgm@gnu.org>
9336 * simple.el (messages-buffer-mode): New major mode.
9337 (messages-buffer): New function.
9338 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9339 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9340 (ert-run-test): Use `messages-buffer' function.
9341 (ert--force-message-log-buffer-truncation): Ignore read-only.
9342 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9343 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9345 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9347 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9349 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9351 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9353 * icomplete.el (icomplete-in-buffer): New var.
9354 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9355 vars and replace them with functions.
9356 (icomplete-minibuffer-setup): Adjust accordingly.
9357 (icomplete--completion-table, icomplete--completion-predicate)
9358 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9360 (icomplete-forward-completions, icomplete-backward-completions)
9361 (icomplete-simple-completing-p, icomplete-exhibit)
9362 (icomplete-completions): Use them.
9363 (icomplete--in-region-buffer): New var.
9364 (icomplete--in-region-setup): New function.
9365 (icomplete-mode): Use it.
9367 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9369 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9370 return args and options.
9371 (eshell-eval-using-options): Use the new return value of
9372 eshell--do-opts to set the options's vars in their scope.
9373 (eshell--set-option): Rename from eshell-set-option.
9375 (eshell--process-option): Rename from eshell-process-option.
9377 (eshell--process-args): Use an `opt-vals' alist to store the options's
9378 values during their processing and return them additionally to the
9381 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9383 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9384 continuation character an operator, as far as indentation is
9385 concerned (Bug#15369).
9387 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9389 * window.el (window--state-put-2): Don't process buffer state
9390 when buffer doesn't exist any more (Bug#15382).
9392 2013-09-15 Glenn Morris <rgm@gnu.org>
9394 * eshell/em-unix.el (eshell/rm):
9395 Make -f ignore missing files. (Bug#15373)
9397 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9398 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9399 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9401 2013-09-14 Glenn Morris <rgm@gnu.org>
9403 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9405 2013-09-13 Glenn Morris <rgm@gnu.org>
9407 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9408 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9410 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9412 * frame.el (x-focus-frame): Mark as declared in frame.c.
9414 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * ls-lisp.el: Use advice-add.
9417 (original-insert-directory): Remove.
9418 (ls-lisp--insert-directory): Rename from insert-directory; add
9419 `orig-fun' argument.
9420 (insert-directory): Advise.
9422 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9424 * term.el (term-emulate-terminal): Decode the command string
9425 before passing it to term-command-hook. (Bug#15337)
9427 2013-09-13 Glenn Morris <rgm@gnu.org>
9429 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9431 * eshell/esh-ext.el (eshell-search-path): Declare.
9433 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9434 Otherwise an error occurs if eshell-dirs module not loaded.
9436 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9438 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9440 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9441 `tramp-check-proper-host'. Check for a valid method name.
9443 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9444 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9445 * net/tramp-sh.el (tramp-maybe-open-connection):
9446 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9448 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9449 also for hash values.
9451 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9453 * term/ns-win.el (parameters): Don't declare as dynamic.
9454 (before-make-frame-hook): Don't add ineffective function.
9456 * eshell/*.el: Use lexical-binding (bug#15231).
9458 2013-09-12 Kenichi Handa <handa@gnu.org>
9460 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9462 2013-09-12 Glenn Morris <rgm@gnu.org>
9464 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9465 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9467 * subr.el (do-after-load-evaluation): Also give compiler warnings
9468 when obsolete files are used (except by obsolete files).
9470 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9471 in the status output, assume `filename' is the first. (Bug#15322)
9473 * vc/vc.el (vc-deduce-fileset): Doc fix.
9475 * calc/calc-help.el (Info-goto-node):
9476 * progmodes/cperl-mode.el (Info-find-node):
9477 * vc/ediff.el (Info-goto-node): Update declarations.
9479 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9481 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9482 (vc-bzr-pull): Require vc-dispatcher.
9483 * vc/vc-git.el (vc-compilation-mode): Declare.
9484 (vc-git-pull): Require vc-dispatcher.
9486 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9488 * progmodes/octave.el (help-button-action): Declare.
9490 * shell.el (shell-directory-tracker): Output error as a message
9491 rather than just returning it as a string.
9492 (shell-process-pushd): Remove useless use of message.
9494 * dframe.el (dframe-timer-fn):
9495 * files.el (dir-locals-read-from-file):
9496 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9498 * reveal.el (reveal-post-command):
9499 * saveplace.el (load-save-place-alist-from-file):
9500 * shell.el (shell-resync-dirs):
9501 * w32-common-fns.el (x-get-selection-value):
9502 * emacs-lisp/copyright.el (copyright-find-copyright):
9503 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9504 * emulation/tpu-edt.el (tpu-copy-keyfile):
9505 * play/bubbles.el (bubbles--mark-neighbourhood):
9506 * progmodes/executable.el
9507 (executable-make-buffer-file-executable-if-script-p):
9508 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9510 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9512 Cleanup Eshell to rely less on dynamic scoping.
9513 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9514 last-value, and ext-command here. Bind `args' closer to `body'.
9515 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9516 (eshell--args): Declare new dynamic var.
9517 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9518 last-value, and ext-command. Pass `args' to `body'.
9519 (eshell-process-args): Bind eshell--args.
9520 (eshell-set-option): Use eshell--args.
9521 * eshell/eshell.el (eshell): Use derived-mode-p.
9522 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9523 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9524 (eshell-glob-function): Declare.
9525 * eshell/esh-util.el: Require cl-lib.
9526 (eshell-read-hosts-file): Avoid add-to-list.
9527 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9529 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9531 (eshell/diff): Remove unused var `err'.
9532 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9534 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9535 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9537 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9538 Move declaration before first use.
9539 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9540 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9543 2013-09-12 Glenn Morris <rgm@gnu.org>
9545 * term/ns-win.el (global-map): Remove binding for ispell-next,
9546 deleted 1999-05-29. (Bug#15357)
9548 2013-09-11 Glenn Morris <rgm@gnu.org>
9550 * echistory.el (electric-command-history): Remove call to deleted func.
9552 * play/landmark.el (landmark-mode): Fix typos.
9554 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9555 Check cvs-sort-ignore-file is bound.
9557 * savehist.el: No need for cl when compiling on Emacs.
9559 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9561 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9563 (eshell-self-insert-command, eshell-send-invisible):
9564 Remove unused argument.
9565 (eshell-handle-control-codes): Remove unused var `orig'.
9566 Avoid delete-backward-char.
9568 * files.el (set-auto-mode): Simplify a bit further.
9570 2013-09-11 Glenn Morris <rgm@gnu.org>
9572 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9573 (set-auto-mode): Don't regexp-quote elements.
9574 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9575 * progmodes/cc-mode.el (interpreter-mode-alist):
9576 * progmodes/ruby-mode.el (interpreter-mode-alist):
9577 Revert previous change.
9579 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9581 * play/snake.el (snake-mode):
9582 * play/mpuz.el (mpuz-mode):
9583 * play/landmark.el (lm-mode):
9584 * play/blackbox.el (blackbox-mode):
9585 * play/5x5.el (5x5-mode):
9586 * obsolete/options.el (Edit-options-mode):
9587 * net/quickurl.el (quickurl-list-mode):
9588 * net/newst-treeview.el (newsticker-treeview-mode):
9589 * mail/rmailsum.el (rmail-summary-mode):
9590 * mail/mspools.el (mspools-mode):
9591 * locate.el (locate-mode):
9592 * ibuffer.el (ibuffer-mode):
9593 * emulation/ws-mode.el (wordstar-mode):
9594 * emacs-lisp/debug.el (debugger-mode):
9595 * array.el (array-mode):
9596 * net/eudc.el (eudc-mode): Use define-derived-mode.
9597 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9598 Move initialization into declaration.
9599 (mairix-searches-mode): Use define-derived-mode.
9600 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9601 (eudc-edit-hotlist): Use dolist.
9602 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9603 (Man-mode): Use define-derived-mode.
9604 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9605 (Info-edit-mode): Use define-derived-mode.
9606 (Info-cease-edit): Use Info-mode.
9607 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9609 (eshell-mode): Use define-derived-mode.
9610 * chistory.el (command-history-mode-map): Rename from
9611 command-history-map.
9612 (command-history-mode): Use define-derived-mode.
9613 (Command-history-setup): Remove function.
9614 * calc/calc.el (calc-trail-mode-map): New var.
9615 (calc-trail-mode): Use define-derived-mode.
9616 (calc-trail-buffer): Set calc-main-buffer manually.
9617 * bookmark.el (bookmark-insert-annotation): New function.
9618 (bookmark-edit-annotation): Use it.
9619 (bookmark-edit-annotation-mode): Make it a proper major mode.
9620 (bookmark-send-edited-annotation): Use derived-mode-p.
9621 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9622 closer to its ideal place. Use \' to match EOS.
9624 * profiler.el (profiler-calltree-find): Use function-equal.
9626 2013-09-10 Glenn Morris <rgm@gnu.org>
9628 * files.el (interpreter-mode-alist): Convert to regexps.
9629 (set-auto-mode): Adapt for this. (Bug#15306)
9630 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9631 Comment out unused variable.
9632 * progmodes/cc-mode.el (interpreter-mode-alist):
9633 * progmodes/python.el (interpreter-mode-alist):
9634 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9635 * progmodes/sh-script.el (sh-set-shell):
9636 No longer use interpreter-mode-alist to get list of shells.
9638 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9640 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9642 * simple.el: Use set-temporary-overlay-map for universal-argument.
9643 (universal-argument-map): Don't use default-bindings (bug#15317).
9644 Bind switch-frame explicitly. Replace universal-argument-minus with
9645 a conditional binding.
9646 (universal-argument-num-events, saved-overriding-map): Remove.
9647 (restore-overriding-map): Remove.
9648 (universal-argument--mode): Rename from save&set-overriding-map,
9650 (universal-argument, universal-argument-more, negative-argument)
9651 (digit-argument): Adjust accordingly.
9652 (universal-argument-minus): Remove.
9653 (universal-argument-other-key): Remove.
9655 * subr.el (with-demoted-errors): Add `format' argument.
9657 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9659 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9660 `tramp-cleanup-connection'.
9662 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9663 parameters KEEP-DEBUG and KEEP-PASSWORD.
9665 * net/tramp.el (tramp-file-name-handler):
9666 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9667 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9668 (tramp-maybe-open-connection):
9669 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9670 Use `tramp-cleanup-connection'.
9672 * net/tramp-sh.el (tramp-maybe-open-connection):
9673 Catch 'uname-changed inside the progress reporter.
9675 2013-09-10 Glenn Morris <rgm@gnu.org>
9677 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9679 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9680 returns "alternate access method" in mode (eg "-rw-r--r--.").
9682 2013-09-08 Glenn Morris <rgm@gnu.org>
9684 * saveplace.el (load-save-place-alist-from-file):
9685 Demote errors. (Bug#15305)
9687 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9689 Improve compatibility with older Emacsen, and XEmacs.
9691 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9692 only if it is bound. It isn't for XEmacs.
9693 (with-tramp-progress-reporter): Do not let-bind `result'.
9694 This yields to scoping errors in XEmacs.
9695 (tramp-handle-make-auto-save-file-name): New function, moved from
9698 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9699 for `make-auto-save-file-name'.
9700 (tramp-adb--gnu-switches-to-ash):
9701 Use `tramp-compat-replace-regexp-in-string'.
9703 * net/tramp-cache.el (tramp-cache-print): Call
9704 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9706 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9707 bound. It isn't for XEmacs.
9709 * net/tramp-compat.el (tramp-compat-copy-file):
9710 Catch `wrong-number-of-arguments' error.
9711 (tramp-compat-replace-regexp-in-string): New defun.
9713 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9714 for `make-auto-save-file-name'.
9715 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9717 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9718 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9719 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9721 * net/tramp-gw.el (tramp-gw-open-network-stream):
9722 Use `tramp-compat-replace-regexp-in-string'.
9724 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9725 Call `tramp-handle-make-auto-save-file-name'.
9726 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9727 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9728 (tramp-sh-file-inotifywait-process-filter):
9729 Use `tramp-compat-replace-regexp-in-string'.
9730 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9732 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9733 for `make-auto-save-file-name'.
9734 (tramp-smb-handle-copy-directory):
9735 Call `tramp-compat-replace-regexp-in-string'.
9736 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9737 (tramp-smb-handle-copy-file): Improve error message.
9738 (tramp-smb-handle-rename-file): Rename directly only in case
9739 `newname' does not exist yet. This is a restriction of smbclient.
9740 (tramp-smb-maybe-open-connection): Rerun the function only when
9741 `auth-sources' is non-nil.
9743 2013-09-08 Kenichi Handa <handa@gnu.org>
9745 * international/characters.el: Set category "^" (Combining) for
9748 2013-09-07 Alan Mackenzie <acm@muc.de>
9750 Correctly fontify Java class constructors.
9751 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9753 (c-recognize-typeless-decls): Set the Java value to t.
9754 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9755 While handling a "(", add a check for, effectively, Java, and handle a
9756 "typeless" declaration there.
9758 2013-09-07 Roland Winkler <winkler@gnu.org>
9760 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9761 field subtitle for entry type book.
9763 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9765 * minibuffer.el: Make minibuffer-complete call completion-in-region
9766 rather than other way around.
9767 (completion--some, completion-pcm--find-all-completions):
9768 Don't delay signals when debugging.
9769 (minibuffer-completion-contents): Beware fields within the
9770 minibuffer contents.
9771 (completion-all-sorted-completions): Use defvar-local.
9772 (completion--do-completion, completion--cache-all-sorted-completions)
9773 (completion-all-sorted-completions, minibuffer-force-complete):
9774 Add args `beg' and `end'.
9775 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9776 (minibuffer-complete): Use completion-in-region.
9777 (completion-complete-and-exit): New fun, extracted from
9778 minibuffer-complete-and-exit.
9779 (minibuffer-complete-and-exit): Use it.
9780 (completion--complete-and-exit): Rename from
9781 minibuffer--complete-and-exit.
9782 (completion-in-region--single-word): New function, extracted from
9783 minibuffer-complete-word.
9784 (minibuffer-complete-word): Use it.
9785 (display-completion-list): Make `common-substring' argument obsolete.
9786 (completion--in-region): Call completion--in-region-1 instead of
9787 minibuffer-complete.
9788 (completion-help-at-point): Pass boundaries to
9789 minibuffer-completion-help as args rather than via an overlay.
9790 (completion-pcm--string->pattern): Use `any-delim'.
9791 (completion-pcm--optimize-pattern): New function.
9792 (completion-pcm--pattern->regex): Handle `any-delim'.
9793 * icomplete.el (icomplete-forward-completions)
9794 (icomplete-backward-completions, icomplete-completions):
9795 Adjust calls to completion-all-sorted-completions and
9796 completion--cache-all-sorted-completions.
9797 (icomplete-with-completion-tables): Default to t.
9798 * emacs-lisp/crm.el (crm--current-element): Rename from
9799 crm--select-current-element. Don't put an overlay but return the
9801 (crm--completion-command): Take two new args to bind to the boundaries.
9802 (crm-completion-help): Adjust accordingly.
9803 (crm-complete): Use completion-in-region.
9804 (crm-complete-word): Use completion-in-region--single-word.
9805 (crm-complete-and-exit): Use completion-complete-and-exit.
9807 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9809 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9812 2013-09-06 Juri Linkov <juri@jurta.org>
9814 * info.el (Info-display-images-node): When image file doesn't exist
9815 display text version of the image if it's provided in the Info file.
9816 Otherwise, display the location of missing image from SRC attribute.
9817 Add help-echo text property from ALT attribute. (Bug#15279)
9819 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9822 (edit-abbrevs-mode): Use define-derived-mode.
9824 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9825 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9827 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9828 Use define-derived-mode.
9830 * epg.el (epg-start-encrypt): Minor CSE simplification.
9832 2013-09-06 William Xu <william.xwl@gmail.com>
9834 * arc-mode.el: Add support for 7za (bug#15264).
9835 (archive-7z-program): New var.
9836 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9837 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9838 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9840 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9844 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9845 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9846 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9847 (tramp-postfix-host-format, tramp-file-name-regexp)
9848 (tramp-completion-file-name-regexp)
9849 (tramp-completion-dissect-file-name)
9850 (tramp-handle-substitute-in-file-name): Remove 'url case.
9851 (tramp-file-name-regexp-url)
9852 (tramp-completion-file-name-regexp-url): Remove constants.
9854 2013-09-06 Glenn Morris <rgm@gnu.org>
9856 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9858 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9860 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9861 keywords" below "here-doc beginnings" (Bug#15270).
9863 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9865 * subr.el (pop): Use `car-safe'.
9866 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9867 to detect unused `pop' return value.
9869 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9871 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9872 (python-fill-string): Remove unused var `marker'.
9873 (python-skeleton-add-menu-items): Remove unused var `items'.
9875 * international/mule-cmds.el: Require CL.
9876 (find-coding-systems-for-charsets): Avoid add-to-list.
9877 (sanitize-coding-system-list): New function, extracted from
9878 select-safe-coding-system-interactively.
9879 (select-safe-coding-system-interactively): Use it.
9880 (read-input-method-name): Accept symbols for `default'.
9882 * emacs-lisp/advice.el (defadvice): Add indent rule.
9884 2013-09-05 Daniel Hackney <dan@haxney.org>
9888 * net/browse-url.el:
9891 * net/eudcb-ldap.el:
9904 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9905 byte compiler. Remove some unused let-bound variables.
9907 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9910 a "ref-cell", since it gets better optimized (bug#14883).
9912 2013-09-05 Glenn Morris <rgm@gnu.org>
9914 * progmodes/cc-awk.el (c-forward-sws): Declare.
9916 2013-09-04 Glenn Morris <rgm@gnu.org>
9918 * generic-x.el [rul-generic-mode]: Require cc-mode.
9919 (c++-mode-syntax-table): Declare.
9920 (rul-generic-mode-syntax-table): Init in the defvar.
9922 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9924 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9925 (vc-do-command, vc-set-async-update):
9926 * vc/vc-mtn.el (vc-mtn-dir-status):
9927 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9928 (vc-hg-pull, vc-hg-merge-branch):
9929 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9930 (vc-git-merge-branch):
9931 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9932 (vc-cvs-dir-status-files):
9933 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9934 (vc-bzr-dir-status-files):
9935 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9936 * vc/vc-annotate.el: Use lexical-binding.
9937 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9938 (vc-sentinel-movepoint): Declare.
9939 (vc-annotate): Don't use `goto-line'.
9940 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9941 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9942 (vc-sentinel-movepoint): Declare.
9943 * vc/vc-svn.el: Use lexical-binding.
9944 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9946 * vc/vc-rcs.el: Use lexical-binding.
9948 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9949 `deleted'. Don't drop errors silently.
9951 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9953 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9955 * vc/vc.el (vc-ignore): Rewrite.
9956 (vc-default-ignore): New function.
9957 (vc-default-ignore-completion-table): Use find-ignore-file.
9959 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9960 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9961 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9962 Remove. Most code moved to vc.el.
9964 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9966 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9967 * net/tramp-smb.el (tramp-smb-get-file-entries):
9968 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9969 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9971 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9973 (eww-change-select): Remove unused var `properties'.
9974 (eww-make-unique-file-name): Remove unused var `base'.
9976 * finder.el (finder-compile-keywords): Don't mess with windows.
9978 * calculator.el (calculator-funcall): Fix typo in last change.
9980 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9982 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9983 <pkg>-autoloads.el file stop us.
9985 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9986 warnings, and factor out common code.
9988 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9990 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9991 two-character operators and whether the character preceding them
9992 changes their meaning (Bug#15208).
9994 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9996 Format code sent to Python shell for robustness.
9997 * progmodes/python.el (python-shell-buffer-substring):
9999 (python-shell-send-region, python-shell-send-buffer): Use it.
10001 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10003 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10004 * net/tramp.el (tramp-user-error): ... here.
10005 (tramp-find-method, tramp-check-proper-host)
10006 (tramp-dissect-file-name, tramp-debug-message)
10007 (tramp-handle-shell-command):
10008 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10009 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10011 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10013 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10015 * avoid.el (mouse-avoidance-point-position)
10016 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10019 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10021 * progmodes/python.el (python-shell-completion-get-completions):
10022 Drop use of deleted `comint-last-prompt-overlay'.
10023 (python-nav-if-name-main): New command.
10025 2013-09-01 Glenn Morris <rgm@gnu.org>
10027 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10028 Avoid leading space in $wins. Otherwise the sed command used by
10029 eg compile-main ends up containing "/*.el". (Bug#15170)
10031 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10033 2013-08-30 Glenn Morris <rgm@gnu.org>
10035 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10036 Fix is-this-a-directory logic. (Bug#15220)
10038 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10040 * textmodes/css-mode.el: Use SMIE.
10041 (css-smie-grammar): New var.
10042 (css-smie--forward-token, css-smie--backward-token)
10043 (css-smie-rules): New functions.
10044 (css-mode): Use them.
10045 (css-navigation-syntax-table): Remove var.
10046 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10047 (css-indent-calculate, css-indent-line): Remove functions.
10049 Misc changes to reduce use of `(lambda...); and other cleanups.
10050 * cus-edit.el: Use lexical-binding.
10051 (customize-push-and-save, customize-apropos)
10052 (custom-buffer-create-internal): Use closures.
10053 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10054 * progmodes/ada-xref.el: Use setq.
10055 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10056 * dframe.el: Use lexical-binding.
10057 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10058 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10059 * descr-text.el: Use lexical-binding.
10060 (describe-text-widget, describe-text-sexp, describe-property-list):
10062 * comint.el (comint-history-isearch-push-state): Use a closure.
10063 * calculator.el: Use lexical-binding.
10064 (calculator-number-to-string): Make it work with lexical-binding.
10065 (calculator-funcall): Same and use cl-letf.
10067 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10068 (lisp--company-doc-string, lisp--company-location): New functions.
10069 (lisp-completion-at-point): Use them to improve Company support.
10071 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10072 params of lambda expressions.
10073 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10074 (ruby-smie--opening-pipe-p): New function.
10075 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10076 symbols and matched |...| for formal params.
10077 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10078 from being treated as hanging. Handle "rescue".
10080 2013-08-29 Glenn Morris <rgm@gnu.org>
10082 * progmodes/cc-engine.el (c-pull-open-brace):
10083 Move definition before use.
10085 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10087 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10088 are immutable. Don't use `unsafe' any more.
10089 (cl--defsubst-expand): Don't substitute at the same time as keeping
10090 a residual unused let-binding. Don't use `unsafe' any more.
10092 2013-08-29 Glenn Morris <rgm@gnu.org>
10094 * calendar/cal-china.el (calendar-chinese-year-cache):
10097 * nxml/nxml-util.el (nxml-debug-clear-inside):
10098 Use cl-loop rather than loop.
10100 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10102 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10104 2013-08-28 Glenn Morris <rgm@gnu.org>
10106 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10108 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10110 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10112 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10114 * simple.el (repeat-complex-command--called-interactively-skip):
10116 (repeat-complex-command): Use it (bug#14136).
10118 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10119 (c-define-abbrev-table): Add `doc' argument.
10120 (c-mode-abbrev-table, c++-mode-abbrev-table)
10121 (objc-mode-abbrev-table, java-mode-abbrev-table)
10122 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10123 (awk-mode-abbrev-table): Use it.
10124 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10125 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10126 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10127 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10128 Move initialization into the declaration; and remove any
10131 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10132 and dynamic let binding.
10134 * vc/smerge-mode.el: Remove redundant :group args.
10136 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10139 2013-08-28 Juri Linkov <juri@jurta.org>
10141 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10142 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10143 (isearch-other-meta-char): Handle an undefined shifted printing
10144 character by downshifting it. (Bug#15200)
10146 2013-08-28 Juri Linkov <juri@jurta.org>
10148 * isearch.el (isearch-search): Change regexp error message for
10149 non-regexp searches. (Bug#15166)
10151 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10153 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10154 for portability to hosts where /bin/sh has problems.
10156 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10158 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10160 2013-08-27 Juri Linkov <juri@jurta.org>
10162 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10163 in the keyboard macro. (Bug#15126)
10165 2013-08-27 Juri Linkov <juri@jurta.org>
10167 * isearch.el (isearch-quote-char): Comment out converting unibyte
10168 to multibyte, thus syncing with its `quoted-insert' counterpart.
10171 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10173 * window.el (display-buffer-use-some-window): Add missing
10174 argument in call of get-largest-window (Bug#15185).
10175 Reported by Stephen Leake.
10177 2013-08-27 Glenn Morris <rgm@gnu.org>
10179 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10181 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10183 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10184 from a matcher-function unless there's no more matches (bug#15161).
10186 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10188 * minibuffer.el: Revert change from 2013-08-20.
10190 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10191 with text property `tramp-default', if appropriate.
10192 (tramp-check-proper-host): New defun.
10193 (tramp-dissect-file-name): Do not check hostname. Revert change
10195 (tramp-backtrace): Make VEC-OR-PROC optional.
10197 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10198 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10199 * net/tramp-sh.el (tramp-maybe-open-connection):
10200 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10201 Apply `tramp-check-proper-host'.
10203 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10205 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10206 lambda expression in order to have `describe-variable' display it.
10208 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10210 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10211 BUF can be optional. (Bug#15186)
10213 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10215 * progmodes/flymake.el (flymake-get-real-file-name-function):
10216 Fix broken customization. (Bug#15184)
10218 2013-08-25 Alan Mackenzie <acm@muc.de>
10220 Improve indentation of bracelists defined by macros (without "=").
10222 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10223 expansion begins with "{", regard it as bracelist when it doesn't
10226 Parse C++ inher-intro when there's a template split over 2 lines.
10228 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10229 rigorously the search for "class" etc. followed by ":".
10231 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10232 random languages a regexp which never matches rather than nil.
10234 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10236 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10237 (c-awk-regexp-one-line-possibly-open-char-list-re)
10238 (c-awk-one-line-possibly-open-regexp-re)
10239 (c-awk-one-line-non-syn-ws*-re): Remove.
10240 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10241 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10242 (c-awk-space*-unclosed-regexp-/-re): New constants.
10243 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10244 aren't regexp delimiters.
10246 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10247 handling for a rare situation in AWK Mode involving unterminated
10250 2013-08-23 Glenn Morris <rgm@gnu.org>
10252 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10254 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10256 * files.el (create-file-buffer): If the result would begin with
10257 spaces, prepend a "|" instead of removing them. (Bug#15162)
10259 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10261 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10262 text-properties (bug#15155).
10264 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10266 (calc-keypad-redraw): Remove unused var `pad'.
10267 (calc-keypad-press): Remove unused var `menu'.
10269 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10271 * window.el (display-buffer-pop-up-frame):
10272 Call pop-up-frame-function with BUFFER current so `make-frame' will
10273 use it as the new frame's buffer (Bug#15133).
10275 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10277 * calendar/timeclock.el: Minor cleanups.
10278 (timeclock-ask-before-exiting, timeclock-use-display-time):
10280 (timeclock-modeline-display): Define as alias before the
10282 (timeclock-mode-line-display): Use define-minor-mode.
10283 (timeclock-day-list-template): Make it a function, add an argument.
10284 (timeclock-day-list-required, timeclock-day-list-length)
10285 (timeclock-day-list-debt, timeclock-day-list-span)
10286 (timeclock-day-list-break): Adjust calls accordingly.
10288 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10290 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10291 Use read--expression so that completion works again.
10293 2013-08-21 Sam Steingold <sds@gnu.org>
10295 Add rudimentary inferior shell interaction
10296 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10297 (sh-set-shell): Reset it.
10298 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10299 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10301 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10303 * align.el: Use lexical-binding.
10304 (align-region): Simplify accordingly.
10306 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10308 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10310 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10311 `non-essential' up.
10313 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10316 * net/tramp-adb.el:
10317 * net/tramp-cmds.el:
10318 * net/tramp-ftp.el:
10319 * net/tramp-gvfs.el:
10321 * net/tramp-sh.el: Don't wrap external variable declarations by
10322 `eval-when-compile'.
10324 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10326 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10327 now that Emacs supports ImageMagick animations.
10329 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10331 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10332 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10334 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10336 * window.el (mouse-autoselect-window-select): Do autoselect when
10337 mouse pointer is on margin.
10339 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10341 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10343 2013-08-16 Glenn Morris <rgm@gnu.org>
10345 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10346 Handle "Remote Directory" response of some clients. (Bug#15058)
10348 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10349 Tweak warning. (Bug#14926)
10351 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10352 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10354 * image-mode.el (image-mode-map): Add menu items to reverse,
10355 increase, decrease, reset animation speed.
10356 (image--set-speed, image-increase-speed, image-decrease-speed)
10357 (image-reverse-speed, image-reset-speed): New functions.
10358 (image-mode-map): Add bindings for speed commands.
10360 * image.el (image-animate-get-speed, image-animate-set-speed):
10362 (image-animate-timeout): Respect image :speed property.
10364 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10366 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10367 previous line (bug#15101).
10368 (debugger-eval-expression, debugger-record-expression):
10369 Use read--expression (bug#15102).
10371 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10373 Remove byte compiler warnings, visible when compiling with
10374 `byte-compile-force-lexical-warnings' set to t.
10376 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10377 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10378 (tramp-handle-unhandled-file-name-directory)
10379 (tramp-handle-file-notify-add-watch, tramp-action-login)
10380 (tramp-action-succeed, tramp-action-permission-denied)
10381 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10382 arguments with "_".
10384 * net/tramp-adb.el (tramp-adb-parse-device-names)
10385 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10386 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10387 (tramp-adb-handle-file-truename): Remove unused arguments.
10389 * net/tramp-cache.el (tramp-flush-directory-property)
10390 (tramp-flush-connection-property, tramp-list-connections)
10391 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10393 * net/tramp-compat.el (tramp-compat-make-temp-file):
10394 Rename FILENAME to F.
10396 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10397 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10398 (tramp-zeroconf-parse-workstation-device-names)
10399 (tramp-zeroconf-parse-webdav-device-names)
10400 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10402 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10403 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10405 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10407 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10408 (tramp-sh-handle-insert-file-contents-literally)
10409 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10411 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10412 Remove unused variables.
10414 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10415 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10416 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10418 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10419 Make them a defconst.
10420 (tramp-uuencode-region): Remove unused variable.
10422 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10424 * frameset.el (frameset--prop-setter): New function.
10425 (frameset-prop): Add gv-setter declaration.
10426 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10427 parameter was already set in FILTERED. Doc fix.
10428 (frameset--record-minibuffer-relationships): Allow saving a
10429 minibufferless frame without its corresponding minibuffer frame.
10430 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10431 frame, if the frame id matches.
10432 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10433 frames before orphaned ones.
10434 (frameset-restore): Warn about orphaned windows, instead of error out.
10436 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10438 * window.el (window-make-atom): Don't overwrite parameter
10440 (display-buffer-in-atom-window): Handle special case where we
10441 split an already atomic window.
10442 (window--major-non-side-window, display-buffer-in-side-window)
10443 (window--side-check): Ignore minibuffer window when walking
10445 (window-deletable-p): Return 'frame only if no other frame uses
10446 our minibuffer window.
10447 (record-window-buffer): Run buffer-list-update-hook.
10448 (split-window): Make sure window--check-frame won't destroy an
10449 existing atomic window in case the new window gets nested
10451 (display-buffer-at-bottom): Ignore minibuffer window when
10452 walking window tree. Don't split a side window.
10453 (pop-to-buffer): Don't set-buffer here, the select-window call
10455 (mouse-autoselect-window-select): Autoselect only if we are in the
10456 text portion of the window.
10458 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10460 * net/shr.el (shr-parse-image-data): New function to grab both the
10461 data itself and the Content-Type.
10462 (shr-put-image): Use it.
10464 * net/eww.el (eww-display-image): Ditto.
10466 * image.el (image-content-type-suffixes): New variable.
10468 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10470 * progmodes/python.el (python-imenu--build-tree)
10471 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10473 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10475 * simple.el (backward-word): Mention the optional argument.
10477 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10479 * frameset.el (frameset--make): Rename constructor from make-frameset.
10480 (frameset-p, frameset-valid-p): Don't autoload.
10481 (frameset-valid-p): Use normal accessors.
10483 2013-08-13 Glenn Morris <rgm@gnu.org>
10485 * progmodes/compile.el (compile-command): Tweak example in doc.
10486 * obsolete/scribe.el (scribe-mode):
10487 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10489 * mail/feedmail.el (feedmail-confirm-outgoing)
10490 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10492 * cus-start.el (truncate-partial-width-windows): Fix type.
10494 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10496 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10498 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10500 * emacs-lisp/timer.el (timer--time-setter): New function.
10501 (timer--time): Use it as gv-setter.
10503 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10504 setter is not a symbol.
10506 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10508 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10509 if sending fails. This makes debugging easier.
10511 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10513 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10514 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10515 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10517 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10519 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10521 2013-08-12 Glenn Morris <rgm@gnu.org>
10523 * format.el (format-annotate-function):
10524 Handle read-only text properties in the source. (Bug#14887)
10526 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10528 * net/eww.el (eww-display-html): Ignore coding system errors.
10529 One web site uses "utf-8lias" as the coding system.
10531 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10533 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10535 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10537 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10538 (tutorial--detailed-help): Remove unused local variables.
10539 (tutorial--save-tutorial-to): Use ignore-errors.
10540 (help-with-tutorial): Use looking-at-p.
10542 * view.el (view-buffer-other-window, view-buffer-other-frame):
10543 Mark unused arguments.
10545 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10546 (woman-select-symbol-fonts, woman, woman-find-file)
10547 (woman-insert-file-contents, woman-non-underline-faces):
10548 Use string-match-p.
10549 (woman1-unquote): Move declaration.
10551 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10552 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10553 argument. Remove unused local variable.
10554 (xml-parse-elem-type): Use string-match-p.
10555 (xml-substitute-numeric-entities): Use ignore-errors.
10557 * calculator.el (calculator): Mark unused argument.
10558 (calculator-paste, calculator-quit, calculator-integer-p):
10560 (calculator-string-to-number, calculator-decimal, calculator-exp)
10561 (calculator-op-or-exp): Use string-match-p.
10563 * dired.el (dired-buffer-more-recently-used-p): Declare.
10564 (dired-insert-set-properties, dired-insert-old-subdirs):
10567 * dired-aux.el (dired-compress): Use ignore-errors.
10568 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10569 (dired-do-async-shell-command, dired-do-shell-command)
10570 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10571 (dired-insert-subdir-validate): Use string-match-p.
10572 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10573 (dired-add-entry): Use string-match-p, looking-at-p.
10574 (dired-insert-subdir-newpos): Remove unused local variable.
10576 * filenotify.el (file-notify-callback): Remove unused local variable.
10578 * filesets.el (filesets-error): Mark unused argument.
10579 (filesets-which-command-p, filesets-filter-dir-names)
10580 (filesets-directory-files, filesets-get-external-viewer)
10581 (filesets-ingroup-get-data): Use string-match-p.
10583 * find-file.el (ff-other-file-name, ff-other-file-name)
10584 (ff-find-the-other-file, ff-cc-hh-converter):
10585 Remove unused local variables.
10586 (ff-get-file-name): Use string-match-p.
10587 (ff-all-dirs-under): Use ignore-errors.
10589 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10590 (follow-select-if-visible): Remove unused local variable.
10592 * forms.el (read-file-filter): Move declaration.
10593 (forms--make-format, forms--make-parser, forms-insert-record):
10594 Quote function with #'.
10595 (forms--update): Use string-match-p. Quote function with #'.
10597 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10598 (help-make-xrefs): Use looking-at-p.
10599 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10601 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10602 (ibuffer-confirm-operation-on): Use string-match-p.
10604 * msb.el (msb-item-handler, msb-dired-item-handler):
10605 Mark unused arguments.
10607 * ses.el (ses-decode-cell-symbol)
10608 (ses-kill-override): Remove unused local variable.
10609 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10610 (ses-load): Use ignore-errors, looking-at-p.
10611 (ses-jump-safe): Use ignore-errors.
10612 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10614 * tabify.el (untabify, tabify): Mark unused arguments.
10616 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10617 Mark unused argument.
10618 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10619 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10621 * emacs-lisp/timer.el (timer--time): Define setter with
10622 gv-define-setter to avoid deprecation warning.
10624 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10625 (*record-cmpl-statistics-p*): Remove (was commented out).
10626 (cmpl-statistics-block): Remove (body was commented out).
10627 All callers changed.
10628 (add-completions-from-buffer, load-completions-from-file):
10629 Remove unused variables.
10631 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10633 * filecache.el (file-cache-delete-file-list):
10634 Print message only when told so.
10635 (file-cache-files-matching): Use #' in mapconcat argument.
10637 * ffap.el (ffap-url-at-point): Fix reference to variable
10638 thing-at-point-default-mail-uri-scheme.
10640 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * subr.el (define-error): New function.
10643 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10644 error-file-not-found and define with define-error.
10645 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10646 and define with define-error.
10647 * userlock.el (file-locked, file-supersession):
10648 * simple.el (mark-inactive):
10649 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10650 * progmodes/ada-mode.el (ada-mode-errors):
10651 * play/life.el (life-extinct):
10652 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10653 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10654 * nxml/rng-util.el (rng-error):
10655 * nxml/rng-uri.el (rng-uri-error):
10656 * nxml/rng-match.el (rng-compile-error):
10657 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10658 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10659 * nxml/nxml-rap.el (nxml-scan-error):
10660 * nxml/nxml-outln.el (nxml-outline-error):
10661 * net/soap-client.el (soap-error):
10662 * net/gnutls.el (gnutls-error):
10663 * net/ange-ftp.el (ftp-error):
10664 * mpc.el (mpc-proc-error):
10665 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10666 (json-number-format, json-string-escape, json-string-format)
10667 (json-key-format, json-object-format):
10668 * jka-compr.el (compression-error):
10669 * international/quail.el (quail-error):
10670 * international/kkc.el (kkc-error):
10671 * emacs-lisp/ert.el (ert-test-failed):
10672 * calc/calc.el (calc-error, inexact-result, math-overflow)
10674 * bookmark.el (bookmark-error-no-filename):
10675 * epg.el (epg-error): Define with define-error.
10677 * time.el (display-time-event-handler)
10678 (display-time-next-load-average): Don't call sit-for since it seems
10679 unnecessary (bug#15045).
10681 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10682 Use #' instead of ' to quote functions.
10683 (checkdoc-output-mode): Use setq-local.
10684 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10685 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10686 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10687 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10688 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10689 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10690 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10691 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10693 * ido.el (ido-completion-help): Fix up compiler warning.
10695 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10697 * frameset.el (frameset-p): Add autoload cookie.
10698 (frameset--jump-to-register): New function, based on code moved from
10700 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10702 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10703 (frameset-restore, frameset-save, frameset-session-filter-alist):
10704 Remove declarations.
10705 (register-alist): Doc fix.
10706 (frameset-to-register): Move to frameset.el.
10707 (jump-to-register, describe-register-1): Remove frameset-specific code.
10709 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10711 * allout-widgets.el (allout-widgets-pre-command-business)
10712 (allout-widgets-post-command-business)
10713 (allout-widgets-after-change-handler)
10714 (allout-decorate-item-and-context, allout-set-boundary-marker)
10715 (allout-body-modification-handler)
10716 (allout-graphics-modification-handler): Mark ignored arguments.
10717 (allout-widgets-post-command-business)
10718 (allout-widgets-exposure-change-processor)
10719 (allout-widgets-exposure-undo-processor)
10720 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10721 (allout-parse-item-at-point, allout-decorate-item-guides)
10722 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10723 * allout.el (epa-passphrase-callback-function): Declare.
10724 (allout-overlay-insert-in-front-handler)
10725 (allout-overlay-interior-modification-handler)
10726 (allout-isearch-end-handler, allout-chart-siblings)
10727 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10728 (allout-yank-processing, allout-process-exposed)
10729 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10730 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10731 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10732 (lisp-indent-defform): Mark ignored arguments.
10733 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10734 (calculate-lisp-indent): Remove unused variables.
10735 * international/characters.el (indian-2-column, arabic-2-column)
10736 (tibetan): Mark ignored arguments.
10737 (use-cjk-char-width-table): Mark ignored arguments.
10738 Remove unused variables.
10739 * international/fontset.el (build-default-fontset-data)
10740 (x-compose-font-name, create-fontset-from-fontset-spec):
10741 Mark ignored arguments.
10742 (fontset-plain-name): Remove unused variables.
10743 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10744 (keyboard-coding-system): Mark ignored arguments.
10745 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10746 * help.el (resize-temp-buffer-window):
10747 * window.el (display-buffer-in-major-side-window)
10748 (display-buffer-in-side-window, display-buffer-in-previous-window):
10749 Remove unused variables.
10750 * isearch.el (isearch-forward-symbol):
10751 * version.el (emacs-bzr-version-bzr):
10752 * international/mule-cmds.el (current-language-environment):
10753 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10754 (x-handle-display):
10755 * term/pc-win.el (x-list-fonts, x-display-planes)
10756 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10757 (x-server-version, x-display-screens, x-display-mm-height)
10758 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10759 (x-selection-owner-p, x-own-selection-internal)
10760 (x-disown-selection-internal, x-get-selection-internal)
10761 (msdos-initialize-window-system):
10762 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10763 * term/x-win.el (x-handle-no-bitmap-icon):
10764 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10765 (vc-default-find-file-hook, vc-default-extra-menu):
10766 Mark ignored arguments.
10768 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10770 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10771 break-condition in the context of the debugged code (bug#12685).
10773 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10776 Do not use an overlay to highlight the last prompt. (Bug#14744)
10777 (comint-mode): Make comint-last-prompt buffer local.
10778 (comint-last-prompt): New variable.
10779 (comint-last-prompt-overlay): Remove. Superseded by
10780 comint-last-prompt.
10781 (comint-snapshot-last-prompt, comint-output-filter):
10782 Use comint-last-prompt.
10784 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10786 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10787 (frameset-save): Check validity of the resulting frameset.
10789 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10791 * ido.el (ido-record-command): Add doc string.
10793 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10795 * frameset.el (frameset): Do not disable creation of the default
10796 frameset-p predicate. Doc fix.
10797 (frameset-valid-p): New function, copied from the old predicate-p.
10798 Add additional checks.
10799 (frameset-restore): Check with frameset-valid-p.
10800 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10801 (frameset-name, frameset-description, frameset-properties)
10802 (frameset-states): Add docstring.
10803 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10804 (frameset-filter-alist): Doc fixes.
10806 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10808 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10810 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10812 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10813 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10814 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10815 (byte-compile-normal-call): Remove obsolescence check.
10817 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10819 * frameset.el (frameset-restore): Doc fix.
10821 * register.el (frameset-frame-id, frameset-frame-with-id)
10822 (frameset-p, frameset-restore, frameset-save): Declare.
10823 (register-alist): Document framesets.
10824 (frameset-session-filter-alist): Declare.
10825 (frameset-to-register): New function.
10826 (jump-to-register): Implement jumping to framesets. Doc fix.
10827 (describe-register-1): Describe framesets.
10829 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10831 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10833 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10834 Use lexical-binding.
10836 * frameset.el (frameset): Use type vector, not list (incompatible
10837 change). Do not declare a new constructor, use the default one.
10838 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10839 `name' and `description', respectively, and add read-only slot
10840 `timestamp'. Doc fixes.
10841 (frameset-copy, frameset-persistent-filter-alist)
10842 (frameset-filter-alist, frameset-switch-to-gui-p)
10843 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10844 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10845 (frameset-filter-iconified, frameset-keep-original-display-p):
10847 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10848 Rename from frameset-filter-(save|restore)-param. All callers changed.
10850 (frameset-p): Adapt to change to vector and be more thorough.
10851 Change arg name to OBJECT. Doc fix.
10852 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10853 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10854 All callers changed.
10855 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10856 All callers changed.
10857 (frameset--record-minibuffer-relationships): Rename from
10858 frameset--process-minibuffer-frames. All callers changed.
10859 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10860 Use new default constructor (again). Doc fix.
10861 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10862 All callers changed.
10863 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10864 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10866 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10867 PARAMETERS and WINDOW-STATE, respectively.
10868 (frameset-restore): Add new keyword argument PREDICATE.
10869 Reset frameset--target-display to nil. Doc fix.
10871 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10873 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10874 (bat-mode): Use it.
10875 (bat-mode-syntax-table): Mark \n as end-of-comment.
10876 (bat-font-lock-keywords): Remove comment rule.
10878 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10879 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10881 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10882 (byte-compile-callargs-warn): Use `push'.
10883 (byte-compile-arglist-warn): Ignore higher-order "calls".
10884 (byte-compile-file-form-autoload): Use `pcase'.
10885 (byte-compile-function-form): If quoting a symbol, check that it exists.
10887 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10889 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10890 and add a few popular commands found in batch files.
10891 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10892 (dos-mode): Doc fixes.
10894 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10896 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10897 (dos-mode): Use setq-local. Add space after "rem".
10898 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10899 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10901 2013-08-07 Arni Magnusson <arnima@hafro.is>
10903 * progmodes/dos.el: New file.
10904 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10907 2013-08-06 Glenn Morris <rgm@gnu.org>
10909 * calendar/calendar.el: Add new faces, and day-header-array.
10910 (calendar-weekday-header, calendar-weekend-header)
10911 (calendar-month-header): New faces.
10912 (calendar-day-header-construct): New function.
10913 (calendar-day-header-width): Also :set calendar-day-header-array.
10914 (calendar-american-month-header, calendar-european-month-header)
10915 (calendar-iso-month-header): Use calendar- faces.
10916 (calendar-generate-month):
10917 Use calendar-day-header-array for day headers; apply faces to them.
10918 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10919 (calendar-abbrev-construct): Add optional maxlen argument.
10920 (calendar-day-name-array): Doc fix.
10921 (calendar-day-name-array, calendar-abbrev-length)
10922 (calendar-day-abbrev-array):
10923 Also :set calendar-day-header-array, and maybe redraw.
10924 (calendar-day-header-array): New option. (Bug#15007)
10925 (calendar-font-lock-keywords): Set to nil and make obsolete.
10926 (calendar-day-name): Add option to use header array.
10928 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10930 * net/shr.el (shr-render-td): Remove debugging.
10931 (shr-render-td): Make width computation consistent by defaulting
10932 all zero-width columns to 10 characters. This may not be optimal,
10933 but it's at least consistent.
10934 (shr-make-table-1): Redo last change to fix the real problem in
10937 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10939 * files.el (cache-long-line-scans):
10940 Make obsolete alias to `cache-long-scans'.
10942 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10944 * frameset.el (frameset, frameset-filter-alist)
10945 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10946 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10947 (frameset-compute-pos): Rename from frameset--compute-pos,
10949 (frameset-move-onscreen): Use frameset-compute-pos.
10950 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10952 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10953 Fix typos in docstrings.
10955 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10957 * frame.el (get-other-frame): Tiny cleanup.
10959 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10961 * vc/vc.el (vc-default-ignore-completion-table):
10962 Silence byte-compiler warning.
10964 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10965 slot, which can indeed be nil.
10966 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10967 Move entry for `left' from persistent to live filter alist.
10968 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10970 (frameset-filter-params): When restoring a frame, copy items added to
10971 `filtered', to avoid unwittingly modifying the original parameters.
10972 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10973 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10975 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10976 to use looking-at-p instead of looking-at. (Bug#15028)
10978 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10980 Revert introduction of isearch-filter-predicates (bug#14714).
10981 Rely on add-function instead.
10982 * isearch.el (isearch-filter-predicates): Rename it back to
10983 isearch-filter-predicate.
10984 (isearch-message-prefix): Use advice-function-mapc and advice
10985 properties to get the isearch-message-prefix.
10986 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10987 instead of run-hook-with-args-until-failure.
10988 (isearch-filter-visible): Not obsolete any more.
10989 * loadup.el: Preload nadvice.
10990 * replace.el (perform-replace): Revert to funcall
10991 instead of run-hook-with-args-until-failure.
10992 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10993 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10994 dired-isearch-filenames-toggle; make it into a proper minor mode.
10995 Use add/remove-function.
10996 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10997 Call the minor-mode rather than add/remove-hook.
10998 (dired-isearch-filter-filenames):
10999 Remove isearch-message-prefix property.
11000 * info.el (Info--search-loop): New function, extracted from Info-search.
11001 Funcall isearch-filter-predicate instead of
11002 run-hook-with-args-until-failure isearch-filter-predicates.
11003 (Info-search): Use it.
11004 (Info-mode): Use isearch-filter-predicate instead of
11005 isearch-filter-predicates.
11007 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11009 Do not call to `selected-window' where it is assumed by default.
11010 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11011 `window-hscroll', `window-width', `window-height', `window-buffer',
11012 `window-frame', `window-start', `window-point', `next-window'
11013 and `window-display-table'.
11014 * abbrev.el (abbrev--default-expand):
11015 * bs.el (bs--show-with-configuration):
11016 * buff-menu.el (Buffer-menu-mouse-select):
11017 * calc/calc.el (calc):
11018 * calendar/calendar.el (calendar-generate-window):
11019 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11020 (diary-make-entry):
11021 * comint.el (send-invisible, comint-dynamic-complete-filename)
11022 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11023 * completion.el (complete):
11024 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11025 * disp-table.el (describe-current-display-table):
11026 * doc-view.el (doc-view-insert-image):
11027 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11028 * ehelp.el (with-electric-help):
11029 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11030 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11031 * emacs-lisp/helper.el (Helper-help-scroller):
11032 * emulation/cua-base.el (cua--post-command-handler-1):
11033 * eshell/esh-mode.el (eshell-output-filter):
11034 * ffap.el (ffap-gnus-wrapper):
11035 * help-macro.el (make-help-screen):
11036 * hilit-chg.el (highlight-compare-buffers):
11037 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11038 * hl-line.el (global-hl-line-highlight):
11039 * icomplete.el (icomplete-simple-completing-p):
11040 * isearch.el (isearch-done):
11041 * jit-lock.el (jit-lock-stealth-fontify):
11042 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11043 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11044 * mpc.el (mpc-tagbrowser, mpc):
11045 * net/rcirc.el (rcirc-any-buffer):
11046 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11047 * play/landmark.el (landmark-max-width, landmark-max-height):
11048 * play/zone.el (zone):
11049 * progmodes/compile.el (compilation-goto-locus):
11050 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11051 * progmodes/etags.el (find-tag-other-window):
11052 * progmodes/fortran.el (fortran-column-ruler):
11053 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11054 * progmodes/verilog-mode.el (verilog-point-text):
11055 * reposition.el (reposition-window):
11056 * rot13.el (toggle-rot13-mode):
11057 * server.el (server-switch-buffer):
11058 * shell.el (shell-dynamic-complete-command)
11059 (shell-dynamic-complete-environment-variable):
11060 * simple.el (insert-buffer, set-selective-display)
11061 (delete-completion-window):
11062 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11063 (speedbar-recenter):
11064 * startup.el (fancy-splash-head):
11065 * textmodes/ispell.el (ispell-command-loop):
11066 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11067 * tutorial.el (help-with-tutorial):
11068 * vc/add-log.el (add-change-log-entry):
11069 * vc/compare-w.el (compare-windows):
11070 * vc/ediff-help.el (ediff-indent-help-message):
11071 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11072 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11073 (ediff-setup-control-frame):
11074 * vc/emerge.el (emerge-position-region):
11075 * vc/pcvs-util.el (cvs-bury-buffer):
11076 * window.el (walk-windows, mouse-autoselect-window-select):
11077 * winner.el (winner-set-conf, winner-undo): Related users changed.
11079 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11081 * frameset.el (frameset--set-id): Doc fix.
11082 (frameset-frame-id, frameset-frame-id-equal-p)
11083 (frameset-locate-frame-id): New functions.
11084 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11085 (frameset-restore): Use them.
11087 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11089 Do not call to `selected-frame' where it is assumed by default.
11090 Affected functions are `raise-frame', `redraw-frame',
11091 `frame-first-window', `frame-terminal' and `delete-frame'.
11092 * calendar/appt.el (appt-disp-window):
11093 * epg.el (epg-wait-for-completion):
11094 * follow.el (follow-delete-other-windows-and-split)
11095 (follow-avoid-tail-recenter):
11096 * international/mule.el (set-terminal-coding-system):
11097 * mail/rmail.el (rmail-mail-return):
11098 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11099 * progmodes/f90.el (f90-add-imenu-menu):
11100 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11101 * server.el (server-switch-buffer):
11102 * simple.el (delete-completion-window):
11104 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11105 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11106 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11107 * vc/ediff.el (ediff-documentation): Related users changed.
11108 * frame.el (selected-terminal): Remove the leftover.
11110 2013-08-05 Glenn Morris <rgm@gnu.org>
11112 * calendar/calendar.el (calendar-generate-month):
11113 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11114 (calendar-generate-month, calendar-font-lock-keywords):
11115 Fix for calendar-day-header-width > length of any day name.
11117 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11119 * desktop.el (desktop-clear): Use new name of sort predicate.
11121 * frameset.el (frameset): Add docstring. Move :version property to its
11122 own `version' slot.
11123 (frameset-copy): Rename from copy-frameset.
11124 (frameset-p): Check more thoroughly.
11125 (frameset-prop): Do not check for :version, which is no longer a prop.
11126 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11127 Use new :never value instead of t.
11128 (frameset-filter-alist): Expand and clarify docstring.
11129 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11130 (frameset-filter-minibuffer, frameset-filter-save-param)
11131 (frameset-filter-restore-param, frameset-filter-iconified):
11132 Add pointer to docstring of frameset-filter-alist.
11133 (frameset-filter-params): Rename filter values to be more meaningful:
11134 :never instead of t, and reverse the meanings of :save and :restore.
11135 (frameset--process-minibuffer-frames): Clarify error message.
11136 (frameset-save): Avoid unnecessary and confusing call to framep.
11137 Use new BOA constructor for framesets.
11138 (frameset--reuse-list): Doc fix.
11139 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11140 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11141 (frameset-minibufferless-first-p): Doc fix.
11142 Rename from frameset-sort-frames-for-deletion.
11143 (frameset-restore): Doc fixes. Use new function names.
11144 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11146 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11148 * desktop.el (desktop-restore-forces-onscreen)
11149 (desktop-restore-reuses-frames): Document :keyword constant values.
11150 (desktop-filter-parameters-alist): Remove, now identical to
11151 frameset-filter-alist.
11152 (desktop--filter-tty*): Remove, moved to frameset.el.
11153 (desktop-save-frameset, desktop-restore-frameset):
11154 Do not pass :filters argument.
11156 * frameset.el (frameset-live-filter-alist)
11157 (frameset-persistent-filter-alist): New variables.
11158 (frameset-filter-alist): Use them. Add autoload cookie.
11159 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11160 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11161 `frameset--id' (it's supposed to be internal to frameset.el).
11162 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11163 (frameset--initial-params): New function.
11164 (frameset--get-frame): Use it. Doc fix.
11165 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11166 Accept :all, not 'all.
11167 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11168 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11169 with fbound symbols. Fix frame id matching, and remove matching ids if
11170 the frame being restored is deleted. Obey :delete.
11172 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11174 * subr.el (macrop): New function.
11175 (text-clone--maintaining): New var.
11176 (text-clone--maintain): Rename from text-clone-maintain. Use it
11177 instead of inhibit-modification-hooks.
11179 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11180 a proxy, so as handle autoloads and redefinitions of the target.
11181 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11183 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11184 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11185 (pcase--mutually-exclusive-p): New function.
11186 (pcase--split-consp): Use it.
11187 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11188 mutually exclusive with the current predicate.
11190 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11191 (edebug-macrop): Remove. Use `macrop' instead.
11192 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11194 * eshell/esh-cmd.el (eshell-macrop):
11195 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11197 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11199 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11200 (advice-mapc): New function, using it.
11201 (advice-function-member-p): New function.
11202 (advice--normalize): Store the cdr in advice--saved-rewrite since
11203 that's the part that will be changed.
11204 (advice--symbol-function): New function.
11205 (advice-remove): Handle removal before the function is defined.
11206 Adjust to new advice--saved-rewrite.
11207 (advice-member-p): Use advice-function-member-p and
11208 advice--symbol-function.
11210 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11212 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11213 (frameset-filter-minibuffer): Doc fix.
11214 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11215 (frameset--set-id, frameset--process-minibuffer-frames)
11216 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11217 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11219 * desktop.el (desktop-clear): Only delete frames when called
11220 interactively and desktop-restore-frames is non-nil. Doc fix.
11221 (desktop-read): Set desktop-saved-frameset to nil.
11223 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11225 * vc/vc.el (vc-ignore): Rewrite.
11226 (vc-default-ignore-completion-table, vc--read-lines)
11227 (vc--add-line, vc--remove-regexp): New functions.
11229 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11230 (vc-svn-ignore-completion-table): New function.
11232 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11233 (vc-hg-ignore-completion-table)
11234 (vc-hg-find-ignore-file): New functions.
11236 * vc/vc-git.el (vc-git-ignore): Rewrite.
11237 (vc-git-ignore-completion-table)
11238 (vc-git-find-ignore-file): New functions.
11240 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11242 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11243 (vc-bzr-ignore-completion-table)
11244 (vc-bzr-find-ignore-file): New functions.
11246 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11248 * frameset.el (frameset-prop): New function and setter.
11249 (frameset-save): Do not modify frame list passed by the caller.
11251 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11253 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11255 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11257 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11258 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11260 * custom.el (custom-initialize-default, custom-initialize-set)
11261 (custom-initialize-reset, custom-initialize-changed): Affect the
11262 toplevel-default-value (bug#6275, bug#14586).
11263 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11266 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11268 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11269 Add cl-def* expressions.
11271 * frameset.el (frameset-filter-params): Fix order of arguments.
11273 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11275 Move code related to saving frames to frameset.el.
11276 * desktop.el: Require frameset.
11277 (desktop-restore-frames): Doc fix.
11278 (desktop-restore-reuses-frames): Rename from
11279 desktop-restoring-reuses-frames.
11280 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11281 (desktop-clear): Clear frames too.
11282 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11283 (desktop--filter-tty*, desktop-save, desktop-read):
11284 Use frameset functions.
11285 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11286 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11287 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11288 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11289 (desktop--process-minibuffer-frames, desktop-save-frames)
11290 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11291 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11292 (desktop--sort-states, desktop-restoring-frames-p)
11293 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11294 (desktop-restoring-frameset-p, desktop-restore-frameset)
11295 (desktop--check-dont-save, desktop-save-frameset): New functions.
11296 (desktop--app-id): New constant.
11297 (desktop-first-buffer, desktop-buffer-ok-count)
11298 (desktop-buffer-fail-count): Move before first use.
11299 * frameset.el: New file.
11301 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11303 * files.el: Use lexical-binding.
11304 (dir-locals-read-from-file): Remove unused `err' variable.
11305 (hack-dir-local-variables--warned-coding): New var.
11306 (hack-dir-local-variables): Use it to avoid repeated warnings.
11307 (make-backup-file-name--default-function): New function.
11308 (make-backup-file-name-function): Use it as default.
11309 (buffer-stale--default-function): New function.
11310 (buffer-stale-function): Use it as default.
11311 (revert-buffer-insert-file-contents--default-function): New function.
11312 (revert-buffer-insert-file-contents-function): Use it as default.
11313 (insert-directory): Avoid add-to-list.
11315 * autorevert.el (auto-revert-handler): Simplify.
11316 Use buffer-stale--default-function.
11318 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11320 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11322 * whitespace.el (whitespace-ensure-local-variables): New function.
11323 (whitespace-cleanup-region): Call it.
11324 (whitespace-turn-on): Call it.
11326 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11328 Complete file name handlers.
11330 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11331 (tramp-handle-verify-visited-file-modtime)
11332 (tramp-handle-file-notify-rm-watch): New functions.
11333 (tramp-call-process): Do not bind `default-directory'.
11335 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11336 Order alphabetically.
11337 <access-file, add-name-to-file, dired-call-process>:
11338 <dired-compress-file, file-acl, file-notify-rm-watch>:
11339 <file-ownership-preserved-p, file-selinux-context>:
11340 <make-directory-internal, make-symbolic-link, set-file-acl>:
11341 <set-file-selinux-context, set-visited-file-modtime>:
11342 <verify-visited-file-modtime>: Add handler.
11343 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11345 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11346 <file-notify-add-watch, file-notify-rm-watch>:
11347 <set-file-times, set-visited-file-modtime>:
11348 <verify-visited-file-modtime>: Add handler.
11349 (with-tramp-gvfs-error-message)
11350 (tramp-gvfs-handle-set-visited-file-modtime)
11351 (tramp-gvfs-fuse-file-name): Remove.
11352 (tramp-gvfs-handle-file-notify-add-watch)
11353 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11354 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11356 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11357 Order alphabetically.
11358 <file-notify-rm-watch>: Use default Tramp handler.
11359 <executable-find>: Remove private handler.
11360 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11361 `default-directory'.
11362 (tramp-sh-handle-executable-find)
11363 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11364 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11365 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11366 Do not use `format' in `tramp-message'.
11368 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11369 <file-notify-rm-watch, set-visited-file-modtime>:
11370 <verify-visited-file-modtime>: Add handler.
11371 (tramp-smb-call-winexe): Do not bind `default-directory'.
11373 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11375 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11377 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11379 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11381 (log-view-diff-changeset): Same.
11382 (log-view-diff-common): Call backend command `previous-revision'
11383 to find out the previous revision, in both cases. Swap the
11384 variables `to' and `fr', so that `fr' usually refers to the
11385 earlier revision (Bug#14989).
11387 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11389 * ibuf-ext.el (ibuffer-filter-by-filename):
11390 Make it work with dired buffers too.
11392 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11394 * emacs-lisp/re-builder.el (reb-color-display-p):
11395 * files.el (save-buffers-kill-terminal):
11396 * net/browse-url.el (browse-url):
11397 * server.el (server-save-buffers-kill-terminal):
11398 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11399 Prefer nil to selected-frame for the first arg of frame-parameter.
11401 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11403 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11405 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11407 * minibuffer.el (completion--twq-all): Try and preserve each
11408 completion's case choice (bug#14907).
11410 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11412 * net/network-stream.el (open-network-stream): Mention the new
11413 :nogreeting parameter.
11414 (network-stream-open-starttls): Use the :nogreeting parameter
11417 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11419 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11420 more natural than popping.
11422 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11423 (shr-urlify): Highlight under mouse.
11425 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11427 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11429 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11431 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11434 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11435 point-min==1. Fix search string. Fix parentheses missing.
11437 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11438 assume point-min==1. Fix search string. Fix parentheses missing.
11440 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11442 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11445 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11447 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11448 initial frame is minibuffer-less. (Bug#14841)
11450 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11452 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11455 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11456 (tramp-maybe-open-connection): Use it.
11458 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11460 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11461 minimal set of parameters passed when creating a frame, because
11462 the minibuffer status of a frame cannot be changed later.
11464 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11466 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11467 replace-regexp-in-string and inadvertent omissions in previous change.
11468 (todo-filter-items): Ensure only file names are comma-separated in
11469 name of filtered items buffer.
11471 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11473 * desktop.el: Optionally force offscreen frames back onscreen.
11474 (desktop-restoring-reuses-frames): New option.
11475 (desktop--compute-pos, desktop--move-onscreen): New functions.
11476 (desktop--make-frame): Use desktop--move-onscreen.
11478 2013-07-27 Alan Mackenzie <acm@muc.de>
11480 Fontify a Java generic method as a function.
11481 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11484 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11486 * calendar/todo-mode.el: Add command to rename todo files.
11487 (todo-rename-file): New command.
11488 (todo-key-bindings-t): Add key binding for it. Change the
11489 bindings of todo-filter-regexp-items(-multifile) to use `x'
11490 instead of `r', since the latter is better suited to the new
11493 2013-07-27 Alan Mackenzie <acm@muc.de>
11495 Make Java try-with-resources statement parse properly.
11496 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11497 (c-block-stmt-1-2-key): New language constants/variables.
11498 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11499 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11500 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11501 with c-block-stmt-1-2-key.
11503 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11505 * desktop.el (desktop--make-frame): Apply most frame parameters after
11506 creating the frame to force (partially or totally) offscreen frames to
11507 be restored as such.
11509 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11511 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11514 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11516 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11517 `base' arg of backtrace-frame.
11519 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11521 * simple.el (list-processes): Doc fix.
11523 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11525 * desktop.el (desktop--select-frame):
11526 Try harder to reuse existing frames.
11528 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11530 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11531 (edebug-eval): Use backtrace-eval.
11532 (edebug--display, edebug--recursive-edit): Don't let-bind the
11533 edebug-outer-* vars that keep track of variables we locally let-bind.
11534 (edebug-outside-excursion): Don't restore outside values of locally
11536 (edebug--display): Use user-error.
11537 (cl-lexical-debug, cl-debug-env): Remove.
11539 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11541 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11542 are restored to be sure that they are visible before deleting any
11545 2013-07-26 Matthias Meulien <orontee@gmail.com>
11547 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11548 vc-print-root-log. (Bug#14948)
11550 2013-07-26 Richard Stallman <rms@gnu.org>
11552 Add aliases for encrypting mail.
11553 * epa.el (epa-mail-aliases): New option.
11554 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11555 Bind inhibit-read-only so read-only text doesn't ruin everything.
11556 (epa-mail-default-recipients): New subroutine broken out.
11557 Handle epa-mail-aliases.
11559 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11561 Add support for lexical variables to the debugger's `e' command.
11562 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11563 vars, except for debugger-outer-match-data.
11564 (debugger-frame-number): Move check for "on a function call" from
11565 callers into it. Add `skip-base' argument.
11566 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11567 (debugger-env-macro): Only reset the state stored in non-variables,
11568 i.e. current-buffer and match-data.
11569 (debugger-eval-expression): Rewrite using backtrace-eval.
11570 * subr.el (internal--called-interactively-p--get-frame): Remove.
11571 (called-interactively-p):
11572 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11573 `base' arg of backtrace-frame instead.
11575 2013-07-26 Glenn Morris <rgm@gnu.org>
11577 * align.el (align-regexp): Doc fix. (Bug#14857)
11578 (align-region): Explicit error if subexpression missing/does not match.
11580 * simple.el (global-visual-line-mode):
11581 Do not duplicate the mode lighter. (Bug#14858)
11583 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11585 * window.el (display-buffer): In display-buffer bind
11586 split-window-keep-point to t, bug#14829.
11588 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11590 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11591 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11592 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11593 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11594 Change accordingly.
11595 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11596 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11598 2013-07-25 Glenn Morris <rgm@gnu.org>
11600 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11602 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11604 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11605 parameter to modify-frame-parameters if the value has not changed;
11606 this is a workaround for bug#14949.
11607 (desktop--make-frame): On cl-delete-if call, check parameter name,
11608 not full parameter.
11610 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11612 * vc/vc.el (vc-ignore): New function.
11614 * vc/vc-svn.el (vc-svn-ignore): New function.
11616 * vc/vc-hg.el (vc-hg-ignore): New function.
11618 * vc/vc-git.el (vc-git-ignore): New function.
11620 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11621 (vc-dir-ignore): New function.
11623 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11624 (cvs-append-to-ignore): Move here from pcvs.el.
11626 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11628 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11630 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11632 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11633 (desktop-restore-frames): Warn when deleting an existing frame failed.
11635 2013-07-24 Glenn Morris <rgm@gnu.org>
11637 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11639 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11641 * filenotify.el (file-notify-supported-p):
11642 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11645 * autorevert.el (auto-revert-use-notify)
11646 (auto-revert-notify-add-watch):
11647 * net/tramp.el (tramp-file-name-for-operation):
11648 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11649 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11650 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11651 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11652 Remove `file-notify-supported-p' entry.
11654 2013-07-24 Glenn Morris <rgm@gnu.org>
11656 * printing.el: Replace all uses of deleted ps-windows-system,
11657 ps-lp-system, ps-flatten-list with lpr- versions.
11659 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11661 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11662 checked with memq (bug#14935).
11664 * files.el (revert-buffer-function): Use a non-nil default.
11665 (revert-buffer-preserve-modes): Declare var to
11666 provide access to the `preserve-modes' argument.
11667 (revert-buffer): Let-bind it.
11668 (revert-buffer--default): New function, extracted from revert-buffer.
11670 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11672 * lpr.el: Signal print errors more prominently.
11673 (print-region-function): Don't default to nil.
11674 (lpr-print-region): New function, extracted from print-region-1.
11675 Check lpr's return value and signal an error in case of problem.
11676 (print-region-1): Use it.
11677 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11679 (ps-printer-name): Default to nil.
11680 (ps-printer-name-option): Default to lpr-printer-switch.
11681 (ps-print-region-function): Don't default to nil.
11682 (ps-postscript-code-directory): Simplify default.
11683 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11684 (ps-string-list, ps-eval-switch, ps-flatten-list)
11685 (ps-flatten-list-1): Remove.
11686 (ps-multibyte-buffer): Avoid setq.
11687 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11688 (print-region-function, ps-print-region-function): Don't set them here.
11690 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11692 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11693 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11694 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11695 (ido-decorations): Doc fix.
11697 * ansi-color.el: Fix old URL.
11699 2013-07-23 Michael R. Mauger <michael@mauger.com>
11701 * progmodes/sql.el: Version 3.3
11702 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11703 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11704 (sql-interactive-remove-continuation-prompt): Rewrite, use
11705 functions above. Fix continuation prompt and complete output line
11707 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11708 redirected output buffer.
11709 (sql-mode): Restore deleted code (Bug#13591).
11711 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11713 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11715 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11717 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11719 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11720 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11721 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11723 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11725 * desktop.el (desktop-clear): Simplify; remove useless checks
11726 against invalid buffer names.
11727 (desktop-list*): Use cl-list*.
11728 (desktop-buffer-info, desktop-create-buffer): Simplify.
11730 2013-07-23 Leo Liu <sdl.web@gmail.com>
11732 * bookmark.el (bookmark-make-record): Restore NAME as a default
11735 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11737 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11738 extracted from autoload--insert-text.
11739 (autoload--insert-text): Remove.
11740 (autoload--print-cookie-text): New function, extracted from
11741 autoload--insert-cookie-text.
11742 (autoload--insert-cookie-text): Remove.
11743 (autoload-generate-file-autoloads): Adjust calls accordingly.
11745 * winner.el (winner-hook-installed-p): Remove.
11746 (winner-mode): Simplify accordingly.
11748 * subr.el (add-to-list): Fix compiler-macro when `append' is
11749 not constant. Don't use `cl-member' for the base case.
11751 * progmodes/subword.el: Fix boundary case (bug#13758).
11752 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11754 (subword-backward-regexp): Make it a constant.
11755 (subword-forward-internal): Don't treat a trailing capital as the
11756 beginning of a word.
11758 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11760 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11761 global value of tabulated-list-revert-hook (bug#14930).
11763 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11765 * desktop.el: Require 'cl-lib.
11766 (desktop-before-saving-frames-functions): New hook.
11767 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11768 for frames being saved. Rename from desktop--save-minibuffer-frames.
11769 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11770 Do not save frames with non-nil `desktop-dont-save' parameter.
11771 Filter out deleted frames.
11772 (desktop--find-frame): Use cl-find-if.
11773 (desktop--select-frame): Use cl-(first|second|third) to access values
11775 (desktop--make-frame): Use cl-delete-if.
11776 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11777 (desktop-restore-frames): Use cl-(first|second|third) to access values
11778 of desktop-mini. Look for visible frame at the end, not while
11781 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11782 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11783 Use string-match-p, looking-at-p (bug#14927).
11785 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11787 * desktop.el (desktop-saved-frame-states):
11788 Rename from desktop--saved-states; all users changed.
11789 (desktop-save-frames): Rename from desktop--save-frames.
11790 Do not save state to desktop file.
11791 (desktop-save): Save desktop-saved-frame-states to desktop file
11793 (desktop-restoring-frames-p): New function.
11794 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11795 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11796 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11798 * desktop.el: Correctly restore iconified frames.
11799 (desktop--filter-iconified-position): New function.
11800 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11802 2013-07-20 Glenn Morris <rgm@gnu.org>
11804 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11805 Let `message' do the formatting.
11806 (def-gdb-preempt-display-buffer): Add explicit format.
11808 * image-dired.el (image-dired-track-original-file):
11809 Use with-current-buffer.
11810 (image-dired-track-thumbnail): Use with-current-buffer.
11811 Avoid changing point of wrong window.
11813 * image-dired.el (image-dired-track-original-file):
11814 Avoid changing point of wrong window. (Bug#14909)
11816 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11818 * progmodes/gdb-mi.el (gdb-done-or-error):
11819 Guard against "%" in gdb output. (Bug#14127)
11821 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11823 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11826 * international/mule.el (coding-system-iso-2022-flags): Fix last
11829 2013-07-20 Kenichi Handa <handa@gnu.org>
11831 * international/mule.el (coding-system-iso-2022-flags):
11832 Add `8-bit-level-4'. (Bug#8522)
11834 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11836 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11839 * net/eww.el (eww-process-text-input): Allow inputting when the
11840 point is at the start of the line, as the properties aren't
11843 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11846 2013-07-19 Richard Stallman <rms@gnu.org>
11848 * epa.el (epa-popup-info-window): Doc fix.
11850 * subr.el (split-string): New arg TRIM.
11852 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11854 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11855 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11857 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11859 * filenotify.el (file-notify--library): Rename from
11860 `file-notify-support'. Do not autoload. Adapt all uses.
11861 (file-notify-supported-p): New defun.
11863 * autorevert.el (auto-revert-use-notify):
11864 Use `file-notify-supported-p' instead of `file-notify-support'.
11866 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11868 * net/tramp.el (tramp-file-name-for-operation):
11869 Add `file-notify-supported-p'.
11871 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11873 (tramp-sh-file-name-handler-alist): Add it as handler for
11874 `file-notify-supported-p '.
11876 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11877 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11878 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11879 Add `ignore' as handler for `file-notify-*' functions.
11881 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11883 * simple.el (line-move-partial, line-move): Don't start vscroll or
11884 scroll-up if the current line is not taller than the window.
11887 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11889 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11890 highlight question marks in the method names as strings.
11891 (ruby-block-beg-keywords): Inline.
11892 (ruby-font-lock-keyword-beg-re): Extract from
11893 `ruby-font-lock-keywords'.
11895 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11897 * frame.el (blink-cursor-blinks): New defcustom.
11898 (blink-cursor-blinks-done): New defvar.
11899 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11900 (blink-cursor-timer-function): Check if number of blinks has been
11902 (blink-cursor-suspend, blink-cursor-check): New defuns.
11904 2013-07-15 Glenn Morris <rgm@gnu.org>
11906 * edmacro.el (edmacro-format-keys): Fix previous change.
11908 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11910 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11911 The hack didn't work outside English locales anyway.
11913 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11915 * simple.el (define-alternatives): Rename from alternatives-define,
11916 per RMS' suggestion.
11918 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11920 * desktop.el (desktop-restore-frames): Change default to t.
11921 (desktop-restore-in-current-display): Now offer more options.
11922 (desktop-restoring-reuses-frames): New customization option.
11923 (desktop--saved-states): Doc fix.
11924 (desktop-filter-parameters-alist): New variable, renamed and expanded
11925 from desktop--excluded-frame-parameters.
11926 (desktop--target-display): New variable.
11927 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11928 (desktop--filter-tty*, desktop--filter-*-color)
11929 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11930 (desktop--filter-save-desktop-parm)
11931 (desktop-restore-in-original-display-p): New functions.
11932 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11933 (desktop--save-minibuffer-frames): New function, inspired by a similar
11934 function from Martin Rudalics.
11935 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11936 (desktop--restore-in-this-display-p): Remove.
11937 (desktop--find-frame): Rename from desktop--find-frame-in-display
11938 and add predicate argument.
11939 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11940 (desktop--reuse-list): New variable.
11941 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11943 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11945 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11947 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11949 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11951 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11952 Highlight conversion methods on Kernel.
11954 2013-07-13 Alan Mackenzie <acm@muc.de>
11956 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11957 and comment it out. This out-commenting enables certain C++
11958 declarations to be parsed correctly.
11960 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11962 * international/mule.el (define-coding-system): Doc fix.
11964 * simple.el (default-font-height): Don't call font-info if the
11965 frame's default font didn't change since the frame was created.
11968 2013-07-13 Leo Liu <sdl.web@gmail.com>
11970 * ido.el (ido-read-file-name): Guard against non-symbol value.
11972 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11974 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11977 2013-07-13 Leo Liu <sdl.web@gmail.com>
11979 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11980 ido-set-matches call. (Bug#6852)
11982 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11984 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11985 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11987 (ruby-font-lock-keywords): Distinguish calls to functions with
11988 module-like names from module references. Highlight character
11991 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11993 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11994 (gdb-send): Handle continued commands. (Bug#14847)
11996 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11998 * desktop.el (desktop--v2s): Remove unused local variable.
11999 (desktop-save-buffer): Make defvar-local; adjust docstring.
12000 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12001 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12003 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12005 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12007 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12009 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12012 2013-07-12 Glenn Morris <rgm@gnu.org>
12014 * doc-view.el: Require cl-lib at runtime too.
12015 (doc-view-remove-if): Remove.
12016 (doc-view-search-next-match, doc-view-search-previous-match):
12019 * edmacro.el: Require cl-lib at runtime too.
12020 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12021 (edmacro-mismatch, edmacro-subseq): Remove.
12023 * shadowfile.el: Require cl-lib.
12024 (shadow-remove-if): Remove.
12025 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12028 * wid-edit.el: Require cl-lib.
12029 (widget-choose): Use cl-remove-if.
12030 (widget-remove-if): Remove.
12032 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12033 (ebrowse-delete-if-not): Remove.
12034 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12035 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12036 Use cl-delete-if-not.
12038 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12040 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12041 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12043 2013-07-12 Leo Liu <sdl.web@gmail.com>
12045 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12047 2013-07-11 Glenn Morris <rgm@gnu.org>
12049 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12050 (edebug-gensym-index, edebug-gensym):
12051 Remove reimplementation of cl-gensym.
12052 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12054 * thumbs.el: Require cl-lib at run-time too.
12055 (thumbs-gensym-counter, thumbs-gensym):
12056 Remove reimplementation of cl-gensym.
12057 (thumbs-temp-file): Use cl-gensym.
12059 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12060 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12061 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12062 (ert--union, ert--gensym-counter, ert--gensym-counter)
12063 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12064 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12065 (ert-make-test-unbound, ert--expand-should-1)
12066 (ert--expand-should, ert--should-error-handle-error)
12067 (should-error, ert--explain-equal-rec)
12068 (ert--plist-difference-explanation, ert-select-tests)
12069 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12070 Use cl-lib functions rather than reimplementations.
12072 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12074 * net/tramp.el (tramp-methods): Extend docstring.
12075 (tramp-connection-timeout): New defcustom.
12076 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12077 (with-tramp-progress-reporter): Simplify.
12078 (tramp-process-actions): Improve messages.
12080 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12081 * net/tramp-sh.el (tramp-maybe-open-connection):
12082 Use `tramp-connection-timeout'.
12083 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12086 2013-07-11 Leo Liu <sdl.web@gmail.com>
12088 * ido.el (ido-read-file-name): Conform to the requirements of
12089 read-file-name. (Bug#11861)
12090 (ido-read-directory-name): Conform to the requirements of
12091 read-directory-name.
12093 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12095 * subr.el (delay-warning): New function.
12097 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12099 * simple.el (default-line-height): New function.
12100 (line-move-partial, line-move): Use it instead of computing the
12101 line height inline.
12102 (line-move-partial): Always compute ROWH. If the last line is
12103 partially-visible, but its text is completely visible, allow
12104 cursor to enter such a partially-visible line.
12106 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12108 Improve error messages. (Bug#14808)
12110 * net/tramp.el (tramp-current-connection): New defvar, moved from
12112 (tramp-message-show-progress-reporter-message): Remove, not
12114 (tramp-error-with-buffer): Show message in minibuffer.
12115 Discard input before waiting. Reset connection timestamp.
12116 (with-tramp-progress-reporter): Improve messages.
12117 (tramp-process-actions): Use progress reporter. Delete process in
12118 case of error. Improve messages.
12120 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12121 Call `tramp-error-with-buffer' with vector and buffer.
12122 (tramp-current-connection): Remove.
12123 (tramp-maybe-open-connection): The car of
12124 `tramp-current-connection' are the first 3 slots of the vector.
12126 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12128 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12129 inside continued strings.
12131 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12133 Timestamp fixes for undo (Bug#14824).
12134 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12136 2013-07-10 Leo Liu <sdl.web@gmail.com>
12138 * files.el (require-final-newline): Allow safe local value.
12141 2013-07-09 Leo Liu <sdl.web@gmail.com>
12143 * ido.el (ido-read-directory-name): Handle fallback.
12144 (ido-read-file-name): Update DIR to ido-current-directory.
12146 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12148 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12150 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12151 "autoload". Remove "warn lower camel case" section, previously
12152 commented out. Highlight negation char. Do not highlight the
12153 target in singleton method definitions.
12155 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12157 * faces.el (tty-setup-hook): Declare the hook.
12159 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12160 and detect when a guard/pred depends on local vars (bug#14773).
12161 (pcase--u1): Adjust caller.
12163 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12165 * simple.el (line-move-partial, line-move): Account for
12167 (line-move-partial): Avoid setting vscroll when the last
12168 partially-visible line in window is of default height.
12170 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12172 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12175 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12177 * subr.el (read-quoted-char): Remove unused local variable `char'.
12179 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12181 * ediff.el (ediff-version): Version update.
12182 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12183 (ediff-merge-with-ancestor-command, ediff-directories-command)
12184 (ediff-directories3-command, ediff-merge-directories-command)
12185 (ediff-merge-directories-with-ancestor-command): New functions.
12186 All are command-line interfaces to ediff: to facilitate calling
12187 Emacs with the appropriate ediff functions invoked.
12189 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
12190 (viper-save-kill-buffer): Check if buffer is modified.
12192 * viper.el (viper-version): Version update.
12193 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12195 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12197 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12198 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
12199 (viper-intercept-ESC-key): Simplify.
12200 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
12201 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
12202 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12203 (viper-setup-ESC-to-escape): New functions.
12204 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12205 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12207 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12209 * simple.el (default-font-height, window-screen-lines):
12211 (line-move, line-move-partial): Use them instead of
12212 frame-char-height and window-text-height. This makes scrolling
12213 text smoother when the buffer's default face uses a font that is
12214 different from the frame's default font.
12216 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12218 * files.el (write-file): Do not display confirm dialog for NS,
12219 it does its own dialog, which can't be canceled (Bug#14578).
12221 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12223 * simple.el (line-move-partial): Adjust the row returned by
12224 posn-at-point for the current window-vscroll. (Bug#14567)
12226 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12228 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12229 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12232 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12234 * window.el (window-state-put-stale-windows): New variable.
12235 (window--state-put-2): Save list of windows without matching buffer.
12236 (window-state-put): Remove "bufferless" windows if possible.
12238 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12240 * simple.el (alternatives-define): Remove leftover :group keyword.
12243 2013-07-06 Leo Liu <sdl.web@gmail.com>
12245 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12246 (ido-enable-virtual-buffers): New variable.
12247 (ido-buffer-internal, ido-toggle-virtual-buffers)
12248 (ido-make-buffer-list): Use it.
12249 (ido-exhibit): Support turning on and off virtual buffers
12252 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12254 * simple.el (alternatives-define): New macro.
12256 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12258 * subr.el (read-quoted-char): Use read-key.
12259 (sit-for): Let read-event decode tty input (bug#14782).
12261 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12263 * calendar/todo-mode.el: Add handling of file deletion, both by
12264 mode command and externally. Fix various related bugs.
12265 Clarify Commentary and improve some documentation strings and code.
12266 (todo-delete-file): New command.
12267 (todo-check-file): New function.
12268 (todo-show): Handle external deletion of the file we're trying to
12269 show (bug#14688). Replace called-interactively-p by an optional
12270 prefix argument to avoid problematic interaction with catch form
12271 when byte compiled (bug#14702).
12272 (todo-quit): Handle external deletion of the archive's todo file.
12273 Make sure the buffer that was visiting the archive file is still
12274 live before trying to bury it.
12275 (todo-category-completions): Handle external deletion of any
12276 category completion files.
12277 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12278 of todo files, in case of external deletion.
12279 (todo-add-file): Replace unnecessary setq by let-binding.
12280 (todo-find-archive): Check whether there are any archives.
12281 Replace unnecessary setq by let-binding.
12282 (todo-archive-done-item): Use find-file-noselect to get the
12283 archive buffer whether or not the archive already exists.
12284 Remove superfluous code. Use file size instead of buffer-file-name to
12285 check if the archive is new; if it is, update list of archives.
12286 (todo-default-todo-file): Allow nil to be a valid value for when
12287 there are no todo files.
12288 (todo-reevaluate-default-file-defcustom): Use corrected definition
12289 of todo-default-todo-file.
12290 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12291 (todo-delete-category, todo-show-categories-table)
12292 (todo-category-number): Clarify comment.
12293 (todo-filter-items): Clarify documentation string.
12294 (todo-show-current-file, todo-display-as-todo-file)
12295 (todo-reset-and-enable-done-separator): Tweak documentation string.
12296 (todo-done-separator): Make separator length window-width, since
12297 bug#2749 is now fixed.
12299 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12301 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12302 Support both "gvfs-monitor-dir" and "inotifywait".
12303 (tramp-sh-file-inotifywait-process-filter): Rename from
12304 `tramp-sh-file-notify-process-filter'.
12305 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12306 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12308 2013-07-05 Leo Liu <sdl.web@gmail.com>
12310 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12312 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12314 * frame.el (display-pixel-height, display-pixel-width)
12315 (display-mm-height, display-mm-width): Mention behavior on
12316 multi-monitor setups in docstrings.
12317 (w32-display-monitor-attributes-list): Declare function.
12318 (display-monitor-attributes-list): Use it.
12320 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12322 * filenotify.el: New package.
12324 * autorevert.el (top): Require filenotify.el.
12325 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12327 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12328 (auto-revert-notify-handler): Use `file-notify-*' functions.
12330 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12332 * net/tramp.el (tramp-file-name-for-operation):
12333 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12335 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12336 for `file-notify-add-watch' and `file-notify-rm-watch'.
12337 (tramp-process-sentinel): Improve trace.
12338 (tramp-sh-handle-file-notify-add-watch)
12339 (tramp-sh-file-notify-process-filter)
12340 (tramp-sh-handle-file-notify-rm-watch)
12341 (tramp-get-remote-inotifywait): New defuns.
12343 2013-07-03 Juri Linkov <juri@jurta.org>
12345 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12346 call of `occur-read-primary-args' to interactive spec.
12348 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12349 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12351 2013-07-03 Matthias Meulien <orontee@gmail.com>
12353 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12354 `Buffer-menu-multi-occur'. Add it to the menu.
12355 (Buffer-menu-mode): Document it in docstring.
12356 (Buffer-menu-multi-occur): New command. (Bug#14673)
12358 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12360 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12361 keywords and built-ins.
12363 2013-07-03 Glenn Morris <rgm@gnu.org>
12365 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12367 Make info-xref checks case-sensitive by default
12368 * info.el (Info-find-node, Info-find-in-tag-table)
12369 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12370 Add option for exact case matching of nodes.
12371 * info-xref.el (info-xref): New custom group.
12372 (info-xref-case-fold): New option.
12373 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12375 2013-07-03 Leo Liu <sdl.web@gmail.com>
12377 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12379 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12381 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12382 middle of block statement initially, lower the depth. Remove
12383 FIXME comment, not longer valid. Remove middle of block statement
12384 detection, no need to do that anymore since we've been using
12385 `ruby-parse-region' here.
12387 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12389 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12391 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12393 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12395 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12397 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12398 (desktop-restore-in-current-display): New customization option.
12399 (desktop--excluded-frame-parameters): Add `font'.
12400 (desktop--save-frames): Rename from desktop--save-windows.
12401 (desktop--restore-in-this-display-p): New function.
12402 (desktop--make-full-frame): Remove unwanted width/height from
12403 full(width|height) frames.
12404 (desktop--restore-frames): Rename from desktop--restore-windows.
12405 Obey desktop-restore-current-display. Do not delete old frames or
12406 select a new frame unless we were able to restore at least one frame.
12408 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12410 * files.el (find-file-noselect): Simplify conditional expression.
12412 * textmodes/remember.el (remember-append-to-file):
12413 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12415 Add `remember-notes' function to store random notes across Emacs
12417 * textmodes/remember.el (remember-data-file): Add :set callback to
12418 affect notes buffer (if any).
12419 (remember-notes): New command.
12420 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12421 New defcustoms for the `remember-notes' function.
12422 (remember-notes-save-and-bury-buffer): New command.
12423 (remember-notes-mode-map): New variable.
12424 (remember-mode): New minor mode.
12425 (remember-notes--kill-buffer-query): New function.
12426 * startup.el (initial-buffer-choice): Add notes to custom type.
12428 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12430 * bindings.el (right-char, left-char): Don't call sit-for, this is
12431 no longer needed. Use arithmetic comparison only for numerical
12434 * international/mule-cmds.el (select-safe-coding-system):
12435 Handle the case of FROM being a string correctly. (Bug#14755)
12437 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12439 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12440 progression on degenerate tables.
12441 (shr-rescale-image): ImageMagick animated images currently don't work.
12443 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12445 Some fixes and improvements for desktop frame restoration.
12446 It is still experimental and disabled by default.
12447 * desktop.el (desktop--save-windows): Put the selected frame at
12448 the head of the list.
12449 (desktop--make-full-frame): New function.
12450 (desktop--restore-windows): Try to re-select the frame that was
12451 selected upon saving. Do not abort if some frames fail to restore,
12452 just show an error message and continue. Set up maximized frames
12453 so they have default non-maximized dimensions.
12455 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12457 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12458 Don't start heredoc inside a string or comment.
12460 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12462 * bindings.el (visual-order-cursor-movement): New defcustom.
12463 (right-char, left-char): Provide visual-order cursor motion by
12464 calling move-point-visually. Update the doc strings.
12466 2013-06-28 Kenichi Handa <handa@gnu.org>
12468 * international/mule.el (define-coding-system): New coding system
12469 properties :inhibit-null-byte-detection,
12470 :inhibit-iso-escape-detection, and :prefer-utf-8.
12471 (set-buffer-file-coding-system): If :charset-list property of
12472 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12473 appropriate for setting.
12475 * international/mule-cmds.el (select-safe-coding-system):
12476 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12477 multibyte characters, return utf-8 (or one of its siblings).
12479 * international/mule-conf.el (prefer-utf-8): New coding system.
12480 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12483 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12485 * net/shr.el (shr-render-region): New function.
12487 * net/eww.el: Autoload `eww-browse-url'.
12489 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12491 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12492 Adapt to `package-desc-version' being a list.
12493 Use `package--ac-desc-version' to retrieve version from a package
12496 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12498 New experimental feature to save&restore window and frame setup.
12499 * desktop.el (desktop-save-windows): New defcustom.
12500 (desktop--saved-states): New var.
12501 (desktop--excluded-frame-parameters): New defconst.
12502 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12503 (desktop--restore-windows, desktop--save-windows): New functions.
12504 (desktop-save): Call `desktop--save-windows'.
12505 (desktop-read): Call `desktop--restore-windows'.
12507 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12509 * net/shr.el (add-face-text-property): Remove compat definition.
12511 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12513 * info.el (Info-try-follow-nearest-node): Move search for footnote
12514 above search for node name to prevent missing a footnote (bug#14717).
12516 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12518 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12520 2013-06-27 Leo Liu <sdl.web@gmail.com>
12522 * net/eww.el (eww-read-bookmarks): Check file size.
12524 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12526 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12527 advice--pending if newdef is nil or an autoload (bug#13820).
12528 (advice-mapc): New function.
12530 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12532 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12534 (eww-mode-map): Add a menu bar.
12535 (eww-add-bookmark): New command.
12536 (eww-bookmark-mode): New mode and commands.
12537 (eww-add-bookmark): Remove newlines from the title.
12538 (eww-bookmark-browse): Don't bug out if it's the only window.
12540 2013-06-26 Glenn Morris <rgm@gnu.org>
12542 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12543 (hfy-size): Handle ttys. (Bug#14668)
12545 * info-xref.el: Update for Texinfo 5 change in *note format.
12546 (info-xref-node-re, info-xref-note-re): New constants.
12547 (info-xref-check-buffer): Use info-xref-note-re.
12549 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12551 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12553 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12554 nil terminate the loop (bug#14718).
12556 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12558 * net/eww.el: Rework history traversal. When going forward/back,
12559 put these actions into the history, too, so that they can be
12561 (eww-render): Move the history reset to the correct buffer.
12563 2013-06-25 Juri Linkov <juri@jurta.org>
12565 * files-x.el (modify-dir-local-variable): Change the header comment
12566 in the file with directory local variables. (Bug#14692)
12568 * files-x.el (read-file-local-variable-value): Add `default'.
12571 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12573 * net/eww.el (eww-make-unique-file-name): Create a unique file
12574 name before saving to entering `y' accidentally asynchronously.
12576 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12578 * net/eww.el (eww-download): New command and keystroke.
12580 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12582 * net/eww.el (eww-copy-page-url): Change name of command.
12584 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12585 be more consistent with Info and dired.
12587 * net/eww.el (eww-mode-map): Ditto.
12589 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12591 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12592 packages from archives.
12593 (package-archive-contents): Change format; include obsolete packages.
12594 (package-desc): Use `dir' to mark builtin packages.
12595 (package--from-builtin): Set the `dir' field to `builtin'.
12596 (generated-autoload-file, version-control): Declare.
12597 (package-compute-transaction): Change first arg and return value to be
12598 lists of package-descs. Adjust to new package-archive-contents format.
12599 (package--add-to-archive-contents): Adjust to new
12600 package-archive-contents format.
12601 (package-download-transaction): Arg is now a list of package-descs.
12602 (package-install): If `pkg' is a package name, pass it as
12603 a requirement, so it is subject to the usual (e.g. disabled) checks.
12604 (describe-package): Accept package-desc as well.
12605 (describe-package-1): Describe a specific package-desc. Add links to
12606 other package-descs for the same package name.
12607 (package-menu-describe-package): Pass the actual package-desc.
12608 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12610 (package-desc-status): New function.
12611 (package-menu--refresh): New function, extracted
12612 from package-menu--generate.
12613 (package-menu--generate): Use it.
12614 (package-delete): Update package-alist.
12615 (package-menu-execute): Don't call package-initialize.
12617 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12618 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12619 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12620 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12621 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12622 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12624 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12626 * window.el (window--state-get-1): Workaround for bug#14527.
12627 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12629 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12631 * net/eww.el (eww-back-url): Implement the history by stashing all
12632 the data into a list.
12633 (eww-forward-url): Allow going forward in the history, too.
12635 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12637 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12638 for values and use read--expression for expressions (bug#14710).
12639 (read-file-local-variable): Avoid setq.
12640 (read-file-local-variable-mode): Use minor-mode-list.
12642 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12644 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12647 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12649 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12650 Update imenu-support when dialect changes.
12652 2013-06-25 Leo Liu <sdl.web@gmail.com>
12654 * ido.el (ido-read-internal): Allow forward slash on windows.
12656 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12658 * net/eww.el (eww): Start of strings is \\`, not ^.
12660 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12662 * net/shr.el (shr-browse-url): Fix interactive spec.
12664 * net/eww.el (eww): Add a trailing slash to domain names.
12666 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12668 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12670 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12672 * net/shr.el (shr-browse-url): Use an external browser if given a
12675 * net/eww.el (eww-external-browser): Move to shr.
12677 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12679 * net/eww.el (eww): Work more correctly for file: URLs.
12680 (eww-detect-charset): Allow quoted charsets.
12681 (eww-yank-page-url): New command and keystroke.
12683 2013-06-24 Daiki Ueno <ueno@gnu.org>
12685 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12686 file name of gpg executable.
12687 (epg-context-program): New function.
12688 (epg-context-home-directory): New function.
12689 (epg-context-set-program): New function.
12690 (epg-context-set-home-directory): New function.
12691 (epg--start): Use `epg-context-program' instead of
12693 (epg--list-keys-1): Likewise.
12695 2013-06-24 Leo Liu <sdl.web@gmail.com>
12697 * ido.el (ido-read-internal): Fix bug#14620.
12699 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12701 * faces.el (face-documentation): Simplify.
12702 (read-face-attribute, tty-find-type, x-resolve-font-name):
12703 Use `string-match-p'.
12704 (list-faces-display): Use `string-match-p'. Simplify.
12705 (face-spec-recalc): Check face to avoid face alias loops.
12706 (read-color): Use `string-match-p' and non-capturing parenthesis.
12708 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12710 * net/shr.el (shr-rescale-image): Use the new
12711 :max-width/:max-height functionality.
12713 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12715 * net/eww.el (eww-search-prefix): New variable.
12717 (eww-external-browser): New variable.
12718 (eww-mode-map): New keystroke.
12719 (eww-browse-with-external-browser): New command.
12721 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12723 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12725 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12726 Don't skip aligning the next header field when padding is 0;
12727 otherwise, field width is not respected unless the title is as
12730 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12732 * emacs-lisp/package.el (package-el-version): Remove.
12733 (package-process-define-package): Fix inf-loop.
12734 (package-install): Allow symbols as arguments again.
12736 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12739 add some more keyword-like methods.
12740 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12742 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12744 * bs.el (bs-buffer-show-mark): Make defvar-local.
12745 (bs-mode): Use setq-local.
12747 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12748 (emacs-lock--try-unlocking): Make defvar-local.
12750 2013-06-22 Glenn Morris <rgm@gnu.org>
12752 * play/cookie1.el (cookie-apropos): Minor simplification.
12754 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12756 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12758 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12759 `regexp-opt', it breaks the build during dumping.
12761 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12763 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12764 Highlight keyword-like methods on Kernel and Module with
12765 font-lock-builtin-face.
12766 (auto-mode-alist): Consolidate different entries into one regexp
12767 and add more *file-s.
12769 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12771 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12773 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12774 (diary-entry): Use it in the action of this button type instead of
12777 * calendar/todo-mode.el: New version.
12778 (todo-add-category): Append new category to end of file and give
12779 it the highest number, instead of putting it at the beginning and
12780 giving it 0. Incorporate noninteractive functionality.
12781 (todo-forward-category): Adapt to 1-based category numbering.
12782 Allow skipping over archived categories.
12783 (todo-backward-category): Derive from todo-forward-category.
12784 (todo-backward-item, todo-forward-item): Make noninteractive and
12785 delegate interactive part to new commands. Make sensitive to done items.
12786 (todo-categories): Make value an alist of category names and
12787 vectors of item counts.
12788 (todo-category-beg): Make a defconst.
12789 (todo-category-number): Use 1 instead of 0 as initial value.
12790 (todo-category-select): Make sensitive to overlays, optional item
12791 highlighting and done items.
12792 (todo-delete-item): Make sensitive to overlays and marked and done items.
12793 (todo-edit-item): Make sensitive to overlays and editing of
12794 date/time header optional. Add format checks.
12795 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12796 no-op if point is not on an item. Advertise using todo-edit-quit.
12797 (todo-edit-mode): Make sensitive to new format, font-locking, and
12798 multiple todo files.
12799 (todo-insert-item, todo-insert-item-here): Derive from
12800 todo-basic-insert-item and extend functionality.
12801 (todo-item-end, todo-item-start): Make sensitive to done items.
12802 (todo-item-string): Don't return text properties. Restore point.
12803 (todo-jump-to-category): Make sensitive to multiple todo files and
12804 todo archives. Use extended category completion.
12805 (todo-lower-item, todo-raise-item): Rename to *-priority and
12806 derive from todo-set-item-priority.
12807 (todo-mode): Derive from special-mode. Make sensitive to new
12808 format, font-locking and multiple todo files. Make read-only.
12809 (todo-mode-map): Don't suppress digit keys, so they can supply
12810 prefix arguments. Add many new key bindings.
12811 (todo-prefix): Insert as an overlay instead of file text.
12812 Change semantics from diary date expression to purely visual mark.
12813 (todo-print): Rename to todo-print-buffer. Make buffer display
12814 features printable. Remove option to restrict number of items
12815 printed. Add option to print to file.
12816 (todo-print-function): Rename to todo-print-buffer-function.
12817 (todo-quit): Extend to handle exiting new todo modes.
12818 (todo-remove-item): Make sensitive to overlays.
12819 (todo-save): Extend to buffers of filtered items.
12820 (todo-show): Make sensitive to done items, multiple todo files and
12821 new todo modes. Offer to convert legacy todo file before creating
12822 first new todo file.
12823 (todo-show-priorities): Rename to todo-top-priorities.
12824 Change semantics of value 0.
12825 (todo-top-priorities): Rename to todo-filter-top-priorities,
12826 derive from todo-filter-items and extend functionality.
12827 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12828 and extend functionality to other types of filtered items.
12829 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12830 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12831 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12832 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12833 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12834 (todo-edit-mode-hook, todo-entry-prefix-function)
12835 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12836 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12837 (todo-initials, todo-insert-threshold, todo-item-string-start)
12838 (todo-line-string, todo-menu, todo-mode-hook)
12839 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12840 (todo-print-priorities, todo-remove-separator)
12841 (todo-save-top-priorities-too, todo-string-count-lines)
12842 (todo-string-multiline-p, todo-time-string-format)
12843 (todo-tmp-buffer-name): Remove.
12844 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12845 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12846 (todo-edit-category-diary-inclusion)
12847 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12848 (todo-edit-file, todo-edit-item-date-day)
12849 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12850 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12851 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12852 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12853 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12854 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12855 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12856 (todo-filter-top-priorities-multifile, todo-find-archive)
12857 (todo-find-filtered-items-file, todo-go-to-source-item)
12858 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12859 (todo-jump-to-archive-category, todo-lower-category)
12860 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12861 (todo-move-category, todo-move-item, todo-next-button)
12862 (todo-next-item, todo-padded-string, todo-powerset)
12863 (todo-previous-button, todo-previous-item)
12864 (todo-print-buffer-to-file, todo-raise-category)
12865 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12866 (todo-set-category-number, todo-set-item-priority)
12867 (todo-set-top-priorities-in-category)
12868 (todo-set-top-priorities-in-file, todo-show-categories-table)
12869 (todo-sort-categories-alphabetically-or-numerically)
12870 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12871 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12872 (todo-toggle-item-header, todo-toggle-item-highlighting)
12873 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12874 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12875 (todo-unarchive-items, todo-unmark-category): New commands.
12876 (todo-absolute-file-name, todo-add-to-buffer-list)
12877 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12878 (todo-basic-insert-item, todo-category-completions)
12879 (todo-category-number, todo-category-string-matcher-1)
12880 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12881 (todo-check-format, todo-clear-matches)
12882 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12883 (todo-current-category, todo-date-string-matcher)
12884 (todo-define-insertion-command, todo-diary-expired-matcher)
12885 (todo-diary-goto-entry, todo-diary-item-p)
12886 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12887 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12888 (todo-done-item-section-p, todo-done-separator)
12889 (todo-done-string-matcher, todo-files, todo-filter-items)
12890 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12891 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12892 (todo-insert-category-line, todo-insert-item-from-calendar)
12893 (todo-insert-sort-button, todo-insert-with-overlays)
12894 (todo-insertion-command-name, todo-insertion-key-bindings)
12895 (todo-label-to-key, todo-longest-category-name-length)
12896 (todo-make-categories-list, todo-mode-external-set)
12897 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12898 (todo-modes-set-3, todo-multiple-filter-files)
12899 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12900 (todo-read-category, todo-read-date, todo-read-dayname)
12901 (todo-read-file-name, todo-read-time)
12902 (todo-reevaluate-category-completions-files-defcustom)
12903 (todo-reevaluate-default-file-defcustom)
12904 (todo-reevaluate-filelist-defcustoms)
12905 (todo-reevaluate-filter-files-defcustom)
12906 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12907 (todo-reset-done-separator, todo-reset-done-separator-string)
12908 (todo-reset-done-string, todo-reset-global-current-todo-file)
12909 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12910 (todo-reset-prefix, todo-set-categories)
12911 (todo-set-date-from-calendar, todo-set-show-current-file)
12912 (todo-set-top-priorities, todo-short-file-name)
12913 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12914 (todo-total-item-counts, todo-update-buffer-list)
12915 (todo-update-categories-display, todo-update-categories-sexp)
12916 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12918 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12920 (todo-categories, todo-display, todo-edit, todo-faces)
12921 (todo-filtered): New defgroups.
12922 (todo-archived-only, todo-button, todo-category-string, todo-date)
12923 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12924 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12925 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12926 (todo-add-item-if-new-category, todo-always-add-time-string)
12927 (todo-categories-align, todo-categories-archived-label)
12928 (todo-categories-category-label, todo-categories-diary-label)
12929 (todo-categories-done-label, todo-categories-number-separator)
12930 (todo-categories-todo-label, todo-categories-totals-label)
12931 (todo-category-completions-files, todo-completion-ignore-case)
12932 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12933 (todo-done-separator-string, todo-done-string)
12934 (todo-files-function, todo-filter-done-items, todo-filter-files)
12935 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12936 (todo-initial-category, todo-initial-file, todo-item-mark)
12937 (todo-legacy-date-time-regexp, todo-mode-line-function)
12938 (todo-nondiary-marker, todo-number-prefix)
12939 (todo-print-buffer-function, todo-show-current-file)
12940 (todo-show-done-only, todo-show-first, todo-show-with-done)
12941 (todo-skip-archived-categories, todo-top-priorities-overrides)
12942 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12943 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12945 (todo-category-done, todo-date-pattern, todo-date-string-start)
12946 (todo-diary-items-buffer, todo-done-string-start)
12947 (todo-filtered-items-buffer, todo-item-start)
12948 (todo-month-abbrev-array, todo-month-name-array)
12949 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12950 (todo-top-priorities-buffer): New defconsts.
12951 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12952 (todo-categories-with-marks, todo-category-string-face)
12953 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12954 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12955 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12956 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12957 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12958 (todo-font-lock-keywords, todo-global-current-todo-file)
12959 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12960 (todo-insertion-commands-args)
12961 (todo-insertion-commands-args-genlist)
12962 (todo-insertion-commands-names, todo-insertion-map)
12963 (todo-key-bindings-t, todo-key-bindings-t+a)
12964 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12965 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12966 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12967 (todo-visited): New variables.
12969 2013-06-21 Glenn Morris <rgm@gnu.org>
12971 * play/cookie1.el (cookie-apropos): Add optional display argument.
12972 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12973 (psychoanalyze-pinhead): Use cookie-doctor.
12975 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12977 * emacs-lisp/package.el (tar-get-file-descriptor)
12978 (tar--extract): Declare.
12980 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12982 Extend flymake's warning predicate to be a function (bug#14217).
12983 * progmodes/flymake.el (flymake-warning-predicate): New.
12984 (flymake-parse-line): Use it.
12985 (flymake-warning-re): Make obsolete alias to
12986 `flymake-warning-predicate'.
12988 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12990 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12991 (package-obsolete-list): Remove.
12992 (package-activate): Remove min-version argument. Add `force' argument.
12993 Adjust to new package-alist format.
12994 (package-mark-obsolete): Remove.
12995 (package-unpack): Force reload of the package's autoloads.
12996 (package-installed-p): Check builtins if the installed package is not
12998 (package-initialize): Don't reset package-obsolete-list.
12999 Don't specify which package version to activate.
13000 (package-process-define-package, describe-package-1)
13001 (package-menu--generate): Adjust to new package-alist format.
13003 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13005 * allout-widgets.el (allout-widgets-mode-off)
13006 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13007 (allout-widgets-post-command-business)
13008 (allout-widgets-after-copy-or-kill-function)
13009 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13010 (allout-decorate-item-and-context)
13011 (allout-graphics-modification-handler): Fix typos in docstrings.
13012 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13014 * cmuscheme.el (scheme-start-file): Doc fix.
13015 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13016 (scheme-input-filter): Use `string-match-p'.
13018 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13020 * dired-x.el: Use Dired consistently in docstrings.
13022 * dired.el: Use Dired consistently in docstrings.
13023 (dired-readin, dired-mode): Use `setq-local'.
13024 (dired-switches-alist): Make defvar-local.
13025 (dired-buffers-for-dir): Use `zerop'.
13026 (dired-safe-switches-p, dired-switches-escape-p)
13027 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13028 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13029 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13030 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13031 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13032 (dired-toggle-marks, dired-mark-files-containing-regexp)
13033 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13034 (dired-flag-auto-save-files, dired-flag-backup-files):
13035 Use `looking-at-p'.
13036 (dired-mark-files-regexp, dired-build-subdir-alist):
13037 Use `string-match-p', `looking-at-p'.
13039 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13040 (direct-print-region-helper): Use `string-match-p'.
13042 2013-06-21 Leo Liu <sdl.web@gmail.com>
13044 * comint.el (comint-redirect-results-list-from-process):
13047 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13049 * net/eww.el (eww-update-header-line-format): Quote % characters.
13051 2013-06-21 Glenn Morris <rgm@gnu.org>
13053 * play/cookie1.el (cookie): New custom group.
13054 (cookie-file): New option.
13055 (cookie-check-file): New function.
13056 (cookie): Make it interactive. Make start and end messages optional.
13057 Interactively, display the result. Default to cookie-file.
13058 (cookie-insert): Default to cookie-file.
13059 (cookie-snarf): Make start and end messages optional.
13060 Default to cookie-file. Use with-temp-buffer.
13061 (cookie-read): Rename from read-cookie.
13062 Make start and end messages optional. Default to cookie-file.
13063 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13064 Do not autoload it.
13065 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13066 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13068 2013-06-21 Leo Liu <sdl.web@gmail.com>
13070 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13072 2013-06-21 Glenn Morris <rgm@gnu.org>
13074 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13076 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13077 Daniel Hackney <dan@haxney.org>
13079 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13080 Consolidate the single-file vs tarball code.
13081 (package-desc-suffix): New function.
13082 (package-desc-full-name): Don't bother inlining it.
13083 (package-load-descriptor): Return the new package-desc.
13084 (package-mark-obsolete): Remove unused arg `package'.
13085 (package-unpack): Make it work for single files as well.
13086 Make it update package-alist.
13087 (package--make-autoloads-and-stuff): Rename from
13088 package--make-autoloads-and-compile. Don't compile any more.
13089 (package--compile): New function.
13090 (package-generate-description-file): New function, extracted from
13091 package-unpack-single.
13092 (package-unpack-single): Remove.
13093 (package--with-work-buffer): Add indentation and debugging info.
13094 (package-download-single): Remove.
13095 (package-install-from-archive): Rename from package-download-tar, make
13096 it take a pkg-desc, and make it work for single files as well.
13097 (package-download-transaction): Simplify.
13098 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13099 external tar program.
13100 (package-install-from-buffer): Remove `pkg-desc' argument.
13101 Use package-tar-file-info for tar-mode buffers.
13102 (package-install-file): Simplify accordingly.
13103 (package-archive-base): Change to take a pkg-desc.
13104 * tar-mode.el (tar--check-descriptor): New function, extracted from
13105 tar-get-descriptor.
13106 (tar-get-descriptor): Use it.
13107 (tar-get-file-descriptor): New function.
13108 (tar--extract): New function, extracted from tar-extract.
13109 (tar--extract): Use it.
13110 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13111 case the summary uses non-ascii. Adjust to new calling convention of
13112 package-tar-file-info.
13114 2013-06-21 Leo Liu <sdl.web@gmail.com>
13116 * comint.el (comint-redirect-results-list-from-process):
13117 Fix random delay. (Bug#14681)
13119 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13121 * profiler.el (profiler-format-number): Use log, not log10.
13123 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13125 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13127 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13129 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13130 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13132 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13133 (AUTOGENEL): ... here.
13134 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13135 (cl--defsubst-expand): Use it.
13137 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13139 * subr.el (log10): Move here from C code, and declare as obsolete.
13140 All uses of (log10 X) replaced with (log X 10).
13142 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13144 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13145 Declare with `defvar-local'.
13146 (tabulated-list-use-header-line, tabulated-list-entries)
13147 (tabulated-list-padding, tabulated-list-printer)
13148 (tabulated-list-sort-key): Declare with `defvar-local'.
13149 (tabulated-list-init-header, tabulated-list-print-fake-header):
13152 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13154 * arc-mode.el (archive-mode): Add `archive-write-file' to
13155 `write-contents-functions' also for remote files. (Bug#14652)
13157 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13159 * cus-edit.el (custom-commands): Fix typos.
13160 (custom-display): Fix tooltip text.
13161 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13162 Fix typos in docstrings.
13163 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13164 (custom-unlispify-menu-entry, custom-magic-value-create)
13165 (custom-add-see-also, custom-group-value-create): Use ?\s.
13166 (custom-guess-type, customize-apropos, editable-field)
13167 (custom-face-value-create): Use `string-match-p'.
13168 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13170 * custom.el (custom-load-symbol): Use `string-match-p'.
13172 * ansi-color.el: Convert to lexical binding.
13173 (ansi-colors): Fix URL.
13174 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13175 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13176 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13178 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13180 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13182 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13184 2013-06-19 Tom Tromey <tromey@redhat.com>
13186 * net/eww.el (eww-top-url): Remove.
13187 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13188 (eww-render): Set new variables. Don't set eww-top-url.
13189 (eww-handle-link): Handle "prev", "home", and "contents".
13190 Downcase the rel text.
13191 (eww-top-url): Choose best top URL.
13193 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13195 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13196 relying in widget.el. Using widget.el leads to too many
13197 user interface inconsistencies.
13198 (eww-self-insert): Implement entering commands in text fields.
13199 (eww-process-text-input): New function to make text input field editing
13201 (eww-submit): Rewrite to use the new-style form methods.
13202 (eww-select-display): Display the correct selected item.
13203 (eww-change-select): Implement changing the select value.
13204 (eww-toggle-checkbox): Implement radio/checkboxes.
13205 (eww-update-field): Fix compilation error.
13206 (eww-tag-textarea): Implement <textarea>.
13208 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13209 we don't shadow mode-specific bindings.
13211 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13214 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13216 2013-06-19 Glenn Morris <rgm@gnu.org>
13218 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13220 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13222 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13225 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13227 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13229 * net/browse-url.el (browse-url-browser-function):
13230 `eww-browse-url' has the right calling signature, `eww' does not.
13232 2013-06-19 Glenn Morris <rgm@gnu.org>
13234 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13235 Only eval autoloaded macros.
13236 (byte-compile-autoload): Only give the macro warning for macros.
13238 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13239 (ps-underlined-faces): Declare.
13241 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13242 (speedbar-add-supported-extension): Declare.
13244 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13245 Don't include a date stamp in the header of the generated file;
13246 it leads to needless differences between output files.
13248 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13250 * net/secrets.el (secrets-struct-secret-content-type):
13251 Replace check of introspection data by a test call of "CreateItem".
13252 Some servers do not offer introspection.
13254 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13256 * electric.el (electric-pair-mode): Improve interaction with
13257 electric-layout-mode.
13258 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13259 (electric-pair-syntax): Use text-mode-syntax-table in comments
13261 (electric-pair--insert): New function.
13262 (electric-pair-post-self-insert-function): Use it and
13263 electric--after-char-pos.
13265 2013-06-19 Leo Liu <sdl.web@gmail.com>
13267 * progmodes/octave.el (octave-help): Fix regexp.
13269 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13271 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13272 (shr-table-horizontal-line): Allow nil as a value, and change the
13274 (shr-insert-table-ruler): Respect the nil value.
13276 2013-06-18 Tom Tromey <tromey@barimba>
13278 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13280 (eww-open-file): New defun.
13281 (eww-render): Initialize new variables.
13282 (eww-display-html): Handle "link" and "a".
13283 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13284 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13285 (eww-back-url): Rename from eww-previous-url.
13286 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13289 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13291 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13292 Distinguish ternary operator tokens from slash symbol and slash
13295 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13297 Convert symbol prettification into minor mode and global minor mode.
13299 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13300 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13301 (prettify-symbols--keywords): Rename from
13302 `prog-prettify-symbols-alist' and make a local defvar.
13303 (prettify-symbols--compose-symbol): Rename from
13304 `prog--prettify-font-lock-compose-symbol'.
13305 (prettify-symbols--make-keywords): Rename from
13306 `prog-prettify-font-lock-symbols-keywords' and simplify.
13307 (prog-prettify-install): Remove.
13308 (prettify-symbols-mode): New minor mode, based on
13309 `prog-prettify-install'.
13310 (turn-on-prettify-symbols-mode): New function.
13311 (global-prettify-symbols-mode): New globalized minor mode.
13313 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13314 * progmodes/cfengine.el (cfengine3-mode):
13315 * progmodes/perl-mode.el (perl-mode): Don't call
13316 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13318 2013-06-18 Juri Linkov <juri@jurta.org>
13320 * files-x.el (modify-file-local-variable-message): New function.
13321 (modify-file-local-variable)
13322 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13323 and call `modify-file-local-variable-message' when it's non-nil.
13324 (add-file-local-variable, delete-file-local-variable)
13325 (add-file-local-variable-prop-line)
13326 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13327 and use it. (Bug#9820)
13329 2013-06-18 Juri Linkov <juri@jurta.org>
13331 * emulation/vi.el (vi-shell-op):
13332 * emulation/vip.el (vip-execute-com, ex-command):
13333 * emulation/viper-cmd.el (viper-exec-bang):
13334 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13335 the call of `shell-command-on-region'. (Bug#14637)
13337 * simple.el (shell-command-on-region): Doc fix.
13339 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13341 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13344 2013-06-18 Glenn Morris <rgm@gnu.org>
13346 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13348 * newcomment.el (comment-search-forward, comment-search-backward):
13349 Doc fix. (Bug#14376)
13351 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13353 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13354 (buffer-face-mode-invoke): Doc fix.
13356 2013-06-18 Matthias Meulien <orontee@gmail.com>
13358 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13359 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13361 2013-06-18 Glenn Morris <rgm@gnu.org>
13363 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13364 Replace obsolete function generic-make-keywords with its expansion.
13366 * progmodes/python.el (ffap-alist): Declare.
13368 * textmodes/reftex.el (bibtex-mode-map): Declare.
13370 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13372 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13373 (package-unpack, package-unpack-single): Return the pkg-dir.
13374 (package-download-transaction): Use it to update package-alist.
13376 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13378 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13381 2013-06-17 Juri Linkov <juri@jurta.org>
13383 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13385 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13387 * emacs-lisp/package.el (package-load-descriptor):
13388 Remove `with-syntax-table' call, `read' doesn't need it.
13389 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13391 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13393 * startup.el (command-line): Expand package name returned by
13394 `package--description-file' (bug#14639).
13396 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13398 * emacs-lisp/package.el (package-load-descriptor): Do not call
13399 `emacs-lisp-mode', just use its syntax table.
13401 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13403 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13404 `font-lock-extra-managed-props' if any prettifying keyword is added.
13405 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13406 (prog-mode): Use `setq-local'.
13408 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13410 * international/characters.el (standard-case-table): Set syntax of ?»
13411 and ?« to punctuation.
13413 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13415 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13416 Save relevant match data before calling `syntax-ppss' (bug#14595).
13418 2013-06-15 Juri Linkov <juri@jurta.org>
13420 * files-x.el (modify-file-local-variable-prop-line): Add local
13421 variables to the end of the existing comment on the first line.
13422 Use `file-auto-mode-skip' to skip interpreter magic line,
13423 and also skip XML declaration.
13425 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * startup.el (package--builtin-versions): New var.
13428 (package-subdirectory-regexp): Remove.
13429 (package--description-file): Hard code its value instead.
13431 * emacs-lisp/package.el: Don't activate packages older than builtin.
13432 (package-obsolete-list): Rename from package-obsolete-alist, and make
13433 it into a simple list of package-desc.
13434 (package-strip-version): Remove.
13435 (package-built-in-p): Use package--builtin-versions.
13436 (package-mark-obsolete): Simplify.
13437 (package-process-define-package): Mark it obsolete if older than the
13439 (package-handle-response): Use line-end-position.
13440 (package-read-archive-contents, package--download-one-archive):
13442 (package--add-to-archive-contents): Skip if older than the builtin or
13444 (package-menu-describe-package): Fix last change.
13445 (package-list-unversioned): New var.
13446 (package-menu--generate): Use it.
13448 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13449 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13450 (autoload-builtin-package-versions): New variable.
13451 (autoload-generate-file-autoloads): Use them.
13452 Remove the list of autoloaded functions/macros from the
13453 (autoload...) comments.
13455 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13457 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13459 * simple.el (line-move-partial): Don't jump to the next screen
13460 line as soon as it becomes visible. Instead, continue enlarging
13461 the vscroll until the portion of a tall screen line that's left on
13462 display is about the height of the frame's default font.
13465 2013-06-15 Glenn Morris <rgm@gnu.org>
13467 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13468 compilation-error-regexp-alist void, or local while let-bound.
13470 * progmodes/make-mode.el (makefile-mode-syntax-table):
13471 Treat "=" as punctuation. (Bug#14614)
13473 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13475 * help-fns.el (describe-variable):
13476 Add extra line for permanent-local variables.
13478 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13480 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13481 Add export, import, library. (Bug#9164)
13482 (library): Set indent function.
13484 2013-06-14 Glenn Morris <rgm@gnu.org>
13486 * term/xterm.el (xterm--query):
13487 Stop after first matching handler. (Bug#14615)
13489 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13491 Add support for dired in saveplace.
13492 * dired.el (dired-initial-position-hook): New variable.
13493 (dired-initial-position): Call hook to place cursor position.
13494 * saveplace.el (save-place-to-alist): Add dired position.
13495 (save-place-dired-hook): New function.
13497 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13499 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13500 through a symbol rather than letrec.
13502 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13503 (package-desc): Add `dir' field.
13504 (package-desc-full-name): New function.
13505 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13506 (package-maybe-load-descriptor): Remove.
13507 (package-load-all-descriptors): Just call package-load-descriptor.
13508 (package--disabled-p): New function.
13509 (package-desc-vers, package-desc-doc): Remove aliases.
13510 (package--dir): Remove function.
13511 (package-activate): Check if a package is disabled.
13512 (package-process-define-package): New function, extracted from
13514 (define-package): Turn into a place holder.
13515 (package-unpack-single, package-tar-file-info):
13516 Use package--description-file.
13517 (package-compute-transaction): Use package--disabled-p.
13518 (package-download-transaction): Don't call
13519 package-maybe-load-descriptor since they're all loaded anyway.
13520 (package-install): Change argument to be a pkg-desc.
13521 (package-delete): Use a single pkg-desc argument.
13522 (describe-package-1): Use package-desc-dir instead of package--dir.
13523 Use package-desc property instead of package-symbol.
13524 (package-install-button-action): Adjust accordingly.
13525 (package--push): Rewrite.
13526 (package-menu--print-info): Adjust accordingly. Change the ID format
13528 (package-menu-describe-package, package-menu-get-status)
13529 (package-menu--find-upgrades, package-menu-mark-upgrades)
13530 (package-menu-execute, package-menu--name-predicate):
13531 Adjust accordingly.
13532 * startup.el (package--description-file): New function.
13533 (command-line): Use it.
13534 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13535 Use package-desc-version.
13537 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13538 (byte-compile-preprocess): Use it.
13539 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13540 can't quite recognize.
13541 (byte-compile-add-to-list): Remove.
13542 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13543 (cconv-closure-convert): Add assertion.
13545 * emacs-lisp/map-ynp.el: Use lexical-binding.
13546 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13547 Factor out some repeated code.
13549 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13551 * subr.el (with-eval-after-load): New macro.
13552 (eval-after-load): Allow form to be a function.
13553 take advantage of lexical-binding.
13554 (do-after-load-evaluation): Use dolist and adjust to new format.
13555 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13557 2013-06-13 Juri Linkov <juri@jurta.org>
13559 * replace.el (perform-replace): Display "symbol " and other search
13560 modes from `isearch-message-prefix' in the *Help* buffer.
13562 * isearch.el (isearch-query-replace): Add " symbol" and other
13563 possible search modes from `isearch-message-prefix' to the prompt.
13564 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13565 when reading a regexp to collect.
13567 2013-06-13 Juri Linkov <juri@jurta.org>
13569 * isearch.el (word-search-regexp): Match whitespace if the search
13570 string begins or ends in whitespace. The LAX arg is applied to
13571 both ends of the search string. Use `regexp-quote' and explicit
13572 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13573 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13574 boundaries are replaced with symbol boundaries, and characters
13575 between symbols match non-word non-symbol syntax. (Bug#14602)
13577 2013-06-13 Juri Linkov <juri@jurta.org>
13579 * isearch.el (isearch-del-char): Don't exceed the length of
13580 `isearch-string' by the prefix arg. (Bug#14563)
13582 2013-06-13 Juri Linkov <juri@jurta.org>
13584 * isearch.el (isearch-yank-word, isearch-yank-line)
13585 (isearch-char-by-name, isearch-quote-char)
13586 (isearch-printing-char, isearch-process-search-char):
13587 Add optional count prefix arg. (Bug#14563)
13589 * international/isearch-x.el
13590 (isearch-process-search-multibyte-characters):
13591 Add optional count prefix arg.
13593 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13595 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13596 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13599 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13601 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13603 2013-06-13 Glenn Morris <rgm@gnu.org>
13605 * startup.el (tty-handle-args):
13606 Don't just discard "--" and anything after. (Bug#14608)
13608 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13610 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13612 Implement changes in Secret Service API. Make it backward compatible.
13613 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13614 (secrets-create-item): Use it. Prefix properties with interface.
13616 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13618 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13619 (term-emulate-terminal): Respect term-suppress-hard-newline.
13621 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13623 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13624 Only remove a `thumb-file' overlay. (Bug#14548)
13626 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13628 * mail/reporter.el (reporter-submit-bug-report):
13629 Handle missing package-name. (Bug#14600)
13631 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13633 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13634 (reftex-citation-prompt, reftex-default-bibliography)
13635 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13636 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13637 (reftex-bib-sort-author, reftex-bib-sort-year)
13638 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13639 (reftex-extract-bib-entries-from-thebibliography)
13640 (reftex-get-bibkey-default, reftex-get-bib-names)
13641 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13642 (reftex-format-bib-entry, reftex-parse-bibitem)
13643 (reftex-format-bibitem, reftex-do-citation)
13644 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13645 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13646 (reftex-insert-bib-matches, reftex-format-citation)
13647 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13648 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13649 existing comments into docstrings.
13651 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13653 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13655 2013-06-12 Andreas Schwab <schwab@suse.de>
13657 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13658 for auto-save files.
13660 2013-06-12 Glenn Morris <rgm@gnu.org>
13662 * ido.el (ido-delete-ignored-files): Remove.
13663 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13664 Go back to calling ido-ignore-item-p directly.
13666 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13668 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13670 * ido.el (ido-delete-ignored-files): New function,
13671 split from ido-make-file-list-1.
13672 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13673 (ido-make-file-list-1): Use ido-delete-ignored-files.
13675 2013-06-12 Leo Liu <sdl.web@gmail.com>
13677 * progmodes/octave.el (inferior-octave-startup)
13678 (inferior-octave-completion-table)
13679 (inferior-octave-track-window-width-change)
13680 (octave-eldoc-function-signatures, octave-help)
13681 (octave-find-definition): Use single quoted strings.
13682 (inferior-octave-startup-args): Change default value.
13683 (inferior-octave-startup): Do not hard code "-i" and
13684 "--no-line-editing".
13685 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13686 (inferior-octave-directory-tracker): Use it.
13687 (octave-goto-function-definition): Robustify.
13688 (octave-help): Support highlighting operators in 'See also'.
13689 (octave-find-definition): Find subfunctions only in Octave mode.
13691 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13693 * help-fns.el (help-fns--compiler-macro): If the handler function is
13694 named, then put a link to it.
13695 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13696 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13697 (cl-typep): Use it.
13698 (cl-eval-when): Simplify debug spec.
13699 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13700 compiler-macro function instead of setting `compiler-macro-file'.
13702 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13704 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13705 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13707 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13708 Daniel Hackney <dan@haxney.org>
13710 First part of Daniel Hackney's patch to package.el.
13711 * emacs-lisp/package.el: Use defstruct.
13712 (package-desc): New, main struct.
13713 (package--bi-desc, package--ac-desc): New structs, used to describe the
13714 format in external files.
13715 (package-desc-vers): Replace with package-desc-version accessor.
13716 (package-desc-doc): Replace with package-desc-summary accessor.
13717 (package-activate-1): Remove `package' arg since the pkg-vec now
13719 (define-package): Use package-desc-from-define.
13720 (package-unpack-single): Change file-name arg to be a symbol.
13721 (package--add-to-archive-contents): Use package-desc-create and new
13722 accessor functions to package--ac-desc.
13723 (package-buffer-info, package-tar-file-info): Return a package-desc.
13724 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13725 arg to be a package-desc.
13726 (package-install-file): Adjust accordingly. Use \' to match EOS.
13727 (package--from-builtin): New function.
13728 (describe-package-1, package-menu--generate): Use it.
13729 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13730 (package-generate-autoloads): Idem and return the name of the file.
13731 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13732 Change pkg-info arg to be a package-desc.
13733 Use package-make-ac-desc.
13734 (package-upload-file): Use \' to match EOS.
13735 * finder.el (finder-compile-keywords): Use package-make-builtin.
13737 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13739 * vc/vc.el (vc-deduce-fileset): Change error message.
13740 (vc-read-backend): New function.
13741 (vc-next-action): Use it.
13743 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13745 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13746 (prolog-font-lock-keywords): Use regexp-opt instead.
13747 Don't manually highlight strings.
13748 (prolog-mode-variables): Simplify comment-start-skip.
13749 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13751 * emacs-lisp/generic.el (generic--normalise-comments)
13752 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13753 (generic-mode-set-comments): Use them.
13754 (generic-bracket-support): Use setq-local.
13755 (generic-make-keywords-list): Declare obsolete.
13757 2013-06-11 Glenn Morris <rgm@gnu.org>
13759 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13760 Prettify after setting font-lock-defaults. (Bug#14574)
13762 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13764 * replace.el (query-replace, occur-read-regexp-defaults-function)
13766 * subr.el (declare-function, number-sequence, local-set-key)
13767 (substitute-key-definition, locate-user-emacs-file)
13768 (with-silent-modifications, split-string, eval-after-load):
13769 Fix typos, remove unneeded backslashes and reflow some docstrings.
13771 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13773 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13774 default for Elisp files.
13776 2013-06-11 Glenn Morris <rgm@gnu.org>
13778 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13779 although define-derived-mode was doing this anyway. (Bug#14583)
13781 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13783 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13784 Fix make-variable-buffer-local call to refer to the correct variable.
13786 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13788 * eshell/em-term.el (eshell-visual-commands)
13789 (eshell-visual-subcommands, eshell-visual-options):
13790 Add summary line to docstrings. Add cross-references.
13792 2013-06-10 Glenn Morris <rgm@gnu.org>
13794 * epa.el (epa-read-file-name): New function. (Bug#14510)
13795 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13797 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13799 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13800 output redirection to be ignored with visual commands.
13802 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13804 * eshell/em-term.el (eshell-visual-command-p): New function.
13805 (eshell-term-initialize): Move long lambda to separate function
13806 eshell-visual-command-p.
13807 * eshell/em-dirs.el (eshell-dirs-initialize):
13808 * eshell/em-script.el (eshell-script-initialize):
13809 Add missing #' to lambda.
13811 2013-06-08 Leo Liu <sdl.web@gmail.com>
13813 * progmodes/octave.el (octave-add-log-current-defun): New function.
13814 (octave-mode): Set add-log-current-defun-function.
13815 (octave-goto-function-definition): Do not move point if not found.
13816 (octave-find-definition): Enhance to try subfunctions first.
13818 2013-06-08 Glenn Morris <rgm@gnu.org>
13820 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13821 (byte-compile-backward-char, byte-compile-backward-word):
13822 Improve previous change, to handle non-explicit nil.
13824 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13826 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13827 (smie--opener/closer-at-point): New function.
13828 (smie--matching-block-data): Use it. Don't match from right after an
13829 opener or right before a closer. Obey smie-blink-matching-inners.
13830 Don't signal a mismatch for repeated inners like "switch..case..case".
13832 2013-06-07 Leo Liu <sdl.web@gmail.com>
13834 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13836 (octave-function-header-regexp): Fix. (Bug#14570)
13837 (octave-help-mode-finish-hook, octave-help-mode-finish):
13838 Remove. Just use temp-buffer-show-hook.
13840 * newcomment.el (comment-search-backward): Revert last change.
13843 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13845 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13847 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13848 through xargs, to avoid failure due to MS-Windows limitations on
13849 command-line length.
13851 2013-06-06 Glenn Morris <rgm@gnu.org>
13853 * font-lock.el (lisp-font-lock-keywords-2):
13854 Treat user-error like error.
13856 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13857 (byte-compile-backward-char, byte-compile-backward-word):
13858 Handle explicit nil arguments. (Bug#14565)
13860 2013-06-05 Alan Mackenzie <acm@muc.de>
13862 * isearch.el (isearch-allow-prefix): New user option.
13863 (isearch-other-meta-char): Don't exit isearch when a prefix
13864 argument is typed whilst `isearch-allow-prefix' is non-nil.
13867 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13869 * autorevert.el (auto-revert-notify-handler): Use memq.
13870 Hide assertion failure.
13872 * skeleton.el: Use cl-lib.
13873 (skeleton-further-elements): Use defvar-local.
13874 (skeleton-insert): Use cl-progv.
13876 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13878 * progmodes/prog-mode.el (prog-prettify-symbols)
13879 (prog-prettify-install): Update docstrings.
13881 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13883 * simple.el: Move all the prog-mode code to prog-mode.el.
13884 * progmodes/prog-mode.el: New file.
13885 * loadup.el: Add prog-mode.el.
13887 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13889 * simple.el (prog-prettify-symbols): Add version.
13890 (prog-prettify-install): Add convenience function to prettify symbols.
13892 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13893 (perl--augmented-font-lock-keywords-1)
13894 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13895 variables and use it.
13897 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13898 (cfengine3-mode): Remove unneeded variable and use it.
13900 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13901 (lisp--augmented-font-lock-keywords-1)
13902 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13903 Remove unneeded variables and use it.
13905 2013-06-05 João Távora <joaotavora@gmail.com>
13907 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13908 to point when opening the connection. (Bug#14380)
13910 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13912 * subr.el (load-history-regexp, load-history-filename-element)
13913 (eval-after-load, after-load-functions, do-after-load-evaluation)
13914 (eval-next-after-load, display-delayed-warnings)
13915 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13916 definition of save-match-data.
13917 (overriding-local-map): Remove accidental obsolescence declaration.
13919 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13921 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13923 Generalize symbol prettify support to prog-mode and implement it
13924 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13925 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13926 (prog--prettify-font-lock-compose-symbol)
13927 (prog-prettify-font-lock-symbols-keywords): New variables and
13928 functions to support symbol prettification.
13929 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13930 (lisp--augmented-font-lock-keywords-1)
13931 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13932 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13933 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13934 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13935 Implement prettify of -> => :: strings.
13936 * progmodes/perl-mode.el (perl-prettify-symbols)
13937 (perl--font-lock-compose-symbol)
13938 (perl--font-lock-symbols-keywords): Move to prog-mode.
13939 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13940 (perl-font-lock-keywords-1)
13941 (perl-font-lock-keywords-2): Remove explicit prettify support.
13942 (perl--augmented-font-lock-keywords)
13943 (perl--augmented-font-lock-keywords-1)
13944 (perl--augmented-font-lock-keywords-2, perl-mode):
13945 Implement prettify support.
13947 2013-06-05 Leo Liu <sdl.web@gmail.com>
13949 Re-implement SMIE matching block highlight using
13950 show-paren-data-function. (Bug#14395)
13951 * emacs-lisp/smie.el (smie-matching-block-highlight)
13952 (smie--highlight-matching-block-overlay)
13953 (smie--highlight-matching-block-lastpos)
13954 (smie-highlight-matching-block)
13955 (smie-highlight-matching-block-mode): Remove.
13956 (smie--matching-block-data-cache): New variable.
13957 (smie--matching-block-data): New function.
13958 (smie-setup): Use smie--matching-block-data for
13959 show-paren-data-function.
13961 * progmodes/octave.el (octave-mode-menu): Fix.
13962 (octave-find-definition): Skip garbage lines.
13964 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13966 Fix compilation error with simultaneous dynamic+lexical scoping.
13967 Add warning when a defvar appears after the first let-binding.
13968 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13969 (byte-compile-close-variables): Initialize it.
13970 (byte-compile--declare-var): New function.
13971 (byte-compile-file-form-defvar)
13972 (byte-compile-file-form-define-abbrev-table)
13973 (byte-compile-file-form-custom-declare-variable): Use it.
13974 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13975 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13976 (byte-compile-bind): Handle dynamic bindings that shadow
13978 (byte-compile-unbind): Make arg non-optional.
13979 (byte-compile-let): Simplify.
13980 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13981 (cconv--analyse-function, cconv-analyse-form): Populate it.
13982 Protect byte-compile-bound-variables to limit the scope of defvars.
13983 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13984 Remove unneeded rule for `declare'.
13986 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13987 so as to avoid depending on cl-adjoin at run-time.
13988 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13990 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13991 (macroexp--warn-and-return): Use it.
13993 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13995 * subr.el: Convert to lexical binding.
13996 (overriding-local-map): Make obsolete.
13997 (add-to-list): Doc fix. Add compiler macro.
13998 (read-key): Swap values of local maps.
14000 2013-06-05 Leo Liu <sdl.web@gmail.com>
14002 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14004 2013-06-04 Leo Liu <sdl.web@gmail.com>
14006 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14007 (compilation-auto-jump): Suppress the "Mark set" message to give
14008 way to exit message.
14010 2013-06-04 Alan Mackenzie <acm@muc.de>
14012 Remove faulty optimisation from indentation calculation.
14013 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14014 search limit based on 2000 characters back from indent-point.
14016 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14018 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14020 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14022 * emacs-lisp/lisp.el: Use lexical-binding.
14023 (lisp--local-variables-1, lisp--local-variables): New functions.
14024 (lisp--local-variables-completion-table): New var.
14025 (lisp-completion-at-point): Use it complete let-bound vars.
14027 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14028 eagerly (bug#14422).
14030 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14032 * autorevert.el (auto-revert-notify-enabled)
14033 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14034 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14035 (auto-revert-notify-handler): Handle also gfilenotify.
14037 * subr.el (file-notify-handle-event): New defun. Replacing ...
14038 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14041 2013-06-03 Juri Linkov <juri@jurta.org>
14043 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14044 `M-s h .'. (Bug#14427)
14046 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14047 command `hi-lock-face-symbol-at-point'.
14048 (hi-lock-face-symbol-at-point): New command.
14049 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14050 (hi-lock-menu): Add `highlight-symbol-at-point'.
14051 (hi-lock-mode): Doc fix.
14053 * isearch.el (isearch-forward-symbol-at-point): New command.
14054 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14055 (isearch-highlight-regexp): Add a regexp which matches
14056 words/symbols for word/symbol mode.
14058 * subr.el (find-tag-default-bounds): New function with the body
14059 mostly moved from `find-tag-default'.
14060 (find-tag-default): Move most code to `find-tag-default-bounds',
14061 call it and apply `buffer-substring-no-properties' afterwards.
14063 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14065 * eshell/em-term.el (eshell-term-initialize):
14066 Use `cl-intersection' rather than `intersection'.
14068 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14070 * vc/log-view.el: Doc fix.
14071 (log-view-mode-map): Copy keymap from `special-mode-map'.
14073 2013-06-02 Eric Ludlam <zappo@gnu.org>
14075 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14076 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14077 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14078 (eieio-unbound, eieio-default-superclass)
14079 (eieio--define-field-accessors, method-static, method-before)
14080 (method-primary, method-after, method-num-lists)
14081 (method-generic-before, method-generic-primary)
14082 (method-generic-after, method-num-slots)
14083 (eieio-specialized-key-to-generic-key)
14084 (eieio--check-type, class-v, class-p)
14085 (eieio-class-name, define-obsolete-function-alias)
14086 (eieio-class-parents-fast, eieio-class-children-fast)
14087 (same-class-fast-p, class-constructor, generic-p)
14088 (generic-primary-only-p, generic-primary-only-one-p)
14089 (class-option-assoc, class-option, eieio-object-p)
14090 (class-abstract-p, class-method-invocation-order)
14091 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14092 (eieio-class-un-autoload, eieio-defclass)
14093 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14094 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14095 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14096 (eieio-defgeneric-reset-generic-form)
14097 (eieio-defgeneric-form-primary-only)
14098 (eieio-defgeneric-reset-generic-form-primary-only)
14099 (eieio-defgeneric-form-primary-only-one)
14100 (eieio-defgeneric-reset-generic-form-primary-only-one)
14101 (eieio-unbind-method-implementations)
14102 (eieio--defmethod, eieio--typep)
14103 (eieio-perform-slot-validation, eieio-validate-slot-value)
14104 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14105 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14106 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14107 (eieio-slot-name-index, eieio-class-slot-name-index)
14108 (eieio-set-defaults, eieio-initarg-to-attribute)
14109 (eieio-attribute-to-initarg, eieio-c3-candidate)
14110 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14111 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14112 (eieio-class-precedence-list, eieio-generic-call-methodname)
14113 (eieio-generic-call-arglst, eieio-generic-call-key)
14114 (eieio-generic-call-next-method-list)
14115 (eieio-pre-method-execution-functions, eieio-generic-call)
14116 (eieio-generic-call-primary-only, eieiomt-method-list)
14117 (eieiomt-optimizing-obarray, eieiomt-install)
14118 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14119 (eieio-generic-form, eieio-defmethod, make-obsolete)
14120 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14121 (defclass): Remove `eval-and-compile' from macro.
14122 (call-next-method, shared-initialize): Instead of using
14123 `scoped-class' variable, use new eieio--scoped-class, and
14124 eieio--with-scoped-class.
14125 (initialize-instance): Rename local variable 'scoped-class' to
14126 'this-class' to remove ambiguitity from old global.
14128 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14130 (eieio--scoped-class-stack): New variable.
14131 (eieio--scoped-class): New fcn.
14132 (eieio--with-scoped-class): New scoping macro.
14133 (eieio-defclass): Use pushnew instead of add-to-list.
14134 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14135 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14136 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14137 `scoped-class' variable, use new eieio--scoped-class, and
14138 eieio--with-scoped-class.
14140 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14142 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14144 * eshell/esh-ext.el (eshell-external-command): Pass args to
14145 `eshell-find-interpreter'.
14146 (eshell-find-interpreter): Add new second parameter ARGS.
14148 * eshell/em-script.el (eshell-script-initialize): Add second arg
14149 to the function added as MATCH to `eshell-interpreter-alist'.
14151 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14152 the function added as MATCH to `eshell-interpreter-alist'.
14154 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14155 (eshell-visual-options): New defcustom.
14156 (eshell-escape-control-x): Adapt docstring.
14157 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14158 `eshell-visual-options' in addition to `eshell-visual-commands'.
14159 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14161 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14163 * progmodes/python.el (python-indent-block-enders): Add break,
14164 continue and raise keywords.
14166 2013-06-01 Glenn Morris <rgm@gnu.org>
14168 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14170 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14171 * progmodes/cc-cmds.el (delete-forward-p):
14172 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14173 * progmodes/cc-engine.el (buffer-syntactic-context):
14174 * progmodes/cc-fonts.el (face-property-instance):
14175 * progmodes/cc-mode.el (set-keymap-parents):
14176 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14177 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14178 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14179 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14180 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14182 * progmodes/cc-vars.el (other): Emacs has this widget since
14183 at least 21.1, so don't (re)define it.
14185 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14186 Replace the obsolete alias pcomplete-arg-quote-list.
14188 2013-06-01 Leo Liu <sdl.web@gmail.com>
14190 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14191 punctuation syntax.
14192 (inferior-octave-minimal-columns)
14193 (inferior-octave-last-column-width): New variables.
14194 (inferior-octave-track-window-width-change): New function.
14195 (inferior-octave-mode): Adjust column width so that Octave output,
14196 for example from 'ls', can fit into the window nicely.
14198 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14200 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14201 Highlight expansions inside regexp literals.
14203 2013-05-31 Glenn Morris <rgm@gnu.org>
14205 * obsolete/sym-comp.el (symbol-complete):
14206 Replace obsolete completion-annotate-function.
14208 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14210 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14212 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14213 New function, checks if point is inside a literal that allows
14214 expression expansion.
14215 (ruby-syntax-propertize-expansion): Use it.
14216 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14219 2013-05-30 Juri Linkov <juri@jurta.org>
14221 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14223 (isearch-invisible): New variable.
14224 (isearch-forward): Doc fix.
14225 (isearch-mode): Set `isearch-invisible'
14226 to the value of `search-invisible'.
14227 (isearch-toggle-case-fold): Doc fix.
14228 (isearch-toggle-invisible): New command.
14229 (isearch-query-replace): Let-bind `search-invisible'
14230 to the value of `isearch-invisible'.
14231 (isearch-search): Use `isearch-invisible' instead of
14232 `search-invisible'. Let-bind `search-invisible'
14233 to the value of `isearch-invisible'. (Bug#11378)
14235 2013-05-30 Juri Linkov <juri@jurta.org>
14237 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14238 call when `query-flag' is nil and `search-invisible' is non-nil.
14241 2013-05-30 Glenn Morris <rgm@gnu.org>
14243 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14245 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14246 (cc-require): Suppress spurious "noruntime" warnings.
14247 (cc-require-when-compile): Use fboundp, for sake of compiler.
14249 * progmodes/cc-mode.el: Move load of cc-vars before that of
14250 cc-langs (which in turn loads cc-vars), to quieten compiler.
14252 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14254 * paren.el: Simplify the code.
14255 (show-paren-mode): Always start the timer.
14256 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14257 (show-paren--overlay, show-paren--overlay-1): Rename from
14258 show-paren-overlay and show-paren-overlay-1, and initialize to an
14259 overlay rather than to nil.
14260 (show-paren-function): Misc cleanup and simplifications.
14262 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14264 * paren.el (show-paren-data-function): New hook.
14265 (show-paren--default): New function, extracted from show-paren-function.
14266 (show-paren-function): Use show-paren-data-function.
14268 2013-05-30 Glenn Morris <rgm@gnu.org>
14270 * ielm.el (ielm-map, ielm-complete-symbol):
14271 Use completion-at-point rather than obsolete functions.
14272 (inferior-emacs-lisp-mode): Doc fix.
14273 Set completion-at-point-functions, rather than
14274 comint-dynamic-complete-functions.
14276 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14277 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14278 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14280 * image.el (image-animated-p): Tweak definition.
14282 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14283 (rlogin-process-connection-type): Tweak default. Add set-after.
14284 (rlogin-host): Doc fix.
14285 (rlogin): Tweak prompt.
14286 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14288 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14289 * progmodes/tcl.el (inferior-tcl-mode-map):
14290 Use completion-at-point rather than obsolete alias.
14292 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14294 * minibuffer.el (read-file-name-completion-ignore-case):
14295 Move before completion--in-region, for eager macro expansion.
14297 2013-05-29 Juri Linkov <juri@jurta.org>
14299 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14300 for total count of matching lines. Add `global-matches' for total
14301 count of matches. Rename `matches' to `lines' for count of
14302 matching lines. Add `matches' for count of matches.
14303 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14304 to `prev-line' for line number of prev match endpt.
14305 Increment `matches' for every match. Print the number of
14306 matching lines in the header.
14307 (occur-context-lines): Rename `lines' to `curr-line'.
14308 Rename `prev-lines' to `prev-line'. (Bug#14017)
14310 2013-05-29 Juri Linkov <juri@jurta.org>
14312 * replace.el (perform-replace): Add `skip-read-only-count',
14313 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14314 Increment them for corresponding conditions and report the number
14315 of skipped occurrences in the final message. (Bug#11746)
14316 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14317 (replace-string, replace-regexp): Doc fix.
14319 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14321 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14323 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14324 prog-mode-map (bug#14504).
14326 2013-05-29 Leo Liu <sdl.web@gmail.com>
14328 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14329 (octave-help): Small simplification.
14331 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14332 off the highlight first.
14334 2013-05-29 Glenn Morris <rgm@gnu.org>
14336 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14337 Handle idlwave-last-system-routine-info-cons-cell being nil.
14339 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14340 (idlwave-write-paths): Simplify via with-temp-buffer.
14342 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14343 * emulation/cua-rect.el: Also load cua-base at run time.
14345 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14346 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14347 (cperl-imenu-on-info): Require imenu.
14349 2013-05-28 Alan Mackenzie <acm@muc.de>
14351 Handle "capitalised keywords" correctly.
14352 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14354 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14356 * eshell/em-unix.el: Add -r option to cp.
14358 2013-05-28 Glenn Morris <rgm@gnu.org>
14360 * vc/vc-arch.el (vc-exec-after): Declare.
14361 (vc-switches): Autoload.
14362 * vc/vc-bzr.el: No need to require vc when compiling.
14363 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14364 (vc-resynch-buffer, vc-dir-refresh): Declare.
14365 (vc-setup-buffer, vc-switches): Autoload.
14366 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14367 (vc-resynch-buffer): Declare.
14368 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14369 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14370 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14371 (grep-read-regexp, grep-read-files, grep-expand-template)
14372 (vc-dir-refresh): Declare.
14373 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14374 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14375 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14376 * vc/vc-mtn.el (vc-exec-after): Declare.
14377 (vc-switches): Autoload.
14378 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14379 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14380 (vc-file-tree-walk): Declare.
14381 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14382 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14383 (vc-tag-precondition, vc-rename-master): Autoload.
14384 * vc/vc-svn.el (vc-exec-after): Declare.
14385 (vc-switches, vc-setup-buffer): Autoload.
14386 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14388 (vc-resynch-buffer): Declare.
14390 * obsolete/fast-lock.el (byte-compile-warnings):
14391 Don't warn about obsolete features in this obsolete file.
14393 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14394 Move definition before use.
14396 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14397 (dun-unix-verbs): Remove dun-zippy.
14398 (dun-zippy): Remove function.
14400 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14402 2013-05-27 Juri Linkov <juri@jurta.org>
14404 * replace.el (replace-search): New function with code moved out
14405 from `perform-replace'.
14406 (replace-highlight, replace-dehighlight): Move function definitions
14407 up closer to `replace-search'. (Bug#11746)
14409 2013-05-27 Juri Linkov <juri@jurta.org>
14411 * replace.el (perform-replace): Ignore invisible matches.
14412 In addition to checking `query-replace-skip-read-only', also
14413 filter out matches by calling `run-hook-with-args-until-failure'
14414 on `isearch-filter-predicates', and also check `search-invisible'
14415 for t or call `isearch-range-invisible'.
14416 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14418 2013-05-27 Juri Linkov <juri@jurta.org>
14420 * isearch.el (isearch-filter-predicates): Rename from
14421 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14422 (isearch-message-prefix): Display text from the property
14423 `isearch-message-prefix' of the currently active filters.
14424 (isearch-search): Don't compare `isearch-filter-predicate' with
14425 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14426 on `isearch-filter-predicates'. Also check `search-invisible' for t
14427 or call `isearch-range-invisible'.
14428 (isearch-filter-visible): Make obsolete.
14429 (isearch-lazy-highlight-search):
14430 Call `run-hook-with-args-until-failure' on
14431 `isearch-filter-predicates' and use `isearch-range-invisible'.
14433 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14434 `isearch-filter-predicates' instead of `funcall'ing
14435 `isearch-filter-predicate'.
14436 (Info-mode): Set `Info-isearch-filter' to
14437 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14439 * dired-aux.el (dired-isearch-filter-predicate-orig):
14441 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14442 (dired-isearch-filenames-end): Add and remove
14443 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14444 instead of changing the value of `isearch-filter-predicate'.
14445 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14446 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14447 Put property `isearch-message-prefix' to "filename " on
14448 `dired-isearch-filter-filenames'.
14450 * wdired.el (wdired-change-to-wdired-mode):
14451 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14452 locally instead of changing `isearch-filter-predicate'.
14453 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14455 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14457 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14458 return the commit hash (Bug#14459). Also set the
14459 `vc-git-detached' property.
14460 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14461 (vc-git-mode-line-string): Use the same help-echo format whether
14462 in detached mode or not, because we know the actual revision now.
14463 When in detached mode, shorten the revision to 7 chars.
14465 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14467 * emacs-lisp/easy-mmode.el (define-minor-mode):
14468 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14469 mode hook and provide a docstring.
14471 2013-05-27 Alan Mackenzie <acm@muc.de>
14473 Remove spurious syntax-table text properties inserted by C-y.
14474 * progmodes/cc-mode.el (c-after-change): Also clear hard
14475 syntax-table property with value nil.
14477 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14479 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14480 when reading the events; the buffer layout shall not be changed.
14482 2013-05-27 Leo Liu <sdl.web@gmail.com>
14484 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14486 (inferior-octave-directory-tracker): Automatically re-sync
14488 (octave-help): Improve handling of 'See also'.
14490 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14492 * doc-view.el: Minor naming convention tweaks.
14493 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14495 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14496 even if there's no `display' property yet (bug#14435).
14498 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14500 * subr.el (unmsys--file-name): Rename from reveal-filename.
14502 * Makefile.in (custom-deps, finder-data, autoloads)
14503 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14504 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14505 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14507 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14509 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14510 error-completion on the first 2 args of condition-case (bug#14446).
14513 2013-05-25 Leo Liu <sdl.web@gmail.com>
14515 * comint.el (comint-previous-matching-input): Do not flood the
14516 *Messages* buffer with trivial messages.
14518 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14520 * progmodes/flymake.el (flymake-nop): Don't return a string.
14521 (flymake-set-at): Fix typo.
14523 * simple.el (read--expression): New function, extracted from
14524 eval-expression. Set completion-at-point-functions (bug#14465).
14525 (eval-expression, eval-minibuffer): Use it.
14527 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14529 * progmodes/flymake.el (flymake-save-buffer-in-file)
14530 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14531 (flymake-selected-frame, flymake-log, flymake-ins-after)
14532 (flymake-set-at, flymake-get-buildfile-from-cache)
14533 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14534 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14535 Refine the doc string.
14536 (flymake-get-file-name-mode-and-masks): Reformat.
14537 (flymake-get-real-file-name-function): Fix a minor bug.
14539 2013-05-24 Juri Linkov <juri@jurta.org>
14541 * progmodes/grep.el (grep-mode-font-lock-keywords):
14542 Support =linenumber= format used by git-grep for lines with
14543 function names. (Bug#13549)
14545 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14547 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14548 0 after a semi-colon; it works better for smie-auto-fill.
14549 (octave--indent-new-comment-line): New function.
14550 (octave-indent-new-comment-line): Use it (indirectly).
14551 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14552 modify comment-line-break-function.
14554 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14555 (smie-setup): Use add-function to set it.
14557 2013-05-24 Sam Steingold <sds@gnu.org>
14559 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14560 argument (before the `interactive' argument).
14562 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14564 * image-mode.el (image-mode-winprops): Add winprops to
14565 image-mode-winprops-alist before running
14566 image-mode-new-window-functions.
14567 * doc-view.el (doc-view-new-window-function): Don't delay
14568 doc-view-goto-page via timers (bug#14435).
14570 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14572 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14573 (doc-view-desktop-save-buffer): New function.
14574 (doc-view-restore-desktop-buffer): New function.
14575 (desktop-buffer-mode-handlers):
14576 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14578 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14579 `desktop-save-buffer' function.
14581 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14583 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14584 (tramp-gvfs-file-name-handler): Raise a user error when
14585 `tramp-gvfs-enabled' is nil.
14586 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14587 Do not raise a user error when loading package. (Bug#14447)
14589 * net/xesam.el: Move to obsolete/.
14591 2013-05-24 Glenn Morris <rgm@gnu.org>
14593 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14595 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14597 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14598 (Info-find-node, Man-getpage-in-background): Declare.
14600 * mail/unrmail.el (unrmail):
14601 Replace obsolete detect-coding-with-priority.
14603 * net/socks.el (socks-split-string): Use this rather than split-string.
14604 (socks-nslookup-host): Update for above change.
14605 (dynamic-choice, s5-dynamic-choice-match)
14606 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14607 Comment out unused code.
14609 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14610 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14611 (gud-tooltip-echo-area): Make obsolete.
14612 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14614 * progmodes/js.el (js--optimize-arglist): Declare.
14616 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14618 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14619 (ediff-window-C): Declare.
14621 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14622 Tweak requires to silence compiler.
14624 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14625 (he-search-string, he-tried-table, he-expand-list)
14626 (he-init-string, he-string-member, he-substitute-string)
14627 (he-reset-string): Declare.
14629 * obsolete/options.el (list-options): Use custom-variable-p,
14630 rather than obsolete alias.
14632 2013-05-23 Sam Steingold <sds@gnu.org>
14634 * simple.el (shell-command-on-region): Pass the `replace' argument
14635 down to `call-process-region' to comply with the doc as reported on
14636 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14638 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14640 * emacs-lisp/smie.el (smie-indent-forward-token)
14641 (smie-indent-backward-token): Handle string tokens (bug#14381).
14643 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14645 * ielm.el (ielm-menu): New menu.
14646 (inferior-emacs-lisp-mode): Set comment-start.
14648 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14650 * textmodes/reftex.el (reftex-ref-style-toggle):
14651 Fix deactivate action.
14653 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14654 Add cleveref macros.
14656 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14657 Accept options for bibliography commands.
14658 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14659 Add addbibresource. Basic Biblatex support.
14661 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14663 * net/tramp-gvfs.el (top):
14664 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14665 when loading package. (Bug#14447)
14667 2013-05-23 Glenn Morris <rgm@gnu.org>
14669 * progmodes/js.el: No need to load comint when compiling.
14670 (ring-insert, comint-send-string, comint-send-input)
14671 (comint-last-input-end, ido-chop): Declare.
14673 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14674 * vc/ediff-mult.el: Adjust requires.
14675 (ediff-directories-internal, ediff-directory-revisions-internal)
14676 (ediff-patch-file-internal): Declare.
14677 * vc/ediff-ptch.el: Adjust requires.
14678 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14679 (ediff-find-file): Autoload.
14680 * vc/ediff-util.el: No need to load ediff when compiling.
14681 (ediff-regions-internal): Declare.
14682 * vc/ediff-wind.el: Adjust requires.
14683 (ediff-compute-toolbar-width): Define when compiling.
14684 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14685 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14686 (dired-get-filename, dired-get-marked-files)
14687 (ediff-last-dir-patch, ediff-patch-default-directory)
14688 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14689 (ediff-patch-buffer-internal): Declare.
14691 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14692 (ispell-process, ispell-buffer-local-words, lm-summary)
14693 (lm-section-start, lm-section-end): Declare.
14694 (checkdoc-ispell-init): Simplify.
14696 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14697 (he-string-member, he-reset-string, he-substitute-string): Declare.
14699 * eshell/em-ls.el: Adjust requires.
14700 (eshell-glob-regexp): Declare.
14701 * eshell/em-tramp.el: Adjust requires.
14702 (eshell-parse-command): Autoload.
14703 * eshell/em-xtra.el: Adjust requires.
14704 (eshell-parse-command): Autoload.
14705 * eshell/esh-ext.el: Adjust requires.
14706 (eshell-parse-command, eshell-close-handles): Autoload.
14707 * eshell/esh-io.el: Adjust requires.
14708 (eshell-output-filter): Autoload.
14709 * eshell/esh-util.el: No need to load tramp when compiling.
14710 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14712 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14713 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14714 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14715 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14716 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14717 * eshell/esh-opt.el, eshell/esh-proc.el:
14718 * eshell/esh-var.el: Adjust requires.
14719 * eshell/eshell.el: Do not require esh-util twice.
14720 (eshell-add-input-to-history): Declare.
14721 (eshell-command): Check history module is active before using it.
14723 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14725 2013-05-22 Leo Liu <sdl.web@gmail.com>
14727 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14729 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14731 * autorevert.el (auto-revert-notify-add-watch)
14732 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14733 it indicates changes in file modification time.
14735 2013-05-22 Glenn Morris <rgm@gnu.org>
14737 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14738 Always delete the autoloaded function from the noruntime and
14739 unresolved functions lists.
14741 * allout.el: No need to load epa, epg, overlay when compiling.
14742 (epg-context-set-passphrase-callback, epg-list-keys)
14743 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14744 (epg-key-user-id-list): Declare.
14746 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14747 (viper-set-parsing-style-toggling-macro)
14748 (viper-set-emacs-state-searchstyle-macros):
14749 Use called-interactively-p on Emacs.
14750 (viper-looking-back): Make it an obsolete alias. Update callers.
14751 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14752 Use looking-back rather than viper-looking-back.
14753 (viper-tmp-insert-at-eob, viper-enlarge-region)
14754 (viper-read-string-with-history, viper-register-to-point)
14755 (viper-append-to-register, viper-change-state-to-vi)
14756 (viper-backward-char-carefully, viper-forward-char-carefully)
14757 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14758 (viper-change-state-to-emacs): Declare.
14759 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14760 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14761 * emulation/viper-mous.el: Do not load viper-cmd.
14762 (viper-backward-char-carefully, viper-forward-char-carefully)
14763 (viper-forward-word, viper-adjust-window): Declare.
14765 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14767 * progmodes/idlw-help.el (idlwave-help-fontify):
14768 Use called-interactively-p.
14770 * term/w32console.el (w32-get-console-codepage)
14771 (w32-get-console-output-codepage): Declare.
14773 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14774 Remove unnecessary declarations.
14775 (dframe-message): Doc fix.
14777 * info.el (dframe-select-attached-frame, dframe-current-frame):
14780 * speedbar.el (speedbar-message): Make it an obsolete alias.
14781 Update all callers.
14782 (speedbar-with-attached-buffer)
14783 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14784 (speedbar-with-writable): Use backquote.
14785 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14786 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14787 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14788 rather than speedbar- aliases.
14789 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14790 (speedbar-make-specialized-keymap, speedbar-insert-button)
14791 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14792 (speedbar-do-function-pointer): Declare.
14793 (rmail-speedbar-button, rmail-speedbar-find-file)
14794 (rmail-speedbar-move-message):
14795 Use dframe-with-attached-buffer rather than speedbar- alias.
14796 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14797 (dframe-message, speedbar-make-specialized-keymap)
14798 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14799 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14800 (speedbar-insert-button, dframe-select-attached-frame)
14801 (dframe-maybee-jump-to-attached-frame)
14802 (speedbar-change-initial-expansion-list)
14803 (speedbar-previously-used-expansion-list-name): Declare.
14804 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14805 Use dframe-message, dframe-with-attached-buffer rather than
14807 (gud-sentinel): Silence compiler.
14808 * progmodes/vhdl-mode.el (speedbar-refresh)
14809 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14810 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14811 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14812 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14813 (speedbar-file-lists, speedbar-make-tag-line)
14814 (speedbar-line-directory, speedbar-goto-this-file)
14815 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14816 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14817 (speedbar-make-button, speedbar-reset-scanners)
14818 (speedbar-files-item-info, speedbar-line-text)
14819 (speedbar-find-file-in-frame, speedbar-set-timer)
14820 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14821 (speedbar-with-writable): Do not (re)define it.
14822 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14823 rather than speedbar- alias.
14825 2013-05-21 Leo Liu <sdl.web@gmail.com>
14827 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14829 (octave-mode): Tweak fill-nobreak-predicate.
14830 (inferior-octave-startup): Check process to avoid infinite loop.
14831 (inferior-octave): Pop to buffer first to show abornmal process
14834 2013-05-21 Glenn Morris <rgm@gnu.org>
14836 * printing.el (pr-menu-bar): Define when compiling.
14838 2013-05-21 Leo Liu <sdl.web@gmail.com>
14840 * progmodes/octave.el (octave-auto-fill): Remove.
14841 (octave-indent-new-comment-line): Improve.
14842 (octave-mode): Use auto fill mode through
14843 comment-line-break-function and fill-nobreak-predicate.
14844 (octave-goto-function-definition): Support DEFUN_DLD.
14845 (octave-beginning-of-defun): Small tweak.
14846 (octave-help): Show parent directory.
14848 2013-05-21 Glenn Morris <rgm@gnu.org>
14850 * files.el (dired-unmark):
14851 * progmodes/gud.el (gdb-input): Update declarations.
14853 * calculator.el (electric, ehelp): No need to load when compiling.
14854 (Electric-command-loop, electric-describe-mode): Declare.
14856 * doc-view.el (doc-view-current-converter-processes): Move before use.
14858 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14859 Move MODE-set-explicitly definition before use.
14861 * international/mule-diag.el (mule-diag):
14862 Don't use obsolete window-system-version.
14864 * mail/feedmail.el (smtpmail): No need to load when compiling.
14865 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14867 * mail/mail-utils.el (rfc822): No need to load when compiling.
14868 (rfc822-addresses): Autoload it.
14869 (mail-strip-quoted-names): Trivial simplification.
14871 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14872 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14874 * net/snmp-mode.el (tempo): Don't duplicate requires.
14876 * progmodes/prolog.el (info): No need to load when compiling.
14877 (comint): Require before shell requires it.
14878 (Info-goto-node): Autoload it.
14879 (Info-follow-nearest-node): Declare.
14880 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14882 * textmodes/artist.el (picture-mode-exit): Declare.
14884 * textmodes/reftex-parse.el (reftex-parse-from-file):
14885 Trivial rewrite so the compiler can parse it better.
14887 2013-05-20 Leo Liu <sdl.web@gmail.com>
14889 * progmodes/octave.el (octave-help-mode-map)
14890 (octave-help-mode-finish-hook): New variables.
14891 (octave-help-mode, octave-help-mode-finish): New functions.
14892 (octave-help): Use octave-help-mode.
14894 2013-05-20 Glenn Morris <rgm@gnu.org>
14896 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14898 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14900 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14901 start at point, so that expansion starting right after opening
14902 slash in a regexp is recognized.
14903 (ruby-syntax-before-regexp-re): New defvar, extracted from
14904 ruby-syntax-propertize-function. Since the value of this regexp
14905 is looked up at runtime now, we should be able to turn
14906 `ruby-syntax-methods-before-regexp' into a defcustom later.
14907 (ruby-syntax-propertize-function): Split regexp matching into two
14908 parts, for opening and closing slashes. That allows us to skip
14909 over string interpolations and support multiline regexps.
14910 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14911 for them, which calls `ruby-syntax-propertize-expansion'.
14912 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14913 call to `ruby-syntax-propertize-function'.
14914 (ruby-syntax-propertize-expansion): Extracted from
14915 `ruby-syntax-propertize-expansions'. Handles one expansion.
14916 (ruby-syntax-propertize-percent-literal): Leave point right after
14917 the percent symbol, so that the expression expansion rule can
14918 propertize the contents.
14919 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14921 (ruby-syntax-propertize-expansions): Remove.
14923 2013-05-18 Juri Linkov <juri@jurta.org>
14925 * man.el (Man-default-man-entry): Remove `-' from the end
14926 of the default value. (Bug#14400)
14928 2013-05-18 Glenn Morris <rgm@gnu.org>
14930 * comint.el (comint-password-prompt-regexp):
14931 Allow "password for XXX" where XXX contains colons (eg https://...).
14933 2013-05-18 Leo Liu <sdl.web@gmail.com>
14935 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14936 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14937 (octave-source-directories): Don't check process.
14938 (octave-source-directories, octave-find-definition): Doc fix.
14940 2013-05-18 Glenn Morris <rgm@gnu.org>
14942 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14943 Remove backspace/delete bindings. (Bug#14392)
14945 * cus-dep.el (custom-make-dependencies): Sort the output.
14946 (custom-versions-load-alist): Convert comment to doc.
14948 2013-05-17 Leo Liu <sdl.web@gmail.com>
14950 * newcomment.el (comment-search-backward): Stricter in finding
14951 comment start. (Bug#14303)
14953 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14954 (octave-comment-start-skip): Properly anchored.
14956 2013-05-17 Leo Liu <sdl.web@gmail.com>
14958 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14959 Clean up when turned off. (Bug#14395)
14960 (smie--highlight-matching-block-overlay): No longer buffer-local.
14961 (smie-highlight-matching-block): Adjust.
14963 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14965 Doc string fix for "nanoseconds" (Bug#14406).
14966 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14967 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14969 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14971 * calc/calc-units.el (math-extract-units): Preserve powers
14974 2013-05-17 Leo Liu <sdl.web@gmail.com>
14976 * subr.el (delete-consecutive-dups): New function.
14977 * ido.el (ido-set-matches-1): Use it.
14978 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14979 * ido.el (ido-remove-consecutive-dups): Remove.
14981 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14983 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14984 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14985 regexp-opt's `words'.
14987 2013-05-16 Leo Liu <sdl.web@gmail.com>
14989 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14990 (smie--highlight-matching-block-overlay)
14991 (smie--highlight-matching-block-lastpos)
14992 (smie--highlight-matching-block-timer): New variables.
14993 (smie-highlight-matching-block): New function.
14994 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14995 (smie-setup): Conditionally enable smie-blink-matching-open.
14997 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14999 Sync with upstream verilog-mode r840.
15000 * progmodes/verilog-mode.el (verilog-mode-version)
15001 (verilog-mode-release-date): Update.
15002 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15003 (verilog-sig-tieoff): Fix string error on
15004 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15005 (verilog-read-decls): Fix parameters confusing
15006 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15008 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15010 * subr.el (reveal-filename): New function.
15012 * loadup.el: Compute Emacs executable versions on MS-Windows,
15013 where executables have the .exe extension. Add a hard link
15014 emacs-XX.YY.ZZ.exe on MS-Windows.
15016 * Makefile.in (XARGS_LIMIT): New variable.
15017 (custom-deps, finder-data, autoloads)
15018 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15019 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15020 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15021 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15023 2013-05-16 Leo Liu <sdl.web@gmail.com>
15025 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15026 (octave-mode-menu, octave-mode-map): Remove its uses.
15028 2013-05-16 Reto Zimmermann <reto@gnu.org>
15030 Sync with upstream vhdl mode v3.34.2.
15031 * progmodes/vhdl-mode.el: Use `push' throughout.
15032 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15033 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15034 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15035 (vhdl-actual-generic-name): New option to derive actual generic name.
15036 (vhdl-port-paste-signals): Replace formal by actual generics.
15037 (vhdl-beautify): New name for old group vhdl-align. Update users.
15038 (vhdl-beautify-options): New option.
15039 (vhdl-last-input-event): New compat alias. Use throughout.
15040 (vhdl-goto-line): Replace user level function `goto-line'.
15041 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15042 vhdl-fix-statement-buffer.
15043 (vhdl-create-mode-menu): Add some entries.
15044 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15045 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15046 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15047 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15048 to force statements on one line.
15049 (vhdl-remove-trailing-spaces-region):
15050 New, split from vhdl-remove-trailing-spaces.
15051 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15052 Respect vhdl-beautify-options.
15053 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15054 (vhdl-update-sensitivity-list): Not add with index if exists without.
15055 Not include array index with signal. Ignore keywords in comments.
15056 (vhdl-get-visible-signals): Regexp tweaks.
15057 (vhdl-template-component-inst): Handle empty library.
15058 (vhdl-template-type): Add template for 'enum' type.
15059 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15060 Use vhdl-replace-string.
15061 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15062 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15063 (vhdl-speedbar-initialize): Update for above name change.
15064 (vhdl-compose-wire-components): Fix in handling of constants.
15065 (vhdl-error-regexp-emacs-alist): New variable.
15066 (vhdl-error-regexp-add-emacs): New function;
15067 adds support for new compile.el (Emacs 22+)
15068 (vhdl-generate-makefile-1): Change target order for single lib. units.
15069 Allow use of absolute file names.
15071 2013-05-16 Leo Liu <sdl.web@gmail.com>
15073 * simple.el (prog-indent-sexp): Indent enclosing defun.
15075 2013-05-15 Glenn Morris <rgm@gnu.org>
15077 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15078 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15079 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15080 (whitespace-highlight): Move to whitespace group.
15082 * comint.el (comint-source):
15083 * pcmpl-linux.el (pcmpl-linux):
15084 * shell.el (shell-faces):
15085 * eshell/esh-opt.el (eshell-opt):
15086 * international/ccl.el (ccl): Remove empty custom groups.
15088 * completion.el (dynamic-completion-mode):
15089 * jit-lock.el (jit-lock-debug-mode):
15090 * minibuffer.el (completion-in-region-mode):
15091 * type-break.el (type-break-mode-line-message-mode)
15092 (type-break-query-mode):
15093 * emulation/tpu-edt.el (tpu-edt-mode):
15094 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15095 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15096 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15098 * term/xterm.el (xterm): Change parent group to terminals.
15100 * master.el (master): Remove empty custom group.
15101 (master-mode): Remove unused :group argument.
15102 * textmodes/refill.el (refill): Remove empty custom group.
15103 (refill-mode): Remove unused :group argument.
15105 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15107 * cus-dep.el: Provide a feature.
15108 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15109 Don't mistakenly ignore files whose basenames match a basename
15110 from preloaded-file-list (eg cedet/ede/simple.el).
15111 Add a fallback method for getting :group.
15113 2013-05-15 Juri Linkov <juri@jurta.org>
15115 * isearch.el (isearch-char-by-name): Rename from
15116 `isearch-insert-char-by-name'. Doc fix.
15117 (isearch-forward): Mention `isearch-char-by-name' in
15118 the docstring. (Bug#13348)
15120 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15121 `exit-minibuffer' instead of
15122 `isearch-nonincremental-exit-minibuffer'.
15123 (isearch-edit-string): Remove mention of
15124 `isearch-nonincremental-exit-minibuffer' from docstring.
15125 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15126 (isearch-forward-exit-minibuffer)
15127 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15129 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15131 * loadup.el: Just use unversioned DOC.
15133 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15134 literals as extending to EOB.
15135 (nxml-last-fontify-end): Remove unused variable.
15136 (nxml-after-change1): Use with-silent-modifications.
15137 (nxml-extend-after-change-region): Simplify.
15138 (nxml-extend-after-change-region1): Remove function.
15139 (nxml-after-change1): Don't adjust for dependent regions.
15140 (nxml-fontify-matcher): Simplify.
15141 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15142 (xmltok-add-dependent): Remove function.
15143 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15144 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15145 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15146 unclosed <[[, <?, comment, and other literals as extending to EOB.
15147 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15148 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15150 (rng-do-some-validation-1): Don't mark dependent regions.
15151 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15152 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15153 (nxml-clear-dependent-regions): Remove functions.
15154 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15155 (nxml-ensure-scan-up-to-date):
15156 Don't clear&mark dependent regions.
15158 2013-05-15 Leo Liu <sdl.web@gmail.com>
15160 * progmodes/octave.el (octave-goto-function-definition):
15161 Improve and fix callers.
15163 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15165 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15166 the setter (bug#14387).
15168 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15169 surrounding group (bug#14402).
15171 2013-05-14 Juri Linkov <juri@jurta.org>
15173 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15176 2013-05-14 Glenn Morris <rgm@gnu.org>
15178 * progmodes/f90.el (f90-imenu-generic-expression):
15179 Fix typo in 2013-05-08 change. (Bug#14402)
15181 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15183 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15184 Remove signals for which replies are never received.
15186 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15188 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15189 (gdb-handler-alist, gdb-handler-number): Remove variables.
15190 (gdb-handler-list): New variable.
15191 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15192 (gdb-pending-handler-p, gdb-handle-reply)
15193 (gdb-remove-all-pending-triggers): New functions.
15194 (gdb-discard-unordered-replies): New defcustom.
15195 (gdb-handler): New defstruct.
15196 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15197 instead of gdb-pending-triggers. Update docstring.
15198 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15199 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15200 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15201 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15202 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15203 (gdb-frame-handler): Pending triggers are now automatically managed.
15204 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15206 (gdb-input): Automatically handles pending triggers. Update docstring.
15207 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15208 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15210 (gdb-done-or-error): Now use gdb-handle-reply.
15212 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15214 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15217 2013-05-14 Glenn Morris <rgm@gnu.org>
15219 * subr.el (user-emacs-directory-warning): New option.
15220 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15222 2013-05-14 Leo Liu <sdl.web@gmail.com>
15224 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15226 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15227 (octave-font-lock-texinfo-comment): Fix invalid search bound
15228 error: wrong side of point.
15230 2013-05-14 Glenn Morris <rgm@gnu.org>
15232 * progmodes/flymake.el (flymake-xml-program): New option.
15233 (flymake-xml-init): Use it.
15235 * term/xterm.el: Provide a feature.
15237 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15239 2013-05-13 Glenn Morris <rgm@gnu.org>
15241 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15242 Add compat aliases as a hack workaround. (Bug#14384)
15244 2013-05-13 Leo Liu <sdl.web@gmail.com>
15246 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15248 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15250 (octave-comment-start-skip): Include %!.
15251 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15253 2013-05-12 Leo Liu <sdl.web@gmail.com>
15255 * progmodes/octave.el (inferior-octave-startup): Store the value
15256 of __octave_srcdir__ for octave-source-directories.
15257 (inferior-octave-check-process): New function refactored out of
15258 inferior-octave-send-list-and-digest.
15259 (octave-source-directories)
15260 (octave-find-definition-filename-function): New variables.
15261 (octave-source-directories)
15262 (octave-find-definition-default-filename): New functions.
15263 (octave-find-definition): Improve to find functions implemented in C++.
15265 2013-05-12 Glenn Morris <rgm@gnu.org>
15267 * calendar/diary-lib.el (diary-outlook-format-1):
15268 Don't include dayname in the output. (Bug#14349)
15270 2013-05-11 Glenn Morris <rgm@gnu.org>
15272 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15274 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15275 Treat cc-provide like provide.
15277 2013-05-11 Kevin Ryde <user42@zip.com.au>
15279 * cus-dep.el (custom-make-dependencies):
15280 Use generated-autoload-load-name for the sake of files such
15281 such cedet/semantic/bovine/c.el, where the base file name
15282 is not in load-path. (Bug#5277)
15284 2013-05-11 Glenn Morris <rgm@gnu.org>
15286 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15289 2013-05-11 Leo Liu <sdl.web@gmail.com>
15291 * progmodes/octave.el (octave-indent-comment): Improve.
15292 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15293 (octave-eldoc-function-signatures, octave-eldoc-function):
15295 (octave-mode, inferior-octave-mode): Add eldoc support.
15297 2013-05-11 Richard Stallman <rms@gnu.org>
15299 * epa.el (epa-decrypt-file): Take output file name as argument
15300 and read it using `interactive'.
15302 2013-05-11 Leo Liu <sdl.web@gmail.com>
15304 * progmodes/octave.el (octave-beginning-of-line)
15305 (octave-end-of-line): Check before using up-list because it jumps
15306 out of more syntactic contructs since moving to smie.
15307 (octave-indent-comment): New function.
15308 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15309 (octave-begin-keywords, octave-end-keywords)
15310 (octave-reserved-words, octave-smie-bnf-table)
15311 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15313 2013-05-11 Glenn Morris <rgm@gnu.org>
15315 * faces.el (internal-face-x-get-resource):
15316 * frame.el (ns-display-monitor-attributes-list):
15317 * calc/calc-aent.el (math-to-radians-2):
15318 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15321 * calc/calc-menu.el: Make it loadable in isolation.
15323 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15324 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15325 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15326 (eudc-bbdb-query-internal): Require 'bbdb.
15328 * lpr.el (lpr-headers-switches):
15329 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15331 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15333 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15335 * term.el (term-set-escape-char): Make it idempotent.
15337 2013-05-10 Leo Liu <sdl.web@gmail.com>
15339 * progmodes/octave.el (inferior-octave-completion-table):
15340 No longer a function and all uses changed. Use cache to speed up
15341 completion due to bug#11906.
15342 (octave-beginning-of-defun): Re-write to be more general.
15344 2013-05-10 Glenn Morris <rgm@gnu.org>
15346 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15348 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15350 * comint.el (comint-redirect-send-command-to-process): Use :around
15351 rather than :override for comint-redirect-filter.
15352 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15353 Call it instead of comint-redirect-original-filter-function (which
15354 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15356 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15358 * frame.el (display-monitor-attributes-list): Add NS case.
15359 (ns-display-monitor-attributes-list): Declare.
15361 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15363 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15365 2013-05-09 Glenn Morris <rgm@gnu.org>
15367 * international/fontset.el (vertical-centering-font-regexp):
15368 Set standard-value.
15370 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15372 * bookmark.el (bookmark-search-delay):
15373 * cus-start.el (vertical-centering-font-regexp):
15374 * ps-mule.el (ps-mule-font-info-database-default):
15375 * ps-print.el (ps-default-fg, ps-default-bg):
15376 * type-break.el (type-break-good-break-interval):
15377 * whitespace.el (whitespace-indentation-regexp)
15378 (whitespace-space-after-tab-regexp):
15379 * emacs-lisp/testcover.el (testcover-1value-functions)
15380 (testcover-noreturn-functions, testcover-progn-functions)
15381 (testcover-prog1-functions):
15382 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15383 * eshell/em-glob.el (eshell-glob-translate-alist):
15384 * play/tetris.el (tetris-tty-colors):
15385 * progmodes/cpp.el (cpp-face-default-list):
15386 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15387 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15388 (idlwave-help-browser-generic-args):
15389 * progmodes/make-mode.el (makefile-special-targets-list):
15390 * progmodes/python.el (python-shell-virtualenv-path):
15391 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15392 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15393 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15394 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15395 * textmodes/reftex-vars.el (reftex-format-label-function):
15396 * textmodes/remember.el (remember-diary-file): Fix custom types.
15398 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15401 2013-05-09 Leo Liu <sdl.web@gmail.com>
15403 * progmodes/octave.el (inferior-octave-completion-at-point):
15404 Restore file completion. (Bug#14300)
15405 (inferior-octave-startup): Fix incorrect highlighting for the
15408 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15410 * progmodes/ruby-mode.el: First cut at SMIE support.
15411 (ruby-use-smie): New var.
15412 (ruby-smie-grammar): New constant.
15413 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15414 (ruby-smie--forward-token, ruby-smie--backward-token)
15415 (ruby-smie-rules): New functions.
15416 (ruby-mode-variables): Setup SMIE if applicable.
15418 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15420 * simple.el (line-move-visual): Signal beginning/end of buffer
15421 only if vertical-motion moved less than it was requested. Avoids
15422 silly incorrect error messages when there are display strings with
15423 multiple newlines at EOL.
15425 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15427 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15428 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15429 (prolog-char-quote-workaround):
15430 * progmodes/cperl-mode.el (cperl-under-as-char):
15431 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15433 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15435 (vhdl-mode-syntax-table-init): Remove.
15437 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15440 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15442 (ld-script-font-lock-keywords):
15443 Change regexps to use things like \_< and \_>.
15445 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15446 Change all regexps to use things like \_< and \_>.
15448 * progmodes/autoconf.el (autoconf-definition-regexp)
15449 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15450 Handle a _ with symbol syntax.
15451 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15453 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15454 Consolidate declaration.
15455 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15457 (ada-create-syntax-table): Remove.
15458 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15459 already has the right syntax nowadays.
15460 (ada-goto-next-word): Don't change the syntax of "_".
15462 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15465 2013-05-08 Sam Steingold <sds@gnu.org>
15467 * thingatpt.el (thing-at-point): Accept optional second argument
15468 NO-PROPERTIES to strip the text properties from the return value.
15469 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15470 to `thing-at-point' instead of stripping the properties ourselves.
15471 Also, when `thing-at-point' fails to find a url, prepend "http://"
15472 to the filename at point on the assumption that the user is
15473 pointing at something like gnu.org/gnu.
15475 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15477 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15478 * faces.el (crm-separator):
15479 Silence byte-compiler.
15481 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15482 (tool-bar-map): Remove unneeded defvars.
15484 2013-05-08 Leo Liu <sdl.web@gmail.com>
15486 Re-work a fix for bug#10994 based on Le Wang's patch.
15487 * ido.el (ido-remove-consecutive-dups): New helper.
15488 (ido-completing-read): Use it.
15489 (ido-chop): Revert fix for bug#10994.
15491 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15493 * cus-edit.el (custom-save-variables):
15494 Pretty-print long values. (Bug#14187)
15496 2013-05-08 Glenn Morris <rgm@gnu.org>
15498 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15499 (m4-mode-syntax-table): Init in the defvar.
15500 (m4-mode-abbrev-table): Let define-derived-mode define it.
15502 2013-05-08 Tom Tromey <tromey@redhat.com>
15504 * progmodes/m4-mode.el (m4-mode-syntax-table):
15505 Do not treat "_" as word constituent. (Bug#14167)
15507 2013-05-07 Glenn Morris <rgm@gnu.org>
15509 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15510 Remove explicit eshell-isearch-cancel-map.
15512 * progmodes/f90.el (f90-smart-end-names): New option.
15513 (f90-smart-end): Doc fix.
15514 (f90-end-block-optional-name): New constant.
15515 (f90-block-match): Respect f90-smart-end-names.
15517 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15519 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15520 about implicit semi-colons (bug#14218).
15522 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15524 * frame.el (display-monitor-attributes-list)
15525 (frame-monitor-attributes): New functions.
15527 2013-05-06 Leo Liu <sdl.web@gmail.com>
15529 * progmodes/octave.el (octave-syntax-propertize-function): Change
15530 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15531 (octave-font-lock-keywords): Use octave-operator-regexp.
15532 (octave-completion-at-point): Rename from
15533 octave-completion-at-point-function.
15534 (inferior-octave-directory-tracker): Robustify.
15535 (octave-text-functions): Remove and fix its uses. No such things
15538 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15540 * emacs-lisp/trace.el (trace--display-buffer): New function.
15541 (trace-make-advice): Use it.
15543 2013-05-06 Juri Linkov <juri@jurta.org>
15545 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15546 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15548 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15549 in the help string. (Bug#12985)
15551 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15553 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15555 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15557 * progmodes/perl-mode.el: Add support for here documents.
15558 (perl-syntax-propertize-function): Match here-doc markers.
15559 (perl-syntax-propertize-special-constructs): Find their end.
15560 (perl-imenu-generic-expression): Use [:alnum:].
15562 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15563 (advice--add-function): Refresh the advice if already present
15566 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15568 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15570 2013-05-06 Glenn Morris <rgm@gnu.org>
15572 * w32-fns.el (w32-charset-info-alist): Declare.
15574 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15575 of its defcustom properties.
15576 (eshell-cmpl-initialize): No need to load pcomplete.
15578 * generic-x.el: No need to require comint when compiling.
15580 * net/eudc-export.el: Make it loadable without bbdb.
15581 (top-level): Use require rather than load-library.
15582 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15583 (eudc-batch-export-records-to-bbdb)
15584 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15587 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15589 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15590 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15591 some tweaks, instead.
15593 2013-05-05 Leo Liu <sdl.web@gmail.com>
15595 * progmodes/octave.el (octave-font-lock-keywords)
15596 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15597 (inferior-octave-send-list-and-digest): Improve error message.
15598 (octave-mode, inferior-octave-mode): Use setq-local.
15599 (octave-help): Set info-lookup-mode.
15601 2013-05-05 Richard Stallman <rms@gnu.org>
15603 * vc/compare-w.el (compare-windows-whitespace):
15604 Treat no-break space as whitespace.
15606 * mail/rmailsum.el (rmail-summary-rmail-update):
15607 Detect empty summary and don't change selected message.
15608 (rmail-summary-goto-msg): Likewise.
15610 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15611 Doc fixes, rename args.
15613 2013-05-05 Alan Mackenzie <acm@muc.de>
15615 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15617 2013-05-05 Juri Linkov <juri@jurta.org>
15619 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15620 to not add the length of the summary segment to the return value.
15623 2013-05-05 Leo Liu <sdl.web@gmail.com>
15625 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15626 (inferior-octave-output-filter): Remove.
15627 (octave-send-region, inferior-octave-startup): Fix callers.
15628 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15629 (octave-binary-file-extensions): New user variable.
15630 (octave-find-definition): Confirm if opening binary files.
15631 (octave-help-file): Use octave-find-definition to get the binary
15633 (octave-help): Adjust for octave-help-file change.
15635 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15637 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15638 Merge the two entries that handle function definitions.
15639 (pascal--syntax-propertize): New const.
15640 (pascal-mode): Use it. Use setq-local.
15642 2013-05-04 Glenn Morris <rgm@gnu.org>
15644 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15645 (diary-from-outlook): Respect diary-from-outlook-function.
15647 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15649 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15650 Move the declaration from C.
15651 (read-minibuffer, eval-minibuffer): Move from C.
15652 (completion-setup-function): Avoid minibuffer-completion-contents.
15654 2013-05-03 Leo Liu <sdl.web@gmail.com>
15656 * progmodes/octave.el (octave-font-lock-keywords): Do not
15657 dehighlight 'end' in comments or strings.
15658 (octave-completing-read, octave-goto-function-definition):
15660 (octave-help-buffer): New user variable.
15661 (octave-help-file, octave-help-function): New button types.
15662 (octave-help): New command and bind it to C-h ;.
15663 (octave-find-definition): New command and bind it to M-.
15664 (user-error): Alias to error if not defined.
15666 2013-05-02 Leo Liu <sdl.web@gmail.com>
15668 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15670 (octave-font-lock-keywords): Include [ and {.
15672 2013-05-02 Leo Liu <sdl.web@gmail.com>
15674 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15675 (inferior-octave): Remove calling comint-mode and return the buffer.
15676 (inferior-octave-startup): Cosmetic changes.
15678 2013-05-02 Leo Liu <sdl.web@gmail.com>
15680 * progmodes/octave.el (octave-syntax-propertize-function):
15681 Include the case when ' is at line beginning. (Bug#14336)
15683 2013-05-02 Glenn Morris <rgm@gnu.org>
15685 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15686 * desktop.el (vc-dir-mode): Just autoload it here.
15688 2013-05-02 Alan Mackenzie <acm@muc.de>
15690 Eliminate variable c-standard-font-lock-fontify-region-function.
15691 * progmodes/cc-mode.el
15692 (c-standard-font-lock-fontify-region-function): Remove.
15693 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15695 2013-05-01 Leo Liu <sdl.web@gmail.com>
15697 * progmodes/octave.el: Compatible with older emacs-24 releases.
15698 (inferior-octave-has-built-in-variables): Remove. Built-in
15699 variables were removed from Octave in 2007.
15700 (inferior-octave-startup): Fix uses.
15701 (comint-line-beginning-position): Remove compatibility code for
15704 2013-05-01 Juri Linkov <juri@jurta.org>
15706 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15708 2013-05-01 Juri Linkov <juri@jurta.org>
15710 * comint.el (comint-previous-matching-input): Don't print message
15711 "History item: %d" when `isearch-mode' is active.
15712 (comint-history-isearch-message): Print message "History item: %d"
15713 when `comint-input-ring-index' is not empty and this function is
15714 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15716 2013-05-01 Leo Liu <sdl.web@gmail.com>
15718 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15719 definitions. Use completion-at-point to insert keywords.
15720 (octave-abbrev-start): Remove.
15721 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15723 2013-04-30 Leo Liu <sdl.web@gmail.com>
15725 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15728 2013-04-30 Alan Mackenzie <acm@muc.de>
15730 Handle arbitrarily long C++ member initialisation lists.
15731 * progmodes/cc-engine.el (c-back-over-member-initializers):
15733 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15734 (most) member init lists.
15736 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15738 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15741 2013-04-30 Leo Liu <sdl.web@gmail.com>
15743 * progmodes/octave.el (octave-variables): Remove. No builtin
15744 variables any more. All converted to functions.
15745 (octave-font-lock-keywords, octave-completion-at-point-function):
15747 (octave-font-lock-texinfo-comment): New user variable.
15748 (octave-texinfo-font-lock-keywords): New variable for texinfo
15750 (octave-function-comment-block): New face.
15751 (octave-font-lock-texinfo-comment): New function.
15752 (octave-mode): Font lock texinfo comment block.
15754 2013-04-29 Leo Liu <sdl.web@gmail.com>
15756 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15757 indexing expression.
15758 (octave-continuation-string): Do not use \.
15759 (inferior-octave-complete-impossible): Remove.
15760 (inferior-octave-completion-table)
15761 (inferior-octave-completion-at-point): Remove its uses.
15762 (inferior-octave-startup): completion_matches was introduced to
15763 Octave in 1996 so safe to assume it.
15764 (octave-function-file-comment): Improve to follow how Octave does it.
15765 (octave-update-function-file-comment): Tweak.
15767 2013-04-29 Leo Liu <sdl.web@gmail.com>
15769 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15770 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15771 (octave-function-file-comment): Fix typo.
15772 (octave-sync-function-file-names): Use read-char-choice.
15774 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15776 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15777 to t for the less important warnings.
15779 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15781 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15783 2013-04-27 Glenn Morris <rgm@gnu.org>
15785 * vc/log-view.el (log-view-current-entry):
15786 Treat "---" separator lines as part of the following rev. (Bug#14169)
15788 2013-04-27 Juri Linkov <juri@jurta.org>
15790 * subr.el (read-number): Doc fix about using it by interactive
15791 code letter `n'. (Bug#14254)
15793 2013-04-27 Juri Linkov <juri@jurta.org>
15795 * desktop.el (desktop-auto-save-timeout): New option.
15796 (desktop-file-checksum): New variable.
15797 (desktop-save): Add optional arg `auto-save' and don't auto-save
15798 if nothing changed.
15799 (desktop-auto-save-timer): New variable.
15800 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15801 (after-init-hook): Call `desktop-auto-save-set-timer'.
15802 Suggested by Reuben Thomas <rrt@sc3d.org> in
15803 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15805 2013-04-27 Leo Liu <sdl.web@gmail.com>
15807 * progmodes/octave.el (octave-function-file-p)
15808 (octave-skip-comment-forward, octave-function-file-comment)
15809 (octave-update-function-file-comment): New functions.
15810 (octave-mode-map): Bind C-c ; to
15811 octave-update-function-file-comment.
15812 (octave-mode-menu): Add octave-update-function-file-comment.
15813 (octave-mode, inferior-octave-mode): Fix doc-string.
15814 (octave-insert-defun): Conform to Octave's coding convention.
15817 * files.el (basic-save-buffer): Don't let errors in
15818 before-save-hook prevent saving buffer.
15820 2013-04-20 Roland Winkler <winkler@gnu.org>
15822 * faces.el (read-face-name): Use completing-read if arg multiple
15825 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15827 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15828 displayed, move point to after the totals line.
15829 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15832 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15834 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15835 Add current dir to the load-path.
15836 (package-generate-autoloads): Don't rely on
15837 autoload-ensure-default-file.
15839 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15841 * textmodes/remember.el (remember-store-in-files): Document that
15842 the file name format is passed to `format-time-string'.
15844 2013-04-26 Leo Liu <sdl.web@gmail.com>
15846 * progmodes/octave.el (octave-sync-function-file-names): New function.
15847 (octave-mode): Use it in before-save-hook.
15849 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15851 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15854 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15855 \n and comment, even if it's not an implicit ; (bug#14218).
15857 2013-04-26 Glenn Morris <rgm@gnu.org>
15859 * subr.el (read-number): Once more use `read' rather than
15860 `string-to-number', to trap non-numeric input. (Bug#14254)
15862 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15864 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15865 Use `syntax-multiline' text property consistently instead of
15866 `font-lock-multiline'. (Bug#14237)
15868 2013-04-26 Glenn Morris <rgm@gnu.org>
15870 * emacs-lisp/shadow.el (list-load-path-shadows):
15871 No longer necessary to check for duplicate simple.el, since
15872 2012-07-07 change to init_lread to not include installation lisp
15873 directories in load-path when running uninstalled. (Bug#14270)
15875 2013-04-26 Leo Liu <sdl.web@gmail.com>
15877 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15878 (octave-mode, inferior-octave-mode): Use setq-local.
15879 (octave-not-in-string-or-comment-p): Rename to
15880 octave-in-string-or-comment-p.
15881 (octave-in-comment-p, octave-in-string-p)
15882 (octave-in-string-or-comment-p): Replace defsubst with defun.
15884 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15886 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15888 2013-04-25 Bastien Guerry <bzg@gnu.org>
15890 * textmodes/remember.el (remember-data-directory)
15891 (remember-directory-file-name-format): Fix custom types.
15893 2013-04-25 Leo Liu <sdl.web@gmail.com>
15895 * progmodes/octave.el (octave-completion-at-point-function):
15896 Make use of inferior octave process.
15897 (octave-initialize-completions): Remove.
15898 (inferior-octave-completion-table): New function.
15899 (inferior-octave-completion-at-point): Use it.
15900 (octave-completion-alist): Remove.
15902 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15904 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15905 (opascal-mode-syntax-table): New var.
15906 (opascal-literal-kind, opascal-is-literal-end)
15907 (opascal-literal-token-at): Rewrite.
15908 (opascal--literal-start-re, opascal-font-lock-keywords)
15909 (opascal--syntax-propertize): New constants.
15910 (opascal-font-lock-defaults): Adjust.
15911 (opascal-mode): Use them. Set comment-<foo> variables as well.
15912 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15913 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15914 (delphi-other-face, opascal-other-face): Remove face variables.
15915 (opascal-save-state): Remove macro.
15916 (opascal-fontifying-progress-step): Remove constant.
15917 (opascal--ignore-changes): Remove var.
15918 (opascal-set-token-property, opascal-parse-next-literal)
15919 (opascal-is-stable-literal, opascal-complete-literal)
15920 (opascal-is-literal-start, opascal-face-of)
15921 (opascal-parse-region, opascal-parse-region-until-stable)
15922 (opascal-fontify-region, opascal-after-change)
15923 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15924 (opascal-debug-parse-region, opascal-debug-parse-window)
15925 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15926 (opascal-debug-fontify-buffer): Remove.
15927 (opascal-debug-mode-map): Adjust accordingly.
15929 2013-04-25 Leo Liu <sdl.web@gmail.com>
15931 Merge octave-mod.el and octave-inf.el into octave.el with some
15933 * progmodes/octave.el: New file renamed from octave-mod.el.
15934 * progmodes/octave-inf.el: Merged into octave.el.
15935 * progmodes/octave-mod.el: Renamed to octave.el.
15937 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15939 * textmodes/reftex-vars.el
15940 (reftex-label-ignored-macros-and-environments): New defcustom.
15942 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15944 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15946 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15947 (smie-indent-keyword): Improve the check to ensure that the next
15948 comment is really on the same line.
15949 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15951 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15952 semi-colons if the line is not otherwise empty (bug#14218).
15954 2013-04-25 Glenn Morris <rgm@gnu.org>
15956 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15958 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15960 * progmodes/opascal.el (opascal-set-token-property): Rename from
15961 opascal-set-text-properties and only set `token' (bug#14134).
15962 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15963 (opascal-literal-text-properties): Remove.
15964 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15967 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15969 * textmodes/remember.el (remember-handler-functions): Add an
15970 option for a new handler `remember-store-in-files'.
15971 (remember-data-directory, remember-directory-file-name-format):
15973 (remember-store-in-files): New function to store remember notes
15974 as separate files within a directory.
15976 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15978 * progmodes/compile.el (compilation-next-error-function):
15979 Pass "formats" to compilation-find-file (bug#11777).
15981 2013-04-24 Glenn Morris <rgm@gnu.org>
15983 * vc/vc-bzr.el (vc-bzr-print-log):
15984 * vc/vc-hg.el (vc-hg-print-log):
15985 * vc/vc-svn.el (vc-svn-print-log):
15986 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15988 * vc/vc-bzr.el (vc-bzr-print-log):
15989 * vc/vc-cvs.el (vc-cvs-print-log):
15990 * vc/vc-git.el (vc-git-print-log):
15991 * vc/vc-hg.el (vc-hg-print-log):
15992 * vc/vc-mtn.el (vc-mtn-print-log):
15993 * vc/vc-rcs.el (vc-rcs-print-log):
15994 * vc/vc-sccs.el (vc-sccs-print-log):
15995 * vc/vc-svn.el (vc-svn-print-log):
15996 * vc/vc.el (vc-print-log-internal): Doc fixes.
15998 2013-04-23 Glenn Morris <rgm@gnu.org>
16000 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16001 Remove venerable code attempting to avoid substitute-command-keys.
16003 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16005 * textmodes/reftex-vars.el (reftex-label-regexps):
16006 Call `reftex-compile-variables' after changes to this variable.
16008 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16010 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16011 Use lexical-binding.
16012 (jit-lock-force-redisplay): Use markers, check buffer's continued
16013 existence and beware narrowed buffers.
16014 (jit-lock-fontify-now): Adjust call accordingly.
16016 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16018 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16019 to avoid misleading the user.
16021 2013-04-22 Leo Liu <sdl.web@gmail.com>
16023 * info-look.el: Prefer latex2e.info. (Bug#14240)
16025 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16027 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16029 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16030 * net/tramp.el (tramp-call-process): ... here.
16031 (tramp-set-completion-function, tramp-parse-putty):
16032 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16033 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16034 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16035 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16036 (tramp-call-local-coding-command): Use `tramp-call-process'
16037 instead of `tramp-compat-call-process'.
16039 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16040 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16041 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16042 (tramp-find-inline-compress): Improve traces.
16043 (tramp-maybe-send-script): Check for Perl binary.
16044 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16046 2013-04-22 Daiki Ueno <ueno@gnu.org>
16048 * epg.el (epg-context-pinentry-mode): New function.
16049 (epg-context-set-pinentry-mode): New function.
16050 (epg--start): Pass --pinentry-mode option to gpg command.
16052 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16054 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16055 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16056 `completion-at-point'. (Bug#13774)
16058 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16059 default key binding for `describe-distribution' has been moved to
16060 `C-h C-o'. (Bug#13970)
16062 2013-04-21 Glenn Morris <rgm@gnu.org>
16064 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16066 (vc-print-log): Clarify interactive prompt.
16068 2013-04-20 Glenn Morris <rgm@gnu.org>
16070 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16071 No longer include timestamp etc information.
16073 2013-04-20 Roland Winkler <winkler@gnu.org>
16075 * faces.el (read-face-name): Bug fix, return just one face if arg
16076 multiple is nil. (Bug#14209)
16078 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16080 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16081 (remove-function): Autoload.
16083 * comint.el (comint-redirect-original-filter-function): Remove.
16084 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16085 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16086 (vc-cvs-annotate-command):
16087 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16088 * progmodes/prolog.el (prolog-consult-compile):
16089 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16090 Use add/remove-function instead.
16091 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16092 (gud-tooltip-process-output, gud-tooltip-tips):
16093 Use add/remove-function instead.
16094 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16095 (scheme-interaction-mode, exit-scheme-interaction-mode):
16096 Use add/remove-function instead.
16098 * vc/vc-dispatcher.el: Use lexical-binding.
16099 (vc--process-sentinel): Rename from vc-process-sentinel.
16100 Change last arg to be the code to run. Don't use vc-previous-sentinel
16101 and vc-sentinel-commands any more.
16102 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16103 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16105 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16107 * progmodes/sh-script.el (sh-imenu-generic-expression):
16108 Handle function names with a single character. (Bug#14111)
16110 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16112 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16113 for subroutines defined in an eval (bug#14182).
16115 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16117 * bookmark.el (bookmark-completing-read): Improve handling of empty
16118 string (bug#14176).
16120 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16122 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16124 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16126 New faster Imenu implementation (bug#14058).
16127 * progmodes/python.el (python-imenu-prev-index-position)
16128 (python-imenu-format-item-label-function)
16129 (python-imenu-format-parent-item-label-function)
16130 (python-imenu-format-parent-item-jump-label-function):
16132 (python-imenu-format-item-label)
16133 (python-imenu-format-parent-item-label)
16134 (python-imenu-format-parent-item-jump-label)
16135 (python-imenu--put-parent, python-imenu--build-tree)
16136 (python-imenu-create-index, python-imenu-create-flat-index)
16137 (python-util-popn): New functions.
16138 (python-mode): Set imenu-create-index-function to
16139 python-imenu-create-index.
16141 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16143 * winner.el (winner-active-region): Use region-active-p, activate-mark
16144 and deactivate-mark (bug#14225).
16146 * simple.el (deactivate-mark): Don't inline it.
16148 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16150 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16152 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16154 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16155 file extensions from the archive-mode entry in order to prefer
16156 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16158 2013-04-18 Leo Liu <sdl.web@gmail.com>
16160 * bindings.el (help-event-list): Add ?\?.
16162 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16164 * subr.el (with-wrapper-hook): Declare obsolete.
16165 * simple.el (filter-buffer-substring-function): New hook.
16166 (filter-buffer-substring): Use it.
16167 (filter-buffer-substring-functions): Mark obsolete.
16168 * minibuffer.el (completion-in-region-function): New hook.
16169 (completion-in-region): Use it.
16170 (completion-in-region-functions): Mark obsolete.
16171 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16172 * abbrev.el (abbrev-expand-function): New hook.
16173 (expand-abbrev): Use it.
16174 (abbrev-expand-functions): Mark obsolete.
16175 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16176 and :filter-return.
16178 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16180 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16181 and do not care about match data.
16183 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16185 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16186 completion tables when completing error conditions and
16187 `declare' arguments.
16188 (lisp-complete-symbol, field-complete): Mark as obsolete.
16189 (check-parens): Unmatched parens are user errors.
16190 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16192 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16194 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16195 command changed buffer (ie. `flyspell-pre-buffer' is not current
16196 buffer), which prevents making decisions based on invalid value of
16197 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16198 cause an error when `flyspell-pre-point' was nil after switching
16200 (flyspell-post-command-hook): No longer needs to change buffers when
16201 checking pre-word. While at it remove unnecessary progn.
16203 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16205 * textmodes/ispell.el (ispell-add-per-file-word-list):
16206 Fix `flyspell-correct-word-before-point' error when accepting
16207 words and `coment-padding' is an integer by using
16208 `comment-normalize-vars' (Bug #14214).
16210 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16212 New defun movement commands.
16213 * progmodes/python.el (python-nav--syntactically)
16214 (python-nav--forward-defun, python-nav-backward-defun)
16215 (python-nav-forward-defun): New functions.
16217 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16219 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16220 (python-syntax-context): Use named compiler-macro for backwards
16221 compatibility with Emacs 24.x.
16223 2013-04-17 Leo Liu <sdl.web@gmail.com>
16225 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16226 octave-hide-process-buffer.
16228 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16230 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16233 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16235 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16236 Fix adjustment of offset when receiving incomplete responses from GDB
16239 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16241 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16242 python-mode-abbrev-table.
16243 (python-skeleton-define): Adjust accordingly.
16244 (python-mode-abbrev-table): New table that inherits from it so that
16245 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16247 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16248 (abbrev-symbol): Use it.
16249 (abbrev--before-point): Use it since we already handle inheritance.
16251 2013-04-16 Leo Liu <sdl.web@gmail.com>
16253 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16254 binding to info-lookup-symbol.
16256 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16258 * minibuffer.el (completion--twq-all):
16259 * term/ns-win.el (ns-initialize-window-system):
16260 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16262 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16264 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16267 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16269 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16271 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16272 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16274 (ruby-end-of-defun): Remove the unused arg, change the docstring
16275 to reflect that this function is only used as the value of
16276 `end-of-defun-function'.
16277 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16278 to reflect an earlier change that beginning/end-of-defun functions
16279 jump between methods in a class definition, as well as top-level
16282 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16284 * minibuffer.el (minibuffer-complete): Don't just scroll
16285 a *Completions* that's been iconified.
16286 (minibuffer-force-complete): Make sure repetitions do cycle when going
16287 through completion-in-region -> minibuffer-complete.
16289 2013-04-15 Alan Mackenzie <acm@muc.de>
16291 Correct the placement of c-cpp-delimiters when there're #s not at
16294 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16295 place a submatch around the #.
16296 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16297 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16300 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16302 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16303 (advice--member-p): New arg `name'.
16304 (advice--add-function, advice-member-p): Use it (bug#14202).
16306 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16308 Reformulate java imenu-generic-expression.
16309 The old expression contained ill formed regexps.
16311 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16312 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16313 (cc-imenu-java-method-arg-regexp): New defconsts.
16314 (cc-imenu-java-build-type-args-regex): New defun.
16315 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16316 handling of spaces in the regexp.
16318 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16320 * textmodes/ispell.el (ispell-command-loop): Remove
16321 flyspell highlight of a word when ispell accepts it (bug #14178).
16323 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16325 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16326 uses code from the previous `ange-ftp-run-real-handler'.
16327 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16328 only in case that function exist. This is needed for proper
16329 unloading of Tramp.
16331 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16333 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16335 * textmodes/reftex.el (reftex-compile-variables): Use it.
16337 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16339 * files.el (normal-mode): Only use default major-mode if no other mode
16342 * emacs-lisp/trace.el (trace-values): New function.
16344 * files.el: Allow : in local variables (bug#14089).
16345 (hack-local-variable-regexp): New var.
16346 (hack-local-variables-prop-line, hack-local-variables): Use it.
16348 2013-04-13 Roland Winkler <winkler@gnu.org>
16350 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16351 data before it gets modified by bibtex-beginning-of-entry.
16353 2013-04-13 Roland Winkler <winkler@gnu.org>
16355 * textmodes/bibtex.el (bibtex-url): Doc fix.
16357 2013-04-13 Roland Winkler <winkler@gnu.org>
16359 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16360 does not visit a BibTeX file, exclude it from the list of buffers
16361 returned by bibtex-initialize.
16363 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16365 * window.el (split-window): Remove interactive form, since as a
16366 command this function is a special case of split-window-below.
16367 Correct doc string.
16369 2013-04-12 Roland Winkler <winkler@gnu.org>
16371 * faces.el (read-face-name): Do not override value of arg default.
16372 Allow single faces and strings as default values. Remove those
16373 elements from return value that are not faces.
16374 (describe-face): Simplify.
16375 (face-at-point): New optional args thing and multiple so that this
16376 function can provide the same functionality previously provided by
16378 (make-face-bold, make-face-unbold, make-face-italic)
16379 (make-face-unitalic, make-face-bold-italic, invert-face)
16380 (modify-face, read-face-and-attribute): Use face-at-point.
16382 * cus-edit.el (customize-face, customize-face-other-window)
16383 * cus-theme.el (custom-theme-add-face)
16384 * face-remap.el (buffer-face-set)
16385 * facemenu.el (facemenu-set-face): Use face-at-point.
16387 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16389 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16391 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16393 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16394 off leading { and trailing } from field values.
16396 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16398 * emacs-lisp/timer.el (timer--check): New function.
16399 (timer--time, timer-set-function, timer-event-handler): Use it.
16400 (timer-set-idle-time): Simplify.
16401 (timer--activate): CSE.
16402 (timer-event-handler): Give more info in error message.
16403 (internal-timer-start-idle): New function, moved from C.
16405 * mpc.el (mpc-proc): Add `restart' argument.
16406 (mpc-proc-cmd): Use it.
16407 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16408 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16411 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16413 * progmodes/sh-script.el: Implement `sh-mode' own
16414 `add-log-current-defun-function' (bug#14112).
16415 (sh-current-defun-name): New function.
16416 (sh-mode): Use the function.
16418 2013-04-09 Bastien Guerry <bzg@gnu.org>
16420 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16422 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16424 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16426 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16429 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16431 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16434 2013-04-07 Leo Liu <sdl.web@gmail.com>
16436 * pcmpl-x.el: New file.
16438 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16440 Do not set x-display-name until X connection is established.
16441 This is needed to prevent from weird situation described at
16442 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16443 * frame.el (make-frame): Set x-display-name after call to
16444 window system initialization function, not before.
16445 * term/x-win.el (x-initialize-window-system): Add optional
16446 display argument and use it.
16447 * term/w32-win.el (w32-initialize-window-system):
16448 * term/ns-win.el (ns-initialize-window-system):
16449 * term/pc-win.el (msdos-initialize-window-system):
16450 Add compatible optional display argument.
16452 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16454 * files.el (normal-backup-enable-predicate): On MS-Windows and
16455 MS-DOS compare truenames of temporary-file-directory and of the
16456 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16457 don't fail comparison by compare-strings. Also, compare file
16458 names case-insensitively on MS-Windows and MS-DOS.
16460 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16462 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16463 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16465 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16467 * whitespace.el (whitespace-color-on, whitespace-color-off):
16468 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16470 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16472 * ispell.el (ispell-set-spellchecker-params):
16473 Really set `ispell-args' for all equivs.
16475 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16477 * ido.el (ido-completions): Use extra elements of ido-decorations
16479 (ido-decorations): Update docstring.
16481 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16483 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16484 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16485 nil during initialization, in order not to miss changes since the
16486 file was opened. (Bug#14140)
16488 2013-04-05 Leo Liu <sdl.web@gmail.com>
16490 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16492 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16494 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16496 2013-04-04 Glenn Morris <rgm@gnu.org>
16498 * electric.el (electric-pair-inhibit-predicate): Add :version.
16500 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16502 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16503 when a package is required several times (bug#14082).
16505 2013-04-04 Roland Winkler <winkler@gnu.org>
16507 * faces.el (read-face-name): Behave as promised by the docstring.
16508 Assume that arg default is a list of faces.
16509 (describe-face): Call read-face-name with list of default faces.
16511 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16513 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16514 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16515 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16517 (bookmark-exit-hook-internal): Save even if list is empty.
16519 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16521 * emacs-lisp/package.el (package-pinned-packages): New var.
16522 (package--add-to-archive-contents): Obey it (bug#14118).
16524 2013-04-03 Alan Mackenzie <acm@muc.de>
16526 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16527 Also adapt to the new values of element 7 of a parse state.
16529 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16530 parameter `not-in-delimiter'. Handle being inside comment opener.
16531 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16532 character in case we're typing a '*' after a '/'.
16533 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16534 instead by passing the parameter to c-state-pp-to-literal.
16536 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16537 for elt. 7 of a parse state.
16539 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16541 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16542 * international/latin1-disp.el, international/mule-util.el:
16543 * language/cyril-util.el, language/european.el, language/ind-util.el:
16544 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16545 * language/tibetan.el, language/viet-util.el:
16546 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16548 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16550 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16551 (electric-pair-post-self-insert-function): Use it.
16552 (electric-pair-default-inhibit): New function, extracted from
16553 electric-pair-post-self-insert-function.
16555 2013-03-31 Roland Winkler <winkler@gnu.org>
16557 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16559 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16561 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16563 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16565 Un-indent after "pass" and "return" statements (Bug#13888)
16566 * progmodes/python.el (python-indent-block-enders): New var.
16567 (python-indent-calculate-indentation): Use it.
16569 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16571 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16572 defun. Defining it as defalias could introduce too eager
16573 byte-compiler optimization. (Bug#14030)
16575 2013-03-30 Chong Yidong <cyd@gnu.org>
16577 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16579 2013-03-30 Leo Liu <sdl.web@gmail.com>
16581 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16582 (kmacro-execute-from-register): Pass the keyboard macro to
16583 kmacro-call-macro or repeating won't work correctly.
16585 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16587 * progmodes/subword.el: Back to using `forward-symbol'.
16589 * subr.el (forward-whitespace, forward-symbol)
16590 (forward-same-syntax): Move from thingatpt.el.
16592 2013-03-29 Leo Liu <sdl.web@gmail.com>
16594 * kmacro.el (kmacro-to-register): New command.
16595 (kmacro-execute-from-register): New function.
16596 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16598 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16600 * mpc.el: Use defvar-local and setq-local.
16601 (mpc--proc-connect): Connection failures are not bugs.
16602 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16603 (mpc-volume-map): Bind to the up-events.
16605 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16607 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16608 instead of `forward-symbol'.
16610 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16612 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16613 (edebug--recursive-edit): Use it.
16614 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16615 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16617 2013-03-28 Leo Liu <sdl.web@gmail.com>
16619 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16621 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16623 * facemenu.el (list-colors-callback): New defvar.
16624 (list-colors-redisplay): New function.
16625 (list-colors-display): Install list-colors-redisplay as the
16626 revert-buffer-function. (Bug#14063)
16628 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16630 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16631 and suffixes don't overlap (bug#14061).
16633 * case-table.el: Use lexical-binding.
16634 (case-table-get-table): New function.
16635 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16637 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16639 * progmodes/subword.el: Add `superword-mode' to do word motion
16640 over symbol_words (parallels and leverages `subword-mode' which
16641 does word motion inside MixedCaseWords).
16643 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16645 * eshell/em-unix.el: Move su and sudo to...
16646 * eshell/em-tramp.el: ...Eshell tramp module.
16648 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16650 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16651 Change return value to be a sexp. Delay `get-buffer' to after
16652 restoring the desktop (bug#13951).
16654 2013-03-26 Leo Liu <sdl.web@gmail.com>
16656 * register.el: Move semantic tag handling back to
16657 cedet/semantic/senator.el. (Bug#14052)
16659 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16661 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16662 into the prompt either (bug#13963).
16664 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16666 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16667 part of "(error-foo)".
16669 2013-03-24 Juri Linkov <juri@jurta.org>
16671 * replace.el (list-matching-lines-prefix-face): New defcustom.
16672 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16673 `occur-engine' if `face-differs-from-default-p' returns t.
16674 (occur-engine): Add `,' inside backquote construct to evaluate
16675 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16676 Pass `prefix-face' to the functions `occur-context-lines' and
16677 `occur-engine-add-prefix'.
16678 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16679 `prefix-face' and propertize the prefix with `prefix-face'.
16682 2013-03-24 Leo Liu <sdl.web@gmail.com>
16684 * nxml/rng-valid.el (rng-validate-while-idle)
16685 (rng-validate-quick-while-idle): Guard against deleted buffer.
16688 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16689 is the last entry in kill-buffer-hook.
16691 * files.el (kill-buffer-hook): Doc fix.
16693 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16695 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16696 Make it safe-local.
16698 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16700 2013-03-23 Leo Liu <sdl.web@gmail.com>
16702 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16705 * nxml/rng-valid.el (rng-validate-mode)
16706 (rng-after-change-function, rng-do-some-validation):
16707 * nxml/rng-maint.el (rng-validate-buffer):
16708 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16709 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16710 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16711 (nxml-extend-after-change-region): Use with-silent-modifications.
16713 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16716 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16717 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16718 timer-idle-list. (Bug#13999)
16720 2013-03-23 Juri Linkov <juri@jurta.org>
16722 * info.el (info-index-match): New face.
16723 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16724 main pattern and add text properties with the new face to matches
16725 in index entries relative to the beginning of the index entry.
16728 2013-03-21 Eric Ludlam <zappo@gnu.org>
16730 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16731 Inhibit read only while inserting objects.
16733 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16735 * progmodes/cfengine.el: Update docs to mention
16736 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16737 symbol motion. Remove "_" from the word syntax.
16739 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16741 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16742 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16744 2013-03-20 Juri Linkov <juri@jurta.org>
16746 * info.el (Info-next-reference-or-link)
16747 (Info-prev-reference-or-link): New functions.
16748 (Info-next-reference, Info-prev-reference): Use them.
16749 (Info-try-follow-nearest-node): Handle footnote navigation.
16750 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16752 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16754 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16755 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16757 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16759 Suppress unnecessary non-ASCII chatter during build process.
16760 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16761 (batch-skkdic-convert): Suppress most of the chatter.
16762 It's not needed so much now that machines are faster,
16763 and its non-ASCII component was confusing; see Dmitry Gutov in
16764 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16766 2013-03-20 Leo Liu <sdl.web@gmail.com>
16768 * ido.el (ido-chop): Fix bug#10994.
16770 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16772 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16774 (whitespace-color-on, whitespace-color-off):
16775 Use `font-lock-fontify-buffer' (Bug#13817).
16777 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16779 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16780 remapping in mode-line.
16781 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16783 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16785 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16786 value for `whitespace-line' face (Bug#13875).
16787 (whitespace-font-lock-keywords): Change description.
16788 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16789 the constructed keywords instead.
16790 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16792 2013-03-19 Leo Liu <sdl.web@gmail.com>
16794 * progmodes/compile.el (compilation-display-error): New command.
16795 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16798 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16800 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16802 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16804 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16806 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16808 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16810 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16811 * net/tramp-gvfs.el (top):
16812 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16813 (tramp-handle-shell-command): Use it.
16814 (tramp-dissect-file-name): Raise an error when hostname is a
16815 method name, and neither method nor user is specified.
16817 * net/trampver.el: Update release number.
16819 2013-03-18 Leo Liu <sdl.web@gmail.com>
16821 Make sure eldoc can be turned off properly.
16822 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16824 (eldoc-display-message-p): Revert last change.
16825 (eldoc-display-message-no-interference-p)
16826 (eldoc-print-current-symbol-info): Tweak.
16828 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16830 * doc-view.el (doc-view-new-window-function): Check the new window
16831 overlay's display property instead the char property of the
16832 buffer's first char. Use `with-selected-window' instead of
16833 `save-window-excursion' with `select-window'.
16834 (doc-view-document->bitmap): Check the current doc-view overlay's
16835 display property instead the char property of the buffer's first char.
16837 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16839 Automate the build of ja-dic.el (Bug#13984).
16840 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16841 from the input, rather than assume that it's been done for us by the
16842 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16843 the current date into a ja-dic.el comment, as that complicates
16844 regression testing.
16846 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16848 * whitespace.el: Fix double evaluation.
16849 (whitespace-space, whitespace-hspace, whitespace-tab)
16850 (whitespace-newline, whitespace-trailing, whitespace-line)
16851 (whitespace-space-before-tab, whitespace-indentation)
16852 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16854 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16855 (whitespace-color-on): Use a single font-lock-add-keywords call.
16856 Fix double-evaluation of face variables.
16858 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16860 * net/tramp-adb.el (tramp-adb-parse-device-names):
16861 Use `start-process' instead of `call-process'. Otherwise, the
16862 function might be blocked under MS Windows. (Bug#13299)
16864 2013-03-17 Leo Liu <sdl.web@gmail.com>
16866 Extend eldoc to display info in the mode-line. (Bug#13978)
16867 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16868 (eldoc-mode-line-string): New variable.
16869 (eldoc-minibuffer-message): New function.
16870 (eldoc-message-function): New variable.
16871 (eldoc-message): Use it.
16872 (eldoc-display-message-p)
16873 (eldoc-display-message-no-interference-p):
16874 Support eldoc-post-insert-mode.
16876 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16877 (eval-expression): Run it.
16879 2013-03-17 Roland Winkler <winkler@gnu.org>
16881 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16882 strings in the list of return values.
16884 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16886 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16887 radix before checking for HMS forms.
16889 2013-03-16 Leo Liu <sdl.web@gmail.com>
16891 * progmodes/scheme.el: Add indentation and font-locking for λ.
16894 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16896 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16897 token before point (bug#13942).
16899 2013-03-16 Leo Liu <sdl.web@gmail.com>
16901 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16903 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16905 * startup.el (command-line-normalize-file-name): Fix handling of
16906 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16907 <xfq.free@gmail.com> in
16908 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16910 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16912 Sync with Tramp 2.2.7.
16914 * net/trampver.el: Update release number.
16916 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16918 * doc-view.el: Fix bug#13887.
16919 (doc-view-insert-image): Don't modify overlay associated to
16920 non-live windows, and implement horizontal centering of image in
16921 case it's smaller than the window.
16922 (doc-view-new-window-function): Force redisplay of new windows on
16925 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16927 * saveplace.el (save-place-alist-to-file): Don't sort
16928 `save-place-alist', just pretty-print it (bug#13882).
16930 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16932 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16933 Check whether `default-file-name-coding-system' is bound.
16934 It isn't in XEmacs.
16936 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16938 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16939 backquotes for `obsolete' (bug#13929).
16941 * international/mule.el (find-auto-coding): Include file name in
16942 obsolescence warning (bug#13922).
16944 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16946 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16947 for CFEngine 3-specific indentation.
16948 (cfengine3-indent-line): Use it. Fix up category regex.
16949 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16951 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16953 * type-break.el (type-break-file-name):
16954 * textmodes/remember.el (remember-data-file):
16955 * strokes.el (strokes-file):
16956 * shadowfile.el (shadow-initialize):
16957 * saveplace.el (save-place-file):
16958 * ps-bdf.el (bdf-cache-file):
16959 * progmodes/idlwave.el (idlwave-config-directory):
16960 * net/quickurl.el (quickurl-url-file):
16961 * international/kkc.el (kkc-init-file-name):
16962 * ido.el (ido-save-directory-list-file):
16963 * emulation/viper.el (viper-custom-file-name):
16964 * emulation/vip.el (vip-startup-file):
16965 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16966 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16968 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16970 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16971 * language/thai-word.el: Switch to UTF-8.
16973 See ChangeLog.16 for earlier changes.
16975 ;; Local Variables:
16979 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16981 This file is part of GNU Emacs.
16983 GNU Emacs is free software: you can redistribute it and/or modify
16984 it under the terms of the GNU General Public License as published by
16985 the Free Software Foundation, either version 3 of the License, or
16986 (at your option) any later version.
16988 GNU Emacs is distributed in the hope that it will be useful,
16989 but WITHOUT ANY WARRANTY; without even the implied warranty of
16990 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16991 GNU General Public License for more details.
16993 You should have received a copy of the GNU General Public License
16994 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.